Export: Optionally use <textarea> for example export.
[org-mode.git] / lisp / ChangeLog
blob53e7221e99d5c6e9eddac7e63ee0f542988e3dce
1 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-compat.el (org-count-lines): New function.
5         * org-exp.el (org-export-format-source-code-or-example): Handle
6         switches related to text areas.
8         * org.el (org-activate-footnote-links): Don't allow match inside a
9         link.
11         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
13         * org-export-latex.el (org-export-latex-links): Keep a relative
14         path relative also after export.
16         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
18         * org.el (org-make-tags-matcher): Never use IDO for completing the
19         tags matcher match string.
20         (org-completing-read): Also remove the special biding for "?".
22         * org-attach.el (org-attach-allow-inheritance): New option.
23         (org-attach-inherited): New variable.
24         (org-attach-dir): Handle properties related to the attachment
25         directory.
26         (org-attach-check-absolute-path): New function.
27         (org-attach-set-directory, org-attach-set-inherit): New commands.
28         (org-attach): Accommodate the new commands in the dispatcher.
30 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
32         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
33         `window-full-width-p'.
35         * org-exp.el (org-export-as-html): Only check for images files
36         that really can be inlined
38         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
39         list of extensions to be a parameter.
41         * org-exp.el (org-export-html-inline-image-extensions): New
42         variable.
44         * org-agenda.el (org-prepare-agenda): Use
45         `org-agenda-block-separator'.
46         (org-agenda-block-separator): New option.
48 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
50         * org-export-latex.el (org-export-latex-tables): Call
51         `org-table-clean-before-export' with the new optional argument.
53         * org-exp.el (org-table-clean-before-export): New optional
54         parameter MAYBE-QUOTED, allows for quoted characters like \# in
55         first column.
57 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
59         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
60         histograms.
62         * org-colview.el (org-colview-construct-allowed-dates): Better
63         error catching when a date/time property does not have allowed
64         values defined.
66         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
67         Better error catching when a date/time property does not have
68         allowed values defined.
70 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
72         * org.el (org-map-entries): Restore point and restriction after
73         `org-map-entries'.
75 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
77         * org.el (org-time=, org-time<, org-time<=, org-time>)
78         (org-time>=, org-time<>): Make sure both values are dates.
80 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
82         * org-archive.el (org-extract-archive-heading): Allow %s for file
83         name also in achive location heading.
85 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
87         * org-archive.el (org-add-archive-files): Uniquify the list before
88         returning it.
90 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
92         * org-compat.el (org-fit-window-to-buffer): Use
93         `window-full-width-p'.
95         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
96         space after the colon in short examples.
98         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
99         enforce a space after the colon.  However, we also allow lines
100         that are *only* a colon.
101         (org-export-as-html): Enforce the space after the colon in short
102         examples.
103         (org-export-preprocess-string): Do the colon example protection
104         earlier.
105         (org-export-remove-timestamps): Do not check for protection at the
106         end of the line.
108 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
110         * org.el (org-format-latex-options): Add new matcher for single
111         letters between dollars.
112         (org-get-header): Function removed.
113         (org-heading-components): New function.
115         * org-exp.el (org-export-define-heading-targets): Record ID's also
116         as alternative targets.
117         (org-export-as-html): Interpret "id:" links to other files by
118         preserving the relative path.
120         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
121         is nil.
123         * org-exp.el (org-export-normalize-links): Protect the main link,
124         to avoid special character processing.
126         * org-export-latex.el (org-export-latex-special-keyword-regexp):
127         New variable.
128         (org-export-latex-special-string-regexps): Variable removed.
129         (org-export-latex-keywords): Use the new regexp.
131         * org-exp.el (org-export-handle-include-files): Fetch switches and
132         put them into the BEGIN statement.
134         * org-timer.el (org-timer-mode-line-string): New variable.
136         * org-clock.el (org-clock-mode-line-map): Renamed from
137         `org-clock-mode-map'.
138         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
139         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
140         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
141         (org-clock-remove-overlays): Renamed from
142         `org-remove-clock-overlays'.
144         * org-timer.el (org-timer-pause-or-continue): Implement stopping
145         and mode line display.
146         (org-timer-stop): New command.
147         (org-timer-seconds): Return correct time when timer is paused.
148         (org-timer-mode-line-timer): New variable.
149         (org-timer-set-mode-line, org-timer-update-mode-line): New
150         functions.
152         * org.el (org-insert-heading):  Handle new value `auto' for
153         `org-blank-before-new-entry'.
154         (org-org-menu): Add new items for timer functions.
156         * org-list.el (org-insert-item): Handle new value `auto' for
157         `org-blank-before-new-entry'.
159         * org.el (org-blank-before-new-entry): New value `auto', made
160         default.
162 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
164         * org-exp.el (org-export-normalize-links): If the link is also
165         used as the description, protect the description.
167 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
169         * org.el (org-closest-date): Fix bug with yearly repeats, in
170         combination with preference of the past as it is used for deadline
171         and scheduling search.
173         * org-exp.el (org-html-handle-time-stamps): No longer check for
174         the `org-export-with-timestamps' option, because the preprocesser
175         has taken care of this already.
177         * org.el (org-entry-properties): Catch the case when this is
178         called in a non-org-mode file.
180         * org-export-latex.el (org-export-latex-remove-from-headlines):
181         Variable made obsolete, also LaTeX export now uses the standard
182         variables.
183         (org-export-as-latex): Add the timestamps parameter to the
184         preprocessor parameter list.
185         (org-export-latex-content): Export the remaining keywords without
186         considering to remove them.
187         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
188         Use bold font instead of tt font for the keywords.
189         (org-export-latex-fontify-headline): Format headlines, assuming
190         that all keywords still present should be published.
191         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
192         publish what ever remains of the time stamps.
193         (org-export-latex-list-parameters): New option.
194         (org-export-latex-lists): Pass additional parameters to the list
195         converter.
197         * org-exp.el (org-export-preprocess-string): Remove clock lines
198         and timestamps already in the preprocesor.
199         (org-export-remove-timestamps, org-export-remove-clock-lines): New
200         functions.
201         (org-export-as-ascii, org-export-as-html): Add the timestamps
202         parameter to the preprocessor parameter list.
204         * org-list.el (org-list-parse-list): Parse for checkboxes.
205         (org-list-to-generic): Introduce and handle new parameters :cbon
206         and :cboff.
207         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
208         optional parameter PARAMS.
210         * org-export-latex.el (org-export-latex-special-chars): Fix
211         problems with interpreting dollar signs.
212         (org-inside-latex-math-p): New function.
213         (org-export-latex-preprocess): Protect all the math fragments.
215         * org.el (org-latex-regexps): Allow a dash after a dollar.
217         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
218         mark after copying.
220         * org-agenda.el (org-run-agenda-series): Have series options set
221         when finalizing the agenda.
223         * org-exp.el (org-export-format-source-code-or-example): Protect
224         the converted examples.
226         * org.el (org-set-regexps-and-options): Fix the regexp
227         `org-complex-heading-regexp'.
229 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
231         * org.el (org-edit-src-get-label-format): New function.
232         (org-coderef-label-format): New option.
233         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
234         a label format specification and make sure it is used in the edit
235         buffer.
236         (org-edit-src-get-label-format): New function.
237         (org-store-link): Handle new coderef formats.
238         (org-link-search): Handle new coderef formats.
240         * org-footnote.el (org-footnote-create-definition)
241         (org-footnote-goto-local-insertion-point): Make footnote insertion
242         work correctly when the "Footnotes" headline is the last line in
243         the buffer.
245         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
246         the location.
248 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
250         * org-w3m.el (org-w3m): New customization group.
251         (org-w3m-deactivate-mark): New option.
252         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
253         option say not to.
255 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
257         * org.el (org-set-font-lock-defaults): Trigger footnote
258         fontification.
259         (org-activate-footnote-links): New function.
260         (org-activate-links): New entry `footnote'.
262         * org-faces.el (org-footnote): New face.
264 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
266         * org-macs.el (org-re): Handle the [:word:] class.
268         * org-exp.el (org-export-preprocess-string): Call
269         `org-export-protect-colon-examples'.
270         (org-export-protect-colon-examples): Renamed from
271         `org-export-protect-examples', and scope limited to lines starting
272         with a colon.
274 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
276         * org-exp.el (org-export-preprocess-string): Move the preprocess
277         hook to after turning on Org-mode.
278         (org-export-preprocess-after-include-files-hook)
279         (org-export-preprocess-after-tree-selection-hook)
280         (org-export-preprocess-before-backend-specifics-hook)
281         (org-export-preprocess-final-hook): New hooks.
282         (org-export-preprocess-string): Run the new hooks.
284         * org.el (org-ctrl-c-minus): Fix indentation for new items.
286         * org-footnote.el: New file.
288         * org.el (org-footnote): Require footnote code.
289         (org-startup-options): Add new footnote options.
290         (org-mode-map): New keybindig for footnotes.
291         (org-ctrl-c-ctrl-c): Add function at footnotes.
292         (org-org-menu): New menu entries for footnotes.
294         * org-export-latex.el (org-export-as-latex): Pass footnote
295         variable to preprocessor.
296         (org-export-latex-preprocess): Treat multiple references to a
297         footnote.
299         * org-exp.el (org-export-preprocess-string): Call
300         `org-footnote-normalize'.
301         (org-export-as-ascii, org-export-as-html): Pass footnote variable
302         to preprocessor.
303         (org-export-as-html): Treat multiple references to a footnote.
305 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
307         * org-export-latex.el (org-export-latex-links): Handle coderef
308         links.
310         * org.el (org-bracket-link-analytic-regexp++): New variable.
311         (org-make-link-regexps): Initialize
312         `org-bracket-link-analytic-regexp++'.
313         (org-store-link): Implement special case in edit-src buffer.
314         (org-insert-link): No use of ide to insert stored links.
315         (org-link-search): Implement special case for coderefs.
317         * org-exp.el (org-export-html-scripts): New constant.
318         (org-export-html-style-default): Add a new style for highlighted
319         code.
320         (org-export-code-refs): New variable.
321         (org-export-preprocess-string): Initialize `org-export-code-refs'.
322         Call `org-export-replace-src-segments-and-examples'
323         No longer call `org-export-protect-examples'.
324         (org-export-target-internal-links): Take care of coderef targets.
325         (org-export-last-code-line-counter-value): New variable.
326         (org-export-replace-src-segments-and-examples): Renamed from
327         `org-export-replace-src-segments', and modified.
328         (org-export-format-source-code-or-example): Renamed from
329         `org-export-format-source-code'.
330         (org-export-number-lines): New function.
331         (org-export-as-ascii, org-export-as-html): Handle coderef links.
333 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
335         * org-remember.el (org-remember-handler): Safer way to get a new
336         buffer accessing the target file.
338         * org.el (org-refile-get-location): Handle case of current buffer
339         not having a file associated with it.
341 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
343         * org-table.el (org-table-get-formula): Only ask to overwrite
344         field formula if there really is one.
346         * org-id.el (org-id-find): Allow the ID to be a symbol or a
347         number, by converting these to a string.
349         * org-colview.el (org-dblock-write:columnview): Allow ID to be
350         located in a different file.
352         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
353         org-colview.el.
355 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
357         * org.el (org-completion-use-ido): Enhance docstring of
358         `org-completion-use-ido'.
360         * org-export-latex.el (org-export-latex-make-header): Double the %
361         in the time stamp format.
362         (org-export-latex-special-chars): Handle case where there is no
363         match group 3.
365 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
367         * org.el (org-get-refile-targets, org-refile-get-location): Use
368         expanded file name to improve comparison.
370 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
372         * org.el (org-scan-tags): Rescan for tags, to get the correct
373         upcase/downcase stuff.  This slows things down for now, but it
374         works.
375         (org-mode): Make sure the tag-faces regexp is initialized.
377         * org-export-latex.el (org-export-latex-links): Fix bug with
378         undefined label.
380         * org-table.el (org-table-get-specials): Set
381         `org-table-current-last-data-line'.
382         (org-table-current-last-data-line): New variable.
383         (org-table-insert-column, org-table-delete-column)
384         (org-table-move-column, org-table-fix-formulas): Call
385         `org-table-fix-formulas' a second time to fix the $LR references.
386         (org-table-get-specials): Add the $LR references to the tables.
387         (org-table-get-formula): Do not offer last-row names as LHS of
388         formulas.
390         * org.el (org-store-link): Capture link description from
391         `org-id-store-link'.
393         * org-exp.el (org-export-html-format-image): Add the / to the end
394         of the <img> tag.
395         (org-export-format-source-code): Surround example by empty lines,
396         to make sure it will not be inside a paragraph.
398         * org.el (org-ido-switchb): New function.
400 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
402         * org-agenda.el (org-agenda-show): New prefix argument
403         FULL-ENTRY.
405         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
406         argument.
408         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
409         `org-agenda-change-all-lines'.
410         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
411         tags are now retrieved locally.
413 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
415         * org.el (org-get-outline-path): Fix bug if level is not given.
416         (org-org-menu): Do not quote function in menu vector.
418         * org-agenda.el (org-finalize-agenda): Fix typo with variable
419         name.
421 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
423         * org.el (org-refile): Avoid refiling to within the region to be
424         refiled.
426         * org-export-latex.el (org-export-latex-special-chars): Replace
427         special characters also in tables.
429         * org-agenda.el (org-agenda-change-all-lines): New argument
430         FORCE-TAGS.
431         (org-agenda-set-tags): Cet the new tags and pass them to
432         `org-format-agenda-item'.
434 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
436         * org-export-latex.el (org-export-latex-classes): Add longable as
437         a default package to all classes.
438         (org-export-latex-tables): Handle the longtable attribute and the
439         align attribute.
441         * org-table.el (orgtbl-to-generic): Handle tables that start with
442         a hline.
444         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
445         \verb for colde-like snippets.
446         (org-export-as-latex): Fix issues with region export.
448         * org.el (org-up-heading-safe): Speed up function by using a
449         direct regexp search.
450         (org-olpa): New variable.
451         (org-get-outline-path): Speed-up path constructions in cases where
452         this is possible because the entire hierarchy is scanned anyway.
453         (org-refile-get-location): Don't compare the truenames of files,
454         this is too slow.
455         (org-goto-max-level): New option.
456         (org-goto): Use `org-goto-max-level'.
458 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
460         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
461         Strip angle brackets from message-ids in the former and don't do
462         it in the latter.
463         (org-gnus-follow-link): Open summary reliable, even if the last
464         messages were deleted, and handle empty groups, too.
466 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
468         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
469         instead of \texttt for the =...= and ~===~ emphasis environments.
470         (org-export-as-latex): Remove any old :org-license-to-kill text
471         properties.
472         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
473         (org-export-latex-make-header): Add some hard space after the
474         table of contents.
475         (org-export-latex-first-lines): Accept RBEG argument.  Mark
476         exported text so that it will be excuded in further steps.
478         * org-table.el (org-table-get-specials): Make @0 reference the
479         last line in a table.
480         (org-table-recalculate): Improve docstring.
482 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
484         * org.el (org-log-done): Fix docstring.
486 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
488         * org-exp.el (org-export-html-format-image): Fix bugs.
490         * org-export-latex.el (org-export-latex-tables)
491         (org-export-latex-links): Implement attribute, label, and caption
492         handling.
494         * org-exp.el (org-export-html-style-default): Add style
495         definitions for the figure div.
496         (org-export-preprocess-string, org-export-as-html): Implement
497         attribute, label, and caption handling.
498         (org-export-attach-captions-and-attributes): New function.
499         (org-export-html-format-image): New function.
500         (org-format-org-table-html): Implement attribute, label, and
501         caption handling.
503         * org.el (org-find-text-property-in-string): New function.
504         (org-extract-attributes): Use the property org-attr instead of
505         org-attrobutes, because this property is now set with the #+ATTR
506         lines.
508 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
510         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
511         the case that FROM is nil.
513         * org.el (org-before-first-heading-p): New function.
515 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
517         * org-exp.el (org-export-as-html): Do not add a space before
518         enforces line breaks.
519         (org-export-as-html): Close paragraph before blockquote and verse
520         tags.
522 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
524         * org-id.el (org-id-locations-file): Wrap file name with
525         `convert-standard-filename'.
526         (org-id-files): New variable.
527         (org-id-use-hash): New option.
528         (org-id-update-id-locations): Also search in all files current
529         listed in `org-id-files'.  Convert the resulting alist to a hash
530         if the user customation says so.
531         (org-id-locations-save): Handle he case if `org-id-locations' is a
532         hash.
533         (org-id-locations-load): Convert the alist to a hash.
534         (org-id-add-location): Handle the hast case.
535         (kill-emacs-hook): Make sure id locations are saved when Emacs is
536         exited.
537         (org-id-hash-to-alist, org-id-alist-to-hash)
538         (org-id-paste-tracker): New functions.
540 -------------------------------------------------------------------------
542 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
544         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
545         bindings of calendar variables.
547         * org-table.el (org-table-find-row-type): Renamed from
548         `org-find-row-type'.
549         (org-table-rewrite-old-row-references): Renamed from
550         `org-rewrite-old-row-references'.
551         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
552         (org-table-cleanup-narrow-column-properties): Renamed from
553         `org-cleanup-narrow-column-properties'.
555 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
557         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
558         for better error messages.
559         (org-table-get-descriptor-line): Supply the new arguments to
560         `org-find-row-type'.
561         (org-table-error-on-row-ref-crossing-hline): New option.
563         * org.el (org-target-link-regexp): Make buffer-local.
564         (org-move-subtree-down): Fix bug with trees at beginning of
565         buffer.
567 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
569         * org-faces.el (org-set-tag-faces): New function.
570         (org-tags-special-faces-re): New variable.
572         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
574         * org-faces.el (org-tag-faces): New option.
575         (org-tag): Mention `org-tag-faces' in the docstring.
577 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
579         * org-exp.el (org-export-html-style-default): Implement new
580         quoting.
582         * org-jsinfo.el (org-infojs-template): Implement new quoting.
584         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
585         command to the `w3m-minor-mode-map'.
587         * org-archive.el (org-archive-to-archive-sibling): Protect
588         `this-command' to avoid appending kills during archiving.
590         * org-exp.el (org-export-with-priority): New variable.
591         (org-export-add-options-to-plist): Use `org-export-plist-vars'
592         instead of internal list of strings and properties.
593         (org-print-icalendar-entries): Retrieve the location property with
594         inheritance.
596 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
598         * org-exp.el (org-export-with-todo-keywords): New option.
599         (org-export-plist-vars): Include also the keys for the #+OPTIONS
600         line.
601         (org-default-export-plist, org-export-add-options-to-plist)
602         (org-export-as-ascii, org-export-as-html): Use the new structure
603         of `org-export-plist-vars'.
605         * org.el (org-map-entries): Return all values.
607 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
609         * org.el (org-matcher-time): Recognize more special values.
611         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
613 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
615         * org.el (org-tags-exclude-from-inheritance): New option.
616         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
617         `org-tags-exclude-from-inheritance'.
619         * org-agenda.el (org-agenda-show-inherited-tags): New option.
620         (org-format-agenda-item): Add inherited tags to the agenda line
621         string, and make sure that properties are kept when downcasing the
622         tags list.
623         (org-agenda-add-inherited-tags): New function.
624         (org-downcase-keep-props): New function.
626         * org.el (org-scan-tags): Mark inherited tags with a text
627         property.
628         (org-get-tags-at): Mark inherited tags with a text property.
629         (org-add-prop-inherited): New function.
631         * org-agenda.el (org-agenda-add-inherited-tags): New function.
632         (org-agenda-show-inherited-tags): New option.
634 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
636         * org.el (org-modules): Add org-w3m to the default modules.
638         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
639         orgtbl-mode.
640         (orgtabl-create-or-convert-from-region): New command.
642         * org-exp.el (org-export-as-ascii): Remove the handling of
643         targets.
644         (org-export-ascii-preprocess): Handle targets already in this
645         function.
647 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
649         * org-timer.el (org-timer-start-time): Define this variable.
650         (org-timer-item): Make argument optional.
652         * org-list.el (org-insert-item): Automatically insert a timer item
653         if the current list is a timer list.
655         * org-timer.el: New file.
657         * org-publish.el (org-publish-org-index): Only exclude the index
658         file in the main directory from being added to the site-map.
659         (org-publish-get-project-from-filename): If the current project is
660         a component, start publishing from the parent project.
662 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
664         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
666         * org-publish.el (org-publish-org-index): Improve removal of
667         temporary buffers.
669         * org-agenda.el (org-get-closed): Re-apply changes
670         accidentially overwritten by last commit to Emacs.
672         * org.el (org-outline-path-complete-in-steps): New option.
673         (org-refile-get-location): Honor
674         `org-outline-path-complete-in-steps'.
675         (org-agenda-change-all-lines, org-tags-sparse-tree)
676         (org-time-string-to-absolute, org-small-year-to-year)
677         (org-link-escape): Re-apply changes accidentially overwritten
678         by last commit to Emacs.
680 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
682         * org-clock.el (org-dblock-write:clocktable): Make sure the
683         clocktable sees the first line.
684         (org-clock-in): Warn if the clock cannot be resumed.
686 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
688         * org.el (org-open-at-point): Fix mixup about interactive and
689         non-interactive elisp links.
691 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
693         * org-exp.el (org-export-preprocess-string): Allow one comment
694         line before the first headline to always be included.  This is
695         to not miss a commented target.
697         * org-mouse.el (org-mouse-insert-item): Call
698         `org-indent-to-column' instead of `indent-to', for XEmacs
699         compatibility.
701         * org.el (org-refile-targets): Fix customize definition so
702         that it works also in XEmacs.
703         (org-fixup-indentation): Call `org-indent-to-column' instead
704         of `indent-to', for XEmacs compatibility.
706 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
708         * org-mew.el (org-mew-store-link): Get the correct case folder
709         for refiled messages.
711 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
713         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
714         line break indicators.
716         * org.el (org-ido-completing-read): Remove the "i:" prefix for
717         ido-completion propts.
719 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
721         * org-remember.el (org-remember-apply-template): Use
722         `org-substring-no-properties'.
724         * org-compat.el (org-substring-no-properties): New function.
726         * org-remember.el (org-remember-apply-template): Use
727         `org-substring-no-properties' for compatibility.
729         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
730         option.
731         (org-fix-bullet-type): respect
732         `org-list-two-spaces-after-bullet-regexp'.
734         * org-clock.el (org-clock-load): Clean up the code.
736         * org.el (org-adaptive-fill-function): Allow two spaces after
737         "1." as a list bullet.
739 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
741         * org-clock.el (org-clock-save, org-clock-load): Check for
742         live buffers, existing files, and buffer file names to ensure
743         consistent information.
744         (org-clock-persist): Make `clock' a special value of this
745         variable, and improve docstring.
747         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
748         (org-get-string-indentation): Adapt indentation when the bullet
749         width changes.
751 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
753         * org-remember.el (org-remember-finalize): Make interactive.
754         (org-remember-kill): New command.
755         (org-remember-finish-immediately): Call `org-remember-finalize'
756         directly.
757         (org-remember-finalize): Make `org-remember-finalize' an interactive
758         function.
760 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
762         * org-remember.el (org-remember-apply-template): No ido completion
763         for free prompts in remember templates.
764         (org-remember-before-finalize-hook): New hook.
765         (org-remember-mode): New minor mode.
766         (org-remember-apply-template): Turn on `org-remember-mode'.
768         * org-id.el (org-id-add-location): Avoid error when no file is
769         given.
771         * org-remember.el (org-remember-apply-template): Fix the way how
772         the list of allowed properties is retrieved from the target file.
774         * org.el (org-insert-link): Improve file link matching.
776 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
778         * org-colview.el (org-columns-display-here): New argument
779         DATELINE, to trigger using the new face.
780         (org-agenda-colview-summarize): Call `org-columns-display-here'
781         with the new argument.
783         * org-faces.el (org-agenda-column-dateline): New face.
785         * org-publish.el (org-publish-org-index): Use index-title at page
786         title, not as section.
788         * org-exp.el (org-export-html-format-desc): Respect the
789         org-protect property.
790         (org-export-as-html): Protect image specifiers that are in the
791         description part of a link.
793         * org.el (org-sort-entries-or-items, org-completing-read)
794         (org-refile-get-location, org-olpath-completing-read, org-todo)
795         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
796         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
797         (org-set-property, org-delete-property)
798         (org-delete-property-globally): Use `org-ido-completing-read'.
800         * org-remember.el (org-remember-apply-template): Use
801         `org-ido-completing-read'.
803         * org-publish.el (org-publish): Use `org-ido-completing-read'.
805         * org-colview.el (org-columns-edit-value, org-columns-new)
806         (org-insert-columns-dblock): Use `org-ido-completing-read'.
808         * org-colview-xemacs.el (org-columns-edit-value)
809         (org-columns-new, org-insert-columns-dblock): Use
810         `org-ido-completing-read'.
812         * org-attach.el (org-attach-delete-one, org-attach-open): Use
813         `org-ido-completing-read'.
815         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
816         `org-ido-completing-read'.
818         * org.el (org-time-today): New function.
819         (org-matcher-time): Use `org-time-today'.  Add special treatment
820         for "<tomorrow>" and "<yesterday>".
821         (org-ido-completing-read): New function.
822         (org-completion-use-ido): New option.
824         * org-exp.el (org-export-format-source-code): Fix bug in require
825         htmlize code.
826         (org-export-target-internal-links): Fix bug in search for text
827         property.
829 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
831         * org-export-latex.el (org-export-latex-subcontent): Interprete
832         target aliases as additonal labels.
834         * org-exp.el (org-export-target-aliases): New variable.
835         (org-export-preprocess-string)
836         (org-export-handle-invisible-targets): Fill the alias alist.
837         (org-export-as-html): Remove the &nbsp; from the anchor, and also
838         assign an id.
839         (org-html-level-start): Insert the target aliases as additonal
840         anchors.
842         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
843         picture area.
845 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
847         * org.el (org-open-at-mouse): Ensure correct link abbreviations
848         when following a link with the mouse from the agenda.
850         * org-exp.el (org-export-as-html): Avoid lone </div> when no
851         headlines are created.
853 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
855         * org-exp.el (org-export-preprocess-string): Reorder so that we
856         can still see ID properties when we collect targets.
857         (org-export-target-internal-links): Also store targets for ID's.
859         * org.el (org-link-translation-function): New option.
860         (org-open-at-point): Call `org-link-translation-function' if
861         non-nil.
862         (org-translate-link): New function.
863         (org-translate-link-from-planner): New function.
864         (org-open-at-point): Allow interactive commands in elisp links.
866         * org-exp.el (org-icalendar-cleanup-string): Restore the old
867         iCalendar quoting.  The new one seems to caus problems with
868         applications.
870         * org.el (org-yank): Set `this-command' to `yank', so that
871         `yank-pop' will work.
873 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
875         * org-id.el (org-id-search-archives): New option.
877         * org.el (org-link-to-org-use-id): New option.
878         (org-store-link): Use `org-link-to-org-use-id'.
879         (org-id): Make org-id.el a standard component.
881 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
883         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
884         hexified version of the tag.
886         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
887         compliance as far as quoting is concerned.
889         * org-vm.el (org-vm-follow-link): Require `vm-search'.
891         * org.el (org-up-heading-safe, org-forward-same-level): Always
892         call `org-back-to-heading' instead of `outline-back-to-heading'.
893         (org-back-to-heading): New wrapper around outline-back-to-heading,
894         with a useful error message telling where the error happened.
896         * org-list.el (org-update-checkbox-count): Always call
897         `org-back-to-heading' instead of `outline-back-to-heading'.
899         * org-exp.el (org-export-as-html): Make sure that each <img> tag
900         has an `alt' attribute, to ensure XHTML validation.
902 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
904         * org-publish.el (org-publish-attachment): Allow publishing to
905         overwrite attachment files.
907         * org-agenda.el (org-agenda-timerange-leaders): New option.
908         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
910         * org.el (org-edit-src-exit): Untabify ASCII image before
911         returning.
924 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
926         * org.el (org-yank): Make any prefix force normal yanking.
927         Suppress folding if text would be swallowed into a folded
928         subtree.
929         (org-yank-folded-subtrees, org-yank): Docstring updates.
931         * org-agenda.el (org-agenda-compare-effort): Treat no effort
932         defined as 0.
934         * org-exp.el (org-export-language-setup): Add Catalan and
935         Esperanto language entries.
937 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
939         * org.el (org-refile): Allow refiling of entire regions.
941         * org-clock.el (org-clock-time%): New function.
943         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
944         retrieve property values.
946 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
948         * org-agenda.el (org-agenda-list): Handle the value `only' of
949         org-agenda-show-log'.
950         (org-agenda-log-mode): Interpret a double prefix arg.
952 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
954         * org-exp.el (org-export-html-footnotes-section): New variable.
955         (org-export-as-html): Use `org-export-html-footnotes-section' to
956         insert the footnotes.
957         (org-export-language-setup): Add "Footnotes" to language words.
959 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
961         * org.el (org-yank): Fix bug when not inserting a subtree.
963 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
965         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
966         instead of `vm-beginning-of-message'.
968         * org.el (org-make-link-regexps): Make sure that links to gnus can
969         contain brackets.
971 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
973         * org-attach.el (org-attach-dir): Remove duplicate ID creation
974         code.
976         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
977         shell output.
979         * org.el (org-link-abbrev-alist): Improve customization type.
981         * org-attach.el (org-attach-expand-link, org-attach-expand): New
982         functions.
984         * org-agenda.el (org-agenda-get-progress): Renamed from
985         `org-get-closed'.  Implement searching for state changes as well.
986         (org-agenda-log-mode-items): New option.
987         (org-agenda-log-mode): New option prefix argument, interpreted as
988         request to show all possible progress info.
989         (org-agenda-get-day-entries): Call `org-get-progress' instead of
990         `org-get-closed'.
991         (org-agenda-set-mode-name): Handle the more complex log mode
992         settings.
993         (org-get-closed): New alias, pointing to `org-get-progress'.
995 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
997         * org.el (org-file-apps-defaults-gnu)
998         (org-file-apps-defaults-macosx)
999         (org-file-apps-defaults-windowsnt): Add an entry defining the
1000         system command.
1001         (org-file-apps): Allow `system' as key and value.
1002         (org-open-at-point): Explain the effect of a double prefix arg.
1003         (org-open-file): If the argument `in-emacs' is (16),
1004         i.e. corresponding to a double prefix argument, try to open the
1005         file externally.
1007 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
1009         * org.el (org-insert-link): Abbreviate absolute files names in
1010         links.  Also, fix a bug in which the double C-u prefix would not
1011         be honored.
1013 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
1015         * org.el (org-insert-heading): If buffer does not end with a
1016         newline, add one if necessary to insert headline correctly.
1018         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
1019         paragraphs, not inside.
1021         * org.el (org-todo): Quote
1022         `org-agenda-headline-snapshot-before-repeat'.
1024         * org-exp.el (org-export-as-html): Fully process link descriptions.
1025         (org-export-html-format-desc): New function.
1026         (org-export-as-html): Collect footnotes into the correct basket.
1027         (org-html-protect): No longer protect quotations marks here, this
1028         goes wrong.
1030         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
1031         BEG.
1033         * org-compat.el (org-fit-window-to-buffer): New function (not
1034         really, a preliminary and incomplete version was present earlier,
1035         but not used).
1037         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
1038         `org-fit-window-to-buffer'.
1040         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
1042         * org-agenda.el (org-agenda-get-restriction-and-command)
1043         (org-fit-agenda-window, org-agenda-convert-date): Use
1044         `org-fit-window-to-buffer'.
1046         * org-exp.el (org-export-as-html): Process href links through
1047         `org-export-html-format-href'.
1048         (org-export-html-format-href): New function.
1050         * org-agenda.el (org-agenda-todo): Update only the current
1051         headline if this is a repeated TODO, marked done for today.
1052         (org-agenda-change-all-lines): New argument JUST-THIS, to change
1053         only the current line.
1055         * org.el (org-todo): Take a snapshot of the headline if the
1056         repeater might change it.
1058 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
1060         * org-publish.el (org-publish-find-title): Remove buffers visited
1061         only for extracting the title.
1063         * org-exp.el (org-export-html-style)
1064         (org-export-html-style-default): Mark style definitions as
1065         unparsed CDATA.
1067         * org-publish.el (org-publish-validate-link): Function
1068         re-introduced.
1070 2008-11-02  Charles Sebold  <csebold@gmail.com>
1072         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
1073         property.
1074         (org-plot-quote-timestamp-field): New function.
1075         (org-plot-quote-tsv-field): Call timestamp field function when
1076         necessary rather than just quoting as a string.
1077         (org-plot/gnuplot-to-data): Pass in timefmt property.
1078         (org-plot/gnuplot-script): Supports timefmt property.
1079         (org-plot/gnuplot): Checks for timestamp column before checking
1080         for text index column.
1082 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
1084         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
1086         * org-publish.el (org-publish-org-index): Create a section in the
1087         index file.
1088         (org-publish-org-index): Stop linking to directories.
1090         * org.el (org-emphasis-alist): Use span instead of <u> to
1091         underline text.
1093         * org-exp.el (org-export-as-html): Make sure <p> is closed before
1094         <pre> sections.
1096 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
1098         * org-jsinfo.el (org-infojs-template): Remove language attribute
1099         from script tag.
1101 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
1103         * org-agenda.el (org-agenda-remove-marked-text): New function.
1104         (org-agenda-mark-filtered-text)
1105         (org-agenda-unmark-filtered-text): New functions.
1106         (org-write-agenda): Remove fltered text.
1108         * org.el (org-make-tags-matcher): Give access to TODO "property"
1109         without speed penalty.
1111 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
1113         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
1114         option.
1115         (org-store-link-props): Make sure adding to the plist works
1116         correctly.
1118         * org-gnus.el (org-gnus-no-new-news): New function.
1119         (org-gnus-follow-link): Allow the article ID to be a message-id,
1120         in addition to allowing article numbers.  Message IDs make much
1121         more roubust links.
1122         (org-gnus-store-link): Use message-id to create link.
1124 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
1126         * org.el (org-emphasize): Reverse the selection array.
1127         (org-emphasis-alist): Set <code> tags for the verbatim
1128         environment.
1130         * org-remember.el (org-remember-handler): Fix bug with
1131         prefix-related changing of the note storage target.
1133         * org-exp.el (org-print-icalendar-entries): Make the exported
1134         priorities compatible with RFC 2445.
1136         * org-clock.el (org-clock-save): Insert time stamp without
1137         dependence on time-stamp.el.
1139 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
1141         * org.el ("saveplace"): If saveplace puts point into an invisible
1142         location, make it visible.
1143         (org-make-tags-matcher): Allow inactive time stamps in time
1144         comparisons.
1145         (org-yank-adjusted-subtrees): New option.
1146         (org-yank): Incorporate adjusting trees.
1147         (org-paste-subtree): New argument FOR-YANK which will cause
1148         insertion at point without backing up over white lines, and leave
1149         point at the end of the inserted text.  Also if the cursor is
1150         at the beginning of a headline, use the same level or the inserted
1151         tree.
1153         * org-publish.el (org-publish-get-base-files-1): Deal correctly
1154         with broken symlinks
1156 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
1158         * org-exp.el (org-export-select-tags, org-get-current-options):
1159         Fix typo.
1161 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
1163         * org-agenda.el (org-format-agenda-item)
1164         (org-agenda-filter-make-matcher): Make sure tags are stored and
1165         compared donwcased.
1167 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
1169         * org.el (org-insert-todo-heading): Fix bug with force-heading
1170         argument.
1172 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
1174         * org-clock.el (org-clock-in-resume): Add a custom option to
1175         toggle starting the clock from an open clock line.
1176         (org-clock-in): When clocking in to an entry, if
1177         `org-clock-in-resume' is set, check if the first clock line is
1178         open and if so, start the clock from the time in the clock line.
1179         (org-clock-persist): Add a custom option to toggle clock
1180         persistence.
1181         (org-clock-persist-query-save): Add a custom option to toggle
1182         asking the user if they want to save the running clock when
1183         exiting.
1184         (org-clock-persist-query-resume): Add a custom option to toggle
1185         asking the user if they want to resume the saved clock when Emacs
1186         is restarted.
1187         (org-clock-save): Add a function to save clock data.
1188         This includes the contents of `org-clock-history' and the buffer
1189         and position of the currently clocked task, if any.
1190         (org-clock-load): Add a function to load clock data.
1191         This populates `org-clock-history', and resumes the saved clocked
1192         task if there is one.
1193         (org-clock-persistence-insinuate): Add a method to set up the
1194         hooks for clock persistence.
1196 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
1198         * org-exp.el (org-export-as-ascii): Handle the case that we are
1199         publishing from an indirect buffer.
1201         * org-table.el (org-table-copy-down): Fix bug with time stamp
1202         increment.
1204         * org-mouse.el (org-mouse-features): New option.
1205         (org-mode-hook): Turn on features depending on
1206         `org-mouse-features'.
1208         * org.el (org-insert-heading-respect-content): Force heading
1209         creation.
1210         (org-insert-heading): keep the folding state of the heading before
1211         the inserted one.
1213 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
1215         * org-archive.el (org-archive-to-archive-sibling): Handle top
1216         level headlines better.
1218 2008-10-21  Bastien Guerry  <bzg@altern.org>
1220         * org-export-latex.el (org-export-latex-classes): Added
1221         \usepackage{graphicx} to the default list of packages.
1223 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
1225         * org-agenda.el (org-agenda-filter): Renamed from
1226         `org-agenda-filter-tags'.
1228 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
1230         * org.el (org-entry-properties): Add CATEGORY property, iven if it
1231         is not defined as a property in this entry.
1232         (org-add-log-note): Mask prefix argument when immediately storing
1233         the note.
1235         * org-agenda.el (org-agenda-filter-effort-default-operator): New
1236         option.
1238 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
1240         * org.el (org-add-log-setup): Bugfix; code to find insertion point
1241         after drawers was skipping ahead one line too many, so notes were
1242         inserted after the first note instead of before it.
1244 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
1246         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
1247         New variables.
1248         (org-prepare-agenda): Reset the filter tags.
1249         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
1250         Show filter tags in mode line.
1252         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
1253         formatter.
1255         * org-export-latex.el (org-latex-entities-regexp): New constant.
1256         (org-export-as-pdf): Use two calls to `shell-command'.
1258 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
1260         * org-export-latex.el (org-export-latex-treat-sub-super-char):
1261         Honor the {} value of the subsuperscript setting.  Make sure that
1262         longer subsuperscripts are typeset in a roman font.
1264         * org.el (org-clock-update-time-maybe): Compute negative clock
1265         intervals correctly.
1267 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
1269         * org.el (org-add-log-setup): Respect
1270         `org-log-state-notes-insert-after-drawers'.
1271         (org-log-state-notes-insert-after-drawers): New option.
1272         (org-todo-trigger-tag-changes): New function.
1273         (org-todo): Call `org-todo-trigger-tag-changes'.
1275 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
1277         * org.el (org-add-log-setup): Only skip drawers if the are
1278         immediately after the scheduling keywords.
1280         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
1281         function
1282         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
1283         call it with the current todo state to get the state to switch to
1284         when clocking in.
1285         (org-clock-in): Use org-indent-line-function to indent clock lines.
1286         (org-clock-find-position): Fix indentation of empty clock drawers.
1288 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
1290         * org-publish.el (org-publish-org-to): Handle case when
1291         org-export-to-pdf does return a file name, not a buffer.
1292         (org-publish-org-to-pdf): New function.
1294         * org-export-latex.el (org-export-as-pdf)
1295         (org-export-as-pdf-and-open): New commands.
1297         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
1298         forms as ranges.
1300         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
1301         things in protexted regions.
1303 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
1305         * org-export-latex.el (org-export-latex-preprocess): Improve
1306         quoting of LaTeX environments.
1308 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
1310         * org.el (org-edit-fixed-width-region): Exclude final newline from
1311         picture area.
1313         * org-export-latex.el (org-export-latex-subcontent): Add labels to
1314         sections, to make internal links work.
1315         (org-export-latex-fontify-headline): Do not remove all text
1316         properties, to make sure that target properties survive this
1317         process.
1319         * org-exp.el (org-export-preprocess-string): Change sequence of
1320         modifications, to make sure links are prepared before the LaTeX
1321         conversions do happen.
1323 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
1325         * org-attach.el (org-attach-delete-all): Renamed from
1326         `org-attch-delete'.  Add a security query before deleting the
1327         entire directory.  New optional argument FORCE can overrule the
1328         security query.
1329         (org-attach-delete-one): New command.
1331 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
1333         * org-attach.el (org-attach-file-list): Fix bug with directory.
1335 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
1337         * org.el (org-apps-regexp-alist): New function.
1338         (org-file-apps): Add auto-mode to the default value.
1339         (org-open-file): Use the new structure of org-file-apps.
1341         * org-attach.el (org-attach): Support the new keys.
1342         (org-attach-method): New option.
1344 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
1346         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
1347         March.
1349         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
1350         of the list value o `org-use-tag-inheritance'.
1352         * org-attach.el (org-attach-auto-tag): New option.
1353         (org-attach-tag, org-attach-untag): New functions.
1354         (org-attach-attach, org-attach-new, org-attach-sync): Call
1355         `org-attach-tag'.
1356         (org-attach-delete): Call `org-attach-untag'.
1358 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
1360         * org-table.el (orgtbl-self-insert-command): Make this work for
1361         the keypad as well.
1363 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
1365         * org.el (org-add-log-setup): Limit searc for drawers to entry
1366         text, not to subtree.
1368         * org-clock.el (org-clock-heading-for-remember): New variable.
1369         (org-clock-in): Set `org-clock-heading-for-remember'.
1371 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
1373         * org-remember.el (org-remember-apply-template): Add new
1374         expansions: %k, %K for currently clocked task and a link to the
1375         currently clocked task, and %< to file notes in the currently
1376         clocked task.
1378 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
1380         * org-export-latex.el (org-export-latex-make-header): Also insert
1381         the content of the property :latex-header-extra.
1383         * org-exp.el (org-infile-export-plist): Put the content of
1384         #+LATEX_HEADER: into the property :latex-header-extra.
1386         * org-colview.el (org-columns-get-format-and-top-level): Remove
1387         resetting the marker.
1389         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
1390         Remove resetting the marker.
1392         * org.el (org-entry-property-inherited-from): Improve docstring.
1393         (org-entry-get-with-inheritance): Reset marker before starting the
1394         search.
1396         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
1398 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
1400         * org.el (org-entry-get-multivalued-property)
1401         (org-entry-protect-space, org-entry-restore-space): New
1402         functions.
1403         (org-file-apps-defaults-macosx): Let postscript files be opened by
1404         preview.
1405         (org-time-stamp-inactive): Call `org-time-stamp'.
1406         (org-time-stamp): New argument `inactive'.  Also edit inacive
1407         stamps. Convert time stamp type.
1408         (org-open-file): Interpret the `default' value for the `command'
1409         in `org-file-apps'.
1411         * org-id.el (org-id-int-to-b36-one-digit)
1412         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
1413         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
1414         b36.
1416 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
1418         * org-id.el (org-id-reverse-string): New function.
1419         (org-id-new): Use `org-id-reverse-string' to make sure the
1420         beginning chars of the ID are mutating fast.  This allows to use a
1421         directory structure to spread things better.
1422         (org-id-prefix): Changed default to nil.
1424         * org-list.el (org-move-item-down, org-move-item-up): Remember and
1425         restore the column of the cursor position.
1427         * org-remember.el (org-remember-apply-template): Remove properties
1428         from `initial'.
1430 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
1432         * org-wl.el (org-wl-open): Remove useless call to
1433         `wl-thread-open-all'.
1435         * org-remember.el (org-remember-handler): Fix bug with `bottom'
1436         location.
1438 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
1440         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
1441         `org-bbdb-anniversaries'.
1443         * org.el (org-get-next-sibling, org-forward-same-level): New
1444         functions, similar to the outline versions, but invisible headings
1445         are OK.
1447 2008-09-25  Bastien Guerry  <bzg@altern.org>
1449         * org.el (org-auto-repeat-maybe): Insert a space between
1450         the timestamp's type and the timestamp itself.
1452 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
1454         * org-table.el (org-table-sum): Do not format the result with %g,
1455         it does rounding when there are too many digits.
1457         * org.el (org-map-entries): Protect the keyword-selecting variables.
1459 2008-09-23  Bastien Guerry  <bzg@altern.org>
1461         * org-agenda.el (org-agenda-to-appt): Make sure the function check
1462         against all agenda files.
1464 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
1466         * org-list.el: New file, aggregating list functions from org.el
1467         and org-export-latex.el.
1469         * org.el (org-edit-src-region-extra): New option.
1471 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
1473         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
1474         time before 1am.
1476 2008-09-22  Bastien Guerry  <bzg@altern.org>
1478         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
1480 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
1482         * org-plot.el (org-plot/gnuplot): Make tables starting with a
1483         hline work correctly.
1484         (org-plot/gnuplot-script): Put commas at the end of each script
1485         line.
1487 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
1489         * org.el (org-get-refile-targets): Replace links with their
1490         descriptions
1491         (org-imenu-get-tree): Replace links with their descriptions.
1493         * org-remember.el (org-remember-apply-template): Add a new
1494         expansion for adding properties to remember items.
1496         * org.el (org-add-log-setup): Skip over drawers (properties,
1497         clocks etc) when adding notes.
1499         * org-agenda.el (org-agenda-get-closed): show durations of clocked
1500         items as well as the start and end times.
1502         * org-compat.el (org-get-x-clipboard-compat): Add a compat
1503         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
1505         * org-remember.el (org-get-x-clipboard): Use the compat
1506         function to get clipboard values when x-selection-value is
1507         unavailable. Use substring-no-properties instead of
1508         set-text-properties to remove text properties from the clipboard
1509         value.
1511         * lisp/org-clock.el (org-update-mode-line): Support limiting the
1512         modeline clock string, and display the full todo value in the
1513         tooltip. Set a local keymap so mouse-3 on the clock string goes to
1514         the currently clocked task.
1515         (org-clock-string-limit): Add a custom value for the maximum
1516         length of the clock string in the modeline.
1517         (org-clock-mode-map): Add a keymap for the modeline string
1519 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
1521         * org-compat.el (org-propertize): New function.
1523 2008-09-20  Bastien Guerry  <bzg@altern.org>
1525         * org-export-latex.el (org-export-latex-tables): protect exported
1526         tables from further special chars conversion.
1527         (org-export-latex-preprocess): Preserve LaTeX environments.
1528         (org-list-parse-list): Parse descriptive lists.
1529         (org-list-to-generic, org-list-to-latex, org-list-to-html)
1530         (org-list-to-texinfo): Export descriptive lists.
1531         (org-quote-chars): Remove.
1532         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
1533         (org-export-latex-list-beginning-re): Rename to
1534         `org-list-beginning-re'
1535         (org-list-item-begin): Rename to `org-list-item-beginning'
1537 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
1539         * org.el (org-refile): Allow refiling to the last entry in the
1540         buffer.
1541         (org-get-tags-at): Fix bug when inheritance is turned off.
1543 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
1545         * org.el (org-indent-line-function): No longer check for src
1546         regions, this is too much overhead.
1548         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
1549         matching.
1551         * org.el (org-scan-tags): Make sure that tags matching is not case
1552         sensitive.  TODO keyword matching is case sensitive, however, to
1553         avoid confusion with similar words that are not meant to be
1554         keywords.
1556 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
1558         * org.el (org-get-local-tags-at): New function.
1559         (org-get-local-tags): New function.
1561         * org-exp.el (org-export-get-categories): New function.
1563         * org-agenda.el (org-sorting-choice)
1564         (org-agenda-sorting-strategy, org-agenda-get-todos)
1565         (org-agenda-get-timestamps, org-agenda-get-deadlines)
1566         (org-agenda-get-scheduled, org-agenda-get-blocks)
1567         (org-entries-lessp): Implement sorting by TODO state.
1568         (org-cmp-todo-state): New defsubst.
1570         * org-colview.el (org-colview-construct-allowed-dates): New
1571         function.
1572         (org-columns-next-allowed-value): Use
1573         `org-colview-construct-allowed-dates'.
1575         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
1576         function.
1577         (org-columns-next-allowed-value): Use
1578         `org-colview-construct-allowed-dates'.
1580 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
1582         * org.el (org-protect-slash): New function.
1583         (org-get-refile-targets): Use `org-protect-slash'.
1585         * org-agenda.el (org-global-tags-completion-table): New variable.
1587         * org-exp.el (org-export-handle-export-tags): New function.
1588         (org-export-preprocess-string): Call
1589         `org-export-handle-export-tags'.
1591         * org-plot.el: New file.
1593         * org-publish.el (org-publish-expand-components): Function removed.
1594         (org-publish-expand-projects): Allow components to have components.
1596 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
1598         * org.el (org-indent-line-function): Do not indent in regions that
1599         are external source code.
1600         (org-yank-and-fold-if-subtree): New function.
1602         * org-agenda.el (org-agenda-todayp): New function.
1603         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
1604         `org-agenda-todayp'.
1606         * org.el (org-insert-heading-respect-content)
1607         (org-insert-todo-heading-respect-content): New commands.
1608         (org-insert-heading-respect-content): New option.
1609         (org-insert-heading): Respect `org-insert-heading-respect-content'.
1611         * org-clock.el (org-clock-find-position): Make sure the note after
1612         the clock line gets moved into the new clock drawer.
1614 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
1616         * org-id.el (org-id-new): New option.
1618 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
1620         * org-table.el (org-table-copy-down): Avoid overflow during
1621         increment.  Use prefix argument 0 to temporarily disable the
1622         increment.
1624 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
1626         * org-exp.el (org-export-as-html): Do not turn on the major mode
1627         if the buffer will be killed anyway.
1628         (org-get-current-options): Exclude the #+TEXT field.
1629         (org-export-as-html): Make sure text before the first headline is
1630         a paragraph.
1632         * org-publish.el (org-publish-org-to): Tell the exporter that this
1633         buffer will be killed, so it is not necessary to do major mode
1634         initialization.
1636         * org-archive.el (org-archive-to-archive-sibling): Show empty
1637         lines after folding the archive sibling.
1639         * org.el (org-log-note-extra): New variable.
1641 2008-09-05  Bastien Guerry  <bzg@altern.org>
1643         * org.el (org-additional-option-like-keywords): Added keywords for
1644         the _QUOTE, _VERSE and _SRC environments.
1646         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
1647         exporting _QUOTE and _VERSE environments.
1649 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
1651         * org-agenda.el (org-agenda-filter-by-tag): New command.
1653         * org-exp.el (org-get-current-options): Remove angular brackets
1654         from the date entry.
1656         * org.el (org-edit-fixed-width-region): New function.
1657         (org-edit-fixed-width-region): Also try
1658         `org-edit-fixed-width-region'.
1659         (org-edit-fixed-width-region-mode): New option.
1660         (org-activate-code): Only interprete lines starting with colon
1661         plus a space as example lines.
1663         * org-remember.el (org-remember-templates): Add nil instead of
1664         empty strings to fix the length of remember templates.
1666         * org-table.el (org-calc-default-modes): Fix the time format for
1667         calc, from 12 hour to 24 hour clock.
1669 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
1671         * org-agenda.el (org-agenda-get-deadlines)
1672         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
1673         entries that are pre-warnings of deadlines or reminders.
1675         * org.el (org-sort-entries-or-items): Make numeric and alpha
1676         comparisons ignore any TODO keyword and priority cookie.
1678         * org-remember.el (org-remember-handler): Reinterpretation of the
1679         prefix argument.
1681 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
1683         * org-agenda.el (org-agenda-get-scheduled): Use new
1684         `org-scheduled' face.
1686         * org-faces.el (org-scheduled): New face.
1688         * org-wl.el (org-wl-open): Remove incorrect declaration.
1690         * org-gnus.el (org-gnus-store-link): Support for :to information
1691         in gnus links.
1693         * org-exp.el (org-export-as-html): Fixed typo in creator
1694         information.
1695         (org-export-protect-examples): New parameter indent.  Insert extra
1696         spaces only when this parameter is specified.
1697         (org-export-preprocess-string): Call `org-export-protect-examples'
1698         with an indentation parameter when exporting to ASCII.
1700         * org-remember.el (org-remember-templates)
1701         (org-remember-apply-template): Allow the file component to be a
1702         function.
1704         * org.el (org-goto-local-search-headings): Renamed from
1705         `org-goto-local-search-forward-headings'.  Added the possibility
1706         to search backwards.
1708 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
1710         * org-export-latex.el (org-export-latex): New customization
1711         group.
1713         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
1715 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
1717         * org-exp.el (org-html-do-expand): Allow {} to terminate
1718         tex macro
1720 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
1722         * org.el (org-buffer-list): Select buffers based on major mode,
1723         not on file name.
1725 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
1727         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
1728         face property.
1730         * org-colview.el (org-columns-display-here): Use
1731         `org-columns-modify-value-for-display-function'.
1733         * org-colview-xemacs.el (org-columns-display-here): Use
1734         `org-columns-modify-value-for-display-function'.
1736 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
1738         * org.el (org-columns-modify-value-for-display-function): New option.
1750         * org-publish.el (org-publish-file): Make sure the directory match
1751         for the publishing directory works correctly.
1753         * org-agenda.el (org-agenda-execute-calendar-command)
1754         (org-agenda-diary-entry): Additional optional argument.
1756 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
1758         * org-exp.el (org-export-as-html): Add attributes also in mailto
1759         and ftp links.
1761         * org.el (org-autoload): Add `org-dblock-write:columnview'.
1770 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
1772         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
1773         sure that calls from `org-export-region-as-html' do not do the
1774         special check for a subtree.
1776 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
1778         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
1780 2008-07-20  Juri Linkov  <juri@jurta.org>
1782         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
1783         new keymap `narrow-map' instead of binding "\C-xns".
1785 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
1787         * org.el (org-open-file): Use
1788         `org-open-directory-means-index-dot-org'.
1789         (org-open-directory-means-index-dot-org): New option.
1791 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
1793         * org.el (org-make-link-string): Remove link attributes from
1794         description.
1795         (org-open-at-point): Remove link attributes bevore using the path.
1797         * org-exp.el (org-export-as-html): Handle link attributes.
1799         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
1801         * org-table.el (org-table-to-lisp): New function.
1803         * org.el (org-narrow-to-subtree): Do not include the final newline
1804         into the narrowed region.
1806         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
1807         bug with user-define skipping condition.
1809 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
1811         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
1813 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
1815         * org-exp.el (org-export-html-style-default): Automatic overflow
1816         handling for pre fields.
1817         (org-export-as-ascii, org-export-as-html): Change default format
1818         for time stamp.
1820         * org-table.el (org-table-export): Offer completion for translator
1821         functions, and do not require a heading above the table.
1823         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
1824         Cater for the case of a list starting in the first line of the
1825         buffer.
1827 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
1829         * org-publish.el (org-publish-find-title): Bug fix.
1830         (org-publish-org-index): Implement new :index-style option.
1832 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
1834         * org-publish.el (org-publish-timestamp-filename): Use
1835         SHA1-encoded file names in the timestamp directory.
1837 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
1839         * org-publish.el (org-publish-needed-p): Be verbose about files
1840         published and files skipped.
1842         * org-exp.el (org-export-preprocess-string): Swap link
1843         normalization and inernal link targeting.
1845         * org-publish.el (org-publish-needed-p): Create timestamp
1846         directory when it does not exist.
1848 2008-07-04  Bastien Guerry  <bzg@altern.org>
1850         * org-clock.el (org-clock-out-when-done): Doc fix.
1852         * org.el (org-agenda-skip-unavailable-files): Doc fix.
1854         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
1855         Ignore case when searching for the COMMENT cookie at export time.
1857 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
1859         * org-exp.el (org-get-file-contents)
1860         (org-get-and-remove-property): New functions.
1861         (org-export-handle-include-files): Handle the new prefix options.
1862         (org-export-as-html): Fix the verse environment.
1864 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
1866         * org.el (org-time=, org-time<, org-time<=, org-time>)
1867         (org-time>=, org-time<>, org-2ft): New functions.
1868         (org-op-to-function): Also provide for the time testing fucntions.
1870 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
1872         * org-exp.el (org-export-html-style-default): New constant.
1874 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
1876         * org-exp.el (org-export-html-style-extra): New variable.
1877         (org-export-splice-style): New function.
1879 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
1881         * org-exp.el (org-export-plist-vars, org-export-as-html):
1882         Implement `org-export-creator-info'.
1883         (org-export-creator-info): New option.
1885 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
1887         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
1888         (org-property-drawer-re, org-clock-drawer-re): New constants.
1890 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
1892         * org-exp.el (org-icalendar-use-deadline)
1893         (org-icalendar-use-scheduled): New options.
1894         (org-icalendar-include-todo): Default changed to t.
1895         (org-print-icalendar-entries): Implement better utilization of
1896         scheduling and deadline time stamps.
1897         (org-export-target-internal-links, org-export-as-html): Allow file
1898         lines without the "file:" prefix if the file path is an absolute
1899         path or starts with ".".
1901         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
1902         lastweek etc.
1903         (org-clock-special-range): Also undertand yesterday, lastweek etc.
1905 2008-06-18  Glenn Morris  <rgm@gnu.org>
1906         * org.el (org-map-entries): Let-bind `file'.
1908 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
1910         * org.el (org-agenda-skip-archived-trees): Docstring now
1911         discourages using this.
1912         (org-scan-tags): Check for org-agenda-archives-mode.
1913         (org-map-entries): Make sure org-agenda-archives-mode is nil.
1914         (org-agenda-files): Functionality of second arg changed.
1916         * org-agenda.el (org-agenda-archives-mode): New variable
1917         (org-write-agenda, org-prepare-agenda, org-agenda-list)
1918         (org-search-view, org-todo-list, org-tags-view)
1919         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
1920         `ifmode' argument.
1921         (org-agenda-quit): Reset the archives mode.
1922         (org-agenda-archives-mode): New command.
1923         (org-agenda-set-mode-name): Include archives info.
1925 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
1927         * org.el (org-paste-subtree): Make sure the yanked headline is
1928         visible if it was yanked at a visible point.
1929         (org-move-item-up): Fix the bug with moving white space at the end
1930         of the item.
1931         (org-show-empty-lines-in-parent): New function.
1933 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
1935         * org-colview.el (org-columns-next-allowed-value): Bug fix.
1937         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
1939         * org-agenda.el (org-agenda-get-closed): Get the end time into the
1940         agenda prefix as well.
1942         * org-publish.el (org-publish-org-index): Make a properly indented
1943         list.
1945         * org.el (org-calendar-agenda-action-key): New option.
1946         (org-get-cursor-date): New function.
1947         (org-mark-entry-for-agenda-action): New command.
1948         (org-overriding-default-time): New variable.
1949         (org-read-date): Respect `org-overriding-default-time'.
1951         * org-remember.el (org-remember-apply-template): Respect the
1952         ovverriding default time.
1954         * org-agenda.el (org-agenda-action-marker): New variable.
1955         (org-agenda-action): New command.
1956         (org-agenda-do-action): New function.
1958 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
1960         * org.el (org-schedule, org-deadline): Protect scheduled and
1961         deadline tasks against changes that accidently remove the
1962         repeater.  Also show a message with the new date when done.
1964 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
1966         * org.el (org-beginning-of-line): Cater for the case when there
1967         are tags but no headline text.
1968         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
1969         it set.
1971 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
1973         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
1974         the return value is nil instead of "nil" when there is no match.
1976         * org-exp.el (org-insert-centered): Use fill-column instead of
1977         80.
1978         (org-export-as-ascii): Use string-width to measure the width of
1979         the heading.
1981         * org.el (org-diary-to-ical-string): No longer kill buffer
1982         FROMBUF, this is now done by the caller.
1984         * org-exp.el (org-print-icalendar-entries): Move the call to
1985         `org-diary-to-ical-string' out of the loop, and kill the buffer
1986         afterwords.
1988         * org-remember.el (org-remember-visit-immediately): Position
1989         cursor after moving to the note.
1990         (org-remember-apply-template): Use a text property to record the
1991         cursor position.
1992         (org-remember-handler): Align tags after pasting the note.
1994 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
1996         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
1998         * org-agenda.el (org-agenda-open-link): If there is an
1999         org-bbdb-name property in the current line, jump to that bbdb
2000         entry.
2002         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
2003         text property, so that the agenda knows where this entry comes
2004         from.
2006         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
2007         interaction between clocking-in from the agenda, and  automatic
2008         task state switching.
2010         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
2012         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
2013         zmacs-region stays after this command in XEmacs.
2015 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
2017         * org.el (org-scan-tags): Allow new values for ACTION parameter.
2019         * org-remember.el (org-remember-templates): Fix bug in
2020         customization type definition.
2022         * org.el (org-map-entries): New function.
2024 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
2026         * org-agenda.el (org-agenda-skip-comment-trees): New option.
2027         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
2029 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
2031         * org-remember.el (org-jump-to-target-location): New variable.
2032         (org-remember-apply-template): Set
2033         `org-remember-apply-template' if requested by template.
2034         (org-remember-handler): Start an idle timer to jump to
2035         remember location.
2037         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
2039         * org.el (org-set-regexps-and-options): Fix bug with parsing of
2040         file tags.
2041         (org-get-tags-at): Add the content of `org-file-tags'.
2043         * org-exp.el (org-export-handle-comments): Fix bug with several
2044         comment lines after each other.
2045         (org-number-to-roman, org-number-to-counter): New functions.
2046         (org-export-section-number-format): New option.
2048 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
2050         * org-exp.el (org-export-protect-examples): Catch the case of a
2051         missing end_example line.
2053         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
2054         `org-file-tags' to nil.
2056         * org-colview.el (org-columns-next-allowed-value): Handle next
2057         argument NTH to directly select a value.
2059         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
2060         argument NTH to directly select a value.
2062 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
2064         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
2066 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
2068         * org.el (org-columns-ellipses): New option.
2070 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
2072         * org-colview.el (org-columns-add-ellipses): New function.
2073         (org-columns-compact-links): New function.
2074         (org-columns-cleanup-item): Call `org-columns-compact-links'.
2075         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
2076         when in agenda.
2077         (org-columns-edit-value): Fixed bug with editing values from
2078         agenda column view.
2079         (org-columns-redo): Also redo the agenda itself.
2081 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
2083         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
2084         option.
2086         * org-colview.el (org-agenda-columns-cleanup-item): New function.
2088         * org-exp.el (org-export-ascii-preprocess): Renamed from
2089         `org-export-ascii-clean-string'.
2090         (org-export-kill-licensed-text)
2091         (org-export-define-heading-targets)
2092         (org-export-handle-invisible-targets)
2093         (org-export-target-internal-links)
2094         (org-export-remove-or-extract-drawers)
2095         (org-export-remove-archived-trees)
2096         (org-export-protect-quoted-subtrees)
2097         (org-export-protect-verbatim, org-export-protect-examples)
2098         (org-export-select-backend-specific-text)
2099         (org-export-mark-blockquote-and-verse)
2100         (org-export-remove-comment-blocks-and-subtrees)
2101         (org-export-handle-comments, org-export-mark-radio-links)
2102         (org-export-remove-special-table-lines)
2103         (org-export-normalize-links)
2104         (org-export-concatenate-multiline-links)
2105         (org-export-concatenate-multiline-emphasis): New functions,
2106         obtained from spliiting the export preprocessor.
2108         * org-table.el (org-table-recalculate): Improve error message if
2109         the row number is invalid.
2111 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
2113         * org-archive.el (org-archive-save-context-info): Fix bugs in
2114         customization setup and docstring.
2116         * org-exp.el (org-export-html-style): Changed the size of in the
2117         <pre> element to 90%.
2119 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
2121         * org.el (org-find-src-example-start): Function removed.
2122         (org-edit-src-find-region-and-lang): New function.
2124 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
2126         * org.el (org-edit-src-exit): New function.
2127         (org-exit-edit-mode): New minor mode.
2129         * org-exp.el (org-export-preprocess-string): Fix bug with removing
2130         comment-like lines from protected examples.
2132         * org.el (org-edit-src-example, org-find-src-example-start)
2133         (org-protect-source-example, org-edit-special): New functions.
2135 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
2137         * org-publish.el (org-publish-project-alist): Fix typo in
2138         docstring.
2139         (org-publish-project-alist): Handle :index-title property.
2141 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
2143         * org-export-latex.el (org-export-as-latex): Make sure region
2144         bounds are correct.  Parse subtree properties relating to export.
2146         * org-exp.el (org-export-add-options-to-plist): New function.
2147         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
2149 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
2151         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
2152         EXPORT_TITLE.
2154         * org-exp.el (org-export-get-title-from-subtree)
2155         (org-export-as-ascii, org-export-as-html): Make sure the original
2156         region-beginning and region-end are used, even after moving
2157         point.
2158         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
2159         property.
2161         * org-remember.el (org-remember-last-stored-marker): New variable.
2162         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
2163         (org-remember-handler): Also use marker to remember
2164         last-stored position.
2166         * org.el (org-goto-marker-or-bmk): New function.
2168 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
2170         * org.el (org-file-properties): Renamed from `org-local-properties'.
2171         (org-scan-tags): Take file tags into account.
2172         (org-tags-match-list-sublevels): Default changed to t.
2174         * org-exp.el (org-export-as-html): Close paragraph after a
2175         footnote.
2177         * org.el (org-update-parent-todo-statistics): New function.
2179         * org-exp.el (org-icalendar-store-UID): New option.
2180         (org-icalendar-force-UID): Option removed.
2181         (org-print-icalendar-entries): IMplement UIDs.
2183 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
2185         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
2187 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
2189         * org-faces.el (org-column): Document how this face is being used
2190         and why sometimes the background faces shine through.
2192         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
2194         * org-publish.el (org-publish-attachment): Create publishing
2195         directory if it does not yet exist.
2197         * org-table.el (org-calc-default-modes): Change default number
2198         format to (float 8).
2200         * org.el (org-olpath-completing-read): New function.
2201         (org-time-clocksum-format): New option.
2202         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
2204         * org-clock.el (org-clock-display, org-clock-out)
2205         (org-update-mode-line): Use `org-time-clocksum-format'.
2207         * org-colview-xemacs.el (org-columns-number-to-string): Use
2208         `org-time-clocksum-format'.
2210         * org-colview.el (org-columns-number-to-string): Use
2211         `org-time-clocksum-format'.
2213 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
2215         * org-id.el: New file, move from contrib to core.
2217         * org-exp.el (org-icalendar-force-UID): New option.
2219 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
2221         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
2222         shifted by one day if theere is a date range without an end
2223         time.
2225         * org.el (org-try-structure-completion): New function.
2227 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
2229         * org.el (org-set-font-lock-defaults): Improve fontification of
2230         description lists.
2231         (org-insert-item): Handle description lists.
2232         (org-adaptive-fill-function): Improve auto indentation in
2233         description lists.
2235         * org-exp.el (org-export-as-html, org-export-preprocess-string):
2236         Implement VERSE environment.
2237         (org-export-preprocess-string): Implement the COMMENT
2238         environment.
2240         * org-export-latex.el (org-export-latex-preprocess): Implement
2241         VERSE environment.
2243 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
2245         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
2246         option.
2248 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
2250         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
2252         * org.el (org-quote-csv-field): New functions.
2254         * org-table.el (org-table-export-default-format): Remove :splice
2255         from default format, we get the same effect by not specifying
2256         :tstart and :tend.
2257         (org-table-export): Improve setup, distinguish better between
2258         interactive and non-interactive use, allow specifying the format
2259         on the fly, better protection against wrong file names.
2260         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
2261         and :tend when :splice is omitted.
2263 2008-05-09  Bernt Hansen  <bernt@norang.ca>
2265         * org-clock.el (org-clock-select-task): Make sure the selection
2266         letters are 1-9 and A-Z, no special characters.
2268 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
2270         * org-exp.el (org-export-htmlize): New group.
2271         (org-export-htmlize-output-type)
2272         (org-export-htmlize-css-font-prefix): New options.
2273         (org-export-htmlize-region-for-paste): New function.
2274         (org-export-htmlize-generate-css): New command.
2276 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
2278         * org/org.el (org-modules, org-format-latex-options):
2279         * org/org-archive.el (org-archive-stamp-time)
2280         (org-archive-save-context-info):
2281         * org/org-faces.el (org-hide):
2282         * org/org-irc.el (org-irc-parse-link):
2283         * org/org-macs.el (org-call-with-arg, org-autoload):
2284         * org/org-mew.el (org-mew-store-link):
2285         * org/org-remember.el (org-remember-store-without-prompt)
2286         (org-remember-templates): Fix typos in docstrings.
2288         * org/org-info.el (org-info-store-link): Remove leftover docstring.
2290         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
2291         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
2292         (org-bbdb-anniv-split): Fix typos in docstrings.
2294         * org/org-publish.el (org-publish-project-alist): Doc fixes.
2295         (org-publish-use-timestamps-flag): Reflow docstring.
2296         (org-publish-files-alist): Fix typos in docstring.
2298 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
2300         * org.el (org-set-visibility-according-to-property): New function.
2301         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
2302         and compute the regular expressions, and update font-lock.
2303         (org-property-re): Allow a dash in property names.
2305         * org-archive.el (org-extract-archive-file): Insert the file name
2306         without the path into the format, to allow the location format to
2307         contain a subdirectory.
2309         * org-agenda.el (org-agenda-post-command-hook): If point is at end
2310         of buffer, and the `org-agenda-type' property undefined, use the
2311         value from the character before.
2313         * org.el (org-add-planning-info): Don't let indentation for
2314         would-be timestamp become extra whitespace at the end of headline.
2316 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
2318         * org.el (org-remove-double-quotes, org-file-contents): New
2319         functions.
2321         * org-exp.el (org-infile-export-plist): Also parse the
2322         contents of #+SETUPFILE files, recursively.
2324         * org.el (org-set-regexps-and-options): Also parse the
2325         contents of #+SETUPFILE files, recursively.
2327         * org-exp.el (org-export-handle-include-files): New function.
2328         (org-export-preprocess-string): Call
2329         `org-export-handle-include-files'.
2331         * org.el (org-delete-property-globally)
2332         (org-delete-property, org-set-property): Ignore case during
2333         completion.
2334         (org-set-property): Use `org-completing-read' instead of
2335         `completing-read'.
2337         * org.el (org-complete-expand-structure-template): New,
2338         experimental function.
2339         (org-structure-template-alist): New, experimental option.
2340         (org-complete): Call `org-complete-expand-structure-template'.
2342 2008-05-06  Bastien Guerry  <bzg@altern.org>
2344         * org-export-latex.el (org-export-latex-preprocess): Added
2345         support for blockquotes.
2347 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
2349         * org.el (org-read-date-analyze): Catch the case where only a
2350         weekday is given.
2352 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
2354         * org.el (org-set-font-lock-defaults): Make the description
2355         tag bold.
2357         * org-exp.el (org-export-as-html, org-close-li): Implement
2358         description lists.
2360 2008-05-04  Jason Riedy  <jason@acm.org>
2362         * org-table.el (*orgtbl-default-fmt*): New variable.
2363         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
2364         when there is no other fmt available.
2366         (orgtbl-to-generic): Allow an explicitly nil :tstart or
2367         :tend to suppress the appropriate string.
2369         (orgtbl-to-orgtbl): New function for translating to another orgtbl
2370         table.
2372 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
2374         * org.el (org-read-date-analyze): "." as an alias for "+0" in
2375         read date.
2377         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
2378         New function.
2380         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
2381         New function.
2383 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
2385         * org-clock.el (org-clock-find-position): Don't include notes
2386         into clock drawer.
2388         * org-archive.el (org-archive-subtree): No longer remove an
2389         extra line after cutting the subtree.  `org-cut-subtree' already
2390         takes care of this.
2392         * org-remember.el (org-remember-handler): Only kill the target
2393         buffer if it does not contain the running clock.
2395         * org.el (org-markers-to-move): New variable.
2396         (org-save-markers-in-region, org-check-and-save-marker)
2397         (org-reinstall-markers-in-region): New function.
2398         (org-move-subtree-down, org-copy-subtree): Remember relative
2399         marker positions before cutting.
2400         (org-move-subtree-down, org-paste-subtree): Restore relative
2401         marker positions after pasting.
2403         * org-remember.el (org-remember-clock-out-on-exit): New option.
2404         (org-remember-finalize): Clock out only if the setting in
2405         `org-remember-clock-out-on-exit' requires it.
2406         (org-remember-handler): Do the cleanup in the buffer, to make sure
2407         that the clock marker remains in tact.
2409 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
2411         * org-clock.el (org-clock-goto): Widen buffer if necessary.
2412         (org-clock-in): Make sure that also tasks outside the narrowed
2413         region will be clocked in correctly.
2414         (org-clock-insert-selection-line): Widen the buffer so that we can
2415         find the correct task heading.
2417         * org.el (org-base-buffer): New function.
2419         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
2420         and ";" are escaped.
2421         (org-print-icalendar-entries): Also apply
2422         `org-icalendar-cleanup-string' to the headline, not only to the
2423         summary property.
2425 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
2427         * org-exp.el (org-export-preprocess-hook): New hook.
2428         (org-export-preprocess-string): Call
2429         `org-export-preprocess-hook'.
2431         * org.el (org-font-lock-hook): New variable.
2432         (org-font-lock-hook): New function.
2433         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
2435 ;; Local Variables:
2436 ;; coding: utf-8
2437 ;; add-log-time-zone-rule: t
2438 ;; End:
2440     Copyright (C) 2008  Free Software Foundation, Inc.
2442   This file is part of GNU Emacs.
2444   GNU Emacs is free software: you can redistribute it and/or modify
2445   it under the terms of the GNU General Public License as published by
2446   the Free Software Foundation, either version 3 of the License, or
2447   (at your option) any later version.
2449   GNU Emacs is distributed in the hope that it will be useful,
2450   but WITHOUT ANY WARRANTY; without even the implied warranty of
2451   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2452   GNU General Public License for more details.
2454   You should have received a copy of the GNU General Public License
2455   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
2457 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c