Merge commit 'bernt/typos'
[org-mode/org-tableheadings.git] / lisp / ChangeLog
blob82ff48c02cebbbf591bb054809943671dc9031a2
1 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
3         * org-habit.el (org-habit-parse-todo): Indicate which habit is
4         wrongly set up in the error messages.
6         * org-colview.el (org-columns-display-here): Don't try to
7         calculate values if the underlying property is not set.
8         (org-columns-string-to-number): Convert age strings back into
9         fractional days.
10         (org-agenda-colview-summarize): Handle extended summary types
11         properly.
13         * org-colview-xemacs.el (org-columns-display-here): Don't try to
14         calculate values if the underlying property is not set.
15         (org-columns-string-to-number): Convert age strings back into
16         fractional days.
17         (org-agenda-colview-summarize): Handle extended summary types
18         properly.
20 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22         * org-exp.el (org-export-format-drawer-function): New variable.
23         (org-export-format-drawer): New function.
24         (org-export-preprocess-string): Pass the backend as a parameter to
25         `org-export-remove-or-extract-drawers'.
26         (org-export-remove-or-extract-drawers): New parameter BACKEND.
28         * org-protocol.el (org-protocol-char-to-string): New defsubst.
30 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
32         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
33         message when no block is selected.
35         * org-latex.el (org-export-latex-links): Check for protectedness
36         in the last matched character, not after the match.
38         * org-datetree.el (org-datetree-find-date-create): Respect
39         restriction when KEEP-RESTRICTION is set.
40         (org-datetree-file-entry-under): New function.
41         (org-datetree-cleanup): New command.
43 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
45         * org-src.el (org-edit-src-code): New optional argument context
46         allows calling functions to avoid altering the saved window
47         configuration.
48         (org-edit-src-exit): Do not restore window configuration when this
49         function is used in the context of saving the edit buffer.
51 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
53         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
54         instances to switching to with-current-buffer, because these seem
55         to cause problems - no idea why.
57         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
58         Require diary-lib for (diary-date-display-form).
60         * org.el (org-log-reschedule, org-log-redeadline): New options.
61         (org-log-note-headings): Add templates for rescheduling and
62         deadline changing.
63         (org-startup-options): Add in-buffer settings for logging changing
64         schedule and deadline time stamps.
65         (org-deadline, org-schedule): Check for existing date and arrange
66         for logging if the user requests it.
67         (org-add-log-note): Prepare proper note buffers for rescheduling
68         and deadline changes.
70 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
72         * org-agenda.el (org-agenda-diary-entry-in-org-file)
73         (org-agenda-add-entry-to-org-agenda-diary-file)
74         (org-agenda-insert-diary-make-new-entry): New functions.
75         (org-agenda-diary-entry): Call
76         `org-agenda-diary-entry-in-org-file' when appropriate.
78         * org.el (org-calendar-insert-diary-entry-key): New option.
79         (org-agenda-diary-file): New option.
80         ("calendar"): Install our insertion function in the calendar.
82         * org-remember.el (org-datetree): Require.
83         (org-remember-templates): Add new positioning option.
84         (org-remember-reference-date): New variable.
85         (org-remember-apply-template): Store the reference date in a local
86         variable.
87         (org-remember-handler): Implement date tree positioning of entries.
89         * org-datetree.el: New file.
91         * org-latex.el (org-export-latex-preprocess): Protect targets in
92         verbatim emphasis.
94         * org-html.el (org-export-as-html): Protect targets in verbatim
95         emphasis.
97         * org-docbook.el (org-export-as-docbook): Protect targets in
98         verbatim emphasis.
100 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
102         * org.el (org-link-display-format): Should be literal replacement.
104 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
106         * org-clock.el (org-show-notification): Handle messages that
107         contain a percent character.
109         * org-remember.el (org-remember-apply-template): Turn of partial
110         completion.
112         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
113         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
115         * org.el (org-indent-mode): Define variable already in org.el.
116         (org-unfontify-region): Remove line-prefix and wrap-prefix
117         properties only if org-indent-mode is active.
119 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
121         * org-icalendar.el (org-print-icalendar-entries): Save match data
122         around call to verify function.
123         (org-print-icalendar-entries): Add a call to the verification
124         function.
126         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
127         save-restrivtion' form.
129 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
131         * org-exp.el (org-export-format-source-code-or-example): restrict
132         scope of preserve-indentp to the let binding.
133         (org-src): require org-src, since org-src-preserve-indentation is used.
135 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
137         * org-timer.el (org-timer-set-timer): Set variables
138         org-timer-timer[123] correctly.
141         * org-mobile.el (org-mobile-files-alist): Make it work when
142         `agenda-archives' is included in
143         `org-agenda-text-search-extra-files'.
144         (org-mobile-push): Restore agenda after mobile push.
146 2009-11-05  John Wiegley  <jwiegley@gmail.com>
148         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
149         way the amount of idle time is presented in the minibuffer.
151 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
153         * org-icalendar.el (org-print-icalendar-entries): Use
154         org-icalendar-verify-function only if non-nil.
156         * org.el (org-refile): Refile to clock only if the prefix arg is
157         2.
158         (org-sparse-tree): Fix docstring to be in line with prompt.
159         (org-update-parent-todo-statistics): Call
160         `org-after-todo-statistics-hook' on each level.
162 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
164         * org-remember.el (org-remember-apply-template): Make sure the
165         buffer exists.
167 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
169         * org.el (org-tab-ind-state): New variable.
170         (org-cycle-level): New function.
171         (org-cycle-level-after-item/entry-creation): New option.
172         (org-flag-subtree): New function.
173         (org-hide-archived-subtrees): Call `org-flag-subtree'.
174         (org-set-effort): Indexed access.
176         * org-list.el (org-cycle-item-indentation): New function.
178         * org.el (org-refile): Make prefix argument 2 refile to current
179         clock.
180         (org-priority): Interpret action `remove' as call to remove the
181         priority cookie.
183         * org-remember.el (org-remember-apply-template): Don't depend on
184         buffer name being like file name.
186 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
188         * org-clock.el (org-clock-play-sound): Expand file in
189         org-clock-sound, to allow ~ for home.
191         * org-remember.el (org-remember-handler): Set
192         text-before-node-creation even if this already looks like a node,
193         because the string might be needed on non-org-mode target files.
195         * org-agenda.el (org-agenda-open-link): Make this work in agenda
196         clocktables.
197         (org-agenda-switch-to): Follow a link at point if
198         org-return-follows-link' is set and there is nothing else to do in
199         this line.
201 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
203         * org-colview-xemacs.el: Add in changes from org-colview.el
205 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
207         * org-exp-blocks.el: Modify split separator regexp to avoid empty
208         strings.
210 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
212         * org-colview.el (org-columns-new): Make this work with the new
213         operators.
214         (org-columns-store-format): Make this work with the new operators.
216 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
218         * org-src.el (org-src-preserve-indentation): Document that this
219         variable is also used during export.
221         * org-exp.el (org-export-format-source-code-or-example): Preserve
222         indentation if a block has a -i option, or if
223         `org-src-preserve-indentation' is set.
225         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
226         indentation if a block has a -i option, or if
227         `org-src-preserve-indentation' is set.
229 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
231         * org.el (org-mode-map): Define the new archiving keys.
232         (org-speed-commands-default): Define an archiving key in the speed
233         command map.
234         (org-org-menu): Improve the menu structure concerning archiving.
236         * org-archive.el (org-archive-subtree-default-with-confirmation):
237         New command.
239         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
240         (org-agenda-menu): Add the new archiving commands to the menu.
241         (org-agenda-archive-default)
242         (org-agenda-archive-default-with-confirmation): New commands.
243         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
244         call `org-agenda-archive-with'.
245         (org-agenda-archive-with): New function.
247         * org-table.el (org-table-convert-region): Inert spaces around "|"
248         to avoid line beginnings like "|-1" which will be mistaken as
249         hlines.
251 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
253         * org.el (org-offer-links-in-entry): Return nil if there are no
254         links, t if a link has been selected.
255         (org-open-at-point): Open attachment directory when called in the
256         headline and there are no links in the entry body.
257         (org-speed-commands-default): Add "o" for open-at-point as a speed
258         command.
260         * org-attach.el (org-attach-reveal): Optional prefix arg
261         IF-EXISTS, which avoids creating the attachment directory if it
262         does not yet exist.
264         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
265         MATCH.
267 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
269         * org.el ("abbrev"): Work with abbrev tables only after they have
270         been loaded.
272         * org-list.el (org-list-send-list): Fix bug related to match
273         data.
275         * org-latex.el (org-export-latex-fontify): Apply verbatim
276         emphasis.
277         (org-export-latex-make-header): Insert \obeylines if line breaks
278         should be preserved.
280         * org-exp.el (org-export-protect-verbatim): Add an
281         `org-verbatim-emph' property to such text.
283 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
285         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
286         (org-print-icalendar-entries): Skip entries where the timestamp is
287         not a deadline and not scheduled, if the user requests that.
289         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
290         before an opening quote.
292         * org-archive.el (org-archive-subtree): Keep archive after
293         archiving something.
295         * org-id.el (org-id-update-id-locations): Add archive files if
296         that is required by `org-id-extra-files'.
298 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
300         * org-src.el (org-src-window-setup): New option.
301         (org-src-switch-to-buffer): New function.
302         (org-edit-src-exit): Add optional argument CONTEXT and use it to
303         restore window configuration.
304         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
305         Call `org-src-switch-to-buffer'.
307         * org.el (org-default-properties): Add STYLE property.
308         (org-files-list): Use the function call to get the files.
309         (org-additional-option-like-keywords): Add SETUPFILE to completion
310         list.
312 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
314         * org-table.el (org-table-convert-region): Correctly interpret
315         quoting in csv import.
317         * org.el (org-icompleting-read): Make iswitchb completion work
318         with lists and tables.
320         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
321         while pushing the mobile agenda.
323 2009-10-25  John Wiegley  <jwiegley@gmail.com>
325         * org-clock.el
326         (org-clock-auto-clock-resolution): Now takes three values: nil, t
327         and `when-no-clock-is-running'.
328         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
329         whether or not to resolve Org buffers on clock in.
331 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
333         * org-colview.el (org-format-time-period): Function to format
334         times in fractional days for display.
335         (org-columns-display-here): Add support for showing a calculated
336         value in place of the property.
337         (org-columns): Set `org-columns-time' to the current time so time
338         difference calculations will work.
339         (org-columns-time): Use to store the current time when column view
340         is displayed, so all time differences will use the same reference
341         point.
342         (org-columns-compile-map): There is now an extra position in each
343         entry specifying the function to use to calculate the displayed
344         value for the non-calculated properties in the column,
345         (org-columns-compute-all): Set `org-columns-time' to the current
346         time so time difference calculations will work.
347         (org-columns-compute): Handle column operators where the values
348         used are calculated from the underlying property.
349         (org-columns-number-to-string): Handle the 'age' column format
350         (org-columns-string-to-number): Correct the function name (was
351         org-column...). Add support for the 'age' column format.
352         (org-columns-compile-format): Support the additional parameter in
353         org-columns-compile-map.
355 2009-10-26  Bastien Guerry  <bzg@altern.org>
357         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
358         variable.
360 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
362         * org-clock.el (org-clock-has-been-used): New variable.
363         (org-clock-in): Set `org-clock-has-been-used'.
364         (org-clock-save): Save only if clock data has been used or created
365         during this session.
367 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
369         * org-clock.el (org-clock-persist): New value, to store only the
370         clock history.
371         (org-clock-save): Don't save the clock if only the history should
372         be stored.
373         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
374         when restoring a saved clock.
376 2009-10-24  John Wiegley  <jwiegley@gmail.com>
378         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
379         `org-time-clock-use-fractional'.
381         * org.el (org-time-clocksum-use-fractional)
382         (org-time-clocksum-fractional-format): Two new customizable
383         variables which allow the user to select fractional times (1.25
384         instead of 1:25) in the `org-clock-display' report.
386 2009-10-23  John Wiegley  <jwiegley@gmail.com>
388         * org-habit.el (org-habit-build-graph): None of the arguments
389         should be optional.
390         (org-habit-parse-todo, org-habit-deadline)
391         (org-habit-get-priority, org-habit-get-faces)
392         (org-habit-build-graph): Further simplifications by storing all
393         past, scheduled and deadline dates as a number of days past the
394         epoch, and not as times.
396         * org-habit.el (org-habit-warning-face)
397         (org-habit-warning-future-face): Removed because these are no
398         longer used.
399         (org-habit-deadline, org-habit-deadline-repeat): Now always
400         returns a date; computed if there was a scheduled repeater but no
401         deadline repeater.
402         (org-habit-get-priority): Further improvements to the priority
403         algorithm.  In particular, items past due should always appear
404         before items due or not yet due.
405         (org-habit-get-faces): Greatly simplified the logic, now that
406         `org-habit-deadline' always returns a valid time.
408 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
410         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
411         New option.
413         * org.el (org-tag-alist): Fix customization type.
415 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
417         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
418         Make sure the regexp search can fail without throwing an error.
419         (org-mobile-apply): Save the inbox buffer after removing
420         successfully applied changes.
422 2009-10-22  John Wiegley  <jwiegley@gmail.com>
424         * org-habit.el (org-habit-build-graph): Fix to the graph building
425         when last DONE date is earlier than `org-habit-preceding-days'.
427         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
428         time is reported after the user comes back (but before they
429         resolve time).
431         * org.el (org-get-repeat): Change so that this function can be
432         called with either `org-scheduled-string' or
433         `org-deadline-string'.
435         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
436         to find the scheduled date.
438         * org-clock.el (org-clock-auto-clock-resolution): Renamed
439         `org-clock-disable-clock-resolution', since negatives don't sound
440         good in customization variables.
441         (org-clock-in): Don't use the auto-resolution logic if the user is
442         clocking into a different task while an active clock is running.
443         This then allows the default behavior of clocking out of the open
444         task and then into the new task.
446         * org-habit.el (org-habit-parse-todo): Generate an error if a
447         habit has a scheduled repeat period < 1.
448         (org-habit-get-faces): Fixes to the way that colors are computed.
449         (org-habit-build-graph): The graph wasn't displaying beyond any
450         day that had two completions in it.
452         * org.el (org-modules): Made this variable more consistent, since
453         it was referring to Org, OrgMode and Org-mode, whereas the docs
454         for the variable always refer to Org-mode.
456 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
458         * org.el (org-repeat-re): The changed org-repeat-re no longer
459         matched simple +2d type repeaters. Fix it so it does.
461 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
463         * org-latex.el (org-export-latex-preprocess): Protect the vspace
464         macro in the VERSE environment.
466 2009-10-20  John Wiegley  <jwiegley@gmail.com>
468         * org-habit.el (org-habit-get-priority): A new function that
469         determines the relative priority of a habit, based on how long
470         past its scheduled date it is, and how near the deadline is.
472         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
473         using `org-habit-get-priority'.
475         * org-habit.el (org-habit-build-graph): Start displaying colors
476         from the first scheduled date, if that date is earlier than the
477         first completion date.
479         * org-habit.el: Changed all "color" variables to faces, and made
480         them appropriate for light and dark backgrounds.
482         * org-habit.el (org-habit-duration-to-days): Made this function
483         more general.
484         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
486         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
487         habits, since they don't use DEADLINE anymore.
489         * org.el (org-repeat-re, org-display-custom-time)
490         (org-timestamp-change): Extended to support the new ".+N/N"
491         syntax, used for habits.
493         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
494         variable reference.
496         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
497         modeline when habits are being displayed (if that module is being
498         loaded).
500 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
502         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
503         idle time using the xscreensaver extension.
504         (org-user-idle-seconds): Use X11 idle time if available.
506 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
508         * org-agenda.el (org-agenda-next-line): New command.
509         (org-agenda-previous-line): New commands.
510         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
511         commands.
512         (org-agenda-follow-mode): Do the follow immediately if the mode is
513         turned on here.
514         (previous-line, next-line): Replace keys with the corresponding
515         org functions.
516         (org-agenda-mode-map): Bind backspace and delete to the scrolling
517         command.
519         * org.el (org-icompleting-read): Turn off partial completion mode
520         for the duration of this completion round.
522         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
523         macros in author lines and similar stuff.
525         * org.el (org-file-tags): Fix docstring.
526         (org-get-buffer-tags): Add the #+FILETAGS tags.
527         ("ecb"): Maks ecb show context after jumping into an Org file.
529 2009-10-20  John Wiegley  <johnw@newartisans.com>
531         * org-agenda.el (org-finalize-agenda): Draw habit consistency
532         graphs after everything else in the buffer has been setup.
534 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
536         * org-mobile.el (org-mobile-apply): Count success and failure.
538         * org.el (org-indent-line-function): Fix regexp replace problem.
540 2009-10-19  John Wiegley  <johnw@newartisans.com>
542         * org-clock.el (org-clock-disable-clock-resolution): New
543         customization variable that disable automatic clock resolution on
544         clock in.
545         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
546         not automatically resolve anything.  This is does not affect
547         idle-time resolution, however, if `org-clock-idle-time' is set.
549 2009-10-19  John Wiegley  <johnw@newartisans.com>
551         * org-habit.el: New file, which implements code to build a "habit
552         consistency graph".
554         * org-agenda.el (org-agenda-get-deadlines)
555         (org-agenda-get-scheduled): Display consistency graphs when
556         outputting habits into the agenda.  The graphs are always relative
557         to the current time.
558         (org-format-agenda-item): Added new parameter `habitp', which
559         indicates whether we are formatting a habit or not.  Do not
560         display "extra" leading information if habitp is true.
562         * org.el (org-repeat-re): Improved regexp to include .+ and ++
563         leaders for repeat strings.
564         (org-get-repeat): Now takes a string parameter `tagline', so the
565         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
567 2009-10-19  John Wiegley  <johnw@newartisans.com>
569         * org-agenda.el (org-agenda-auto-exclude-function): New
570         customization variable for allowing the user to create an "auto
571         exclusion" filter for doing context-aware auto tag filtering.
572         (org-agenda-filter-by-tag): Changes to support the use of
573         `org-agenda-auto-exclude-function'.  See the new manual addition,.
575 2009-10-18  John Wiegley  <johnw@newartisans.com>
577         * org.el (org-files-list): Don't attempt to return a file name for
578         Org buffers which have no associated file.
580         * org-agenda.el (org-agenda-do-action): Fixed a typo.
582 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
584         * org-mobile.el (org-mobile-locate-entry): Interpret files
585         relative to org-directory.
586         (org-mobile-inbox-for-pull): Document the best location for this
587         file.
588         (org-mobile-check-setup): Verify `org-directory'.
589         (org-mobile-create-index-file): Sort the files to be listed in
590         index.org.
592 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
594         * org.el (org-fast-tag-selection): Add a way to display a
595         description for a tag group. This is done by adding a string to
596         either the startgroup or endgroup cell.
598 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
600         * org-clock.el (org-clock-resolve, org-resolve-clocks)
601         (org-emacs-idle-seconds): Use `org-float-time' instead of
602         `time-to-seconds'
604 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
606         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
607         type.
609         * org.el (org-pre-cycle-hook): Document that `empty' can also be
610         the value of ARG when doing local cycling.
612 2009-10-17  John Wiegley  <johnw@newartisans.com>
614         * org-clock.el (org-clock-resolve-clock): If keeping or
615         subtracting time results in a clock out at a time in the past, and
616         if the resolution occurred due to idleness or invoking `M-x
617         org-resolve-clocks', remember that past moment in time.  On the
618         next clock in, the user will be prompted to see if they want to
619         back-date their new clock to then.
620         (org-clock-resolve): Do not jump the user to the location of a
621         dangling clock if the resolution is occuring due to an idle
622         timeout.  In that case there is typically only one dangling clock,
623         the active one, and there is no value gained by shuffling their
624         windows around to show it to them.  Being prompted to resolve an
625         idle clock should be as inobtrusive as possible.
626         (org-resolve-clocks-if-idle): New function that resolves only the
627         currently active clock if the user has exceeded the time returned
628         by `org-user-idle-seconds', based on the value of
629         `org-clock-idle-time'.
630         (org-clock-in): If, after resolving clocks,
631         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
633         * org-clock.el (org-clock-resolve-clock): New function that
634         resolves a clock to a specific time, closing or resuming as need
635         be, and possibly even starting a new clock.
636         (org-clock-resolve): New function used by `org-resolve-clocks'
637         that sets up for the call to `org-clock-resolve-clock'.  It
638         determines the time to resolve to based on a single-character
639         selection from the user to either keep time, subtract away time or
640         cancel the clock.
641         (org-resolve-clocks): New user command which resolves dangling
642         clocks -- that is, open but not active -- anywhere in the file
643         list returned by `org-files-list'.
644         (org-clock-in): Automatically resolve dangling clocks whenever a
645         user clocks in.
646         (org-clock-cancel): If the user cancels the solely clock in a
647         LOGBOOK, remove the empty drawer.
649         * org-clock.el (org-clock-idle-time): New user customizable option
650         for detecting whether the user has left a clock idle.  Note: it is
651         only used in this commit to test whether it's worthwhile to check
652         OS X to get the Mac user's current idle time.  If the Emacs idle
653         time is less than the value, the user hasn't been away long enough
654         to be worth checking (a more expensive test than just getting
655         Emacs idle time).
656         (org-user-idle-seconds, org-mac-idle-seconds)
657         (org-emacs-idle-seconds): This three functions, in conjunction
658         with the user customization variable `org-clock-idle-time', return
659         the number of seconds (as a floating point) that the user has been
660         away from their Emacs (or, if running on OS X, their computer).
662         * org-clock.el (org-find-open-clocks): New function that returns a
663         list of all open clocks in the given FILE.  Note that each clock
664         it returns is a cons cell of the format (MARKER . START-TIME).
665         This "clock" value is used by several of the new clock module
666         utility functions.
667         (org-is-active-clock): New inline function which tests whether the
668         given clock value is the same as the currently active clock.
669         Returns non-nil if this is the case.
670         (org-with-clock-position): New macro that evaluates FORMS with
671         point in the buffer and at the position of the given clock.
672         Changes to the current clock are global.
673         (org-with-clock): New macro that evaluates FORMS with point in the
674         buffer and at the position of the given clock.  However, changes
675         to the current clock are local and have no effect on the user's
676         active clock.  This allows, for example, far any clock to be
677         cancelled without cancelling the active clock.
678         (org-clock-clock-in): New inline function that switches the active
679         clock to the given clock.  If either the argument RESUME, or the
680         global `org-clock-in-resume', are non-nil, it will resume a clock
681         that was previously left open.
682         (org-clock-clock-out): New inline function that clocks out the
683         given clock value without affecting the currently active clock.
684         (org-clock-clock-cancel): New inline function that cancels the
685         given clock value without affecting the currently active clock.
687         * org-clock.el (org-clock-in): Before creating
688         `org-clock-mode-line-timer', check to make sure an older timer is
689         not currently running.
690         (org-clock-out): Accept new third parameter `at-time', which
691         permits a clock to be clocked out at a specific time.  Note that
692         no attempt is made to verify that the clock out time is later than
693         the clock in time.
695         * org.el (org-files-list): New utility function for returning a
696         list of all open org-mode buffers, plus all files used to build
697         the agenda buffer.  Note that not all the files will necessarily
698         be visited by a buffer at time of call.
699         (org-entry-beginning-position): Like the function
700         `line-beginning-position', this inline function returns the
701         beginning position of the current heading/entry.
702         (org-entry-end-position): Like the function `line-end-position',
703         this inline function returns the end position of the current
704         heading/entry.
706 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
708         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
709         a header line.
711 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
713         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
715 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
717         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
718         entries that have no tags.
719         (org-agenda-search-view): New customize group.
720         (org-agenda-search-view-search-words-only): New option.
721         (org-search-view): Implement substring search.
723 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
725         * org.el (org-outline-level): Add doc string.
727 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
729         * org-inlinetask.el (org-inlinetask-export): Re-introduce
730         variable.
731         (org-inlinetask-export-handler): Only export inline task if the
732         user option calls for it.
734 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
736         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
737         END if present.
739 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
741         * org-latex.el (org-export-latex-tables): Don't format in
742         protected regions.
744 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
746         * org-src.el (org-edit-src-code)
747         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
748         macro editing.
750         * org-agenda.el (org-prefix-category-max-length): New variable.
751         (org-format-agenda-item): Use `org-prefix-category-max-length'.
752         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
754 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
756         * org-mobile.el (org-mobile-create-index-file): Improve the
757         listing of tags and todo keywords.
759         * org-latex.el (org-export-latex-format-image): New function.
760         (org-export-latex-links): Use `org-export-latex-format-image'.
762 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
764         * org-inlinetask.el (org-inlinetask-get-current-indentation)
765         (org-inlinetask-remove-terminator): New functions.
766         (org-inlinetask-export-handler): Terminate the description list.
768         * org-exp.el (org-export-select-backend-specific-text): Remove the
769         region markers.
771         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
772         tasks without content.
774         * org-clock.el: Make sure the clock-in target position does not
775         move to a different node by widening the buffer.
777         * org-html.el (org-export-html-format-image): Wrap image into
778         figure div only when there is a caption.
780         * org-archive.el (org-archive-mark-done): Change default value to
781         nil.
783 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
785         * org.el (org-context): Call `bobp', not `eobp'.
787         * org-clock.el (org-clock-cancel): Remove quotes from marker
788         variables.
790         * org.el (org-read-date-prefer-future): New allowed value `time'.
791         (org-read-date-analyze): Shift day to tomorrow depending on time
792         entered and value of `org-read-date-prefer-future'.
794 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
796         * org.el (org-set-tags-to): New command.
798         * org-mobile.el (org-mobile-action-alist): Add more options and
799         update the docstring.
800         (org-mobile-apply-flags): Parse for and use the data.
802         * org-latex.el (org-export-latex-set-initial-vars): Also check in
803         the plist.
805         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
806         keyword.
808         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
810 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
812         * org-inlinetask.el (org-inlinetask-export): Option removed.
813         (org-inlinetask-export-handler): Better export.
815         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
816         (org-export-as-xoxo): Run the new hook.
818         * org-html.el (org-export-html-final-hook): New hook.
819         (org-export-as-html): Run the new hook.
821         * org-docbook.el (org-export-docbook-final-hook): New hook.
822         (org-export-as-docbook): Run the new hook.
824         * org-ascii.el (org-export-ascii-final-hook): New hook.
825         (org-export-as-ascii): Run the new hook.
827         * org-mobile.el (org-mobile-create-sumo-agenda): Call
828         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
830         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
831         space character as the character before the ^/_.
832         (org-export-latex-final-hook): New hook.
833         (org-export-as-latex): Run `org-export-latex-final-hook'.
835 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
837         * org-macs.el (org-if-unprotected-at): Fix docstring.
839         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
840         text in the prefix (if category is a link).
842         * org-latex.el (org-export-latex-preprocess): Deal properly with
843         empty lines in verse environments.
845         * org.el (org-format-latex-header): Inline fullpage.sty.
847         * org-footnote.el (org-footnote-create-definition): Reveal context
848         to add a new footnote definition.
850         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
851         the index file.
852         (org-mobile-files): New option.
853         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
854         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
855         functions.
856         (org-mobile-push): Start by creating the files lists.
857         (org-mobile-copy-agenda-files): Move killing the buffer to after
858         the save-excursion has exited.
859         (org-mobile-write-checksums): Write checksums also for files in
860         sub-directories.
862         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
863         org-table-recalculate when cursor is in TBLFM line.
865         * org-list.el (org-renumber-ordered-list): Fix cursor position
866         when bullet length has changed.
868 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
870         * org.el (org-format-latex): Mention `org-format-latex-options' in
871         the docstring.
873 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
875         * org.el (org-agenda-get): New function.
877         * org-agenda.el (org-agenda-post-command-hook): No longer move
878         point away from end of line.
879         (org-agenda-add-entry-text, org-agenda-collect-markers)
880         (org-finalize-agenda, org-agenda-mark-clocking-task)
881         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
882         (org-agenda-entry-text-show, org-agenda-highlight-todo)
883         (org-agenda-compare-effort, org-agenda-filter-apply)
884         (org-agenda-later, org-agenda-change-time-span)
885         (org-agenda-post-command-hook, org-agenda-show-priority)
886         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
887         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
888         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
889         (org-agenda-open-link, org-agenda-copy-local-variable)
890         (org-agenda-switch-to, org-agenda-check-no-diary)
891         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
892         (org-agenda-add-note, org-agenda-change-all-lines)
893         (org-agenda-priority, org-agenda-set-tags)
894         (org-agenda-set-property, org-agenda-set-effort)
895         (org-agenda-toggle-archive-tag, org-agenda-date-later)
896         (org-agenda-show-new-time, org-agenda-date-prompt)
897         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
898         (org-agenda-clock-in, org-agenda-bulk-mark)
899         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
900         `org-get-at-bol'.
902         * org-colview.el (org-columns-display-here)
903         (org-columns-edit-allowed, org-agenda-columns): Use
904         `org-get-at-bol'.
906 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
908         * org.el (org-special-ctrl-a/e): Improve documentation and
909         customize type.
910         (org-end-of-line): Don't jump to after the ellipsis.
911         (org-mode-map): Bind <home> and <end> as well.
913 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
915         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
916         space after #+ as comments.
917         (org-open-at-point): Run `org-follow-link-hook' always.
919         * org-latex.el (org-export-latex-emph-format): Use better commands
920         to insert special characters in verbatim snippets.
922 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
924         * org-faces.el (org-copy-face): New function.  Use it to create
925         various faces formerly created by using `copy-face'.
927         * org-agenda.el (org-prepare-agenda): Don't officially mark this
928         window dedicated.
929         (org-agenda-quit): Kill the frame containing the agenda window if
930         that frame was created for the agenda.
932 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
934         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
935         stamp in the agenda.
937 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
939         * org-mobile.el (org-mobile-create-index-file): Add the list of
940         TODO keywords, and the list of drawers to the index file.
942         * org-agenda.el (org-prepare-agenda): Reset
943         `org-drawers-for-agenda'.
944         (org-prepare-agenda): Uniquify list of drawers.
946         * org.el (org-complex-heading-regexp-format): New variable.
947         (org-set-regexps-and-options): Define
948         `org-complex-heading-regexp-format'.
949         (org-drawers-for-agenda): New variable.
950         (org-map-entries): Bind `org-drawers-for-agenda'.
951         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
953         * org-remember.el (org-go-to-remember-target)
954         (org-remember-handler): Use `org-complex-heading-regexp-format'.
956 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
958         * org-agenda.el (org-agenda-highlight-todo): Fix text property
959         problem.
961         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
962         the capture file, and make it non-configurable.
964         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
965         always with `invisible-ok'.
966         (org-store-link): No error when there is nothing to link to in the
967         agenda.
969         * org-list.el (org-update-checkbox-count): Insert changed cookie
970         before the old, to avoid problems with invisibility at the end of
971         the line.
972         (org-update-checkbox-count): Insert changed cookie before the old,
973         to avoid problems with invisibility at the end of the line.
975         * org.el (org-sort-entries-or-items): Include the final newline.
976         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
977         lines for fontification.
978         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
979         (org-prepare-dblock): Store the current indentation of the BEGIN
980         line.
981         (org-update-dblock): Apply the indentation of the begin line to
982         the rest of the block.
983         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
984         (org-startup-folded): New allowed value `showeverything'.
985         (org-startup-options): Add STARTUP keyword `showeverything'.
986         (org-set-startup-visibility): Respect value `showeverything' in
987         org-startup-folded.
989 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
991         * org.el (org-closest-date): Fix issue with past preference.
993         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
995         * org-archive.el (org-archive-set-tag)
996         (org-archive-subtree-default): New commands.
998         * org-mobile.el (org-mobile-create-index-file): Fix link to
999         capture file.
1000         (org-mobile-copy-agenda-files): Create the capture file if it does
1001         not exist.
1003         * org-clock.el (org-clock-clocktable-default-properties): New
1004         option.
1005         (org-clock-report): Use
1006         `org-clock-clocktable-default-properties'.
1008 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1010         * org.el (org-iswitchb-completing-read): Fix typo.
1012         * org-crypt.el: New file.
1014         * org.el: Add an entry for org-crypt.
1016 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1018         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1019         consistency.
1020         (org-batch-store-agenda-views): New function.
1021         (org-mobile-force-id-on-agenda-items): Mention variable.
1022         (org-agenda-title-append): Define variable.
1023         (org-write-agenda): New export to Org files.
1024         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1025         (org-agenda): Allow to keep the restricted file list if a special
1026         variable is bound to t.
1027         (org-agenda): Define a special agenda view for working on flagged
1028         entries.
1029         (org-agenda-get-restriction-and-command): List the new agenda
1030         view.
1031         (org-agenda-show-the-flagging-note): New command.
1032         (org-agenda-mode-map): New key `?' for looking at the flagging
1033         note.
1035         * org.el (org-autoload): Autoload org-mobile.el.
1036         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1038         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1040 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1042         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1043         statements.
1044         (org-table-get-remote-range): Match indented #+TBLNAME
1045         statements.
1047         * org.el (org-convert-to-odd-levels)
1048         (org-convert-to-oddeven-levels): Work also correctly if the file
1049         is in outline-mode.
1051 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1053         * org.el (org-store-link): When in agenda buffer, link to
1054         referenced entry.
1055         (org-add-planning-info): Remove spaces at eol.
1057         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1058         property.
1060 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1062         * org-latex.el (org-export-latex-first-lines): Fix problem with
1063         LaTeX export of first line and selected subtree.
1065         * org.el (org-shifttab): Interpret arg differently when using only
1066         odd levels.
1068 2009-09-09  Bastien Guerry  <bzg@altern.org>
1070         * org.el (org-check-agenda-file): Use a more explicit message
1072 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1074         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1075         normal lines.
1077 2009-09-08  Bastien Guerry  <bzg@altern.org>
1079         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1080         prompt in the temporary window.
1082         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1083         prefix for marked entries in the agenda view.
1085 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1087         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1088         a way that prevents any trailing character from being displayed.
1090 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1092         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1093         menu.
1095         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1096         slow regexp match.
1098 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1100         * org-latex.el (org-export-latex-preprocess): Do not protect in
1101         the LaTeX header.
1103         * org-src.el (org-edit-src-save): Save window setup while saving.
1104         (org-edit-src-code): Use new buffer name construction scheme.
1106 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1108         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1109         variable.
1110         (org-agenda-entry-text-cleanup-hook): New hook.
1111         (org-agenda-get-some-entry-text): Remove matches of
1112         `org-agenda-entry-text-exclude-regexps' and run the hook
1113         `org-agenda-entry-text-cleanup-hook'.
1115         * org.el (org-offer-links-in-entry): New argument ZERO to
1116         implement a link with index zero.
1117         (org-cycle-show-empty-lines): Not keep empty line under header
1118         hidden.
1119         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1120         to nil for special completion.
1121         (org-store-link): Don't error before the first heading.
1123         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1124         `org-offer-links-in-entry'.
1126 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1128         * org-agenda.el (org-agenda-quit): Provide the window argument for
1129         `window-dedicated-p', Emacs 22 needs it.
1130         (org-format-agenda-item): If the category is a link, arrange for
1131         invisible text to replaced with spaces.
1132         (org-compile-prefix-format): Add the extra space.
1133         (org-prefix-category-length): New variable.
1135         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1136         references from TOC lines.
1138         * org.el (org-selected-window): New variable.
1140         * org-table.el (org-table-edit-formulas): Remember the selected
1141         window.
1142         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1143         that was originally selected.
1145         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1146         expansion of a macro for more macro definitions.
1148         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1149         invisibility overlay starts on the newline.
1151 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1153         * org-protocol.el (org-protocol-store-link)
1154         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1156         * org-compat.el (org-float-time): New function.
1158         * org.el (org-clock-update-time-maybe)
1159         (org-sort-entries-or-items, org-do-sort)
1160         (org-evaluate-time-range, org-time-string-to-seconds)
1161         (org-closed-in-range): Use `org-float-time'.
1163         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1164         (org-timer-seconds):  Use `org-float-time'.
1166         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1167         (org-clock-sum, org-dblock-write:clocktable)
1168         (org-clocktable-steps):  Use `org-float-time'.
1170         * org-agenda.el (org-agenda-last-marker-time)
1171         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1173         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1174         function.
1176         * org-exp.el (org-get-file-contents): Only protect lines that
1177         really need it.
1179         * org-html.el (require): Require cl for compilation.
1181         * org.el:  Avoid using `default-major-mode'.
1183         * org-plot.el (require): Require CL only at compile time.
1185         * org-exp.el (require): Require CL only at compile time.
1187         * org-agenda.el (org-agenda-quit): When the agenda window is
1188         dedicated, remove other windows before exiting, so that the frame
1189         really will be killed.
1191         * org-exp.el (org-export-handle-include-files): Reset START and
1192         END for each loop cycle.
1194 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1196         * org.el (org-eval-in-calendar): Use
1197         `org-select-frame-set-input-focus'.
1199         * org-compat.el (org-select-frame-set-input-focus): New function.
1201         * org.el (org-update-statistics-cookies): New function.
1202         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1204 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1206         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1207         after the local variables are set.
1209         * org-latex.el (org-export-latex-protect-amp): New function.
1210         (org-export-latex-links): Protect link ampersands in tables.
1212         * org-exp.el (org-export-select-backend-specific-text): Match in
1213         two steps, to avoid regexp problems.
1215         * org.el (org-offer-links-in-entry): Improve working with many and
1216         duplicate links.
1218         * org-agenda.el (org-agenda-show-1): Make more consistent with
1219         normal cycling.
1220         (org-agenda-cycle-show): Make more consistent with normal cycling.
1222         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1223         website.
1225 2009-08-30  Bastien Guerry  <bzg@altern.org>
1227         * org-latex.el (org-export-latex-first-lines): Bugfix.
1229 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
1231         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1232         about new effort.
1234         * org.el (org-set-effort): New function.
1235         (org-mode-map): New key for effort setting command.
1237         * org-agenda.el (org-agenda): Keep window setup when calling
1238         agenda from within agenda window.
1239         (org-agenda-mode-map): New keys for effort setting commands.
1240         (org-agenda-menu): Add effort setting commands to menu.
1241         (org-agenda-set-property, org-agenda-set-effort): New functions.
1243         * org-latex.el (org-export-latex-tables): Fix
1244         `org-table-last-alignment' and `org-table-last-column-widths' if
1245         the first column has been removed.
1247 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
1249         * org.el (org-remove-timestamp-with-keyword): Only remove in
1250         entry, not in subtree.
1252         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1253         emacs lisp.
1255         * org.el (org-open-at-point): When on headline, offer all strings
1256         in entry.
1258         * org-remember.el (org-remember-templates): Documentation fix.
1260         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1261         `org-get-last-sibling' instead of the outline versions of these
1262         functions.
1263         (org-get-last-sibling): New function.
1264         (org-refile): Use `org-get-next-sibling' instead of the outline
1265         version of this function.
1266         (org-clean-visibility-after-subtree-move): Use
1267         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1268         outline versions of these functions.
1270 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
1272         * org-agenda.el (org-prepare-agenda): When creating a new frame
1273         for the agenda, make the window dedicated.
1275         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1277         * org-table.el (org-table-align): Change the order of reinsertion
1278         and deletion, to avoid problems with overlays following the table.
1280         * org.el (org-parse-time-string): Better error message.
1281         (org-show-subtree): Use org-end-of-subtree.
1283         * org-macs.el (org-goto-line): New defsubst.
1285         * org.el (org-open-file, org-change-tag-in-region)
1286         (org-fast-tag-show-exit): Don't use `goto-line'.
1288         * org-table.el (org-table-align, org-table-insert-column)
1289         (org-table-delete-column, org-table-move-column)
1290         (org-table-sort-lines, org-table-copy-region)
1291         (org-table-paste-rectangle, org-table-wrap-region)
1292         (org-table-get-specials, org-table-rotate-recalc-marks)
1293         (org-table-get-range, org-table-recalculate)
1294         (org-table-edit-formulas, org-table-fedit-convert-buffer)
1295         (org-table-show-reference, org-table-highlight-rectangle): Don't
1296         use `goto-line'.
1298         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1299         (org-edit-src-exit): Don't use `goto-line'.
1301         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1303         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1304         Don't use `goto-line'.
1306         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1308         * org-colview.el (org-columns, org-columns-redo)
1309         (org-agenda-columns): Don't use `goto-line'.
1311         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1312         use `goto-line'.
1314         * org-agenda.el (org-agenda-mode): Force visual line motion off.
1315         (org-agenda-add-entry-text-maxlines): Improve docstring.
1316         (org-agenda-start-with-entry-text-mode): New option.
1317         (org-agenda-entry-text-maxlines): New option.
1318         (org-agenda-entry-text-mode): New variable.
1319         (org-agenda-mode): Set initial value of
1320         `org-agenda-entry-text-mode'.
1321         (org-agenda-mode-map): Add the `E' key.
1322         (org-agenda-menu): Add entry text mode to the menu.
1323         (org-agenda-get-some-entry-text): Fix line count bug.
1324         (org-finalize-agenda): Apply entry text mode if appropriate.
1325         (org-agenda-entry-text-show-here): New function.
1326         (org-agenda-entry-text-show): New function.
1327         (org-agenda-entry-text-hide): New function.
1328         (org-agenda-view-mode-dispatch): Add entry text mode to the view
1329         key menu.
1330         (org-agenda-entry-text-mode): New command.
1331         (org-agenda-set-mode-name): Add entry text mode to the mode line
1332         string.
1333         (org-agenda-undo, org-agenda-get-restriction-and-command)
1334         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1335         `goto-line'.
1337 2009-08-26  Bernt Hansen  <bernt@norang.ca>
1339         * org-clock.el (org-notify): Bugfix.
1341 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
1343         * org-agenda.el (org-agenda-open-link): Handle multiple links and
1344         check for after-string.
1346         * org-gnus.el (org-gnus-store-link): Simplify.
1348         * org.el (org-latex-regexps): Don't add extra empty lines for
1349         display formulas.
1351 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
1353         * org-agenda.el (org-agenda-get-some-entry-text): New function.
1354         (org-agenda-add-entry-text): Use
1355         `org-agenda-get-some-entry-text'.
1357         * org.el (org-cycle-separator-lines): Update docstring.
1358         (org-cycle-show-empty-lines): Handle negative values for
1359         `org-cycle-show-empty-lines'.
1361         * org-exp.el (org-export-protect-sub-super): New function.
1362         (org-export-normalize-links): Protect the url of plain links from
1363         supscript and superscript processing.
1365         * org-remember.el (org-remember-escaped-%): New function.
1366         (org-remember-apply-template): Use `org-remember-escaped-%' to
1367         detect escaped % signs.
1369 2009-08-23  Bastien Guerry  <bzg@altern.org>
1371         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1372         sound when showing the notification.
1374         * org-clock.el (org-notify): New function.
1375         (org-clock-notify-once-if-expired): Use `org-notify'.
1377         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1378         and `gnus-article-mode' separately.
1379         (gnus-summary-article-header): Fix the declare-function.
1381 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
1383         * org-exp.el (org-export-format-source-code-or-example): Translate
1384         language.
1386         * org-src.el (org-src-lang-modes): New variable
1387         (org-edit-src-code): Translate language.
1389         * org-exp.el (org-export-format-source-code-or-example): Deal wit
1390         the new structure of the `org-export-latex-listings-langs'
1391         variable.
1393         * org-latex.el (org-export-latex-listings-langs): Change structure
1394         of the variable from plist to alist.
1396 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
1398         * org.el (org-in-commented-line): New function.
1400 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
1402         * org.el (org-hide-block-toggle): Make folded blocks searchable.
1404 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
1406         * org.el (org-flag-drawer): More useful error.
1408 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
1410         * org-remember.el (org-remember-apply-template): Use
1411         org-icompleting-read.
1413         * org-publish.el (org-publish): Use org-icompleting-read.
1415         * org-colview.el (org-columns-edit-value, org-columns-new)
1416         (org-insert-columns-dblock): Use org-icompleting-read.
1418         * org-colview-xemacs.el (org-columns-edit-value)
1419         (org-columns-new, org-insert-columns-dblock): Use
1420         org-icompleting-read.
1422         * org-attach.el (org-attach-delete-one, org-attach-open): Use
1423         org-icompleting-read.
1425 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
1427         * org.el (org-hierarchical-todo-statistics): Improve docstring.
1428         (org-version): Return the version text.
1429         (org-org-menu): Add a menu entry for the new bug reporter.
1430         (org-submit-bug-report): New command.
1432         * org-list.el (org-hierarchical-checkbox-statistics): Improve
1433         docstring.
1435         * org.el (org-emphasis-regexp-components): Add "`" to set of
1436         pre-emphasis characters.
1438         * org-latex.el (org-export-latex-classes): Always include the soul
1439         package.
1440         (org-export-latex-emphasis-alist): Use \st for strikethough.
1442         * org-exp-blocks.el (org-export-blocks-preprocess): Use
1443         `indent-code-rigidly' to indent.
1445         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1446         properties only if MATCH really is a string.
1448 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
1450         * org-latex.el (org-export-latex-packages-alist): Fix
1451         customization type.
1453         * org.el (org-create-formula-image): Also use
1454         `org-export-latex-packages-alist'.
1456         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1457         (org-export-as-html): Format footnotes correctly.
1459 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
1461         * org.el (org-fast-tag-selection): Avoid text properties on tags
1462         in the alist.
1464         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1465         text properties on the match element.
1467 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
1469         * org.el (org-set-regexps-and-options): Make sure the list of done
1470         keywords is not invalid.
1472         * org-exp.el (org-export-interpolate-newlines): New function.
1474 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
1476         * org.el (org-format-latex): Avoid nested overlays.
1478         * org-latex.el (org-export-latex-listings-langs): Add a few more
1479         languages.
1481         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1482         ignore newlines and space before the first macro argument.
1484         * org-latex.el (org-export-latex-tables): Remove save-excursion
1485         around `org-table-align'.
1487 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
1489         * org.el (org-export-html-special-string-regexps): Definition
1490         moved into org.el
1492         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1493         in macro calls.
1495 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
1497         * org-latex.el (org-export-latex-listings)
1498         (org-export-latex-listings-langs): New options.
1500         * org-exp.el (org-export-format-source-code-or-example): Use
1501         listing package if requested by the user.
1503 2009-08-08  Bastien Guerry  <bzg@altern.org>
1505         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1506         command before actually switching to a buffer.
1508 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
1510         * org-exp.el (org-get-file-contents): Only quote org lines when
1511         the markup is src or example.
1513         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1514         New option
1515         (org-agenda-get-day-entries): Remember deadline results and pass
1516         them on into the function getting the scheduling information.
1517         (org-agenda-get-scheduled): Accept deadline results as parameters
1518         and maybe skip some entries.
1519         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1521         * org.el (org-insert-heading): When respecting content, do not
1522         convert current line to headline.
1524         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1525         cheeeeeck the hd marker
1526         (org-clock-in): Also set the hd marker.
1527         (org-clock-out): Also set the hd marker.
1528         (org-clock-cancel): Reset markers.
1530         * org.el (org-clock-hd-marker): New marker.
1532         * org-faces.el (org-agenda-clocking): New face.
1534         * org-agenda.el (org-agenda-mark-clocking-task): New function.
1535         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1537         * org.el (org-modules): Add org-track.el.
1539         * org-agenda.el (org-agenda-bulk-marked-p): New function.
1540         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1541         `org-agenda-bulk-marked-p'.
1542         (org-agenda-bulk-toggle): New command.
1544 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1546         * org.el (org-move-subtree-down): Hide subtree if it was folded,
1547         not just the body.
1549         * org-remember.el (org-remember-finalize): Avoid buffer-modified
1550         messages.
1552 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
1554         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
1555         before gnuplot can read it.
1557 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
1559         * org-latex.el (org-export-latex-first-lines): Fix bug with
1560         finding the end of the first lines.
1562         * org.el (org-create-formula-image): Remove the -E option for
1563         dvipng.
1565         * org-exp.el (org-default-export-plist): Respect #+BIND.
1566         (org-export-confirm-letbind): New function.
1568         * org.el (org-paste-subtree): Test the kill ring entry if it is
1569         going to be used.
1570         (org-copy-subtree): Use `org-forward-same-level'.
1571         (org-forward-same-level): Respect the `invisibe-ok' arg for
1572         back-to-heading.
1574 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
1576         * org.el (org-table-map-tables): Make sure cursor is back at table
1577         beginning after funcall.
1579         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1580         handled before children, and do not error if an entry is not
1581         found, probably because it hase been remove when the parent was
1582         archived or refiled.
1584         * org.el (org-ido-completing-read): Accept straight lists for
1585         completion as well as alists.
1587         * org-html.el (org-export-as-html): Fix parenthesis error in
1588         footnore code.
1590         * org-timer.el (org-timer-cancel-timers): Renamed from
1591         `org-timer-cancel-timers'.
1593         * org.el (org-cycle-internal-local): Fix problem with finding next
1594         invisible line.
1596 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
1598         * org-list.el (org-list-send-list): Call
1599         `org-list-goto-true-beginning' instead of
1600         `org-list-find-true-beginning', which does not exist.
1602         * org-timer.el (org-timer-reset-timers): Use `mapc'.
1603         (org-timer-set-timer): Do not assign to heading.
1605         * org-id.el (org-id-open): Quote function name.
1607         * org-macs.el (org-unmodified): Turn off recording undo
1608         information while running inside the macro.
1610         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
1611         variable.
1612         (org-indent-mode): Remember and restore value of
1613         org-hide-leading-stars before `org-indent-mode'.
1615         * org-table.el (org-table-export): Also work in file-less
1616         buffers.
1618         * org.el (org-startup-indented): New option.
1619         (org-startup-options): Add new options indent and noindent.
1620         (org-unfontify-region): Remove line-prefix and wrap-prefix
1621         properties.
1622         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
1623         hooks.
1624         (org-promote, org-demote): Run the new hooks.
1626         * org-table.el (org-table-align): Replace leading \n as well.
1628         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
1629         and `line-wrap' text properties.
1631         * org-compat.el (org-kill-new): New function.
1633         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
1634         `line-wrap' text properties.
1636         * org-indent.el: New file.
1638 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
1640         * org.el (org-provide-todo-statistics): Tweak docstring.
1642         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
1644 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
1646         * org-exp.el (org-export-as-org): Insert the "-source" string
1647         before the extension.
1649         * org.el (org-read-date): Make sure the calendar is in the current
1650         frame.
1651         (org-set-emph-re): Remove the ? from the post-match.
1652         (org-emphasis-regexp-components): Add backslash to the
1653         postmatch class.
1654         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
1655         optional so that also lines at the end of the buffers will still
1656         be matched as headlines.
1658         * org-table.el (org-table-error-on-row-ref-crossing-hline):
1659         Variable made obsolete.
1660         (org-table-relative-ref-may-cross-hline): New option.
1661         (org-table-find-row-type): Honow the new option
1662         `org-table-relative-ref-may-cross-hline'.
1664 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
1666         * org-table.el (org-table-cut-region, org-table-copy-region): Work
1667         on single field if no active region.
1669 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
1671         * org-latex.el (org-export-latex-make-header): Only insert title
1672         if one is defined.
1674         * org.el (org-make-options-regexp): Allow empty values.
1676         * org-html.el (org-export-as-html): Move hrule detection to after
1677         plain list handling.
1679 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
1681         * org-html.el (org-format-org-table-html): Fix colgroup tags.
1683 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
1685         * org.el (org-cycle-internal-local): Improved version of finding
1686         next visible line.
1687         (org-cycle-hide-drawers): Only hide drawers if this is really
1688         necessary.
1689         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
1690         org-version of this function in Org-mode.  We use advice to
1691         implement this change, so that future changes to this function in
1692         outline.el wil be handled properly.
1693         (org-forward-same-level, org-backward-same-level): New commands.
1695 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
1697         * org.el (org-remove-empty-overlays-at)
1698         (org-clean-visibility-after-subtree-move): New functons.
1699         (org-move-subtree-down): Simplify cleanup of display.
1701 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
1703         * org-mac-message.el (org-mac-message-get-links): Improve
1704         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
1705         "s".  Fix the return value.
1706         (org-mac-message-insert-flagged): Simplify.
1708         * org.el (org-refile-get-location): Tamper with refile history o
1709         that history contains compete matches instead of the entered
1710         string.
1712 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
1714         * org.el (org-store-link): Never store a link to an inline task.
1716         * org-inlinetask.el (org-inlinetask-insert-task): New command.
1718         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
1719         inline tasks when positioning footnotes.
1721         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
1722         function.
1724         * org.el (org-refile): Remove the END line when archiving an
1725         inline task that does have an END line.
1727         * org-archive.el (org-archive-subtree): Remove the END line when
1728         archiving an inline task that does have an END line.
1730         * org-macs.el (org-with-limited-levels): New macro.
1731         (org-get-limited-outline-regexp): New function.
1733         * org-exp.el (org-export-format-source-code-or-example): Fix bug
1734         that did not enumerate first line.
1735         (org-export-mark-radio-links): Skip matches in links.
1737 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
1739         * org.el (org-activate-plain-links): Make single-match.
1740         (org-adapt-indentation): Fix docstring.
1742         * org-macs.el (org-unmodified): Turn of modification hooks while
1743         running this macro.
1745 2009-08-02  Bastien Guerry  <bzg@altern.org>
1747         * org.el (org-adapt-indentation): Slightly improve the docstring.
1748         (org-occur): Sends an error when the user inputs an empty string.
1749         (org-priority): Bugfix: the tag alignement should happen within
1750         save-excursion.
1752 2009-07-31  Bastien Guerry  <bzg@altern.org>
1754         * org.el (org-make-link-regexps): Don't exclude parentheses from
1755         `org-plain-link-re'
1756         (org-cycle-internal-local): When locally cycling, switch directly
1757         from CHILDREN to FOLDED if there is no subtree
1758         (org-cycle): Update the docstring to document the new behavior of
1759         `org-cycle-internal-local'.
1761 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
1763         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
1764         an abbreviated format for days.
1766 2009-07-27  Bastien Guerry  <bzg@altern.org>
1768         * org-protocol.el (org-protocol-default-template-key): New
1769         option.
1771         * org.el (org-refile): Bugfix: save-excursion before reading the
1772         refile target, otherwise cursor moves might confuse `org-refile'.
1774         * org-html.el (org-export-as-html): Bugfix: correctly convert the
1775         footnote reference before the footnote itself.
1777         * org.el (org-toggle-heading): Bugfix: correctly convert list
1778         items before the first headline.
1780         * org-html.el (org-export-html-footnote-format): New option for
1781         formatting the footnote reference.
1782         (org-export-as-html): Use the new option.
1784         * org.el (org-provide-todo-statistics): Allow a list of TODO
1785         keywords to compute statistics against headlines containing a
1786         keyword from this list.
1787         (org-update-parent-todo-statistics): Possibly use the new allowed
1788         value of `org-provide-todo-statistics'.
1790 2009-07-26  Bastien Guerry  <bzg@altern.org>
1792         * org-timer.el: Add autoload cookie.
1794         * org.el (org-occur-link-in-agenda-files): New function.
1796         * org-timer.el (org-timer-last-timer): New variable.
1798         * org-agenda.el (org-agenda-mode-map): New key for
1799         org-timer-set-timer called from the agenda.
1801         * org.el (org-mode-map): New key for org-timer-set-timer.
1803         * org-timer.el (org-timer-reset-timers)
1804         (org-timer-show-remaining-time, org-timer-set-timer): New
1805         functions.
1807         * org-clock.el (org-show-notification): Update the docstring.
1809         * org.el (org-provide-todo-statistics): Allow new value
1810         'all-headlines for this option, which includes entries with no
1811         TODO keywords in the todo statistics.
1812         (org-update-parent-todo-statistics): Possibly use the new
1813         'all-headline value from `org-provide-todo-statistics'.
1815 2009-07-25  Bastien Guerry  <bzg@altern.org>
1817         * org-clock.el (org-dblock-write:clocktable): Add a new option
1818         :timestamp which allows display of timestamps in clock reports.
1820         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
1821         list to a subtree, preserving the structure of the list.
1822         (org-set-emph-re): Make the last element optional in the regexp.
1823         This regexp now matches an emphasized string at the end of a line.
1825         * org-list.el (org-list-goto-true-beginning)
1826         (org-list-make-subtree, org-list-make-subtrees): New functions.
1828         * org.el (org-eval-in-calendar): Select the right frame.
1829         (org-save-frame-excursion): Remove this macro.
1831 2009-07-24  Bastien Guerry  <bzg@altern.org>
1833         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
1834         trying to find the beginning of a list.
1836         * org-exp.el (org-get-file-contents): Use a new argument: markup.
1837         When present, tell org-get-file-contents not to protect org-like
1838         lines.
1840         * org-id.el (org-id-uuid-program): New option to set the name of
1841         the uuidgen program.
1842         (org-id-method): Use `org-id-uuid-program'.
1843         (org-id-new): Use `org-id-uuid-program'.
1845 2009-07-23  Bastien Guerry  <bzg@altern.org>
1847         * org-exp.el (org-export-number-lines): Allow whitespace in code
1848         references.  Allow the -r switch to remove the references in the
1849         source code even when the lines are not numbered: the labels can
1850         be explicit enough.
1852         * org.el (org-fontify-whole-heading-line): New option.
1853         (org-set-font-lock-defaults): Use the new option.
1855         * org-clock.el (org-show-notification-handler): New option.
1856         (org-show-notification): Use the new option.
1858 2009-07-21  Bastien Guerry  <bzg@altern.org>
1860         * org.el (org-eval-in-calendar): Fix a bug about calendar
1861         navigation when `calendar-setup' value is 'calendar-only.
1863 2009-07-19  Bastien Guerry  <bzg@altern.org>
1865         * org.el (orgstruct++-mode): Fix typo in docstring.
1866         (org-insert-link): Clean up: (or (...)) => (...)
1867         (org-insert-link): Use TAB for stored links completion.
1869 2009-07-18  Bastien Guerry  <bzg@altern.org>
1871         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
1872         building the list of targets.
1874         * org-remember.el (org-remember-delete-empty-lines-at-end): New
1875         option.
1876         (org-remember-handler): Use the new option.
1878 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
1880         * org.el (org-tags-sort-function): New option for sorting tags.
1881         (org-set-tags): Use the new option to sort tags.
1883         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
1884         premature deletion of the data when using org-plot in a script.
1886 2009-07-17  Bastien Guerry  <bzg@altern.org>
1888         * org-clock.el (org-clock-in-prepare-hook): New hook.
1889         (org-clock-in): Use this new hook.
1891 2009-07-16  Bastien Guerry  <bzg@altern.org>
1893         * org.el (org-special-ctrl-a/e): Explicitely bind the value
1894         'reversed for this option to the "true line boundary first"
1895         behavior.
1896         (org-tags-match-list-sublevels): Document the 'indented value for
1897         this variable.
1899         * org-latex.el (org-export-latex-first-lines): Fix problem with
1900         publishing the region.
1902         * org-exp.el (org-export-format-source-code-or-example): Fix
1903         bad line numbering when exporting examples in HTML.
1905         * org-colview.el (org-format-time-period): Formats a time in
1906         fractional days as days, hours, mins, seconds.
1907         (org-columns-display-here): Add special handling for SINCE and
1908         SINCE_IA to format for display.
1910 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
1912         * org.el (org-tags-sort-function): Add custom declaration for tags
1913         sorting function.
1914         (org-set-tags): Sort tags if org-tags-sort-function is set
1916 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
1918         * org-clock.el (org-clock-goto): Find hidden headlines as well.
1920         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
1922         * org-plot.el (org-plot/add-options-to-plist): Add timeind
1923         option.
1925 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
1927         * org-publish.el (org-publish-remove-all-timestamps): New function.
1928         (org-publish-all): Remove all timestamp files if `org-publish-all'
1929         is called with a prefix argument.
1931         * org-list.el (org-indent-item): Fix typo.
1932         (org-item-indent-positions): Normalize ordered bullet.
1934         * org-html.el (org-export-html-home/up-format): New option.
1935         (org-export-as-html): Insert the up and HOME links.
1937 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
1939         * org-html.el (org-export-as-html): Insert the title into the
1940         option plist.
1941         (org-export-html-insert-plist-item): New function.
1942         (org-export-as-html): Call `org-export-html-insert-plist-item'.
1944         * org-macs.el (org-set-local): Make a local variable, do not make
1945         the variable buffer-local!
1947         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
1949         * org-html.el (org-export-as-html): Call `org-install-letbind'.
1951         * org-docbook.el (org-export-as-docbook): Call
1952         `org-install-letbind'.
1954         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
1956         * org-exp.el (org-infile-export-plist): Read BIND lines.
1957         (org-install-letbind): New function.
1958         (org-export-as-org, org-export-preprocess-string): Call
1959         `org-install-letbind'.
1961         * org-src.el (org-edit-src-exit): Untabify the example before
1962         returning to Org.
1964         * org-list.el (org-list-demote-modify-bullet): New option.
1965         (org-first-list-item-p): Save point.
1966         (org-fix-bullet-type): New optional argument FORCE-BULLET.
1967         (org-indent-item): Honor `org-list-demote-modify-bullet'.
1968         (org-item-indent-positions): Return bullet types along with
1969         indentation.
1971 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
1973         * org.el (org-show-entry): Hide drawers.
1975 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
1977         * org-footnote.el (org-footnote-auto-adjust): New option.
1978         (org-footnote-auto-adjust-maybe): New function.
1979         (org-footnote-new, org-footnote-delete): Call
1980         `org-footnote-auto-adjust-maybe'.
1982         * org.el (org-startup-options): Add new footnote-related
1983         keywords.
1985         * org-publish.el (org-publish-timestamp-filename): Additional
1986         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
1987         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
1988         TRUE-PUB-DIR.  Pass them through to
1989         `org-publish-timestamp-filename'.
1990         (org-publish-update-timestamp): Additional arguments PUB-DIR and
1991         PUB-FUNC, which are included in the hash.
1992         (org-publish-file): Delay timestamp test until the publishing
1993         function is known.
1995 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
1997         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
1998         setting the deadline.
2000         * org.el (org-read-date-final-answer): New variable.
2001         (org-read-date): Store the final answer string, including the date
2002         from the calendar, for reuse by agenda bulk commands.
2004         * org-publish.el (org-publish-attachment): Fix publishing of
2005         attachments.
2007         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2008         quotation makrs in parenthesis.
2009         (org-remove-initial-hash): New function.
2010         (org-export-latex-preprocess): Fix bug with infinite loop if
2011         environment is not properly closed.
2013         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2014         when indented.
2016         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2017         highlight also when indented.
2019 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2021         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2022         (org-footnote-action): Offer renumbering.
2024         * org.el (org-cycle): Honor the `integrate' value of
2025         org-cycle-include-plain-lists'.
2027         * org-list.el (org-cycle-include-plain-lists): New allowed value
2028         `internal'.  Improve the docstring.
2030         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2031         regexp to work better with LaTeX commands.
2033 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2035         * org-feed.el (org-feed-update): fix problem with non-existing
2036         buffer.
2037         (org-feed-skip-http-headers): New function.
2038         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2039         (org-feed-get-feed): Fix command line arguments for curl.
2041 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2043         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2044         and eps extensions.
2046 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2048         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2049         loaded.
2051         * org.el (org-map-entries): No longer force
2052         `org-tags-match-list-sublevels' to t during a todo-only tags
2053         search.
2055 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2057         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2058         environment.
2059         (org-export-latex-subcontent): Handle user-defined environment.
2061         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2062         the View dispatcher.
2064         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2065         `make-overlay'.
2067         * org-latex.el (org-export-as-pdf): Protect match data during call
2068         to shell-quote-argument.
2070         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2071         (org-agenda-view-mode-dispatch): New function.
2073 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2075         * org-agenda.el (org-agenda-mode): Reset list of marks.
2076         (org-agenda-mode-map): Define new keys for refile and bulk action.
2077         (org-agenda-menu): Add menu itesm for refile and bulk action.
2078         (org-agenda-refile): New function.
2079         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2080         (org-agenda-marked-entries): New variable.
2081         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2082         (org-agenda-remove-all-bulk-action-marks)
2083         (org-agenda-bulk-action): New functions/commands.
2085 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2087         * org-exp.el (org-get-file-contents): Protect org-like lines in
2088         included files.
2089         (org-export-format-source-code-or-example): Remove newlines.
2091         * org-latex.el (org-export-latex-links): Check for no-description
2092         marking.
2094         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2095         argument separator back to comma.
2096         (org-export-normalize-links): Mark links without description.
2098 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2100         * org-exp.el (org-infile-export-plist): Fix bug in macro
2101         processing.
2103         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2104         out.
2105         (org-agenda-highlight-todo): Fix bug with highlighting.
2107 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2109         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2110         new alignment strings.
2112         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2113         command list.
2114         (org-table-align): Check for forced align type.
2116         * org.el (org-self-insert-command): Add yas/expand to command
2117         list.
2119         * org-clock.el (org-clock-in-hook): New hook.
2120         (org-clock-in): Run `org-clock-in-hook.
2121         (org-clock-out-hook): New hook.
2122         (org-clock-out): Run `org-clock-out-hook.
2123         (org-clock-cancel-hook): New hook.
2124         (org-clock-cancel): Run `org-clock-cancel-hook.
2125         (org-clock-goto-hook): New hook.
2126         (org-clock-goto): Run `org-clock-goto-hook.
2128 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2130         * org.el (org-store-link): Better default description for link to
2131         Org-mode headline.
2133         * org-exp.el (org-export-generic): Autoload the generic exporter
2134         function.
2135         (org-export): Implement the `g' key for the generic exporter.
2137 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2139         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2140         and for zbacktab'.
2142         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2144         * org-exp.el (org-infile-export-plist): Get macros also from
2145         #+SETUPFILE.
2147 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2149         * org-colview.el (org-columns-capture-view): Protect vertical bars
2150         in column values.
2151         (org-columns-capture-view): Exclude comment and archived trees.
2153         * org-colview-xemacs.el (org-columns-capture-view): Protect
2154         vertical bars in column values.
2155         (org-columns-capture-view): Exclude comment and archived trees.
2157         * org.el (org-quote-vert): New function.
2159         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2161         * org-exp.el (org-export-format-source-code-or-example): Use
2162         `org-export-latex-verbatim-wrap'.
2164         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2165         time stamps.
2167         * org-html.el (org-export-table-row-tags): New option.
2168         (org-format-org-table-html): Rename `nlines' to `nline', use new
2169         option.
2172 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2174         * org-exp-blocks.el: Declare functions and variables.
2176         * org-remember.el (org-remember-templates): Allow the headline
2177         element to be a function.
2178         (org-remember-apply-template): If the headline is a function, call
2179         it to get the true function.
2181         * org-clock.el (org-clock-menu): New function.
2182         (org-clock-update-mode-line): Update help string.
2183         (org-clock-modify-effort-estimate): New function.
2184         (org-clock-mark-default-task): New function.
2186         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2187         minutes as input.
2188         (org-org-menu): Add new clocking stuff.
2189         (org-clock-is-active): New function.
2191 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2193         * org.el (org-open-non-existing-files): Improve docstring.
2195 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2197         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2198         option.
2199         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2201         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2203         * org-list.el (org-get-checkbox-statistics-face): Use the new
2204         faces.
2206         * org-faces.el (org-checkbox-statistics-todo)
2207         (org-checkbox-statistics-done): New faces.
2209 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
2211         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2212         (org-edit-src-exit): Better cursor positioning when returning from
2213         editing.
2215         * org-latex.el (org-export-latex-use-verb): New variable.
2216         (org-export-latex-emph-format): Prefer \texttt over \verb when
2217         org-export-latex-use-verb is set.
2219 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
2221         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2222         at normal indentation.
2224         * org-html.el (org-export-html-close-lists-maybe): Also look at
2225         normal indentation.
2227         * org-remember.el (org-remember-handler): Abort remember if the
2228         buffer is empty.
2230         * org-src.el (org-edit-src-content-indentation): New option.
2231         (org-edit-src-exit): Apply extra indentation.
2233         * org-exp.el (org-export-format-source-code-or-example): Run
2234         `org-src-mode-hook'.
2236         * org-src.el (org-src-mode-hook): New variable.
2237         (org-edit-src-code): Run `org-src-mode-hook'.
2239 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2241         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2243         * org-src.el (org-edit-src-get-indentation): New function.
2244         (org-edit-src-code): Base indentation on the begin line.
2246 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
2248         * org-gnus.el (org-gnus-store-link): Require message.el in
2249         org-gnus-store-link.
2251 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2253         * org-src.el: New file, split out of org.el
2255         * org-docbook.el (org-export-as-docbook): Better indentation
2256         treatment.
2258         * org-macs.el (org-replace-match-keep-properties): New function.
2260         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2261         preprocessing of center and quote and verse blocks.
2263         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2264         (org-export-as-docbook): Close lists when original indentation
2265         mandates it.
2267         * org-html.el (org-export-html-close-lists-maybe): New function.
2268         (org-export-as-html): Close lists when original indentation
2269         mandates it.
2271         * org-list.el (org-list-end): Respect the stored "original"
2272         indentation when determining the end of the list.
2274         * org-exp.el (org-export-replace-src-segments-and-examples):
2275         Remember indentation correctly.
2277 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
2279         * org-clock.el (org-clock-update-mode-line): Apply face
2280         org-mode-line-clock.
2282         * org-faces.el (org-mode-line-clock): New face.
2284 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
2286         * org-gnus.el (org-gnus-store-link): Fix bug where
2287         `org-gnus-store-link' used wrong subject when called in an article
2288         buffer.  Patch provided by fengli AT gmail DOT com.
2290 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
2292         * org-exp.el (org-export-format-source-code-or-example): Remember
2293         the original indentation of source code snippets and examples.
2295         * org-latex.el (org-export-as-latex): Relocate the table of
2296         contents.
2298         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2300         * org-agenda.el (org-run-agenda-series): Scope global options also
2301         when creating the agenda buffer.
2303 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
2305         * org.el (org-adapt-indentation): Improve documentation.
2306         (org-insert-property-drawer): Respect org-adapt-indentation when
2307         inserting the drawer.
2308         (org-remove-flyspell-overlays-in): New function.
2309         (org-do-emphasis-faces, org-activate-plain-links)
2310         (org-activate-code, org-fontify-meta-lines-and-blocks)
2311         (org-activate-angle-links, org-activate-footnote-links)
2312         (org-activate-bracket-links, org-activate-dates)
2313         (org-activate-target-links, org-activate-tags): Remove flyspell
2314         overlays.
2316 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
2318         * org.el (org-edit-src-save): New function.
2320         * org-clock.el (org-clock-out-switch-to-state): New option.
2321         (org-clock-out): Honor `org-clock-out-switch-to-state'.
2323         * org-compat.el (org-compatible-face): Improve macro.
2325         * org.el (org-global-properties-fixed): Add default for
2326         CLOCK_MODELINE_TOTAL.
2328         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2329         andd tend.
2330         (org-clock-sum-current-item): Optional argument TSTART, pass it to
2331         org-clock-sum.
2332         (org-clock-get-sum-start): New function.
2334         * org.el (org-startup-options): New keywords blockhide and
2335         blockshow.
2336         (org-mode): Add new invisibility spec.
2337         (org-set-startup-visibility): Hide block on startup if so
2338         desired.
2339         (org-hide-block-startup): New option.
2340         (org-block-regexp): New constant.
2341         (org-hide-block-overlays): New variable.
2342         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2343         (org-show-block-all, org-hide-block-toggle-maybe)
2344         (org-hide-block-toggle): New functions.
2345         (org-edit-src-exit): Do not quote lines starting with # and no +
2346         behind it.
2347         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2348         entry.
2350 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
2352         * org.el (org-buffer-property-keys): Add Effort property for
2353         completion.
2355 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
2357         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2358         when retrieving total clocked time in the subtree.
2360         * org.el (org-quoting-blocks): New variable.
2362 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2364         * org-table.el (org-table-store-formulas)
2365         (org-table-get-stored-formulas, org-table-fix-formulas)
2366         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2367         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2369         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2370         indented #+TBLFM line.
2372         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2373         indented #+TBLFM line.
2375         * org-colview.el (org-dblock-write:columnview): Allow indented
2376         #+TBLFM line.
2378         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2379         indented #+TBLFM line.
2381         * org-clock.el (org-dblock-write:clocktable): Allow indented
2382         #+TBLFM line.
2384 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
2386         * org-exp.el (org-export-format-source-code-or-example): Make
2387         editing indented blocks work correctly.
2389         * org.el (org-edit-src-nindent): New variable.
2390         (org-edit-src-code, org-edit-fixed-width-region)
2391         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2392         editing indented blocks work correctly.
2394 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
2396         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2397         indented blocks.
2398         (org-export-format-source-code-or-example): Fix indentation of
2399         blocks.
2400         (org-export-remove-indentation): New function.
2401         (org-export-select-backend-specific-text): Allow backend-specific
2402         code to be indented.
2403         (org-export-mark-blockquote-verse-center): Allow markers to be
2404         indented.
2406         * org.el (org-fontify-meta-lines): New function.
2407         (org-set-font-lock-defaults): Call the new fontification
2408         function.
2410         * org-faces.el (org-meta-line): New face
2411         (org-block):  New face.
2413 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2415         * org.el (org-treat-insert-todo-heading-as-state-change)
2416         (org-treat-S-cursor-todo-selection-as-state-change): New
2417         variables.
2418         (org-insert-todo-heading): Honor
2419         `org-treat-insert-todo-heading-as-state-change'.
2420         (org-shiftright, org-shiftleft): Honor
2421         `org-treat-S-cursor-todo-selection-as-state-change'.
2422         (org-inhibit-logging): New variable.
2424 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
2426         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2427         range for marker position checking.
2429         * org-latex.el (org-export-latex-first-lines): Fix bug when
2430         exporting a region.
2432 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
2434         * org-exp.el (org-export-push-to-kill-ring): Protect using
2435         x-set-selection, because that does not always work.
2437         * org-agenda.el (org-agenda-list): Apply the new face
2438         `org-agenda-date-today'.
2440         * org-faces.el (org-agenda-date-today): New face.
2442 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
2444         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2445         creating appointments.
2447         * org-latex.el (org-export-latex-low-levels): Fix customization
2448         type.
2450         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2451         priority commands.
2453         * org-agenda.el (org-agenda-priority): Disable priority commands.
2455         * org.el (org-enable-priority-commands): New option.
2457         * org-colview-xemacs.el (org-columns-compute)
2458         (org-columns-number-to-string): Fix problems with empty fields.
2460         * org-colview.el (org-columns-compute)
2461         (org-columns-number-to-string): Fix problems with empty fields.
2463         * org-exp.el (org-export-push-to-kill-ring): New function.
2464         (org-export-copy-to-kill-ring): New option.
2466         * org-latex.el (org-export-as-latex): Call
2467         `org-export-push-to-kill-ring'.
2469         * org-html.el (org-export-as-html): Call
2470         `org-export-push-to-kill-ring'.
2472         * org-docbook.el (org-export-as-docbook): Call
2473         `org-export-push-to-kill-ring'.
2475         * org-ascii.el (org-export-as-ascii): Call
2476         `org-export-push-to-kill-ring'.
2478         * org-exp.el (org-export-show-temporary-export-buffer): New
2479         option.
2481         * org-latex.el (org-export-as-latex): Use
2482         `org-export-show-temporary-export-buffer'.
2484         * org-html.el (org-export-as-html): Use
2485         `org-export-show-temporary-export-buffer'.
2487         * org-docbook.el (org-export-as-docbook): Use
2488         `org-export-show-temporary-export-buffer'.
2490         * org-ascii.el (org-export-as-ascii-to-buffer): Use
2491         `org-export-show-temporary-export-buffer'.
2493         * org-exp.el (org-export-show-temporary-export-buffer): New
2494         option.
2495         (org-export-push-to-kill-ring): New function.
2497         * org-colview.el (org-columns-compile-map): New variable.
2498         (org-columns-new, org-columns-compute)
2499         (org-columns-number-to-string, org-columns-uncompile-format)
2500         (org-columns-compile-format): Implement new operators.
2502 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
2504         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2506         * org-html.el (org-export-html-xml-declaration): New option.
2507         (org-export-as-html): Use `org-export-html-xml-declaration'.
2509         * org-list.el (org-update-checkbox-count): Make property
2510         dependent.
2512         * org.el (org-hierarchical-todo-statistics): New option.
2513         (org-update-parent-todo-statistics): Modified to handle recursive
2514         statistics.
2516 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
2518         * org-publish.el (org-publish): Make this function behave
2519         correctly in interactive use when called with a prefix argument.
2521         * org.el (org-todo-statistics-hook): New hook.
2522         (org-update-parent-todo-statistics): Use new hook.
2523         (org-log-into-drawer): New function.
2524         (org-add-log-setup): Use the new `org-log-into-drawer' function to
2525         determine if we should be logging into a drawer.
2526         (org-log-into-drawer): Update docstring.
2527         (org-default-properties): Add LOG_INTO_DRAWER as a property.
2529         * org-list.el (org-checkbox-statistics-hook): New hook.
2530         (org-update-checkbox-count-maybe): Use new hook.
2532         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
2533         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
2534         to kill ring.
2536 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
2538         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
2539         a line.
2541 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
2543         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2544         better bufer-generating mechanism.
2545         (org-edit-src-find-buffer): New function.
2547         * org-icalendar.el (org-print-icalendar-entries): Don't check for
2548         archive tag, this is already done by `org-agenda-skip'.
2549         data while constructing lost of tags.
2551 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
2553         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2554         as argument separator in macros.
2556         * org-html.el (org-export-as-html): Add xml declaration.
2558 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
2560         * org.el (org-after-sorting-entries-or-items-hook): New hook.
2561         (org-sort-entries-or-items): Run the new hook.
2562         (org-after-refile-insert-hook): New hook.
2563         (org-refile): Run `org-after-refile-insert-hook'.
2565         * org-agenda.el (org-agenda-get-progress): Never take time of day
2566         from headline when displaying progress.
2568         * org-latex.el (org-export-latex-complex-heading-re): New variable.
2569         (org-export-as-latex): Force the correct regexp in the
2570         preprocessor buffer.
2571         (org-export-latex-set-initial-vars): Set
2572         `org-export-latex-complex-heading-re'.
2574         * org-agenda.el (org-agenda-start-with-log-mode): New option.
2575         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2577 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
2579         * org-latex.el (org-export-latex-tables-centered): New option.
2580         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2582         * org-exp.el (org-export-as-org): New command.
2583         (org-export-as-org): New command.
2585         * org-publish.el (org-publish-org-to-org): New function.
2587 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
2589         * org.el (org-yank): Just call `org-yank-generic'.
2590         (org-yank-generic): New function, containing the formaer
2591         functionality of `org-yank'.
2593         * org-latex.el (org-export-latex-not-done-keywords)
2594         (org-export-latex-done-keywords): New variables.
2595         (org-export-latex-todo-keyword-markup): New option.
2596         (org-export-latex-set-initial-vars): Remember the TODO keywords.
2597         (org-export-latex-keywords-maybe): Apply the TODO markup.
2599 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
2601         * org-exp.el (org-infile-export-plist): Add more default macros.
2602         (org-export-preprocess-apply-macros): Process macro arguments.
2604 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
2606         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
2607         `unblocked'.
2608         (org-print-icalendar-entries): Respect the new value of
2609         `org-icalendar-include-todo'.
2611         * org.el (org-link-try-special-completion)
2612         (org-file-complete-link): New functions.
2613         (org-insert-link): Add special completion support for some link
2614         types.
2616         * org-bbdb.el (org-bbdb-complete-link): New function.
2618 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
2620         * org-list.el (org-update-checkbox-count): Allow recursive
2621         statistics.
2622         (org-hierarchical-checkbox-statistics): New option.
2624         * org.el (org-cycle): Remove erraneous space character.
2626         * org-icalendar.el (org-icalendar-timezone): Initialize from
2627         environment.
2629         * org-html.el (org-format-org-table-html): Specify the scope.
2630         (org-format-table-table-html): Specify the scope.
2631         (org-export-table-header-tags): Prepare the scope parameter.
2633 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
2635         * org-html.el
2636         (org-export-html-table-use-header-tags-for-first-column): New
2637         option.
2639         * org.el (org-autoload): Fix autoloading of ascii export
2640         functions.
2641         (org-modules): Add org-special-blocks.
2643 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
2645         * org-icalendar.el (org-start-icalendar-file): Use the new option.
2646         (org-ical-timezone): New option.
2648         * org-exp.el (org-export-get-coderef-format): Use the description
2649         is present.
2651         * org.el (org-sort-entries-or-items): Improve docstring, and make
2652         better implementation for time sorting.
2654 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
2656         * org.el (org-edit-src-persistent-message): New option.
2657         (org-edit-src-code, org-edit-fixed-width-region): Use the new
2658         option.
2660         * org-clock.el (org-clock-insert-selection-line): Fix prefious
2661         patch.
2663         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
2664         separate buffer instead of indirect buffer to edit source code.
2665         (org-edit-src-exit): Make this function work with the new setup.
2667         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
2668         are properly fontified before shown in the selection menu.
2670         * org.el (org-fontify-like-in-org-mode): New function.
2672         * org-latex.el (org-export-latex-links): Use the property list to
2673         retrieve the default image attributes.
2675         * org-exp.el (org-export-plist-vars): Add a new option.
2677 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
2679         * org-exp.el (org-export, org-export-visible): Support ASCII
2680         export to buffer
2681         (org-export-normalize-links): Do not protect the description if it
2682         is explicitly given.
2684         * org-ascii.el (org-export-as-ascii-to-buffer)
2685         (org-replace-region-by-ascii, org-export-region-as-ascii): New
2686         commands.
2687         (org-export-as-ascii): Add all the same parameters that are also
2688         supported by the other export functions.
2690         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
2691         org-checklist.el.
2692         (org-reset-checkbox-state-subtree): Call
2693         `org-reset-checkbox-state-subtree'.
2695         * org-remember.el (org-select-remember-template): For the
2696         selection of a valid template.
2698         * org-latex.el (org-export-region-as-latex): Supply the
2699         force-no-subtree argument.
2700         (org-export-as-latex): Provide better limits when exporting the
2701         first line.  When exporting to string, we still want the first
2702         lines.
2703         (org-export-latex-first-lines): New argument END, to force the end
2704         of the region.
2705         (org-export-region-as-latex): Use the property list.
2706         (org-export-as-latex):
2708         * org-colview-xemacs.el (org-columns-remove-overlays)
2709         (org-columns): Fix call to `local-variable-p'.
2711 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
2713         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
2714         (org-export-as-html): Run the new hook.
2716         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
2717         (org-export-latex-preprocess): Run the new hook.
2719         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
2720         (org-export-preprocess-string): Run the new hook.
2722 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
2724         * org-macs.el (org-check-external-command): New defsubst.
2726         * org.el (org-mode-map): New key for reload.
2727         (org-format-latex): Better error message when external programs
2728         are not available.
2730         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
2732         * org.el (org-sort-entries-or-items): Explicit sorting function
2733         for priorities, needed for XEmacs compatibility.
2735         * org-remember.el (org-remember-apply-template): Improve auto-save
2736         behavior.
2738 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
2740         * org-latex.el (org-export-latex-preprocess): Also protect
2741         environments ending in a star.
2743         * org-list.el (org-at-item-p): Fix regular expression.
2745 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
2747         * org.el (org-end-of-subtree): Improve speed.
2749         * org-agenda.el (org-agenda-get-timestamps)
2750         (org-agenda-get-progress, org-agenda-get-deadlines)
2751         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
2752         in particular, wait as long as possible to collect the tags.
2753         (org-stuck-projects): Improve docstring.
2755         * org.el (org-store-link): No errors when getting custom id before
2756         first headline.
2757         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
2759 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
2761         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
2763         * org-protocol.el: Remove dependency on url.el.
2764         (org-protocol-unhex-compound, org-protocol-open-source): Remove
2765         dependency on url.el.
2767         * org-latex.el (org-export-as-pdf): Use
2768         `org-latex-to-pdf-process'.
2770 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
2772         * org-latex.el (org-latex-to-pdf-process): New option.
2774         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
2775         New option.
2776         (org-agenda-get-timestamps): Honor
2777         `org-agenda-skip-additional-timestamps-same-entry'.
2779         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
2780         (org-clock-goto): Find recent task only if
2781         `org-clock-goto-may-find-recent-task' allows it.
2783         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
2784         drawers, and drawers that are missing the :END: line.
2786 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
2788         * org-clock.el (org-clock-goto): Go to recently clocked task if no
2789         clock is running.
2791 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
2793         * org.el (org-update-parent-todo-statistics): Check for
2794         STATISTICS_FROM property.
2796         * org-list.el (org-update-checkbox-count): Check for
2797         STATISTICS_FROM property.
2799         * org.el (org-tab-first-hook)
2800         (org-tab-after-check-for-table-hook)
2801         (org-tab-after-check-for-cycling-hook): New hooks.
2802         (org-cycle-internal-global, org-cycle-internal-local): New
2803         functions, split out from `org-cycle'.
2804         (org-cycle): Call the new hooks.
2806 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
2808         * org-exp.el (org-export-preprocess-string): Reset the list of
2809         preferred targets for each run of the preprocessor.
2811         * org.el (org-refile-target-verify-function): Improve
2812         documentation.
2813         (org-get-refile-targets): Respect point being moved by the
2814         verification function.
2816         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
2817         option.
2818         (org-export-latex-keywords): Use new option.
2820         * org.el (org-rear-nonsticky-at): New defsubst.
2821         (org-activate-plain-links, org-activate-angle-links)
2822         (org-activate-footnote-links, org-activate-bracket-links)
2823         (org-activate-dates, org-activate-target-links)
2824         (org-activate-tags): Place the rear-nonsticky properties at the
2825         correct location.
2827 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
2829         * org-protocol.el (server-edit): Declare `server-edit'.
2830         (org-protocol-unhex-string, org-protocol-unhex-compound): New
2831         functions.
2832         (org-protocol-check-filename-for-protocol): Call `server-edit'.
2834         * org.el (org-default-properties): New default properteis for
2835         completion.
2837         * org-exp.el (org-export-add-subtree-options): Add new properties
2838         for subtree export.
2840         * org-docbook.el (org-export-docbook-keywords-markup)
2841         (org-export-docbook-timestamp-markup): New options.
2842         (org-export-docbook-protect-tags): New function.
2844 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
2846         * org-id.el (org-id-get-with-outline-path-completion): Turn off
2847         org-refile-target-verify-function for the duration of the command.
2849         * org.el (org-link-to-org-use-id): New possible value
2850         `create-if-interactive-and-no-custom-id'.
2851         (org-store-link): Use custom IDs.
2852         (org-link-search): Find custom ID properties from #link.
2853         (org-default-properties): Add CUSTOM_ID for property completion.
2854         (org-refile-target-verify-function): New option.
2855         (org-goto): Turn off org-refile-target-verify-function
2856         for the duration of the command.
2858 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
2860         * org-html.el (org-export-as-html): Use custom IDs in the toc.
2862         * org-exp.el (org-export-preferred-target-alist): New variable.
2863         (org-export-define-heading-targets): Find the new CUSTOM_ID
2864         property.
2865         (org-export-target-internal-links): Target the custom ids when
2866         possible.
2868         * org-latex.el (org-export-latex-preprocess): Better regexp for
2869         matching latex macros with arguments.
2871 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
2873         * org-remember.el (org-remember-handler): Allow filing to non-org
2874         files.
2876 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
2878         * org-feed.el (org-feed-alist): New keyword options.
2879         (org-feed-update): Use the new options.
2880         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
2881         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
2882         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
2883         functions.
2885         * org-table.el (org-table-fix-formulas): Do not change references
2886         to remote tables.
2887         (org-table-get-remote-range): Convert standard coordinates to RC
2888         format.
2890         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
2892 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
2894         * org-compat.el (org-sha1-string): Function removed.
2896         * org.el (org-refile-allow-creating-parent-nodes): New option.
2897         (org-refile-get-location): New argument NEW-NODES.
2898         (org-refile): Call `org-refile-get-location' with the new
2899         argument.
2900         (org-refile-get-location): Arrange for adding a new child.
2901         (org-refile-new-child): New function.
2903         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
2904         an additional span element.
2906         * org-clock.el: Fix a number of docstrings.
2907         (org-clock-find-position): New argument
2908         FIND-UNCLOSED to make the function find an unclosed clock in the
2909         entry.
2910         (org-clock-in): Call `org-clock-find-position' with the new
2911         argument if we might be resuming a clock.
2913 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
2915         * org-latex.el (org-export-latex-display-custom-times): New variable.
2916         (org-export-latex-timestamp-markup): New option.
2917         (org-export-latex-set-initial-vars): Remember the local value of
2918         `org-display-custom-times'.
2919         (org-export-latex-content): Process time stamps.
2920         (org-export-latex-time-stamps): New function.
2922         * org-macs.el (org-maybe-intangible): Add intangible property
2923         again to invisible text.
2925 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
2927         * org-exp.el (org-default-export-plist): Handle undefined
2928         variables.
2930 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
2932         * org.el (org-sort-entries-or-items): Match TODO keywrds
2933         case-sensitively, when sorting.
2934         (org-priority): Do not match TODO keywords with wrong case.
2936 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
2938         * org-feed.el (org-feed-update): Bind the variable
2939         `new-formatted'.
2941         * org-html.el (org-export-as-html): Start paragraphs after literal
2942         examples.
2944         * org-docbook.el (org-export-as-docbook): Start paragraphs after
2945         literal examples.
2947 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
2949         * org.el (org-todo): Honor the NOBLOCKING property.
2951         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
2952         NOBLOCKING property.
2954         * org.el (org-scan-tags): Fix bug in tag scanner
2956 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
2958         * org.el (org-modules): Mark obsolete packages.
2960         * org-html.el: New file, split out from org-exp.el.
2962         * org-icalendar.el: New file, split out from org-exp.el.
2964         * org-xoxo.el: New file, split out from org-exp.el.
2966         * org-ascii.el: New file, split out from org-exp.el.
2968 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
2970         * org-compat.el (org-find-library-name): New function.
2972         * org.el (org-pre-cycle-hook): New hook.
2973         (org-cycle): Call the new hook in appropriate places.
2974         (org-reload): Only reload files that have been loaded before.
2976 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
2978         * org.el (org-set-font-lock-defaults): Enforxe space or line end
2979         after todo keyword.
2980         (org-todo): When changing TODO state, do matching
2981         case-sensitively.
2982         (org-map-continue-from): New variable.
2983         (org-scan-tags): Respect values in `org-map-continue-from'.
2984         (org-reload): Make XEmacs compatible.
2986 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
2988         * org-protocol.el (org-protocol-flatten-greedy): New function.
2989         (org-protocol-flatten): New function.
2991         * org.el (org-open-link-from-string): Pass reference buffer to
2992         `org-open-at-point'.
2993         (org-open-at-point): New optional argument `reference-buffer'.
2995 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
2997         * org.el (org-scan-tags): Make tag scan find headline in first
2998         line, 2nd attempt.
2999         (org-get-refile-targets): Add the naked file name.
3000         (org-refile): Store as top-level entry when only file name was
3001         given.
3003         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3005         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3006         Renamed from org-block-todo-from-children-or-siblings, and
3007         enhanced to look for the parent's status as well.
3009         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3010         (org-agenda-get-progress): Add first notes line to log entry if so
3011         desired.
3013 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3015         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3016         (org-agenda-cleanup-fancy-diary): Call the new hook.
3018         * org-remember.el (org-remember-apply-template): Take the default
3019         for the annotation from the :annotation property.
3021         * org-mac-message.el (org-mac-message-get-link): Remove the
3022         quotes.
3023         (org-mac-message-get-link): Return the result.
3025 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3027         * org.el (org-refile-get-location): Add file name only if not
3028         already included in outline path.
3030         * org-faces.el (org-n-level-faces): Fix customization type from
3031         number to integer.
3033         * org-exp.el (org-export-headline-levels): Fix customization type
3034         from number to integer.
3036         * org-agenda.el (org-agenda-confirm-kill)
3037         (org-agenda-custom-commands-local-options)
3038         (org-timeline-show-empty-dates, org-agenda-ndays)
3039         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3040         customization type from number to integer.
3042 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3044         * org-protocol.el: Declare some functions.
3046         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3047         postion before inserting modified headline.
3049         * org-agenda.el (org-agenda-compare-effort): Honor
3050         `org-sort-agenda-noeffort-is-high'.
3051         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3052         (org-agenda-compare-effort): Implement the "?" operator for
3053         finding entries without effort setting.
3055         * org.el (org-extract-attributes-from-string): New function.
3057         * org-exp.el (org-export-splice-attributes): New function.
3059 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3061         * org-mouse.el: XEmacs compatibility fixes
3063         * org-docbook.el (org-export-as-docbook): Process footnotes like
3064         normal text.
3066         * org.el (org-modules): Add org-inlinetasks.el
3067         (org-cycle): Implement limiting level on cycling.
3068         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3069         buffer.
3071         * org-inlinetask.el: New file.
3073         * org.el (org-emphasis-regexp-components): Allow braces in
3074         emphasis pre and post match.
3076         * org-footnote.el (org-footnote-normalize): When only dorting, do
3077         not insert inline notes at the end.
3079         * org-docbook.el (org-id-find-id-file): Add function declaration.
3081         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3083         * org-docbook.el: New file.
3085 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3087         * org.el (org-reftex-citation): New command.
3089 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3091         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3092         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3093         sorting options.
3094         (org-entries-lessp): Apply the new sorting option.
3096         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3097         blocker code, when an older sibling has children.
3099         * org-mac-message.el (org-mac-message-get-link): Improve getting
3100         links from multiple selected messages.
3102 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3104         * org-remember.el (org-remember-finalize): Do not set buffer file
3105         name to nil.
3106         (org-remember-handler): Mark buffer as unmodified.
3107         (org-remember-handler): Delete backup file and show message about
3108         remaining backup files.
3109         (org-remember-auto-remove-backup-files): New option.
3111         * org.el (org-store-link): Use buffer name as link description in
3112         w3-mode buffers.
3113         (org-ido-switchb): Fix argument bug for completion.
3115         * org-remember.el (org-remember-apply-template): Set local
3116         variable `auto-save-visited-file-name' instead of global one.
3118 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3120         * org-feed.el: Re-write.
3122         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3123         (org-agenda-get-todos): Mark file tags as inherited.
3124         (org-agenda-list): Always search diary lines for a time.
3126 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3128         * org-feed.el (org-feed-assume-stable): New option.
3129         (org-feed-before-adding-hook): New hook.
3131         * org-exp.el (org-export-as-html): Close local lists depending on
3132         indentation, also when starting a table.
3134         * org-remember.el (org-remember-backup-directory)
3135         (org-remember-backup-name): New internal variable.
3137 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3139         * org-clock.el (org-clock-out-if-current): Make buffer detection
3140         work in indirect buffers as well.
3142         * org.el (org-emphasis-regexp-components): Add the exxclamation
3143         mark to the post-emphasis characters.
3145 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3147         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3148         (org-read-date): Run the new hook.
3150         * org-mac-message.el (org-mac-flagged-mail): New group.
3151         (org-mac-mail-account): New variable.
3152         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3153         commands.
3155         * org-remember.el (org-remember-backup-directory): New variable.
3156         (org-remember-apply-template): Write file to backup directory.
3158 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3160         * org-mouse.el (org-mouse-todo-menu): New function.
3161         (org-mouse-todo-keywords): Function removed.
3162         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3164         * org-table.el (org-table-beginning-of-field)
3165         (org-table-end-of-field): New commands
3166         (org-table-previous-field, org-table-beginning-of-field): Better
3167         error messages.
3168         (orgtbl-setup): Include `M-a' and `M-e'.
3170         * org.el (org-backward-sentence, org-forward-sentence): New
3171         commands.
3173         * org-colview.el (org-colview-initial-truncate-line-value): New
3174         variable.
3175         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3176         (org-columns): Remember the value of `truncate-lines'.
3178         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3179         New variable.
3180         (org-columns-remove-overlays): Restore the value of
3181         `truncate-lines'.
3182         (org-columns): Remember the value of `truncate-lines'.
3184         * org.el (org-columns-skip-arrchived-trees): New option.
3186         * org-agenda.el (org-agenda-export-html-style): Define color for
3187         org-agenda-done face.
3188         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3189         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3191         * org.el (org-scan-tags): Use the new face.
3193         * org-faces.el (org-agenda-done): New face.
3195         * org.el (org-scan-tags): Test the value org
3196         `org-tags-match-list-sublevels'.
3197         (org-tags-match-list-sublevels): New allowed value: indented.
3199         * org-export-latex.el (org-export-latex-make-header): Apply macros
3200         in header.
3202         * org-exp.el (org-export-apply-macros-in-string): New function.
3204         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3205         with the definition of a checked box.
3207         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3209         * org-export-latex.el (org-export-latex-low-levels): More options
3210         for how to process lower levels in LaTeX.
3211         (org-export-latex-subcontent): Better treatment for lists as a
3212         means of publishing lower levels.
3214 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
3216         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3218         * org-faces.el (org-checkbox): New face.
3220         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3221         fragement images if there is an export file.
3223 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3225         * org-agenda.el (org-stuck-projects): Document that the subtree of
3226         projects that are not stuck will now be searched for stuck
3227         sub-projects.
3228         (org-agenda-skip-entry-when-regexp-matches)
3229         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3230         (org-agenda-list-stuck-projects): Use
3231         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3233         * org-export-latex.el (org-export-latex-preprocess): Improve
3234         export of verses.
3236         * org-exp.el (org-export-as-html): Implement centering as a div
3237         rather than a paragraph.  Do a better job with line-end in verse
3238         environments.
3240 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
3242         * org.el (org-open-at-point): Fix tags searches by mouse click.
3244 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
3246         * org-export-latex.el (org-export-latex-preprocess): Implement the
3247         centering markup.
3249         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3250         from `org-export-mark-blockquote-and-verse'.
3251         (org-export-as-html): Implement the centering markup.
3253         * org-export-latex.el (org-export-latex-tables): Fix vertical
3254         lines in tables.
3256 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
3258         * org.el (org-read-date-history): New variable.
3259         (org-read-date): Use new history variable.
3260         (org-toggle-heading): Fix bug when used before first headline.
3261         (org-store-log-note): Remove drawer if empty while note is
3262         aborted.
3263         (org-remove-empty-drawer-at): New function.
3264         (org-check-after-date): New command.
3265         (org-sparse-tree): New sparse tree command "a".
3267         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3269 2009-03-14  Bastien Guerry  <bzg@altern.org>
3271         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3272         column and a space, not only a column.
3274 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
3276         * org-export-latex.el (org-export-latex-emphasis-alist): Better
3277         defaults for verbose emphasis.
3278         (org-export-latex-emph-format): New function.
3279         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3281         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3282         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3283         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3284         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3285         commands.
3287         * org.el (org-timestamp-change): Move end-time along with start
3288         time.
3290 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
3292         * org-exp.el (org-export-target-internal-links)
3293         (org-export-as-html): Protect links specified as #name.
3295 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
3297         * org.el (org-clone-subtree-with-time-shift): New command.
3299         * org-export-latex.el (org-export-latex-special-chars)
3300         (org-export-latex-treat-sub-super-char): Fix subscript export.
3302         * org-exp.el (org-create-multibrace-regexp): Do not add
3303         backslashes to the class.
3305 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
3307         * org-colview.el (org-columns-map): Better functions for moving up
3308         and down a row, even if `truncate-line' is nil.
3310         * org.el (org-insert-todo-heading): Make sure the keyword is
3311         inserted at the correct position.
3313         * org-publish.el (org-publish-project-alist)
3314         (org-publish-projects, org-publish-org-index): Change default anme
3315         for the index of file names to "sitemap.org".
3317         * org-export-latex.el (org-export-latex-tables): Use
3318         `org-split-string', for Emacs 21 compatibility.
3320 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
3322         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3324 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
3326         * org-exp.el (org-export-page-description)
3327         (org-export-page-keywords): New variables.
3328         (org-export-plist-vars): Add entries for :keywords and
3329         :description.
3330         (org-infile-export-plist): Parse for new keywords.
3331         (org-get-current-options): Add new keywords
3332         (org-export-as-html): Publish description and keywords.
3334         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3335         option.
3336         (org-agenda-add-entry-text): Honor
3337         `org-agenda-add-entry-text-descriptive-links'.
3339         * org-export-latex.el (org-export-latex-preprocess): Make all
3340         external preprocess functions use a PARAMETER arg.
3342         * org-exp.el (org-export-preprocess-string)
3343         (org-export-select-backend-specific-text)
3344         (org-export-format-source-code-or-example)
3345         (org-format-org-table-html): Support docbook export.
3346         (org-export-preprocess-string): Make all external preprocess
3347         functions use a PARAMETER arg.
3349 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
3351         * org-exp.el (org-export-html-style-include-scripts): New option.
3352         (org-export-plist-vars): Add new option
3353         `org-export-html-style-include-scripts'.
3354         (org-export-as-html): Honor new option
3355         `org-export-html-style-include-scripts'.
3356         (org-export-html-scripts, org-export-html-style-default): Fix
3357         xml issues with the Safari browser.
3359 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
3361         * org-publish.el (org-publish-attachment): Only copy file when the
3362         directories differ.
3364 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
3366         * org-clock.el (org-clocktable-steps): Use inactive time stamps
3367         for clocktable steps.
3369         * org.el (org-additional-option-like-keywords): Add two more
3370         keywords.
3372 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
3374         * org-exp.el (org-export-format-source-code-or-example): Mark
3375         temporary buffer unmodified, so that it will be killed even if
3376         mode like message mode has decided to assign a file name.
3378         * org.el (org-scan-tags): Improve tag inheritance.
3379         (org-scan-tags, org-make-tags-matcher): Make tag comparison
3380         case-sensitive.
3381         (org-scan-tags): Use the internal tags list instead of creating it
3382         from scratch.
3383         (org-trust-scanner-tags, org-scanner-tags): New variables.
3384         (org-scan-tags): Set `org-scanner-tags'.
3385         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3386         (org-map-entries): Document the possible speedup using scanner
3387         tags.
3389 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
3391         * org.el (org-add-planning-info): Fix bug with looking for keyword
3392         only at column 0.
3394         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3395         option for tags filter preset.
3396         (org-prepare-agenda): Store filter preset as a property on the
3397         filter variable.
3398         (org-finalize-agenda): Call the filter, if there is a preset.
3399         (org-agenda-filter-by-tag): Filter again after clearing the
3400         filter, when there still is a preset.
3401         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3402         Include the preset filter.
3403         (org-agenda-redo): Apply the filter again, also the preset filter.
3405         * org-exp.el (org-export-as-html): Use IDs in the correct way.
3407         * org.el (org-uuidgen-p): New funtion.
3409         * org-agenda.el (org-agenda-fontify-priorities): New default value
3410         `cookies'.
3411         (org-agenda-fontify-priorities): Renamed from
3412         org-fontify-priorities.
3414         * org.el (org-set-font-lock-defaults): Call
3415         `org-font-lock-add-priority-faces'.
3416         (org-font-lock-add-priority-faces): New function.
3418         * org-faces.el: (org-set-tag-faces): New option.
3419         (org-priority-faces): New variable.
3421         * org-exp.el (org-export-as-html): Add a "content" div around the
3422         entire content of the body tag.
3423         (org-export-html-get-bibliography): New function.
3424         (org-export-html-validation-link): New variable.
3425         (org-export-as-html): Add validation link to exported page.
3427         * org.el (org-match-sparse-tree): Renamed from
3428         `org-tags-sparse-tree'.
3429         (org-tags-sparse-tree): New alias.
3431 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
3433         * org.el (org-get-valid-level): Catch the case where the level
3434         change is nil.
3436         * org-clock.el (org-clock-find-position): Better indentation of
3437         new clock drawers.
3439 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
3441         * org-agenda.el (org-agenda-quit): Delete window only when the
3442         frame-setup was not `current-window'.
3444         * org.el (org-tag-persistent-alist): New option.
3445         (org-startup-options): Add keyword `noptag'.
3446         (org-fast-todo-selection): Handle :newline correctly.
3447         (org-set-tags): Handle :newline correctly.
3448         (org-fast-tag-selection): Handle :newline correctly.
3450 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
3452         * org-exp.el (org-export-as-ascii): Reverse link buffer before
3453         outputting it.
3454         (org-export-ascii-push-links): Fix bug with pussing links into the
3455         export buffer.
3457 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
3459         * org-archive.el (org-archive-subtree): Do not add 1 to level if
3460         pasting at top level.
3462         * org-bbdb.el: Improve documentation.
3464 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
3466         * org-list.el (org-insert-item): Only consider insert empty lines
3467         is `org-empty-line-terminates-plain-lists' is not nil.
3469         * org.el (org-blank-before-new-entry): Mention the dependence on
3470         `org-empty-line-terminates-plain-lists' in the docstring.
3472         * org-publish.el (org-publish-get-project-from-filename): New
3473         optional argument UP.  Only find the top project if UP is set.
3474         (org-publish-current-project): Find the top encloding project.
3476         * org-agenda.el (org-agenda-before-write-hook)
3477         (org-agenda-add-entry-text-maxlines): New options.
3478         (org-write-agenda): Run the new hook in the temporary buffer.
3479         (org-agenda-add-entry-text): New function.
3480         (org-write-agenda): Implement PDF export, using ps2pdf.
3482         * org.el (org-global-properties-fixed, org-global-properties):
3483         Improve documentation string.
3485         * org-exp.el (org-export-ascii-links-to-notes): New option.
3486         (org-export-as-ascii): Handle links better.
3487         (org-export-ascii-wrap, org-export-ascii-push-links): New
3488         functions.
3490 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
3492         * org-agenda.el (org-agenda): Make prefix arg optional.
3493         (org-agenda-search-headline-for-time): New option.
3494         (org-format-agenda-item): Honor
3495         `org-agenda-search-headline-for-time'.
3497         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3498         characters.
3500         * org.el (org-self-insert-cluster-for-undo): New option.
3501         (org-self-insert-command): Cluster undo for 20 characters.
3502         (org-self-insert-command-undo-counter): New variable.
3504 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
3506         * org-exp.el (org-export-as-html): Fix problem with closing colone
3507         example.
3509 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
3511         * org-export-latex.el (org-export-as-latex)
3512         (org-export-latex-first-lines): Avoid modification flag when
3513         adding or removing text properties.
3514         (org-export-latex-fontify): Catch error when org-emph-alist has
3515         entries that are not defined for LaTeX export.
3517         * org.el (orgstruct++-mode): New function.
3518         (turn-on-orgstruct++): Call `orgstruct++-mode'.
3519         (org-context-p): Allow detecting item context after the first line
3520         of an item.
3521         (orgstruct-make-binding): Detect if item-body context should be
3522         seen.
3523         (orgstruct-is-++): New variable.
3524         (org-add-planning-info): Catch the case when there is no planning
3525         info yet and the call does not want to add anything, only maybe
3526         tries to remove something.
3527         (org-special-ctrl-a/e): All value to be a cons cell with separate
3528         settings for `C-a. and `C-e'.
3529         (org-beginning-of-line, org-end-of-line): Honor separate values
3530         for `C-a' and `C-e'.
3532 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
3534         * org.el (org-reload): New command.
3536 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
3538         * org-exp.el (org-export-htm-get-tag-class-name)
3539         (org-export-htm-get-todo-kwd-class-name): New functions.
3540         (org-export-html-tag-class-prefix)
3541         (org-export-html-todo-kwd-class-prefix): New options.
3542         (org-export-as-html): Call
3543         `org-export-html-get-todo-kwd-class-name'.
3544         (org-html-level-start): Wrap tags into classes.
3545         (org-export-html-get-tag-class-name)
3546         (org-export-html-get-todo-kwd-class-name): New functions.
3548         * org-export-latex.el (org-export-latex-collect-header-macros):
3549         Remove fields that are used anyway.
3550         (org-export-latex-make-header): Insert the options earlier.
3552         * org-agenda.el (org-agenda-get-progress): Fix bug with state
3553         matching.
3555         * org-list.el (org-indent-item): Allow point to be at the end of
3556         the region.
3558         * org.el (org-metaleft, org-metaright): Be more accurate about
3559         detecting a region where commands apply.
3561         * org-compat.el (org-cursor-to-region-beginning): New function.
3563         * org.el (org-priority): Also find invisible heading.
3565         * org-colview-xemacs.el (org-columns-edit-value): No special
3566         treatment for `org-todo' prefix.
3568         * org-colview.el (org-columns-edit-value): No special treatment
3569         for `org-todo' prefix.
3571         * org-remember.el (org-remember-apply-template): Use
3572         `org-completing-read-no-ido'.
3574         * org.el (org-completing-read-no-ido): New function.
3575         (org-make-tags-matcher, org-set-property): Use
3576         `org-completing-read-no-ido'.
3578         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
3579         New option.
3580         (org-export-as-latex): Import in-buffer settings as TeX macros.
3581         (org-export-latex-make-header): Additional parameter OPT-DEFS.
3582         (org-export-latex-collect-header-macros): New function.
3584         * org.el (org-refile-get-location): Turn off
3585         `partial-completion-mode'.
3587 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
3589         * org.el (org-block-todo-from-checkboxes): Announce that
3590         checkboxes are the culprit.
3591         (org-block-todo-from-children-or-siblings): Call
3592         `org-up-heading-all instead' of `outline-up-heading'.
3594         * org-agenda.el (org-agenda-show-1): Renamed from
3595         `org-agenda-show'.
3596         (org-agenda-show): Re-install the old version for now.
3597         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
3598         variable into the blokker hook, so that the checkbox checker can
3599         anounce that it caused the blocking.
3601         * org.el (org-track-ordered-property-with-tag): New option.
3602         (org-toggle-ordered-property): Honor
3603         `org-track-ordered-property-with-tag'.
3604         (org-tag-alist): Add newline options.
3605         (org-set-regexps-and-options): Separate option lines imply a
3606         newline.
3607         (org-set-regexps-and-options, org-assign-fast-keys)
3608         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
3609         option.
3610         (org-indent-line-function): Make sure this works even if there is
3611         not `org-drawer-regexp' defined.  This can happen when
3612         orgstruct-mode is used in a non-org buffer.
3614         * org-list.el (org-checkbox-blocked-p): New function.
3615         (org-toggle-checkbox): Check for blocking.
3617         * org.el (org-modules): Add an entry for org-R.el.
3619         * org-agenda.el (org-agenda-todo-ignore-with-date)
3620         (org-agenda-todo-ignore-scheduled)
3621         (org-agenda-todo-ignore-deadlines): Mention the variable
3622         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
3624         * org.el (org-get-wdays): Find the warning period also if it is in
3625         the wrong place.
3626         (org-ido-completing-read): Provide the correct arguments to
3627         ido-completing-read and bind `ido-enter-matching-directory' to
3628         nil.
3630 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
3632         * org.el (org-olpath-completing-read): Never use ido for this
3633         one.
3635         * org-exp.el (org-export-normalize-links): Use new macro.
3637         * org-macs.el (org-if-unprotected-at): New macro.
3639         * org-agenda.el (org-agenda-show): Allow numerical prefix
3640         arguments to specify how much context should be shown.
3641         (org-agenda-cycle-show): New command, could be bound to SPC in
3642         org-agenda-mode-map.
3644         * org-exp.el (org-html-level-start): Space after section number.
3646 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
3648         * org-agenda.el (org-agenda-get-sexps): Add todo state as
3649         property, for sorting.
3650         (org-cmp-todo-state): Get the applicable TODO keywords directly
3651         from the buffer.
3652         (org-run-agenda-series, org-agenda-list, org-search-view)
3653         (org-todo-list, org-tags-view): Only fit agenda window when the
3654         whole series is done.
3656         * org.el (org-scan-tags): Add todo state as property, for sorting.
3658         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3659         `org-agenda-overriding-header' as an option.
3660         (org-agenda-list): Honor org-agenda-overriding-header'.
3662 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
3664         * org-list.el (org-toggle-checkbox): Improve cursor positioning
3665         after removing a checkbox.
3667         * org.el (org-show-entry): Make this work correctly also if it is
3668         the last entry in the file.
3669         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
3670         falling back to normal, default command.
3671         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
3672         item, call the checkbox toggler to get a box.
3674         * org-list.el (org-toggle-checkbox): Make double prefix set the
3675         checkbox to "[-]".
3676         (org-fix-bullet-type): Only replace bullet if it is changed.
3677         (org-renumber-ordered-list): Handle case when first item does not
3678         have a number.
3680         * org.el (org-add-log-setup): Fix positioning when
3681         `org-log-states-order-reversed' is nil.
3683         * org-clock.el (org-clock-in): Fix positioning when
3684         `org-log-states-order-reversed' is nil.
3685         (org-clock-find-position): Fix positioning when
3686         `org-log-states-order-reversed' is nil.
3688 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
3690         * org-clock.el (org-clock-into-drawer): Take default from
3691         `org-log-into-drawer'.
3692         (org-clock-find-position): Look for the correct drawer.
3694         * org.el (org-log-into-drawer): Renamed from
3695         `org-log-state-notes-into-drawer'.
3696         (org-log-state-notes-into-drawer): New variable alias.
3697         (org-add-log-setup): Make drawer name default to LOGBOOK, not
3698         CLOCK.
3699         (org-insert-property-drawer): Also skip LOGBOOK drawers.
3701 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
3703         * org-agenda.el (org-agenda): Fix docstring.
3705         * org.el ("org-plot"): Help loading org-plot.
3706         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
3707         (org-metadown-hook, org-shiftmetaleft-hook)
3708         (org-shiftmetaright-hook, org-shiftmetaup-hook)
3709         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
3710         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3711         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
3712         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
3714         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
3715         for selecting files with any (and even without) extension.
3717         * org.el (org-save-all-org-buffers): Also save id locations.
3718         (org-revert-all-org-buffers): Also load id locations.
3720 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
3721         * org.el (org-drawers): Add LOGBOOK to the default drawers.
3722         (org-log-state-notes-into-drawer): New option.
3723         (org-add-log-setup): Place the sate note marker into the drawer,
3724         create drawer when necessary.
3725         (org-refile-targets): Document special interpretation of LEVEL
3726         when odd-levels are used.
3728 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
3730         * org.el (org-store-log-note): Fix note indentation when adding
3731         notes to end of list.
3733         * org-exp.el (org-export-as-html): Add TODO keyword as extra
3734         class, so that each keyword can get special colors through CSS.
3736         * org-clock.el (org-clock-out): Add another nil for the previous
3737         state into the call to `org-add-log-setup'.
3739         * org.el (org-log-note-previous-state): New variable.
3740         (org-log-note-headings): New %S escape for old state.
3741         (org-todo): Call the note setup with the old state as an
3742         argument.
3743         (org-add-note): Add another nil for the previous state into the
3744         call to `org-add-log-setup'.
3745         (org-add-log-setup): New argument PREV-STATE.
3746         (org-add-log-note): Handle new %S escape.
3747         (org-store-log-note): Handle new %S escape.
3749 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
3751         * org-clock.el (org-clock-find-position): Do not swallow an item
3752         less indented than the CLOCK line itself.
3753         (org-clock-in): Push markers to lin after the clock line.
3754         (org-clock-find-position): Handle values of
3755         `org-clock-into-drawer' smaller than 2.
3757         * org-exp.el (org-html-level-start): Add a CSS class to section
3758         numbers.
3759         (org-export-html-toplevel-hlevel): Better documentation of the
3760         influence of this variables on H levels and css classes in
3761         export.
3763 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
3765         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3766         timestamp and nottimestamp to the chooe menu.
3768         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
3769         (org-revert-all-org-buffers): New command.
3771 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
3773         * org.el (org-return): Implement `org-return-follows-link' in the
3774         function org-return.  This is more robust than using the mouse
3775         map, I think.
3776         (org-set-regexps-and-options): Match more general #+TODO lines.
3777         (org-make-options-regexp): New optional argument EXTRA, for an
3778         extra regexp.
3779         (org-tab-follows-link): Mark as deprecated.
3781 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
3783         * org-exp.el (org-export-preprocess-string): Remove clock lines
3784         earlier, so that they cannot cotribute to verbatim snippets.
3786 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
3788         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
3789         for finding drawers.
3790         (org-export-as-ascii, org-export-as-html): Count levels relative
3791         to the subtree header.
3792         (org-get-min-level): New optional argument OFFSET.
3793         (org-export): Make sure point is restored after popping up that
3794         window.
3796         * org.el (org-do-sort): Also take an inactive timestamp if no
3797         active one is found.
3799         * org-colview-xemacs.el (org-columns-capture-view): Copy before
3800         deleting duplicates.
3802         * org-colview.el (org-columns-capture-view): Copy before
3803         deleting duplicates.
3805         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
3806         text before first headline.
3808         * org.el (org-format-latex): Do not convert LaTeX fragments in
3809         protected examples.
3811 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
3813         * org-exp.el (org-export-html-style-default): Use color values
3814         instead of names for XHTML validation.
3816         * org.el (org-get-scheduled-time, org-get-deadline-time): New
3817         functions.
3818         (org-return-follows-link): Revert making this the default untile
3819         issues are resolved.
3821         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
3822         nottimestamp.
3824 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
3826         * org.el (org-mode): Make dependence stuff work more reliably.
3827         (org-update-parent-todo-statistics): Fix bug with updating
3828         statistics cookie.
3830         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
3831         ~ as verbatim delimiters.
3833         * org-exp.el (org-export-html-format-image): New argument
3834         PAR-OPEN.
3835         (org-export-as-html): Pass par-open to
3836         `org-export-html-format-image'.
3838 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
3840         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
3841         (org-use-fast-todo-selection, org-tags-column): New default
3842         setting for variables, based on a poll what typical uses use.
3844         * org-agenda.el (org-agenda-sorting-strategy)
3845         (org-agenda-tags-column): New default setting for variables, based
3846         on a poll what typical uses use.
3848 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
3850         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
3851         blocked entries from setting the blocked tag.
3853         * org-exp.el (org-export-html-footnotes-section): Use a more
3854         consistent id for footnotes.
3856         * org-export-latex.el (org-export-latex-classes): Remove the
3857         a4paper option from the default styles.
3859 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
3861         * org.el (org-enforce-todo-checkbox-dependencies): New option.
3862         (org-block-todo-from-checkboxes): New function.
3863         (org-todo): Make tripple prefix arg circumvent blocking.
3865         * org-timer.el (org-timer): Provide the timer feature.
3867         * org.el (org-require-autoloaded-modules): Add a few more files to
3868         the list of autoloaded modules.
3870         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
3872 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
3874         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
3875         drawers that are unprotected.
3876         (org-export-html-format-image): Make sure inlined LaTeX fragment
3877         images remain inlined.
3879         * org.el (org-toggle-ordered-property): New function.
3880         (org-mode-map): Add a key for `org-toggle-ordered-property'.
3881         (org-org-menu): Add menu entries for TODO dependencies.
3883 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
3885         * org.el (org-default-properties): Add ORDERED to the default
3886         properties, to get completion support for it.
3888         * org-list.el (org-update-checkbox-count): Update more than one cookie.
3890         * org.el (org-update-parent-todo-statistics): Update more than one
3891         cookie.
3893         * org-agenda.el (org-agenda-get-todos): Start search from correct
3894         position.
3896         * org.el (org-fast-todo-selection): Make sure TODO selection does
3897         not change buffer position.
3899         * org-list.el (org-toggle-checkbox): Implement adding or removing
3900         checkboxes from line or region when called with a prefix
3901         argument.
3903         * org-rmail.el (org-rmail-store-link): Protect the call to
3904         `rmail-narrow-to-non-pruned-header'.
3906         * org-clock.el (org-clock-special-range): Fix week display in
3907         clock tables.
3909         * org-exp.el (org-get-current-options): Fix bug when in indirect
3910         buffer.
3912 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
3914         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
3915         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
3916         (org-agenda-dim-blocked-tasks): New function.
3918         * org.el (org-enforce-todo-dependencies): New option.
3919         (org-block-todo-from-children-or-siblings): New function.
3921         * org-faces.el (org-agenda-dimmed-todo-face): New face.
3923         * org.el (org-todo): Return correct state type even if the blocker
3924         throws an error.
3925         (org-modifier-cursor-error): Renamed from
3926         `org-shiftcursor-error'.
3927         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3928         (org-shiftmetadown): Call `org-modifier-cursor-error'.
3930         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
3931         to get real errors from the blocker hook.
3933         * org.el (org-shiftselect-error, org-call-for-shift-select): New
3934         functions.
3935         (org-set-visibility-according-to-property): Turn off the setting
3936         of `org-show-entry-below', to avoid overruling a FOLDED visibility
3937         property.
3939 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
3941         * org.el (org-support-shift-select): New option.
3942         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
3943         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
3944         selection outside contexts.
3946         * org-list.el (org-at-item-bullet-p): New function.
3948         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
3949         variables.
3951         * org-footnote.el (org-footnote-normalize): Remove unnecessary
3952         variable.
3953         (org-insert-footnote-reference-near-definition): Remove
3954         unnecessary let form.
3956         * org-export-latex.el (org-export-latex-first-lines): Add
3957         OPT-PLIST parameter.
3958         (org-export-as-latex): Call `org-export-latex-first-lines' with
3959         opt-plits parameter.
3960         (org-export-latex-preprocess): Remove unnecessary variables.
3962         * org-exp.el (org-infile-export-plist)
3963         (org-export-add-options-to-plist, org-export-kill-licensed-text)
3964         (org-export-remove-headline-metadata)
3965         (org-export-get-title-from-subtree, org-get-min-level)
3966         (org-html-do-expand): Remove innecessary let form.
3968         * org-colview-xemacs.el (org-columns-display-here): Remove
3969         unnecessary variables.
3971         * org-colview.el (org-columns-display-here): Remove unnecessary
3972         variables.
3974         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
3975         variables.
3977         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
3978         unnecessary variables.
3980         * org-agenda.el (org-search-view, org-agenda-get-blocks)
3981         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
3982         variables.
3984         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
3985         (org-compact-display-after-subtree-move): Remove unnecessary
3986         variables.
3987         (org-edit-fixed-width-region): Remove unnecessary variables.
3988         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
3989         (org-olpath-completing-read): Remove unnecessary variable.
3990         (org-auto-repeat-maybe): Remove unnecessary variable.
3991         (org-map-entries): Remove unnecessary variable.
3992         (org-buffer-property-keys, org-imenu-get-tree)
3993         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
3995 -----------------------------------------------------------------
3997 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
3998         * org-exp.el (org-export-remove-timestamps): Never remove
3999         timestamps from tables.
4001         * org-export-latex.el (org-export-latex-first-lines): Add more
4002         options to the preprocessing of the text before the first
4003         headline.
4005 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4007         * org-faces.el (org-clock-overlay): Make face compatible with
4008         XEmacs.
4010         * org.el (org-yank): Add property for delete-selection mode.
4012         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4014         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4015         variable.
4017         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4018         to `backward-char'.
4020         * org-exp.el (org-export-as-html): Remove the initial space from
4021         colon examples.
4023         * org.el (org-scan-tags): Call
4024         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4026         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4027         customization groups.
4028         (org-agenda-tags-todo-honor-ignore-options): New option.
4029         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4030         New function.
4031         (org-agenda-get-todos): Use
4032         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4034 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4036         * org-exp.el (org-export-format-source-code-or-example): Escape
4037         HTML characters also in examples that anre not treated with
4038         htmlize.  Also, just switch to EXAMPLE processing if we do not
4039         have a good version of htmlize.
4041         * org-rmail.el: Fix copyright notice.
4043         * org.el (org-activate-footnote-links): Improve footnote link
4044         highlighting.
4046         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4047         a footnote definition at the end of the file.
4049         * org-table.el (org-table-get-specials): Add an imagined hline at
4050         the end of the table.  This can be useful for references that want
4051         to go to the end of the table.  Also fix bug when computing last
4052         row constants, in tables that do not start right at the right
4053         margin.
4054         (org-table-eval-formula): Match and replace remove references.
4055         (org-table-formula-substitute-names): Make sure that names inside
4056         a "remote" call are left alone, the will be replaced later when
4057         the remote call is handled.
4058         (org-table-convert-refs-to-rc): Do not convert things that might
4059         look like a reference, but are really part of an ID or namei n a
4060         remote reference.
4061         (org-table-get-remote-range): New function.
4063 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4065         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4067         * org-clock.el (org-clock-put-overlay): Use new face instead of
4068         `secondary-selection'.
4070         * org-faces.el (org-clock-overlay): New face.
4072 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4074         * org-exp.el (org-get-current-options): Include the option for
4075         publishing time stamps.
4077         * org.el (org-toggle-heading): Renamed from
4078         `org-toggel-region-headings'.
4079         No longer needs a region defined, but will use it if there is one.
4080         (org-ctrl-c-star): Simplified, relying more on the internal
4081         workings of `org-toggle-heading'.
4082         (org-toggle-item): Renamed from `org-toggle-region-items'.
4083         No longer needs a region defined, but will use it if there is one.
4084         (org-ctrl-c-minus): Simplified, relying more on the inernal
4085         workings of `org-toggle-item'.
4087         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4088         environment detection.  Also, do real changes only in unprotected
4089         places.
4091 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4093         * org-export-latex.el (org-export-latex-quotation-marks): Use
4094         `org-if-unprotected-1'.
4095         (org-export-latex-set-initial-vars): Check for class definition in
4096         property.
4098         * org-macs.el (org-if-unprotected-1): New macro.
4100 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4102         * org-compat.el (org-count-lines): New function.
4104         * org-exp.el (org-export-format-source-code-or-example): Handle
4105         switches related to text areas.
4107         * org.el (org-activate-footnote-links): Don't allow match inside a
4108         link.
4110         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4112         * org-export-latex.el (org-export-latex-links): Keep a relative
4113         path relative also after export.
4115         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4117         * org.el (org-make-tags-matcher): Never use IDO for completing the
4118         tags matcher match string.
4119         (org-completing-read): Also remove the special biding for "?".
4121         * org-attach.el (org-attach-allow-inheritance): New option.
4122         (org-attach-inherited): New variable.
4123         (org-attach-dir): Handle properties related to the attachment
4124         directory.
4125         (org-attach-check-absolute-path): New function.
4126         (org-attach-set-directory, org-attach-set-inherit): New commands.
4127         (org-attach): Accommodate the new commands in the dispatcher.
4129 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4131         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4132         `window-full-width-p'.
4134         * org-exp.el (org-export-as-html): Only check for images files
4135         that really can be inlined
4137         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4138         list of extensions to be a parameter.
4140         * org-exp.el (org-export-html-inline-image-extensions): New
4141         variable.
4143         * org-agenda.el (org-prepare-agenda): Use
4144         `org-agenda-block-separator'.
4145         (org-agenda-block-separator): New option.
4147 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4149         * org-export-latex.el (org-export-latex-tables): Call
4150         `org-table-clean-before-export' with the new optional argument.
4152         * org-exp.el (org-table-clean-before-export): New optional
4153         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4154         first column.
4156 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4158         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4159         histograms.
4161         * org-colview.el (org-colview-construct-allowed-dates): Better
4162         error catching when a date/time property does not have allowed
4163         values defined.
4165         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4166         Better error catching when a date/time property does not have
4167         allowed values defined.
4169 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4171         * org.el (org-map-entries): Restore point and restriction after
4172         `org-map-entries'.
4174 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4176         * org.el (org-time=, org-time<, org-time<=, org-time>)
4177         (org-time>=, org-time<>): Make sure both values are dates.
4179 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4181         * org-archive.el (org-extract-archive-heading): Allow %s for file
4182         name also in achive location heading.
4184 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4186         * org-archive.el (org-add-archive-files): Uniquify the list before
4187         returning it.
4189 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4191         * org-compat.el (org-fit-window-to-buffer): Use
4192         `window-full-width-p'.
4194         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4195         space after the colon in short examples.
4197         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4198         enforce a space after the colon.  However, we also allow lines
4199         that are *only* a colon.
4200         (org-export-as-html): Enforce the space after the colon in short
4201         examples.
4202         (org-export-preprocess-string): Do the colon example protection
4203         earlier.
4204         (org-export-remove-timestamps): Do not check for protection at the
4205         end of the line.
4207 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
4209         * org.el (org-format-latex-options): Add new matcher for single
4210         letters between dollars.
4211         (org-get-header): Function removed.
4212         (org-heading-components): New function.
4214         * org-exp.el (org-export-define-heading-targets): Record ID's also
4215         as alternative targets.
4216         (org-export-as-html): Interpret "id:" links to other files by
4217         preserving the relative path.
4219         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4220         is nil.
4222         * org-exp.el (org-export-normalize-links): Protect the main link,
4223         to avoid special character processing.
4225         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4226         New variable.
4227         (org-export-latex-special-string-regexps): Variable removed.
4228         (org-export-latex-keywords): Use the new regexp.
4230         * org-exp.el (org-export-handle-include-files): Fetch switches and
4231         put them into the BEGIN statement.
4233         * org-timer.el (org-timer-mode-line-string): New variable.
4235         * org-clock.el (org-clock-mode-line-map): Renamed from
4236         `org-clock-mode-map'.
4237         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4238         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4239         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4240         (org-clock-remove-overlays): Renamed from
4241         `org-remove-clock-overlays'.
4243         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4244         and mode line display.
4245         (org-timer-stop): New command.
4246         (org-timer-seconds): Return correct time when timer is paused.
4247         (org-timer-mode-line-timer): New variable.
4248         (org-timer-set-mode-line, org-timer-update-mode-line): New
4249         functions.
4251         * org.el (org-insert-heading):  Handle new value `auto' for
4252         `org-blank-before-new-entry'.
4253         (org-org-menu): Add new items for timer functions.
4255         * org-list.el (org-insert-item): Handle new value `auto' for
4256         `org-blank-before-new-entry'.
4258         * org.el (org-blank-before-new-entry): New value `auto', made
4259         default.
4261 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
4263         * org-exp.el (org-export-normalize-links): If the link is also
4264         used as the description, protect the description.
4266 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
4268         * org.el (org-closest-date): Fix bug with yearly repeats, in
4269         combination with preference of the past as it is used for deadline
4270         and scheduling search.
4272         * org-exp.el (org-html-handle-time-stamps): No longer check for
4273         the `org-export-with-timestamps' option, because the preprocesser
4274         has taken care of this already.
4276         * org.el (org-entry-properties): Catch the case when this is
4277         called in a non-org-mode file.
4279         * org-export-latex.el (org-export-latex-remove-from-headlines):
4280         Variable made obsolete, also LaTeX export now uses the standard
4281         variables.
4282         (org-export-as-latex): Add the timestamps parameter to the
4283         preprocessor parameter list.
4284         (org-export-latex-content): Export the remaining keywords without
4285         considering to remove them.
4286         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4287         Use bold font instead of tt font for the keywords.
4288         (org-export-latex-fontify-headline): Format headlines, assuming
4289         that all keywords still present should be published.
4290         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4291         publish what ever remains of the time stamps.
4292         (org-export-latex-list-parameters): New option.
4293         (org-export-latex-lists): Pass additional parameters to the list
4294         converter.
4296         * org-exp.el (org-export-preprocess-string): Remove clock lines
4297         and timestamps already in the preprocesor.
4298         (org-export-remove-timestamps, org-export-remove-clock-lines): New
4299         functions.
4300         (org-export-as-ascii, org-export-as-html): Add the timestamps
4301         parameter to the preprocessor parameter list.
4303         * org-list.el (org-list-parse-list): Parse for checkboxes.
4304         (org-list-to-generic): Introduce and handle new parameters :cbon
4305         and :cboff.
4306         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4307         optional parameter PARAMS.
4309         * org-export-latex.el (org-export-latex-special-chars): Fix
4310         problems with interpreting dollar signs.
4311         (org-inside-latex-math-p): New function.
4312         (org-export-latex-preprocess): Protect all the math fragments.
4314         * org.el (org-latex-regexps): Allow a dash after a dollar.
4316         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4317         mark after copying.
4319         * org-agenda.el (org-run-agenda-series): Have series options set
4320         when finalizing the agenda.
4322         * org-exp.el (org-export-format-source-code-or-example): Protect
4323         the converted examples.
4325         * org.el (org-set-regexps-and-options): Fix the regexp
4326         `org-complex-heading-regexp'.
4328 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
4330         * org.el (org-edit-src-get-label-format): New function.
4331         (org-coderef-label-format): New option.
4332         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4333         a label format specification and make sure it is used in the edit
4334         buffer.
4335         (org-edit-src-get-label-format): New function.
4336         (org-store-link): Handle new coderef formats.
4337         (org-link-search): Handle new coderef formats.
4339         * org-footnote.el (org-footnote-create-definition)
4340         (org-footnote-goto-local-insertion-point): Make footnote insertion
4341         work correctly when the "Footnotes" headline is the last line in
4342         the buffer.
4344         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4345         the location.
4347 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
4349         * org-w3m.el (org-w3m): New customization group.
4350         (org-w3m-deactivate-mark): New option.
4351         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4352         option say not to.
4354 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
4356         * org.el (org-set-font-lock-defaults): Trigger footnote
4357         fontification.
4358         (org-activate-footnote-links): New function.
4359         (org-activate-links): New entry `footnote'.
4361         * org-faces.el (org-footnote): New face.
4363 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
4365         * org-macs.el (org-re): Handle the [:word:] class.
4367         * org-exp.el (org-export-preprocess-string): Call
4368         `org-export-protect-colon-examples'.
4369         (org-export-protect-colon-examples): Renamed from
4370         `org-export-protect-examples', and scope limited to lines starting
4371         with a colon.
4373 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
4375         * org-exp.el (org-export-preprocess-string): Move the preprocess
4376         hook to after turning on Org-mode.
4377         (org-export-preprocess-after-include-files-hook)
4378         (org-export-preprocess-after-tree-selection-hook)
4379         (org-export-preprocess-before-backend-specifics-hook)
4380         (org-export-preprocess-final-hook): New hooks.
4381         (org-export-preprocess-string): Run the new hooks.
4383         * org.el (org-ctrl-c-minus): Fix indentation for new items.
4385         * org-footnote.el: New file.
4387         * org.el (org-footnote): Require footnote code.
4388         (org-startup-options): Add new footnote options.
4389         (org-mode-map): New keybindig for footnotes.
4390         (org-ctrl-c-ctrl-c): Add function at footnotes.
4391         (org-org-menu): New menu entries for footnotes.
4393         * org-export-latex.el (org-export-as-latex): Pass footnote
4394         variable to preprocessor.
4395         (org-export-latex-preprocess): Treat multiple references to a
4396         footnote.
4398         * org-exp.el (org-export-preprocess-string): Call
4399         `org-footnote-normalize'.
4400         (org-export-as-ascii, org-export-as-html): Pass footnote variable
4401         to preprocessor.
4402         (org-export-as-html): Treat multiple references to a footnote.
4404 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
4406         * org-export-latex.el (org-export-latex-links): Handle coderef
4407         links.
4409         * org.el (org-bracket-link-analytic-regexp++): New variable.
4410         (org-make-link-regexps): Initialize
4411         `org-bracket-link-analytic-regexp++'.
4412         (org-store-link): Implement special case in edit-src buffer.
4413         (org-insert-link): No use of ide to insert stored links.
4414         (org-link-search): Implement special case for coderefs.
4416         * org-exp.el (org-export-html-scripts): New constant.
4417         (org-export-html-style-default): Add a new style for highlighted
4418         code.
4419         (org-export-code-refs): New variable.
4420         (org-export-preprocess-string): Initialize `org-export-code-refs'.
4421         Call `org-export-replace-src-segments-and-examples'
4422         No longer call `org-export-protect-examples'.
4423         (org-export-target-internal-links): Take care of coderef targets.
4424         (org-export-last-code-line-counter-value): New variable.
4425         (org-export-replace-src-segments-and-examples): Renamed from
4426         `org-export-replace-src-segments', and modified.
4427         (org-export-format-source-code-or-example): Renamed from
4428         `org-export-format-source-code'.
4429         (org-export-number-lines): New function.
4430         (org-export-as-ascii, org-export-as-html): Handle coderef links.
4432 --------------------------------------------------------------------------
4434 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
4436         * org-remember.el (org-remember-handler): Safer way to get a new
4437         buffer accessing the target file.
4439         * org.el (org-refile-get-location): Handle case of current buffer
4440         not having a file associated with it.
4442 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
4444         * org-table.el (org-table-get-formula): Only ask to overwrite
4445         field formula if there really is one.
4447         * org-id.el (org-id-find): Allow the ID to be a symbol or a
4448         number, by converting these to a string.
4450         * org-colview.el (org-dblock-write:columnview): Allow ID to be
4451         located in a different file.
4453         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
4454         org-colview.el.
4456 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
4458         * org.el (org-completion-use-ido): Enhance docstring of
4459         `org-completion-use-ido'.
4461         * org-export-latex.el (org-export-latex-make-header): Double the %
4462         in the time stamp format.
4463         (org-export-latex-special-chars): Handle case where there is no
4464         match group 3.
4466 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
4468         * org.el (org-get-refile-targets, org-refile-get-location): Use
4469         expanded file name to improve comparison.
4471 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
4473         * org.el (org-scan-tags): Rescan for tags, to get the correct
4474         upcase/downcase stuff.  This slows things down for now, but it
4475         works.
4476         (org-mode): Make sure the tag-faces regexp is initialized.
4478         * org-export-latex.el (org-export-latex-links): Fix bug with
4479         undefined label.
4481         * org-table.el (org-table-get-specials): Set
4482         `org-table-current-last-data-line'.
4483         (org-table-current-last-data-line): New variable.
4484         (org-table-insert-column, org-table-delete-column)
4485         (org-table-move-column, org-table-fix-formulas): Call
4486         `org-table-fix-formulas' a second time to fix the $LR references.
4487         (org-table-get-specials): Add the $LR references to the tables.
4488         (org-table-get-formula): Do not offer last-row names as LHS of
4489         formulas.
4491         * org.el (org-store-link): Capture link description from
4492         `org-id-store-link'.
4494         * org-exp.el (org-export-html-format-image): Add the / to the end
4495         of the <img> tag.
4496         (org-export-format-source-code): Surround example by empty lines,
4497         to make sure it will not be inside a paragraph.
4499         * org.el (org-ido-switchb): New function.
4501 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
4503         * org-agenda.el (org-agenda-show): New prefix argument
4504         FULL-ENTRY.
4506         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4507         argument.
4509         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
4510         `org-agenda-change-all-lines'.
4511         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
4512         tags are now retrieved locally.
4514 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
4516         * org.el (org-get-outline-path): Fix bug if level is not given.
4517         (org-org-menu): Do not quote function in menu vector.
4519         * org-agenda.el (org-finalize-agenda): Fix typo with variable
4520         name.
4522 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4524         * org.el (org-refile): Avoid refiling to within the region to be
4525         refiled.
4527         * org-export-latex.el (org-export-latex-special-chars): Replace
4528         special characters also in tables.
4530         * org-agenda.el (org-agenda-change-all-lines): New argument
4531         FORCE-TAGS.
4532         (org-agenda-set-tags): Cet the new tags and pass them to
4533         `org-format-agenda-item'.
4535 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
4537         * org-export-latex.el (org-export-latex-classes): Add longable as
4538         a default package to all classes.
4539         (org-export-latex-tables): Handle the longtable attribute and the
4540         align attribute.
4542         * org-table.el (orgtbl-to-generic): Handle tables that start with
4543         a hline.
4545         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4546         \verb for colde-like snippets.
4547         (org-export-as-latex): Fix issues with region export.
4549         * org.el (org-up-heading-safe): Speed up function by using a
4550         direct regexp search.
4551         (org-olpa): New variable.
4552         (org-get-outline-path): Speed-up path constructions in cases where
4553         this is possible because the entire hierarchy is scanned anyway.
4554         (org-refile-get-location): Don't compare the truenames of files,
4555         this is too slow.
4556         (org-goto-max-level): New option.
4557         (org-goto): Use `org-goto-max-level'.
4559 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
4561         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4562         Strip angle brackets from message-ids in the former and don't do
4563         it in the latter.
4564         (org-gnus-follow-link): Open summary reliable, even if the last
4565         messages were deleted, and handle empty groups, too.
4567 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
4569         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4570         instead of \texttt for the =...= and ~===~ emphasis environments.
4571         (org-export-as-latex): Remove any old :org-license-to-kill text
4572         properties.
4573         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4574         (org-export-latex-make-header): Add some hard space after the
4575         table of contents.
4576         (org-export-latex-first-lines): Accept RBEG argument.  Mark
4577         exported text so that it will be excuded in further steps.
4579         * org-table.el (org-table-get-specials): Make @0 reference the
4580         last line in a table.
4581         (org-table-recalculate): Improve docstring.
4583 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
4585         * org.el (org-log-done): Fix docstring.
4587 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
4589         * org-exp.el (org-export-html-format-image): Fix bugs.
4591         * org-export-latex.el (org-export-latex-tables)
4592         (org-export-latex-links): Implement attribute, label, and caption
4593         handling.
4595         * org-exp.el (org-export-html-style-default): Add style
4596         definitions for the figure div.
4597         (org-export-preprocess-string, org-export-as-html): Implement
4598         attribute, label, and caption handling.
4599         (org-export-attach-captions-and-attributes): New function.
4600         (org-export-html-format-image): New function.
4601         (org-format-org-table-html): Implement attribute, label, and
4602         caption handling.
4604         * org.el (org-find-text-property-in-string): New function.
4605         (org-extract-attributes): Use the property org-attr instead of
4606         org-attrobutes, because this property is now set with the #+ATTR
4607         lines.
4609 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
4611         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
4612         the case that FROM is nil.
4614         * org.el (org-before-first-heading-p): New function.
4616 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4618         * org-exp.el (org-export-as-html): Do not add a space before
4619         enforces line breaks.
4620         (org-export-as-html): Close paragraph before blockquote and verse
4621         tags.
4623 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
4625         * org-id.el (org-id-locations-file): Wrap file name with
4626         `convert-standard-filename'.
4627         (org-id-files): New variable.
4628         (org-id-use-hash): New option.
4629         (org-id-update-id-locations): Also search in all files current
4630         listed in `org-id-files'.  Convert the resulting alist to a hash
4631         if the user customation says so.
4632         (org-id-locations-save): Handle he case if `org-id-locations' is a
4633         hash.
4634         (org-id-locations-load): Convert the alist to a hash.
4635         (org-id-add-location): Handle the hast case.
4636         (kill-emacs-hook): Make sure id locations are saved when Emacs is
4637         exited.
4638         (org-id-hash-to-alist, org-id-alist-to-hash)
4639         (org-id-paste-tracker): New functions.
4641 -------------------------------------------------------------------------
4643 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
4645         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
4646         bindings of calendar variables.
4648         * org-table.el (org-table-find-row-type): Renamed from
4649         `org-find-row-type'.
4650         (org-table-rewrite-old-row-references): Renamed from
4651         `org-rewrite-old-row-references'.
4652         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
4653         (org-table-cleanup-narrow-column-properties): Renamed from
4654         `org-cleanup-narrow-column-properties'.
4656 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
4658         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
4659         for better error messages.
4660         (org-table-get-descriptor-line): Supply the new arguments to
4661         `org-find-row-type'.
4662         (org-table-error-on-row-ref-crossing-hline): New option.
4664         * org.el (org-target-link-regexp): Make buffer-local.
4665         (org-move-subtree-down): Fix bug with trees at beginning of
4666         buffer.
4668 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
4670         * org-faces.el (org-set-tag-faces): New function.
4671         (org-tags-special-faces-re): New variable.
4673         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
4675         * org-faces.el (org-tag-faces): New option.
4676         (org-tag): Mention `org-tag-faces' in the docstring.
4678 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
4680         * org-exp.el (org-export-html-style-default): Implement new
4681         quoting.
4683         * org-jsinfo.el (org-infojs-template): Implement new quoting.
4685         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
4686         command to the `w3m-minor-mode-map'.
4688         * org-archive.el (org-archive-to-archive-sibling): Protect
4689         `this-command' to avoid appending kills during archiving.
4691         * org-exp.el (org-export-with-priority): New variable.
4692         (org-export-add-options-to-plist): Use `org-export-plist-vars'
4693         instead of internal list of strings and properties.
4694         (org-print-icalendar-entries): Retrieve the location property with
4695         inheritance.
4697 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
4699         * org-exp.el (org-export-with-todo-keywords): New option.
4700         (org-export-plist-vars): Include also the keys for the #+OPTIONS
4701         line.
4702         (org-default-export-plist, org-export-add-options-to-plist)
4703         (org-export-as-ascii, org-export-as-html): Use the new structure
4704         of `org-export-plist-vars'.
4706         * org.el (org-map-entries): Return all values.
4708 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
4710         * org.el (org-matcher-time): Recognize more special values.
4712         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
4714 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
4716         * org.el (org-tags-exclude-from-inheritance): New option.
4717         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
4718         `org-tags-exclude-from-inheritance'.
4720         * org-agenda.el (org-agenda-show-inherited-tags): New option.
4721         (org-format-agenda-item): Add inherited tags to the agenda line
4722         string, and make sure that properties are kept when downcasing the
4723         tags list.
4724         (org-agenda-add-inherited-tags): New function.
4725         (org-downcase-keep-props): New function.
4727         * org.el (org-scan-tags): Mark inherited tags with a text
4728         property.
4729         (org-get-tags-at): Mark inherited tags with a text property.
4730         (org-add-prop-inherited): New function.
4732         * org-agenda.el (org-agenda-add-inherited-tags): New function.
4733         (org-agenda-show-inherited-tags): New option.
4735 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
4737         * org.el (org-modules): Add org-w3m to the default modules.
4739         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
4740         orgtbl-mode.
4741         (orgtabl-create-or-convert-from-region): New command.
4743         * org-exp.el (org-export-as-ascii): Remove the handling of
4744         targets.
4745         (org-export-ascii-preprocess): Handle targets already in this
4746         function.
4748 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
4750         * org-timer.el (org-timer-start-time): Define this variable.
4751         (org-timer-item): Make argument optional.
4753         * org-list.el (org-insert-item): Automatically insert a timer item
4754         if the current list is a timer list.
4756         * org-timer.el: New file.
4758         * org-publish.el (org-publish-org-index): Only exclude the index
4759         file in the main directory from being added to the site-map.
4760         (org-publish-get-project-from-filename): If the current project is
4761         a component, start publishing from the parent project.
4763 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
4765         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
4767         * org-publish.el (org-publish-org-index): Improve removal of
4768         temporary buffers.
4770         * org-agenda.el (org-get-closed): Re-apply changes
4771         accidentially overwritten by last commit to Emacs.
4773         * org.el (org-outline-path-complete-in-steps): New option.
4774         (org-refile-get-location): Honor
4775         `org-outline-path-complete-in-steps'.
4776         (org-agenda-change-all-lines, org-tags-sparse-tree)
4777         (org-time-string-to-absolute, org-small-year-to-year)
4778         (org-link-escape): Re-apply changes accidentially overwritten
4779         by last commit to Emacs
4781 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4783         * org-clock.el (org-dblock-write:clocktable): Make sure the
4784         clocktable sees the first line.
4785         (org-clock-in): Warn if the clock cannot be resumed.
4787 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
4789         * org.el (org-open-at-point): Fix mixup about interactive and
4790         non-interactive elisp links.
4792 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4794         * org-exp.el (org-export-preprocess-string): Allow one comment
4795         line before the first headline to always be included.  This is
4796         to not miss a commented target.
4798         * org-mouse.el (org-mouse-insert-item): Call
4799         `org-indent-to-column' instead of `indent-to', for XEmacs
4800         compatibility.
4802         * org.el (org-refile-targets): Fix customize definition so
4803         that it works also in XEmacs.
4804         (org-fixup-indentation): Call `org-indent-to-column' instead
4805         of `indent-to', for XEmacs compatibility.
4807 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
4809         * org-mew.el (org-mew-store-link): Get the correct case folder
4810         for refiled messages.
4812 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4814         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
4815         line break indicators.
4817         * org.el (org-ido-completing-read): Remove the "i:" prefix for
4818         ido-completion propts.
4820 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4822         * org-remember.el (org-remember-apply-template): Use
4823         `org-substring-no-properties'.
4825         * org-compat.el (org-substring-no-properties): New function.
4827         * org-remember.el (org-remember-apply-template): Use
4828         `org-substring-no-properties' for compatibility.
4830         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
4831         option.
4832         (org-fix-bullet-type): respect
4833         `org-list-two-spaces-after-bullet-regexp'.
4835         * org-clock.el (org-clock-load): Clean up the code.
4837         * org.el (org-adaptive-fill-function): Allow two spaces after
4838         "1." as a list bullet.
4840 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
4842         * org-clock.el (org-clock-save, org-clock-load): Check for
4843         live buffers, existing files, and buffer file names to ensure
4844         consistent information.
4845         (org-clock-persist): Make `clock' a special value of this
4846         variable, and improve docstring.
4848         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
4849         (org-get-string-indentation): Adapt indentation when the bullet
4850         width changes.
4852 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
4854         * org-remember.el (org-remember-finalize): Make interactive.
4855         (org-remember-kill): New command.
4856         (org-remember-finish-immediately): Call `org-remember-finalize'
4857         directly.
4858         (org-remember-finalize): Make `org-remember-finalize' an interactive
4859         function.
4861 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
4863         * org-remember.el (org-remember-apply-template): No ido completion
4864         for free prompts in remember templates.
4865         (org-remember-before-finalize-hook): New hook.
4866         (org-remember-mode): New minor mode.
4867         (org-remember-apply-template): Turn on `org-remember-mode'.
4869         * org-id.el (org-id-add-location): Avoid error when no file is
4870         given.
4872         * org-remember.el (org-remember-apply-template): Fix the way how
4873         the list of allowed properties is retrieved from the target file.
4875         * org.el (org-insert-link): Improve file link matching.
4877 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
4879         * org-colview.el (org-columns-display-here): New argument
4880         DATELINE, to trigger using the new face.
4881         (org-agenda-colview-summarize): Call `org-columns-display-here'
4882         with the new argument.
4884         * org-faces.el (org-agenda-column-dateline): New face.
4886         * org-publish.el (org-publish-org-index): Use index-title at page
4887         title, not as section.
4889         * org-exp.el (org-export-html-format-desc): Respect the
4890         org-protect property.
4891         (org-export-as-html): Protect image specifiers that are in the
4892         description part of a link.
4894         * org.el (org-sort-entries-or-items, org-completing-read)
4895         (org-refile-get-location, org-olpath-completing-read, org-todo)
4896         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
4897         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
4898         (org-set-property, org-delete-property)
4899         (org-delete-property-globally): Use `org-ido-completing-read'.
4901         * org-remember.el (org-remember-apply-template): Use
4902         `org-ido-completing-read'.
4904         * org-publish.el (org-publish): Use `org-ido-completing-read'.
4906         * org-colview.el (org-columns-edit-value, org-columns-new)
4907         (org-insert-columns-dblock): Use `org-ido-completing-read'.
4909         * org-colview-xemacs.el (org-columns-edit-value)
4910         (org-columns-new, org-insert-columns-dblock): Use
4911         `org-ido-completing-read'.
4913         * org-attach.el (org-attach-delete-one, org-attach-open): Use
4914         `org-ido-completing-read'.
4916         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
4917         `org-ido-completing-read'.
4919         * org.el (org-time-today): New function.
4920         (org-matcher-time): Use `org-time-today'.  Add special treatment
4921         for "<tomorrow>" and "<yesterday>".
4922         (org-ido-completing-read): New function.
4923         (org-completion-use-ido): New option.
4925         * org-exp.el (org-export-format-source-code): Fix bug in require
4926         htmlize code.
4927         (org-export-target-internal-links): Fix bug in search for text
4928         property.
4930 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
4932         * org-export-latex.el (org-export-latex-subcontent): Interprete
4933         target aliases as additonal labels.
4935         * org-exp.el (org-export-target-aliases): New variable.
4936         (org-export-preprocess-string)
4937         (org-export-handle-invisible-targets): Fill the alias alist.
4938         (org-export-as-html): Remove the &nbsp; from the anchor, and also
4939         assign an id.
4940         (org-html-level-start): Insert the target aliases as additonal
4941         anchors.
4943         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
4944         picture area.
4946 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
4948         * org.el (org-open-at-mouse): Ensure correct link abbreviations
4949         when following a link with the mouse from the agenda.
4951         * org-exp.el (org-export-as-html): Avoid lone </div> when no
4952         headlines are created.
4954 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
4956         * org-exp.el (org-export-preprocess-string): Reorder so that we
4957         can still see ID properties when we collect targets.
4958         (org-export-target-internal-links): Also store targets for ID's.
4960         * org.el (org-link-translation-function): New option.
4961         (org-open-at-point): Call `org-link-translation-function' if
4962         non-nil.
4963         (org-translate-link): New function.
4964         (org-translate-link-from-planner): New function.
4965         (org-open-at-point): Allow interactive commands in elisp links.
4967         * org-exp.el (org-icalendar-cleanup-string): Restore the old
4968         iCalendar quoting.  The new one seems to caus problems with
4969         applications.
4971         * org.el (org-yank): Set `this-command' to `yank', so that
4972         `yank-pop' will work.
4974 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
4976         * org-id.el (org-id-search-archives): New option.
4978         * org.el (org-link-to-org-use-id): New option.
4979         (org-store-link): Use `org-link-to-org-use-id'.
4980         (org-id): Make org-id.el a standard component.
4982 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
4984         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
4985         hexified version of the tag.
4987         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
4988         compliance as far as quoting is concerned.
4990         * org-vm.el (org-vm-follow-link): Require `vm-search'.
4992         * org.el (org-up-heading-safe, org-forward-same-level): Always
4993         call `org-back-to-heading' instead of `outline-back-to-heading'.
4994         (org-back-to-heading): New wrapper around outline-back-to-heading,
4995         with a useful error message telling where the error happened.
4997         * org-list.el (org-update-checkbox-count): Always call
4998         `org-back-to-heading' instead of `outline-back-to-heading'.
5000         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5001         has an `alt' attribute, to ensure XHTML validation.
5003 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5005         * org-publish.el (org-publish-attachment): Allow publishing to
5006         overwrite attachment files.
5008         * org-agenda.el (org-agenda-timerange-leaders): New option.
5009         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5011         * org.el (org-edit-src-exit): Untabify ASCII image before
5012         returning.
5025 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5027         * org.el (org-yank): Make any prefix force normal yanking.
5028         Suppress folding if text would be swallowed into a folded
5029         subtree.
5030         (org-yank-folded-subtrees, org-yank): Docstring updates.
5032         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5033         defined as 0.
5035         * org-exp.el (org-export-language-setup): Add Catalan and
5036         Esperanto language entries.
5038 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5040         * org.el (org-refile): Allow refiling of entire regions.
5042         * org-clock.el (org-clock-time%): New function.
5044         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5045         retrieve property values.
5047 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5049         * org-agenda.el (org-agenda-list): Handle the value `only' of
5050         org-agenda-show-log'.
5051         (org-agenda-log-mode): Interpret a double prefix arg.
5053 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5055         * org-exp.el (org-export-html-footnotes-section): New variable.
5056         (org-export-as-html): Use `org-export-html-footnotes-section' to
5057         insert the footnotes.
5058         (org-export-language-setup): Add "Footnotes" to language words.
5060 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5062         * org.el (org-yank): Fix bug when not inserting a subtree.
5064 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5066         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5067         instead of `vm-beginning-of-message'.
5069         * org.el (org-make-link-regexps): Make sure that links to gnus can
5070         contain brackets.
5072 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5074         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5075         code.
5077         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5078         shell output.
5080         * org.el (org-link-abbrev-alist): Improve customization type.
5082         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5083         functions.
5085         * org-agenda.el (org-agenda-get-progress): Renamed from
5086         `org-get-closed'.  Implement searching for state changes as well.
5087         (org-agenda-log-mode-items): New option.
5088         (org-agenda-log-mode): New option prefix argument, interpreted as
5089         request to show all possible progress info.
5090         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5091         `org-get-closed'.
5092         (org-agenda-set-mode-name): Handle the more complex log mode
5093         settings.
5094         (org-get-closed): New alias, pointing to `org-get-progress'.
5096 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5098         * org.el (org-file-apps-defaults-gnu)
5099         (org-file-apps-defaults-macosx)
5100         (org-file-apps-defaults-windowsnt): Add an entry defining the
5101         system command.
5102         (org-file-apps): Allow `system' as key and value.
5103         (org-open-at-point): Explain the effect of a double prefix arg.
5104         (org-open-file): If the argument `in-emacs' is (16),
5105         i.e. corresponding to a double prefix argument, try to open the
5106         file externally.
5108 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5110         * org.el (org-insert-link): Abbreviate absolute files names in
5111         links.  Also, fix a bug in which the double C-u prefix would not
5112         be honored.
5114 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5116         * org.el (org-insert-heading): If buffer does not end with a
5117         newline, add one if necessary to insert headline correctly.
5119         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5120         paragraphs, not inside.
5122         * org.el (org-todo): Quote
5123         `org-agenda-headline-snapshot-before-repeat'.
5125         * org-exp.el (org-export-as-html): Fully process link descriptions.
5126         (org-export-html-format-desc): New function.
5127         (org-export-as-html): Collect footnotes into the correct basket.
5128         (org-html-protect): No longer protect quotations marks here, this
5129         goes wrong.
5131         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5132         BEG.
5134         * org-compat.el (org-fit-window-to-buffer): New function (not
5135         really, a preliminary and incomplete version was present earlier,
5136         but not used).
5138         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5139         `org-fit-window-to-buffer'.
5141         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5143         * org-agenda.el (org-agenda-get-restriction-and-command)
5144         (org-fit-agenda-window, org-agenda-convert-date): Use
5145         `org-fit-window-to-buffer'.
5147         * org-exp.el (org-export-as-html): Process href links through
5148         `org-export-html-format-href'.
5149         (org-export-html-format-href): New function.
5151         * org-agenda.el (org-agenda-todo): Update only the current
5152         headline if this is a repeated TODO, marked done for today.
5153         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5154         only the current line.
5156         * org.el (org-todo): Take a snapshot of the headline if the
5157         repeater might change it.
5159 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5161         * org-publish.el (org-publish-find-title): Remove buffers visited
5162         only for extracting the title.
5164         * org-exp.el (org-export-html-style)
5165         (org-export-html-style-default): Mark style definitions as
5166         unparsed CDATA.
5168         * org-publish.el (org-publish-validate-link): Function
5169         re-introduced.
5171 2008-11-02  Charles Sebold  <csebold@gmail.com>
5173         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5174         property.
5175         (org-plot-quote-timestamp-field): New function.
5176         (org-plot-quote-tsv-field): Call timestamp field function when
5177         necessary rather than just quoting as a string.
5178         (org-plot/gnuplot-to-data): Pass in timefmt property.
5179         (org-plot/gnuplot-script): Supports timefmt property.
5180         (org-plot/gnuplot): Checks for timestamp column before checking
5181         for text index column.
5183 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5185         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5187         * org-publish.el (org-publish-org-index): Create a section in the
5188         index file.
5189         (org-publish-org-index): Stop linking to directories.
5191         * org.el (org-emphasis-alist): Use span instead of <u> to
5192         underline text.
5194         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5195         <pre> sections.
5197 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5199         * org-jsinfo.el (org-infojs-template): Remove language attribute
5200         from script tag.
5202 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5204         * org-agenda.el (org-agenda-remove-marked-text): New function.
5205         (org-agenda-mark-filtered-text)
5206         (org-agenda-unmark-filtered-text): New functions.
5207         (org-write-agenda): Remove fltered text.
5209         * org.el (org-make-tags-matcher): Give access to TODO "property"
5210         without speed penalty.
5212 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
5214         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5215         option.
5216         (org-store-link-props): Make sure adding to the plist works
5217         correctly.
5219         * org-gnus.el (org-gnus-no-new-news): New function.
5220         (org-gnus-follow-link): Allow the article ID to be a message-id,
5221         in addition to allowing article numbers.  Message IDs make much
5222         more roubust links.
5223         (org-gnus-store-link): Use message-id to create link.
5225 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
5227         * org.el (org-emphasize): Reverse the selection array.
5228         (org-emphasis-alist): Set <code> tags for the verbatim
5229         environment.
5231         * org-remember.el (org-remember-handler): Fix bug with
5232         prefix-related changing of the note storage target.
5234         * org-exp.el (org-print-icalendar-entries): Make the exported
5235         priorities compatible with RFC 2445.
5237         * org-clock.el (org-clock-save): Insert time stamp without
5238         dependence on time-stamp.el.
5240 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
5242         * org.el ("saveplace"): If saveplace puts point into an invisible
5243         location, make it visible.
5244         (org-make-tags-matcher): Allow inactive time stamps in time
5245         comparisons.
5246         (org-yank-adjusted-subtrees): New option.
5247         (org-yank): Incorporate adjusting trees.
5248         (org-paste-subtree): New argument FOR-YANK which will cause
5249         insertion at point without backing up over white lines, and leave
5250         point at the end of the inserted text.  Also if the cursor is
5251         at the beginning of a headline, use the same level or the inserted
5252         tree.
5254         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5255         with broken symlinks
5257 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5259         * org-exp.el (org-export-select-tags, org-get-current-options):
5260         Fix typo.
5262 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
5264         * org-agenda.el (org-format-agenda-item)
5265         (org-agenda-filter-make-matcher): Make sure tags are stored and
5266         compared donwcased.
5268 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
5270         * org.el (org-insert-todo-heading): Fix bug with force-heading
5271         argument.
5273 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
5275         * org-clock.el (org-clock-in-resume): Add a custom option to
5276         toggle starting the clock from an open clock line.
5277         (org-clock-in): When clocking in to an entry, if
5278         `org-clock-in-resume' is set, check if the first clock line is
5279         open and if so, start the clock from the time in the clock line.
5280         (org-clock-persist): Add a custom option to toggle clock
5281         persistence.
5282         (org-clock-persist-query-save): Add a custom option to toggle
5283         asking the user if they want to save the running clock when
5284         exiting.
5285         (org-clock-persist-query-resume): Add a custom option to toggle
5286         asking the user if they want to resume the saved clock when Emacs
5287         is restarted.
5288         (org-clock-save): Add a function to save clock data.
5289         This includes the contents of `org-clock-history' and the buffer
5290         and position of the currently clocked task, if any.
5291         (org-clock-load): Add a function to load clock data.
5292         This populates `org-clock-history', and resumes the saved clocked
5293         task if there is one.
5294         (org-clock-persistence-insinuate): Add a method to set up the
5295         hooks for clock persistence.
5297 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
5299         * org-exp.el (org-export-as-ascii): Handle the case that we are
5300         publishing from an indirect buffer.
5302         * org-table.el (org-table-copy-down): Fix bug with time stamp
5303         increment.
5305         * org-mouse.el (org-mouse-features): New option.
5306         (org-mode-hook): Turn on features depending on
5307         `org-mouse-features'.
5309         * org.el (org-insert-heading-respect-content): Force heading
5310         creation.
5311         (org-insert-heading): keep the folding state of the heading before
5312         the inserted one.
5314 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5316         * org-archive.el (org-archive-to-archive-sibling): Handle top
5317         level headlines better.
5319 2008-10-21  Bastien Guerry  <bzg@altern.org>
5321         * org-export-latex.el (org-export-latex-classes): Added
5322         \usepackage{graphicx} to the default list of packages.
5324 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5326         * org-agenda.el (org-agenda-filter): Renamed from
5327         `org-agenda-filter-tags'.
5329 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
5331         * org.el (org-entry-properties): Add CATEGORY property, iven if it
5332         is not defined as a property in this entry.
5333         (org-add-log-note): Mask prefix argument when immediately storing
5334         the note.
5336         * org-agenda.el (org-agenda-filter-effort-default-operator): New
5337         option.
5339 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
5341         * org.el (org-add-log-setup): Bugfix; code to find insertion point
5342         after drawers was skipping ahead one line too many, so notes were
5343         inserted after the first note instead of before it.
5345 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
5347         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5348         New variables.
5349         (org-prepare-agenda): Reset the filter tags.
5350         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5351         Show filter tags in mode line.
5353         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5354         formatter.
5356         * org-export-latex.el (org-latex-entities-regexp): New constant.
5357         (org-export-as-pdf): Use two calls to `shell-command'.
5359 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
5361         * org-export-latex.el (org-export-latex-treat-sub-super-char):
5362         Honor the {} value of the subsuperscript setting.  Make sure that
5363         longer subsuperscripts are typeset in a roman font.
5365         * org.el (org-clock-update-time-maybe): Compute negative clock
5366         intervals correctly.
5368 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
5370         * org.el (org-add-log-setup): Respect
5371         `org-log-state-notes-insert-after-drawers'.
5372         (org-log-state-notes-insert-after-drawers): New option.
5373         (org-todo-trigger-tag-changes): New function.
5374         (org-todo): Call `org-todo-trigger-tag-changes'.
5376 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
5378         * org.el (org-add-log-setup): Only skip drawers if the are
5379         immediately after the scheduling keywords.
5381         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5382         function
5383         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5384         call it with the current todo state to get the state to switch to
5385         when clocking in.
5386         (org-clock-in): Use org-indent-line-function to indent clock lines.
5387         (org-clock-find-position): Fix indentation of empty clock drawers.
5389 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
5391         * org-publish.el (org-publish-org-to): Handle case when
5392         org-export-to-pdf does return a file name, not a buffer.
5393         (org-publish-org-to-pdf): New function.
5395         * org-export-latex.el (org-export-as-pdf)
5396         (org-export-as-pdf-and-open): New commands.
5398         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5399         forms as ranges.
5401         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5402         things in protexted regions.
5404 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
5406         * org-export-latex.el (org-export-latex-preprocess): Improve
5407         quoting of LaTeX environments.
5409 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
5411         * org.el (org-edit-fixed-width-region): Exclude final newline from
5412         picture area.
5414         * org-export-latex.el (org-export-latex-subcontent): Add labels to
5415         sections, to make internal links work.
5416         (org-export-latex-fontify-headline): Do not remove all text
5417         properties, to make sure that target properties survive this
5418         process.
5420         * org-exp.el (org-export-preprocess-string): Change sequence of
5421         modifications, to make sure links are prepared before the LaTeX
5422         conversions do happen.
5424 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
5426         * org-attach.el (org-attach-delete-all): Renamed from
5427         `org-attch-delete'.  Add a security query before deleting the
5428         entire directory.  New optional argument FORCE can overrule the
5429         security query.
5430         (org-attach-delete-one): New command.
5432 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
5434         * org-attach.el (org-attach-file-list): Fix bug with directory.
5436 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
5438         * org.el (org-apps-regexp-alist): New function.
5439         (org-file-apps): Add auto-mode to the default value.
5440         (org-open-file): Use the new structure of org-file-apps.
5442         * org-attach.el (org-attach): Support the new keys.
5443         (org-attach-method): New option.
5445 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
5447         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5448         March.
5450         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5451         of the list value o `org-use-tag-inheritance'.
5453         * org-attach.el (org-attach-auto-tag): New option.
5454         (org-attach-tag, org-attach-untag): New functions.
5455         (org-attach-attach, org-attach-new, org-attach-sync): Call
5456         `org-attach-tag'.
5457         (org-attach-delete): Call `org-attach-untag'.
5459 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
5461         * org-table.el (orgtbl-self-insert-command): Make this work for
5462         the keypad as well.
5464 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
5466         * org.el (org-add-log-setup): Limit searc for drawers to entry
5467         text, not to subtree.
5469         * org-clock.el (org-clock-heading-for-remember): New variable.
5470         (org-clock-in): Set `org-clock-heading-for-remember'.
5472 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
5474         * org-remember.el (org-remember-apply-template): Add new
5475         expansions: %k, %K for currently clocked task and a link to the
5476         currently clocked task, and %< to file notes in the currently
5477         clocked task.
5479 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
5481         * org-export-latex.el (org-export-latex-make-header): Also insert
5482         the content of the property :latex-header-extra.
5484         * org-exp.el (org-infile-export-plist): Put the content of
5485         #+LATEX_HEADER: into the property :latex-header-extra.
5487         * org-colview.el (org-columns-get-format-and-top-level): Remove
5488         resetting the marker.
5490         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5491         Remove resetting the marker.
5493         * org.el (org-entry-property-inherited-from): Improve docstring.
5494         (org-entry-get-with-inheritance): Reset marker before starting the
5495         search.
5497         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5499 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
5501         * org.el (org-entry-get-multivalued-property)
5502         (org-entry-protect-space, org-entry-restore-space): New
5503         functions.
5504         (org-file-apps-defaults-macosx): Let postscript files be opened by
5505         preview.
5506         (org-time-stamp-inactive): Call `org-time-stamp'.
5507         (org-time-stamp): New argument `inactive'.  Also edit inacive
5508         stamps. Convert time stamp type.
5509         (org-open-file): Interpret the `default' value for the `command'
5510         in `org-file-apps'.
5512         * org-id.el (org-id-int-to-b36-one-digit)
5513         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5514         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
5515         b36.
5517 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
5519         * org-id.el (org-id-reverse-string): New function.
5520         (org-id-new): Use `org-id-reverse-string' to make sure the
5521         beginning chars of the ID are mutating fast.  This allows to use a
5522         directory structure to spread things better.
5523         (org-id-prefix): Changed default to nil.
5525         * org-list.el (org-move-item-down, org-move-item-up): Remember and
5526         restore the column of the cursor position.
5528         * org-remember.el (org-remember-apply-template): Remove properties
5529         from `initial'.
5531 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
5533         * org-wl.el (org-wl-open): Remove useless call to
5534         `wl-thread-open-all'.
5536         * org-remember.el (org-remember-handler): Fix bug with `bottom'
5537         location.
5539 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
5541         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5542         `org-bbdb-anniversaries'.
5544         * org.el (org-get-next-sibling, org-forward-same-level): New
5545         functions, similar to the outline versions, but invisible headings
5546         are OK.
5548 2008-09-25  Bastien Guerry  <bzg@altern.org>
5550         * org.el (org-auto-repeat-maybe): Insert a space between
5551         the timestamp's type and the timestamp itself.
5553 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
5555         * org-table.el (org-table-sum): Do not format the result with %g,
5556         it does rounding when there are too many digits.
5558         * org.el (org-map-entries): Protect the keyword-selecting variables.
5560 2008-09-23  Bastien Guerry  <bzg@altern.org>
5562         * org-agenda.el (org-agenda-to-appt): Make sure the function check
5563         against all agenda files.
5565 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
5567         * org-list.el: New file, aggregating list functions from org.el
5568         and org-export-latex.el.
5570         * org.el (org-edit-src-region-extra): New option.
5572 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
5574         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5575         time before 1am.
5577 2008-09-22  Bastien Guerry  <bzg@altern.org>
5579         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5581 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
5583         * org-plot.el (org-plot/gnuplot): Make tables starting with a
5584         hline work correctly.
5585         (org-plot/gnuplot-script): Put commas at the end of each script
5586         line.
5588 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
5590         * org.el (org-get-refile-targets): Replace links with their
5591         descriptions
5592         (org-imenu-get-tree): Replace links with their descriptions.
5594         * org-remember.el (org-remember-apply-template): Add a new
5595         expansion for adding properties to remember items.
5597         * org.el (org-add-log-setup): Skip over drawers (properties,
5598         clocks etc) when adding notes.
5600         * org-agenda.el (org-agenda-get-closed): show durations of clocked
5601         items as well as the start and end times.
5603         * org-compat.el (org-get-x-clipboard-compat): Add a compat
5604         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
5606         * org-remember.el (org-get-x-clipboard): Use the compat
5607         function to get clipboard values when x-selection-value is
5608         unavailable. Use substring-no-properties instead of
5609         set-text-properties to remove text properties from the clipboard
5610         value.
5612         * lisp/org-clock.el (org-update-mode-line): Support limiting the
5613         modeline clock string, and display the full todo value in the
5614         tooltip. Set a local keymap so mouse-3 on the clock string goes to
5615         the currently clocked task.
5616         (org-clock-string-limit): Add a custom value for the maximum
5617         length of the clock string in the modeline.
5618         (org-clock-mode-map): Add a keymap for the modeline string
5620 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
5622         * org-compat.el (org-propertize): New function.
5624 2008-09-20  Bastien Guerry  <bzg@altern.org>
5626         * org-export-latex.el (org-export-latex-tables): protect exported
5627         tables from further special chars conversion.
5628         (org-export-latex-preprocess): Preserve LaTeX environments.
5629         (org-list-parse-list): Parse descriptive lists.
5630         (org-list-to-generic, org-list-to-latex, org-list-to-html)
5631         (org-list-to-texinfo): Export descriptive lists.
5632         (org-quote-chars): Remove.
5633         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
5634         (org-export-latex-list-beginning-re): Rename to
5635         `org-list-beginning-re'
5636         (org-list-item-begin): Rename to `org-list-item-beginning'
5638 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
5640         * org.el (org-refile): Allow refiling to the last entry in the
5641         buffer.
5642         (org-get-tags-at): Fix bug when inheritance is turned off.
5644 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
5646         * org.el (org-indent-line-function): No longer check for src
5647         regions, this is too much overhead.
5649         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
5650         matching.
5652         * org.el (org-scan-tags): Make sure that tags matching is not case
5653         sensitive.  TODO keyword matching is case sensitive, however, to
5654         avoid confusion with similar words that are not meant to be
5655         keywords.
5657 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
5659         * org.el (org-get-local-tags-at): New function.
5660         (org-get-local-tags): New function.
5662         * org-exp.el (org-export-get-categories): New function.
5664         * org-agenda.el (org-sorting-choice)
5665         (org-agenda-sorting-strategy, org-agenda-get-todos)
5666         (org-agenda-get-timestamps, org-agenda-get-deadlines)
5667         (org-agenda-get-scheduled, org-agenda-get-blocks)
5668         (org-entries-lessp): Implement sorting by TODO state.
5669         (org-cmp-todo-state): New defsubst.
5671         * org-colview.el (org-colview-construct-allowed-dates): New
5672         function.
5673         (org-columns-next-allowed-value): Use
5674         `org-colview-construct-allowed-dates'.
5676         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
5677         function.
5678         (org-columns-next-allowed-value): Use
5679         `org-colview-construct-allowed-dates'.
5681 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
5683         * org.el (org-protect-slash): New function.
5684         (org-get-refile-targets): Use `org-protect-slash'.
5686         * org-agenda.el (org-global-tags-completion-table): New variable.
5688         * org-exp.el (org-export-handle-export-tags): New function.
5689         (org-export-preprocess-string): Call
5690         `org-export-handle-export-tags'.
5692         * org-plot.el: New file.
5694         * org-publish.el (org-publish-expand-components): Function removed.
5695         (org-publish-expand-projects): Allow components to have components.
5697 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
5699         * org.el (org-indent-line-function): Do not indent in regions that
5700         are external source code.
5701         (org-yank-and-fold-if-subtree): New function.
5703         * org-agenda.el (org-agenda-todayp): New function.
5704         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
5705         `org-agenda-todayp'.
5707         * org.el (org-insert-heading-respect-content)
5708         (org-insert-todo-heading-respect-content): New commands.
5709         (org-insert-heading-respect-content): New option.
5710         (org-insert-heading): Respect `org-insert-heading-respect-content'.
5712         * org-clock.el (org-clock-find-position): Make sure the note after
5713         the clock line gets moved into the new clock drawer.
5715 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
5717         * org-id.el (org-id-new): New option.
5719 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
5721         * org-table.el (org-table-copy-down): Avoid overflow during
5722         increment.  Use prefix argument 0 to temporarily disable the
5723         increment.
5725 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
5727         * org-exp.el (org-export-as-html): Do not turn on the major mode
5728         if the buffer will be killed anyway.
5729         (org-get-current-options): Exclude the #+TEXT field.
5730         (org-export-as-html): Make sure text before the first headline is
5731         a paragraph.
5733         * org-publish.el (org-publish-org-to): Tell the exporter that this
5734         buffer will be killed, so it is not necessary to do major mode
5735         initialization.
5737         * org-archive.el (org-archive-to-archive-sibling): Show empty
5738         lines after folding the archive sibling.
5740         * org.el (org-log-note-extra): New variable.
5742 2008-09-05  Bastien Guerry  <bzg@altern.org>
5744         * org.el (org-additional-option-like-keywords): Added keywords for
5745         the _QUOTE, _VERSE and _SRC environments.
5747         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
5748         exporting _QUOTE and _VERSE environments.
5750 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
5752         * org-agenda.el (org-agenda-filter-by-tag): New command.
5754         * org-exp.el (org-get-current-options): Remove angular brackets
5755         from the date entry.
5757         * org.el (org-edit-fixed-width-region): New function.
5758         (org-edit-fixed-width-region): Also try
5759         `org-edit-fixed-width-region'.
5760         (org-edit-fixed-width-region-mode): New option.
5761         (org-activate-code): Only interprete lines starting with colon
5762         plus a space as example lines.
5764         * org-remember.el (org-remember-templates): Add nil instead of
5765         empty strings to fix the length of remember templates.
5767         * org-table.el (org-calc-default-modes): Fix the time format for
5768         calc, from 12 hour to 24 hour clock.
5770 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
5772         * org-agenda.el (org-agenda-get-deadlines)
5773         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
5774         entries that are pre-warnings of deadlines or reminders.
5776         * org.el (org-sort-entries-or-items): Make numeric and alpha
5777         comparisons ignore any TODO keyword and priority cookie.
5779         * org-remember.el (org-remember-handler): Reinterpretation of the
5780         prefix argument.
5782 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
5784         * org-agenda.el (org-agenda-get-scheduled): Use new
5785         `org-scheduled' face.
5787         * org-faces.el (org-scheduled): New face.
5789         * org-wl.el (org-wl-open): Remove incorrect declaration.
5791         * org-gnus.el (org-gnus-store-link): Support for :to information
5792         in gnus links.
5794         * org-exp.el (org-export-as-html): Fixed typo in creator
5795         information.
5796         (org-export-protect-examples): New parameter indent.  Insert extra
5797         spaces only when this parameter is specified.
5798         (org-export-preprocess-string): Call `org-export-protect-examples'
5799         with an indentation parameter when exporting to ASCII.
5801         * org-remember.el (org-remember-templates)
5802         (org-remember-apply-template): Allow the file component to be a
5803         function.
5805         * org.el (org-goto-local-search-headings): Renamed from
5806         `org-goto-local-search-forward-headings'.  Added the possibility
5807         to search backwards.
5809 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
5811         * org-export-latex.el (org-export-latex): New customization
5812         group.
5814         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
5816 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
5818         * org-exp.el (org-html-do-expand): Allow {} to terminate
5819         tex macro
5821 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
5823         * org.el (org-buffer-list): Select buffers based on major mode,
5824         not on file name.
5826 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
5828         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
5829         face property.
5831         * org-colview.el (org-columns-display-here): Use
5832         `org-columns-modify-value-for-display-function'.
5834         * org-colview-xemacs.el (org-columns-display-here): Use
5835         `org-columns-modify-value-for-display-function'.
5837 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
5839         * org.el (org-columns-modify-value-for-display-function): New option.
5851         * org-publish.el (org-publish-file): Make sure the directory match
5852         for the publishing directory works correctly.
5854         * org-agenda.el (org-agenda-execute-calendar-command)
5855         (org-agenda-diary-entry): Additional optional argument.
5857 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
5859         * org-exp.el (org-export-as-html): Add attributes also in mailto
5860         and ftp links.
5862         * org.el (org-autoload): Add `org-dblock-write:columnview'.
5871 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
5873         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
5874         sure that calls from `org-export-region-as-html' do not do the
5875         special check for a subtree.
5877 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
5879         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
5881 2008-07-20  Juri Linkov  <juri@jurta.org>
5883         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
5884         new keymap `narrow-map' instead of binding "\C-xns".
5886 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
5888         * org.el (org-open-file): Use
5889         `org-open-directory-means-index-dot-org'.
5890         (org-open-directory-means-index-dot-org): New option.
5892 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
5894         * org.el (org-make-link-string): Remove link attributes from
5895         description.
5896         (org-open-at-point): Remove link attributes bevore using the path.
5898         * org-exp.el (org-export-as-html): Handle link attributes.
5900         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
5902         * org-table.el (org-table-to-lisp): New function.
5904         * org.el (org-narrow-to-subtree): Do not include the final newline
5905         into the narrowed region.
5907         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
5908         bug with user-define skipping condition.
5910 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
5912         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
5914 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
5916         * org-exp.el (org-export-html-style-default): Automatic overflow
5917         handling for pre fields.
5918         (org-export-as-ascii, org-export-as-html): Change default format
5919         for time stamp.
5921         * org-table.el (org-table-export): Offer completion for translator
5922         functions, and do not require a heading above the table.
5924         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
5925         Cater for the case of a list starting in the first line of the
5926         buffer.
5928 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
5930         * org-publish.el (org-publish-find-title): Bug fix.
5931         (org-publish-org-index): Implement new :index-style option.
5933 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
5935         * org-publish.el (org-publish-timestamp-filename): Use
5936         SHA1-encoded file names in the timestamp directory.
5938 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
5940         * org-publish.el (org-publish-needed-p): Be verbose about files
5941         published and files skipped.
5943         * org-exp.el (org-export-preprocess-string): Swap link
5944         normalization and inernal link targeting.
5946         * org-publish.el (org-publish-needed-p): Create timestamp
5947         directory when it does not exist.
5949 2008-07-04  Bastien Guerry  <bzg@altern.org>
5951         * org-clock.el (org-clock-out-when-done): Doc fix.
5953         * org.el (org-agenda-skip-unavailable-files): Doc fix.
5955         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
5956         Ignore case when searching for the COMMENT cookie at export time.
5958 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
5960         * org-exp.el (org-get-file-contents)
5961         (org-get-and-remove-property): New functions.
5962         (org-export-handle-include-files): Handle the new prefix options.
5963         (org-export-as-html): Fix the verse environment.
5965 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
5967         * org.el (org-time=, org-time<, org-time<=, org-time>)
5968         (org-time>=, org-time<>, org-2ft): New functions.
5969         (org-op-to-function): Also provide for the time testing fucntions.
5971 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
5973         * org-exp.el (org-export-html-style-default): New constant.
5975 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
5977         * org-exp.el (org-export-html-style-extra): New variable.
5978         (org-export-splice-style): New function.
5980 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
5982         * org-exp.el (org-export-plist-vars, org-export-as-html):
5983         Implement `org-export-creator-info'.
5984         (org-export-creator-info): New option.
5986 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
5988         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
5989         (org-property-drawer-re, org-clock-drawer-re): New constants.
5991 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
5993         * org-exp.el (org-icalendar-use-deadline)
5994         (org-icalendar-use-scheduled): New options.
5995         (org-icalendar-include-todo): Default changed to t.
5996         (org-print-icalendar-entries): Implement better utilization of
5997         scheduling and deadline time stamps.
5998         (org-export-target-internal-links, org-export-as-html): Allow file
5999         lines without the "file:" prefix if the file path is an absolute
6000         path or starts with ".".
6002         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6003         lastweek etc.
6004         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6006 2008-06-18  Glenn Morris  <rgm@gnu.org>
6007         * org.el (org-map-entries): Let-bind `file'.
6009 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6011         * org.el (org-agenda-skip-archived-trees): Docstring now
6012         discourages using this.
6013         (org-scan-tags): Check for org-agenda-archives-mode.
6014         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6015         (org-agenda-files): Functionality of second arg changed.
6017         * org-agenda.el (org-agenda-archives-mode): New variable
6018         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6019         (org-search-view, org-todo-list, org-tags-view)
6020         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6021         `ifmode' argument.
6022         (org-agenda-quit): Reset the archives mode.
6023         (org-agenda-archives-mode): New command.
6024         (org-agenda-set-mode-name): Include archives info.
6026 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6028         * org.el (org-paste-subtree): Make sure the yanked headline is
6029         visible if it was yanked at a visible point.
6030         (org-move-item-up): Fix the bug with moving white space at the end
6031         of the item.
6032         (org-show-empty-lines-in-parent): New function.
6034 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6036         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6038         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6040         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6041         agenda prefix as well.
6043         * org-publish.el (org-publish-org-index): Make a properly indented
6044         list.
6046         * org.el (org-calendar-agenda-action-key): New option.
6047         (org-get-cursor-date): New function.
6048         (org-mark-entry-for-agenda-action): New command.
6049         (org-overriding-default-time): New variable.
6050         (org-read-date): Respect `org-overriding-default-time'.
6052         * org-remember.el (org-remember-apply-template): Respect the
6053         ovverriding default time.
6055         * org-agenda.el (org-agenda-action-marker): New variable.
6056         (org-agenda-action): New command.
6057         (org-agenda-do-action): New function.
6059 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6061         * org.el (org-schedule, org-deadline): Protect scheduled and
6062         deadline tasks against changes that accidently remove the
6063         repeater.  Also show a message with the new date when done.
6065 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6067         * org.el (org-beginning-of-line): Cater for the case when there
6068         are tags but no headline text.
6069         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6070         it set.
6072 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6074         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6075         the return value is nil instead of "nil" when there is no match.
6077         * org-exp.el (org-insert-centered): Use fill-column instead of
6078         80.
6079         (org-export-as-ascii): Use string-width to measure the width of
6080         the heading.
6082         * org.el (org-diary-to-ical-string): No longer kill buffer
6083         FROMBUF, this is now done by the caller.
6085         * org-exp.el (org-print-icalendar-entries): Move the call to
6086         `org-diary-to-ical-string' out of the loop, and kill the buffer
6087         afterwords.
6089         * org-remember.el (org-remember-visit-immediately): Position
6090         cursor after moving to the note.
6091         (org-remember-apply-template): Use a text property to record the
6092         cursor position.
6093         (org-remember-handler): Align tags after pasting the note.
6095 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6097         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6099         * org-agenda.el (org-agenda-open-link): If there is an
6100         org-bbdb-name property in the current line, jump to that bbdb
6101         entry.
6103         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6104         text property, so that the agenda knows where this entry comes
6105         from.
6107         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6108         interaction between clocking-in from the agenda, and  automatic
6109         task state switching.
6111         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6113         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6114         zmacs-region stays after this command in XEmacs.
6116 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6118         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6120         * org-remember.el (org-remember-templates): Fix bug in
6121         customization type definition.
6123         * org.el (org-map-entries): New function.
6125 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6127         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6128         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6130 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6132         * org-remember.el (org-jump-to-target-location): New variable.
6133         (org-remember-apply-template): Set
6134         `org-remember-apply-template' if requested by template.
6135         (org-remember-handler): Start an idle timer to jump to
6136         remember location.
6138         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6140         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6141         file tags.
6142         (org-get-tags-at): Add the content of `org-file-tags'.
6144         * org-exp.el (org-export-handle-comments): Fix bug with several
6145         comment lines after each other.
6146         (org-number-to-roman, org-number-to-counter): New functions.
6147         (org-export-section-number-format): New option.
6149 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6151         * org-exp.el (org-export-protect-examples): Catch the case of a
6152         missing end_example line.
6154         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6155         `org-file-tags' to nil.
6157         * org-colview.el (org-columns-next-allowed-value): Handle next
6158         argument NTH to directly select a value.
6160         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6161         argument NTH to directly select a value.
6163 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6165         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6167 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6169         * org.el (org-columns-ellipses): New option.
6171 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6173         * org-colview.el (org-columns-add-ellipses): New function.
6174         (org-columns-compact-links): New function.
6175         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6176         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6177         when in agenda.
6178         (org-columns-edit-value): Fixed bug with editing values from
6179         agenda column view.
6180         (org-columns-redo): Also redo the agenda itself.
6182 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6184         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6185         option.
6187         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6189         * org-exp.el (org-export-ascii-preprocess): Renamed from
6190         `org-export-ascii-clean-string'.
6191         (org-export-kill-licensed-text)
6192         (org-export-define-heading-targets)
6193         (org-export-handle-invisible-targets)
6194         (org-export-target-internal-links)
6195         (org-export-remove-or-extract-drawers)
6196         (org-export-remove-archived-trees)
6197         (org-export-protect-quoted-subtrees)
6198         (org-export-protect-verbatim, org-export-protect-examples)
6199         (org-export-select-backend-specific-text)
6200         (org-export-mark-blockquote-and-verse)
6201         (org-export-remove-comment-blocks-and-subtrees)
6202         (org-export-handle-comments, org-export-mark-radio-links)
6203         (org-export-remove-special-table-lines)
6204         (org-export-normalize-links)
6205         (org-export-concatenate-multiline-links)
6206         (org-export-concatenate-multiline-emphasis): New functions,
6207         obtained from spliiting the export preprocessor.
6209         * org-table.el (org-table-recalculate): Improve error message if
6210         the row number is invalid.
6212 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
6214         * org-archive.el (org-archive-save-context-info): Fix bugs in
6215         customization setup and docstring.
6217         * org-exp.el (org-export-html-style): Changed the size of in the
6218         <pre> element to 90%.
6220 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
6222         * org.el (org-find-src-example-start): Function removed.
6223         (org-edit-src-find-region-and-lang): New function.
6225 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
6227         * org.el (org-edit-src-exit): New function.
6228         (org-exit-edit-mode): New minor mode.
6230         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6231         comment-like lines from protected examples.
6233         * org.el (org-edit-src-example, org-find-src-example-start)
6234         (org-protect-source-example, org-edit-special): New functions.
6236 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
6238         * org-publish.el (org-publish-project-alist): Fix typo in
6239         docstring.
6240         (org-publish-project-alist): Handle :index-title property.
6242 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
6244         * org-export-latex.el (org-export-as-latex): Make sure region
6245         bounds are correct.  Parse subtree properties relating to export.
6247         * org-exp.el (org-export-add-options-to-plist): New function.
6248         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6250 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
6252         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6253         EXPORT_TITLE.
6255         * org-exp.el (org-export-get-title-from-subtree)
6256         (org-export-as-ascii, org-export-as-html): Make sure the original
6257         region-beginning and region-end are used, even after moving
6258         point.
6259         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6260         property.
6262         * org-remember.el (org-remember-last-stored-marker): New variable.
6263         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6264         (org-remember-handler): Also use marker to remember
6265         last-stored position.
6267         * org.el (org-goto-marker-or-bmk): New function.
6269 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
6271         * org.el (org-file-properties): Renamed from `org-local-properties'.
6272         (org-scan-tags): Take file tags into account.
6273         (org-tags-match-list-sublevels): Default changed to t.
6275         * org-exp.el (org-export-as-html): Close paragraph after a
6276         footnote.
6278         * org.el (org-update-parent-todo-statistics): New function.
6280         * org-exp.el (org-icalendar-store-UID): New option.
6281         (org-icalendar-force-UID): Option removed.
6282         (org-print-icalendar-entries): IMplement UIDs.
6284 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
6286         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6288 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
6290         * org-faces.el (org-column): Document how this face is being used
6291         and why sometimes the background faces shine through.
6293         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6295         * org-publish.el (org-publish-attachment): Create publishing
6296         directory if it does not yet exist.
6298         * org-table.el (org-calc-default-modes): Change default number
6299         format to (float 8).
6301         * org.el (org-olpath-completing-read): New function.
6302         (org-time-clocksum-format): New option.
6303         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6305         * org-clock.el (org-clock-display, org-clock-out)
6306         (org-update-mode-line): Use `org-time-clocksum-format'.
6308         * org-colview-xemacs.el (org-columns-number-to-string): Use
6309         `org-time-clocksum-format'.
6311         * org-colview.el (org-columns-number-to-string): Use
6312         `org-time-clocksum-format'.
6314 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
6316         * org-id.el: New file, move from contrib to core.
6318         * org-exp.el (org-icalendar-force-UID): New option.
6320 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
6322         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6323         shifted by one day if theere is a date range without an end
6324         time.
6326         * org.el (org-try-structure-completion): New function.
6328 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
6330         * org.el (org-set-font-lock-defaults): Improve fontification of
6331         description lists.
6332         (org-insert-item): Handle description lists.
6333         (org-adaptive-fill-function): Improve auto indentation in
6334         description lists.
6336         * org-exp.el (org-export-as-html, org-export-preprocess-string):
6337         Implement VERSE environment.
6338         (org-export-preprocess-string): Implement the COMMENT
6339         environment.
6341         * org-export-latex.el (org-export-latex-preprocess): Implement
6342         VERSE environment.
6344 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
6346         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6347         option.
6349 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
6351         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6353         * org.el (org-quote-csv-field): New functions.
6355         * org-table.el (org-table-export-default-format): Remove :splice
6356         from default format, we get the same effect by not specifying
6357         :tstart and :tend.
6358         (org-table-export): Improve setup, distinguish better between
6359         interactive and non-interactive use, allow specifying the format
6360         on the fly, better protection against wrong file names.
6361         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
6362         and :tend when :splice is omitted.
6364 2008-05-09  Bernt Hansen  <bernt@norang.ca>
6366         * org-clock.el (org-clock-select-task): Make sure the selection
6367         letters are 1-9 and A-Z, no special characters.
6369 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
6371         * org-exp.el (org-export-htmlize): New group.
6372         (org-export-htmlize-output-type)
6373         (org-export-htmlize-css-font-prefix): New options.
6374         (org-export-htmlize-region-for-paste): New function.
6375         (org-export-htmlize-generate-css): New command.
6377 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
6379         * org/org.el (org-modules, org-format-latex-options):
6380         * org/org-archive.el (org-archive-stamp-time)
6381         (org-archive-save-context-info):
6382         * org/org-faces.el (org-hide):
6383         * org/org-irc.el (org-irc-parse-link):
6384         * org/org-macs.el (org-call-with-arg, org-autoload):
6385         * org/org-mew.el (org-mew-store-link):
6386         * org/org-remember.el (org-remember-store-without-prompt)
6387         (org-remember-templates): Fix typos in docstrings.
6389         * org/org-info.el (org-info-store-link): Remove leftover docstring.
6391         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6392         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6393         (org-bbdb-anniv-split): Fix typos in docstrings.
6395         * org/org-publish.el (org-publish-project-alist): Doc fixes.
6396         (org-publish-use-timestamps-flag): Reflow docstring.
6397         (org-publish-files-alist): Fix typos in docstring.
6399 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
6401         * org.el (org-set-visibility-according-to-property): New function.
6402         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6403         and compute the regular expressions, and update font-lock.
6404         (org-property-re): Allow a dash in property names.
6406         * org-archive.el (org-extract-archive-file): Insert the file name
6407         without the path into the format, to allow the location format to
6408         contain a subdirectory.
6410         * org-agenda.el (org-agenda-post-command-hook): If point is at end
6411         of buffer, and the `org-agenda-type' property undefined, use the
6412         value from the character before.
6414         * org.el (org-add-planning-info): Don't let indentation for
6415         would-be timestamp become extra whitespace at the end of headline.
6417 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
6419         * org.el (org-remove-double-quotes, org-file-contents): New
6420         functions.
6422         * org-exp.el (org-infile-export-plist): Also parse the
6423         contents of #+SETUPFILE files, recursively.
6425         * org.el (org-set-regexps-and-options): Also parse the
6426         contents of #+SETUPFILE files, recursively.
6428         * org-exp.el (org-export-handle-include-files): New function.
6429         (org-export-preprocess-string): Call
6430         `org-export-handle-include-files'.
6432         * org.el (org-delete-property-globally)
6433         (org-delete-property, org-set-property): Ignore case during
6434         completion.
6435         (org-set-property): Use `org-completing-read' instead of
6436         `completing-read'.
6438         * org.el (org-complete-expand-structure-template): New,
6439         experimental function.
6440         (org-structure-template-alist): New, experimental option.
6441         (org-complete): Call `org-complete-expand-structure-template'.
6443 2008-05-06  Bastien Guerry  <bzg@altern.org>
6445         * org-export-latex.el (org-export-latex-preprocess): Added
6446         support for blockquotes.
6448 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
6450         * org.el (org-read-date-analyze): Catch the case where only a
6451         weekday is given.
6453 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
6455         * org.el (org-set-font-lock-defaults): Make the description
6456         tag bold.
6458         * org-exp.el (org-export-as-html, org-close-li): Implement
6459         description lists.
6461 2008-05-04  Jason Riedy  <jason@acm.org>
6463         * org-table.el (*orgtbl-default-fmt*): New variable.
6464         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6465         when there is no other fmt available.
6467         (orgtbl-to-generic): Allow an explicitly nil :tstart or
6468         :tend to suppress the appropriate string.
6470         (orgtbl-to-orgtbl): New function for translating to another orgtbl
6471         table.
6473 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
6475         * org.el (org-read-date-analyze): "." as an alias for "+0" in
6476         read date.
6478         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6479         New function.
6481         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6482         New function.
6484 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
6486         * org-clock.el (org-clock-find-position): Don't include notes
6487         into clock drawer.
6489         * org-archive.el (org-archive-subtree): No longer remove an
6490         extra line after cutting the subtree.  `org-cut-subtree' already
6491         takes care of this.
6493         * org-remember.el (org-remember-handler): Only kill the target
6494         buffer if it does not contain the running clock.
6496         * org.el (org-markers-to-move): New variable.
6497         (org-save-markers-in-region, org-check-and-save-marker)
6498         (org-reinstall-markers-in-region): New function.
6499         (org-move-subtree-down, org-copy-subtree): Remember relative
6500         marker positions before cutting.
6501         (org-move-subtree-down, org-paste-subtree): Restore relative
6502         marker positions after pasting.
6504         * org-remember.el (org-remember-clock-out-on-exit): New option.
6505         (org-remember-finalize): Clock out only if the setting in
6506         `org-remember-clock-out-on-exit' requires it.
6507         (org-remember-handler): Do the cleanup in the buffer, to make sure
6508         that the clock marker remains in tact.
6510 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
6512         * org-clock.el (org-clock-goto): Widen buffer if necessary.
6513         (org-clock-in): Make sure that also tasks outside the narrowed
6514         region will be clocked in correctly.
6515         (org-clock-insert-selection-line): Widen the buffer so that we can
6516         find the correct task heading.
6518         * org.el (org-base-buffer): New function.
6520         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6521         and ";" are escaped.
6522         (org-print-icalendar-entries): Also apply
6523         `org-icalendar-cleanup-string' to the headline, not only to the
6524         summary property.
6526 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
6528         * org-exp.el (org-export-preprocess-hook): New hook.
6529         (org-export-preprocess-string): Call
6530         `org-export-preprocess-hook'.
6532         * org.el (org-font-lock-hook): New variable.
6533         (org-font-lock-hook): New function.
6534         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6536 ;; Local Variables:
6537 ;; coding: utf-8
6538 ;; add-log-time-zone-rule: t
6539 ;; End:
6541     Copyright (C) 2008  Free Software Foundation, Inc.
6543   This file is part of GNU Emacs.
6545   GNU Emacs is free software: you can redistribute it and/or modify
6546   it under the terms of the GNU General Public License as published by
6547   the Free Software Foundation, either version 3 of the License, or
6548   (at your option) any later version.
6550   GNU Emacs is distributed in the hope that it will be useful,
6551   but WITHOUT ANY WARRANTY; without even the implied warranty of
6552   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6553   GNU General Public License for more details.
6555   You should have received a copy of the GNU General Public License
6556   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
6558 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c