babel: smarter `org-babel-ref-split-args' -- fixes bug parsing indexed function-style...
[rgr-org-mode.git] / lisp / ChangeLog
blob31f5fc0703b8eba5c61717385345794969aff406
1 2010-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org.el (org-get-location): Make sure the selection buffer is
4         shown in the current frame.
6         * org-ascii.el (org-export-ascii-table-widen-columns): New
7         option.
8         (org-export-ascii-preprocess): Realign tables to remove narrowing
9         if `org-export-ascii-table-widen-columns' is set.
11         * org-table.el (org-table-do-narrow): New variable.
12         (org-table-align): Narrow only if `org-table-do-narrow' is t.
14         * org.el (org-deadline, org-schedule): Allow updating if the
15         relevant time stamp does not have a repeater, i.e. do not require
16         that no time stamp has a repeater.
18         * org-agenda.el (org-agenda-align-tags): Don't add a face to the
19         new white space before the tags.
21         * org-latex.el (org-export-as-latex): Do nit require the buffer to
22         be visiting a file when only exporting to a buffer or string.
23         (org-export-latex-fix-inputenc): Only save the buffer is there is
24         a file name attached to it.
26 2010-02-09  Dan Davison  <davison@stats.ox.ac.uk>
28         * org-src.el (org-edit-src-exit): Widen before exiting edit buffers
30 2010-02-08  Carsten Dominik  <carsten.dominik@gmail.com>
32         * org.el (org-fontify-meta-lines-and-blocks): Honor
33         `org-fontify-quote-and-verse-blocks'.
35         * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
37 2010-02-03  Carsten Dominik  <carsten.dominik@gmail.com>
39         * org.el (org-open-at-point): Also check for text property
40         org-linked-text before offering collected links.
42 2010-02-03  Stephen Eglen  <stephen@gnu.org>
44         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
45         Optionally extract time specification from text and add to the
46         timestamp.
48 2010-02-03  Carsten Dominik  <carsten.dominik@gmail.com>
50         * org-exp.el (org-html-entities): Fix typo.
52         * org-latex.el (org-export-latex-make-header): Use \providecommand
53         to make sure the \alert macro is defined.
55         * org.el (org-format-latex-signal-error)
56         (org-create-formula-image): Use `org-format-latex-signal-error'.
58 2010-02-02  Stephen Eglen  <stephen@gnu.org>
60         * org.el (org-store-link): For dired buffers, use
61         default-directory as link name if dired-get-filename returns
62         nil.
64 2010-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
66         * org-exp.el (org-export-concatenate-multiline-links): The for
67         protectedness at beginning of match.
69         * org-latex.el (org-export-latex-fix-inputenc): Never leave the
70         AUTO as a coding system, instead default to utf8.
72 2010-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
74         * org.el (org-block-todo-from-children-or-siblings-or-parent)
75         (org-block-todo-from-checkboxes): Respect the local variable
76         value when deciding if blocking should be active.
78         * org-latex.el (org-export-latex-make-header): Define the align
79         macro if it is not yet defined.
81         * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
82         `org-insert-heading' with the INVISIBLE-OK argument.
84         * org-mac-message.el (org-mac-message-insert-flagged): Call
85         `org-insert-heading' with the INVISIBLE-OK argument.
87         * org.el (org-insert-heading):  New argument INVISIBLE-OK.
89         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
90         prompt message.
92         * org-html.el (org-html-level-start): Use the
93         `html-container-class' text property to set an additional class
94         for an outline container.
96         * org-exp.el (org-export-remember-html-container-classes): New
97         function.
98         (org-export-preprocess-string): Call
99         `org-export-remember-html-container-classes'.
101         * org.el (org-cycle): Mention level cycling in the docstring.
102         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
104         * org-remember.el (org-remember-apply-template): Do file insertion
105         first.
107 2010-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
109         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
110         problem with mis-aligned graphs when showing habits.
112 2010-01-28  Mikael Fornius  <mfo@abc.se>
114         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
115         when assigning. Begin using numerical characters when all in name
116         is used up. This is to spare alphanumeric characters for better
117         match with other keywords.
119 2010-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
121         * org-exp.el (org-export-preprocess-hook): Improve documentation.
123         * org-latex.el (org-export-latex-preprocess): More consistent
124         conversion and protection of the words LaTeX and TeX.
125         (org-export-latex-fontify-headline, org-export-latex-preprocess):
126         Allow angle brackets in commands, for beamer.
128 2010-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
130         * org-clock.el (org-clock-in): Improve the look of the clock line
131         by formatting links.
133 2010-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
135         * org-latex.el (org-export-latex-classes): Use AUTO as the place
136         holder string for the coding system.  And improve the
137         documentation.
138         (org-export-latex-fix-inputenc): Only modify the coding system if
139         it is given by the placeholder AUTO.
141 2010-01-23  Carsten Dominik  <carsten.dominik@gmail.com>
143         * org-clock.el (org-task-overrun-text): New option.
144         (org-task-overrun, org-clock-update-period): New variables.
145         (org-clock-get-clock-string, org-clock-update-mode-line): Mark
146         overrun clock.
147         (org-clock-notify-once-if-expired): Check if clock is overrun.
149         * org-faces.el: New face `org-mode-line-clock-overrun'.
151 2010-01-18  Jan Böcker  <jan.boecker@jboecker.de>
153         * org.el (org-narrow-to-subtree): Position the end of the narrowed
154         region before the line with the next heading, to prevent the user
155         from prepending text to the next headline.
157 2010-01-20  Stephen Eglen  <stephen@gnu.org>
159         * org-agenda.el (org-get-time-of-day): Use
160         org-agenda-time-leading-zero to allow leading zero (rather than
161         space) for times.
163 2010-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
165         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
166         org-datetree.el is loaded.
168         * org-datetree.el: autoload `org-datetree-find-day-create'
170         * org-latex.el (org-export-latex-hyperref-format): New option.
171         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
173 2010-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
175         * org-ctags.el (org-ctags-enable): Change order of functions.
176         (org-ctags-create-tags): Add wildcard to file name expansion.
178 2010-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
180         * org.el (org-entry-properties): Fix some important bugs.
182 2010-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
184         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
185         the table is not explicitly given.
187 2010-01-15  Carsten Dominik  <carsten.dominik@gmail.com>
189         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
190         as value.
191         (org-clock-out-if-current): Work with the new list value of
192         `org-clock-out-when-done'.
193         (org-clock-out, org-clock-out-if-current): Avoid circular logic
194         between clocking out and state changes.
196         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
198         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
199         accident protect a character that is before a backslash.
201 2010-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
203         * org-agenda.el (org-diary-class): Use
204         `org-order-calendar-date-args'.
206         * org.el (org-order-calendar-date-args): New function.
208         * org-exp.el (org-export-target-internal-links): Check for
209         protectedness after the first bracket.
211         * org.el (org-entry-properties): Don't match wrong-case TODO
212         keywords.
214         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
215         Document that ARG is passed through to remove the date.
216         (org-agenda-bulk-action): Accept prefix arg and pass it on.  Do
217         not read a date when the user has given a `C-u' prefix.
219 2010-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
221         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
222         tags are hidden.
224 2010-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
226         * org-latex.el (org-export-latex-fix-inputenc): New function.
227         (org-export-latex-inputenc-alist): New option.
229         * org-exp.el (org-export): New key SPC to publish enclosing
230         subtree.
232 2010-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
234         * org-indent.el (org-indent-add-properties): Catch case when there
235         is no headline in the buffer.
237 2010-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
239         * org-exp.el (org-html-entities): Add checkmark symbol.
241         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
242         verbatim code for ASCII export.
244         * org.el (org-update-statistics-cookies): Also see checkboxes in
245         ordered lists.
247 2010-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
249         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
250         key.
252         * org-beamer.el (org-beamer-amend-header): Change the location
253         where `org-beamer-header-extra' is inserted.
255         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
256         just for computing this regexp.
258 2010-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
260         * org-beamer.el (org-beamer-frame-default-options): New option.
261         (org-beamer-sectioning): Use default options if the user does not
262         have defined any.
263         (org-beamer-fix-toc): Put a frame around the table of contents.
265         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
266         sure case-folding works well when processing comment stuff.
268         * org-latex.el (org-export-latex-after-save-hook): New hook.
269         (org-export-as-latex): Run the new hook.
271 2010-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
273         * org-beamer.el (org-beamer-environments-default): Add the note
274         environments.
275         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
276         lines and collect and combine the content.
277         (org-beamer-after-initial-vars): Check for note tags and make sure
278         they will be seen like a property.
280         * org.el (org-offer-links-in-entry): Fix bug when there is a
281         single link.
283         * org-exp.el (org-export): Make sure the mark is activated, also
284         when `transient-mark-mode' is off.
286         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
287         (org-agenda-search-view-search-words-only): Obsolete variable, is
288         now an alias for `org-agenda-search-view-always-boolean'.
289         (org-agenda-search-view-force-full-words): New option.
290         (org-search-view): Improve docstring, and implement a better logic
291         for Boolean and phrase searches.
292         (org-agenda-last-search-view-search-was-boolean): New variable.
293         (org-agenda-manipulate-query): Consider the type of the last
294         search when modifying the search string.
296 2010-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
298         * org-latex.el (org-export-as-latex): Do the first letbind in the
299         right moment.
301         * org-agenda.el (org-get-entries-from-diary): Add the new face to
302         these entries.
304         * org-faces.el (org-agenda-diary): New face.
306         * org.el (org-make-link-regexps): Allow regexp-special characters
307         in link types.
308         (org-open-file): When in-emacs is `system', also force system
309         opening, like when the value was `(16)'.
310         (org-update-statistics-cookies): Handle entries without children.
312         * org-exp.el
313         (org-export-preprocess-before-normalizing-links-hook): New hook.
314         (org-export-preprocess-string): Run the new hook.
316         * org.el (org-offer-links-in-entry): Make RET open all links.
318         * org-html.el (org-export-as-html): Remove any left-over display
319         properties in the html file.
321         * org-wl.el (org-wl-store-link): Work-around for format bug with
322         text properties.
324         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
325         invisibility while adding the graphs.
327 2010-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
329         * org-remember.el (org-select-remember-template): Use C letter to
330         customize remember templates.
332         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
333         Move cursor to next visible line.
335 2010-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
337         * org-beamer.el (org-beamer-sectioning): Leave columns environment
338         by specifying 0 or 1 for column width.
339         (org-beamer-column-widths): Make 0 stand for 0.0.
341 2010-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
343         * org-exp.el (org-export-mark-radio-links): Don't match inside
344         <<target>>.
346         * org.el (org-format-latex-header-extra): New variable.
347         (org-format-latex): Set org-format-latex-header-extra from
348         in-buffer stuff.
349         (org-format-latex): Add org-format-latex-header-extra to the
350         variables on which image creation depends.
351         (org-create-formula-image): Add the header stuff from in-buffer
352         settings.
353         (org-read-date-analyze): Base the analysis for future preference
354         on NOW, not on the default date.
356         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
357         for TODO keyword in inline tasks.
359         * org.el (org-log-note-headings): New headings for removing
360         deadline or scheduling date.
361         (org-deadline, org-schedule): Arrange for logging when removing a
362         date.
363         (org-add-log-note): Handle deadline and scheduling removal.
365 2009-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
367         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
369 2009-12-28  Carsten Dominik  <carsten.dominik@gmail.com>
371         * org-agenda.el (org-diary-class): New function.
373 2009-12-24  Carsten Dominik  <carsten.dominik@gmail.com>
375         * org-latex.el (org-export-latex-preprocess): Do process the text
376         of a radio target.
378 2009-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
380         * org.el (org-entry-properties): Add TIMESTAMP properties back
381         in.
383 2009-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
385         * org.el (org-all-time-keywords): New variable.
386         (org-set-regexps-and-options): Set `org-all-time-keywords'.
387         (org-entry-blocked-p): New function.
388         (org-special-properties): Add BLOCKED as a new special property.
389         (org-entry-properties): New optional argument SPECIFIC, only parse
390         for this property when it is specified.
391         (org-entry-get): Pass a SPECIFIC argument to
392         `org-entry-properties'.
394         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
396 2009-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
398         * org-latex.el (org-export-latex-tables): No forced line end if
399         there is no caption.
401 2009-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
403         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
404         package.
406         * org-latex.el (org-export-latex-tables): Only add a caption when
407         macro in in longtable environments if one has been defined.
409         * org-html.el (org-export-as-html): Only take title from buffer if
410         not exporting body-only.
412         * org-latex.el (org-export-latex-preprocess): Better version of
413         the regular expression for protecting LaTeX macros.
414         (org-export-latex-preprocess): Start searching for macros to
415         protect from beginning of buffer.
417         * org-exp.el (org-export-target-internal-links): Check for
418         protectedness earlier in the string.
420         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
421         case sensitively.
423         * org-id.el (org-id-store-link): Match TODO keywords case
424         sensitively.
426         * org.el (org-heading-components, org-get-outline-path)
427         (org-display-outline-path): Match TODO keywords case sensitively.
429         * org-latex.el (org-export-as-latex): Ignore read-only
430         properties.
432         * org-exp.el (org-export-preprocess-string): Remove any
433         `read-only' properties.
435         * org-agenda.el (org-agenda-inactive-leader): New option.
436         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
437         (org-tags-view): Prompt for matcher if MATCH is an empty string.
438         (org-todo-list): Prompt for matcher if ARG is an empty string.
440 2009-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
442         * org.el (org-open-link-functions): New hook.
443         (org-open-at-point): Run `org-open-link-functions'.
445 2009-12-14  Carsten Dominik  <carsten.dominik@gmail.com>
447         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
448         stamps as well.
450         * org.el (org-inhibit-startup-visibility-stuff): New variable.
451         (org-mode): Don't do startup visibility if inhibited.
452         (org-outline-overlay-data, org-set-outline-overlay-data): New
453         functions.
454         (org-save-outline-visibility): New macro.
455         (org-log-note-headings): Document that one should not change the
456         `state' note format.
458 2009-12-13  Carsten Dominik  <carsten.dominik@gmail.com>
460         * org.el (org-make-link-regexps): Capture link path into a group.
462 2009-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
464         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
465         the options plist.
467 2009-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
469         * org.el (org-startup-with-beamer-mode): New option.
470         (org-property-changed-functions)
471         (org-property-allowed-value-functions): New hooks.
472         (org-entry-put, org-property-get-allowed-values): Run the new
473         hooks.
474         (org-property-next-allowed-value): Run the new hooks.
476         * org-exp.el (org-export-select-backend-specific-text): Add the
477         special beamer tags.
479         * org-beamer.el
480         (org-export-preprocess-before-selecting-backend-code-hook): New
481         file.
483         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
484         (org-export-as-latex): Run
485         `org-export-latex-after-initial-vars-hook'.
486         (org-export-latex-format-toc-function)
487         (org-export-latex-make-header): Call
488         `org-export-latex-format-toc-function'.
490         * org.el (org-fill-template): Make template searches case sensitive.
492         * org-exp.el (org-export): Use "1" as a sign to export only the
493         subtree.
495         * org-colview-xemacs.el (org-columns-edit-value): Use
496         org-unrestricted property.
498         * org-colview.el (org-columns-edit-value):  Use
499         org-unrestricted property.
501         * org.el (org-compute-property-at-point): Set org-unrestricted
502         text property if the list contains ":ETC".
503         (org-insert-property-drawer):  Use
504         org-unrestricted property.
506         * org-exp.el
507         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
508         (org-export-preprocess-string): Run
509         `org-export-preprocess-before-selecting-backend-code-hook'.
511         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
513         * org-latex.el (org-export-region-as-latex): Run
514         `org-export-first-hook'.
516         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
518         * org-docbook.el (org-export-as-docbook): Run
519         `org-export-first-hook'.
521         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
523         * org-exp.el (org-export-first-hook): New hook.
525 2009-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
527         * org-list.el (org-previous-item): Exit at the beginning of the
528         buffer.
530         * org-id.el (org-id-locations-save): Only write the id locations
531         if any are defined.
533         * org-archive.el (org-archive-all-done): Make this work in a file
534         with org-odd-levels-only set.
536         * org.el (org-get-refile-targets): Catch the case when a buffer
537         has no file.
539         * org-latex.el (org-export-as-latex): Cleanup forced line ends
540         where they are not needed.
541         (org-export-latex-subcontent): Remove unnecessary newlines.
543 2009-12-09  Carsten Dominik  <carsten.dominik@gmail.com>
545         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
546         (org-export-latex-fontify): Fix regexp bug that takes special
547         care of protecting the right boundary characters in emphasis
548         matches.
549         (org-export-latex-preprocess): Allow multiple arguments to latex
550         macros.
552         * org.el (org-make-link-regexps): Use John Gruber's regexp for
553         urls.
555         * org-macs.el (org-re): Interpret :punct: in regexps.
557         * org-exp.el (org-export-replace-src-segments-and-examples): Also
558         take the final newline after the END line.
560         * org.el (org-clean-visibility-after-subtree-move): Only fix
561         entries that are not entirely invisible already.
562         (org-insert-link): Respect org-link-file-path-type for
563         "docview:" links in addition to "file:" links.
565 2009-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
567         * org-exp.el (org-export-format-source-code-or-example): Avoid
568         additional extra white lines in LaTeX.
570         * org-list.el (org-list-parse-list): Leave empty lines after the
571         list, don't consider them as part of the list.
573         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
574         searches.
576         * org-clock.el (org-clock-select-task): Convert integer to
577         character for XEmacs.
579 2009-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
581         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
582         compatible.
584 2009-11-30  Tassilo Horn  <tassilo@member.fsf.org>
586         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
587         variable.
588         (org-set-tags): Use it.
590 2009-11-30  Carsten Dominik  <carsten.dominik@gmail.com>
592         * org-list.el (org-empty-line-terminates-plain-lists): Update
593         docstring.
595         * org.el (org-format-latex): Fix link creation for processed latex
596         snippets.
598 2009-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
600         * org-footnote.el (org-footnote-normalize): Protect replacement
601         text.
603         * org.el (org-inside-latex-macro-p): Save match data.
605 2009-11-28  Jan Böcker  <jan.boecker@jboecker.de>
607         * org-docview.el: New file.
609 2009-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
611         * org-latex.el (org-export-latex-class-options): New variable.
612         (org-export-latex-set-initial-vars): Use the class options.
614         * org.el (org-forward-same-level): Stop at headings that start
615         with an invisible character.
616         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
618 2009-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
620         * org-footnote.el (org-footnote-normalize): Don't take optional
621         arguments in LaTeX macros as footnotes.
623         * org.el (org-inside-latex-macro-p): New function.
625         * org-latex.el (org-latex-to-pdf-process): Change customization
626         group to `org-export-pdf'.
628         * org-agenda.el (org-agenda-get-blocks): Look at time string also
629         on days after the first one.
631         * org.el (org-insert-heading): Also check for item before assuming
632         before-first-heading condition.
634         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
635         (org-export-pdf-logfiles): New option.
636         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
637         (org-export-pdf-logfiles): Fix customization type.
639         * org.el (org-insert-link): Improve error message when there is no
640         default link to select with RET.
642         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
643         parameter list.
645 2009-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
647         * org-latex.el (org-export-latex-parse-global)
648         (org-export-latex-parse-content)
649         (org-export-latex-parse-subcontent): Use
650         `org-re-search-forward-unprotected'.
651         (org-export-as-pdf): Remove log files produced by XeTeX.
653         * org-macs.el (org-re-search-forward-unprotected): New function.
655 2009-11-25  James TD Smith  <ahktenzero@mohorovi.cc>
657         * org-colview.el (org-agenda-colview-summarize): Sort out some
658         confusion between properties and titles, which resulted in
659         agenda summaries not working if a title was set for a column.
661 2009-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
663         * org-mobile.el (org-mobile-agendas): New option.
664         (org-mobile-sumo-agenda-command): Select the right agendas.
666         * org-latex.el (org-export-latex-format-image): Preserve the
667         original-indentation property.
669 2009-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
671         * org-clock.el (org-clock-insert-selection-line): Catch error when
672         an old tasks no longer exists.
674         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
675         (org-export-as-pdf): Don't remove the old PDF file before making
676         the new one.
678         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
679         (org-mouse-context-menu): Use `org-looking-back'.
681         * org.el (org-cycle-level): Use `org-looking-back'.
683         * org-list.el (org-cycle-item-indentation): Use
684         `org-looking-back'.
686         * org-compat.el (org-looking-back): New function.
688         * org.el (org-insert-heading): Catch before-first-headline when
689         inserting a headline.
691 2009-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
693         * org-latex.el (org-export-latex-format-image): Indent figure
694         environment, so that it does not interrupt plain list.
696         * org.el (org-open-at-point): Allow long link descriptions.
698 2009-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
700         * org-html.el (org-export-as-html): Remove empty lines at the
701         beginning of the exported text.
703 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
705         * org-protocol.el (org-protocol-remember): Cater for empty title,
706         region, link.
708         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
709         agenda after adding new entry.
710         (org-agenda-get-represented-tags): New function.
711         (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
712         to get a list of tags in the agenda.
714         * org-datetree.el (org-datetree-find-day-create): Fix regular
715         expression.
717         * org.el (org-display-outline-path): Use a format specifier for
718         message, to avoid problems with heading containing `%'.
720         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
721         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
722         (org-agenda-fix-displayed-tags): New function.
723         (org-agenda-do-context-action): Just call
724         `org-display-outline-path', without piping the result through
725         `message'.
727         * org-latex.el (org-export-latex-preprocess): Protect secondary
728         footnote references.
730         * org-indent.el (org-indent-initialize): Avoid empty strings as
731         line prefixes.
733         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
734         hat checking for the mark does not throw an error.
735         (org-agenda-diary-entry-in-org-file): Catch the case that there is
736         not `day' text property in the cursor line.
738         * org.el (org-sort-entries-or-items): Make sure that the final
739         entry has a newline before doing the sorting.
741         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
742         property at the beginning of the line.
744         * org.el (org-make-link-string): Don't allow a description with
745         only white space.
747 2009-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
749         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
750         (org-agenda-insert-diary-as-top-level): New function.
751         (org-agenda-add-entry-to-org-agenda-diary-file): Call
752         `org-agenda-insert-diary-as-top-level'.
754         * org.el (org-occur-in-agenda-files): Make sure none of the
755         buffers is narrowed.
756         (org-activate-plain-links): Add the face property here.
757         (org-set-font-lock-defaults): Do not add the face to plain links,
758         the activator function does this.
760         * org-habit.el (org-is-habit-p): Add doc string.
762 2009-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
764         * org-archive.el (org-archive-subtree-default-with-confirmation):
765         Autoload.
767         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
768         after match optional (happens at the end of a line...).
770         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
771         for special blocks.
773         * org-faces.el (org-copy-face): Set lisp indentation.
774         (org-quote, org-verse): New faces.
776         * org-agenda.el (org-agenda-remove-date): Remove variable.
778 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
780         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
782 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
784         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
785         hash keys to cache and re-use images generated by the
786         org-exp-blocks interface to ditaa and dot.
788 2009-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
790         * org-html.el (org-export-as-html): Move the home/up link into
791         the content div.
793         * org.el (org-export-latex-packages-alist): Option definition
794         moved here from org-latex.el.
796 2009-11-17  Eric Schulte  <schulte.eric@gmail.com>
798         * org.el (org-format-latex): Latex images are now saved to files
799         named by the sha1 hash of the latex source text avoiding
800         regeneration of identical images.
802 2009-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
804         * org-html.el (org-export-html-home/up-format): Add an ID to the
805         up/home div.
807 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
809         * org-wl.el (org-wl-store-link): Handle the case that
810         `wl-use-petname' is set.
812         * org.el (org-set-effort): Improve prompt.
813         (org-get-outline-path): Widen to get full path.
814         (org-compact-display-after-subtree-move): Function removed.
816         * org-latex.el (org-export-as-latex): Add the :drawers property.
818 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
820         * org.el (org-speed-commands-user): Allow documentation headlines.
821         (org-speed-commands-default): Organize the value of this constant
822         with descriptive headlines.
823         (org-print-speed-command): Output the headlines.
825 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
827         * org-agenda.el (org-agenda-show-outline-path): New option.
828         (org-agenda-do-context-action): New function.
829         (org-agenda-next-line, org-agenda-previous-line): Use
830         `org-agenda-do-context-action'.
832         * org.el (org-use-speed-commands): Allow function value.
833         (org-speed-commands-default): Make headline motion safe, so that
834         these commands always end on a headline.
835         (org-speed-commands-default): New key `v' for `org-agenda'.
836         (org-speed-move-safe): New function.
837         (org-self-insert-command): Use the function value of
838         `org-use-speed-commands'.
839         (org-get-outline-path): Improve docstring.
840         (org-format-outline-path): New function.
841         (org-display-outline-path): New function.
843 2009-11-12  John Wiegley  <jwiegley@gmail.com>
845         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
846         a string, use that to find the LOGBOOK drawer.
848 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
850         * org.el (org-clone-subtree-with-time-shift): Make it work at the
851         end of the buffer.
853         * org-mobile.el (org-mobile-write-checksums): Specify coding
854         system.
855         (org-mobile-timestamp-buffer): Keep local variable/mode line at
856         beginning of buffer.
858         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
860         * org.el (org-block-todo-from-children-or-siblings-or-parent)
861         (org-block-todo-from-checkboxes): Do not block changes to a nil
862         TODO state.
864 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
866         * org-habit.el (org-habit-parse-todo): Indicate which habit is
867         wrongly set up in the error messages.
869         * org-colview.el (org-columns-display-here): Don't try to
870         calculate values if the underlying property is not set.
871         (org-columns-string-to-number): Convert age strings back into
872         fractional days.
873         (org-agenda-colview-summarize): Handle extended summary types
874         properly.
876         * org-colview-xemacs.el (org-columns-display-here): Don't try to
877         calculate values if the underlying property is not set.
878         (org-columns-string-to-number): Convert age strings back into
879         fractional days.
880         (org-agenda-colview-summarize): Handle extended summary types
881         properly.
883 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
885         * org-exp.el (org-export-format-drawer-function): New variable.
886         (org-export-format-drawer): New function.
887         (org-export-preprocess-string): Pass the backend as a parameter to
888         `org-export-remove-or-extract-drawers'.
889         (org-export-remove-or-extract-drawers): New parameter BACKEND.
891         * org-protocol.el (org-protocol-char-to-string): New defsubst.
893 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
895         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
896         message when no block is selected.
898         * org-latex.el (org-export-latex-links): Check for protectedness
899         in the last matched character, not after the match.
901         * org-datetree.el (org-datetree-find-date-create): Respect
902         restriction when KEEP-RESTRICTION is set.
903         (org-datetree-file-entry-under): New function.
904         (org-datetree-cleanup): New command.
906 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
908         * org-src.el (org-edit-src-code): New optional argument context
909         allows calling functions to avoid altering the saved window
910         configuration.
911         (org-edit-src-exit): Do not restore window configuration when this
912         function is used in the context of saving the edit buffer.
914 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
916         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
917         instances to switching to with-current-buffer, because these seem
918         to cause problems - no idea why.
920         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
921         Require diary-lib for (diary-date-display-form).
923         * org.el (org-log-reschedule, org-log-redeadline): New options.
924         (org-log-note-headings): Add templates for rescheduling and
925         deadline changing.
926         (org-startup-options): Add in-buffer settings for logging changing
927         schedule and deadline time stamps.
928         (org-deadline, org-schedule): Check for existing date and arrange
929         for logging if the user requests it.
930         (org-add-log-note): Prepare proper note buffers for rescheduling
931         and deadline changes.
933 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
935         * org-agenda.el (org-agenda-diary-entry-in-org-file)
936         (org-agenda-add-entry-to-org-agenda-diary-file)
937         (org-agenda-insert-diary-make-new-entry): New functions.
938         (org-agenda-diary-entry): Call
939         `org-agenda-diary-entry-in-org-file' when appropriate.
941         * org.el (org-calendar-insert-diary-entry-key): New option.
942         (org-agenda-diary-file): New option.
943         ("calendar"): Install our insertion function in the calendar.
945         * org-remember.el (org-datetree): Require.
946         (org-remember-templates): Add new positioning option.
947         (org-remember-reference-date): New variable.
948         (org-remember-apply-template): Store the reference date in a local
949         variable.
950         (org-remember-handler): Implement date tree positioning of entries.
952         * org-datetree.el: New file.
954         * org-latex.el (org-export-latex-preprocess): Protect targets in
955         verbatim emphasis.
957         * org-html.el (org-export-as-html): Protect targets in verbatim
958         emphasis.
960         * org-docbook.el (org-export-as-docbook): Protect targets in
961         verbatim emphasis.
963 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
965         * org.el (org-link-display-format): Should be literal replacement.
967 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
969         * org-clock.el (org-show-notification): Handle messages that
970         contain a percent character.
972         * org-remember.el (org-remember-apply-template): Turn of partial
973         completion.
975         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
976         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
978         * org.el (org-indent-mode): Define variable already in org.el.
979         (org-unfontify-region): Remove line-prefix and wrap-prefix
980         properties only if org-indent-mode is active.
982 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
984         * org-icalendar.el (org-print-icalendar-entries): Save match data
985         around call to verify function.
986         (org-print-icalendar-entries): Add a call to the verification
987         function.
989         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
990         save-restrivtion' form.
992 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
994         * org-exp.el (org-export-format-source-code-or-example): restrict
995         scope of preserve-indentp to the let binding.
996         (org-src): require org-src, since org-src-preserve-indentation is used.
998 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1000         * org-timer.el (org-timer-set-timer): Set variables
1001         org-timer-timer[123] correctly.
1004         * org-mobile.el (org-mobile-files-alist): Make it work when
1005         `agenda-archives' is included in
1006         `org-agenda-text-search-extra-files'.
1007         (org-mobile-push): Restore agenda after mobile push.
1009 2009-11-05  John Wiegley  <jwiegley@gmail.com>
1011         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
1012         way the amount of idle time is presented in the minibuffer.
1014 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
1016         * org-icalendar.el (org-print-icalendar-entries): Use
1017         org-icalendar-verify-function only if non-nil.
1019         * org.el (org-refile): Refile to clock only if the prefix arg is
1020         2.
1021         (org-sparse-tree): Fix docstring to be in line with prompt.
1022         (org-update-parent-todo-statistics): Call
1023         `org-after-todo-statistics-hook' on each level.
1025 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
1027         * org-remember.el (org-remember-apply-template): Make sure the
1028         buffer exists.
1030 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
1032         * org.el (org-tab-ind-state): New variable.
1033         (org-cycle-level): New function.
1034         (org-cycle-level-after-item/entry-creation): New option.
1035         (org-flag-subtree): New function.
1036         (org-hide-archived-subtrees): Call `org-flag-subtree'.
1037         (org-set-effort): Indexed access.
1039         * org-list.el (org-cycle-item-indentation): New function.
1041         * org.el (org-refile): Make prefix argument 2 refile to current
1042         clock.
1043         (org-priority): Interpret action `remove' as call to remove the
1044         priority cookie.
1046         * org-remember.el (org-remember-apply-template): Don't depend on
1047         buffer name being like file name.
1049 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
1051         * org-clock.el (org-clock-play-sound): Expand file in
1052         org-clock-sound, to allow ~ for home.
1054         * org-remember.el (org-remember-handler): Set
1055         text-before-node-creation even if this already looks like a node,
1056         because the string might be needed on non-org-mode target files.
1058         * org-agenda.el (org-agenda-open-link): Make this work in agenda
1059         clocktables.
1060         (org-agenda-switch-to): Follow a link at point if
1061         org-return-follows-link' is set and there is nothing else to do in
1062         this line.
1064 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
1066         * org-colview-xemacs.el: Add in changes from org-colview.el
1068 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
1070         * org-exp-blocks.el: Modify split separator regexp to avoid empty
1071         strings.
1073 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
1075         * org-colview.el (org-columns-new): Make this work with the new
1076         operators.
1077         (org-columns-store-format): Make this work with the new operators.
1079 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
1081         * org-src.el (org-src-preserve-indentation): Document that this
1082         variable is also used during export.
1084         * org-exp.el (org-export-format-source-code-or-example): Preserve
1085         indentation if a block has a -i option, or if
1086         `org-src-preserve-indentation' is set.
1088         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
1089         indentation if a block has a -i option, or if
1090         `org-src-preserve-indentation' is set.
1092 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
1094         * org.el (org-mode-map): Define the new archiving keys.
1095         (org-speed-commands-default): Define an archiving key in the speed
1096         command map.
1097         (org-org-menu): Improve the menu structure concerning archiving.
1099         * org-archive.el (org-archive-subtree-default-with-confirmation):
1100         New command.
1102         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
1103         (org-agenda-menu): Add the new archiving commands to the menu.
1104         (org-agenda-archive-default)
1105         (org-agenda-archive-default-with-confirmation): New commands.
1106         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
1107         call `org-agenda-archive-with'.
1108         (org-agenda-archive-with): New function.
1110         * org-table.el (org-table-convert-region): Inert spaces around "|"
1111         to avoid line beginnings like "|-1" which will be mistaken as
1112         hlines.
1114 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
1116         * org.el (org-offer-links-in-entry): Return nil if there are no
1117         links, t if a link has been selected.
1118         (org-open-at-point): Open attachment directory when called in the
1119         headline and there are no links in the entry body.
1120         (org-speed-commands-default): Add "o" for open-at-point as a speed
1121         command.
1123         * org-attach.el (org-attach-reveal): Optional prefix arg
1124         IF-EXISTS, which avoids creating the attachment directory if it
1125         does not yet exist.
1127         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
1128         MATCH.
1130 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
1132         * org.el ("abbrev"): Work with abbrev tables only after they have
1133         been loaded.
1135         * org-list.el (org-list-send-list): Fix bug related to match
1136         data.
1138         * org-latex.el (org-export-latex-fontify): Apply verbatim
1139         emphasis.
1140         (org-export-latex-make-header): Insert \obeylines if line breaks
1141         should be preserved.
1143         * org-exp.el (org-export-protect-verbatim): Add an
1144         `org-verbatim-emph' property to such text.
1146 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
1148         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
1149         (org-print-icalendar-entries): Skip entries where the timestamp is
1150         not a deadline and not scheduled, if the user requests that.
1152         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
1153         before an opening quote.
1155         * org-archive.el (org-archive-subtree): Keep archive after
1156         archiving something.
1158         * org-id.el (org-id-update-id-locations): Add archive files if
1159         that is required by `org-id-extra-files'.
1161 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
1163         * org-src.el (org-src-window-setup): New option.
1164         (org-src-switch-to-buffer): New function.
1165         (org-edit-src-exit): Add optional argument CONTEXT and use it to
1166         restore window configuration.
1167         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
1168         Call `org-src-switch-to-buffer'.
1170         * org.el (org-default-properties): Add STYLE property.
1171         (org-files-list): Use the function call to get the files.
1172         (org-additional-option-like-keywords): Add SETUPFILE to completion
1173         list.
1175 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
1177         * org-table.el (org-table-convert-region): Correctly interpret
1178         quoting in csv import.
1180         * org.el (org-icompleting-read): Make iswitchb completion work
1181         with lists and tables.
1183         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
1184         while pushing the mobile agenda.
1186 2009-10-25  John Wiegley  <jwiegley@gmail.com>
1188         * org-clock.el
1189         (org-clock-auto-clock-resolution): Now takes three values: nil, t
1190         and `when-no-clock-is-running'.
1191         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
1192         whether or not to resolve Org buffers on clock in.
1194 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
1196         * org-colview.el (org-format-time-period): Function to format
1197         times in fractional days for display.
1198         (org-columns-display-here): Add support for showing a calculated
1199         value in place of the property.
1200         (org-columns): Set `org-columns-time' to the current time so time
1201         difference calculations will work.
1202         (org-columns-time): Use to store the current time when column view
1203         is displayed, so all time differences will use the same reference
1204         point.
1205         (org-columns-compile-map): There is now an extra position in each
1206         entry specifying the function to use to calculate the displayed
1207         value for the non-calculated properties in the column,
1208         (org-columns-compute-all): Set `org-columns-time' to the current
1209         time so time difference calculations will work.
1210         (org-columns-compute): Handle column operators where the values
1211         used are calculated from the underlying property.
1212         (org-columns-number-to-string): Handle the 'age' column format
1213         (org-columns-string-to-number): Correct the function name (was
1214         org-column...). Add support for the 'age' column format.
1215         (org-columns-compile-format): Support the additional parameter in
1216         org-columns-compile-map.
1218 2009-10-26  Bastien Guerry  <bzg@altern.org>
1220         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
1221         variable.
1223 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
1225         * org-clock.el (org-clock-has-been-used): New variable.
1226         (org-clock-in): Set `org-clock-has-been-used'.
1227         (org-clock-save): Save only if clock data has been used or created
1228         during this session.
1230 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
1232         * org-clock.el (org-clock-persist): New value, to store only the
1233         clock history.
1234         (org-clock-save): Don't save the clock if only the history should
1235         be stored.
1236         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
1237         when restoring a saved clock.
1239 2009-10-24  John Wiegley  <jwiegley@gmail.com>
1241         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
1242         `org-time-clock-use-fractional'.
1244         * org.el (org-time-clocksum-use-fractional)
1245         (org-time-clocksum-fractional-format): Two new customizable
1246         variables which allow the user to select fractional times (1.25
1247         instead of 1:25) in the `org-clock-display' report.
1249 2009-10-23  John Wiegley  <jwiegley@gmail.com>
1251         * org-habit.el (org-habit-build-graph): None of the arguments
1252         should be optional.
1253         (org-habit-parse-todo, org-habit-deadline)
1254         (org-habit-get-priority, org-habit-get-faces)
1255         (org-habit-build-graph): Further simplifications by storing all
1256         past, scheduled and deadline dates as a number of days past the
1257         epoch, and not as times.
1259         * org-habit.el (org-habit-warning-face)
1260         (org-habit-warning-future-face): Removed because these are no
1261         longer used.
1262         (org-habit-deadline, org-habit-deadline-repeat): Now always
1263         returns a date; computed if there was a scheduled repeater but no
1264         deadline repeater.
1265         (org-habit-get-priority): Further improvements to the priority
1266         algorithm.  In particular, items past due should always appear
1267         before items due or not yet due.
1268         (org-habit-get-faces): Greatly simplified the logic, now that
1269         `org-habit-deadline' always returns a valid time.
1271 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
1273         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
1274         New option.
1276         * org.el (org-tag-alist): Fix customization type.
1278 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
1280         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
1281         Make sure the regexp search can fail without throwing an error.
1282         (org-mobile-apply): Save the inbox buffer after removing
1283         successfully applied changes.
1285 2009-10-22  John Wiegley  <jwiegley@gmail.com>
1287         * org-habit.el (org-habit-build-graph): Fix to the graph building
1288         when last DONE date is earlier than `org-habit-preceding-days'.
1290         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
1291         time is reported after the user comes back (but before they
1292         resolve time).
1294         * org.el (org-get-repeat): Change so that this function can be
1295         called with either `org-scheduled-string' or
1296         `org-deadline-string'.
1298         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
1299         to find the scheduled date.
1301         * org-clock.el (org-clock-auto-clock-resolution): Renamed
1302         `org-clock-disable-clock-resolution', since negatives don't sound
1303         good in customization variables.
1304         (org-clock-in): Don't use the auto-resolution logic if the user is
1305         clocking into a different task while an active clock is running.
1306         This then allows the default behavior of clocking out of the open
1307         task and then into the new task.
1309         * org-habit.el (org-habit-parse-todo): Generate an error if a
1310         habit has a scheduled repeat period < 1.
1311         (org-habit-get-faces): Fixes to the way that colors are computed.
1312         (org-habit-build-graph): The graph wasn't displaying beyond any
1313         day that had two completions in it.
1315         * org.el (org-modules): Made this variable more consistent, since
1316         it was referring to Org, OrgMode and Org-mode, whereas the docs
1317         for the variable always refer to Org-mode.
1319 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1321         * org.el (org-repeat-re): The changed org-repeat-re no longer
1322         matched simple +2d type repeaters. Fix it so it does.
1324 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
1326         * org-latex.el (org-export-latex-preprocess): Protect the vspace
1327         macro in the VERSE environment.
1329 2009-10-20  John Wiegley  <jwiegley@gmail.com>
1331         * org-habit.el (org-habit-get-priority): A new function that
1332         determines the relative priority of a habit, based on how long
1333         past its scheduled date it is, and how near the deadline is.
1335         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
1336         using `org-habit-get-priority'.
1338         * org-habit.el (org-habit-build-graph): Start displaying colors
1339         from the first scheduled date, if that date is earlier than the
1340         first completion date.
1342         * org-habit.el: Changed all "color" variables to faces, and made
1343         them appropriate for light and dark backgrounds.
1345         * org-habit.el (org-habit-duration-to-days): Made this function
1346         more general.
1347         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
1349         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
1350         habits, since they don't use DEADLINE anymore.
1352         * org.el (org-repeat-re, org-display-custom-time)
1353         (org-timestamp-change): Extended to support the new ".+N/N"
1354         syntax, used for habits.
1356         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
1357         variable reference.
1359         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
1360         modeline when habits are being displayed (if that module is being
1361         loaded).
1363 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
1365         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
1366         idle time using the xscreensaver extension.
1367         (org-user-idle-seconds): Use X11 idle time if available.
1369 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
1371         * org-agenda.el (org-agenda-next-line): New command.
1372         (org-agenda-previous-line): New commands.
1373         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
1374         commands.
1375         (org-agenda-follow-mode): Do the follow immediately if the mode is
1376         turned on here.
1377         (previous-line, next-line): Replace keys with the corresponding
1378         org functions.
1379         (org-agenda-mode-map): Bind backspace and delete to the scrolling
1380         command.
1382         * org.el (org-icompleting-read): Turn off partial completion mode
1383         for the duration of this completion round.
1385         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
1386         macros in author lines and similar stuff.
1388         * org.el (org-file-tags): Fix docstring.
1389         (org-get-buffer-tags): Add the #+FILETAGS tags.
1390         ("ecb"): Maks ecb show context after jumping into an Org file.
1392 2009-10-20  John Wiegley  <johnw@newartisans.com>
1394         * org-agenda.el (org-finalize-agenda): Draw habit consistency
1395         graphs after everything else in the buffer has been setup.
1397 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
1399         * org-mobile.el (org-mobile-apply): Count success and failure.
1401         * org.el (org-indent-line-function): Fix regexp replace problem.
1403 2009-10-19  John Wiegley  <johnw@newartisans.com>
1405         * org-clock.el (org-clock-disable-clock-resolution): New
1406         customization variable that disable automatic clock resolution on
1407         clock in.
1408         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
1409         not automatically resolve anything.  This is does not affect
1410         idle-time resolution, however, if `org-clock-idle-time' is set.
1412 2009-10-19  John Wiegley  <johnw@newartisans.com>
1414         * org-habit.el: New file, which implements code to build a "habit
1415         consistency graph".
1417         * org-agenda.el (org-agenda-get-deadlines)
1418         (org-agenda-get-scheduled): Display consistency graphs when
1419         outputting habits into the agenda.  The graphs are always relative
1420         to the current time.
1421         (org-format-agenda-item): Added new parameter `habitp', which
1422         indicates whether we are formatting a habit or not.  Do not
1423         display "extra" leading information if habitp is true.
1425         * org.el (org-repeat-re): Improved regexp to include .+ and ++
1426         leaders for repeat strings.
1427         (org-get-repeat): Now takes a string parameter `tagline', so the
1428         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
1430 2009-10-19  John Wiegley  <johnw@newartisans.com>
1432         * org-agenda.el (org-agenda-auto-exclude-function): New
1433         customization variable for allowing the user to create an "auto
1434         exclusion" filter for doing context-aware auto tag filtering.
1435         (org-agenda-filter-by-tag): Changes to support the use of
1436         `org-agenda-auto-exclude-function'.  See the new manual addition,.
1438 2009-10-18  John Wiegley  <johnw@newartisans.com>
1440         * org.el (org-files-list): Don't attempt to return a file name for
1441         Org buffers which have no associated file.
1443         * org-agenda.el (org-agenda-do-action): Fixed a typo.
1445 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
1447         * org-mobile.el (org-mobile-locate-entry): Interpret files
1448         relative to org-directory.
1449         (org-mobile-inbox-for-pull): Document the best location for this
1450         file.
1451         (org-mobile-check-setup): Verify `org-directory'.
1452         (org-mobile-create-index-file): Sort the files to be listed in
1453         index.org.
1455 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
1457         * org.el (org-fast-tag-selection): Add a way to display a
1458         description for a tag group. This is done by adding a string to
1459         either the startgroup or endgroup cell.
1461 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1463         * org-clock.el (org-clock-resolve, org-resolve-clocks)
1464         (org-emacs-idle-seconds): Use `org-float-time' instead of
1465         `time-to-seconds'
1467 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
1469         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
1470         type.
1472         * org.el (org-pre-cycle-hook): Document that `empty' can also be
1473         the value of ARG when doing local cycling.
1475 2009-10-17  John Wiegley  <johnw@newartisans.com>
1477         * org-clock.el (org-clock-resolve-clock): If keeping or
1478         subtracting time results in a clock out at a time in the past, and
1479         if the resolution occurred due to idleness or invoking `M-x
1480         org-resolve-clocks', remember that past moment in time.  On the
1481         next clock in, the user will be prompted to see if they want to
1482         back-date their new clock to then.
1483         (org-clock-resolve): Do not jump the user to the location of a
1484         dangling clock if the resolution is occuring due to an idle
1485         timeout.  In that case there is typically only one dangling clock,
1486         the active one, and there is no value gained by shuffling their
1487         windows around to show it to them.  Being prompted to resolve an
1488         idle clock should be as inobtrusive as possible.
1489         (org-resolve-clocks-if-idle): New function that resolves only the
1490         currently active clock if the user has exceeded the time returned
1491         by `org-user-idle-seconds', based on the value of
1492         `org-clock-idle-time'.
1493         (org-clock-in): If, after resolving clocks,
1494         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
1496         * org-clock.el (org-clock-resolve-clock): New function that
1497         resolves a clock to a specific time, closing or resuming as need
1498         be, and possibly even starting a new clock.
1499         (org-clock-resolve): New function used by `org-resolve-clocks'
1500         that sets up for the call to `org-clock-resolve-clock'.  It
1501         determines the time to resolve to based on a single-character
1502         selection from the user to either keep time, subtract away time or
1503         cancel the clock.
1504         (org-resolve-clocks): New user command which resolves dangling
1505         clocks -- that is, open but not active -- anywhere in the file
1506         list returned by `org-files-list'.
1507         (org-clock-in): Automatically resolve dangling clocks whenever a
1508         user clocks in.
1509         (org-clock-cancel): If the user cancels the solely clock in a
1510         LOGBOOK, remove the empty drawer.
1512         * org-clock.el (org-clock-idle-time): New user customizable option
1513         for detecting whether the user has left a clock idle.  Note: it is
1514         only used in this commit to test whether it's worthwhile to check
1515         OS X to get the Mac user's current idle time.  If the Emacs idle
1516         time is less than the value, the user hasn't been away long enough
1517         to be worth checking (a more expensive test than just getting
1518         Emacs idle time).
1519         (org-user-idle-seconds, org-mac-idle-seconds)
1520         (org-emacs-idle-seconds): This three functions, in conjunction
1521         with the user customization variable `org-clock-idle-time', return
1522         the number of seconds (as a floating point) that the user has been
1523         away from their Emacs (or, if running on OS X, their computer).
1525         * org-clock.el (org-find-open-clocks): New function that returns a
1526         list of all open clocks in the given FILE.  Note that each clock
1527         it returns is a cons cell of the format (MARKER . START-TIME).
1528         This "clock" value is used by several of the new clock module
1529         utility functions.
1530         (org-is-active-clock): New inline function which tests whether the
1531         given clock value is the same as the currently active clock.
1532         Returns non-nil if this is the case.
1533         (org-with-clock-position): New macro that evaluates FORMS with
1534         point in the buffer and at the position of the given clock.
1535         Changes to the current clock are global.
1536         (org-with-clock): New macro that evaluates FORMS with point in the
1537         buffer and at the position of the given clock.  However, changes
1538         to the current clock are local and have no effect on the user's
1539         active clock.  This allows, for example, far any clock to be
1540         cancelled without cancelling the active clock.
1541         (org-clock-clock-in): New inline function that switches the active
1542         clock to the given clock.  If either the argument RESUME, or the
1543         global `org-clock-in-resume', are non-nil, it will resume a clock
1544         that was previously left open.
1545         (org-clock-clock-out): New inline function that clocks out the
1546         given clock value without affecting the currently active clock.
1547         (org-clock-clock-cancel): New inline function that cancels the
1548         given clock value without affecting the currently active clock.
1550         * org-clock.el (org-clock-in): Before creating
1551         `org-clock-mode-line-timer', check to make sure an older timer is
1552         not currently running.
1553         (org-clock-out): Accept new third parameter `at-time', which
1554         permits a clock to be clocked out at a specific time.  Note that
1555         no attempt is made to verify that the clock out time is later than
1556         the clock in time.
1558         * org.el (org-files-list): New utility function for returning a
1559         list of all open org-mode buffers, plus all files used to build
1560         the agenda buffer.  Note that not all the files will necessarily
1561         be visited by a buffer at time of call.
1562         (org-entry-beginning-position): Like the function
1563         `line-beginning-position', this inline function returns the
1564         beginning position of the current heading/entry.
1565         (org-entry-end-position): Like the function `line-end-position',
1566         this inline function returns the end position of the current
1567         heading/entry.
1569 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
1571         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
1572         a header line.
1574 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
1576         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
1578 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
1580         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
1581         entries that have no tags.
1582         (org-agenda-search-view): New customize group.
1583         (org-agenda-search-view-search-words-only): New option.
1584         (org-search-view): Implement substring search.
1586 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
1588         * org.el (org-outline-level): Add doc string.
1590 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
1592         * org-inlinetask.el (org-inlinetask-export): Re-introduce
1593         variable.
1594         (org-inlinetask-export-handler): Only export inline task if the
1595         user option calls for it.
1597 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
1599         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1600         END if present.
1602 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
1604         * org-latex.el (org-export-latex-tables): Don't format in
1605         protected regions.
1607 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
1609         * org-src.el (org-edit-src-code)
1610         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1611         macro editing.
1613         * org-agenda.el (org-prefix-category-max-length): New variable.
1614         (org-format-agenda-item): Use `org-prefix-category-max-length'.
1615         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1617 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
1619         * org-mobile.el (org-mobile-create-index-file): Improve the
1620         listing of tags and todo keywords.
1622         * org-latex.el (org-export-latex-format-image): New function.
1623         (org-export-latex-links): Use `org-export-latex-format-image'.
1625 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
1627         * org-inlinetask.el (org-inlinetask-get-current-indentation)
1628         (org-inlinetask-remove-terminator): New functions.
1629         (org-inlinetask-export-handler): Terminate the description list.
1631         * org-exp.el (org-export-select-backend-specific-text): Remove the
1632         region markers.
1634         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1635         tasks without content.
1637         * org-clock.el: Make sure the clock-in target position does not
1638         move to a different node by widening the buffer.
1640         * org-html.el (org-export-html-format-image): Wrap image into
1641         figure div only when there is a caption.
1643         * org-archive.el (org-archive-mark-done): Change default value to
1644         nil.
1646 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1648         * org.el (org-context): Call `bobp', not `eobp'.
1650         * org-clock.el (org-clock-cancel): Remove quotes from marker
1651         variables.
1653         * org.el (org-read-date-prefer-future): New allowed value `time'.
1654         (org-read-date-analyze): Shift day to tomorrow depending on time
1655         entered and value of `org-read-date-prefer-future'.
1657 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
1659         * org.el (org-set-tags-to): New command.
1661         * org-mobile.el (org-mobile-action-alist): Add more options and
1662         update the docstring.
1663         (org-mobile-apply-flags): Parse for and use the data.
1665         * org-latex.el (org-export-latex-set-initial-vars): Also check in
1666         the plist.
1668         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1669         keyword.
1671         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1673 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
1675         * org-inlinetask.el (org-inlinetask-export): Option removed.
1676         (org-inlinetask-export-handler): Better export.
1678         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1679         (org-export-as-xoxo): Run the new hook.
1681         * org-html.el (org-export-html-final-hook): New hook.
1682         (org-export-as-html): Run the new hook.
1684         * org-docbook.el (org-export-docbook-final-hook): New hook.
1685         (org-export-as-docbook): Run the new hook.
1687         * org-ascii.el (org-export-ascii-final-hook): New hook.
1688         (org-export-as-ascii): Run the new hook.
1690         * org-mobile.el (org-mobile-create-sumo-agenda): Call
1691         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1693         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1694         space character as the character before the ^/_.
1695         (org-export-latex-final-hook): New hook.
1696         (org-export-as-latex): Run `org-export-latex-final-hook'.
1698 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
1700         * org-macs.el (org-if-unprotected-at): Fix docstring.
1702         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1703         text in the prefix (if category is a link).
1705         * org-latex.el (org-export-latex-preprocess): Deal properly with
1706         empty lines in verse environments.
1708         * org.el (org-format-latex-header): Inline fullpage.sty.
1710         * org-footnote.el (org-footnote-create-definition): Reveal context
1711         to add a new footnote definition.
1713         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1714         the index file.
1715         (org-mobile-files): New option.
1716         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1717         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1718         functions.
1719         (org-mobile-push): Start by creating the files lists.
1720         (org-mobile-copy-agenda-files): Move killing the buffer to after
1721         the save-excursion has exited.
1722         (org-mobile-write-checksums): Write checksums also for files in
1723         sub-directories.
1725         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1726         org-table-recalculate when cursor is in TBLFM line.
1728         * org-list.el (org-renumber-ordered-list): Fix cursor position
1729         when bullet length has changed.
1731 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
1733         * org.el (org-format-latex): Mention `org-format-latex-options' in
1734         the docstring.
1736 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1738         * org.el (org-agenda-get): New function.
1740         * org-agenda.el (org-agenda-post-command-hook): No longer move
1741         point away from end of line.
1742         (org-agenda-add-entry-text, org-agenda-collect-markers)
1743         (org-finalize-agenda, org-agenda-mark-clocking-task)
1744         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1745         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1746         (org-agenda-compare-effort, org-agenda-filter-apply)
1747         (org-agenda-later, org-agenda-change-time-span)
1748         (org-agenda-post-command-hook, org-agenda-show-priority)
1749         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1750         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1751         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1752         (org-agenda-open-link, org-agenda-copy-local-variable)
1753         (org-agenda-switch-to, org-agenda-check-no-diary)
1754         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1755         (org-agenda-add-note, org-agenda-change-all-lines)
1756         (org-agenda-priority, org-agenda-set-tags)
1757         (org-agenda-set-property, org-agenda-set-effort)
1758         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1759         (org-agenda-show-new-time, org-agenda-date-prompt)
1760         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1761         (org-agenda-clock-in, org-agenda-bulk-mark)
1762         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1763         `org-get-at-bol'.
1765         * org-colview.el (org-columns-display-here)
1766         (org-columns-edit-allowed, org-agenda-columns): Use
1767         `org-get-at-bol'.
1769 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
1771         * org.el (org-special-ctrl-a/e): Improve documentation and
1772         customize type.
1773         (org-end-of-line): Don't jump to after the ellipsis.
1774         (org-mode-map): Bind <home> and <end> as well.
1776 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
1778         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1779         space after #+ as comments.
1780         (org-open-at-point): Run `org-follow-link-hook' always.
1782         * org-latex.el (org-export-latex-emph-format): Use better commands
1783         to insert special characters in verbatim snippets.
1785 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
1787         * org-faces.el (org-copy-face): New function.  Use it to create
1788         various faces formerly created by using `copy-face'.
1790         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1791         window dedicated.
1792         (org-agenda-quit): Kill the frame containing the agenda window if
1793         that frame was created for the agenda.
1795 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
1797         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1798         stamp in the agenda.
1800 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
1802         * org-mobile.el (org-mobile-create-index-file): Add the list of
1803         TODO keywords, and the list of drawers to the index file.
1805         * org-agenda.el (org-prepare-agenda): Reset
1806         `org-drawers-for-agenda'.
1807         (org-prepare-agenda): Uniquify list of drawers.
1809         * org.el (org-complex-heading-regexp-format): New variable.
1810         (org-set-regexps-and-options): Define
1811         `org-complex-heading-regexp-format'.
1812         (org-drawers-for-agenda): New variable.
1813         (org-map-entries): Bind `org-drawers-for-agenda'.
1814         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1816         * org-remember.el (org-go-to-remember-target)
1817         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1819 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1821         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1822         problem.
1824         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1825         the capture file, and make it non-configurable.
1827         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1828         always with `invisible-ok'.
1829         (org-store-link): No error when there is nothing to link to in the
1830         agenda.
1832         * org-list.el (org-update-checkbox-count): Insert changed cookie
1833         before the old, to avoid problems with invisibility at the end of
1834         the line.
1835         (org-update-checkbox-count): Insert changed cookie before the old,
1836         to avoid problems with invisibility at the end of the line.
1838         * org.el (org-sort-entries-or-items): Include the final newline.
1839         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1840         lines for fontification.
1841         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1842         (org-prepare-dblock): Store the current indentation of the BEGIN
1843         line.
1844         (org-update-dblock): Apply the indentation of the begin line to
1845         the rest of the block.
1846         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1847         (org-startup-folded): New allowed value `showeverything'.
1848         (org-startup-options): Add STARTUP keyword `showeverything'.
1849         (org-set-startup-visibility): Respect value `showeverything' in
1850         org-startup-folded.
1852 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1854         * org.el (org-closest-date): Fix issue with past preference.
1856         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1858         * org-archive.el (org-archive-set-tag)
1859         (org-archive-subtree-default): New commands.
1861         * org-mobile.el (org-mobile-create-index-file): Fix link to
1862         capture file.
1863         (org-mobile-copy-agenda-files): Create the capture file if it does
1864         not exist.
1866         * org-clock.el (org-clock-clocktable-default-properties): New
1867         option.
1868         (org-clock-report): Use
1869         `org-clock-clocktable-default-properties'.
1871 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1873         * org.el (org-iswitchb-completing-read): Fix typo.
1875         * org-crypt.el: New file.
1877         * org.el: Add an entry for org-crypt.
1879 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1881         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1882         consistency.
1883         (org-batch-store-agenda-views): New function.
1884         (org-mobile-force-id-on-agenda-items): Mention variable.
1885         (org-agenda-title-append): Define variable.
1886         (org-write-agenda): New export to Org files.
1887         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1888         (org-agenda): Allow to keep the restricted file list if a special
1889         variable is bound to t.
1890         (org-agenda): Define a special agenda view for working on flagged
1891         entries.
1892         (org-agenda-get-restriction-and-command): List the new agenda
1893         view.
1894         (org-agenda-show-the-flagging-note): New command.
1895         (org-agenda-mode-map): New key `?' for looking at the flagging
1896         note.
1898         * org.el (org-autoload): Autoload org-mobile.el.
1899         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1901         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1903 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1905         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1906         statements.
1907         (org-table-get-remote-range): Match indented #+TBLNAME
1908         statements.
1910         * org.el (org-convert-to-odd-levels)
1911         (org-convert-to-oddeven-levels): Work also correctly if the file
1912         is in outline-mode.
1914 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1916         * org.el (org-store-link): When in agenda buffer, link to
1917         referenced entry.
1918         (org-add-planning-info): Remove spaces at eol.
1920         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1921         property.
1923 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1925         * org-latex.el (org-export-latex-first-lines): Fix problem with
1926         LaTeX export of first line and selected subtree.
1928         * org.el (org-shifttab): Interpret arg differently when using only
1929         odd levels.
1931 2009-09-09  Bastien Guerry  <bzg@altern.org>
1933         * org.el (org-check-agenda-file): Use a more explicit message
1935 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1937         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1938         normal lines.
1940 2009-09-08  Bastien Guerry  <bzg@altern.org>
1942         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1943         prompt in the temporary window.
1945         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1946         prefix for marked entries in the agenda view.
1948 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1950         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1951         a way that prevents any trailing character from being displayed.
1953 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1955         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1956         menu.
1958         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1959         slow regexp match.
1961 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1963         * org-latex.el (org-export-latex-preprocess): Do not protect in
1964         the LaTeX header.
1966         * org-src.el (org-edit-src-save): Save window setup while saving.
1967         (org-edit-src-code): Use new buffer name construction scheme.
1969 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1971         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1972         variable.
1973         (org-agenda-entry-text-cleanup-hook): New hook.
1974         (org-agenda-get-some-entry-text): Remove matches of
1975         `org-agenda-entry-text-exclude-regexps' and run the hook
1976         `org-agenda-entry-text-cleanup-hook'.
1978         * org.el (org-offer-links-in-entry): New argument ZERO to
1979         implement a link with index zero.
1980         (org-cycle-show-empty-lines): Not keep empty line under header
1981         hidden.
1982         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1983         to nil for special completion.
1984         (org-store-link): Don't error before the first heading.
1986         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1987         `org-offer-links-in-entry'.
1989 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1991         * org-agenda.el (org-agenda-quit): Provide the window argument for
1992         `window-dedicated-p', Emacs 22 needs it.
1993         (org-format-agenda-item): If the category is a link, arrange for
1994         invisible text to replaced with spaces.
1995         (org-compile-prefix-format): Add the extra space.
1996         (org-prefix-category-length): New variable.
1998         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1999         references from TOC lines.
2001         * org.el (org-selected-window): New variable.
2003         * org-table.el (org-table-edit-formulas): Remember the selected
2004         window.
2005         (org-table-fedit-finish, org-table-fedit-abort): Select the window
2006         that was originally selected.
2008         * org-exp.el (org-export-preprocess-apply-macros): Scan the
2009         expansion of a macro for more macro definitions.
2011         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
2012         invisibility overlay starts on the newline.
2014 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
2016         * org-protocol.el (org-protocol-store-link)
2017         (org-protocol-remember, org-protocol-open-source): Add autoloads.
2019         * org-compat.el (org-float-time): New function.
2021         * org.el (org-clock-update-time-maybe)
2022         (org-sort-entries-or-items, org-do-sort)
2023         (org-evaluate-time-range, org-time-string-to-seconds)
2024         (org-closed-in-range): Use `org-float-time'.
2026         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
2027         (org-timer-seconds):  Use `org-float-time'.
2029         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
2030         (org-clock-sum, org-dblock-write:clocktable)
2031         (org-clocktable-steps):  Use `org-float-time'.
2033         * org-agenda.el (org-agenda-last-marker-time)
2034         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
2036         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
2037         function.
2039         * org-exp.el (org-get-file-contents): Only protect lines that
2040         really need it.
2042         * org-html.el (require): Require cl for compilation.
2044         * org.el:  Avoid using `default-major-mode'.
2046         * org-plot.el (require): Require CL only at compile time.
2048         * org-exp.el (require): Require CL only at compile time.
2050         * org-agenda.el (org-agenda-quit): When the agenda window is
2051         dedicated, remove other windows before exiting, so that the frame
2052         really will be killed.
2054         * org-exp.el (org-export-handle-include-files): Reset START and
2055         END for each loop cycle.
2057 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
2059         * org.el (org-eval-in-calendar): Use
2060         `org-select-frame-set-input-focus'.
2062         * org-compat.el (org-select-frame-set-input-focus): New function.
2064         * org.el (org-update-statistics-cookies): New function.
2065         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
2067 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
2069         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
2070         after the local variables are set.
2072         * org-latex.el (org-export-latex-protect-amp): New function.
2073         (org-export-latex-links): Protect link ampersands in tables.
2075         * org-exp.el (org-export-select-backend-specific-text): Match in
2076         two steps, to avoid regexp problems.
2078         * org.el (org-offer-links-in-entry): Improve working with many and
2079         duplicate links.
2081         * org-agenda.el (org-agenda-show-1): Make more consistent with
2082         normal cycling.
2083         (org-agenda-cycle-show): Make more consistent with normal cycling.
2085         * org-gnus.el (org-gnus-store-link): Restore the linking to a
2086         website.
2088 2009-08-30  Bastien Guerry  <bzg@altern.org>
2090         * org-latex.el (org-export-latex-first-lines): Bugfix.
2092 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
2094         * org-clock.el (org-clock-modify-effort-estimate): Emit message
2095         about new effort.
2097         * org.el (org-set-effort): New function.
2098         (org-mode-map): New key for effort setting command.
2100         * org-agenda.el (org-agenda): Keep window setup when calling
2101         agenda from within agenda window.
2102         (org-agenda-mode-map): New keys for effort setting commands.
2103         (org-agenda-menu): Add effort setting commands to menu.
2104         (org-agenda-set-property, org-agenda-set-effort): New functions.
2106         * org-latex.el (org-export-latex-tables): Fix
2107         `org-table-last-alignment' and `org-table-last-column-widths' if
2108         the first column has been removed.
2110 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
2112         * org.el (org-remove-timestamp-with-keyword): Only remove in
2113         entry, not in subtree.
2115         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
2116         emacs lisp.
2118         * org.el (org-open-at-point): When on headline, offer all strings
2119         in entry.
2121         * org-remember.el (org-remember-templates): Documentation fix.
2123         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
2124         `org-get-last-sibling' instead of the outline versions of these
2125         functions.
2126         (org-get-last-sibling): New function.
2127         (org-refile): Use `org-get-next-sibling' instead of the outline
2128         version of this function.
2129         (org-clean-visibility-after-subtree-move): Use
2130         `org-get-next-sibling' and `org-get-last-sibling' instead of the
2131         outline versions of these functions.
2133 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
2135         * org-agenda.el (org-prepare-agenda): When creating a new frame
2136         for the agenda, make the window dedicated.
2138         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
2140         * org-table.el (org-table-align): Change the order of reinsertion
2141         and deletion, to avoid problems with overlays following the table.
2143         * org.el (org-parse-time-string): Better error message.
2144         (org-show-subtree): Use org-end-of-subtree.
2146         * org-macs.el (org-goto-line): New defsubst.
2148         * org.el (org-open-file, org-change-tag-in-region)
2149         (org-fast-tag-show-exit): Don't use `goto-line'.
2151         * org-table.el (org-table-align, org-table-insert-column)
2152         (org-table-delete-column, org-table-move-column)
2153         (org-table-sort-lines, org-table-copy-region)
2154         (org-table-paste-rectangle, org-table-wrap-region)
2155         (org-table-get-specials, org-table-rotate-recalc-marks)
2156         (org-table-get-range, org-table-recalculate)
2157         (org-table-edit-formulas, org-table-fedit-convert-buffer)
2158         (org-table-show-reference, org-table-highlight-rectangle): Don't
2159         use `goto-line'.
2161         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
2162         (org-edit-src-exit): Don't use `goto-line'.
2164         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
2166         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
2167         Don't use `goto-line'.
2169         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
2171         * org-colview.el (org-columns, org-columns-redo)
2172         (org-agenda-columns): Don't use `goto-line'.
2174         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
2175         use `goto-line'.
2177         * org-agenda.el (org-agenda-mode): Force visual line motion off.
2178         (org-agenda-add-entry-text-maxlines): Improve docstring.
2179         (org-agenda-start-with-entry-text-mode): New option.
2180         (org-agenda-entry-text-maxlines): New option.
2181         (org-agenda-entry-text-mode): New variable.
2182         (org-agenda-mode): Set initial value of
2183         `org-agenda-entry-text-mode'.
2184         (org-agenda-mode-map): Add the `E' key.
2185         (org-agenda-menu): Add entry text mode to the menu.
2186         (org-agenda-get-some-entry-text): Fix line count bug.
2187         (org-finalize-agenda): Apply entry text mode if appropriate.
2188         (org-agenda-entry-text-show-here): New function.
2189         (org-agenda-entry-text-show): New function.
2190         (org-agenda-entry-text-hide): New function.
2191         (org-agenda-view-mode-dispatch): Add entry text mode to the view
2192         key menu.
2193         (org-agenda-entry-text-mode): New command.
2194         (org-agenda-set-mode-name): Add entry text mode to the mode line
2195         string.
2196         (org-agenda-undo, org-agenda-get-restriction-and-command)
2197         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
2198         `goto-line'.
2200 2009-08-26  Bernt Hansen  <bernt@norang.ca>
2202         * org-clock.el (org-notify): Bugfix.
2204 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
2206         * org-agenda.el (org-agenda-open-link): Handle multiple links and
2207         check for after-string.
2209         * org-gnus.el (org-gnus-store-link): Simplify.
2211         * org.el (org-latex-regexps): Don't add extra empty lines for
2212         display formulas.
2214 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
2216         * org-agenda.el (org-agenda-get-some-entry-text): New function.
2217         (org-agenda-add-entry-text): Use
2218         `org-agenda-get-some-entry-text'.
2220         * org.el (org-cycle-separator-lines): Update docstring.
2221         (org-cycle-show-empty-lines): Handle negative values for
2222         `org-cycle-show-empty-lines'.
2224         * org-exp.el (org-export-protect-sub-super): New function.
2225         (org-export-normalize-links): Protect the url of plain links from
2226         supscript and superscript processing.
2228         * org-remember.el (org-remember-escaped-%): New function.
2229         (org-remember-apply-template): Use `org-remember-escaped-%' to
2230         detect escaped % signs.
2232 2009-08-23  Bastien Guerry  <bzg@altern.org>
2234         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
2235         sound when showing the notification.
2237         * org-clock.el (org-notify): New function.
2238         (org-clock-notify-once-if-expired): Use `org-notify'.
2240         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
2241         and `gnus-article-mode' separately.
2242         (gnus-summary-article-header): Fix the declare-function.
2244 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
2246         * org-exp.el (org-export-format-source-code-or-example): Translate
2247         language.
2249         * org-src.el (org-src-lang-modes): New variable
2250         (org-edit-src-code): Translate language.
2252         * org-exp.el (org-export-format-source-code-or-example): Deal wit
2253         the new structure of the `org-export-latex-listings-langs'
2254         variable.
2256         * org-latex.el (org-export-latex-listings-langs): Change structure
2257         of the variable from plist to alist.
2259 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
2261         * org.el (org-in-commented-line): New function.
2263 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
2265         * org.el (org-hide-block-toggle): Make folded blocks searchable.
2267 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
2269         * org.el (org-flag-drawer): More useful error.
2271 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
2273         * org-remember.el (org-remember-apply-template): Use
2274         org-icompleting-read.
2276         * org-publish.el (org-publish): Use org-icompleting-read.
2278         * org-colview.el (org-columns-edit-value, org-columns-new)
2279         (org-insert-columns-dblock): Use org-icompleting-read.
2281         * org-colview-xemacs.el (org-columns-edit-value)
2282         (org-columns-new, org-insert-columns-dblock): Use
2283         org-icompleting-read.
2285         * org-attach.el (org-attach-delete-one, org-attach-open): Use
2286         org-icompleting-read.
2288 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
2290         * org.el (org-hierarchical-todo-statistics): Improve docstring.
2291         (org-version): Return the version text.
2292         (org-org-menu): Add a menu entry for the new bug reporter.
2293         (org-submit-bug-report): New command.
2295         * org-list.el (org-hierarchical-checkbox-statistics): Improve
2296         docstring.
2298         * org.el (org-emphasis-regexp-components): Add "`" to set of
2299         pre-emphasis characters.
2301         * org-latex.el (org-export-latex-classes): Always include the soul
2302         package.
2303         (org-export-latex-emphasis-alist): Use \st for strikethough.
2305         * org-exp-blocks.el (org-export-blocks-preprocess): Use
2306         `indent-code-rigidly' to indent.
2308         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
2309         properties only if MATCH really is a string.
2311 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
2313         * org-latex.el (org-export-latex-packages-alist): Fix
2314         customization type.
2316         * org.el (org-create-formula-image): Also use
2317         `org-export-latex-packages-alist'.
2319         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
2320         (org-export-as-html): Format footnotes correctly.
2322 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
2324         * org.el (org-fast-tag-selection): Avoid text properties on tags
2325         in the alist.
2327         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
2328         text properties on the match element.
2330 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
2332         * org.el (org-set-regexps-and-options): Make sure the list of done
2333         keywords is not invalid.
2335         * org-exp.el (org-export-interpolate-newlines): New function.
2337 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
2339         * org.el (org-format-latex): Avoid nested overlays.
2341         * org-latex.el (org-export-latex-listings-langs): Add a few more
2342         languages.
2344         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
2345         ignore newlines and space before the first macro argument.
2347         * org-latex.el (org-export-latex-tables): Remove save-excursion
2348         around `org-table-align'.
2350 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
2352         * org.el (org-export-html-special-string-regexps): Definition
2353         moved into org.el
2355         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
2356         in macro calls.
2358 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
2360         * org-latex.el (org-export-latex-listings)
2361         (org-export-latex-listings-langs): New options.
2363         * org-exp.el (org-export-format-source-code-or-example): Use
2364         listing package if requested by the user.
2366 2009-08-08  Bastien Guerry  <bzg@altern.org>
2368         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
2369         command before actually switching to a buffer.
2371 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
2373         * org-exp.el (org-get-file-contents): Only quote org lines when
2374         the markup is src or example.
2376         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2377         New option
2378         (org-agenda-get-day-entries): Remember deadline results and pass
2379         them on into the function getting the scheduling information.
2380         (org-agenda-get-scheduled): Accept deadline results as parameters
2381         and maybe skip some entries.
2382         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
2384         * org.el (org-insert-heading): When respecting content, do not
2385         convert current line to headline.
2387         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
2388         cheeeeeck the hd marker
2389         (org-clock-in): Also set the hd marker.
2390         (org-clock-out): Also set the hd marker.
2391         (org-clock-cancel): Reset markers.
2393         * org.el (org-clock-hd-marker): New marker.
2395         * org-faces.el (org-agenda-clocking): New face.
2397         * org-agenda.el (org-agenda-mark-clocking-task): New function.
2398         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
2400         * org.el (org-modules): Add org-track.el.
2402         * org-agenda.el (org-agenda-bulk-marked-p): New function.
2403         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
2404         `org-agenda-bulk-marked-p'.
2405         (org-agenda-bulk-toggle): New command.
2407 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2409         * org.el (org-move-subtree-down): Hide subtree if it was folded,
2410         not just the body.
2412         * org-remember.el (org-remember-finalize): Avoid buffer-modified
2413         messages.
2415 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2417         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
2418         before gnuplot can read it.
2420 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
2422         * org-latex.el (org-export-latex-first-lines): Fix bug with
2423         finding the end of the first lines.
2425         * org.el (org-create-formula-image): Remove the -E option for
2426         dvipng.
2428         * org-exp.el (org-default-export-plist): Respect #+BIND.
2429         (org-export-confirm-letbind): New function.
2431         * org.el (org-paste-subtree): Test the kill ring entry if it is
2432         going to be used.
2433         (org-copy-subtree): Use `org-forward-same-level'.
2434         (org-forward-same-level): Respect the `invisibe-ok' arg for
2435         back-to-heading.
2437 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
2439         * org.el (org-table-map-tables): Make sure cursor is back at table
2440         beginning after funcall.
2442         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
2443         handled before children, and do not error if an entry is not
2444         found, probably because it hase been remove when the parent was
2445         archived or refiled.
2447         * org.el (org-ido-completing-read): Accept straight lists for
2448         completion as well as alists.
2450         * org-html.el (org-export-as-html): Fix parenthesis error in
2451         footnore code.
2453         * org-timer.el (org-timer-cancel-timers): Renamed from
2454         `org-timer-cancel-timers'.
2456         * org.el (org-cycle-internal-local): Fix problem with finding next
2457         invisible line.
2459 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
2461         * org-list.el (org-list-send-list): Call
2462         `org-list-goto-true-beginning' instead of
2463         `org-list-find-true-beginning', which does not exist.
2465         * org-timer.el (org-timer-reset-timers): Use `mapc'.
2466         (org-timer-set-timer): Do not assign to heading.
2468         * org-id.el (org-id-open): Quote function name.
2470         * org-macs.el (org-unmodified): Turn off recording undo
2471         information while running inside the macro.
2473         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
2474         variable.
2475         (org-indent-mode): Remember and restore value of
2476         org-hide-leading-stars before `org-indent-mode'.
2478         * org-table.el (org-table-export): Also work in file-less
2479         buffers.
2481         * org.el (org-startup-indented): New option.
2482         (org-startup-options): Add new options indent and noindent.
2483         (org-unfontify-region): Remove line-prefix and wrap-prefix
2484         properties.
2485         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
2486         hooks.
2487         (org-promote, org-demote): Run the new hooks.
2489         * org-table.el (org-table-align): Replace leading \n as well.
2491         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
2492         and `line-wrap' text properties.
2494         * org-compat.el (org-kill-new): New function.
2496         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
2497         `line-wrap' text properties.
2499         * org-indent.el: New file.
2501 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
2503         * org.el (org-provide-todo-statistics): Tweak docstring.
2505         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
2507 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
2509         * org-exp.el (org-export-as-org): Insert the "-source" string
2510         before the extension.
2512         * org.el (org-read-date): Make sure the calendar is in the current
2513         frame.
2514         (org-set-emph-re): Remove the ? from the post-match.
2515         (org-emphasis-regexp-components): Add backslash to the
2516         postmatch class.
2517         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
2518         optional so that also lines at the end of the buffers will still
2519         be matched as headlines.
2521         * org-table.el (org-table-error-on-row-ref-crossing-hline):
2522         Variable made obsolete.
2523         (org-table-relative-ref-may-cross-hline): New option.
2524         (org-table-find-row-type): Honow the new option
2525         `org-table-relative-ref-may-cross-hline'.
2527 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
2529         * org-table.el (org-table-cut-region, org-table-copy-region): Work
2530         on single field if no active region.
2532 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
2534         * org-latex.el (org-export-latex-make-header): Only insert title
2535         if one is defined.
2537         * org.el (org-make-options-regexp): Allow empty values.
2539         * org-html.el (org-export-as-html): Move hrule detection to after
2540         plain list handling.
2542 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
2544         * org-html.el (org-format-org-table-html): Fix colgroup tags.
2546 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
2548         * org.el (org-cycle-internal-local): Improved version of finding
2549         next visible line.
2550         (org-cycle-hide-drawers): Only hide drawers if this is really
2551         necessary.
2552         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
2553         org-version of this function in Org-mode.  We use advice to
2554         implement this change, so that future changes to this function in
2555         outline.el wil be handled properly.
2556         (org-forward-same-level, org-backward-same-level): New commands.
2558 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
2560         * org.el (org-remove-empty-overlays-at)
2561         (org-clean-visibility-after-subtree-move): New functons.
2562         (org-move-subtree-down): Simplify cleanup of display.
2564 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
2566         * org-mac-message.el (org-mac-message-get-links): Improve
2567         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
2568         "s".  Fix the return value.
2569         (org-mac-message-insert-flagged): Simplify.
2571         * org.el (org-refile-get-location): Tamper with refile history o
2572         that history contains compete matches instead of the entered
2573         string.
2575 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
2577         * org.el (org-store-link): Never store a link to an inline task.
2579         * org-inlinetask.el (org-inlinetask-insert-task): New command.
2581         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
2582         inline tasks when positioning footnotes.
2584         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
2585         function.
2587         * org.el (org-refile): Remove the END line when archiving an
2588         inline task that does have an END line.
2590         * org-archive.el (org-archive-subtree): Remove the END line when
2591         archiving an inline task that does have an END line.
2593         * org-macs.el (org-with-limited-levels): New macro.
2594         (org-get-limited-outline-regexp): New function.
2596         * org-exp.el (org-export-format-source-code-or-example): Fix bug
2597         that did not enumerate first line.
2598         (org-export-mark-radio-links): Skip matches in links.
2600 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
2602         * org.el (org-activate-plain-links): Make single-match.
2603         (org-adapt-indentation): Fix docstring.
2605         * org-macs.el (org-unmodified): Turn of modification hooks while
2606         running this macro.
2608 2009-08-02  Bastien Guerry  <bzg@altern.org>
2610         * org.el (org-adapt-indentation): Slightly improve the docstring.
2611         (org-occur): Sends an error when the user inputs an empty string.
2612         (org-priority): Bugfix: the tag alignement should happen within
2613         save-excursion.
2615 2009-07-31  Bastien Guerry  <bzg@altern.org>
2617         * org.el (org-make-link-regexps): Don't exclude parentheses from
2618         `org-plain-link-re'
2619         (org-cycle-internal-local): When locally cycling, switch directly
2620         from CHILDREN to FOLDED if there is no subtree
2621         (org-cycle): Update the docstring to document the new behavior of
2622         `org-cycle-internal-local'.
2624 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
2626         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2627         an abbreviated format for days.
2629 2009-07-27  Bastien Guerry  <bzg@altern.org>
2631         * org-protocol.el (org-protocol-default-template-key): New
2632         option.
2634         * org.el (org-refile): Bugfix: save-excursion before reading the
2635         refile target, otherwise cursor moves might confuse `org-refile'.
2637         * org-html.el (org-export-as-html): Bugfix: correctly convert the
2638         footnote reference before the footnote itself.
2640         * org.el (org-toggle-heading): Bugfix: correctly convert list
2641         items before the first headline.
2643         * org-html.el (org-export-html-footnote-format): New option for
2644         formatting the footnote reference.
2645         (org-export-as-html): Use the new option.
2647         * org.el (org-provide-todo-statistics): Allow a list of TODO
2648         keywords to compute statistics against headlines containing a
2649         keyword from this list.
2650         (org-update-parent-todo-statistics): Possibly use the new allowed
2651         value of `org-provide-todo-statistics'.
2653 2009-07-26  Bastien Guerry  <bzg@altern.org>
2655         * org-timer.el: Add autoload cookie.
2657         * org.el (org-occur-link-in-agenda-files): New function.
2659         * org-timer.el (org-timer-last-timer): New variable.
2661         * org-agenda.el (org-agenda-mode-map): New key for
2662         org-timer-set-timer called from the agenda.
2664         * org.el (org-mode-map): New key for org-timer-set-timer.
2666         * org-timer.el (org-timer-reset-timers)
2667         (org-timer-show-remaining-time, org-timer-set-timer): New
2668         functions.
2670         * org-clock.el (org-show-notification): Update the docstring.
2672         * org.el (org-provide-todo-statistics): Allow new value
2673         'all-headlines for this option, which includes entries with no
2674         TODO keywords in the todo statistics.
2675         (org-update-parent-todo-statistics): Possibly use the new
2676         'all-headline value from `org-provide-todo-statistics'.
2678 2009-07-25  Bastien Guerry  <bzg@altern.org>
2680         * org-clock.el (org-dblock-write:clocktable): Add a new option
2681         :timestamp which allows display of timestamps in clock reports.
2683         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2684         list to a subtree, preserving the structure of the list.
2685         (org-set-emph-re): Make the last element optional in the regexp.
2686         This regexp now matches an emphasized string at the end of a line.
2688         * org-list.el (org-list-goto-true-beginning)
2689         (org-list-make-subtree, org-list-make-subtrees): New functions.
2691         * org.el (org-eval-in-calendar): Select the right frame.
2692         (org-save-frame-excursion): Remove this macro.
2694 2009-07-24  Bastien Guerry  <bzg@altern.org>
2696         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2697         trying to find the beginning of a list.
2699         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2700         When present, tell org-get-file-contents not to protect org-like
2701         lines.
2703         * org-id.el (org-id-uuid-program): New option to set the name of
2704         the uuidgen program.
2705         (org-id-method): Use `org-id-uuid-program'.
2706         (org-id-new): Use `org-id-uuid-program'.
2708 2009-07-23  Bastien Guerry  <bzg@altern.org>
2710         * org-exp.el (org-export-number-lines): Allow whitespace in code
2711         references.  Allow the -r switch to remove the references in the
2712         source code even when the lines are not numbered: the labels can
2713         be explicit enough.
2715         * org.el (org-fontify-whole-heading-line): New option.
2716         (org-set-font-lock-defaults): Use the new option.
2718         * org-clock.el (org-show-notification-handler): New option.
2719         (org-show-notification): Use the new option.
2721 2009-07-21  Bastien Guerry  <bzg@altern.org>
2723         * org.el (org-eval-in-calendar): Fix a bug about calendar
2724         navigation when `calendar-setup' value is 'calendar-only.
2726 2009-07-19  Bastien Guerry  <bzg@altern.org>
2728         * org.el (orgstruct++-mode): Fix typo in docstring.
2729         (org-insert-link): Clean up: (or (...)) => (...)
2730         (org-insert-link): Use TAB for stored links completion.
2732 2009-07-18  Bastien Guerry  <bzg@altern.org>
2734         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2735         building the list of targets.
2737         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2738         option.
2739         (org-remember-handler): Use the new option.
2741 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
2743         * org.el (org-tags-sort-function): New option for sorting tags.
2744         (org-set-tags): Use the new option to sort tags.
2746         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2747         premature deletion of the data when using org-plot in a script.
2749 2009-07-17  Bastien Guerry  <bzg@altern.org>
2751         * org-clock.el (org-clock-in-prepare-hook): New hook.
2752         (org-clock-in): Use this new hook.
2754 2009-07-16  Bastien Guerry  <bzg@altern.org>
2756         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2757         'reversed for this option to the "true line boundary first"
2758         behavior.
2759         (org-tags-match-list-sublevels): Document the 'indented value for
2760         this variable.
2762         * org-latex.el (org-export-latex-first-lines): Fix problem with
2763         publishing the region.
2765         * org-exp.el (org-export-format-source-code-or-example): Fix
2766         bad line numbering when exporting examples in HTML.
2768         * org-colview.el (org-format-time-period): Formats a time in
2769         fractional days as days, hours, mins, seconds.
2770         (org-columns-display-here): Add special handling for SINCE and
2771         SINCE_IA to format for display.
2773 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
2775         * org.el (org-tags-sort-function): Add custom declaration for tags
2776         sorting function.
2777         (org-set-tags): Sort tags if org-tags-sort-function is set
2779 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
2781         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2783         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2785         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2786         option.
2788 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
2790         * org-publish.el (org-publish-remove-all-timestamps): New function.
2791         (org-publish-all): Remove all timestamp files if `org-publish-all'
2792         is called with a prefix argument.
2794         * org-list.el (org-indent-item): Fix typo.
2795         (org-item-indent-positions): Normalize ordered bullet.
2797         * org-html.el (org-export-html-home/up-format): New option.
2798         (org-export-as-html): Insert the up and HOME links.
2800 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
2802         * org-html.el (org-export-as-html): Insert the title into the
2803         option plist.
2804         (org-export-html-insert-plist-item): New function.
2805         (org-export-as-html): Call `org-export-html-insert-plist-item'.
2807         * org-macs.el (org-set-local): Make a local variable, do not make
2808         the variable buffer-local!
2810         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2812         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2814         * org-docbook.el (org-export-as-docbook): Call
2815         `org-install-letbind'.
2817         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2819         * org-exp.el (org-infile-export-plist): Read BIND lines.
2820         (org-install-letbind): New function.
2821         (org-export-as-org, org-export-preprocess-string): Call
2822         `org-install-letbind'.
2824         * org-src.el (org-edit-src-exit): Untabify the example before
2825         returning to Org.
2827         * org-list.el (org-list-demote-modify-bullet): New option.
2828         (org-first-list-item-p): Save point.
2829         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2830         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2831         (org-item-indent-positions): Return bullet types along with
2832         indentation.
2834 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2836         * org.el (org-show-entry): Hide drawers.
2838 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2840         * org-footnote.el (org-footnote-auto-adjust): New option.
2841         (org-footnote-auto-adjust-maybe): New function.
2842         (org-footnote-new, org-footnote-delete): Call
2843         `org-footnote-auto-adjust-maybe'.
2845         * org.el (org-startup-options): Add new footnote-related
2846         keywords.
2848         * org-publish.el (org-publish-timestamp-filename): Additional
2849         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2850         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2851         TRUE-PUB-DIR.  Pass them through to
2852         `org-publish-timestamp-filename'.
2853         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2854         PUB-FUNC, which are included in the hash.
2855         (org-publish-file): Delay timestamp test until the publishing
2856         function is known.
2858 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2860         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2861         setting the deadline.
2863         * org.el (org-read-date-final-answer): New variable.
2864         (org-read-date): Store the final answer string, including the date
2865         from the calendar, for reuse by agenda bulk commands.
2867         * org-publish.el (org-publish-attachment): Fix publishing of
2868         attachments.
2870         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2871         quotation makrs in parenthesis.
2872         (org-remove-initial-hash): New function.
2873         (org-export-latex-preprocess): Fix bug with infinite loop if
2874         environment is not properly closed.
2876         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2877         when indented.
2879         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2880         highlight also when indented.
2882 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2884         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2885         (org-footnote-action): Offer renumbering.
2887         * org.el (org-cycle): Honor the `integrate' value of
2888         org-cycle-include-plain-lists'.
2890         * org-list.el (org-cycle-include-plain-lists): New allowed value
2891         `internal'.  Improve the docstring.
2893         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2894         regexp to work better with LaTeX commands.
2896 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2898         * org-feed.el (org-feed-update): fix problem with non-existing
2899         buffer.
2900         (org-feed-skip-http-headers): New function.
2901         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2902         (org-feed-get-feed): Fix command line arguments for curl.
2904 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2906         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2907         and eps extensions.
2909 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2911         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2912         loaded.
2914         * org.el (org-map-entries): No longer force
2915         `org-tags-match-list-sublevels' to t during a todo-only tags
2916         search.
2918 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2920         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2921         environment.
2922         (org-export-latex-subcontent): Handle user-defined environment.
2924         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2925         the View dispatcher.
2927         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2928         `make-overlay'.
2930         * org-latex.el (org-export-as-pdf): Protect match data during call
2931         to shell-quote-argument.
2933         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2934         (org-agenda-view-mode-dispatch): New function.
2936 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2938         * org-agenda.el (org-agenda-mode): Reset list of marks.
2939         (org-agenda-mode-map): Define new keys for refile and bulk action.
2940         (org-agenda-menu): Add menu itesm for refile and bulk action.
2941         (org-agenda-refile): New function.
2942         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2943         (org-agenda-marked-entries): New variable.
2944         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2945         (org-agenda-remove-all-bulk-action-marks)
2946         (org-agenda-bulk-action): New functions/commands.
2948 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2950         * org-exp.el (org-get-file-contents): Protect org-like lines in
2951         included files.
2952         (org-export-format-source-code-or-example): Remove newlines.
2954         * org-latex.el (org-export-latex-links): Check for no-description
2955         marking.
2957         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2958         argument separator back to comma.
2959         (org-export-normalize-links): Mark links without description.
2961 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2963         * org-exp.el (org-infile-export-plist): Fix bug in macro
2964         processing.
2966         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2967         out.
2968         (org-agenda-highlight-todo): Fix bug with highlighting.
2970 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2972         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2973         new alignment strings.
2975         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2976         command list.
2977         (org-table-align): Check for forced align type.
2979         * org.el (org-self-insert-command): Add yas/expand to command
2980         list.
2982         * org-clock.el (org-clock-in-hook): New hook.
2983         (org-clock-in): Run `org-clock-in-hook.
2984         (org-clock-out-hook): New hook.
2985         (org-clock-out): Run `org-clock-out-hook.
2986         (org-clock-cancel-hook): New hook.
2987         (org-clock-cancel): Run `org-clock-cancel-hook.
2988         (org-clock-goto-hook): New hook.
2989         (org-clock-goto): Run `org-clock-goto-hook.
2991 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2993         * org.el (org-store-link): Better default description for link to
2994         Org-mode headline.
2996         * org-exp.el (org-export-generic): Autoload the generic exporter
2997         function.
2998         (org-export): Implement the `g' key for the generic exporter.
3000 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
3002         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
3003         and for zbacktab'.
3005         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
3007         * org-exp.el (org-infile-export-plist): Get macros also from
3008         #+SETUPFILE.
3010 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
3012         * org-colview.el (org-columns-capture-view): Protect vertical bars
3013         in column values.
3014         (org-columns-capture-view): Exclude comment and archived trees.
3016         * org-colview-xemacs.el (org-columns-capture-view): Protect
3017         vertical bars in column values.
3018         (org-columns-capture-view): Exclude comment and archived trees.
3020         * org.el (org-quote-vert): New function.
3022         * org-latex.el (org-export-latex-verbatim-wrap): New option.
3024         * org-exp.el (org-export-format-source-code-or-example): Use
3025         `org-export-latex-verbatim-wrap'.
3027         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
3028         time stamps.
3030         * org-html.el (org-export-table-row-tags): New option.
3031         (org-format-org-table-html): Rename `nlines' to `nline', use new
3032         option.
3035 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
3037         * org-exp-blocks.el: Declare functions and variables.
3039         * org-remember.el (org-remember-templates): Allow the headline
3040         element to be a function.
3041         (org-remember-apply-template): If the headline is a function, call
3042         it to get the true function.
3044         * org-clock.el (org-clock-menu): New function.
3045         (org-clock-update-mode-line): Update help string.
3046         (org-clock-modify-effort-estimate): New function.
3047         (org-clock-mark-default-task): New function.
3049         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
3050         minutes as input.
3051         (org-org-menu): Add new clocking stuff.
3052         (org-clock-is-active): New function.
3054 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
3056         * org.el (org-open-non-existing-files): Improve docstring.
3058 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
3060         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
3061         option.
3062         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
3064         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
3066         * org-list.el (org-get-checkbox-statistics-face): Use the new
3067         faces.
3069         * org-faces.el (org-checkbox-statistics-todo)
3070         (org-checkbox-statistics-done): New faces.
3072 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
3074         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
3075         (org-edit-src-exit): Better cursor positioning when returning from
3076         editing.
3078         * org-latex.el (org-export-latex-use-verb): New variable.
3079         (org-export-latex-emph-format): Prefer \texttt over \verb when
3080         org-export-latex-use-verb is set.
3082 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
3084         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
3085         at normal indentation.
3087         * org-html.el (org-export-html-close-lists-maybe): Also look at
3088         normal indentation.
3090         * org-remember.el (org-remember-handler): Abort remember if the
3091         buffer is empty.
3093         * org-src.el (org-edit-src-content-indentation): New option.
3094         (org-edit-src-exit): Apply extra indentation.
3096         * org-exp.el (org-export-format-source-code-or-example): Run
3097         `org-src-mode-hook'.
3099         * org-src.el (org-src-mode-hook): New variable.
3100         (org-edit-src-code): Run `org-src-mode-hook'.
3102 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3104         * org.el (org-indent-line-function): Fix indentation of +#end lines.
3106         * org-src.el (org-edit-src-get-indentation): New function.
3107         (org-edit-src-code): Base indentation on the begin line.
3109 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
3111         * org-gnus.el (org-gnus-store-link): Require message.el in
3112         org-gnus-store-link.
3114 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
3116         * org-src.el: New file, split out of org.el
3118         * org-docbook.el (org-export-as-docbook): Better indentation
3119         treatment.
3121         * org-macs.el (org-replace-match-keep-properties): New function.
3123         * org-exp.el (org-export-mark-blockquote-verse-center): Better
3124         preprocessing of center and quote and verse blocks.
3126         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
3127         (org-export-as-docbook): Close lists when original indentation
3128         mandates it.
3130         * org-html.el (org-export-html-close-lists-maybe): New function.
3131         (org-export-as-html): Close lists when original indentation
3132         mandates it.
3134         * org-list.el (org-list-end): Respect the stored "original"
3135         indentation when determining the end of the list.
3137         * org-exp.el (org-export-replace-src-segments-and-examples):
3138         Remember indentation correctly.
3140 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
3142         * org-clock.el (org-clock-update-mode-line): Apply face
3143         org-mode-line-clock.
3145         * org-faces.el (org-mode-line-clock): New face.
3147 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
3149         * org-gnus.el (org-gnus-store-link): Fix bug where
3150         `org-gnus-store-link' used wrong subject when called in an article
3151         buffer.  Patch provided by fengli AT gmail DOT com.
3153 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
3155         * org-exp.el (org-export-format-source-code-or-example): Remember
3156         the original indentation of source code snippets and examples.
3158         * org-latex.el (org-export-as-latex): Relocate the table of
3159         contents.
3161         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
3163         * org-agenda.el (org-run-agenda-series): Scope global options also
3164         when creating the agenda buffer.
3166 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
3168         * org.el (org-adapt-indentation): Improve documentation.
3169         (org-insert-property-drawer): Respect org-adapt-indentation when
3170         inserting the drawer.
3171         (org-remove-flyspell-overlays-in): New function.
3172         (org-do-emphasis-faces, org-activate-plain-links)
3173         (org-activate-code, org-fontify-meta-lines-and-blocks)
3174         (org-activate-angle-links, org-activate-footnote-links)
3175         (org-activate-bracket-links, org-activate-dates)
3176         (org-activate-target-links, org-activate-tags): Remove flyspell
3177         overlays.
3179 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
3181         * org.el (org-edit-src-save): New function.
3183         * org-clock.el (org-clock-out-switch-to-state): New option.
3184         (org-clock-out): Honor `org-clock-out-switch-to-state'.
3186         * org-compat.el (org-compatible-face): Improve macro.
3188         * org.el (org-global-properties-fixed): Add default for
3189         CLOCK_MODELINE_TOTAL.
3191         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
3192         andd tend.
3193         (org-clock-sum-current-item): Optional argument TSTART, pass it to
3194         org-clock-sum.
3195         (org-clock-get-sum-start): New function.
3197         * org.el (org-startup-options): New keywords blockhide and
3198         blockshow.
3199         (org-mode): Add new invisibility spec.
3200         (org-set-startup-visibility): Hide block on startup if so
3201         desired.
3202         (org-hide-block-startup): New option.
3203         (org-block-regexp): New constant.
3204         (org-hide-block-overlays): New variable.
3205         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
3206         (org-show-block-all, org-hide-block-toggle-maybe)
3207         (org-hide-block-toggle): New functions.
3208         (org-edit-src-exit): Do not quote lines starting with # and no +
3209         behind it.
3210         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
3211         entry.
3213 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
3215         * org.el (org-buffer-property-keys): Add Effort property for
3216         completion.
3218 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
3220         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
3221         when retrieving total clocked time in the subtree.
3223         * org.el (org-quoting-blocks): New variable.
3225 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3227         * org-table.el (org-table-store-formulas)
3228         (org-table-get-stored-formulas, org-table-fix-formulas)
3229         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
3230         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
3232         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
3233         indented #+TBLFM line.
3235         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
3236         indented #+TBLFM line.
3238         * org-colview.el (org-dblock-write:columnview): Allow indented
3239         #+TBLFM line.
3241         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
3242         indented #+TBLFM line.
3244         * org-clock.el (org-dblock-write:clocktable): Allow indented
3245         #+TBLFM line.
3247 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
3249         * org-exp.el (org-export-format-source-code-or-example): Make
3250         editing indented blocks work correctly.
3252         * org.el (org-edit-src-nindent): New variable.
3253         (org-edit-src-code, org-edit-fixed-width-region)
3254         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
3255         editing indented blocks work correctly.
3257 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
3259         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
3260         indented blocks.
3261         (org-export-format-source-code-or-example): Fix indentation of
3262         blocks.
3263         (org-export-remove-indentation): New function.
3264         (org-export-select-backend-specific-text): Allow backend-specific
3265         code to be indented.
3266         (org-export-mark-blockquote-verse-center): Allow markers to be
3267         indented.
3269         * org.el (org-fontify-meta-lines): New function.
3270         (org-set-font-lock-defaults): Call the new fontification
3271         function.
3273         * org-faces.el (org-meta-line): New face
3274         (org-block):  New face.
3276 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
3278         * org.el (org-treat-insert-todo-heading-as-state-change)
3279         (org-treat-S-cursor-todo-selection-as-state-change): New
3280         variables.
3281         (org-insert-todo-heading): Honor
3282         `org-treat-insert-todo-heading-as-state-change'.
3283         (org-shiftright, org-shiftleft): Honor
3284         `org-treat-S-cursor-todo-selection-as-state-change'.
3285         (org-inhibit-logging): New variable.
3287 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
3289         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
3290         range for marker position checking.
3292         * org-latex.el (org-export-latex-first-lines): Fix bug when
3293         exporting a region.
3295 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
3297         * org-exp.el (org-export-push-to-kill-ring): Protect using
3298         x-set-selection, because that does not always work.
3300         * org-agenda.el (org-agenda-list): Apply the new face
3301         `org-agenda-date-today'.
3303         * org-faces.el (org-agenda-date-today): New face.
3305 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
3307         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
3308         creating appointments.
3310         * org-latex.el (org-export-latex-low-levels): Fix customization
3311         type.
3313         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
3314         priority commands.
3316         * org-agenda.el (org-agenda-priority): Disable priority commands.
3318         * org.el (org-enable-priority-commands): New option.
3320         * org-colview-xemacs.el (org-columns-compute)
3321         (org-columns-number-to-string): Fix problems with empty fields.
3323         * org-colview.el (org-columns-compute)
3324         (org-columns-number-to-string): Fix problems with empty fields.
3326         * org-exp.el (org-export-push-to-kill-ring): New function.
3327         (org-export-copy-to-kill-ring): New option.
3329         * org-latex.el (org-export-as-latex): Call
3330         `org-export-push-to-kill-ring'.
3332         * org-html.el (org-export-as-html): Call
3333         `org-export-push-to-kill-ring'.
3335         * org-docbook.el (org-export-as-docbook): Call
3336         `org-export-push-to-kill-ring'.
3338         * org-ascii.el (org-export-as-ascii): Call
3339         `org-export-push-to-kill-ring'.
3341         * org-exp.el (org-export-show-temporary-export-buffer): New
3342         option.
3344         * org-latex.el (org-export-as-latex): Use
3345         `org-export-show-temporary-export-buffer'.
3347         * org-html.el (org-export-as-html): Use
3348         `org-export-show-temporary-export-buffer'.
3350         * org-docbook.el (org-export-as-docbook): Use
3351         `org-export-show-temporary-export-buffer'.
3353         * org-ascii.el (org-export-as-ascii-to-buffer): Use
3354         `org-export-show-temporary-export-buffer'.
3356         * org-exp.el (org-export-show-temporary-export-buffer): New
3357         option.
3358         (org-export-push-to-kill-ring): New function.
3360         * org-colview.el (org-columns-compile-map): New variable.
3361         (org-columns-new, org-columns-compute)
3362         (org-columns-number-to-string, org-columns-uncompile-format)
3363         (org-columns-compile-format): Implement new operators.
3365 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
3367         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
3369         * org-html.el (org-export-html-xml-declaration): New option.
3370         (org-export-as-html): Use `org-export-html-xml-declaration'.
3372         * org-list.el (org-update-checkbox-count): Make property
3373         dependent.
3375         * org.el (org-hierarchical-todo-statistics): New option.
3376         (org-update-parent-todo-statistics): Modified to handle recursive
3377         statistics.
3379 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
3381         * org-publish.el (org-publish): Make this function behave
3382         correctly in interactive use when called with a prefix argument.
3384         * org.el (org-todo-statistics-hook): New hook.
3385         (org-update-parent-todo-statistics): Use new hook.
3386         (org-log-into-drawer): New function.
3387         (org-add-log-setup): Use the new `org-log-into-drawer' function to
3388         determine if we should be logging into a drawer.
3389         (org-log-into-drawer): Update docstring.
3390         (org-default-properties): Add LOG_INTO_DRAWER as a property.
3392         * org-list.el (org-checkbox-statistics-hook): New hook.
3393         (org-update-checkbox-count-maybe): Use new hook.
3395         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
3396         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
3397         to kill ring.
3399 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
3401         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
3402         a line.
3404 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
3406         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
3407         better bufer-generating mechanism.
3408         (org-edit-src-find-buffer): New function.
3410         * org-icalendar.el (org-print-icalendar-entries): Don't check for
3411         archive tag, this is already done by `org-agenda-skip'.
3412         data while constructing lost of tags.
3414 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
3416         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
3417         as argument separator in macros.
3419         * org-html.el (org-export-as-html): Add xml declaration.
3421 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
3423         * org.el (org-after-sorting-entries-or-items-hook): New hook.
3424         (org-sort-entries-or-items): Run the new hook.
3425         (org-after-refile-insert-hook): New hook.
3426         (org-refile): Run `org-after-refile-insert-hook'.
3428         * org-agenda.el (org-agenda-get-progress): Never take time of day
3429         from headline when displaying progress.
3431         * org-latex.el (org-export-latex-complex-heading-re): New variable.
3432         (org-export-as-latex): Force the correct regexp in the
3433         preprocessor buffer.
3434         (org-export-latex-set-initial-vars): Set
3435         `org-export-latex-complex-heading-re'.
3437         * org-agenda.el (org-agenda-start-with-log-mode): New option.
3438         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
3440 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
3442         * org-latex.el (org-export-latex-tables-centered): New option.
3443         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
3445         * org-exp.el (org-export-as-org): New command.
3446         (org-export-as-org): New command.
3448         * org-publish.el (org-publish-org-to-org): New function.
3450 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
3452         * org.el (org-yank): Just call `org-yank-generic'.
3453         (org-yank-generic): New function, containing the formaer
3454         functionality of `org-yank'.
3456         * org-latex.el (org-export-latex-not-done-keywords)
3457         (org-export-latex-done-keywords): New variables.
3458         (org-export-latex-todo-keyword-markup): New option.
3459         (org-export-latex-set-initial-vars): Remember the TODO keywords.
3460         (org-export-latex-keywords-maybe): Apply the TODO markup.
3462 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
3464         * org-exp.el (org-infile-export-plist): Add more default macros.
3465         (org-export-preprocess-apply-macros): Process macro arguments.
3467 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
3469         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
3470         `unblocked'.
3471         (org-print-icalendar-entries): Respect the new value of
3472         `org-icalendar-include-todo'.
3474         * org.el (org-link-try-special-completion)
3475         (org-file-complete-link): New functions.
3476         (org-insert-link): Add special completion support for some link
3477         types.
3479         * org-bbdb.el (org-bbdb-complete-link): New function.
3481 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
3483         * org-list.el (org-update-checkbox-count): Allow recursive
3484         statistics.
3485         (org-hierarchical-checkbox-statistics): New option.
3487         * org.el (org-cycle): Remove erraneous space character.
3489         * org-icalendar.el (org-icalendar-timezone): Initialize from
3490         environment.
3492         * org-html.el (org-format-org-table-html): Specify the scope.
3493         (org-format-table-table-html): Specify the scope.
3494         (org-export-table-header-tags): Prepare the scope parameter.
3496 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
3498         * org-html.el
3499         (org-export-html-table-use-header-tags-for-first-column): New
3500         option.
3502         * org.el (org-autoload): Fix autoloading of ascii export
3503         functions.
3504         (org-modules): Add org-special-blocks.
3506 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
3508         * org-icalendar.el (org-start-icalendar-file): Use the new option.
3509         (org-ical-timezone): New option.
3511         * org-exp.el (org-export-get-coderef-format): Use the description
3512         is present.
3514         * org.el (org-sort-entries-or-items): Improve docstring, and make
3515         better implementation for time sorting.
3517 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
3519         * org.el (org-edit-src-persistent-message): New option.
3520         (org-edit-src-code, org-edit-fixed-width-region): Use the new
3521         option.
3523         * org-clock.el (org-clock-insert-selection-line): Fix prefious
3524         patch.
3526         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
3527         separate buffer instead of indirect buffer to edit source code.
3528         (org-edit-src-exit): Make this function work with the new setup.
3530         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
3531         are properly fontified before shown in the selection menu.
3533         * org.el (org-fontify-like-in-org-mode): New function.
3535         * org-latex.el (org-export-latex-links): Use the property list to
3536         retrieve the default image attributes.
3538         * org-exp.el (org-export-plist-vars): Add a new option.
3540 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
3542         * org-exp.el (org-export, org-export-visible): Support ASCII
3543         export to buffer
3544         (org-export-normalize-links): Do not protect the description if it
3545         is explicitly given.
3547         * org-ascii.el (org-export-as-ascii-to-buffer)
3548         (org-replace-region-by-ascii, org-export-region-as-ascii): New
3549         commands.
3550         (org-export-as-ascii): Add all the same parameters that are also
3551         supported by the other export functions.
3553         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
3554         org-checklist.el.
3555         (org-reset-checkbox-state-subtree): Call
3556         `org-reset-checkbox-state-subtree'.
3558         * org-remember.el (org-select-remember-template): For the
3559         selection of a valid template.
3561         * org-latex.el (org-export-region-as-latex): Supply the
3562         force-no-subtree argument.
3563         (org-export-as-latex): Provide better limits when exporting the
3564         first line.  When exporting to string, we still want the first
3565         lines.
3566         (org-export-latex-first-lines): New argument END, to force the end
3567         of the region.
3568         (org-export-region-as-latex): Use the property list.
3569         (org-export-as-latex):
3571         * org-colview-xemacs.el (org-columns-remove-overlays)
3572         (org-columns): Fix call to `local-variable-p'.
3574 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
3576         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
3577         (org-export-as-html): Run the new hook.
3579         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
3580         (org-export-latex-preprocess): Run the new hook.
3582         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
3583         (org-export-preprocess-string): Run the new hook.
3585 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
3587         * org-macs.el (org-check-external-command): New defsubst.
3589         * org.el (org-mode-map): New key for reload.
3590         (org-format-latex): Better error message when external programs
3591         are not available.
3593         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
3595         * org.el (org-sort-entries-or-items): Explicit sorting function
3596         for priorities, needed for XEmacs compatibility.
3598         * org-remember.el (org-remember-apply-template): Improve auto-save
3599         behavior.
3601 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
3603         * org-latex.el (org-export-latex-preprocess): Also protect
3604         environments ending in a star.
3606         * org-list.el (org-at-item-p): Fix regular expression.
3608 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
3610         * org.el (org-end-of-subtree): Improve speed.
3612         * org-agenda.el (org-agenda-get-timestamps)
3613         (org-agenda-get-progress, org-agenda-get-deadlines)
3614         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3615         in particular, wait as long as possible to collect the tags.
3616         (org-stuck-projects): Improve docstring.
3618         * org.el (org-store-link): No errors when getting custom id before
3619         first headline.
3620         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3622 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
3624         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3626         * org-protocol.el: Remove dependency on url.el.
3627         (org-protocol-unhex-compound, org-protocol-open-source): Remove
3628         dependency on url.el.
3630         * org-latex.el (org-export-as-pdf): Use
3631         `org-latex-to-pdf-process'.
3633 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
3635         * org-latex.el (org-latex-to-pdf-process): New option.
3637         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3638         New option.
3639         (org-agenda-get-timestamps): Honor
3640         `org-agenda-skip-additional-timestamps-same-entry'.
3642         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3643         (org-clock-goto): Find recent task only if
3644         `org-clock-goto-may-find-recent-task' allows it.
3646         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3647         drawers, and drawers that are missing the :END: line.
3649 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3651         * org-clock.el (org-clock-goto): Go to recently clocked task if no
3652         clock is running.
3654 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
3656         * org.el (org-update-parent-todo-statistics): Check for
3657         STATISTICS_FROM property.
3659         * org-list.el (org-update-checkbox-count): Check for
3660         STATISTICS_FROM property.
3662         * org.el (org-tab-first-hook)
3663         (org-tab-after-check-for-table-hook)
3664         (org-tab-after-check-for-cycling-hook): New hooks.
3665         (org-cycle-internal-global, org-cycle-internal-local): New
3666         functions, split out from `org-cycle'.
3667         (org-cycle): Call the new hooks.
3669 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
3671         * org-exp.el (org-export-preprocess-string): Reset the list of
3672         preferred targets for each run of the preprocessor.
3674         * org.el (org-refile-target-verify-function): Improve
3675         documentation.
3676         (org-get-refile-targets): Respect point being moved by the
3677         verification function.
3679         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3680         option.
3681         (org-export-latex-keywords): Use new option.
3683         * org.el (org-rear-nonsticky-at): New defsubst.
3684         (org-activate-plain-links, org-activate-angle-links)
3685         (org-activate-footnote-links, org-activate-bracket-links)
3686         (org-activate-dates, org-activate-target-links)
3687         (org-activate-tags): Place the rear-nonsticky properties at the
3688         correct location.
3690 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
3692         * org-protocol.el (server-edit): Declare `server-edit'.
3693         (org-protocol-unhex-string, org-protocol-unhex-compound): New
3694         functions.
3695         (org-protocol-check-filename-for-protocol): Call `server-edit'.
3697         * org.el (org-default-properties): New default properteis for
3698         completion.
3700         * org-exp.el (org-export-add-subtree-options): Add new properties
3701         for subtree export.
3703         * org-docbook.el (org-export-docbook-keywords-markup)
3704         (org-export-docbook-timestamp-markup): New options.
3705         (org-export-docbook-protect-tags): New function.
3707 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
3709         * org-id.el (org-id-get-with-outline-path-completion): Turn off
3710         org-refile-target-verify-function for the duration of the command.
3712         * org.el (org-link-to-org-use-id): New possible value
3713         `create-if-interactive-and-no-custom-id'.
3714         (org-store-link): Use custom IDs.
3715         (org-link-search): Find custom ID properties from #link.
3716         (org-default-properties): Add CUSTOM_ID for property completion.
3717         (org-refile-target-verify-function): New option.
3718         (org-goto): Turn off org-refile-target-verify-function
3719         for the duration of the command.
3721 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
3723         * org-html.el (org-export-as-html): Use custom IDs in the toc.
3725         * org-exp.el (org-export-preferred-target-alist): New variable.
3726         (org-export-define-heading-targets): Find the new CUSTOM_ID
3727         property.
3728         (org-export-target-internal-links): Target the custom ids when
3729         possible.
3731         * org-latex.el (org-export-latex-preprocess): Better regexp for
3732         matching latex macros with arguments.
3734 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
3736         * org-remember.el (org-remember-handler): Allow filing to non-org
3737         files.
3739 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
3741         * org-feed.el (org-feed-alist): New keyword options.
3742         (org-feed-update): Use the new options.
3743         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3744         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3745         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3746         functions.
3748         * org-table.el (org-table-fix-formulas): Do not change references
3749         to remote tables.
3750         (org-table-get-remote-range): Convert standard coordinates to RC
3751         format.
3753         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3755 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
3757         * org-compat.el (org-sha1-string): Function removed.
3759         * org.el (org-refile-allow-creating-parent-nodes): New option.
3760         (org-refile-get-location): New argument NEW-NODES.
3761         (org-refile): Call `org-refile-get-location' with the new
3762         argument.
3763         (org-refile-get-location): Arrange for adding a new child.
3764         (org-refile-new-child): New function.
3766         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3767         an additional span element.
3769         * org-clock.el: Fix a number of docstrings.
3770         (org-clock-find-position): New argument
3771         FIND-UNCLOSED to make the function find an unclosed clock in the
3772         entry.
3773         (org-clock-in): Call `org-clock-find-position' with the new
3774         argument if we might be resuming a clock.
3776 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
3778         * org-latex.el (org-export-latex-display-custom-times): New variable.
3779         (org-export-latex-timestamp-markup): New option.
3780         (org-export-latex-set-initial-vars): Remember the local value of
3781         `org-display-custom-times'.
3782         (org-export-latex-content): Process time stamps.
3783         (org-export-latex-time-stamps): New function.
3785         * org-macs.el (org-maybe-intangible): Add intangible property
3786         again to invisible text.
3788 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
3790         * org-exp.el (org-default-export-plist): Handle undefined
3791         variables.
3793 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
3795         * org.el (org-sort-entries-or-items): Match TODO keywrds
3796         case-sensitively, when sorting.
3797         (org-priority): Do not match TODO keywords with wrong case.
3799 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
3801         * org-feed.el (org-feed-update): Bind the variable
3802         `new-formatted'.
3804         * org-html.el (org-export-as-html): Start paragraphs after literal
3805         examples.
3807         * org-docbook.el (org-export-as-docbook): Start paragraphs after
3808         literal examples.
3810 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
3812         * org.el (org-todo): Honor the NOBLOCKING property.
3814         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3815         NOBLOCKING property.
3817         * org.el (org-scan-tags): Fix bug in tag scanner
3819 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3821         * org.el (org-modules): Mark obsolete packages.
3823         * org-html.el: New file, split out from org-exp.el.
3825         * org-icalendar.el: New file, split out from org-exp.el.
3827         * org-xoxo.el: New file, split out from org-exp.el.
3829         * org-ascii.el: New file, split out from org-exp.el.
3831 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3833         * org-compat.el (org-find-library-name): New function.
3835         * org.el (org-pre-cycle-hook): New hook.
3836         (org-cycle): Call the new hook in appropriate places.
3837         (org-reload): Only reload files that have been loaded before.
3839 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3841         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3842         after todo keyword.
3843         (org-todo): When changing TODO state, do matching
3844         case-sensitively.
3845         (org-map-continue-from): New variable.
3846         (org-scan-tags): Respect values in `org-map-continue-from'.
3847         (org-reload): Make XEmacs compatible.
3849 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3851         * org-protocol.el (org-protocol-flatten-greedy): New function.
3852         (org-protocol-flatten): New function.
3854         * org.el (org-open-link-from-string): Pass reference buffer to
3855         `org-open-at-point'.
3856         (org-open-at-point): New optional argument `reference-buffer'.
3858 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3860         * org.el (org-scan-tags): Make tag scan find headline in first
3861         line, 2nd attempt.
3862         (org-get-refile-targets): Add the naked file name.
3863         (org-refile): Store as top-level entry when only file name was
3864         given.
3866         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3868         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3869         Renamed from org-block-todo-from-children-or-siblings, and
3870         enhanced to look for the parent's status as well.
3872         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3873         (org-agenda-get-progress): Add first notes line to log entry if so
3874         desired.
3876 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3878         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3879         (org-agenda-cleanup-fancy-diary): Call the new hook.
3881         * org-remember.el (org-remember-apply-template): Take the default
3882         for the annotation from the :annotation property.
3884         * org-mac-message.el (org-mac-message-get-link): Remove the
3885         quotes.
3886         (org-mac-message-get-link): Return the result.
3888 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3890         * org.el (org-refile-get-location): Add file name only if not
3891         already included in outline path.
3893         * org-faces.el (org-n-level-faces): Fix customization type from
3894         number to integer.
3896         * org-exp.el (org-export-headline-levels): Fix customization type
3897         from number to integer.
3899         * org-agenda.el (org-agenda-confirm-kill)
3900         (org-agenda-custom-commands-local-options)
3901         (org-timeline-show-empty-dates, org-agenda-ndays)
3902         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3903         customization type from number to integer.
3905 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3907         * org-protocol.el: Declare some functions.
3909         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3910         postion before inserting modified headline.
3912         * org-agenda.el (org-agenda-compare-effort): Honor
3913         `org-sort-agenda-noeffort-is-high'.
3914         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3915         (org-agenda-compare-effort): Implement the "?" operator for
3916         finding entries without effort setting.
3918         * org.el (org-extract-attributes-from-string): New function.
3920         * org-exp.el (org-export-splice-attributes): New function.
3922 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3924         * org-mouse.el: XEmacs compatibility fixes
3926         * org-docbook.el (org-export-as-docbook): Process footnotes like
3927         normal text.
3929         * org.el (org-modules): Add org-inlinetasks.el
3930         (org-cycle): Implement limiting level on cycling.
3931         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3932         buffer.
3934         * org-inlinetask.el: New file.
3936         * org.el (org-emphasis-regexp-components): Allow braces in
3937         emphasis pre and post match.
3939         * org-footnote.el (org-footnote-normalize): When only dorting, do
3940         not insert inline notes at the end.
3942         * org-docbook.el (org-id-find-id-file): Add function declaration.
3944         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3946         * org-docbook.el: New file.
3948 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3950         * org.el (org-reftex-citation): New command.
3952 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3954         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3955         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3956         sorting options.
3957         (org-entries-lessp): Apply the new sorting option.
3959         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3960         blocker code, when an older sibling has children.
3962         * org-mac-message.el (org-mac-message-get-link): Improve getting
3963         links from multiple selected messages.
3965 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3967         * org-remember.el (org-remember-finalize): Do not set buffer file
3968         name to nil.
3969         (org-remember-handler): Mark buffer as unmodified.
3970         (org-remember-handler): Delete backup file and show message about
3971         remaining backup files.
3972         (org-remember-auto-remove-backup-files): New option.
3974         * org.el (org-store-link): Use buffer name as link description in
3975         w3-mode buffers.
3976         (org-ido-switchb): Fix argument bug for completion.
3978         * org-remember.el (org-remember-apply-template): Set local
3979         variable `auto-save-visited-file-name' instead of global one.
3981 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3983         * org-feed.el: Re-write.
3985         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3986         (org-agenda-get-todos): Mark file tags as inherited.
3987         (org-agenda-list): Always search diary lines for a time.
3989 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3991         * org-feed.el (org-feed-assume-stable): New option.
3992         (org-feed-before-adding-hook): New hook.
3994         * org-exp.el (org-export-as-html): Close local lists depending on
3995         indentation, also when starting a table.
3997         * org-remember.el (org-remember-backup-directory)
3998         (org-remember-backup-name): New internal variable.
4000 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
4002         * org-clock.el (org-clock-out-if-current): Make buffer detection
4003         work in indirect buffers as well.
4005         * org.el (org-emphasis-regexp-components): Add the exxclamation
4006         mark to the post-emphasis characters.
4008 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
4010         * org.el (org-read-date-minibiffer-septup-hook): New hook.
4011         (org-read-date): Run the new hook.
4013         * org-mac-message.el (org-mac-flagged-mail): New group.
4014         (org-mac-mail-account): New variable.
4015         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
4016         commands.
4018         * org-remember.el (org-remember-backup-directory): New variable.
4019         (org-remember-apply-template): Write file to backup directory.
4021 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
4023         * org-mouse.el (org-mouse-todo-menu): New function.
4024         (org-mouse-todo-keywords): Function removed.
4025         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
4027         * org-table.el (org-table-beginning-of-field)
4028         (org-table-end-of-field): New commands
4029         (org-table-previous-field, org-table-beginning-of-field): Better
4030         error messages.
4031         (orgtbl-setup): Include `M-a' and `M-e'.
4033         * org.el (org-backward-sentence, org-forward-sentence): New
4034         commands.
4036         * org-colview.el (org-colview-initial-truncate-line-value): New
4037         variable.
4038         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
4039         (org-columns): Remember the value of `truncate-lines'.
4041         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
4042         New variable.
4043         (org-columns-remove-overlays): Restore the value of
4044         `truncate-lines'.
4045         (org-columns): Remember the value of `truncate-lines'.
4047         * org.el (org-columns-skip-arrchived-trees): New option.
4049         * org-agenda.el (org-agenda-export-html-style): Define color for
4050         org-agenda-done face.
4051         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
4052         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
4054         * org.el (org-scan-tags): Use the new face.
4056         * org-faces.el (org-agenda-done): New face.
4058         * org.el (org-scan-tags): Test the value org
4059         `org-tags-match-list-sublevels'.
4060         (org-tags-match-list-sublevels): New allowed value: indented.
4062         * org-export-latex.el (org-export-latex-make-header): Apply macros
4063         in header.
4065         * org-exp.el (org-export-apply-macros-in-string): New function.
4067         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
4068         with the definition of a checked box.
4070         * org-clock.el (org-clock-find-position): Fix drawer indentations.
4072         * org-export-latex.el (org-export-latex-low-levels): More options
4073         for how to process lower levels in LaTeX.
4074         (org-export-latex-subcontent): Better treatment for lists as a
4075         means of publishing lower levels.
4077 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
4079         * org.el (org-set-font-lock-defaults): Use new checkbox face.
4081         * org-faces.el (org-checkbox): New face.
4083         * org-exp.el (org-export-html-preprocess): Only create LaTeX
4084         fragement images if there is an export file.
4086 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
4088         * org-agenda.el (org-stuck-projects): Document that the subtree of
4089         projects that are not stuck will now be searched for stuck
4090         sub-projects.
4091         (org-agenda-skip-entry-when-regexp-matches)
4092         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
4093         (org-agenda-list-stuck-projects): Use
4094         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
4096         * org-export-latex.el (org-export-latex-preprocess): Improve
4097         export of verses.
4099         * org-exp.el (org-export-as-html): Implement centering as a div
4100         rather than a paragraph.  Do a better job with line-end in verse
4101         environments.
4103 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
4105         * org.el (org-open-at-point): Fix tags searches by mouse click.
4107 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
4109         * org-export-latex.el (org-export-latex-preprocess): Implement the
4110         centering markup.
4112         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
4113         from `org-export-mark-blockquote-and-verse'.
4114         (org-export-as-html): Implement the centering markup.
4116         * org-export-latex.el (org-export-latex-tables): Fix vertical
4117         lines in tables.
4119 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
4121         * org.el (org-read-date-history): New variable.
4122         (org-read-date): Use new history variable.
4123         (org-toggle-heading): Fix bug when used before first headline.
4124         (org-store-log-note): Remove drawer if empty while note is
4125         aborted.
4126         (org-remove-empty-drawer-at): New function.
4127         (org-check-after-date): New command.
4128         (org-sparse-tree): New sparse tree command "a".
4130         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
4132 2009-03-14  Bastien Guerry  <bzg@altern.org>
4134         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
4135         column and a space, not only a column.
4137 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
4139         * org-export-latex.el (org-export-latex-emphasis-alist): Better
4140         defaults for verbose emphasis.
4141         (org-export-latex-emph-format): New function.
4142         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
4144         * org-agenda.el (org-agenda-menu): Add new commands to menu.
4145         (org-agenda-do-date-later, org-agenda-do-date-earlier)
4146         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
4147         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
4148         commands.
4150         * org.el (org-timestamp-change): Move end-time along with start
4151         time.
4153 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
4155         * org-exp.el (org-export-target-internal-links)
4156         (org-export-as-html): Protect links specified as #name.
4158 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
4160         * org.el (org-clone-subtree-with-time-shift): New command.
4162         * org-export-latex.el (org-export-latex-special-chars)
4163         (org-export-latex-treat-sub-super-char): Fix subscript export.
4165         * org-exp.el (org-create-multibrace-regexp): Do not add
4166         backslashes to the class.
4168 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
4170         * org-colview.el (org-columns-map): Better functions for moving up
4171         and down a row, even if `truncate-line' is nil.
4173         * org.el (org-insert-todo-heading): Make sure the keyword is
4174         inserted at the correct position.
4176         * org-publish.el (org-publish-project-alist)
4177         (org-publish-projects, org-publish-org-index): Change default anme
4178         for the index of file names to "sitemap.org".
4180         * org-export-latex.el (org-export-latex-tables): Use
4181         `org-split-string', for Emacs 21 compatibility.
4183 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
4185         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
4187 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
4189         * org-exp.el (org-export-page-description)
4190         (org-export-page-keywords): New variables.
4191         (org-export-plist-vars): Add entries for :keywords and
4192         :description.
4193         (org-infile-export-plist): Parse for new keywords.
4194         (org-get-current-options): Add new keywords
4195         (org-export-as-html): Publish description and keywords.
4197         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
4198         option.
4199         (org-agenda-add-entry-text): Honor
4200         `org-agenda-add-entry-text-descriptive-links'.
4202         * org-export-latex.el (org-export-latex-preprocess): Make all
4203         external preprocess functions use a PARAMETER arg.
4205         * org-exp.el (org-export-preprocess-string)
4206         (org-export-select-backend-specific-text)
4207         (org-export-format-source-code-or-example)
4208         (org-format-org-table-html): Support docbook export.
4209         (org-export-preprocess-string): Make all external preprocess
4210         functions use a PARAMETER arg.
4212 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
4214         * org-exp.el (org-export-html-style-include-scripts): New option.
4215         (org-export-plist-vars): Add new option
4216         `org-export-html-style-include-scripts'.
4217         (org-export-as-html): Honor new option
4218         `org-export-html-style-include-scripts'.
4219         (org-export-html-scripts, org-export-html-style-default): Fix
4220         xml issues with the Safari browser.
4222 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
4224         * org-publish.el (org-publish-attachment): Only copy file when the
4225         directories differ.
4227 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
4229         * org-clock.el (org-clocktable-steps): Use inactive time stamps
4230         for clocktable steps.
4232         * org.el (org-additional-option-like-keywords): Add two more
4233         keywords.
4235 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
4237         * org-exp.el (org-export-format-source-code-or-example): Mark
4238         temporary buffer unmodified, so that it will be killed even if
4239         mode like message mode has decided to assign a file name.
4241         * org.el (org-scan-tags): Improve tag inheritance.
4242         (org-scan-tags, org-make-tags-matcher): Make tag comparison
4243         case-sensitive.
4244         (org-scan-tags): Use the internal tags list instead of creating it
4245         from scratch.
4246         (org-trust-scanner-tags, org-scanner-tags): New variables.
4247         (org-scan-tags): Set `org-scanner-tags'.
4248         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
4249         (org-map-entries): Document the possible speedup using scanner
4250         tags.
4252 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
4254         * org.el (org-add-planning-info): Fix bug with looking for keyword
4255         only at column 0.
4257         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4258         option for tags filter preset.
4259         (org-prepare-agenda): Store filter preset as a property on the
4260         filter variable.
4261         (org-finalize-agenda): Call the filter, if there is a preset.
4262         (org-agenda-filter-by-tag): Filter again after clearing the
4263         filter, when there still is a preset.
4264         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
4265         Include the preset filter.
4266         (org-agenda-redo): Apply the filter again, also the preset filter.
4268         * org-exp.el (org-export-as-html): Use IDs in the correct way.
4270         * org.el (org-uuidgen-p): New funtion.
4272         * org-agenda.el (org-agenda-fontify-priorities): New default value
4273         `cookies'.
4274         (org-agenda-fontify-priorities): Renamed from
4275         org-fontify-priorities.
4277         * org.el (org-set-font-lock-defaults): Call
4278         `org-font-lock-add-priority-faces'.
4279         (org-font-lock-add-priority-faces): New function.
4281         * org-faces.el: (org-set-tag-faces): New option.
4282         (org-priority-faces): New variable.
4284         * org-exp.el (org-export-as-html): Add a "content" div around the
4285         entire content of the body tag.
4286         (org-export-html-get-bibliography): New function.
4287         (org-export-html-validation-link): New variable.
4288         (org-export-as-html): Add validation link to exported page.
4290         * org.el (org-match-sparse-tree): Renamed from
4291         `org-tags-sparse-tree'.
4292         (org-tags-sparse-tree): New alias.
4294 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
4296         * org.el (org-get-valid-level): Catch the case where the level
4297         change is nil.
4299         * org-clock.el (org-clock-find-position): Better indentation of
4300         new clock drawers.
4302 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
4304         * org-agenda.el (org-agenda-quit): Delete window only when the
4305         frame-setup was not `current-window'.
4307         * org.el (org-tag-persistent-alist): New option.
4308         (org-startup-options): Add keyword `noptag'.
4309         (org-fast-todo-selection): Handle :newline correctly.
4310         (org-set-tags): Handle :newline correctly.
4311         (org-fast-tag-selection): Handle :newline correctly.
4313 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
4315         * org-exp.el (org-export-as-ascii): Reverse link buffer before
4316         outputting it.
4317         (org-export-ascii-push-links): Fix bug with pussing links into the
4318         export buffer.
4320 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
4322         * org-archive.el (org-archive-subtree): Do not add 1 to level if
4323         pasting at top level.
4325         * org-bbdb.el: Improve documentation.
4327 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
4329         * org-list.el (org-insert-item): Only consider insert empty lines
4330         is `org-empty-line-terminates-plain-lists' is not nil.
4332         * org.el (org-blank-before-new-entry): Mention the dependence on
4333         `org-empty-line-terminates-plain-lists' in the docstring.
4335         * org-publish.el (org-publish-get-project-from-filename): New
4336         optional argument UP.  Only find the top project if UP is set.
4337         (org-publish-current-project): Find the top encloding project.
4339         * org-agenda.el (org-agenda-before-write-hook)
4340         (org-agenda-add-entry-text-maxlines): New options.
4341         (org-write-agenda): Run the new hook in the temporary buffer.
4342         (org-agenda-add-entry-text): New function.
4343         (org-write-agenda): Implement PDF export, using ps2pdf.
4345         * org.el (org-global-properties-fixed, org-global-properties):
4346         Improve documentation string.
4348         * org-exp.el (org-export-ascii-links-to-notes): New option.
4349         (org-export-as-ascii): Handle links better.
4350         (org-export-ascii-wrap, org-export-ascii-push-links): New
4351         functions.
4353 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
4355         * org-agenda.el (org-agenda): Make prefix arg optional.
4356         (org-agenda-search-headline-for-time): New option.
4357         (org-format-agenda-item): Honor
4358         `org-agenda-search-headline-for-time'.
4360         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
4361         characters.
4363         * org.el (org-self-insert-cluster-for-undo): New option.
4364         (org-self-insert-command): Cluster undo for 20 characters.
4365         (org-self-insert-command-undo-counter): New variable.
4367 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
4369         * org-exp.el (org-export-as-html): Fix problem with closing colone
4370         example.
4372 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
4374         * org-export-latex.el (org-export-as-latex)
4375         (org-export-latex-first-lines): Avoid modification flag when
4376         adding or removing text properties.
4377         (org-export-latex-fontify): Catch error when org-emph-alist has
4378         entries that are not defined for LaTeX export.
4380         * org.el (orgstruct++-mode): New function.
4381         (turn-on-orgstruct++): Call `orgstruct++-mode'.
4382         (org-context-p): Allow detecting item context after the first line
4383         of an item.
4384         (orgstruct-make-binding): Detect if item-body context should be
4385         seen.
4386         (orgstruct-is-++): New variable.
4387         (org-add-planning-info): Catch the case when there is no planning
4388         info yet and the call does not want to add anything, only maybe
4389         tries to remove something.
4390         (org-special-ctrl-a/e): All value to be a cons cell with separate
4391         settings for `C-a. and `C-e'.
4392         (org-beginning-of-line, org-end-of-line): Honor separate values
4393         for `C-a' and `C-e'.
4395 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
4397         * org.el (org-reload): New command.
4399 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
4401         * org-exp.el (org-export-htm-get-tag-class-name)
4402         (org-export-htm-get-todo-kwd-class-name): New functions.
4403         (org-export-html-tag-class-prefix)
4404         (org-export-html-todo-kwd-class-prefix): New options.
4405         (org-export-as-html): Call
4406         `org-export-html-get-todo-kwd-class-name'.
4407         (org-html-level-start): Wrap tags into classes.
4408         (org-export-html-get-tag-class-name)
4409         (org-export-html-get-todo-kwd-class-name): New functions.
4411         * org-export-latex.el (org-export-latex-collect-header-macros):
4412         Remove fields that are used anyway.
4413         (org-export-latex-make-header): Insert the options earlier.
4415         * org-agenda.el (org-agenda-get-progress): Fix bug with state
4416         matching.
4418         * org-list.el (org-indent-item): Allow point to be at the end of
4419         the region.
4421         * org.el (org-metaleft, org-metaright): Be more accurate about
4422         detecting a region where commands apply.
4424         * org-compat.el (org-cursor-to-region-beginning): New function.
4426         * org.el (org-priority): Also find invisible heading.
4428         * org-colview-xemacs.el (org-columns-edit-value): No special
4429         treatment for `org-todo' prefix.
4431         * org-colview.el (org-columns-edit-value): No special treatment
4432         for `org-todo' prefix.
4434         * org-remember.el (org-remember-apply-template): Use
4435         `org-completing-read-no-ido'.
4437         * org.el (org-completing-read-no-ido): New function.
4438         (org-make-tags-matcher, org-set-property): Use
4439         `org-completing-read-no-ido'.
4441         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
4442         New option.
4443         (org-export-as-latex): Import in-buffer settings as TeX macros.
4444         (org-export-latex-make-header): Additional parameter OPT-DEFS.
4445         (org-export-latex-collect-header-macros): New function.
4447         * org.el (org-refile-get-location): Turn off
4448         `partial-completion-mode'.
4450 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
4452         * org.el (org-block-todo-from-checkboxes): Announce that
4453         checkboxes are the culprit.
4454         (org-block-todo-from-children-or-siblings): Call
4455         `org-up-heading-all instead' of `outline-up-heading'.
4457         * org-agenda.el (org-agenda-show-1): Renamed from
4458         `org-agenda-show'.
4459         (org-agenda-show): Re-install the old version for now.
4460         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
4461         variable into the blokker hook, so that the checkbox checker can
4462         anounce that it caused the blocking.
4464         * org.el (org-track-ordered-property-with-tag): New option.
4465         (org-toggle-ordered-property): Honor
4466         `org-track-ordered-property-with-tag'.
4467         (org-tag-alist): Add newline options.
4468         (org-set-regexps-and-options): Separate option lines imply a
4469         newline.
4470         (org-set-regexps-and-options, org-assign-fast-keys)
4471         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
4472         option.
4473         (org-indent-line-function): Make sure this works even if there is
4474         not `org-drawer-regexp' defined.  This can happen when
4475         orgstruct-mode is used in a non-org buffer.
4477         * org-list.el (org-checkbox-blocked-p): New function.
4478         (org-toggle-checkbox): Check for blocking.
4480         * org.el (org-modules): Add an entry for org-R.el.
4482         * org-agenda.el (org-agenda-todo-ignore-with-date)
4483         (org-agenda-todo-ignore-scheduled)
4484         (org-agenda-todo-ignore-deadlines): Mention the variable
4485         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
4487         * org.el (org-get-wdays): Find the warning period also if it is in
4488         the wrong place.
4489         (org-ido-completing-read): Provide the correct arguments to
4490         ido-completing-read and bind `ido-enter-matching-directory' to
4491         nil.
4493 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
4495         * org.el (org-olpath-completing-read): Never use ido for this
4496         one.
4498         * org-exp.el (org-export-normalize-links): Use new macro.
4500         * org-macs.el (org-if-unprotected-at): New macro.
4502         * org-agenda.el (org-agenda-show): Allow numerical prefix
4503         arguments to specify how much context should be shown.
4504         (org-agenda-cycle-show): New command, could be bound to SPC in
4505         org-agenda-mode-map.
4507         * org-exp.el (org-html-level-start): Space after section number.
4509 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
4511         * org-agenda.el (org-agenda-get-sexps): Add todo state as
4512         property, for sorting.
4513         (org-cmp-todo-state): Get the applicable TODO keywords directly
4514         from the buffer.
4515         (org-run-agenda-series, org-agenda-list, org-search-view)
4516         (org-todo-list, org-tags-view): Only fit agenda window when the
4517         whole series is done.
4519         * org.el (org-scan-tags): Add todo state as property, for sorting.
4521         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4522         `org-agenda-overriding-header' as an option.
4523         (org-agenda-list): Honor org-agenda-overriding-header'.
4525 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
4527         * org-list.el (org-toggle-checkbox): Improve cursor positioning
4528         after removing a checkbox.
4530         * org.el (org-show-entry): Make this work correctly also if it is
4531         the last entry in the file.
4532         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
4533         falling back to normal, default command.
4534         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
4535         item, call the checkbox toggler to get a box.
4537         * org-list.el (org-toggle-checkbox): Make double prefix set the
4538         checkbox to "[-]".
4539         (org-fix-bullet-type): Only replace bullet if it is changed.
4540         (org-renumber-ordered-list): Handle case when first item does not
4541         have a number.
4543         * org.el (org-add-log-setup): Fix positioning when
4544         `org-log-states-order-reversed' is nil.
4546         * org-clock.el (org-clock-in): Fix positioning when
4547         `org-log-states-order-reversed' is nil.
4548         (org-clock-find-position): Fix positioning when
4549         `org-log-states-order-reversed' is nil.
4551 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
4553         * org-clock.el (org-clock-into-drawer): Take default from
4554         `org-log-into-drawer'.
4555         (org-clock-find-position): Look for the correct drawer.
4557         * org.el (org-log-into-drawer): Renamed from
4558         `org-log-state-notes-into-drawer'.
4559         (org-log-state-notes-into-drawer): New variable alias.
4560         (org-add-log-setup): Make drawer name default to LOGBOOK, not
4561         CLOCK.
4562         (org-insert-property-drawer): Also skip LOGBOOK drawers.
4564 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
4566         * org-agenda.el (org-agenda): Fix docstring.
4568         * org.el ("org-plot"): Help loading org-plot.
4569         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
4570         (org-metadown-hook, org-shiftmetaleft-hook)
4571         (org-shiftmetaright-hook, org-shiftmetaup-hook)
4572         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
4573         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4574         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4575         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
4577         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
4578         for selecting files with any (and even without) extension.
4580         * org.el (org-save-all-org-buffers): Also save id locations.
4581         (org-revert-all-org-buffers): Also load id locations.
4583 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4584         * org.el (org-drawers): Add LOGBOOK to the default drawers.
4585         (org-log-state-notes-into-drawer): New option.
4586         (org-add-log-setup): Place the sate note marker into the drawer,
4587         create drawer when necessary.
4588         (org-refile-targets): Document special interpretation of LEVEL
4589         when odd-levels are used.
4591 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
4593         * org.el (org-store-log-note): Fix note indentation when adding
4594         notes to end of list.
4596         * org-exp.el (org-export-as-html): Add TODO keyword as extra
4597         class, so that each keyword can get special colors through CSS.
4599         * org-clock.el (org-clock-out): Add another nil for the previous
4600         state into the call to `org-add-log-setup'.
4602         * org.el (org-log-note-previous-state): New variable.
4603         (org-log-note-headings): New %S escape for old state.
4604         (org-todo): Call the note setup with the old state as an
4605         argument.
4606         (org-add-note): Add another nil for the previous state into the
4607         call to `org-add-log-setup'.
4608         (org-add-log-setup): New argument PREV-STATE.
4609         (org-add-log-note): Handle new %S escape.
4610         (org-store-log-note): Handle new %S escape.
4612 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
4614         * org-clock.el (org-clock-find-position): Do not swallow an item
4615         less indented than the CLOCK line itself.
4616         (org-clock-in): Push markers to lin after the clock line.
4617         (org-clock-find-position): Handle values of
4618         `org-clock-into-drawer' smaller than 2.
4620         * org-exp.el (org-html-level-start): Add a CSS class to section
4621         numbers.
4622         (org-export-html-toplevel-hlevel): Better documentation of the
4623         influence of this variables on H levels and css classes in
4624         export.
4626 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
4628         * org-agenda.el (org-agenda-custom-commands-local-options): Add
4629         timestamp and nottimestamp to the chooe menu.
4631         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4632         (org-revert-all-org-buffers): New command.
4634 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
4636         * org.el (org-return): Implement `org-return-follows-link' in the
4637         function org-return.  This is more robust than using the mouse
4638         map, I think.
4639         (org-set-regexps-and-options): Match more general #+TODO lines.
4640         (org-make-options-regexp): New optional argument EXTRA, for an
4641         extra regexp.
4642         (org-tab-follows-link): Mark as deprecated.
4644 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
4646         * org-exp.el (org-export-preprocess-string): Remove clock lines
4647         earlier, so that they cannot cotribute to verbatim snippets.
4649 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
4651         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4652         for finding drawers.
4653         (org-export-as-ascii, org-export-as-html): Count levels relative
4654         to the subtree header.
4655         (org-get-min-level): New optional argument OFFSET.
4656         (org-export): Make sure point is restored after popping up that
4657         window.
4659         * org.el (org-do-sort): Also take an inactive timestamp if no
4660         active one is found.
4662         * org-colview-xemacs.el (org-columns-capture-view): Copy before
4663         deleting duplicates.
4665         * org-colview.el (org-columns-capture-view): Copy before
4666         deleting duplicates.
4668         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4669         text before first headline.
4671         * org.el (org-format-latex): Do not convert LaTeX fragments in
4672         protected examples.
4674 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
4676         * org-exp.el (org-export-html-style-default): Use color values
4677         instead of names for XHTML validation.
4679         * org.el (org-get-scheduled-time, org-get-deadline-time): New
4680         functions.
4681         (org-return-follows-link): Revert making this the default untile
4682         issues are resolved.
4684         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4685         nottimestamp.
4687 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
4689         * org.el (org-mode): Make dependence stuff work more reliably.
4690         (org-update-parent-todo-statistics): Fix bug with updating
4691         statistics cookie.
4693         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4694         ~ as verbatim delimiters.
4696         * org-exp.el (org-export-html-format-image): New argument
4697         PAR-OPEN.
4698         (org-export-as-html): Pass par-open to
4699         `org-export-html-format-image'.
4701 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
4703         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4704         (org-use-fast-todo-selection, org-tags-column): New default
4705         setting for variables, based on a poll what typical uses use.
4707         * org-agenda.el (org-agenda-sorting-strategy)
4708         (org-agenda-tags-column): New default setting for variables, based
4709         on a poll what typical uses use.
4711 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
4713         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4714         blocked entries from setting the blocked tag.
4716         * org-exp.el (org-export-html-footnotes-section): Use a more
4717         consistent id for footnotes.
4719         * org-export-latex.el (org-export-latex-classes): Remove the
4720         a4paper option from the default styles.
4722 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
4724         * org.el (org-enforce-todo-checkbox-dependencies): New option.
4725         (org-block-todo-from-checkboxes): New function.
4726         (org-todo): Make tripple prefix arg circumvent blocking.
4728         * org-timer.el (org-timer): Provide the timer feature.
4730         * org.el (org-require-autoloaded-modules): Add a few more files to
4731         the list of autoloaded modules.
4733         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4735 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
4737         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4738         drawers that are unprotected.
4739         (org-export-html-format-image): Make sure inlined LaTeX fragment
4740         images remain inlined.
4742         * org.el (org-toggle-ordered-property): New function.
4743         (org-mode-map): Add a key for `org-toggle-ordered-property'.
4744         (org-org-menu): Add menu entries for TODO dependencies.
4746 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
4748         * org.el (org-default-properties): Add ORDERED to the default
4749         properties, to get completion support for it.
4751         * org-list.el (org-update-checkbox-count): Update more than one cookie.
4753         * org.el (org-update-parent-todo-statistics): Update more than one
4754         cookie.
4756         * org-agenda.el (org-agenda-get-todos): Start search from correct
4757         position.
4759         * org.el (org-fast-todo-selection): Make sure TODO selection does
4760         not change buffer position.
4762         * org-list.el (org-toggle-checkbox): Implement adding or removing
4763         checkboxes from line or region when called with a prefix
4764         argument.
4766         * org-rmail.el (org-rmail-store-link): Protect the call to
4767         `rmail-narrow-to-non-pruned-header'.
4769         * org-clock.el (org-clock-special-range): Fix week display in
4770         clock tables.
4772         * org-exp.el (org-get-current-options): Fix bug when in indirect
4773         buffer.
4775 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
4777         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4778         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4779         (org-agenda-dim-blocked-tasks): New function.
4781         * org.el (org-enforce-todo-dependencies): New option.
4782         (org-block-todo-from-children-or-siblings): New function.
4784         * org-faces.el (org-agenda-dimmed-todo-face): New face.
4786         * org.el (org-todo): Return correct state type even if the blocker
4787         throws an error.
4788         (org-modifier-cursor-error): Renamed from
4789         `org-shiftcursor-error'.
4790         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4791         (org-shiftmetadown): Call `org-modifier-cursor-error'.
4793         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4794         to get real errors from the blocker hook.
4796         * org.el (org-shiftselect-error, org-call-for-shift-select): New
4797         functions.
4798         (org-set-visibility-according-to-property): Turn off the setting
4799         of `org-show-entry-below', to avoid overruling a FOLDED visibility
4800         property.
4802 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4804         * org.el (org-support-shift-select): New option.
4805         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4806         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4807         selection outside contexts.
4809         * org-list.el (org-at-item-bullet-p): New function.
4811         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4812         variables.
4814         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4815         variable.
4816         (org-insert-footnote-reference-near-definition): Remove
4817         unnecessary let form.
4819         * org-export-latex.el (org-export-latex-first-lines): Add
4820         OPT-PLIST parameter.
4821         (org-export-as-latex): Call `org-export-latex-first-lines' with
4822         opt-plits parameter.
4823         (org-export-latex-preprocess): Remove unnecessary variables.
4825         * org-exp.el (org-infile-export-plist)
4826         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4827         (org-export-remove-headline-metadata)
4828         (org-export-get-title-from-subtree, org-get-min-level)
4829         (org-html-do-expand): Remove innecessary let form.
4831         * org-colview-xemacs.el (org-columns-display-here): Remove
4832         unnecessary variables.
4834         * org-colview.el (org-columns-display-here): Remove unnecessary
4835         variables.
4837         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4838         variables.
4840         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4841         unnecessary variables.
4843         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4844         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4845         variables.
4847         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4848         (org-compact-display-after-subtree-move): Remove unnecessary
4849         variables.
4850         (org-edit-fixed-width-region): Remove unnecessary variables.
4851         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4852         (org-olpath-completing-read): Remove unnecessary variable.
4853         (org-auto-repeat-maybe): Remove unnecessary variable.
4854         (org-map-entries): Remove unnecessary variable.
4855         (org-buffer-property-keys, org-imenu-get-tree)
4856         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4858 -----------------------------------------------------------------
4860 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4861         * org-exp.el (org-export-remove-timestamps): Never remove
4862         timestamps from tables.
4864         * org-export-latex.el (org-export-latex-first-lines): Add more
4865         options to the preprocessing of the text before the first
4866         headline.
4868 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4870         * org-faces.el (org-clock-overlay): Make face compatible with
4871         XEmacs.
4873         * org.el (org-yank): Add property for delete-selection mode.
4875         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4877         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4878         variable.
4880         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4881         to `backward-char'.
4883         * org-exp.el (org-export-as-html): Remove the initial space from
4884         colon examples.
4886         * org.el (org-scan-tags): Call
4887         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4889         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4890         customization groups.
4891         (org-agenda-tags-todo-honor-ignore-options): New option.
4892         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4893         New function.
4894         (org-agenda-get-todos): Use
4895         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4897 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4899         * org-exp.el (org-export-format-source-code-or-example): Escape
4900         HTML characters also in examples that anre not treated with
4901         htmlize.  Also, just switch to EXAMPLE processing if we do not
4902         have a good version of htmlize.
4904         * org-rmail.el: Fix copyright notice.
4906         * org.el (org-activate-footnote-links): Improve footnote link
4907         highlighting.
4909         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4910         a footnote definition at the end of the file.
4912         * org-table.el (org-table-get-specials): Add an imagined hline at
4913         the end of the table.  This can be useful for references that want
4914         to go to the end of the table.  Also fix bug when computing last
4915         row constants, in tables that do not start right at the right
4916         margin.
4917         (org-table-eval-formula): Match and replace remove references.
4918         (org-table-formula-substitute-names): Make sure that names inside
4919         a "remote" call are left alone, the will be replaced later when
4920         the remote call is handled.
4921         (org-table-convert-refs-to-rc): Do not convert things that might
4922         look like a reference, but are really part of an ID or namei n a
4923         remote reference.
4924         (org-table-get-remote-range): New function.
4926 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4928         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4930         * org-clock.el (org-clock-put-overlay): Use new face instead of
4931         `secondary-selection'.
4933         * org-faces.el (org-clock-overlay): New face.
4935 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4937         * org-exp.el (org-get-current-options): Include the option for
4938         publishing time stamps.
4940         * org.el (org-toggle-heading): Renamed from
4941         `org-toggel-region-headings'.
4942         No longer needs a region defined, but will use it if there is one.
4943         (org-ctrl-c-star): Simplified, relying more on the internal
4944         workings of `org-toggle-heading'.
4945         (org-toggle-item): Renamed from `org-toggle-region-items'.
4946         No longer needs a region defined, but will use it if there is one.
4947         (org-ctrl-c-minus): Simplified, relying more on the inernal
4948         workings of `org-toggle-item'.
4950         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4951         environment detection.  Also, do real changes only in unprotected
4952         places.
4954 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4956         * org-export-latex.el (org-export-latex-quotation-marks): Use
4957         `org-if-unprotected-1'.
4958         (org-export-latex-set-initial-vars): Check for class definition in
4959         property.
4961         * org-macs.el (org-if-unprotected-1): New macro.
4963 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4965         * org-compat.el (org-count-lines): New function.
4967         * org-exp.el (org-export-format-source-code-or-example): Handle
4968         switches related to text areas.
4970         * org.el (org-activate-footnote-links): Don't allow match inside a
4971         link.
4973         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4975         * org-export-latex.el (org-export-latex-links): Keep a relative
4976         path relative also after export.
4978         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4980         * org.el (org-make-tags-matcher): Never use IDO for completing the
4981         tags matcher match string.
4982         (org-completing-read): Also remove the special biding for "?".
4984         * org-attach.el (org-attach-allow-inheritance): New option.
4985         (org-attach-inherited): New variable.
4986         (org-attach-dir): Handle properties related to the attachment
4987         directory.
4988         (org-attach-check-absolute-path): New function.
4989         (org-attach-set-directory, org-attach-set-inherit): New commands.
4990         (org-attach): Accommodate the new commands in the dispatcher.
4992 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4994         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4995         `window-full-width-p'.
4997         * org-exp.el (org-export-as-html): Only check for images files
4998         that really can be inlined
5000         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
5001         list of extensions to be a parameter.
5003         * org-exp.el (org-export-html-inline-image-extensions): New
5004         variable.
5006         * org-agenda.el (org-prepare-agenda): Use
5007         `org-agenda-block-separator'.
5008         (org-agenda-block-separator): New option.
5010 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
5012         * org-export-latex.el (org-export-latex-tables): Call
5013         `org-table-clean-before-export' with the new optional argument.
5015         * org-exp.el (org-table-clean-before-export): New optional
5016         parameter MAYBE-QUOTED, allows for quoted characters like \# in
5017         first column.
5019 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
5021         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
5022         histograms.
5024         * org-colview.el (org-colview-construct-allowed-dates): Better
5025         error catching when a date/time property does not have allowed
5026         values defined.
5028         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
5029         Better error catching when a date/time property does not have
5030         allowed values defined.
5032 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
5034         * org.el (org-map-entries): Restore point and restriction after
5035         `org-map-entries'.
5037 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
5039         * org.el (org-time=, org-time<, org-time<=, org-time>)
5040         (org-time>=, org-time<>): Make sure both values are dates.
5042 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
5044         * org-archive.el (org-extract-archive-heading): Allow %s for file
5045         name also in achive location heading.
5047 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
5049         * org-archive.el (org-add-archive-files): Uniquify the list before
5050         returning it.
5052 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
5054         * org-compat.el (org-fit-window-to-buffer): Use
5055         `window-full-width-p'.
5057         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
5058         space after the colon in short examples.
5060         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
5061         enforce a space after the colon.  However, we also allow lines
5062         that are *only* a colon.
5063         (org-export-as-html): Enforce the space after the colon in short
5064         examples.
5065         (org-export-preprocess-string): Do the colon example protection
5066         earlier.
5067         (org-export-remove-timestamps): Do not check for protection at the
5068         end of the line.
5070 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
5072         * org.el (org-format-latex-options): Add new matcher for single
5073         letters between dollars.
5074         (org-get-header): Function removed.
5075         (org-heading-components): New function.
5077         * org-exp.el (org-export-define-heading-targets): Record ID's also
5078         as alternative targets.
5079         (org-export-as-html): Interpret "id:" links to other files by
5080         preserving the relative path.
5082         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
5083         is nil.
5085         * org-exp.el (org-export-normalize-links): Protect the main link,
5086         to avoid special character processing.
5088         * org-export-latex.el (org-export-latex-special-keyword-regexp):
5089         New variable.
5090         (org-export-latex-special-string-regexps): Variable removed.
5091         (org-export-latex-keywords): Use the new regexp.
5093         * org-exp.el (org-export-handle-include-files): Fetch switches and
5094         put them into the BEGIN statement.
5096         * org-timer.el (org-timer-mode-line-string): New variable.
5098         * org-clock.el (org-clock-mode-line-map): Renamed from
5099         `org-clock-mode-map'.
5100         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
5101         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
5102         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
5103         (org-clock-remove-overlays): Renamed from
5104         `org-remove-clock-overlays'.
5106         * org-timer.el (org-timer-pause-or-continue): Implement stopping
5107         and mode line display.
5108         (org-timer-stop): New command.
5109         (org-timer-seconds): Return correct time when timer is paused.
5110         (org-timer-mode-line-timer): New variable.
5111         (org-timer-set-mode-line, org-timer-update-mode-line): New
5112         functions.
5114         * org.el (org-insert-heading):  Handle new value `auto' for
5115         `org-blank-before-new-entry'.
5116         (org-org-menu): Add new items for timer functions.
5118         * org-list.el (org-insert-item): Handle new value `auto' for
5119         `org-blank-before-new-entry'.
5121         * org.el (org-blank-before-new-entry): New value `auto', made
5122         default.
5124 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
5126         * org-exp.el (org-export-normalize-links): If the link is also
5127         used as the description, protect the description.
5129 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
5131         * org.el (org-closest-date): Fix bug with yearly repeats, in
5132         combination with preference of the past as it is used for deadline
5133         and scheduling search.
5135         * org-exp.el (org-html-handle-time-stamps): No longer check for
5136         the `org-export-with-timestamps' option, because the preprocesser
5137         has taken care of this already.
5139         * org.el (org-entry-properties): Catch the case when this is
5140         called in a non-org-mode file.
5142         * org-export-latex.el (org-export-latex-remove-from-headlines):
5143         Variable made obsolete, also LaTeX export now uses the standard
5144         variables.
5145         (org-export-as-latex): Add the timestamps parameter to the
5146         preprocessor parameter list.
5147         (org-export-latex-content): Export the remaining keywords without
5148         considering to remove them.
5149         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
5150         Use bold font instead of tt font for the keywords.
5151         (org-export-latex-fontify-headline): Format headlines, assuming
5152         that all keywords still present should be published.
5153         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
5154         publish what ever remains of the time stamps.
5155         (org-export-latex-list-parameters): New option.
5156         (org-export-latex-lists): Pass additional parameters to the list
5157         converter.
5159         * org-exp.el (org-export-preprocess-string): Remove clock lines
5160         and timestamps already in the preprocesor.
5161         (org-export-remove-timestamps, org-export-remove-clock-lines): New
5162         functions.
5163         (org-export-as-ascii, org-export-as-html): Add the timestamps
5164         parameter to the preprocessor parameter list.
5166         * org-list.el (org-list-parse-list): Parse for checkboxes.
5167         (org-list-to-generic): Introduce and handle new parameters :cbon
5168         and :cboff.
5169         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
5170         optional parameter PARAMS.
5172         * org-export-latex.el (org-export-latex-special-chars): Fix
5173         problems with interpreting dollar signs.
5174         (org-inside-latex-math-p): New function.
5175         (org-export-latex-preprocess): Protect all the math fragments.
5177         * org.el (org-latex-regexps): Allow a dash after a dollar.
5179         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
5180         mark after copying.
5182         * org-agenda.el (org-run-agenda-series): Have series options set
5183         when finalizing the agenda.
5185         * org-exp.el (org-export-format-source-code-or-example): Protect
5186         the converted examples.
5188         * org.el (org-set-regexps-and-options): Fix the regexp
5189         `org-complex-heading-regexp'.
5191 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
5193         * org.el (org-edit-src-get-label-format): New function.
5194         (org-coderef-label-format): New option.
5195         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
5196         a label format specification and make sure it is used in the edit
5197         buffer.
5198         (org-edit-src-get-label-format): New function.
5199         (org-store-link): Handle new coderef formats.
5200         (org-link-search): Handle new coderef formats.
5202         * org-footnote.el (org-footnote-create-definition)
5203         (org-footnote-goto-local-insertion-point): Make footnote insertion
5204         work correctly when the "Footnotes" headline is the last line in
5205         the buffer.
5207         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
5208         the location.
5210 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
5212         * org-w3m.el (org-w3m): New customization group.
5213         (org-w3m-deactivate-mark): New option.
5214         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
5215         option say not to.
5217 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
5219         * org.el (org-set-font-lock-defaults): Trigger footnote
5220         fontification.
5221         (org-activate-footnote-links): New function.
5222         (org-activate-links): New entry `footnote'.
5224         * org-faces.el (org-footnote): New face.
5226 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
5228         * org-macs.el (org-re): Handle the [:word:] class.
5230         * org-exp.el (org-export-preprocess-string): Call
5231         `org-export-protect-colon-examples'.
5232         (org-export-protect-colon-examples): Renamed from
5233         `org-export-protect-examples', and scope limited to lines starting
5234         with a colon.
5236 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
5238         * org-exp.el (org-export-preprocess-string): Move the preprocess
5239         hook to after turning on Org-mode.
5240         (org-export-preprocess-after-include-files-hook)
5241         (org-export-preprocess-after-tree-selection-hook)
5242         (org-export-preprocess-before-backend-specifics-hook)
5243         (org-export-preprocess-final-hook): New hooks.
5244         (org-export-preprocess-string): Run the new hooks.
5246         * org.el (org-ctrl-c-minus): Fix indentation for new items.
5248         * org-footnote.el: New file.
5250         * org.el (org-footnote): Require footnote code.
5251         (org-startup-options): Add new footnote options.
5252         (org-mode-map): New keybindig for footnotes.
5253         (org-ctrl-c-ctrl-c): Add function at footnotes.
5254         (org-org-menu): New menu entries for footnotes.
5256         * org-export-latex.el (org-export-as-latex): Pass footnote
5257         variable to preprocessor.
5258         (org-export-latex-preprocess): Treat multiple references to a
5259         footnote.
5261         * org-exp.el (org-export-preprocess-string): Call
5262         `org-footnote-normalize'.
5263         (org-export-as-ascii, org-export-as-html): Pass footnote variable
5264         to preprocessor.
5265         (org-export-as-html): Treat multiple references to a footnote.
5267 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
5269         * org-export-latex.el (org-export-latex-links): Handle coderef
5270         links.
5272         * org.el (org-bracket-link-analytic-regexp++): New variable.
5273         (org-make-link-regexps): Initialize
5274         `org-bracket-link-analytic-regexp++'.
5275         (org-store-link): Implement special case in edit-src buffer.
5276         (org-insert-link): No use of ide to insert stored links.
5277         (org-link-search): Implement special case for coderefs.
5279         * org-exp.el (org-export-html-scripts): New constant.
5280         (org-export-html-style-default): Add a new style for highlighted
5281         code.
5282         (org-export-code-refs): New variable.
5283         (org-export-preprocess-string): Initialize `org-export-code-refs'.
5284         Call `org-export-replace-src-segments-and-examples'
5285         No longer call `org-export-protect-examples'.
5286         (org-export-target-internal-links): Take care of coderef targets.
5287         (org-export-last-code-line-counter-value): New variable.
5288         (org-export-replace-src-segments-and-examples): Renamed from
5289         `org-export-replace-src-segments', and modified.
5290         (org-export-format-source-code-or-example): Renamed from
5291         `org-export-format-source-code'.
5292         (org-export-number-lines): New function.
5293         (org-export-as-ascii, org-export-as-html): Handle coderef links.
5295 --------------------------------------------------------------------------
5297 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
5299         * org-remember.el (org-remember-handler): Safer way to get a new
5300         buffer accessing the target file.
5302         * org.el (org-refile-get-location): Handle case of current buffer
5303         not having a file associated with it.
5305 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
5307         * org-table.el (org-table-get-formula): Only ask to overwrite
5308         field formula if there really is one.
5310         * org-id.el (org-id-find): Allow the ID to be a symbol or a
5311         number, by converting these to a string.
5313         * org-colview.el (org-dblock-write:columnview): Allow ID to be
5314         located in a different file.
5316         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
5317         org-colview.el.
5319 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
5321         * org.el (org-completion-use-ido): Enhance docstring of
5322         `org-completion-use-ido'.
5324         * org-export-latex.el (org-export-latex-make-header): Double the %
5325         in the time stamp format.
5326         (org-export-latex-special-chars): Handle case where there is no
5327         match group 3.
5329 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
5331         * org.el (org-get-refile-targets, org-refile-get-location): Use
5332         expanded file name to improve comparison.
5334 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
5336         * org.el (org-scan-tags): Rescan for tags, to get the correct
5337         upcase/downcase stuff.  This slows things down for now, but it
5338         works.
5339         (org-mode): Make sure the tag-faces regexp is initialized.
5341         * org-export-latex.el (org-export-latex-links): Fix bug with
5342         undefined label.
5344         * org-table.el (org-table-get-specials): Set
5345         `org-table-current-last-data-line'.
5346         (org-table-current-last-data-line): New variable.
5347         (org-table-insert-column, org-table-delete-column)
5348         (org-table-move-column, org-table-fix-formulas): Call
5349         `org-table-fix-formulas' a second time to fix the $LR references.
5350         (org-table-get-specials): Add the $LR references to the tables.
5351         (org-table-get-formula): Do not offer last-row names as LHS of
5352         formulas.
5354         * org.el (org-store-link): Capture link description from
5355         `org-id-store-link'.
5357         * org-exp.el (org-export-html-format-image): Add the / to the end
5358         of the <img> tag.
5359         (org-export-format-source-code): Surround example by empty lines,
5360         to make sure it will not be inside a paragraph.
5362         * org.el (org-ido-switchb): New function.
5364 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
5366         * org-agenda.el (org-agenda-show): New prefix argument
5367         FULL-ENTRY.
5369         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
5370         argument.
5372         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
5373         `org-agenda-change-all-lines'.
5374         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
5375         tags are now retrieved locally.
5377 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
5379         * org.el (org-get-outline-path): Fix bug if level is not given.
5380         (org-org-menu): Do not quote function in menu vector.
5382         * org-agenda.el (org-finalize-agenda): Fix typo with variable
5383         name.
5385 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
5387         * org.el (org-refile): Avoid refiling to within the region to be
5388         refiled.
5390         * org-export-latex.el (org-export-latex-special-chars): Replace
5391         special characters also in tables.
5393         * org-agenda.el (org-agenda-change-all-lines): New argument
5394         FORCE-TAGS.
5395         (org-agenda-set-tags): Cet the new tags and pass them to
5396         `org-format-agenda-item'.
5398 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
5400         * org-export-latex.el (org-export-latex-classes): Add longable as
5401         a default package to all classes.
5402         (org-export-latex-tables): Handle the longtable attribute and the
5403         align attribute.
5405         * org-table.el (orgtbl-to-generic): Handle tables that start with
5406         a hline.
5408         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
5409         \verb for colde-like snippets.
5410         (org-export-as-latex): Fix issues with region export.
5412         * org.el (org-up-heading-safe): Speed up function by using a
5413         direct regexp search.
5414         (org-olpa): New variable.
5415         (org-get-outline-path): Speed-up path constructions in cases where
5416         this is possible because the entire hierarchy is scanned anyway.
5417         (org-refile-get-location): Don't compare the truenames of files,
5418         this is too slow.
5419         (org-goto-max-level): New option.
5420         (org-goto): Use `org-goto-max-level'.
5422 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
5424         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
5425         Strip angle brackets from message-ids in the former and don't do
5426         it in the latter.
5427         (org-gnus-follow-link): Open summary reliable, even if the last
5428         messages were deleted, and handle empty groups, too.
5430 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
5432         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
5433         instead of \texttt for the =...= and ~===~ emphasis environments.
5434         (org-export-as-latex): Remove any old :org-license-to-kill text
5435         properties.
5436         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
5437         (org-export-latex-make-header): Add some hard space after the
5438         table of contents.
5439         (org-export-latex-first-lines): Accept RBEG argument.  Mark
5440         exported text so that it will be excuded in further steps.
5442         * org-table.el (org-table-get-specials): Make @0 reference the
5443         last line in a table.
5444         (org-table-recalculate): Improve docstring.
5446 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
5448         * org.el (org-log-done): Fix docstring.
5450 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
5452         * org-exp.el (org-export-html-format-image): Fix bugs.
5454         * org-export-latex.el (org-export-latex-tables)
5455         (org-export-latex-links): Implement attribute, label, and caption
5456         handling.
5458         * org-exp.el (org-export-html-style-default): Add style
5459         definitions for the figure div.
5460         (org-export-preprocess-string, org-export-as-html): Implement
5461         attribute, label, and caption handling.
5462         (org-export-attach-captions-and-attributes): New function.
5463         (org-export-html-format-image): New function.
5464         (org-format-org-table-html): Implement attribute, label, and
5465         caption handling.
5467         * org.el (org-find-text-property-in-string): New function.
5468         (org-extract-attributes): Use the property org-attr instead of
5469         org-attrobutes, because this property is now set with the #+ATTR
5470         lines.
5472 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
5474         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
5475         the case that FROM is nil.
5477         * org.el (org-before-first-heading-p): New function.
5479 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
5481         * org-exp.el (org-export-as-html): Do not add a space before
5482         enforces line breaks.
5483         (org-export-as-html): Close paragraph before blockquote and verse
5484         tags.
5486 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
5488         * org-id.el (org-id-locations-file): Wrap file name with
5489         `convert-standard-filename'.
5490         (org-id-files): New variable.
5491         (org-id-use-hash): New option.
5492         (org-id-update-id-locations): Also search in all files current
5493         listed in `org-id-files'.  Convert the resulting alist to a hash
5494         if the user customation says so.
5495         (org-id-locations-save): Handle he case if `org-id-locations' is a
5496         hash.
5497         (org-id-locations-load): Convert the alist to a hash.
5498         (org-id-add-location): Handle the hast case.
5499         (kill-emacs-hook): Make sure id locations are saved when Emacs is
5500         exited.
5501         (org-id-hash-to-alist, org-id-alist-to-hash)
5502         (org-id-paste-tracker): New functions.
5504 -------------------------------------------------------------------------
5506 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5508         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
5509         bindings of calendar variables.
5511         * org-table.el (org-table-find-row-type): Renamed from
5512         `org-find-row-type'.
5513         (org-table-rewrite-old-row-references): Renamed from
5514         `org-rewrite-old-row-references'.
5515         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
5516         (org-table-cleanup-narrow-column-properties): Renamed from
5517         `org-cleanup-narrow-column-properties'.
5519 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
5521         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
5522         for better error messages.
5523         (org-table-get-descriptor-line): Supply the new arguments to
5524         `org-find-row-type'.
5525         (org-table-error-on-row-ref-crossing-hline): New option.
5527         * org.el (org-target-link-regexp): Make buffer-local.
5528         (org-move-subtree-down): Fix bug with trees at beginning of
5529         buffer.
5531 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
5533         * org-faces.el (org-set-tag-faces): New function.
5534         (org-tags-special-faces-re): New variable.
5536         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
5538         * org-faces.el (org-tag-faces): New option.
5539         (org-tag): Mention `org-tag-faces' in the docstring.
5541 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
5543         * org-exp.el (org-export-html-style-default): Implement new
5544         quoting.
5546         * org-jsinfo.el (org-infojs-template): Implement new quoting.
5548         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
5549         command to the `w3m-minor-mode-map'.
5551         * org-archive.el (org-archive-to-archive-sibling): Protect
5552         `this-command' to avoid appending kills during archiving.
5554         * org-exp.el (org-export-with-priority): New variable.
5555         (org-export-add-options-to-plist): Use `org-export-plist-vars'
5556         instead of internal list of strings and properties.
5557         (org-print-icalendar-entries): Retrieve the location property with
5558         inheritance.
5560 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
5562         * org-exp.el (org-export-with-todo-keywords): New option.
5563         (org-export-plist-vars): Include also the keys for the #+OPTIONS
5564         line.
5565         (org-default-export-plist, org-export-add-options-to-plist)
5566         (org-export-as-ascii, org-export-as-html): Use the new structure
5567         of `org-export-plist-vars'.
5569         * org.el (org-map-entries): Return all values.
5571 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
5573         * org.el (org-matcher-time): Recognize more special values.
5575         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
5577 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
5579         * org.el (org-tags-exclude-from-inheritance): New option.
5580         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
5581         `org-tags-exclude-from-inheritance'.
5583         * org-agenda.el (org-agenda-show-inherited-tags): New option.
5584         (org-format-agenda-item): Add inherited tags to the agenda line
5585         string, and make sure that properties are kept when downcasing the
5586         tags list.
5587         (org-agenda-add-inherited-tags): New function.
5588         (org-downcase-keep-props): New function.
5590         * org.el (org-scan-tags): Mark inherited tags with a text
5591         property.
5592         (org-get-tags-at): Mark inherited tags with a text property.
5593         (org-add-prop-inherited): New function.
5595         * org-agenda.el (org-agenda-add-inherited-tags): New function.
5596         (org-agenda-show-inherited-tags): New option.
5598 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
5600         * org.el (org-modules): Add org-w3m to the default modules.
5602         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5603         orgtbl-mode.
5604         (orgtabl-create-or-convert-from-region): New command.
5606         * org-exp.el (org-export-as-ascii): Remove the handling of
5607         targets.
5608         (org-export-ascii-preprocess): Handle targets already in this
5609         function.
5611 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
5613         * org-timer.el (org-timer-start-time): Define this variable.
5614         (org-timer-item): Make argument optional.
5616         * org-list.el (org-insert-item): Automatically insert a timer item
5617         if the current list is a timer list.
5619         * org-timer.el: New file.
5621         * org-publish.el (org-publish-org-index): Only exclude the index
5622         file in the main directory from being added to the site-map.
5623         (org-publish-get-project-from-filename): If the current project is
5624         a component, start publishing from the parent project.
5626 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
5628         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5630         * org-publish.el (org-publish-org-index): Improve removal of
5631         temporary buffers.
5633         * org-agenda.el (org-get-closed): Re-apply changes
5634         accidentially overwritten by last commit to Emacs.
5636         * org.el (org-outline-path-complete-in-steps): New option.
5637         (org-refile-get-location): Honor
5638         `org-outline-path-complete-in-steps'.
5639         (org-agenda-change-all-lines, org-tags-sparse-tree)
5640         (org-time-string-to-absolute, org-small-year-to-year)
5641         (org-link-escape): Re-apply changes accidentially overwritten
5642         by last commit to Emacs
5644 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
5646         * org-clock.el (org-dblock-write:clocktable): Make sure the
5647         clocktable sees the first line.
5648         (org-clock-in): Warn if the clock cannot be resumed.
5650 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
5652         * org.el (org-open-at-point): Fix mixup about interactive and
5653         non-interactive elisp links.
5655 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5657         * org-exp.el (org-export-preprocess-string): Allow one comment
5658         line before the first headline to always be included.  This is
5659         to not miss a commented target.
5661         * org-mouse.el (org-mouse-insert-item): Call
5662         `org-indent-to-column' instead of `indent-to', for XEmacs
5663         compatibility.
5665         * org.el (org-refile-targets): Fix customize definition so
5666         that it works also in XEmacs.
5667         (org-fixup-indentation): Call `org-indent-to-column' instead
5668         of `indent-to', for XEmacs compatibility.
5670 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
5672         * org-mew.el (org-mew-store-link): Get the correct case folder
5673         for refiled messages.
5675 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5677         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5678         line break indicators.
5680         * org.el (org-ido-completing-read): Remove the "i:" prefix for
5681         ido-completion propts.
5683 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
5685         * org-remember.el (org-remember-apply-template): Use
5686         `org-substring-no-properties'.
5688         * org-compat.el (org-substring-no-properties): New function.
5690         * org-remember.el (org-remember-apply-template): Use
5691         `org-substring-no-properties' for compatibility.
5693         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5694         option.
5695         (org-fix-bullet-type): respect
5696         `org-list-two-spaces-after-bullet-regexp'.
5698         * org-clock.el (org-clock-load): Clean up the code.
5700         * org.el (org-adaptive-fill-function): Allow two spaces after
5701         "1." as a list bullet.
5703 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
5705         * org-clock.el (org-clock-save, org-clock-load): Check for
5706         live buffers, existing files, and buffer file names to ensure
5707         consistent information.
5708         (org-clock-persist): Make `clock' a special value of this
5709         variable, and improve docstring.
5711         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5712         (org-get-string-indentation): Adapt indentation when the bullet
5713         width changes.
5715 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
5717         * org-remember.el (org-remember-finalize): Make interactive.
5718         (org-remember-kill): New command.
5719         (org-remember-finish-immediately): Call `org-remember-finalize'
5720         directly.
5721         (org-remember-finalize): Make `org-remember-finalize' an interactive
5722         function.
5724 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
5726         * org-remember.el (org-remember-apply-template): No ido completion
5727         for free prompts in remember templates.
5728         (org-remember-before-finalize-hook): New hook.
5729         (org-remember-mode): New minor mode.
5730         (org-remember-apply-template): Turn on `org-remember-mode'.
5732         * org-id.el (org-id-add-location): Avoid error when no file is
5733         given.
5735         * org-remember.el (org-remember-apply-template): Fix the way how
5736         the list of allowed properties is retrieved from the target file.
5738         * org.el (org-insert-link): Improve file link matching.
5740 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
5742         * org-colview.el (org-columns-display-here): New argument
5743         DATELINE, to trigger using the new face.
5744         (org-agenda-colview-summarize): Call `org-columns-display-here'
5745         with the new argument.
5747         * org-faces.el (org-agenda-column-dateline): New face.
5749         * org-publish.el (org-publish-org-index): Use index-title at page
5750         title, not as section.
5752         * org-exp.el (org-export-html-format-desc): Respect the
5753         org-protect property.
5754         (org-export-as-html): Protect image specifiers that are in the
5755         description part of a link.
5757         * org.el (org-sort-entries-or-items, org-completing-read)
5758         (org-refile-get-location, org-olpath-completing-read, org-todo)
5759         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5760         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5761         (org-set-property, org-delete-property)
5762         (org-delete-property-globally): Use `org-ido-completing-read'.
5764         * org-remember.el (org-remember-apply-template): Use
5765         `org-ido-completing-read'.
5767         * org-publish.el (org-publish): Use `org-ido-completing-read'.
5769         * org-colview.el (org-columns-edit-value, org-columns-new)
5770         (org-insert-columns-dblock): Use `org-ido-completing-read'.
5772         * org-colview-xemacs.el (org-columns-edit-value)
5773         (org-columns-new, org-insert-columns-dblock): Use
5774         `org-ido-completing-read'.
5776         * org-attach.el (org-attach-delete-one, org-attach-open): Use
5777         `org-ido-completing-read'.
5779         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5780         `org-ido-completing-read'.
5782         * org.el (org-time-today): New function.
5783         (org-matcher-time): Use `org-time-today'.  Add special treatment
5784         for "<tomorrow>" and "<yesterday>".
5785         (org-ido-completing-read): New function.
5786         (org-completion-use-ido): New option.
5788         * org-exp.el (org-export-format-source-code): Fix bug in require
5789         htmlize code.
5790         (org-export-target-internal-links): Fix bug in search for text
5791         property.
5793 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
5795         * org-export-latex.el (org-export-latex-subcontent): Interprete
5796         target aliases as additonal labels.
5798         * org-exp.el (org-export-target-aliases): New variable.
5799         (org-export-preprocess-string)
5800         (org-export-handle-invisible-targets): Fill the alias alist.
5801         (org-export-as-html): Remove the &nbsp; from the anchor, and also
5802         assign an id.
5803         (org-html-level-start): Insert the target aliases as additonal
5804         anchors.
5806         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5807         picture area.
5809 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
5811         * org.el (org-open-at-mouse): Ensure correct link abbreviations
5812         when following a link with the mouse from the agenda.
5814         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5815         headlines are created.
5817 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5819         * org-exp.el (org-export-preprocess-string): Reorder so that we
5820         can still see ID properties when we collect targets.
5821         (org-export-target-internal-links): Also store targets for ID's.
5823         * org.el (org-link-translation-function): New option.
5824         (org-open-at-point): Call `org-link-translation-function' if
5825         non-nil.
5826         (org-translate-link): New function.
5827         (org-translate-link-from-planner): New function.
5828         (org-open-at-point): Allow interactive commands in elisp links.
5830         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5831         iCalendar quoting.  The new one seems to caus problems with
5832         applications.
5834         * org.el (org-yank): Set `this-command' to `yank', so that
5835         `yank-pop' will work.
5837 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5839         * org-id.el (org-id-search-archives): New option.
5841         * org.el (org-link-to-org-use-id): New option.
5842         (org-store-link): Use `org-link-to-org-use-id'.
5843         (org-id): Make org-id.el a standard component.
5845 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5847         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5848         hexified version of the tag.
5850         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5851         compliance as far as quoting is concerned.
5853         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5855         * org.el (org-up-heading-safe, org-forward-same-level): Always
5856         call `org-back-to-heading' instead of `outline-back-to-heading'.
5857         (org-back-to-heading): New wrapper around outline-back-to-heading,
5858         with a useful error message telling where the error happened.
5860         * org-list.el (org-update-checkbox-count): Always call
5861         `org-back-to-heading' instead of `outline-back-to-heading'.
5863         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5864         has an `alt' attribute, to ensure XHTML validation.
5866 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5868         * org-publish.el (org-publish-attachment): Allow publishing to
5869         overwrite attachment files.
5871         * org-agenda.el (org-agenda-timerange-leaders): New option.
5872         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5874         * org.el (org-edit-src-exit): Untabify ASCII image before
5875         returning.
5888 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5890         * org.el (org-yank): Make any prefix force normal yanking.
5891         Suppress folding if text would be swallowed into a folded
5892         subtree.
5893         (org-yank-folded-subtrees, org-yank): Docstring updates.
5895         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5896         defined as 0.
5898         * org-exp.el (org-export-language-setup): Add Catalan and
5899         Esperanto language entries.
5901 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5903         * org.el (org-refile): Allow refiling of entire regions.
5905         * org-clock.el (org-clock-time%): New function.
5907         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5908         retrieve property values.
5910 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5912         * org-agenda.el (org-agenda-list): Handle the value `only' of
5913         org-agenda-show-log'.
5914         (org-agenda-log-mode): Interpret a double prefix arg.
5916 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5918         * org-exp.el (org-export-html-footnotes-section): New variable.
5919         (org-export-as-html): Use `org-export-html-footnotes-section' to
5920         insert the footnotes.
5921         (org-export-language-setup): Add "Footnotes" to language words.
5923 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5925         * org.el (org-yank): Fix bug when not inserting a subtree.
5927 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5929         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5930         instead of `vm-beginning-of-message'.
5932         * org.el (org-make-link-regexps): Make sure that links to gnus can
5933         contain brackets.
5935 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5937         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5938         code.
5940         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5941         shell output.
5943         * org.el (org-link-abbrev-alist): Improve customization type.
5945         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5946         functions.
5948         * org-agenda.el (org-agenda-get-progress): Renamed from
5949         `org-get-closed'.  Implement searching for state changes as well.
5950         (org-agenda-log-mode-items): New option.
5951         (org-agenda-log-mode): New option prefix argument, interpreted as
5952         request to show all possible progress info.
5953         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5954         `org-get-closed'.
5955         (org-agenda-set-mode-name): Handle the more complex log mode
5956         settings.
5957         (org-get-closed): New alias, pointing to `org-get-progress'.
5959 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5961         * org.el (org-file-apps-defaults-gnu)
5962         (org-file-apps-defaults-macosx)
5963         (org-file-apps-defaults-windowsnt): Add an entry defining the
5964         system command.
5965         (org-file-apps): Allow `system' as key and value.
5966         (org-open-at-point): Explain the effect of a double prefix arg.
5967         (org-open-file): If the argument `in-emacs' is (16),
5968         i.e. corresponding to a double prefix argument, try to open the
5969         file externally.
5971 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5973         * org.el (org-insert-link): Abbreviate absolute files names in
5974         links.  Also, fix a bug in which the double C-u prefix would not
5975         be honored.
5977 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5979         * org.el (org-insert-heading): If buffer does not end with a
5980         newline, add one if necessary to insert headline correctly.
5982         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5983         paragraphs, not inside.
5985         * org.el (org-todo): Quote
5986         `org-agenda-headline-snapshot-before-repeat'.
5988         * org-exp.el (org-export-as-html): Fully process link descriptions.
5989         (org-export-html-format-desc): New function.
5990         (org-export-as-html): Collect footnotes into the correct basket.
5991         (org-html-protect): No longer protect quotations marks here, this
5992         goes wrong.
5994         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5995         BEG.
5997         * org-compat.el (org-fit-window-to-buffer): New function (not
5998         really, a preliminary and incomplete version was present earlier,
5999         but not used).
6001         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
6002         `org-fit-window-to-buffer'.
6004         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
6006         * org-agenda.el (org-agenda-get-restriction-and-command)
6007         (org-fit-agenda-window, org-agenda-convert-date): Use
6008         `org-fit-window-to-buffer'.
6010         * org-exp.el (org-export-as-html): Process href links through
6011         `org-export-html-format-href'.
6012         (org-export-html-format-href): New function.
6014         * org-agenda.el (org-agenda-todo): Update only the current
6015         headline if this is a repeated TODO, marked done for today.
6016         (org-agenda-change-all-lines): New argument JUST-THIS, to change
6017         only the current line.
6019         * org.el (org-todo): Take a snapshot of the headline if the
6020         repeater might change it.
6022 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
6024         * org-publish.el (org-publish-find-title): Remove buffers visited
6025         only for extracting the title.
6027         * org-exp.el (org-export-html-style)
6028         (org-export-html-style-default): Mark style definitions as
6029         unparsed CDATA.
6031         * org-publish.el (org-publish-validate-link): Function
6032         re-introduced.
6034 2008-11-02  Charles Sebold  <csebold@gmail.com>
6036         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
6037         property.
6038         (org-plot-quote-timestamp-field): New function.
6039         (org-plot-quote-tsv-field): Call timestamp field function when
6040         necessary rather than just quoting as a string.
6041         (org-plot/gnuplot-to-data): Pass in timefmt property.
6042         (org-plot/gnuplot-script): Supports timefmt property.
6043         (org-plot/gnuplot): Checks for timestamp column before checking
6044         for text index column.
6046 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
6048         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
6050         * org-publish.el (org-publish-org-index): Create a section in the
6051         index file.
6052         (org-publish-org-index): Stop linking to directories.
6054         * org.el (org-emphasis-alist): Use span instead of <u> to
6055         underline text.
6057         * org-exp.el (org-export-as-html): Make sure <p> is closed before
6058         <pre> sections.
6060 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
6062         * org-jsinfo.el (org-infojs-template): Remove language attribute
6063         from script tag.
6065 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
6067         * org-agenda.el (org-agenda-remove-marked-text): New function.
6068         (org-agenda-mark-filtered-text)
6069         (org-agenda-unmark-filtered-text): New functions.
6070         (org-write-agenda): Remove fltered text.
6072         * org.el (org-make-tags-matcher): Give access to TODO "property"
6073         without speed penalty.
6075 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
6077         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
6078         option.
6079         (org-store-link-props): Make sure adding to the plist works
6080         correctly.
6082         * org-gnus.el (org-gnus-no-new-news): New function.
6083         (org-gnus-follow-link): Allow the article ID to be a message-id,
6084         in addition to allowing article numbers.  Message IDs make much
6085         more roubust links.
6086         (org-gnus-store-link): Use message-id to create link.
6088 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
6090         * org.el (org-emphasize): Reverse the selection array.
6091         (org-emphasis-alist): Set <code> tags for the verbatim
6092         environment.
6094         * org-remember.el (org-remember-handler): Fix bug with
6095         prefix-related changing of the note storage target.
6097         * org-exp.el (org-print-icalendar-entries): Make the exported
6098         priorities compatible with RFC 2445.
6100         * org-clock.el (org-clock-save): Insert time stamp without
6101         dependence on time-stamp.el.
6103 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
6105         * org.el ("saveplace"): If saveplace puts point into an invisible
6106         location, make it visible.
6107         (org-make-tags-matcher): Allow inactive time stamps in time
6108         comparisons.
6109         (org-yank-adjusted-subtrees): New option.
6110         (org-yank): Incorporate adjusting trees.
6111         (org-paste-subtree): New argument FOR-YANK which will cause
6112         insertion at point without backing up over white lines, and leave
6113         point at the end of the inserted text.  Also if the cursor is
6114         at the beginning of a headline, use the same level or the inserted
6115         tree.
6117         * org-publish.el (org-publish-get-base-files-1): Deal correctly
6118         with broken symlinks
6120 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
6122         * org-exp.el (org-export-select-tags, org-get-current-options):
6123         Fix typo.
6125 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
6127         * org-agenda.el (org-format-agenda-item)
6128         (org-agenda-filter-make-matcher): Make sure tags are stored and
6129         compared donwcased.
6131 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
6133         * org.el (org-insert-todo-heading): Fix bug with force-heading
6134         argument.
6136 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
6138         * org-clock.el (org-clock-in-resume): Add a custom option to
6139         toggle starting the clock from an open clock line.
6140         (org-clock-in): When clocking in to an entry, if
6141         `org-clock-in-resume' is set, check if the first clock line is
6142         open and if so, start the clock from the time in the clock line.
6143         (org-clock-persist): Add a custom option to toggle clock
6144         persistence.
6145         (org-clock-persist-query-save): Add a custom option to toggle
6146         asking the user if they want to save the running clock when
6147         exiting.
6148         (org-clock-persist-query-resume): Add a custom option to toggle
6149         asking the user if they want to resume the saved clock when Emacs
6150         is restarted.
6151         (org-clock-save): Add a function to save clock data.
6152         This includes the contents of `org-clock-history' and the buffer
6153         and position of the currently clocked task, if any.
6154         (org-clock-load): Add a function to load clock data.
6155         This populates `org-clock-history', and resumes the saved clocked
6156         task if there is one.
6157         (org-clock-persistence-insinuate): Add a method to set up the
6158         hooks for clock persistence.
6160 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
6162         * org-exp.el (org-export-as-ascii): Handle the case that we are
6163         publishing from an indirect buffer.
6165         * org-table.el (org-table-copy-down): Fix bug with time stamp
6166         increment.
6168         * org-mouse.el (org-mouse-features): New option.
6169         (org-mode-hook): Turn on features depending on
6170         `org-mouse-features'.
6172         * org.el (org-insert-heading-respect-content): Force heading
6173         creation.
6174         (org-insert-heading): keep the folding state of the heading before
6175         the inserted one.
6177 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6179         * org-archive.el (org-archive-to-archive-sibling): Handle top
6180         level headlines better.
6182 2008-10-21  Bastien Guerry  <bzg@altern.org>
6184         * org-export-latex.el (org-export-latex-classes): Added
6185         \usepackage{graphicx} to the default list of packages.
6187 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
6189         * org-agenda.el (org-agenda-filter): Renamed from
6190         `org-agenda-filter-tags'.
6192 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
6194         * org.el (org-entry-properties): Add CATEGORY property, iven if it
6195         is not defined as a property in this entry.
6196         (org-add-log-note): Mask prefix argument when immediately storing
6197         the note.
6199         * org-agenda.el (org-agenda-filter-effort-default-operator): New
6200         option.
6202 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
6204         * org.el (org-add-log-setup): Bugfix; code to find insertion point
6205         after drawers was skipping ahead one line too many, so notes were
6206         inserted after the first note instead of before it.
6208 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
6210         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
6211         New variables.
6212         (org-prepare-agenda): Reset the filter tags.
6213         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
6214         Show filter tags in mode line.
6216         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
6217         formatter.
6219         * org-export-latex.el (org-latex-entities-regexp): New constant.
6220         (org-export-as-pdf): Use two calls to `shell-command'.
6222 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
6224         * org-export-latex.el (org-export-latex-treat-sub-super-char):
6225         Honor the {} value of the subsuperscript setting.  Make sure that
6226         longer subsuperscripts are typeset in a roman font.
6228         * org.el (org-clock-update-time-maybe): Compute negative clock
6229         intervals correctly.
6231 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
6233         * org.el (org-add-log-setup): Respect
6234         `org-log-state-notes-insert-after-drawers'.
6235         (org-log-state-notes-insert-after-drawers): New option.
6236         (org-todo-trigger-tag-changes): New function.
6237         (org-todo): Call `org-todo-trigger-tag-changes'.
6239 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
6241         * org.el (org-add-log-setup): Only skip drawers if the are
6242         immediately after the scheduling keywords.
6244         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
6245         function
6246         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
6247         call it with the current todo state to get the state to switch to
6248         when clocking in.
6249         (org-clock-in): Use org-indent-line-function to indent clock lines.
6250         (org-clock-find-position): Fix indentation of empty clock drawers.
6252 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
6254         * org-publish.el (org-publish-org-to): Handle case when
6255         org-export-to-pdf does return a file name, not a buffer.
6256         (org-publish-org-to-pdf): New function.
6258         * org-export-latex.el (org-export-as-pdf)
6259         (org-export-as-pdf-and-open): New commands.
6261         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
6262         forms as ranges.
6264         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
6265         things in protexted regions.
6267 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
6269         * org-export-latex.el (org-export-latex-preprocess): Improve
6270         quoting of LaTeX environments.
6272 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
6274         * org.el (org-edit-fixed-width-region): Exclude final newline from
6275         picture area.
6277         * org-export-latex.el (org-export-latex-subcontent): Add labels to
6278         sections, to make internal links work.
6279         (org-export-latex-fontify-headline): Do not remove all text
6280         properties, to make sure that target properties survive this
6281         process.
6283         * org-exp.el (org-export-preprocess-string): Change sequence of
6284         modifications, to make sure links are prepared before the LaTeX
6285         conversions do happen.
6287 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
6289         * org-attach.el (org-attach-delete-all): Renamed from
6290         `org-attch-delete'.  Add a security query before deleting the
6291         entire directory.  New optional argument FORCE can overrule the
6292         security query.
6293         (org-attach-delete-one): New command.
6295 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
6297         * org-attach.el (org-attach-file-list): Fix bug with directory.
6299 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
6301         * org.el (org-apps-regexp-alist): New function.
6302         (org-file-apps): Add auto-mode to the default value.
6303         (org-open-file): Use the new structure of org-file-apps.
6305         * org-attach.el (org-attach): Support the new keys.
6306         (org-attach-method): New option.
6308 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
6310         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
6311         March.
6313         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
6314         of the list value o `org-use-tag-inheritance'.
6316         * org-attach.el (org-attach-auto-tag): New option.
6317         (org-attach-tag, org-attach-untag): New functions.
6318         (org-attach-attach, org-attach-new, org-attach-sync): Call
6319         `org-attach-tag'.
6320         (org-attach-delete): Call `org-attach-untag'.
6322 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
6324         * org-table.el (orgtbl-self-insert-command): Make this work for
6325         the keypad as well.
6327 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
6329         * org.el (org-add-log-setup): Limit searc for drawers to entry
6330         text, not to subtree.
6332         * org-clock.el (org-clock-heading-for-remember): New variable.
6333         (org-clock-in): Set `org-clock-heading-for-remember'.
6335 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
6337         * org-remember.el (org-remember-apply-template): Add new
6338         expansions: %k, %K for currently clocked task and a link to the
6339         currently clocked task, and %< to file notes in the currently
6340         clocked task.
6342 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
6344         * org-export-latex.el (org-export-latex-make-header): Also insert
6345         the content of the property :latex-header-extra.
6347         * org-exp.el (org-infile-export-plist): Put the content of
6348         #+LATEX_HEADER: into the property :latex-header-extra.
6350         * org-colview.el (org-columns-get-format-and-top-level): Remove
6351         resetting the marker.
6353         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
6354         Remove resetting the marker.
6356         * org.el (org-entry-property-inherited-from): Improve docstring.
6357         (org-entry-get-with-inheritance): Reset marker before starting the
6358         search.
6360         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
6362 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
6364         * org.el (org-entry-get-multivalued-property)
6365         (org-entry-protect-space, org-entry-restore-space): New
6366         functions.
6367         (org-file-apps-defaults-macosx): Let postscript files be opened by
6368         preview.
6369         (org-time-stamp-inactive): Call `org-time-stamp'.
6370         (org-time-stamp): New argument `inactive'.  Also edit inacive
6371         stamps. Convert time stamp type.
6372         (org-open-file): Interpret the `default' value for the `command'
6373         in `org-file-apps'.
6375         * org-id.el (org-id-int-to-b36-one-digit)
6376         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
6377         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
6378         b36.
6380 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
6382         * org-id.el (org-id-reverse-string): New function.
6383         (org-id-new): Use `org-id-reverse-string' to make sure the
6384         beginning chars of the ID are mutating fast.  This allows to use a
6385         directory structure to spread things better.
6386         (org-id-prefix): Changed default to nil.
6388         * org-list.el (org-move-item-down, org-move-item-up): Remember and
6389         restore the column of the cursor position.
6391         * org-remember.el (org-remember-apply-template): Remove properties
6392         from `initial'.
6394 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
6396         * org-wl.el (org-wl-open): Remove useless call to
6397         `wl-thread-open-all'.
6399         * org-remember.el (org-remember-handler): Fix bug with `bottom'
6400         location.
6402 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
6404         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
6405         `org-bbdb-anniversaries'.
6407         * org.el (org-get-next-sibling, org-forward-same-level): New
6408         functions, similar to the outline versions, but invisible headings
6409         are OK.
6411 2008-09-25  Bastien Guerry  <bzg@altern.org>
6413         * org.el (org-auto-repeat-maybe): Insert a space between
6414         the timestamp's type and the timestamp itself.
6416 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
6418         * org-table.el (org-table-sum): Do not format the result with %g,
6419         it does rounding when there are too many digits.
6421         * org.el (org-map-entries): Protect the keyword-selecting variables.
6423 2008-09-23  Bastien Guerry  <bzg@altern.org>
6425         * org-agenda.el (org-agenda-to-appt): Make sure the function check
6426         against all agenda files.
6428 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
6430         * org-list.el: New file, aggregating list functions from org.el
6431         and org-export-latex.el.
6433         * org.el (org-edit-src-region-extra): New option.
6435 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
6437         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
6438         time before 1am.
6440 2008-09-22  Bastien Guerry  <bzg@altern.org>
6442         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
6444 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
6446         * org-plot.el (org-plot/gnuplot): Make tables starting with a
6447         hline work correctly.
6448         (org-plot/gnuplot-script): Put commas at the end of each script
6449         line.
6451 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
6453         * org.el (org-get-refile-targets): Replace links with their
6454         descriptions
6455         (org-imenu-get-tree): Replace links with their descriptions.
6457         * org-remember.el (org-remember-apply-template): Add a new
6458         expansion for adding properties to remember items.
6460         * org.el (org-add-log-setup): Skip over drawers (properties,
6461         clocks etc) when adding notes.
6463         * org-agenda.el (org-agenda-get-closed): show durations of clocked
6464         items as well as the start and end times.
6466         * org-compat.el (org-get-x-clipboard-compat): Add a compat
6467         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
6469         * org-remember.el (org-get-x-clipboard): Use the compat
6470         function to get clipboard values when x-selection-value is
6471         unavailable. Use substring-no-properties instead of
6472         set-text-properties to remove text properties from the clipboard
6473         value.
6475         * lisp/org-clock.el (org-update-mode-line): Support limiting the
6476         modeline clock string, and display the full todo value in the
6477         tooltip. Set a local keymap so mouse-3 on the clock string goes to
6478         the currently clocked task.
6479         (org-clock-string-limit): Add a custom value for the maximum
6480         length of the clock string in the modeline.
6481         (org-clock-mode-map): Add a keymap for the modeline string
6483 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
6485         * org-compat.el (org-propertize): New function.
6487 2008-09-20  Bastien Guerry  <bzg@altern.org>
6489         * org-export-latex.el (org-export-latex-tables): protect exported
6490         tables from further special chars conversion.
6491         (org-export-latex-preprocess): Preserve LaTeX environments.
6492         (org-list-parse-list): Parse descriptive lists.
6493         (org-list-to-generic, org-list-to-latex, org-list-to-html)
6494         (org-list-to-texinfo): Export descriptive lists.
6495         (org-quote-chars): Remove.
6496         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
6497         (org-export-latex-list-beginning-re): Rename to
6498         `org-list-beginning-re'
6499         (org-list-item-begin): Rename to `org-list-item-beginning'
6501 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
6503         * org.el (org-refile): Allow refiling to the last entry in the
6504         buffer.
6505         (org-get-tags-at): Fix bug when inheritance is turned off.
6507 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
6509         * org.el (org-indent-line-function): No longer check for src
6510         regions, this is too much overhead.
6512         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
6513         matching.
6515         * org.el (org-scan-tags): Make sure that tags matching is not case
6516         sensitive.  TODO keyword matching is case sensitive, however, to
6517         avoid confusion with similar words that are not meant to be
6518         keywords.
6520 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
6522         * org.el (org-get-local-tags-at): New function.
6523         (org-get-local-tags): New function.
6525         * org-exp.el (org-export-get-categories): New function.
6527         * org-agenda.el (org-sorting-choice)
6528         (org-agenda-sorting-strategy, org-agenda-get-todos)
6529         (org-agenda-get-timestamps, org-agenda-get-deadlines)
6530         (org-agenda-get-scheduled, org-agenda-get-blocks)
6531         (org-entries-lessp): Implement sorting by TODO state.
6532         (org-cmp-todo-state): New defsubst.
6534         * org-colview.el (org-colview-construct-allowed-dates): New
6535         function.
6536         (org-columns-next-allowed-value): Use
6537         `org-colview-construct-allowed-dates'.
6539         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
6540         function.
6541         (org-columns-next-allowed-value): Use
6542         `org-colview-construct-allowed-dates'.
6544 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
6546         * org.el (org-protect-slash): New function.
6547         (org-get-refile-targets): Use `org-protect-slash'.
6549         * org-agenda.el (org-global-tags-completion-table): New variable.
6551         * org-exp.el (org-export-handle-export-tags): New function.
6552         (org-export-preprocess-string): Call
6553         `org-export-handle-export-tags'.
6555         * org-plot.el: New file.
6557         * org-publish.el (org-publish-expand-components): Function removed.
6558         (org-publish-expand-projects): Allow components to have components.
6560 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
6562         * org.el (org-indent-line-function): Do not indent in regions that
6563         are external source code.
6564         (org-yank-and-fold-if-subtree): New function.
6566         * org-agenda.el (org-agenda-todayp): New function.
6567         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
6568         `org-agenda-todayp'.
6570         * org.el (org-insert-heading-respect-content)
6571         (org-insert-todo-heading-respect-content): New commands.
6572         (org-insert-heading-respect-content): New option.
6573         (org-insert-heading): Respect `org-insert-heading-respect-content'.
6575         * org-clock.el (org-clock-find-position): Make sure the note after
6576         the clock line gets moved into the new clock drawer.
6578 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
6580         * org-id.el (org-id-new): New option.
6582 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
6584         * org-table.el (org-table-copy-down): Avoid overflow during
6585         increment.  Use prefix argument 0 to temporarily disable the
6586         increment.
6588 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
6590         * org-exp.el (org-export-as-html): Do not turn on the major mode
6591         if the buffer will be killed anyway.
6592         (org-get-current-options): Exclude the #+TEXT field.
6593         (org-export-as-html): Make sure text before the first headline is
6594         a paragraph.
6596         * org-publish.el (org-publish-org-to): Tell the exporter that this
6597         buffer will be killed, so it is not necessary to do major mode
6598         initialization.
6600         * org-archive.el (org-archive-to-archive-sibling): Show empty
6601         lines after folding the archive sibling.
6603         * org.el (org-log-note-extra): New variable.
6605 2008-09-05  Bastien Guerry  <bzg@altern.org>
6607         * org.el (org-additional-option-like-keywords): Added keywords for
6608         the _QUOTE, _VERSE and _SRC environments.
6610         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6611         exporting _QUOTE and _VERSE environments.
6613 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
6615         * org-agenda.el (org-agenda-filter-by-tag): New command.
6617         * org-exp.el (org-get-current-options): Remove angular brackets
6618         from the date entry.
6620         * org.el (org-edit-fixed-width-region): New function.
6621         (org-edit-fixed-width-region): Also try
6622         `org-edit-fixed-width-region'.
6623         (org-edit-fixed-width-region-mode): New option.
6624         (org-activate-code): Only interprete lines starting with colon
6625         plus a space as example lines.
6627         * org-remember.el (org-remember-templates): Add nil instead of
6628         empty strings to fix the length of remember templates.
6630         * org-table.el (org-calc-default-modes): Fix the time format for
6631         calc, from 12 hour to 24 hour clock.
6633 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
6635         * org-agenda.el (org-agenda-get-deadlines)
6636         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6637         entries that are pre-warnings of deadlines or reminders.
6639         * org.el (org-sort-entries-or-items): Make numeric and alpha
6640         comparisons ignore any TODO keyword and priority cookie.
6642         * org-remember.el (org-remember-handler): Reinterpretation of the
6643         prefix argument.
6645 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
6647         * org-agenda.el (org-agenda-get-scheduled): Use new
6648         `org-scheduled' face.
6650         * org-faces.el (org-scheduled): New face.
6652         * org-wl.el (org-wl-open): Remove incorrect declaration.
6654         * org-gnus.el (org-gnus-store-link): Support for :to information
6655         in gnus links.
6657         * org-exp.el (org-export-as-html): Fixed typo in creator
6658         information.
6659         (org-export-protect-examples): New parameter indent.  Insert extra
6660         spaces only when this parameter is specified.
6661         (org-export-preprocess-string): Call `org-export-protect-examples'
6662         with an indentation parameter when exporting to ASCII.
6664         * org-remember.el (org-remember-templates)
6665         (org-remember-apply-template): Allow the file component to be a
6666         function.
6668         * org.el (org-goto-local-search-headings): Renamed from
6669         `org-goto-local-search-forward-headings'.  Added the possibility
6670         to search backwards.
6672 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
6674         * org-export-latex.el (org-export-latex): New customization
6675         group.
6677         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6679 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
6681         * org-exp.el (org-html-do-expand): Allow {} to terminate
6682         tex macro
6684 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
6686         * org.el (org-buffer-list): Select buffers based on major mode,
6687         not on file name.
6689 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
6691         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6692         face property.
6694         * org-colview.el (org-columns-display-here): Use
6695         `org-columns-modify-value-for-display-function'.
6697         * org-colview-xemacs.el (org-columns-display-here): Use
6698         `org-columns-modify-value-for-display-function'.
6700 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
6702         * org.el (org-columns-modify-value-for-display-function): New option.
6714         * org-publish.el (org-publish-file): Make sure the directory match
6715         for the publishing directory works correctly.
6717         * org-agenda.el (org-agenda-execute-calendar-command)
6718         (org-agenda-diary-entry): Additional optional argument.
6720 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
6722         * org-exp.el (org-export-as-html): Add attributes also in mailto
6723         and ftp links.
6725         * org.el (org-autoload): Add `org-dblock-write:columnview'.
6734 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
6736         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6737         sure that calls from `org-export-region-as-html' do not do the
6738         special check for a subtree.
6740 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
6742         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6744 2008-07-20  Juri Linkov  <juri@jurta.org>
6746         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6747         new keymap `narrow-map' instead of binding "\C-xns".
6749 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
6751         * org.el (org-open-file): Use
6752         `org-open-directory-means-index-dot-org'.
6753         (org-open-directory-means-index-dot-org): New option.
6755 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
6757         * org.el (org-make-link-string): Remove link attributes from
6758         description.
6759         (org-open-at-point): Remove link attributes bevore using the path.
6761         * org-exp.el (org-export-as-html): Handle link attributes.
6763         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6765         * org-table.el (org-table-to-lisp): New function.
6767         * org.el (org-narrow-to-subtree): Do not include the final newline
6768         into the narrowed region.
6770         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6771         bug with user-define skipping condition.
6773 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
6775         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6777 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
6779         * org-exp.el (org-export-html-style-default): Automatic overflow
6780         handling for pre fields.
6781         (org-export-as-ascii, org-export-as-html): Change default format
6782         for time stamp.
6784         * org-table.el (org-table-export): Offer completion for translator
6785         functions, and do not require a heading above the table.
6787         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6788         Cater for the case of a list starting in the first line of the
6789         buffer.
6791 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
6793         * org-publish.el (org-publish-find-title): Bug fix.
6794         (org-publish-org-index): Implement new :index-style option.
6796 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
6798         * org-publish.el (org-publish-timestamp-filename): Use
6799         SHA1-encoded file names in the timestamp directory.
6801 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
6803         * org-publish.el (org-publish-needed-p): Be verbose about files
6804         published and files skipped.
6806         * org-exp.el (org-export-preprocess-string): Swap link
6807         normalization and inernal link targeting.
6809         * org-publish.el (org-publish-needed-p): Create timestamp
6810         directory when it does not exist.
6812 2008-07-04  Bastien Guerry  <bzg@altern.org>
6814         * org-clock.el (org-clock-out-when-done): Doc fix.
6816         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6818         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6819         Ignore case when searching for the COMMENT cookie at export time.
6821 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6823         * org-exp.el (org-get-file-contents)
6824         (org-get-and-remove-property): New functions.
6825         (org-export-handle-include-files): Handle the new prefix options.
6826         (org-export-as-html): Fix the verse environment.
6828 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6830         * org.el (org-time=, org-time<, org-time<=, org-time>)
6831         (org-time>=, org-time<>, org-2ft): New functions.
6832         (org-op-to-function): Also provide for the time testing fucntions.
6834 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6836         * org-exp.el (org-export-html-style-default): New constant.
6838 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6840         * org-exp.el (org-export-html-style-extra): New variable.
6841         (org-export-splice-style): New function.
6843 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6845         * org-exp.el (org-export-plist-vars, org-export-as-html):
6846         Implement `org-export-creator-info'.
6847         (org-export-creator-info): New option.
6849 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6851         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6852         (org-property-drawer-re, org-clock-drawer-re): New constants.
6854 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6856         * org-exp.el (org-icalendar-use-deadline)
6857         (org-icalendar-use-scheduled): New options.
6858         (org-icalendar-include-todo): Default changed to t.
6859         (org-print-icalendar-entries): Implement better utilization of
6860         scheduling and deadline time stamps.
6861         (org-export-target-internal-links, org-export-as-html): Allow file
6862         lines without the "file:" prefix if the file path is an absolute
6863         path or starts with ".".
6865         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6866         lastweek etc.
6867         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6869 2008-06-18  Glenn Morris  <rgm@gnu.org>
6870         * org.el (org-map-entries): Let-bind `file'.
6872 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6874         * org.el (org-agenda-skip-archived-trees): Docstring now
6875         discourages using this.
6876         (org-scan-tags): Check for org-agenda-archives-mode.
6877         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6878         (org-agenda-files): Functionality of second arg changed.
6880         * org-agenda.el (org-agenda-archives-mode): New variable
6881         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6882         (org-search-view, org-todo-list, org-tags-view)
6883         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6884         `ifmode' argument.
6885         (org-agenda-quit): Reset the archives mode.
6886         (org-agenda-archives-mode): New command.
6887         (org-agenda-set-mode-name): Include archives info.
6889 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6891         * org.el (org-paste-subtree): Make sure the yanked headline is
6892         visible if it was yanked at a visible point.
6893         (org-move-item-up): Fix the bug with moving white space at the end
6894         of the item.
6895         (org-show-empty-lines-in-parent): New function.
6897 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6899         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6901         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6903         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6904         agenda prefix as well.
6906         * org-publish.el (org-publish-org-index): Make a properly indented
6907         list.
6909         * org.el (org-calendar-agenda-action-key): New option.
6910         (org-get-cursor-date): New function.
6911         (org-mark-entry-for-agenda-action): New command.
6912         (org-overriding-default-time): New variable.
6913         (org-read-date): Respect `org-overriding-default-time'.
6915         * org-remember.el (org-remember-apply-template): Respect the
6916         ovverriding default time.
6918         * org-agenda.el (org-agenda-action-marker): New variable.
6919         (org-agenda-action): New command.
6920         (org-agenda-do-action): New function.
6922 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6924         * org.el (org-schedule, org-deadline): Protect scheduled and
6925         deadline tasks against changes that accidently remove the
6926         repeater.  Also show a message with the new date when done.
6928 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6930         * org.el (org-beginning-of-line): Cater for the case when there
6931         are tags but no headline text.
6932         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6933         it set.
6935 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6937         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6938         the return value is nil instead of "nil" when there is no match.
6940         * org-exp.el (org-insert-centered): Use fill-column instead of
6941         80.
6942         (org-export-as-ascii): Use string-width to measure the width of
6943         the heading.
6945         * org.el (org-diary-to-ical-string): No longer kill buffer
6946         FROMBUF, this is now done by the caller.
6948         * org-exp.el (org-print-icalendar-entries): Move the call to
6949         `org-diary-to-ical-string' out of the loop, and kill the buffer
6950         afterwords.
6952         * org-remember.el (org-remember-visit-immediately): Position
6953         cursor after moving to the note.
6954         (org-remember-apply-template): Use a text property to record the
6955         cursor position.
6956         (org-remember-handler): Align tags after pasting the note.
6958 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6960         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6962         * org-agenda.el (org-agenda-open-link): If there is an
6963         org-bbdb-name property in the current line, jump to that bbdb
6964         entry.
6966         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6967         text property, so that the agenda knows where this entry comes
6968         from.
6970         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6971         interaction between clocking-in from the agenda, and  automatic
6972         task state switching.
6974         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6976         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6977         zmacs-region stays after this command in XEmacs.
6979 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6981         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6983         * org-remember.el (org-remember-templates): Fix bug in
6984         customization type definition.
6986         * org.el (org-map-entries): New function.
6988 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6990         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6991         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6993 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6995         * org-remember.el (org-jump-to-target-location): New variable.
6996         (org-remember-apply-template): Set
6997         `org-remember-apply-template' if requested by template.
6998         (org-remember-handler): Start an idle timer to jump to
6999         remember location.
7001         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
7003         * org.el (org-set-regexps-and-options): Fix bug with parsing of
7004         file tags.
7005         (org-get-tags-at): Add the content of `org-file-tags'.
7007         * org-exp.el (org-export-handle-comments): Fix bug with several
7008         comment lines after each other.
7009         (org-number-to-roman, org-number-to-counter): New functions.
7010         (org-export-section-number-format): New option.
7012 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
7014         * org-exp.el (org-export-protect-examples): Catch the case of a
7015         missing end_example line.
7017         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
7018         `org-file-tags' to nil.
7020         * org-colview.el (org-columns-next-allowed-value): Handle next
7021         argument NTH to directly select a value.
7023         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
7024         argument NTH to directly select a value.
7026 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
7028         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
7030 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
7032         * org.el (org-columns-ellipses): New option.
7034 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
7036         * org-colview.el (org-columns-add-ellipses): New function.
7037         (org-columns-compact-links): New function.
7038         (org-columns-cleanup-item): Call `org-columns-compact-links'.
7039         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
7040         when in agenda.
7041         (org-columns-edit-value): Fixed bug with editing values from
7042         agenda column view.
7043         (org-columns-redo): Also redo the agenda itself.
7045 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
7047         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
7048         option.
7050         * org-colview.el (org-agenda-columns-cleanup-item): New function.
7052         * org-exp.el (org-export-ascii-preprocess): Renamed from
7053         `org-export-ascii-clean-string'.
7054         (org-export-kill-licensed-text)
7055         (org-export-define-heading-targets)
7056         (org-export-handle-invisible-targets)
7057         (org-export-target-internal-links)
7058         (org-export-remove-or-extract-drawers)
7059         (org-export-remove-archived-trees)
7060         (org-export-protect-quoted-subtrees)
7061         (org-export-protect-verbatim, org-export-protect-examples)
7062         (org-export-select-backend-specific-text)
7063         (org-export-mark-blockquote-and-verse)
7064         (org-export-remove-comment-blocks-and-subtrees)
7065         (org-export-handle-comments, org-export-mark-radio-links)
7066         (org-export-remove-special-table-lines)
7067         (org-export-normalize-links)
7068         (org-export-concatenate-multiline-links)
7069         (org-export-concatenate-multiline-emphasis): New functions,
7070         obtained from spliiting the export preprocessor.
7072         * org-table.el (org-table-recalculate): Improve error message if
7073         the row number is invalid.
7075 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
7077         * org-archive.el (org-archive-save-context-info): Fix bugs in
7078         customization setup and docstring.
7080         * org-exp.el (org-export-html-style): Changed the size of in the
7081         <pre> element to 90%.
7083 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
7085         * org.el (org-find-src-example-start): Function removed.
7086         (org-edit-src-find-region-and-lang): New function.
7088 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
7090         * org.el (org-edit-src-exit): New function.
7091         (org-exit-edit-mode): New minor mode.
7093         * org-exp.el (org-export-preprocess-string): Fix bug with removing
7094         comment-like lines from protected examples.
7096         * org.el (org-edit-src-example, org-find-src-example-start)
7097         (org-protect-source-example, org-edit-special): New functions.
7099 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
7101         * org-publish.el (org-publish-project-alist): Fix typo in
7102         docstring.
7103         (org-publish-project-alist): Handle :index-title property.
7105 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
7107         * org-export-latex.el (org-export-as-latex): Make sure region
7108         bounds are correct.  Parse subtree properties relating to export.
7110         * org-exp.el (org-export-add-options-to-plist): New function.
7111         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
7113 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
7115         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
7116         EXPORT_TITLE.
7118         * org-exp.el (org-export-get-title-from-subtree)
7119         (org-export-as-ascii, org-export-as-html): Make sure the original
7120         region-beginning and region-end are used, even after moving
7121         point.
7122         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
7123         property.
7125         * org-remember.el (org-remember-last-stored-marker): New variable.
7126         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
7127         (org-remember-handler): Also use marker to remember
7128         last-stored position.
7130         * org.el (org-goto-marker-or-bmk): New function.
7132 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
7134         * org.el (org-file-properties): Renamed from `org-local-properties'.
7135         (org-scan-tags): Take file tags into account.
7136         (org-tags-match-list-sublevels): Default changed to t.
7138         * org-exp.el (org-export-as-html): Close paragraph after a
7139         footnote.
7141         * org.el (org-update-parent-todo-statistics): New function.
7143         * org-exp.el (org-icalendar-store-UID): New option.
7144         (org-icalendar-force-UID): Option removed.
7145         (org-print-icalendar-entries): IMplement UIDs.
7147 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
7149         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
7151 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
7153         * org-faces.el (org-column): Document how this face is being used
7154         and why sometimes the background faces shine through.
7156         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
7158         * org-publish.el (org-publish-attachment): Create publishing
7159         directory if it does not yet exist.
7161         * org-table.el (org-calc-default-modes): Change default number
7162         format to (float 8).
7164         * org.el (org-olpath-completing-read): New function.
7165         (org-time-clocksum-format): New option.
7166         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
7168         * org-clock.el (org-clock-display, org-clock-out)
7169         (org-update-mode-line): Use `org-time-clocksum-format'.
7171         * org-colview-xemacs.el (org-columns-number-to-string): Use
7172         `org-time-clocksum-format'.
7174         * org-colview.el (org-columns-number-to-string): Use
7175         `org-time-clocksum-format'.
7177 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
7179         * org-id.el: New file, move from contrib to core.
7181         * org-exp.el (org-icalendar-force-UID): New option.
7183 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
7185         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
7186         shifted by one day if theere is a date range without an end
7187         time.
7189         * org.el (org-try-structure-completion): New function.
7191 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
7193         * org.el (org-set-font-lock-defaults): Improve fontification of
7194         description lists.
7195         (org-insert-item): Handle description lists.
7196         (org-adaptive-fill-function): Improve auto indentation in
7197         description lists.
7199         * org-exp.el (org-export-as-html, org-export-preprocess-string):
7200         Implement VERSE environment.
7201         (org-export-preprocess-string): Implement the COMMENT
7202         environment.
7204         * org-export-latex.el (org-export-latex-preprocess): Implement
7205         VERSE environment.
7207 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
7209         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
7210         option.
7212 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
7214         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
7216         * org.el (org-quote-csv-field): New functions.
7218         * org-table.el (org-table-export-default-format): Remove :splice
7219         from default format, we get the same effect by not specifying
7220         :tstart and :tend.
7221         (org-table-export): Improve setup, distinguish better between
7222         interactive and non-interactive use, allow specifying the format
7223         on the fly, better protection against wrong file names.
7224         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
7225         and :tend when :splice is omitted.
7227 2008-05-09  Bernt Hansen  <bernt@norang.ca>
7229         * org-clock.el (org-clock-select-task): Make sure the selection
7230         letters are 1-9 and A-Z, no special characters.
7232 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
7234         * org-exp.el (org-export-htmlize): New group.
7235         (org-export-htmlize-output-type)
7236         (org-export-htmlize-css-font-prefix): New options.
7237         (org-export-htmlize-region-for-paste): New function.
7238         (org-export-htmlize-generate-css): New command.
7240 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
7242         * org/org.el (org-modules, org-format-latex-options):
7243         * org/org-archive.el (org-archive-stamp-time)
7244         (org-archive-save-context-info):
7245         * org/org-faces.el (org-hide):
7246         * org/org-irc.el (org-irc-parse-link):
7247         * org/org-macs.el (org-call-with-arg, org-autoload):
7248         * org/org-mew.el (org-mew-store-link):
7249         * org/org-remember.el (org-remember-store-without-prompt)
7250         (org-remember-templates): Fix typos in docstrings.
7252         * org/org-info.el (org-info-store-link): Remove leftover docstring.
7254         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
7255         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
7256         (org-bbdb-anniv-split): Fix typos in docstrings.
7258         * org/org-publish.el (org-publish-project-alist): Doc fixes.
7259         (org-publish-use-timestamps-flag): Reflow docstring.
7260         (org-publish-files-alist): Fix typos in docstring.
7262 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
7264         * org.el (org-set-visibility-according-to-property): New function.
7265         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
7266         and compute the regular expressions, and update font-lock.
7267         (org-property-re): Allow a dash in property names.
7269         * org-archive.el (org-extract-archive-file): Insert the file name
7270         without the path into the format, to allow the location format to
7271         contain a subdirectory.
7273         * org-agenda.el (org-agenda-post-command-hook): If point is at end
7274         of buffer, and the `org-agenda-type' property undefined, use the
7275         value from the character before.
7277         * org.el (org-add-planning-info): Don't let indentation for
7278         would-be timestamp become extra whitespace at the end of headline.
7280 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
7282         * org.el (org-remove-double-quotes, org-file-contents): New
7283         functions.
7285         * org-exp.el (org-infile-export-plist): Also parse the
7286         contents of #+SETUPFILE files, recursively.
7288         * org.el (org-set-regexps-and-options): Also parse the
7289         contents of #+SETUPFILE files, recursively.
7291         * org-exp.el (org-export-handle-include-files): New function.
7292         (org-export-preprocess-string): Call
7293         `org-export-handle-include-files'.
7295         * org.el (org-delete-property-globally)
7296         (org-delete-property, org-set-property): Ignore case during
7297         completion.
7298         (org-set-property): Use `org-completing-read' instead of
7299         `completing-read'.
7301         * org.el (org-complete-expand-structure-template): New,
7302         experimental function.
7303         (org-structure-template-alist): New, experimental option.
7304         (org-complete): Call `org-complete-expand-structure-template'.
7306 2008-05-06  Bastien Guerry  <bzg@altern.org>
7308         * org-export-latex.el (org-export-latex-preprocess): Added
7309         support for blockquotes.
7311 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
7313         * org.el (org-read-date-analyze): Catch the case where only a
7314         weekday is given.
7316 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
7318         * org.el (org-set-font-lock-defaults): Make the description
7319         tag bold.
7321         * org-exp.el (org-export-as-html, org-close-li): Implement
7322         description lists.
7324 2008-05-04  Jason Riedy  <jason@acm.org>
7326         * org-table.el (*orgtbl-default-fmt*): New variable.
7327         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
7328         when there is no other fmt available.
7330         (orgtbl-to-generic): Allow an explicitly nil :tstart or
7331         :tend to suppress the appropriate string.
7333         (orgtbl-to-orgtbl): New function for translating to another orgtbl
7334         table.
7336 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
7338         * org.el (org-read-date-analyze): "." as an alias for "+0" in
7339         read date.
7341         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
7342         New function.
7344         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
7345         New function.
7347 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
7349         * org-clock.el (org-clock-find-position): Don't include notes
7350         into clock drawer.
7352         * org-archive.el (org-archive-subtree): No longer remove an
7353         extra line after cutting the subtree.  `org-cut-subtree' already
7354         takes care of this.
7356         * org-remember.el (org-remember-handler): Only kill the target
7357         buffer if it does not contain the running clock.
7359         * org.el (org-markers-to-move): New variable.
7360         (org-save-markers-in-region, org-check-and-save-marker)
7361         (org-reinstall-markers-in-region): New function.
7362         (org-move-subtree-down, org-copy-subtree): Remember relative
7363         marker positions before cutting.
7364         (org-move-subtree-down, org-paste-subtree): Restore relative
7365         marker positions after pasting.
7367         * org-remember.el (org-remember-clock-out-on-exit): New option.
7368         (org-remember-finalize): Clock out only if the setting in
7369         `org-remember-clock-out-on-exit' requires it.
7370         (org-remember-handler): Do the cleanup in the buffer, to make sure
7371         that the clock marker remains in tact.
7373 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
7375         * org-clock.el (org-clock-goto): Widen buffer if necessary.
7376         (org-clock-in): Make sure that also tasks outside the narrowed
7377         region will be clocked in correctly.
7378         (org-clock-insert-selection-line): Widen the buffer so that we can
7379         find the correct task heading.
7381         * org.el (org-base-buffer): New function.
7383         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
7384         and ";" are escaped.
7385         (org-print-icalendar-entries): Also apply
7386         `org-icalendar-cleanup-string' to the headline, not only to the
7387         summary property.
7389 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
7391         * org-exp.el (org-export-preprocess-hook): New hook.
7392         (org-export-preprocess-string): Call
7393         `org-export-preprocess-hook'.
7395         * org.el (org-font-lock-hook): New variable.
7396         (org-font-lock-hook): New function.
7397         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
7399 ;; Local Variables:
7400 ;; coding: utf-8
7401 ;; add-log-time-zone-rule: t
7402 ;; End:
7404     Copyright (C) 2008  Free Software Foundation, Inc.
7406   This file is part of GNU Emacs.
7408   GNU Emacs is free software: you can redistribute it and/or modify
7409   it under the terms of the GNU General Public License as published by
7410   the Free Software Foundation, either version 3 of the License, or
7411   (at your option) any later version.
7413   GNU Emacs is distributed in the hope that it will be useful,
7414   but WITHOUT ANY WARRANTY; without even the implied warranty of
7415   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7416   GNU General Public License for more details.
7418   You should have received a copy of the GNU General Public License
7419   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
7421 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c