New option :index-style for publishing.
[org-mode.git] / lisp / ChangeLog
blob39d5a9729d18e418d1c2bfd7f4452c630a7ea730
1 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
3         * org-publish.el (org-publish-find-title): Bug fix.
4         (org-publish-org-index): Implement new :index-style option.
6 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
8         * org-publish.el (org-publish-timestamp-filename): Use
9         SHA1-encoded file names in the timestamp directory.
11 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
13         * org-publish.el (org-publish-needed-p): Be verbose about files
14         published and files skipped.
16         * org-exp.el (org-export-preprocess-string): Swap link
17         normalization and inernal link targeting.
19         * org-publish.el (org-publish-needed-p): Create timestamp
20         directory when it does not exist.
22 2008-07-04  Bastien Guerry  <bzg@altern.org>
24         * org-clock.el (org-clock-out-when-done): Doc fix.
26         * org.el (org-agenda-skip-unavailable-files): Doc fix.
28         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
29         Ignore case when searching for the COMMENT cookie at export time.
31 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
33         * org-exp.el (org-get-file-contents)
34         (org-get-and-remove-property): New functions.
35         (org-export-handle-include-files): Handle the new prefix options.
36         (org-export-as-html): Fix the verse environment.
38 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
40         * org.el (org-time=, org-time<, org-time<=, org-time>)
41         (org-time>=, org-time<>, org-2ft): New functions.
42         (org-op-to-function): Also provide for the time testing fucntions.
44 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
46         * org-exp.el (org-export-html-style-default): New constant.
48 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
50         * org-exp.el (org-export-html-style-extra): New variable.
51         (org-export-splice-style): New function.
53 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
55         * org-exp.el (org-export-plist-vars, org-export-as-html):
56         Implement `org-export-creator-info'.
57         (org-export-creator-info): New option.
59 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
61         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
62         (org-property-drawer-re, org-clock-drawer-re): New constants.
64 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
66         * org-exp.el (org-icalendar-use-deadline)
67         (org-icalendar-use-scheduled): New options.
68         (org-icalendar-include-todo): Default changed to t.
69         (org-print-icalendar-entries): Implement better utilization of
70         scheduling and deadline time stamps.
71         (org-export-target-internal-links, org-export-as-html): Allow file
72         lines without the "file:" prefix if the file path is an absolute
73         path or starts with ".".
75         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
76         lastweek etc.
77         (org-clock-special-range): Also undertand yesterday, lastweek etc.
79 2008-06-18  Glenn Morris  <rgm@gnu.org>
80         * org.el (org-map-entries): Let-bind `file'.
82 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
84         * org.el (org-agenda-skip-archived-trees): Docstring now
85         discourages using this.
86         (org-scan-tags): Check for org-agenda-archives-mode.
87         (org-map-entries): Make sure org-agenda-archives-mode is nil.
88         (org-agenda-files): Functionality of second arg changed.
90         * org-agenda.el (org-agenda-archives-mode): New variable
91         (org-write-agenda, org-prepare-agenda, org-agenda-list)
92         (org-search-view, org-todo-list, org-tags-view)
93         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
94         `ifmode' argument.
95         (org-agenda-quit): Reset the archives mode.
96         (org-agenda-archives-mode): New command.
97         (org-agenda-set-mode-name): Include archives info.
99 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
101         * org.el (org-paste-subtree): Make sure the yanked headline is
102         visible if it was yanked at a visible point.
103         (org-move-item-up): Fix the bug with moving white space at the end
104         of the item.
105         (org-show-empty-lines-in-parent): New function.
107 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
109         * org-colview.el (org-columns-next-allowed-value): Bug fix.
111         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
113         * org-agenda.el (org-agenda-get-closed): Get the end time into the
114         agenda prefix as well.
116         * org-publish.el (org-publish-org-index): Make a properly indented
117         list.
119         * org.el (org-calendar-agenda-action-key): New option.
120         (org-get-cursor-date): New function.
121         (org-mark-entry-for-agenda-action): New command.
122         (org-overriding-default-time): New variable.
123         (org-read-date): Respect `org-overriding-default-time'.
125         * org-remember.el (org-remember-apply-template): Respect the
126         ovverriding default time.
128         * org-agenda.el (org-agenda-action-marker): New variable.
129         (org-agenda-action): New command.
130         (org-agenda-do-action): New function.
132 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
134         * org.el (org-schedule, org-deadline): Protect scheduled and
135         deadline tasks against changes that accidently remove the
136         repeater.  Also show a message with the new date when done.
138 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
140         * org.el (org-beginning-of-line): Cater for the case when there
141         are tags but no headline text.
142         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
143         it set.
145 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
147         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
148         the return value is nil instead of "nil" when there is no match.
150         * org-exp.el (org-insert-centered): Use fill-column instead of
151         80.
152         (org-export-as-ascii): Use string-width to measure the width of
153         the heading.
155         * org.el (org-diary-to-ical-string): No longer kill buffer
156         FROMBUF, this is now done by the caller.
158         * org-exp.el (org-print-icalendar-entries): Move the call to
159         `org-diary-to-ical-string' out of the loop, and kill the buffer
160         afterwords.
162         * org-remember.el (org-remember-visit-immediately): Position
163         cursor after moving to the note.
164         (org-remember-apply-template): Use a text property to record the
165         cursor position.
166         (org-remember-handler): Align tags after pasting the note.
168 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
170         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
172         * org-agenda.el (org-agenda-open-link): If there is an
173         org-bbdb-name property in the current line, jump to that bbdb
174         entry.
176         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
177         text property, so that the agenda knows where this entry comes
178         from.
180         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
181         interaction between clocking-in from the agenda, and  automatic
182         task state switching.
184         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
186         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
187         zmacs-region stays after this command in XEmacs.
189 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
191         * org.el (org-scan-tags): Allow new values for ACTION parameter.
193         * org-remember.el (org-remember-templates): Fix bug in
194         customization type definition.
196         * org.el (org-map-entries): New function.
198 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
200         * org-agenda.el (org-agenda-skip-comment-trees): New option.
201         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
203 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
205         * org-remember.el (org-jump-to-target-location): New variable.
206         (org-remember-apply-template): Set
207         `org-remember-apply-template' if requested by template.
208         (org-remember-handler): Start an idle timer to jump to
209         remember location.
211         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
213         * org.el (org-set-regexps-and-options): Fix bug with parsing of
214         file tags.
215         (org-get-tags-at): Add the content of `org-file-tags'.
217         * org-exp.el (org-export-handle-comments): Fix bug with several
218         comment lines after each other.
219         (org-number-to-roman, org-number-to-counter): New functions.
220         (org-export-section-number-format): New option.
222 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
224         * org-exp.el (org-export-protect-examples): Catch the case of a
225         missing end_example line.
227         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
228         `org-file-tags' to nil.
230         * org-colview.el (org-columns-next-allowed-value): Handle next
231         argument NTH to directly select a value.
233         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
234         argument NTH to directly select a value.
236 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
238         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
240 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
242         * org.el (org-columns-ellipses): New option.
244 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
246         * org-colview.el (org-columns-add-ellipses): New function.
247         (org-columns-compact-links): New function.
248         (org-columns-cleanup-item): Call `org-columns-compact-links'.
249         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
250         when in agenda.
251         (org-columns-edit-value): Fixed bug with editing values from
252         agenda column view.
253         (org-columns-redo): Also redo the agenda itself.
255 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
257         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
258         option.
260         * org-colview.el (org-agenda-columns-cleanup-item): New function.
262         * org-exp.el (org-export-ascii-preprocess): Renamed from
263         `org-export-ascii-clean-string'.
264         (org-export-kill-licensed-text)
265         (org-export-define-heading-targets)
266         (org-export-handle-invisible-targets)
267         (org-export-target-internal-links)
268         (org-export-remove-or-extract-drawers)
269         (org-export-remove-archived-trees)
270         (org-export-protect-quoted-subtrees)
271         (org-export-protect-verbatim, org-export-protect-examples)
272         (org-export-select-backend-specific-text)
273         (org-export-mark-blockquote-and-verse)
274         (org-export-remove-comment-blocks-and-subtrees)
275         (org-export-handle-comments, org-export-mark-radio-links)
276         (org-export-remove-special-table-lines)
277         (org-export-normalize-links)
278         (org-export-concatenate-multiline-links)
279         (org-export-concatenate-multiline-emphasis): New functions,
280         obtained from spliiting the export preprocessor.
282         * org-table.el (org-table-recalculate): Improve error message if
283         the row number is invalid.
285 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
287         * org-archive.el (org-archive-save-context-info): Fix bugs in
288         customization setup and docstring.
290         * org-exp.el (org-export-html-style): Changed the size of in the
291         <pre> element to 90%.
293 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
295         * org.el (org-find-src-example-start): Function removed.
296         (org-edit-src-find-region-and-lang): New function.
298 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
300         * org.el (org-edit-src-exit): New function.
301         (org-exit-edit-mode): New minor mode.
303         * org-exp.el (org-export-preprocess-string): Fix bug with removing
304         comment-like lines from protected examples.
306         * org.el (org-edit-src-example, org-find-src-example-start)
307         (org-protect-source-example, org-edit-special): New functions.
309 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
311         * org-publish.el (org-publish-project-alist): Fix typo in
312         docstring.
313         (org-publish-project-alist): Handle :index-title property.
315 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
317         * org-export-latex.el (org-export-as-latex): Make sure region
318         bounds are correct.  Parse subtree properties relating to export.
320         * org-exp.el (org-export-add-options-to-plist): New function.
321         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
323 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
325         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
326         EXPORT_TITLE.
328         * org-exp.el (org-export-get-title-from-subtree)
329         (org-export-as-ascii, org-export-as-html): Make sure the original
330         region-beginning and region-end are used, even after moving
331         point.
332         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
333         property.
335         * org-remember.el (org-remember-last-stored-marker): New variable.
336         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
337         (org-remember-handler): Also use marker to remember
338         last-stored position.
340         * org.el (org-goto-marker-or-bmk): New function.
342 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
344         * org.el (org-file-properties): Renamed from `org-local-properties'.
345         (org-scan-tags): Take file tags into account.
346         (org-tags-match-list-sublevels): Default changed to t.
348         * org-exp.el (org-export-as-html): Close paragraph after a
349         footnote.
351         * org.el (org-update-parent-todo-statistics): New function.
353         * org-exp.el (org-icalendar-store-UID): New option.
354         (org-icalendar-force-UID): Option removed.
355         (org-print-icalendar-entries): IMplement UIDs.
357 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
359         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
361 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
363         * org-faces.el (org-column): Document how this face is being used
364         and why sometimes the background faces shine through.
366         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
368         * org-publish.el (org-publish-attachment): Create publishing
369         directory if it does not yet exist.
371         * org-table.el (org-calc-default-modes): Change default number
372         format to (float 8).
374         * org.el (org-olpath-completing-read): New function.
375         (org-time-clocksum-format): New option.
376         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
378         * org-clock.el (org-clock-display, org-clock-out)
379         (org-update-mode-line): Use `org-time-clocksum-format'.
381         * org-colview-xemacs.el (org-columns-number-to-string): Use
382         `org-time-clocksum-format'.
384         * org-colview.el (org-columns-number-to-string): Use
385         `org-time-clocksum-format'.
387 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
389         * org-id.el: New file, move from contrib to core.
391         * org-exp.el (org-icalendar-force-UID): New option.
393 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
395         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
396         shifted by one day if theere is a date range without an end
397         time.
399         * org.el (org-try-structure-completion): New function.
401 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
403         * org.el (org-set-font-lock-defaults): Improve fontification of
404         description lists.
405         (org-insert-item): Handle description lists.
406         (org-adaptive-fill-function): Improve auto indentation in
407         description lists.
409         * org-exp.el (org-export-as-html, org-export-preprocess-string):
410         Implement VERSE environment.
411         (org-export-preprocess-string): Implement the COMMENT
412         environment.
414         * org-export-latex.el (org-export-latex-preprocess): Implement
415         VERSE environment.
417 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
419         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
420         option.
422 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
424         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
426         * org.el (org-quote-csv-field): New functions.
428         * org-table.el (org-table-export-default-format): Remove :splice
429         from default format, we get the same effect by not specifying
430         :tstart and :tend.
431         (org-table-export): Improve setup, distinguish better between
432         interactive and non-interactive use, allow specifying the format
433         on the fly, better protection against wrong file names.
434         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
435         and :tend when :splice is omitted.
437 2008-05-09  Bernt Hansen  <bernt@norang.ca>
439         * org-clock.el (org-clock-select-task): Make sure the selection
440         letters are 1-9 and A-Z, no special characters.
442 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
444         * org-exp.el (org-export-htmlize): New group.
445         (org-export-htmlize-output-type)
446         (org-export-htmlize-css-font-prefix): New options.
447         (org-export-htmlize-region-for-paste): New function.
448         (org-export-htmlize-generate-css): New command.
450 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
452         * org/org.el (org-modules, org-format-latex-options):
453         * org/org-archive.el (org-archive-stamp-time)
454         (org-archive-save-context-info):
455         * org/org-faces.el (org-hide):
456         * org/org-irc.el (org-irc-parse-link):
457         * org/org-macs.el (org-call-with-arg, org-autoload):
458         * org/org-mew.el (org-mew-store-link):
459         * org/org-remember.el (org-remember-store-without-prompt)
460         (org-remember-templates): Fix typos in docstrings.
462         * org/org-info.el (org-info-store-link): Remove leftover docstring.
464         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
465         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
466         (org-bbdb-anniv-split): Fix typos in docstrings.
468         * org/org-publish.el (org-publish-project-alist): Doc fixes.
469         (org-publish-use-timestamps-flag): Reflow docstring.
470         (org-publish-files-alist): Fix typos in docstring.
472 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
474         * org.el (org-set-visibility-according-to-property): New function.
475         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
476         and compute the regular expressions, and update font-lock.
477         (org-property-re): Allow a dash in property names.
479         * org-archive.el (org-extract-archive-file): Insert the file name
480         without the path into the format, to allow the location format to
481         contain a subdirectory.
483         * org-agenda.el (org-agenda-post-command-hook): If point is at end
484         of buffer, and the `org-agenda-type' property undefined, use the
485         value from the character before.
487         * org.el (org-add-planning-info): Don't let indentation for
488         would-be timestamp become extra whitespace at the end of headline.
490 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
492         * org.el (org-remove-double-quotes, org-file-contents): New
493         functions.
495         * org-exp.el (org-infile-export-plist): Also parse the
496         contents of #+SETUPFILE files, recursively.
498         * org.el (org-set-regexps-and-options): Also parse the
499         contents of #+SETUPFILE files, recursively.
501         * org-exp.el (org-export-handle-include-files): New function.
502         (org-export-preprocess-string): Call
503         `org-export-handle-include-files'.
505         * org.el (org-delete-property-globally)
506         (org-delete-property, org-set-property): Ignore case during
507         completion.
508         (org-set-property): Use `org-completing-read' instead of
509         `completing-read'.
511         * org.el (org-complete-expand-structure-template): New,
512         experimental function.
513         (org-structure-template-alist): New, experimental option.
514         (org-complete): Call `org-complete-expand-structure-template'.
516 2008-05-06  Bastien Guerry  <bzg@altern.org>
518         * org-export-latex.el (org-export-latex-preprocess): Added
519         support for blockquotes.
521 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
523         * org.el (org-read-date-analyze): Catch the case where only a
524         weekday is given.
526 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
528         * org.el (org-set-font-lock-defaults): Make the description
529         tag bold.
531         * org-exp.el (org-export-as-html, org-close-li): Implement
532         description lists.
534 2008-05-04  Jason Riedy  <jason@acm.org>
536         * org-table.el (*orgtbl-default-fmt*): New variable.
537         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
538         when there is no other fmt available.
540         (orgtbl-to-generic): Allow an explicitly nil :tstart or
541         :tend to suppress the appropriate string.
543         (orgtbl-to-orgtbl): New function for translating to another orgtbl
544         table.
546 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
548         * org.el (org-read-date-analyze): "." as an alias for "+0" in
549         read date.
551         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
552         New function.
554         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
555         New function.
557 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
559         * org-clock.el (org-clock-find-position): Don't include notes
560         into clock drawer.
562         * org-archive.el (org-archive-subtree): No longer remove an
563         extra line after cutting the subtree.  `org-cut-subtree' already
564         takes care of this.
566         * org-remember.el (org-remember-handler): Only kill the target
567         buffer if it does not contain the running clock.
569         * org.el (org-markers-to-move): New variable.
570         (org-save-markers-in-region, org-check-and-save-marker)
571         (org-reinstall-markers-in-region): New function.
572         (org-move-subtree-down, org-copy-subtree): Remember relative
573         marker positions before cutting.
574         (org-move-subtree-down, org-paste-subtree): Restore relative
575         marker positions after pasting.
577         * org-remember.el (org-remember-clock-out-on-exit): New option.
578         (org-remember-finalize): Clock out only if the setting in
579         `org-remember-clock-out-on-exit' requires it.
580         (org-remember-handler): Do the cleanup in the buffer, to make sure
581         that the clock marker remains in tact.
583 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
585         * org-clock.el (org-clock-goto): Widen buffer if necessary.
586         (org-clock-in): Make sure that also tasks outside the narrowed
587         region will be clocked in correctly.
588         (org-clock-insert-selection-line): Widen the buffer so that we can
589         find the correct task heading.
591         * org.el (org-base-buffer): New function.
593         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
594         and ";" are escaped.
595         (org-print-icalendar-entries): Also apply
596         `org-icalendar-cleanup-string' to the headline, not only to the
597         summary property.
599 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
601         * org-exp.el (org-export-preprocess-hook): New hook.
602         (org-export-preprocess-string): Call
603         `org-export-preprocess-hook'.
605         * org.el (org-font-lock-hook): New variable.
606         (org-font-lock-hook): New function.
607         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
609 ;; Local Variables:
610 ;; coding: utf-8
611 ;; add-log-time-zone-rule: t
612 ;; End:
614     Copyright (C) 2008  Free Software Foundation, Inc.
616   This file is part of GNU Emacs.
618   GNU Emacs is free software: you can redistribute it and/or modify
619   it under the terms of the GNU General Public License as published by
620   the Free Software Foundation, either version 3 of the License, or
621   (at your option) any later version.
623   GNU Emacs is distributed in the hope that it will be useful,
624   but WITHOUT ANY WARRANTY; without even the implied warranty of
625   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
626   GNU General Public License for more details.
628   You should have received a copy of the GNU General Public License
629   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
631 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c