Make it possible to record logbook entries when scheduling/deadlines change
[org-mode.git] / lisp / ChangeLog
bloba41a995c501c649ff66016908d8920cfbd688dfd
1 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org.el (org-log-reschedule, org-log-redeadline): New options.
4         (org-log-note-headings): Add templates for rescheduling and
5         deadline changing.
6         (org-startup-options): Add in-buffer settings for logging changing
7         schedule and deadline time stamps.
8         (org-deadline, org-schedule): Check for existing date and arrange
9         for logging if the user requests it.
10         (org-add-log-note): Prepare proper note buffers for rescheduling
11         and deadline changes.
13 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
15         * org-latex.el (org-export-latex-preprocess): Protect targets in
16         verbatim emphasis.
18         * org-html.el (org-export-as-html): Protect targets in verbatim
19         emphasis.
21         * org-docbook.el (org-export-as-docbook): Protect targets in
22         verbatim emphasis.
24 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
26         * org-clock.el (org-show-notification): Handle messages that
27         contain a percent character.
29         * org-remember.el (org-remember-apply-template): Turn of partial
30         completion.
32         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
33         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
35         * org.el (org-indent-mode): Define variable already in org.el.
36         (org-unfontify-region): Remove line-prefix and wrap-prefix
37         properties only if org-indent-mode is active.
39 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
41         * org-icalendar.el (org-print-icalendar-entries): Save match data
42         around call to verify function.
43         (org-print-icalendar-entries): Add a call to the verification
44         function.
46         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
47         save-restrivtion' form.
49 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
51         * org-exp.el (org-export-format-source-code-or-example): restrict
52         scope of preserve-indentp to the let binding.
53         (org-src): require org-src, since org-src-preserve-indentation is used.
55 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
57         * org-timer.el (org-timer-set-timer): Set variables
58         org-timer-timer[123] correctly.
61         * org-mobile.el (org-mobile-files-alist): Make it work when
62         `agenda-archives' is included in
63         `org-agenda-text-search-extra-files'.
64         (org-mobile-push): Restore agenda after mobile push.
66 2009-11-05  John Wiegley  <jwiegley@gmail.com>
68         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
69         way the amount of idle time is presented in the minibuffer.
71 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
73         * org-icalendar.el (org-print-icalendar-entries): Use
74         org-icalendar-verify-function only if non-nil.
76         * org.el (org-refile): Refile to clock only if the prefix arg is
77         2.
78         (org-sparse-tree): Fix docstring to be in line with prompt.
79         (org-update-parent-todo-statistics): Call
80         `org-after-todo-statistics-hook' on each level.
82 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
84         * org-remember.el (org-remember-apply-template): Make sure the
85         buffer exists.
87 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
89         * org.el (org-tab-ind-state): New variable.
90         (org-cycle-level): New function.
91         (org-cycle-level-after-item/entry-creation): New option.
92         (org-flag-subtree): New function.
93         (org-hide-archived-subtrees): Call `org-flag-subtree'.
94         (org-set-effort): Indexed access.
96         * org-list.el (org-cycle-item-indentation): New function.
98         * org.el (org-refile): Make prefix argument 2 refile to current
99         clock.
100         (org-priority): Interpret action `remove' as call to remove the
101         priority cookie.
103         * org-remember.el (org-remember-apply-template): Don't depend on
104         buffer name being like file name.
106 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
108         * org-clock.el (org-clock-play-sound): Expand file in
109         org-clock-sound, to allow ~ for home.
111         * org-remember.el (org-remember-handler): Set
112         text-before-node-creation even if this already looks like a node,
113         because the string might be needed on non-org-mode target files.
115         * org-agenda.el (org-agenda-open-link): Make this work in agenda
116         clocktables.
117         (org-agenda-switch-to): Follow a link at point if
118         org-return-follows-link' is set and there is nothing else to do in
119         this line.
121 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
123         * org-colview-xemacs.el: Add in changes from org-colview.el
125 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
127         * org-exp-blocks.el: Modify split separator regexp to avoid empty
128         strings.
130 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
132         * org-colview.el (org-columns-new): Make this work with the new
133         operators.
134         (org-columns-store-format): Make this work with the new operators.
136 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
138         * org-src.el (org-src-preserve-indentation): Document that this
139         variable is also used during export.
141         * org-exp.el (org-export-format-source-code-or-example): Preserve
142         indentation if a block has a -i option, or if
143         `org-src-preserve-indentation' is set.
145         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
146         indentation if a block has a -i option, or if
147         `org-src-preserve-indentation' is set.
149 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
151         * org.el (org-mode-map): Define the new archiving keys.
152         (org-speed-commands-default): Define an archiving key in the speed
153         command map.
154         (org-org-menu): Improve the menu structure concerning archiving.
156         * org-archive.el (org-archive-subtree-default-with-confirmation):
157         New command.
159         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
160         (org-agenda-menu): Add the new archiving commands to the menu.
161         (org-agenda-archive-default)
162         (org-agenda-archive-default-with-confirmation): New commands.
163         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
164         call `org-agenda-archive-with'.
165         (org-agenda-archive-with): New function.
167         * org-table.el (org-table-convert-region): Inert spaces around "|"
168         to avoid line beginnings like "|-1" which will be mistaken as
169         hlines.
171 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
173         * org.el (org-offer-links-in-entry): Return nil if there are no
174         links, t if a link has been selected.
175         (org-open-at-point): Open attachment directory when called in the
176         headline and there are no links in the entry body.
177         (org-speed-commands-default): Add "o" for open-at-point as a speed
178         command.
180         * org-attach.el (org-attach-reveal): Optional prefix arg
181         IF-EXISTS, which avoids creating the attachment directory if it
182         does not yet exist.
184         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
185         MATCH.
187 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
189         * org.el ("abbrev"): Work with abbrev tables only after they have
190         been loaded.
192         * org-list.el (org-list-send-list): Fix bug related to match
193         data.
195         * org-latex.el (org-export-latex-fontify): Apply verbatim
196         emphasis.
197         (org-export-latex-make-header): Insert \obeylines if line breaks
198         should be preserved.
200         * org-exp.el (org-export-protect-verbatim): Add an
201         `org-verbatim-emph' property to such text.
203 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
205         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
206         (org-print-icalendar-entries): Skip entries where the timestamp is
207         not a deadline and not scheduled, if the user requests that.
209         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
210         before an opening quote.
212         * org-archive.el (org-archive-subtree): Keep archive after
213         archiving something.
215         * org-id.el (org-id-update-id-locations): Add archive files if
216         that is required by `org-id-extra-files'.
218 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
220         * org-src.el (org-src-window-setup): New option.
221         (org-src-switch-to-buffer): New function.
222         (org-edit-src-exit): Add optional argument CONTEXT and use it to
223         restore window configuration.
224         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
225         Call `org-src-switch-to-buffer'.
227         * org.el (org-default-properties): Add STYLE property.
228         (org-files-list): Use the function call to get the files.
229         (org-additional-option-like-keywords): Add SETUPFILE to completion
230         list.
232 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
234         * org-table.el (org-table-convert-region): Correctly interpret
235         quoting in csv import.
237         * org.el (org-icompleting-read): Make iswitchb completion work
238         with lists and tables.
240         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
241         while pushing the mobile agenda.
243 2009-10-25  John Wiegley  <jwiegley@gmail.com>
245         * org-clock.el
246         (org-clock-auto-clock-resolution): Now takes three values: nil, t
247         and `when-no-clock-is-running'.
248         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
249         whether or not to resolve Org buffers on clock in.
251 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
253         * org-colview.el (org-format-time-period): Function to format
254         times in fractional days for display.
255         (org-columns-display-here): Add support for showing a calculated
256         value in place of the property.
257         (org-columns): Set `org-columns-time' to the current time so time
258         difference calculations will work.
259         (org-columns-time): Use to store the current time when column view
260         is displayed, so all time differences will use the same reference
261         point.
262         (org-columns-compile-map): There is now an extra position in each
263         entry specifying the function to use to calculate the displayed
264         value for the non-calculated properties in the column,
265         (org-columns-compute-all): Set `org-columns-time' to the current
266         time so time difference calculations will work.
267         (org-columns-compute): Handle column operators where the values
268         used are calculated from the underlying property.
269         (org-columns-number-to-string): Handle the 'age' column format
270         (org-columns-string-to-number): Correct the function name (was
271         org-column...). Add support for the 'age' column format.
272         (org-columns-compile-format): Support the additional parameter in
273         org-columns-compile-map.
275 2009-10-26  Bastien Guerry  <bzg@altern.org>
277         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
278         variable.
280 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
282         * org-clock.el (org-clock-has-been-used): New variable.
283         (org-clock-in): Set `org-clock-has-been-used'.
284         (org-clock-save): Save only if clock data has been used or created
285         during this session.
287 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
289         * org-clock.el (org-clock-persist): New value, to store only the
290         clock history.
291         (org-clock-save): Don't save the clock if only the history should
292         be stored.
293         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
294         when restoring a saved clock.
296 2009-10-24  John Wiegley  <jwiegley@gmail.com>
298         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
299         `org-time-clock-use-fractional'.
301         * org.el (org-time-clocksum-use-fractional)
302         (org-time-clocksum-fractional-format): Two new customizable
303         variables which allow the user to select fractional times (1.25
304         instead of 1:25) in the `org-clock-display' report.
306 2009-10-23  John Wiegley  <jwiegley@gmail.com>
308         * org-habit.el (org-habit-build-graph): None of the arguments
309         should be optional.
310         (org-habit-parse-todo, org-habit-deadline)
311         (org-habit-get-priority, org-habit-get-faces)
312         (org-habit-build-graph): Further simplifications by storing all
313         past, scheduled and deadline dates as a number of days past the
314         epoch, and not as times.
316         * org-habit.el (org-habit-warning-face)
317         (org-habit-warning-future-face): Removed because these are no
318         longer used.
319         (org-habit-deadline, org-habit-deadline-repeat): Now always
320         returns a date; computed if there was a scheduled repeater but no
321         deadline repeater.
322         (org-habit-get-priority): Further improvements to the priority
323         algorithm.  In particular, items past due should always appear
324         before items due or not yet due.
325         (org-habit-get-faces): Greatly simplified the logic, now that
326         `org-habit-deadline' always returns a valid time.
328 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
330         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
331         New option.
333         * org.el (org-tag-alist): Fix customization type.
335 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
337         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
338         Make sure the regexp search can fail without throwing an error.
339         (org-mobile-apply): Save the inbox buffer after removing
340         successfully applied changes.
342 2009-10-22  John Wiegley  <jwiegley@gmail.com>
344         * org-habit.el (org-habit-build-graph): Fix to the graph building
345         when last DONE date is earlier than `org-habit-preceding-days'.
347         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
348         time is reported after the user comes back (but before they
349         resolve time).
351         * org.el (org-get-repeat): Change so that this function can be
352         called with either `org-scheduled-string' or
353         `org-deadline-string'.
355         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
356         to find the scheduled date.
358         * org-clock.el (org-clock-auto-clock-resolution): Renamed
359         `org-clock-disable-clock-resolution', since negatives don't sound
360         good in customization variables.
361         (org-clock-in): Don't use the auto-resolution logic if the user is
362         clocking into a different task while an active clock is running.
363         This then allows the default behavior of clocking out of the open
364         task and then into the new task.
366         * org-habit.el (org-habit-parse-todo): Generate an error if a
367         habit has a scheduled repeat period < 1.
368         (org-habit-get-faces): Fixes to the way that colors are computed.
369         (org-habit-build-graph): The graph wasn't displaying beyond any
370         day that had two completions in it.
372         * org.el (org-modules): Made this variable more consistent, since
373         it was referring to Org, OrgMode and Org-mode, whereas the docs
374         for the variable always refer to Org-mode.
376 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
378         * org.el (org-repeat-re): The changed org-repeat-re no longer
379         matched simple +2d type repeaters. Fix it so it does.
381 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
383         * org-latex.el (org-export-latex-preprocess): Protect the vspace
384         macro in the VERSE environment.
386 2009-10-20  John Wiegley  <jwiegley@gmail.com>
388         * org-habit.el (org-habit-get-priority): A new function that
389         determines the relative priority of a habit, based on how long
390         past its scheduled date it is, and how near the deadline is.
392         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
393         using `org-habit-get-priority'.
395         * org-habit.el (org-habit-build-graph): Start displaying colors
396         from the first scheduled date, if that date is earlier than the
397         first completion date.
399         * org-habit.el: Changed all "color" variables to faces, and made
400         them appropriate for light and dark backgrounds.
402         * org-habit.el (org-habit-duration-to-days): Made this function
403         more general.
404         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
406         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
407         habits, since they don't use DEADLINE anymore.
409         * org.el (org-repeat-re, org-display-custom-time)
410         (org-timestamp-change): Extended to support the new ".+N/N"
411         syntax, used for habits.
413         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
414         variable reference.
416         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
417         modeline when habits are being displayed (if that module is being
418         loaded).
420 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
422         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
423         idle time using the xscreensaver extension.
424         (org-user-idle-seconds): Use X11 idle time if available.
426 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
428         * org-agenda.el (org-agenda-next-line): New command.
429         (org-agenda-previous-line): New commands.
430         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
431         commands.
432         (org-agenda-follow-mode): Do the follow immediately if the mode is
433         turned on here.
434         (previous-line, next-line): Replace keys with the corresponding
435         org functions.
436         (org-agenda-mode-map): Bind backspace and delete to the scrolling
437         command.
439         * org.el (org-icompleting-read): Turn off partial completion mode
440         for the duration of this completion round.
442         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
443         macros in author lines and similar stuff.
445         * org.el (org-file-tags): Fix docstring.
446         (org-get-buffer-tags): Add the #+FILETAGS tags.
447         ("ecb"): Maks ecb show context after jumping into an Org file.
449 2009-10-20  John Wiegley  <johnw@newartisans.com>
451         * org-agenda.el (org-finalize-agenda): Draw habit consistency
452         graphs after everything else in the buffer has been setup.
454 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
456         * org-mobile.el (org-mobile-apply): Count success and failure.
458         * org.el (org-indent-line-function): Fix regexp replace problem.
460 2009-10-19  John Wiegley  <johnw@newartisans.com>
462         * org-clock.el (org-clock-disable-clock-resolution): New
463         customization variable that disable automatic clock resolution on
464         clock in.
465         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
466         not automatically resolve anything.  This is does not affect
467         idle-time resolution, however, if `org-clock-idle-time' is set.
469 2009-10-19  John Wiegley  <johnw@newartisans.com>
471         * org-habit.el: New file, which implements code to build a "habit
472         consistency graph".
474         * org-agenda.el (org-agenda-get-deadlines)
475         (org-agenda-get-scheduled): Display consistency graphs when
476         outputting habits into the agenda.  The graphs are always relative
477         to the current time.
478         (org-format-agenda-item): Added new parameter `habitp', which
479         indicates whether we are formatting a habit or not.  Do not
480         display "extra" leading information if habitp is true.
482         * org.el (org-repeat-re): Improved regexp to include .+ and ++
483         leaders for repeat strings.
484         (org-get-repeat): Now takes a string parameter `tagline', so the
485         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
487 2009-10-19  John Wiegley  <johnw@newartisans.com>
489         * org-agenda.el (org-agenda-auto-exclude-function): New
490         customization variable for allowing the user to create an "auto
491         exclusion" filter for doing context-aware auto tag filtering.
492         (org-agenda-filter-by-tag): Changes to support the use of
493         `org-agenda-auto-exclude-function'.  See the new manual addition,.
495 2009-10-18  John Wiegley  <johnw@newartisans.com>
497         * org.el (org-files-list): Don't attempt to return a file name for
498         Org buffers which have no associated file.
500         * org-agenda.el (org-agenda-do-action): Fixed a typo.
502 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
504         * org-mobile.el (org-mobile-locate-entry): Interpret files
505         relative to org-directory.
506         (org-mobile-inbox-for-pull): Document the best location for this
507         file.
508         (org-mobile-check-setup): Verify `org-directory'.
509         (org-mobile-create-index-file): Sort the files to be listed in
510         index.org.
512 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
514         * org.el (org-fast-tag-selection): Add a way to display a
515         description for a tag group. This is done by adding a string to
516         either the startgroup or endgroup cell.
518 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
520         * org-clock.el (org-clock-resolve, org-resolve-clocks)
521         (org-emacs-idle-seconds): Use `org-float-time' instead of
522         `time-to-seconds'
524 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
526         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
527         type.
529         * org.el (org-pre-cycle-hook): Document that `empty' can also be
530         the value of ARG when doing local cycling.
532 2009-10-17  John Wiegley  <johnw@newartisans.com>
534         * org-clock.el (org-clock-resolve-clock): If keeping or
535         subtracting time results in a clock out at a time in the past, and
536         if the resolution occurred due to idleness or invoking `M-x
537         org-resolve-clocks', remember that past moment in time.  On the
538         next clock in, the user will be prompted to see if they want to
539         back-date their new clock to then.
540         (org-clock-resolve): Do not jump the user to the location of a
541         dangling clock if the resolution is occuring due to an idle
542         timeout.  In that case there is typically only one dangling clock,
543         the active one, and there is no value gained by shuffling their
544         windows around to show it to them.  Being prompted to resolve an
545         idle clock should be as inobtrusive as possible.
546         (org-resolve-clocks-if-idle): New function that resolves only the
547         currently active clock if the user has exceeded the time returned
548         by `org-user-idle-seconds', based on the value of
549         `org-clock-idle-time'.
550         (org-clock-in): If, after resolving clocks,
551         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
553         * org-clock.el (org-clock-resolve-clock): New function that
554         resolves a clock to a specific time, closing or resuming as need
555         be, and possibly even starting a new clock.
556         (org-clock-resolve): New function used by `org-resolve-clocks'
557         that sets up for the call to `org-clock-resolve-clock'.  It
558         determines the time to resolve to based on a single-character
559         selection from the user to either keep time, subtract away time or
560         cancel the clock.
561         (org-resolve-clocks): New user command which resolves dangling
562         clocks -- that is, open but not active -- anywhere in the file
563         list returned by `org-files-list'.
564         (org-clock-in): Automatically resolve dangling clocks whenever a
565         user clocks in.
566         (org-clock-cancel): If the user cancels the solely clock in a
567         LOGBOOK, remove the empty drawer.
569         * org-clock.el (org-clock-idle-time): New user customizable option
570         for detecting whether the user has left a clock idle.  Note: it is
571         only used in this commit to test whether it's worthwhile to check
572         OS X to get the Mac user's current idle time.  If the Emacs idle
573         time is less than the value, the user hasn't been away long enough
574         to be worth checking (a more expensive test than just getting
575         Emacs idle time).
576         (org-user-idle-seconds, org-mac-idle-seconds)
577         (org-emacs-idle-seconds): This three functions, in conjunction
578         with the user customization variable `org-clock-idle-time', return
579         the number of seconds (as a floating point) that the user has been
580         away from their Emacs (or, if running on OS X, their computer).
582         * org-clock.el (org-find-open-clocks): New function that returns a
583         list of all open clocks in the given FILE.  Note that each clock
584         it returns is a cons cell of the format (MARKER . START-TIME).
585         This "clock" value is used by several of the new clock module
586         utility functions.
587         (org-is-active-clock): New inline function which tests whether the
588         given clock value is the same as the currently active clock.
589         Returns non-nil if this is the case.
590         (org-with-clock-position): New macro that evaluates FORMS with
591         point in the buffer and at the position of the given clock.
592         Changes to the current clock are global.
593         (org-with-clock): New macro that evaluates FORMS with point in the
594         buffer and at the position of the given clock.  However, changes
595         to the current clock are local and have no effect on the user's
596         active clock.  This allows, for example, far any clock to be
597         cancelled without cancelling the active clock.
598         (org-clock-clock-in): New inline function that switches the active
599         clock to the given clock.  If either the argument RESUME, or the
600         global `org-clock-in-resume', are non-nil, it will resume a clock
601         that was previously left open.
602         (org-clock-clock-out): New inline function that clocks out the
603         given clock value without affecting the currently active clock.
604         (org-clock-clock-cancel): New inline function that cancels the
605         given clock value without affecting the currently active clock.
607         * org-clock.el (org-clock-in): Before creating
608         `org-clock-mode-line-timer', check to make sure an older timer is
609         not currently running.
610         (org-clock-out): Accept new third parameter `at-time', which
611         permits a clock to be clocked out at a specific time.  Note that
612         no attempt is made to verify that the clock out time is later than
613         the clock in time.
615         * org.el (org-files-list): New utility function for returning a
616         list of all open org-mode buffers, plus all files used to build
617         the agenda buffer.  Note that not all the files will necessarily
618         be visited by a buffer at time of call.
619         (org-entry-beginning-position): Like the function
620         `line-beginning-position', this inline function returns the
621         beginning position of the current heading/entry.
622         (org-entry-end-position): Like the function `line-end-position',
623         this inline function returns the end position of the current
624         heading/entry.
626 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
628         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
629         a header line.
631 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
633         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
635 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
637         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
638         entries that have no tags.
639         (org-agenda-search-view): New customize group.
640         (org-agenda-search-view-search-words-only): New option.
641         (org-search-view): Implement substring search.
643 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
645         * org.el (org-outline-level): Add doc string.
647 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
649         * org-inlinetask.el (org-inlinetask-export): Re-introduce
650         variable.
651         (org-inlinetask-export-handler): Only export inline task if the
652         user option calls for it.
654 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
656         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
657         END if present.
659 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
661         * org-latex.el (org-export-latex-tables): Don't format in
662         protected regions.
664 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
666         * org-src.el (org-edit-src-code)
667         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
668         macro editing.
670         * org-agenda.el (org-prefix-category-max-length): New variable.
671         (org-format-agenda-item): Use `org-prefix-category-max-length'.
672         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
674 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
676         * org-mobile.el (org-mobile-create-index-file): Improve the
677         listing of tags and todo keywords.
679         * org-latex.el (org-export-latex-format-image): New function.
680         (org-export-latex-links): Use `org-export-latex-format-image'.
682 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
684         * org-inlinetask.el (org-inlinetask-get-current-indentation)
685         (org-inlinetask-remove-terminator): New functions.
686         (org-inlinetask-export-handler): Terminate the description list.
688         * org-exp.el (org-export-select-backend-specific-text): Remove the
689         region markers.
691         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
692         tasks without content.
694         * org-clock.el: Make sure the clock-in target position does not
695         move to a different node by widening the buffer.
697         * org-html.el (org-export-html-format-image): Wrap image into
698         figure div only when there is a caption.
700         * org-archive.el (org-archive-mark-done): Change default value to
701         nil.
703 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
705         * org.el (org-context): Call `bobp', not `eobp'.
707         * org-clock.el (org-clock-cancel): Remove quotes from marker
708         variables.
710         * org.el (org-read-date-prefer-future): New allowed value `time'.
711         (org-read-date-analyze): Shift day to tomorrow depending on time
712         entered and value of `org-read-date-prefer-future'.
714 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
716         * org.el (org-set-tags-to): New command.
718         * org-mobile.el (org-mobile-action-alist): Add more options and
719         update the docstring.
720         (org-mobile-apply-flags): Parse for and use the data.
722         * org-latex.el (org-export-latex-set-initial-vars): Also check in
723         the plist.
725         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
726         keyword.
728         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
730 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
732         * org-inlinetask.el (org-inlinetask-export): Option removed.
733         (org-inlinetask-export-handler): Better export.
735         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
736         (org-export-as-xoxo): Run the new hook.
738         * org-html.el (org-export-html-final-hook): New hook.
739         (org-export-as-html): Run the new hook.
741         * org-docbook.el (org-export-docbook-final-hook): New hook.
742         (org-export-as-docbook): Run the new hook.
744         * org-ascii.el (org-export-ascii-final-hook): New hook.
745         (org-export-as-ascii): Run the new hook.
747         * org-mobile.el (org-mobile-create-sumo-agenda): Call
748         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
750         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
751         space character as the character before the ^/_.
752         (org-export-latex-final-hook): New hook.
753         (org-export-as-latex): Run `org-export-latex-final-hook'.
755 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
757         * org-macs.el (org-if-unprotected-at): Fix docstring.
759         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
760         text in the prefix (if category is a link).
762         * org-latex.el (org-export-latex-preprocess): Deal properly with
763         empty lines in verse environments.
765         * org.el (org-format-latex-header): Inline fullpage.sty.
767         * org-footnote.el (org-footnote-create-definition): Reveal context
768         to add a new footnote definition.
770         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
771         the index file.
772         (org-mobile-files): New option.
773         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
774         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
775         functions.
776         (org-mobile-push): Start by creating the files lists.
777         (org-mobile-copy-agenda-files): Move killing the buffer to after
778         the save-excursion has exited.
779         (org-mobile-write-checksums): Write checksums also for files in
780         sub-directories.
782         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
783         org-table-recalculate when cursor is in TBLFM line.
785         * org-list.el (org-renumber-ordered-list): Fix cursor position
786         when bullet length has changed.
788 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
790         * org.el (org-format-latex): Mention `org-format-latex-options' in
791         the docstring.
793 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
795         * org.el (org-agenda-get): New function.
797         * org-agenda.el (org-agenda-post-command-hook): No longer move
798         point away from end of line.
799         (org-agenda-add-entry-text, org-agenda-collect-markers)
800         (org-finalize-agenda, org-agenda-mark-clocking-task)
801         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
802         (org-agenda-entry-text-show, org-agenda-highlight-todo)
803         (org-agenda-compare-effort, org-agenda-filter-apply)
804         (org-agenda-later, org-agenda-change-time-span)
805         (org-agenda-post-command-hook, org-agenda-show-priority)
806         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
807         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
808         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
809         (org-agenda-open-link, org-agenda-copy-local-variable)
810         (org-agenda-switch-to, org-agenda-check-no-diary)
811         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
812         (org-agenda-add-note, org-agenda-change-all-lines)
813         (org-agenda-priority, org-agenda-set-tags)
814         (org-agenda-set-property, org-agenda-set-effort)
815         (org-agenda-toggle-archive-tag, org-agenda-date-later)
816         (org-agenda-show-new-time, org-agenda-date-prompt)
817         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
818         (org-agenda-clock-in, org-agenda-bulk-mark)
819         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
820         `org-get-at-bol'.
822         * org-colview.el (org-columns-display-here)
823         (org-columns-edit-allowed, org-agenda-columns): Use
824         `org-get-at-bol'.
826 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
828         * org.el (org-special-ctrl-a/e): Improve documentation and
829         customize type.
830         (org-end-of-line): Don't jump to after the ellipsis.
831         (org-mode-map): Bind <home> and <end> as well.
833 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
835         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
836         space after #+ as comments.
837         (org-open-at-point): Run `org-follow-link-hook' always.
839         * org-latex.el (org-export-latex-emph-format): Use better commands
840         to insert special characters in verbatim snippets.
842 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
844         * org-faces.el (org-copy-face): New function.  Use it to create
845         various faces formerly created by using `copy-face'.
847         * org-agenda.el (org-prepare-agenda): Don't officially mark this
848         window dedicated.
849         (org-agenda-quit): Kill the frame containing the agenda window if
850         that frame was created for the agenda.
852 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
854         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
855         stamp in the agenda.
857 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
859         * org-mobile.el (org-mobile-create-index-file): Add the list of
860         TODO keywords, and the list of drawers to the index file.
862         * org-agenda.el (org-prepare-agenda): Reset
863         `org-drawers-for-agenda'.
864         (org-prepare-agenda): Uniquify list of drawers.
866         * org.el (org-complex-heading-regexp-format): New variable.
867         (org-set-regexps-and-options): Define
868         `org-complex-heading-regexp-format'.
869         (org-drawers-for-agenda): New variable.
870         (org-map-entries): Bind `org-drawers-for-agenda'.
871         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
873         * org-remember.el (org-go-to-remember-target)
874         (org-remember-handler): Use `org-complex-heading-regexp-format'.
876 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
878         * org-agenda.el (org-agenda-highlight-todo): Fix text property
879         problem.
881         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
882         the capture file, and make it non-configurable.
884         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
885         always with `invisible-ok'.
886         (org-store-link): No error when there is nothing to link to in the
887         agenda.
889         * org-list.el (org-update-checkbox-count): Insert changed cookie
890         before the old, to avoid problems with invisibility at the end of
891         the line.
892         (org-update-checkbox-count): Insert changed cookie before the old,
893         to avoid problems with invisibility at the end of the line.
895         * org.el (org-sort-entries-or-items): Include the final newline.
896         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
897         lines for fontification.
898         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
899         (org-prepare-dblock): Store the current indentation of the BEGIN
900         line.
901         (org-update-dblock): Apply the indentation of the begin line to
902         the rest of the block.
903         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
904         (org-startup-folded): New allowed value `showeverything'.
905         (org-startup-options): Add STARTUP keyword `showeverything'.
906         (org-set-startup-visibility): Respect value `showeverything' in
907         org-startup-folded.
909 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
911         * org.el (org-closest-date): Fix issue with past preference.
913         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
915         * org-archive.el (org-archive-set-tag)
916         (org-archive-subtree-default): New commands.
918         * org-mobile.el (org-mobile-create-index-file): Fix link to
919         capture file.
920         (org-mobile-copy-agenda-files): Create the capture file if it does
921         not exist.
923         * org-clock.el (org-clock-clocktable-default-properties): New
924         option.
925         (org-clock-report): Use
926         `org-clock-clocktable-default-properties'.
928 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
930         * org.el (org-iswitchb-completing-read): Fix typo.
932         * org-crypt.el: New file.
934         * org.el: Add an entry for org-crypt.
936 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
938         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
939         consistency.
940         (org-batch-store-agenda-views): New function.
941         (org-mobile-force-id-on-agenda-items): Mention variable.
942         (org-agenda-title-append): Define variable.
943         (org-write-agenda): New export to Org files.
944         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
945         (org-agenda): Allow to keep the restricted file list if a special
946         variable is bound to t.
947         (org-agenda): Define a special agenda view for working on flagged
948         entries.
949         (org-agenda-get-restriction-and-command): List the new agenda
950         view.
951         (org-agenda-show-the-flagging-note): New command.
952         (org-agenda-mode-map): New key `?' for looking at the flagging
953         note.
955         * org.el (org-autoload): Autoload org-mobile.el.
956         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
958         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
960 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
962         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
963         statements.
964         (org-table-get-remote-range): Match indented #+TBLNAME
965         statements.
967         * org.el (org-convert-to-odd-levels)
968         (org-convert-to-oddeven-levels): Work also correctly if the file
969         is in outline-mode.
971 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
973         * org.el (org-store-link): When in agenda buffer, link to
974         referenced entry.
975         (org-add-planning-info): Remove spaces at eol.
977         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
978         property.
980 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
982         * org-latex.el (org-export-latex-first-lines): Fix problem with
983         LaTeX export of first line and selected subtree.
985         * org.el (org-shifttab): Interpret arg differently when using only
986         odd levels.
988 2009-09-09  Bastien Guerry  <bzg@altern.org>
990         * org.el (org-check-agenda-file): Use a more explicit message
992 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
994         * org-exp.el (org-export-remove-special-table-lines): Don't remove
995         normal lines.
997 2009-09-08  Bastien Guerry  <bzg@altern.org>
999         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1000         prompt in the temporary window.
1002         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1003         prefix for marked entries in the agenda view.
1005 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1007         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1008         a way that prevents any trailing character from being displayed.
1010 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1012         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1013         menu.
1015         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1016         slow regexp match.
1018 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1020         * org-latex.el (org-export-latex-preprocess): Do not protect in
1021         the LaTeX header.
1023         * org-src.el (org-edit-src-save): Save window setup while saving.
1024         (org-edit-src-code): Use new buffer name construction scheme.
1026 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1028         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1029         variable.
1030         (org-agenda-entry-text-cleanup-hook): New hook.
1031         (org-agenda-get-some-entry-text): Remove matches of
1032         `org-agenda-entry-text-exclude-regexps' and run the hook
1033         `org-agenda-entry-text-cleanup-hook'.
1035         * org.el (org-offer-links-in-entry): New argument ZERO to
1036         implement a link with index zero.
1037         (org-cycle-show-empty-lines): Not keep empty line under header
1038         hidden.
1039         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1040         to nil for special completion.
1041         (org-store-link): Don't error before the first heading.
1043         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1044         `org-offer-links-in-entry'.
1046 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1048         * org-agenda.el (org-agenda-quit): Provide the window argument for
1049         `window-dedicated-p', Emacs 22 needs it.
1050         (org-format-agenda-item): If the category is a link, arrange for
1051         invisible text to replaced with spaces.
1052         (org-compile-prefix-format): Add the extra space.
1053         (org-prefix-category-length): New variable.
1055         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1056         references from TOC lines.
1058         * org.el (org-selected-window): New variable.
1060         * org-table.el (org-table-edit-formulas): Remember the selected
1061         window.
1062         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1063         that was originally selected.
1065         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1066         expansion of a macro for more macro definitions.
1068         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1069         invisibility overlay starts on the newline.
1071 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1073         * org-protocol.el (org-protocol-store-link)
1074         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1076         * org-compat.el (org-float-time): New function.
1078         * org.el (org-clock-update-time-maybe)
1079         (org-sort-entries-or-items, org-do-sort)
1080         (org-evaluate-time-range, org-time-string-to-seconds)
1081         (org-closed-in-range): Use `org-float-time'.
1083         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1084         (org-timer-seconds):  Use `org-float-time'.
1086         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1087         (org-clock-sum, org-dblock-write:clocktable)
1088         (org-clocktable-steps):  Use `org-float-time'.
1090         * org-agenda.el (org-agenda-last-marker-time)
1091         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1093         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1094         function.
1096         * org-exp.el (org-get-file-contents): Only protect lines that
1097         really need it.
1099         * org-html.el (require): Require cl for compilation.
1101         * org.el:  Avoid using `default-major-mode'.
1103         * org-plot.el (require): Require CL only at compile time.
1105         * org-exp.el (require): Require CL only at compile time.
1107         * org-agenda.el (org-agenda-quit): When the agenda window is
1108         dedicated, remove other windows before exiting, so that the frame
1109         really will be killed.
1111         * org-exp.el (org-export-handle-include-files): Reset START and
1112         END for each loop cycle.
1114 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1116         * org.el (org-eval-in-calendar): Use
1117         `org-select-frame-set-input-focus'.
1119         * org-compat.el (org-select-frame-set-input-focus): New function.
1121         * org.el (org-update-statistics-cookies): New function.
1122         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1124 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1126         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1127         after the local variables are set.
1129         * org-latex.el (org-export-latex-protect-amp): New function.
1130         (org-export-latex-links): Protect link ampersands in tables.
1132         * org-exp.el (org-export-select-backend-specific-text): Match in
1133         two steps, to avoid regexp problems.
1135         * org.el (org-offer-links-in-entry): Improve working with many and
1136         duplicate links.
1138         * org-agenda.el (org-agenda-show-1): Make more consistent with
1139         normal cycling.
1140         (org-agenda-cycle-show): Make more consistent with normal cycling.
1142         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1143         website.
1145 2009-08-30  Bastien Guerry  <bzg@altern.org>
1147         * org-latex.el (org-export-latex-first-lines): Bugfix.
1149 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
1151         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1152         about new effort.
1154         * org.el (org-set-effort): New function.
1155         (org-mode-map): New key for effort setting command.
1157         * org-agenda.el (org-agenda): Keep window setup when calling
1158         agenda from within agenda window.
1159         (org-agenda-mode-map): New keys for effort setting commands.
1160         (org-agenda-menu): Add effort setting commands to menu.
1161         (org-agenda-set-property, org-agenda-set-effort): New functions.
1163         * org-latex.el (org-export-latex-tables): Fix
1164         `org-table-last-alignment' and `org-table-last-column-widths' if
1165         the first column has been removed.
1167 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
1169         * org.el (org-remove-timestamp-with-keyword): Only remove in
1170         entry, not in subtree.
1172         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1173         emacs lisp.
1175         * org.el (org-open-at-point): When on headline, offer all strings
1176         in entry.
1178         * org-remember.el (org-remember-templates): Documentation fix.
1180         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1181         `org-get-last-sibling' instead of the outline versions of these
1182         functions.
1183         (org-get-last-sibling): New function.
1184         (org-refile): Use `org-get-next-sibling' instead of the outline
1185         version of this function.
1186         (org-clean-visibility-after-subtree-move): Use
1187         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1188         outline versions of these functions.
1190 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
1192         * org-agenda.el (org-prepare-agenda): When creating a new frame
1193         for the agenda, make the window dedicated.
1195         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1197         * org-table.el (org-table-align): Change the order of reinsertion
1198         and deletion, to avoid problems with overlays following the table.
1200         * org.el (org-parse-time-string): Better error message.
1201         (org-show-subtree): Use org-end-of-subtree.
1203         * org-macs.el (org-goto-line): New defsubst.
1205         * org.el (org-open-file, org-change-tag-in-region)
1206         (org-fast-tag-show-exit): Don't use `goto-line'.
1208         * org-table.el (org-table-align, org-table-insert-column)
1209         (org-table-delete-column, org-table-move-column)
1210         (org-table-sort-lines, org-table-copy-region)
1211         (org-table-paste-rectangle, org-table-wrap-region)
1212         (org-table-get-specials, org-table-rotate-recalc-marks)
1213         (org-table-get-range, org-table-recalculate)
1214         (org-table-edit-formulas, org-table-fedit-convert-buffer)
1215         (org-table-show-reference, org-table-highlight-rectangle): Don't
1216         use `goto-line'.
1218         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1219         (org-edit-src-exit): Don't use `goto-line'.
1221         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1223         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1224         Don't use `goto-line'.
1226         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1228         * org-colview.el (org-columns, org-columns-redo)
1229         (org-agenda-columns): Don't use `goto-line'.
1231         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1232         use `goto-line'.
1234         * org-agenda.el (org-agenda-mode): Force visual line motion off.
1235         (org-agenda-add-entry-text-maxlines): Improve docstring.
1236         (org-agenda-start-with-entry-text-mode): New option.
1237         (org-agenda-entry-text-maxlines): New option.
1238         (org-agenda-entry-text-mode): New variable.
1239         (org-agenda-mode): Set initial value of
1240         `org-agenda-entry-text-mode'.
1241         (org-agenda-mode-map): Add the `E' key.
1242         (org-agenda-menu): Add entry text mode to the menu.
1243         (org-agenda-get-some-entry-text): Fix line count bug.
1244         (org-finalize-agenda): Apply entry text mode if appropriate.
1245         (org-agenda-entry-text-show-here): New function.
1246         (org-agenda-entry-text-show): New function.
1247         (org-agenda-entry-text-hide): New function.
1248         (org-agenda-view-mode-dispatch): Add entry text mode to the view
1249         key menu.
1250         (org-agenda-entry-text-mode): New command.
1251         (org-agenda-set-mode-name): Add entry text mode to the mode line
1252         string.
1253         (org-agenda-undo, org-agenda-get-restriction-and-command)
1254         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1255         `goto-line'.
1257 2009-08-26  Bernt Hansen  <bernt@norang.ca>
1259         * org-clock.el (org-notify): Bugfix.
1261 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
1263         * org-agenda.el (org-agenda-open-link): Handle multiple links and
1264         check for after-string.
1266         * org-gnus.el (org-gnus-store-link): Simplify.
1268         * org.el (org-latex-regexps): Don't add extra empty lines for
1269         display formulas.
1271 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
1273         * org-agenda.el (org-agenda-get-some-entry-text): New function.
1274         (org-agenda-add-entry-text): Use
1275         `org-agenda-get-some-entry-text'.
1277         * org.el (org-cycle-separator-lines): Update docstring.
1278         (org-cycle-show-empty-lines): Handle negative values for
1279         `org-cycle-show-empty-lines'.
1281         * org-exp.el (org-export-protect-sub-super): New function.
1282         (org-export-normalize-links): Protect the url of plain links from
1283         supscript and superscript processing.
1285         * org-remember.el (org-remember-escaped-%): New function.
1286         (org-remember-apply-template): Use `org-remember-escaped-%' to
1287         detect escaped % signs.
1289 2009-08-23  Bastien Guerry  <bzg@altern.org>
1291         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1292         sound when showing the notification.
1294         * org-clock.el (org-notify): New function.
1295         (org-clock-notify-once-if-expired): Use `org-notify'.
1297         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1298         and `gnus-article-mode' separately.
1299         (gnus-summary-article-header): Fix the declare-function.
1301 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
1303         * org-exp.el (org-export-format-source-code-or-example): Translate
1304         language.
1306         * org-src.el (org-src-lang-modes): New variable
1307         (org-edit-src-code): Translate language.
1309         * org-exp.el (org-export-format-source-code-or-example): Deal wit
1310         the new structure of the `org-export-latex-listings-langs'
1311         variable.
1313         * org-latex.el (org-export-latex-listings-langs): Change structure
1314         of the variable from plist to alist.
1316 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
1318         * org.el (org-in-commented-line): New function.
1320 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
1322         * org.el (org-hide-block-toggle): Make folded blocks searchable.
1324 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
1326         * org.el (org-flag-drawer): More useful error.
1328 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
1330         * org-remember.el (org-remember-apply-template): Use
1331         org-icompleting-read.
1333         * org-publish.el (org-publish): Use org-icompleting-read.
1335         * org-colview.el (org-columns-edit-value, org-columns-new)
1336         (org-insert-columns-dblock): Use org-icompleting-read.
1338         * org-colview-xemacs.el (org-columns-edit-value)
1339         (org-columns-new, org-insert-columns-dblock): Use
1340         org-icompleting-read.
1342         * org-attach.el (org-attach-delete-one, org-attach-open): Use
1343         org-icompleting-read.
1345 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
1347         * org.el (org-hierarchical-todo-statistics): Improve docstring.
1348         (org-version): Return the version text.
1349         (org-org-menu): Add a menu entry for the new bug reporter.
1350         (org-submit-bug-report): New command.
1352         * org-list.el (org-hierarchical-checkbox-statistics): Improve
1353         docstring.
1355         * org.el (org-emphasis-regexp-components): Add "`" to set of
1356         pre-emphasis characters.
1358         * org-latex.el (org-export-latex-classes): Always include the soul
1359         package.
1360         (org-export-latex-emphasis-alist): Use \st for strikethough.
1362         * org-exp-blocks.el (org-export-blocks-preprocess): Use
1363         `indent-code-rigidly' to indent.
1365         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1366         properties only if MATCH really is a string.
1368 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
1370         * org-latex.el (org-export-latex-packages-alist): Fix
1371         customization type.
1373         * org.el (org-create-formula-image): Also use
1374         `org-export-latex-packages-alist'.
1376         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1377         (org-export-as-html): Format footnotes correctly.
1379 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
1381         * org.el (org-fast-tag-selection): Avoid text properties on tags
1382         in the alist.
1384         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1385         text properties on the match element.
1387 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
1389         * org.el (org-set-regexps-and-options): Make sure the list of done
1390         keywords is not invalid.
1392         * org-exp.el (org-export-interpolate-newlines): New function.
1394 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
1396         * org.el (org-format-latex): Avoid nested overlays.
1398         * org-latex.el (org-export-latex-listings-langs): Add a few more
1399         languages.
1401         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1402         ignore newlines and space before the first macro argument.
1404         * org-latex.el (org-export-latex-tables): Remove save-excursion
1405         around `org-table-align'.
1407 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
1409         * org.el (org-export-html-special-string-regexps): Definition
1410         moved into org.el
1412         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1413         in macro calls.
1415 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
1417         * org-latex.el (org-export-latex-listings)
1418         (org-export-latex-listings-langs): New options.
1420         * org-exp.el (org-export-format-source-code-or-example): Use
1421         listing package if requested by the user.
1423 2009-08-08  Bastien Guerry  <bzg@altern.org>
1425         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1426         command before actually switching to a buffer.
1428 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
1430         * org-exp.el (org-get-file-contents): Only quote org lines when
1431         the markup is src or example.
1433         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1434         New option
1435         (org-agenda-get-day-entries): Remember deadline results and pass
1436         them on into the function getting the scheduling information.
1437         (org-agenda-get-scheduled): Accept deadline results as parameters
1438         and maybe skip some entries.
1439         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1441         * org.el (org-insert-heading): When respecting content, do not
1442         convert current line to headline.
1444         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1445         cheeeeeck the hd marker
1446         (org-clock-in): Also set the hd marker.
1447         (org-clock-out): Also set the hd marker.
1448         (org-clock-cancel): Reset markers.
1450         * org.el (org-clock-hd-marker): New marker.
1452         * org-faces.el (org-agenda-clocking): New face.
1454         * org-agenda.el (org-agenda-mark-clocking-task): New function.
1455         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1457         * org.el (org-modules): Add org-track.el.
1459         * org-agenda.el (org-agenda-bulk-marked-p): New function.
1460         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1461         `org-agenda-bulk-marked-p'.
1462         (org-agenda-bulk-toggle): New command.
1464 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1466         * org.el (org-move-subtree-down): Hide subtree if it was folded,
1467         not just the body.
1469         * org-remember.el (org-remember-finalize): Avoid buffer-modified
1470         messages.
1472 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
1474         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
1475         before gnuplot can read it.
1477 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
1479         * org-latex.el (org-export-latex-first-lines): Fix bug with
1480         finding the end of the first lines.
1482         * org.el (org-create-formula-image): Remove the -E option for
1483         dvipng.
1485         * org-exp.el (org-default-export-plist): Respect #+BIND.
1486         (org-export-confirm-letbind): New function.
1488         * org.el (org-paste-subtree): Test the kill ring entry if it is
1489         going to be used.
1490         (org-copy-subtree): Use `org-forward-same-level'.
1491         (org-forward-same-level): Respect the `invisibe-ok' arg for
1492         back-to-heading.
1494 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
1496         * org.el (org-table-map-tables): Make sure cursor is back at table
1497         beginning after funcall.
1499         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1500         handled before children, and do not error if an entry is not
1501         found, probably because it hase been remove when the parent was
1502         archived or refiled.
1504         * org.el (org-ido-completing-read): Accept straight lists for
1505         completion as well as alists.
1507         * org-html.el (org-export-as-html): Fix parenthesis error in
1508         footnore code.
1510         * org-timer.el (org-timer-cancel-timers): Renamed from
1511         `org-timer-cancel-timers'.
1513         * org.el (org-cycle-internal-local): Fix problem with finding next
1514         invisible line.
1516 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
1518         * org-list.el (org-list-send-list): Call
1519         `org-list-goto-true-beginning' instead of
1520         `org-list-find-true-beginning', which does not exist.
1522         * org-timer.el (org-timer-reset-timers): Use `mapc'.
1523         (org-timer-set-timer): Do not assign to heading.
1525         * org-id.el (org-id-open): Quote function name.
1527         * org-macs.el (org-unmodified): Turn off recording undo
1528         information while running inside the macro.
1530         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
1531         variable.
1532         (org-indent-mode): Remember and restore value of
1533         org-hide-leading-stars before `org-indent-mode'.
1535         * org-table.el (org-table-export): Also work in file-less
1536         buffers.
1538         * org.el (org-startup-indented): New option.
1539         (org-startup-options): Add new options indent and noindent.
1540         (org-unfontify-region): Remove line-prefix and wrap-prefix
1541         properties.
1542         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
1543         hooks.
1544         (org-promote, org-demote): Run the new hooks.
1546         * org-table.el (org-table-align): Replace leading \n as well.
1548         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
1549         and `line-wrap' text properties.
1551         * org-compat.el (org-kill-new): New function.
1553         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
1554         `line-wrap' text properties.
1556         * org-indent.el: New file.
1558 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
1560         * org.el (org-provide-todo-statistics): Tweak docstring.
1562         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
1564 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
1566         * org-exp.el (org-export-as-org): Insert the "-source" string
1567         before the extension.
1569         * org.el (org-read-date): Make sure the calendar is in the current
1570         frame.
1571         (org-set-emph-re): Remove the ? from the post-match.
1572         (org-emphasis-regexp-components): Add backslash to the
1573         postmatch class.
1574         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
1575         optional so that also lines at the end of the buffers will still
1576         be matched as headlines.
1578         * org-table.el (org-table-error-on-row-ref-crossing-hline):
1579         Variable made obsolete.
1580         (org-table-relative-ref-may-cross-hline): New option.
1581         (org-table-find-row-type): Honow the new option
1582         `org-table-relative-ref-may-cross-hline'.
1584 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
1586         * org-table.el (org-table-cut-region, org-table-copy-region): Work
1587         on single field if no active region.
1589 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
1591         * org-latex.el (org-export-latex-make-header): Only insert title
1592         if one is defined.
1594         * org.el (org-make-options-regexp): Allow empty values.
1596         * org-html.el (org-export-as-html): Move hrule detection to after
1597         plain list handling.
1599 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
1601         * org-html.el (org-format-org-table-html): Fix colgroup tags.
1603 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
1605         * org.el (org-cycle-internal-local): Improved version of finding
1606         next visible line.
1607         (org-cycle-hide-drawers): Only hide drawers if this is really
1608         necessary.
1609         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
1610         org-version of this function in Org-mode.  We use advice to
1611         implement this change, so that future changes to this function in
1612         outline.el wil be handled properly.
1613         (org-forward-same-level, org-backward-same-level): New commands.
1615 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
1617         * org.el (org-remove-empty-overlays-at)
1618         (org-clean-visibility-after-subtree-move): New functons.
1619         (org-move-subtree-down): Simplify cleanup of display.
1621 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
1623         * org-mac-message.el (org-mac-message-get-links): Improve
1624         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
1625         "s".  Fix the return value.
1626         (org-mac-message-insert-flagged): Simplify.
1628         * org.el (org-refile-get-location): Tamper with refile history o
1629         that history contains compete matches instead of the entered
1630         string.
1632 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
1634         * org.el (org-store-link): Never store a link to an inline task.
1636         * org-inlinetask.el (org-inlinetask-insert-task): New command.
1638         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
1639         inline tasks when positioning footnotes.
1641         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
1642         function.
1644         * org.el (org-refile): Remove the END line when archiving an
1645         inline task that does have an END line.
1647         * org-archive.el (org-archive-subtree): Remove the END line when
1648         archiving an inline task that does have an END line.
1650         * org-macs.el (org-with-limited-levels): New macro.
1651         (org-get-limited-outline-regexp): New function.
1653         * org-exp.el (org-export-format-source-code-or-example): Fix bug
1654         that did not enumerate first line.
1655         (org-export-mark-radio-links): Skip matches in links.
1657 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
1659         * org.el (org-activate-plain-links): Make single-match.
1660         (org-adapt-indentation): Fix docstring.
1662         * org-macs.el (org-unmodified): Turn of modification hooks while
1663         running this macro.
1665 2009-08-02  Bastien Guerry  <bzg@altern.org>
1667         * org.el (org-adapt-indentation): Slightly improve the docstring.
1668         (org-occur): Sends an error when the user inputs an empty string.
1669         (org-priority): Bugfix: the tag alignement should happen within
1670         save-excursion.
1672 2009-07-31  Bastien Guerry  <bzg@altern.org>
1674         * org.el (org-make-link-regexps): Don't exclude parentheses from
1675         `org-plain-link-re'
1676         (org-cycle-internal-local): When locally cycling, switch directly
1677         from CHILDREN to FOLDED if there is no subtree
1678         (org-cycle): Update the docstring to document the new behavior of
1679         `org-cycle-internal-local'.
1681 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
1683         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
1684         an abbreviated format for days.
1686 2009-07-27  Bastien Guerry  <bzg@altern.org>
1688         * org-protocol.el (org-protocol-default-template-key): New
1689         option.
1691         * org.el (org-refile): Bugfix: save-excursion before reading the
1692         refile target, otherwise cursor moves might confuse `org-refile'.
1694         * org-html.el (org-export-as-html): Bugfix: correctly convert the
1695         footnote reference before the footnote itself.
1697         * org.el (org-toggle-heading): Bugfix: correctly convert list
1698         items before the first headline.
1700         * org-html.el (org-export-html-footnote-format): New option for
1701         formatting the footnote reference.
1702         (org-export-as-html): Use the new option.
1704         * org.el (org-provide-todo-statistics): Allow a list of TODO
1705         keywords to compute statistics against headlines containing a
1706         keyword from this list.
1707         (org-update-parent-todo-statistics): Possibly use the new allowed
1708         value of `org-provide-todo-statistics'.
1710 2009-07-26  Bastien Guerry  <bzg@altern.org>
1712         * org-timer.el: Add autoload cookie.
1714         * org.el (org-occur-link-in-agenda-files): New function.
1716         * org-timer.el (org-timer-last-timer): New variable.
1718         * org-agenda.el (org-agenda-mode-map): New key for
1719         org-timer-set-timer called from the agenda.
1721         * org.el (org-mode-map): New key for org-timer-set-timer.
1723         * org-timer.el (org-timer-reset-timers)
1724         (org-timer-show-remaining-time, org-timer-set-timer): New
1725         functions.
1727         * org-clock.el (org-show-notification): Update the docstring.
1729         * org.el (org-provide-todo-statistics): Allow new value
1730         'all-headlines for this option, which includes entries with no
1731         TODO keywords in the todo statistics.
1732         (org-update-parent-todo-statistics): Possibly use the new
1733         'all-headline value from `org-provide-todo-statistics'.
1735 2009-07-25  Bastien Guerry  <bzg@altern.org>
1737         * org-clock.el (org-dblock-write:clocktable): Add a new option
1738         :timestamp which allows display of timestamps in clock reports.
1740         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
1741         list to a subtree, preserving the structure of the list.
1742         (org-set-emph-re): Make the last element optional in the regexp.
1743         This regexp now matches an emphasized string at the end of a line.
1745         * org-list.el (org-list-goto-true-beginning)
1746         (org-list-make-subtree, org-list-make-subtrees): New functions.
1748         * org.el (org-eval-in-calendar): Select the right frame.
1749         (org-save-frame-excursion): Remove this macro.
1751 2009-07-24  Bastien Guerry  <bzg@altern.org>
1753         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
1754         trying to find the beginning of a list.
1756         * org-exp.el (org-get-file-contents): Use a new argument: markup.
1757         When present, tell org-get-file-contents not to protect org-like
1758         lines.
1760         * org-id.el (org-id-uuid-program): New option to set the name of
1761         the uuidgen program.
1762         (org-id-method): Use `org-id-uuid-program'.
1763         (org-id-new): Use `org-id-uuid-program'.
1765 2009-07-23  Bastien Guerry  <bzg@altern.org>
1767         * org-exp.el (org-export-number-lines): Allow whitespace in code
1768         references.  Allow the -r switch to remove the references in the
1769         source code even when the lines are not numbered: the labels can
1770         be explicit enough.
1772         * org.el (org-fontify-whole-heading-line): New option.
1773         (org-set-font-lock-defaults): Use the new option.
1775         * org-clock.el (org-show-notification-handler): New option.
1776         (org-show-notification): Use the new option.
1778 2009-07-21  Bastien Guerry  <bzg@altern.org>
1780         * org.el (org-eval-in-calendar): Fix a bug about calendar
1781         navigation when `calendar-setup' value is 'calendar-only.
1783 2009-07-19  Bastien Guerry  <bzg@altern.org>
1785         * org.el (orgstruct++-mode): Fix typo in docstring.
1786         (org-insert-link): Clean up: (or (...)) => (...)
1787         (org-insert-link): Use TAB for stored links completion.
1789 2009-07-18  Bastien Guerry  <bzg@altern.org>
1791         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
1792         building the list of targets.
1794         * org-remember.el (org-remember-delete-empty-lines-at-end): New
1795         option.
1796         (org-remember-handler): Use the new option.
1798 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
1800         * org.el (org-tags-sort-function): New option for sorting tags.
1801         (org-set-tags): Use the new option to sort tags.
1803         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
1804         premature deletion of the data when using org-plot in a script.
1806 2009-07-17  Bastien Guerry  <bzg@altern.org>
1808         * org-clock.el (org-clock-in-prepare-hook): New hook.
1809         (org-clock-in): Use this new hook.
1811 2009-07-16  Bastien Guerry  <bzg@altern.org>
1813         * org.el (org-special-ctrl-a/e): Explicitely bind the value
1814         'reversed for this option to the "true line boundary first"
1815         behavior.
1816         (org-tags-match-list-sublevels): Document the 'indented value for
1817         this variable.
1819         * org-latex.el (org-export-latex-first-lines): Fix problem with
1820         publishing the region.
1822         * org-exp.el (org-export-format-source-code-or-example): Fix
1823         bad line numbering when exporting examples in HTML.
1825         * org-colview.el (org-format-time-period): Formats a time in
1826         fractional days as days, hours, mins, seconds.
1827         (org-columns-display-here): Add special handling for SINCE and
1828         SINCE_IA to format for display.
1830 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
1832         * org.el (org-tags-sort-function): Add custom declaration for tags
1833         sorting function.
1834         (org-set-tags): Sort tags if org-tags-sort-function is set
1836 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
1838         * org-clock.el (org-clock-goto): Find hidden headlines as well.
1840         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
1842         * org-plot.el (org-plot/add-options-to-plist): Add timeind
1843         option.
1845 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
1847         * org-publish.el (org-publish-remove-all-timestamps): New function.
1848         (org-publish-all): Remove all timestamp files if `org-publish-all'
1849         is called with a prefix argument.
1851         * org-list.el (org-indent-item): Fix typo.
1852         (org-item-indent-positions): Normalize ordered bullet.
1854         * org-html.el (org-export-html-home/up-format): New option.
1855         (org-export-as-html): Insert the up and HOME links.
1857 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
1859         * org-html.el (org-export-as-html): Insert the title into the
1860         option plist.
1861         (org-export-html-insert-plist-item): New function.
1862         (org-export-as-html): Call `org-export-html-insert-plist-item'.
1864         * org-macs.el (org-set-local): Make a local variable, do not make
1865         the variable buffer-local!
1867         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
1869         * org-html.el (org-export-as-html): Call `org-install-letbind'.
1871         * org-docbook.el (org-export-as-docbook): Call
1872         `org-install-letbind'.
1874         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
1876         * org-exp.el (org-infile-export-plist): Read BIND lines.
1877         (org-install-letbind): New function.
1878         (org-export-as-org, org-export-preprocess-string): Call
1879         `org-install-letbind'.
1881         * org-src.el (org-edit-src-exit): Untabify the example before
1882         returning to Org.
1884         * org-list.el (org-list-demote-modify-bullet): New option.
1885         (org-first-list-item-p): Save point.
1886         (org-fix-bullet-type): New optional argument FORCE-BULLET.
1887         (org-indent-item): Honor `org-list-demote-modify-bullet'.
1888         (org-item-indent-positions): Return bullet types along with
1889         indentation.
1891 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
1893         * org.el (org-show-entry): Hide drawers.
1895 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
1897         * org-footnote.el (org-footnote-auto-adjust): New option.
1898         (org-footnote-auto-adjust-maybe): New function.
1899         (org-footnote-new, org-footnote-delete): Call
1900         `org-footnote-auto-adjust-maybe'.
1902         * org.el (org-startup-options): Add new footnote-related
1903         keywords.
1905         * org-publish.el (org-publish-timestamp-filename): Additional
1906         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
1907         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
1908         TRUE-PUB-DIR.  Pass them through to
1909         `org-publish-timestamp-filename'.
1910         (org-publish-update-timestamp): Additional arguments PUB-DIR and
1911         PUB-FUNC, which are included in the hash.
1912         (org-publish-file): Delay timestamp test until the publishing
1913         function is known.
1915 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
1917         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
1918         setting the deadline.
1920         * org.el (org-read-date-final-answer): New variable.
1921         (org-read-date): Store the final answer string, including the date
1922         from the calendar, for reuse by agenda bulk commands.
1924         * org-publish.el (org-publish-attachment): Fix publishing of
1925         attachments.
1927         * org-latex.el (org-export-latex-quotation-marks): Fix export of
1928         quotation makrs in parenthesis.
1929         (org-remove-initial-hash): New function.
1930         (org-export-latex-preprocess): Fix bug with infinite loop if
1931         environment is not properly closed.
1933         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
1934         when indented.
1936         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
1937         highlight also when indented.
1939 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
1941         * org-footnote.el (org-footnote-renumber-fn:N): New command.
1942         (org-footnote-action): Offer renumbering.
1944         * org.el (org-cycle): Honor the `integrate' value of
1945         org-cycle-include-plain-lists'.
1947         * org-list.el (org-cycle-include-plain-lists): New allowed value
1948         `internal'.  Improve the docstring.
1950         * org.el (org-set-autofill-regexps): Improve the paragraph-start
1951         regexp to work better with LaTeX commands.
1953 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
1955         * org-feed.el (org-feed-update): fix problem with non-existing
1956         buffer.
1957         (org-feed-skip-http-headers): New function.
1958         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
1959         (org-feed-get-feed): Fix command line arguments for curl.
1961 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
1963         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
1964         and eps extensions.
1966 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
1968         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
1969         loaded.
1971         * org.el (org-map-entries): No longer force
1972         `org-tags-match-list-sublevels' to t during a todo-only tags
1973         search.
1975 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
1977         * org-latex.el (org-export-latex-low-levels): Allow user-defined
1978         environment.
1979         (org-export-latex-subcontent): Handle user-defined environment.
1981         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
1982         the View dispatcher.
1984         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
1985         `make-overlay'.
1987         * org-latex.el (org-export-as-pdf): Protect match data during call
1988         to shell-quote-argument.
1990         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
1991         (org-agenda-view-mode-dispatch): New function.
1993 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
1995         * org-agenda.el (org-agenda-mode): Reset list of marks.
1996         (org-agenda-mode-map): Define new keys for refile and bulk action.
1997         (org-agenda-menu): Add menu itesm for refile and bulk action.
1998         (org-agenda-refile): New function.
1999         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2000         (org-agenda-marked-entries): New variable.
2001         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2002         (org-agenda-remove-all-bulk-action-marks)
2003         (org-agenda-bulk-action): New functions/commands.
2005 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2007         * org-exp.el (org-get-file-contents): Protect org-like lines in
2008         included files.
2009         (org-export-format-source-code-or-example): Remove newlines.
2011         * org-latex.el (org-export-latex-links): Check for no-description
2012         marking.
2014         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2015         argument separator back to comma.
2016         (org-export-normalize-links): Mark links without description.
2018 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2020         * org-exp.el (org-infile-export-plist): Fix bug in macro
2021         processing.
2023         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2024         out.
2025         (org-agenda-highlight-todo): Fix bug with highlighting.
2027 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2029         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2030         new alignment strings.
2032         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2033         command list.
2034         (org-table-align): Check for forced align type.
2036         * org.el (org-self-insert-command): Add yas/expand to command
2037         list.
2039         * org-clock.el (org-clock-in-hook): New hook.
2040         (org-clock-in): Run `org-clock-in-hook.
2041         (org-clock-out-hook): New hook.
2042         (org-clock-out): Run `org-clock-out-hook.
2043         (org-clock-cancel-hook): New hook.
2044         (org-clock-cancel): Run `org-clock-cancel-hook.
2045         (org-clock-goto-hook): New hook.
2046         (org-clock-goto): Run `org-clock-goto-hook.
2048 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2050         * org.el (org-store-link): Better default description for link to
2051         Org-mode headline.
2053         * org-exp.el (org-export-generic): Autoload the generic exporter
2054         function.
2055         (org-export): Implement the `g' key for the generic exporter.
2057 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2059         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2060         and for zbacktab'.
2062         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2064         * org-exp.el (org-infile-export-plist): Get macros also from
2065         #+SETUPFILE.
2067 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2069         * org-colview.el (org-columns-capture-view): Protect vertical bars
2070         in column values.
2071         (org-columns-capture-view): Exclude comment and archived trees.
2073         * org-colview-xemacs.el (org-columns-capture-view): Protect
2074         vertical bars in column values.
2075         (org-columns-capture-view): Exclude comment and archived trees.
2077         * org.el (org-quote-vert): New function.
2079         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2081         * org-exp.el (org-export-format-source-code-or-example): Use
2082         `org-export-latex-verbatim-wrap'.
2084         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2085         time stamps.
2087         * org-html.el (org-export-table-row-tags): New option.
2088         (org-format-org-table-html): Rename `nlines' to `nline', use new
2089         option.
2092 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2094         * org-exp-blocks.el: Declare functions and variables.
2096         * org-remember.el (org-remember-templates): Allow the headline
2097         element to be a function.
2098         (org-remember-apply-template): If the headline is a function, call
2099         it to get the true function.
2101         * org-clock.el (org-clock-menu): New function.
2102         (org-clock-update-mode-line): Update help string.
2103         (org-clock-modify-effort-estimate): New function.
2104         (org-clock-mark-default-task): New function.
2106         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2107         minutes as input.
2108         (org-org-menu): Add new clocking stuff.
2109         (org-clock-is-active): New function.
2111 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2113         * org.el (org-open-non-existing-files): Improve docstring.
2115 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2117         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2118         option.
2119         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2121         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2123         * org-list.el (org-get-checkbox-statistics-face): Use the new
2124         faces.
2126         * org-faces.el (org-checkbox-statistics-todo)
2127         (org-checkbox-statistics-done): New faces.
2129 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
2131         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2132         (org-edit-src-exit): Better cursor positioning when returning from
2133         editing.
2135         * org-latex.el (org-export-latex-use-verb): New variable.
2136         (org-export-latex-emph-format): Prefer \texttt over \verb when
2137         org-export-latex-use-verb is set.
2139 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
2141         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2142         at normal indentation.
2144         * org-html.el (org-export-html-close-lists-maybe): Also look at
2145         normal indentation.
2147         * org-remember.el (org-remember-handler): Abort remember if the
2148         buffer is empty.
2150         * org-src.el (org-edit-src-content-indentation): New option.
2151         (org-edit-src-exit): Apply extra indentation.
2153         * org-exp.el (org-export-format-source-code-or-example): Run
2154         `org-src-mode-hook'.
2156         * org-src.el (org-src-mode-hook): New variable.
2157         (org-edit-src-code): Run `org-src-mode-hook'.
2159 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2161         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2163         * org-src.el (org-edit-src-get-indentation): New function.
2164         (org-edit-src-code): Base indentation on the begin line.
2166 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
2168         * org-gnus.el (org-gnus-store-link): Require message.el in
2169         org-gnus-store-link.
2171 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2173         * org-src.el: New file, split out of org.el
2175         * org-docbook.el (org-export-as-docbook): Better indentation
2176         treatment.
2178         * org-macs.el (org-replace-match-keep-properties): New function.
2180         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2181         preprocessing of center and quote and verse blocks.
2183         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2184         (org-export-as-docbook): Close lists when original indentation
2185         mandates it.
2187         * org-html.el (org-export-html-close-lists-maybe): New function.
2188         (org-export-as-html): Close lists when original indentation
2189         mandates it.
2191         * org-list.el (org-list-end): Respect the stored "original"
2192         indentation when determining the end of the list.
2194         * org-exp.el (org-export-replace-src-segments-and-examples):
2195         Remember indentation correctly.
2197 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
2199         * org-clock.el (org-clock-update-mode-line): Apply face
2200         org-mode-line-clock.
2202         * org-faces.el (org-mode-line-clock): New face.
2204 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
2206         * org-gnus.el (org-gnus-store-link): Fix bug where
2207         `org-gnus-store-link' used wrong subject when called in an article
2208         buffer.  Patch provided by fengli AT gmail DOT com.
2210 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
2212         * org-exp.el (org-export-format-source-code-or-example): Remember
2213         the original indentation of source code snippets and examples.
2215         * org-latex.el (org-export-as-latex): Relocate the table of
2216         contents.
2218         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2220         * org-agenda.el (org-run-agenda-series): Scope global options also
2221         when creating the agenda buffer.
2223 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
2225         * org.el (org-adapt-indentation): Improve documentation.
2226         (org-insert-property-drawer): Respect org-adapt-indentation when
2227         inserting the drawer.
2228         (org-remove-flyspell-overlays-in): New function.
2229         (org-do-emphasis-faces, org-activate-plain-links)
2230         (org-activate-code, org-fontify-meta-lines-and-blocks)
2231         (org-activate-angle-links, org-activate-footnote-links)
2232         (org-activate-bracket-links, org-activate-dates)
2233         (org-activate-target-links, org-activate-tags): Remove flyspell
2234         overlays.
2236 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
2238         * org.el (org-edit-src-save): New function.
2240         * org-clock.el (org-clock-out-switch-to-state): New option.
2241         (org-clock-out): Honor `org-clock-out-switch-to-state'.
2243         * org-compat.el (org-compatible-face): Improve macro.
2245         * org.el (org-global-properties-fixed): Add default for
2246         CLOCK_MODELINE_TOTAL.
2248         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2249         andd tend.
2250         (org-clock-sum-current-item): Optional argument TSTART, pass it to
2251         org-clock-sum.
2252         (org-clock-get-sum-start): New function.
2254         * org.el (org-startup-options): New keywords blockhide and
2255         blockshow.
2256         (org-mode): Add new invisibility spec.
2257         (org-set-startup-visibility): Hide block on startup if so
2258         desired.
2259         (org-hide-block-startup): New option.
2260         (org-block-regexp): New constant.
2261         (org-hide-block-overlays): New variable.
2262         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2263         (org-show-block-all, org-hide-block-toggle-maybe)
2264         (org-hide-block-toggle): New functions.
2265         (org-edit-src-exit): Do not quote lines starting with # and no +
2266         behind it.
2267         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2268         entry.
2270 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
2272         * org.el (org-buffer-property-keys): Add Effort property for
2273         completion.
2275 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
2277         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2278         when retrieving total clocked time in the subtree.
2280         * org.el (org-quoting-blocks): New variable.
2282 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2284         * org-table.el (org-table-store-formulas)
2285         (org-table-get-stored-formulas, org-table-fix-formulas)
2286         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2287         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2289         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2290         indented #+TBLFM line.
2292         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2293         indented #+TBLFM line.
2295         * org-colview.el (org-dblock-write:columnview): Allow indented
2296         #+TBLFM line.
2298         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2299         indented #+TBLFM line.
2301         * org-clock.el (org-dblock-write:clocktable): Allow indented
2302         #+TBLFM line.
2304 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
2306         * org-exp.el (org-export-format-source-code-or-example): Make
2307         editing indented blocks work correctly.
2309         * org.el (org-edit-src-nindent): New variable.
2310         (org-edit-src-code, org-edit-fixed-width-region)
2311         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2312         editing indented blocks work correctly.
2314 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
2316         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2317         indented blocks.
2318         (org-export-format-source-code-or-example): Fix indentation of
2319         blocks.
2320         (org-export-remove-indentation): New function.
2321         (org-export-select-backend-specific-text): Allow backend-specific
2322         code to be indented.
2323         (org-export-mark-blockquote-verse-center): Allow markers to be
2324         indented.
2326         * org.el (org-fontify-meta-lines): New function.
2327         (org-set-font-lock-defaults): Call the new fontification
2328         function.
2330         * org-faces.el (org-meta-line): New face
2331         (org-block):  New face.
2333 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2335         * org.el (org-treat-insert-todo-heading-as-state-change)
2336         (org-treat-S-cursor-todo-selection-as-state-change): New
2337         variables.
2338         (org-insert-todo-heading): Honor
2339         `org-treat-insert-todo-heading-as-state-change'.
2340         (org-shiftright, org-shiftleft): Honor
2341         `org-treat-S-cursor-todo-selection-as-state-change'.
2342         (org-inhibit-logging): New variable.
2344 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
2346         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2347         range for marker position checking.
2349         * org-latex.el (org-export-latex-first-lines): Fix bug when
2350         exporting a region.
2352 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
2354         * org-exp.el (org-export-push-to-kill-ring): Protect using
2355         x-set-selection, because that does not always work.
2357         * org-agenda.el (org-agenda-list): Apply the new face
2358         `org-agenda-date-today'.
2360         * org-faces.el (org-agenda-date-today): New face.
2362 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
2364         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2365         creating appointments.
2367         * org-latex.el (org-export-latex-low-levels): Fix customization
2368         type.
2370         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2371         priority commands.
2373         * org-agenda.el (org-agenda-priority): Disable priority commands.
2375         * org.el (org-enable-priority-commands): New option.
2377         * org-colview-xemacs.el (org-columns-compute)
2378         (org-columns-number-to-string): Fix problems with empty fields.
2380         * org-colview.el (org-columns-compute)
2381         (org-columns-number-to-string): Fix problems with empty fields.
2383         * org-exp.el (org-export-push-to-kill-ring): New function.
2384         (org-export-copy-to-kill-ring): New option.
2386         * org-latex.el (org-export-as-latex): Call
2387         `org-export-push-to-kill-ring'.
2389         * org-html.el (org-export-as-html): Call
2390         `org-export-push-to-kill-ring'.
2392         * org-docbook.el (org-export-as-docbook): Call
2393         `org-export-push-to-kill-ring'.
2395         * org-ascii.el (org-export-as-ascii): Call
2396         `org-export-push-to-kill-ring'.
2398         * org-exp.el (org-export-show-temporary-export-buffer): New
2399         option.
2401         * org-latex.el (org-export-as-latex): Use
2402         `org-export-show-temporary-export-buffer'.
2404         * org-html.el (org-export-as-html): Use
2405         `org-export-show-temporary-export-buffer'.
2407         * org-docbook.el (org-export-as-docbook): Use
2408         `org-export-show-temporary-export-buffer'.
2410         * org-ascii.el (org-export-as-ascii-to-buffer): Use
2411         `org-export-show-temporary-export-buffer'.
2413         * org-exp.el (org-export-show-temporary-export-buffer): New
2414         option.
2415         (org-export-push-to-kill-ring): New function.
2417         * org-colview.el (org-columns-compile-map): New variable.
2418         (org-columns-new, org-columns-compute)
2419         (org-columns-number-to-string, org-columns-uncompile-format)
2420         (org-columns-compile-format): Implement new operators.
2422 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
2424         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2426         * org-html.el (org-export-html-xml-declaration): New option.
2427         (org-export-as-html): Use `org-export-html-xml-declaration'.
2429         * org-list.el (org-update-checkbox-count): Make property
2430         dependent.
2432         * org.el (org-hierarchical-todo-statistics): New option.
2433         (org-update-parent-todo-statistics): Modified to handle recursive
2434         statistics.
2436 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
2438         * org-publish.el (org-publish): Make this function behave
2439         correctly in interactive use when called with a prefix argument.
2441         * org.el (org-todo-statistics-hook): New hook.
2442         (org-update-parent-todo-statistics): Use new hook.
2443         (org-log-into-drawer): New function.
2444         (org-add-log-setup): Use the new `org-log-into-drawer' function to
2445         determine if we should be logging into a drawer.
2446         (org-log-into-drawer): Update docstring.
2447         (org-default-properties): Add LOG_INTO_DRAWER as a property.
2449         * org-list.el (org-checkbox-statistics-hook): New hook.
2450         (org-update-checkbox-count-maybe): Use new hook.
2452         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
2453         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
2454         to kill ring.
2456 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
2458         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
2459         a line.
2461 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
2463         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2464         better bufer-generating mechanism.
2465         (org-edit-src-find-buffer): New function.
2467         * org-icalendar.el (org-print-icalendar-entries): Don't check for
2468         archive tag, this is already done by `org-agenda-skip'.
2469         data while constructing lost of tags.
2471 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
2473         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2474         as argument separator in macros.
2476         * org-html.el (org-export-as-html): Add xml declaration.
2478 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
2480         * org.el (org-after-sorting-entries-or-items-hook): New hook.
2481         (org-sort-entries-or-items): Run the new hook.
2482         (org-after-refile-insert-hook): New hook.
2483         (org-refile): Run `org-after-refile-insert-hook'.
2485         * org-agenda.el (org-agenda-get-progress): Never take time of day
2486         from headline when displaying progress.
2488         * org-latex.el (org-export-latex-complex-heading-re): New variable.
2489         (org-export-as-latex): Force the correct regexp in the
2490         preprocessor buffer.
2491         (org-export-latex-set-initial-vars): Set
2492         `org-export-latex-complex-heading-re'.
2494         * org-agenda.el (org-agenda-start-with-log-mode): New option.
2495         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2497 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
2499         * org-latex.el (org-export-latex-tables-centered): New option.
2500         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2502         * org-exp.el (org-export-as-org): New command.
2503         (org-export-as-org): New command.
2505         * org-publish.el (org-publish-org-to-org): New function.
2507 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
2509         * org.el (org-yank): Just call `org-yank-generic'.
2510         (org-yank-generic): New function, containing the formaer
2511         functionality of `org-yank'.
2513         * org-latex.el (org-export-latex-not-done-keywords)
2514         (org-export-latex-done-keywords): New variables.
2515         (org-export-latex-todo-keyword-markup): New option.
2516         (org-export-latex-set-initial-vars): Remember the TODO keywords.
2517         (org-export-latex-keywords-maybe): Apply the TODO markup.
2519 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
2521         * org-exp.el (org-infile-export-plist): Add more default macros.
2522         (org-export-preprocess-apply-macros): Process macro arguments.
2524 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
2526         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
2527         `unblocked'.
2528         (org-print-icalendar-entries): Respect the new value of
2529         `org-icalendar-include-todo'.
2531         * org.el (org-link-try-special-completion)
2532         (org-file-complete-link): New functions.
2533         (org-insert-link): Add special completion support for some link
2534         types.
2536         * org-bbdb.el (org-bbdb-complete-link): New function.
2538 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
2540         * org-list.el (org-update-checkbox-count): Allow recursive
2541         statistics.
2542         (org-hierarchical-checkbox-statistics): New option.
2544         * org.el (org-cycle): Remove erraneous space character.
2546         * org-icalendar.el (org-icalendar-timezone): Initialize from
2547         environment.
2549         * org-html.el (org-format-org-table-html): Specify the scope.
2550         (org-format-table-table-html): Specify the scope.
2551         (org-export-table-header-tags): Prepare the scope parameter.
2553 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
2555         * org-html.el
2556         (org-export-html-table-use-header-tags-for-first-column): New
2557         option.
2559         * org.el (org-autoload): Fix autoloading of ascii export
2560         functions.
2561         (org-modules): Add org-special-blocks.
2563 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
2565         * org-icalendar.el (org-start-icalendar-file): Use the new option.
2566         (org-ical-timezone): New option.
2568         * org-exp.el (org-export-get-coderef-format): Use the description
2569         is present.
2571         * org.el (org-sort-entries-or-items): Improve docstring, and make
2572         better implementation for time sorting.
2574 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
2576         * org.el (org-edit-src-persistent-message): New option.
2577         (org-edit-src-code, org-edit-fixed-width-region): Use the new
2578         option.
2580         * org-clock.el (org-clock-insert-selection-line): Fix prefious
2581         patch.
2583         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
2584         separate buffer instead of indirect buffer to edit source code.
2585         (org-edit-src-exit): Make this function work with the new setup.
2587         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
2588         are properly fontified before shown in the selection menu.
2590         * org.el (org-fontify-like-in-org-mode): New function.
2592         * org-latex.el (org-export-latex-links): Use the property list to
2593         retrieve the default image attributes.
2595         * org-exp.el (org-export-plist-vars): Add a new option.
2597 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
2599         * org-exp.el (org-export, org-export-visible): Support ASCII
2600         export to buffer
2601         (org-export-normalize-links): Do not protect the description if it
2602         is explicitly given.
2604         * org-ascii.el (org-export-as-ascii-to-buffer)
2605         (org-replace-region-by-ascii, org-export-region-as-ascii): New
2606         commands.
2607         (org-export-as-ascii): Add all the same parameters that are also
2608         supported by the other export functions.
2610         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
2611         org-checklist.el.
2612         (org-reset-checkbox-state-subtree): Call
2613         `org-reset-checkbox-state-subtree'.
2615         * org-remember.el (org-select-remember-template): For the
2616         selection of a valid template.
2618         * org-latex.el (org-export-region-as-latex): Supply the
2619         force-no-subtree argument.
2620         (org-export-as-latex): Provide better limits when exporting the
2621         first line.  When exporting to string, we still want the first
2622         lines.
2623         (org-export-latex-first-lines): New argument END, to force the end
2624         of the region.
2625         (org-export-region-as-latex): Use the property list.
2626         (org-export-as-latex):
2628         * org-colview-xemacs.el (org-columns-remove-overlays)
2629         (org-columns): Fix call to `local-variable-p'.
2631 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
2633         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
2634         (org-export-as-html): Run the new hook.
2636         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
2637         (org-export-latex-preprocess): Run the new hook.
2639         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
2640         (org-export-preprocess-string): Run the new hook.
2642 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
2644         * org-macs.el (org-check-external-command): New defsubst.
2646         * org.el (org-mode-map): New key for reload.
2647         (org-format-latex): Better error message when external programs
2648         are not available.
2650         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
2652         * org.el (org-sort-entries-or-items): Explicit sorting function
2653         for priorities, needed for XEmacs compatibility.
2655         * org-remember.el (org-remember-apply-template): Improve auto-save
2656         behavior.
2658 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
2660         * org-latex.el (org-export-latex-preprocess): Also protect
2661         environments ending in a star.
2663         * org-list.el (org-at-item-p): Fix regular expression.
2665 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
2667         * org.el (org-end-of-subtree): Improve speed.
2669         * org-agenda.el (org-agenda-get-timestamps)
2670         (org-agenda-get-progress, org-agenda-get-deadlines)
2671         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
2672         in particular, wait as long as possible to collect the tags.
2673         (org-stuck-projects): Improve docstring.
2675         * org.el (org-store-link): No errors when getting custom id before
2676         first headline.
2677         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
2679 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
2681         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
2683         * org-protocol.el: Remove dependency on url.el.
2684         (org-protocol-unhex-compound, org-protocol-open-source): Remove
2685         dependency on url.el.
2687         * org-latex.el (org-export-as-pdf): Use
2688         `org-latex-to-pdf-process'.
2690 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
2692         * org-latex.el (org-latex-to-pdf-process): New option.
2694         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
2695         New option.
2696         (org-agenda-get-timestamps): Honor
2697         `org-agenda-skip-additional-timestamps-same-entry'.
2699         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
2700         (org-clock-goto): Find recent task only if
2701         `org-clock-goto-may-find-recent-task' allows it.
2703         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
2704         drawers, and drawers that are missing the :END: line.
2706 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
2708         * org-clock.el (org-clock-goto): Go to recently clocked task if no
2709         clock is running.
2711 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
2713         * org.el (org-update-parent-todo-statistics): Check for
2714         STATISTICS_FROM property.
2716         * org-list.el (org-update-checkbox-count): Check for
2717         STATISTICS_FROM property.
2719         * org.el (org-tab-first-hook)
2720         (org-tab-after-check-for-table-hook)
2721         (org-tab-after-check-for-cycling-hook): New hooks.
2722         (org-cycle-internal-global, org-cycle-internal-local): New
2723         functions, split out from `org-cycle'.
2724         (org-cycle): Call the new hooks.
2726 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
2728         * org-exp.el (org-export-preprocess-string): Reset the list of
2729         preferred targets for each run of the preprocessor.
2731         * org.el (org-refile-target-verify-function): Improve
2732         documentation.
2733         (org-get-refile-targets): Respect point being moved by the
2734         verification function.
2736         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
2737         option.
2738         (org-export-latex-keywords): Use new option.
2740         * org.el (org-rear-nonsticky-at): New defsubst.
2741         (org-activate-plain-links, org-activate-angle-links)
2742         (org-activate-footnote-links, org-activate-bracket-links)
2743         (org-activate-dates, org-activate-target-links)
2744         (org-activate-tags): Place the rear-nonsticky properties at the
2745         correct location.
2747 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
2749         * org-protocol.el (server-edit): Declare `server-edit'.
2750         (org-protocol-unhex-string, org-protocol-unhex-compound): New
2751         functions.
2752         (org-protocol-check-filename-for-protocol): Call `server-edit'.
2754         * org.el (org-default-properties): New default properteis for
2755         completion.
2757         * org-exp.el (org-export-add-subtree-options): Add new properties
2758         for subtree export.
2760         * org-docbook.el (org-export-docbook-keywords-markup)
2761         (org-export-docbook-timestamp-markup): New options.
2762         (org-export-docbook-protect-tags): New function.
2764 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
2766         * org-id.el (org-id-get-with-outline-path-completion): Turn off
2767         org-refile-target-verify-function for the duration of the command.
2769         * org.el (org-link-to-org-use-id): New possible value
2770         `create-if-interactive-and-no-custom-id'.
2771         (org-store-link): Use custom IDs.
2772         (org-link-search): Find custom ID properties from #link.
2773         (org-default-properties): Add CUSTOM_ID for property completion.
2774         (org-refile-target-verify-function): New option.
2775         (org-goto): Turn off org-refile-target-verify-function
2776         for the duration of the command.
2778 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
2780         * org-html.el (org-export-as-html): Use custom IDs in the toc.
2782         * org-exp.el (org-export-preferred-target-alist): New variable.
2783         (org-export-define-heading-targets): Find the new CUSTOM_ID
2784         property.
2785         (org-export-target-internal-links): Target the custom ids when
2786         possible.
2788         * org-latex.el (org-export-latex-preprocess): Better regexp for
2789         matching latex macros with arguments.
2791 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
2793         * org-remember.el (org-remember-handler): Allow filing to non-org
2794         files.
2796 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
2798         * org-feed.el (org-feed-alist): New keyword options.
2799         (org-feed-update): Use the new options.
2800         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
2801         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
2802         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
2803         functions.
2805         * org-table.el (org-table-fix-formulas): Do not change references
2806         to remote tables.
2807         (org-table-get-remote-range): Convert standard coordinates to RC
2808         format.
2810         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
2812 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
2814         * org-compat.el (org-sha1-string): Function removed.
2816         * org.el (org-refile-allow-creating-parent-nodes): New option.
2817         (org-refile-get-location): New argument NEW-NODES.
2818         (org-refile): Call `org-refile-get-location' with the new
2819         argument.
2820         (org-refile-get-location): Arrange for adding a new child.
2821         (org-refile-new-child): New function.
2823         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
2824         an additional span element.
2826         * org-clock.el: Fix a number of docstrings.
2827         (org-clock-find-position): New argument
2828         FIND-UNCLOSED to make the function find an unclosed clock in the
2829         entry.
2830         (org-clock-in): Call `org-clock-find-position' with the new
2831         argument if we might be resuming a clock.
2833 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
2835         * org-latex.el (org-export-latex-display-custom-times): New variable.
2836         (org-export-latex-timestamp-markup): New option.
2837         (org-export-latex-set-initial-vars): Remember the local value of
2838         `org-display-custom-times'.
2839         (org-export-latex-content): Process time stamps.
2840         (org-export-latex-time-stamps): New function.
2842         * org-macs.el (org-maybe-intangible): Add intangible property
2843         again to invisible text.
2845 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
2847         * org-exp.el (org-default-export-plist): Handle undefined
2848         variables.
2850 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
2852         * org.el (org-sort-entries-or-items): Match TODO keywrds
2853         case-sensitively, when sorting.
2854         (org-priority): Do not match TODO keywords with wrong case.
2856 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
2858         * org-feed.el (org-feed-update): Bind the variable
2859         `new-formatted'.
2861         * org-html.el (org-export-as-html): Start paragraphs after literal
2862         examples.
2864         * org-docbook.el (org-export-as-docbook): Start paragraphs after
2865         literal examples.
2867 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
2869         * org.el (org-todo): Honor the NOBLOCKING property.
2871         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
2872         NOBLOCKING property.
2874         * org.el (org-scan-tags): Fix bug in tag scanner
2876 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
2878         * org.el (org-modules): Mark obsolete packages.
2880         * org-html.el: New file, split out from org-exp.el.
2882         * org-icalendar.el: New file, split out from org-exp.el.
2884         * org-xoxo.el: New file, split out from org-exp.el.
2886         * org-ascii.el: New file, split out from org-exp.el.
2888 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
2890         * org-compat.el (org-find-library-name): New function.
2892         * org.el (org-pre-cycle-hook): New hook.
2893         (org-cycle): Call the new hook in appropriate places.
2894         (org-reload): Only reload files that have been loaded before.
2896 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
2898         * org.el (org-set-font-lock-defaults): Enforxe space or line end
2899         after todo keyword.
2900         (org-todo): When changing TODO state, do matching
2901         case-sensitively.
2902         (org-map-continue-from): New variable.
2903         (org-scan-tags): Respect values in `org-map-continue-from'.
2904         (org-reload): Make XEmacs compatible.
2906 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
2908         * org-protocol.el (org-protocol-flatten-greedy): New function.
2909         (org-protocol-flatten): New function.
2911         * org.el (org-open-link-from-string): Pass reference buffer to
2912         `org-open-at-point'.
2913         (org-open-at-point): New optional argument `reference-buffer'.
2915 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
2917         * org.el (org-scan-tags): Make tag scan find headline in first
2918         line, 2nd attempt.
2919         (org-get-refile-targets): Add the naked file name.
2920         (org-refile): Store as top-level entry when only file name was
2921         given.
2923         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
2925         * org.el (org-block-todo-from-children-or-siblings-or-parent):
2926         Renamed from org-block-todo-from-children-or-siblings, and
2927         enhanced to look for the parent's status as well.
2929         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
2930         (org-agenda-get-progress): Add first notes line to log entry if so
2931         desired.
2933 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
2935         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
2936         (org-agenda-cleanup-fancy-diary): Call the new hook.
2938         * org-remember.el (org-remember-apply-template): Take the default
2939         for the annotation from the :annotation property.
2941         * org-mac-message.el (org-mac-message-get-link): Remove the
2942         quotes.
2943         (org-mac-message-get-link): Return the result.
2945 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
2947         * org.el (org-refile-get-location): Add file name only if not
2948         already included in outline path.
2950         * org-faces.el (org-n-level-faces): Fix customization type from
2951         number to integer.
2953         * org-exp.el (org-export-headline-levels): Fix customization type
2954         from number to integer.
2956         * org-agenda.el (org-agenda-confirm-kill)
2957         (org-agenda-custom-commands-local-options)
2958         (org-timeline-show-empty-dates, org-agenda-ndays)
2959         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
2960         customization type from number to integer.
2962 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
2964         * org-protocol.el: Declare some functions.
2966         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
2967         postion before inserting modified headline.
2969         * org-agenda.el (org-agenda-compare-effort): Honor
2970         `org-sort-agenda-noeffort-is-high'.
2971         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
2972         (org-agenda-compare-effort): Implement the "?" operator for
2973         finding entries without effort setting.
2975         * org.el (org-extract-attributes-from-string): New function.
2977         * org-exp.el (org-export-splice-attributes): New function.
2979 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
2981         * org-mouse.el: XEmacs compatibility fixes
2983         * org-docbook.el (org-export-as-docbook): Process footnotes like
2984         normal text.
2986         * org.el (org-modules): Add org-inlinetasks.el
2987         (org-cycle): Implement limiting level on cycling.
2988         (org-move-subtree-down): Fix bug with swapping subtrees at end of
2989         buffer.
2991         * org-inlinetask.el: New file.
2993         * org.el (org-emphasis-regexp-components): Allow braces in
2994         emphasis pre and post match.
2996         * org-footnote.el (org-footnote-normalize): When only dorting, do
2997         not insert inline notes at the end.
2999         * org-docbook.el (org-id-find-id-file): Add function declaration.
3001         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3003         * org-docbook.el: New file.
3005 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3007         * org.el (org-reftex-citation): New command.
3009 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3011         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3012         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3013         sorting options.
3014         (org-entries-lessp): Apply the new sorting option.
3016         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3017         blocker code, when an older sibling has children.
3019         * org-mac-message.el (org-mac-message-get-link): Improve getting
3020         links from multiple selected messages.
3022 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3024         * org-remember.el (org-remember-finalize): Do not set buffer file
3025         name to nil.
3026         (org-remember-handler): Mark buffer as unmodified.
3027         (org-remember-handler): Delete backup file and show message about
3028         remaining backup files.
3029         (org-remember-auto-remove-backup-files): New option.
3031         * org.el (org-store-link): Use buffer name as link description in
3032         w3-mode buffers.
3033         (org-ido-switchb): Fix argument bug for completion.
3035         * org-remember.el (org-remember-apply-template): Set local
3036         variable `auto-save-visited-file-name' instead of global one.
3038 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3040         * org-feed.el: Re-write.
3042         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3043         (org-agenda-get-todos): Mark file tags as inherited.
3044         (org-agenda-list): Always search diary lines for a time.
3046 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3048         * org-feed.el (org-feed-assume-stable): New option.
3049         (org-feed-before-adding-hook): New hook.
3051         * org-exp.el (org-export-as-html): Close local lists depending on
3052         indentation, also when starting a table.
3054         * org-remember.el (org-remember-backup-directory)
3055         (org-remember-backup-name): New internal variable.
3057 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3059         * org-clock.el (org-clock-out-if-current): Make buffer detection
3060         work in indirect buffers as well.
3062         * org.el (org-emphasis-regexp-components): Add the exxclamation
3063         mark to the post-emphasis characters.
3065 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3067         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3068         (org-read-date): Run the new hook.
3070         * org-mac-message.el (org-mac-flagged-mail): New group.
3071         (org-mac-mail-account): New variable.
3072         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3073         commands.
3075         * org-remember.el (org-remember-backup-directory): New variable.
3076         (org-remember-apply-template): Write file to backup directory.
3078 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3080         * org-mouse.el (org-mouse-todo-menu): New function.
3081         (org-mouse-todo-keywords): Function removed.
3082         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3084         * org-table.el (org-table-beginning-of-field)
3085         (org-table-end-of-field): New commands
3086         (org-table-previous-field, org-table-beginning-of-field): Better
3087         error messages.
3088         (orgtbl-setup): Include `M-a' and `M-e'.
3090         * org.el (org-backward-sentence, org-forward-sentence): New
3091         commands.
3093         * org-colview.el (org-colview-initial-truncate-line-value): New
3094         variable.
3095         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3096         (org-columns): Remember the value of `truncate-lines'.
3098         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3099         New variable.
3100         (org-columns-remove-overlays): Restore the value of
3101         `truncate-lines'.
3102         (org-columns): Remember the value of `truncate-lines'.
3104         * org.el (org-columns-skip-arrchived-trees): New option.
3106         * org-agenda.el (org-agenda-export-html-style): Define color for
3107         org-agenda-done face.
3108         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3109         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3111         * org.el (org-scan-tags): Use the new face.
3113         * org-faces.el (org-agenda-done): New face.
3115         * org.el (org-scan-tags): Test the value org
3116         `org-tags-match-list-sublevels'.
3117         (org-tags-match-list-sublevels): New allowed value: indented.
3119         * org-export-latex.el (org-export-latex-make-header): Apply macros
3120         in header.
3122         * org-exp.el (org-export-apply-macros-in-string): New function.
3124         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3125         with the definition of a checked box.
3127         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3129         * org-export-latex.el (org-export-latex-low-levels): More options
3130         for how to process lower levels in LaTeX.
3131         (org-export-latex-subcontent): Better treatment for lists as a
3132         means of publishing lower levels.
3134 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
3136         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3138         * org-faces.el (org-checkbox): New face.
3140         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3141         fragement images if there is an export file.
3143 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3145         * org-agenda.el (org-stuck-projects): Document that the subtree of
3146         projects that are not stuck will now be searched for stuck
3147         sub-projects.
3148         (org-agenda-skip-entry-when-regexp-matches)
3149         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3150         (org-agenda-list-stuck-projects): Use
3151         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3153         * org-export-latex.el (org-export-latex-preprocess): Improve
3154         export of verses.
3156         * org-exp.el (org-export-as-html): Implement centering as a div
3157         rather than a paragraph.  Do a better job with line-end in verse
3158         environments.
3160 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
3162         * org.el (org-open-at-point): Fix tags searches by mouse click.
3164 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
3166         * org-export-latex.el (org-export-latex-preprocess): Implement the
3167         centering markup.
3169         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3170         from `org-export-mark-blockquote-and-verse'.
3171         (org-export-as-html): Implement the centering markup.
3173         * org-export-latex.el (org-export-latex-tables): Fix vertical
3174         lines in tables.
3176 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
3178         * org.el (org-read-date-history): New variable.
3179         (org-read-date): Use new history variable.
3180         (org-toggle-heading): Fix bug when used before first headline.
3181         (org-store-log-note): Remove drawer if empty while note is
3182         aborted.
3183         (org-remove-empty-drawer-at): New function.
3184         (org-check-after-date): New command.
3185         (org-sparse-tree): New sparse tree command "a".
3187         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3189 2009-03-14  Bastien Guerry  <bzg@altern.org>
3191         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3192         column and a space, not only a column.
3194 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
3196         * org-export-latex.el (org-export-latex-emphasis-alist): Better
3197         defaults for verbose emphasis.
3198         (org-export-latex-emph-format): New function.
3199         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3201         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3202         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3203         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3204         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3205         commands.
3207         * org.el (org-timestamp-change): Move end-time along with start
3208         time.
3210 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
3212         * org-exp.el (org-export-target-internal-links)
3213         (org-export-as-html): Protect links specified as #name.
3215 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
3217         * org.el (org-clone-subtree-with-time-shift): New command.
3219         * org-export-latex.el (org-export-latex-special-chars)
3220         (org-export-latex-treat-sub-super-char): Fix subscript export.
3222         * org-exp.el (org-create-multibrace-regexp): Do not add
3223         backslashes to the class.
3225 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
3227         * org-colview.el (org-columns-map): Better functions for moving up
3228         and down a row, even if `truncate-line' is nil.
3230         * org.el (org-insert-todo-heading): Make sure the keyword is
3231         inserted at the correct position.
3233         * org-publish.el (org-publish-project-alist)
3234         (org-publish-projects, org-publish-org-index): Change default anme
3235         for the index of file names to "sitemap.org".
3237         * org-export-latex.el (org-export-latex-tables): Use
3238         `org-split-string', for Emacs 21 compatibility.
3240 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
3242         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3244 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
3246         * org-exp.el (org-export-page-description)
3247         (org-export-page-keywords): New variables.
3248         (org-export-plist-vars): Add entries for :keywords and
3249         :description.
3250         (org-infile-export-plist): Parse for new keywords.
3251         (org-get-current-options): Add new keywords
3252         (org-export-as-html): Publish description and keywords.
3254         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3255         option.
3256         (org-agenda-add-entry-text): Honor
3257         `org-agenda-add-entry-text-descriptive-links'.
3259         * org-export-latex.el (org-export-latex-preprocess): Make all
3260         external preprocess functions use a PARAMETER arg.
3262         * org-exp.el (org-export-preprocess-string)
3263         (org-export-select-backend-specific-text)
3264         (org-export-format-source-code-or-example)
3265         (org-format-org-table-html): Support docbook export.
3266         (org-export-preprocess-string): Make all external preprocess
3267         functions use a PARAMETER arg.
3269 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
3271         * org-exp.el (org-export-html-style-include-scripts): New option.
3272         (org-export-plist-vars): Add new option
3273         `org-export-html-style-include-scripts'.
3274         (org-export-as-html): Honor new option
3275         `org-export-html-style-include-scripts'.
3276         (org-export-html-scripts, org-export-html-style-default): Fix
3277         xml issues with the Safari browser.
3279 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
3281         * org-publish.el (org-publish-attachment): Only copy file when the
3282         directories differ.
3284 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
3286         * org-clock.el (org-clocktable-steps): Use inactive time stamps
3287         for clocktable steps.
3289         * org.el (org-additional-option-like-keywords): Add two more
3290         keywords.
3292 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
3294         * org-exp.el (org-export-format-source-code-or-example): Mark
3295         temporary buffer unmodified, so that it will be killed even if
3296         mode like message mode has decided to assign a file name.
3298         * org.el (org-scan-tags): Improve tag inheritance.
3299         (org-scan-tags, org-make-tags-matcher): Make tag comparison
3300         case-sensitive.
3301         (org-scan-tags): Use the internal tags list instead of creating it
3302         from scratch.
3303         (org-trust-scanner-tags, org-scanner-tags): New variables.
3304         (org-scan-tags): Set `org-scanner-tags'.
3305         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3306         (org-map-entries): Document the possible speedup using scanner
3307         tags.
3309 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
3311         * org.el (org-add-planning-info): Fix bug with looking for keyword
3312         only at column 0.
3314         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3315         option for tags filter preset.
3316         (org-prepare-agenda): Store filter preset as a property on the
3317         filter variable.
3318         (org-finalize-agenda): Call the filter, if there is a preset.
3319         (org-agenda-filter-by-tag): Filter again after clearing the
3320         filter, when there still is a preset.
3321         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3322         Include the preset filter.
3323         (org-agenda-redo): Apply the filter again, also the preset filter.
3325         * org-exp.el (org-export-as-html): Use IDs in the correct way.
3327         * org.el (org-uuidgen-p): New funtion.
3329         * org-agenda.el (org-agenda-fontify-priorities): New default value
3330         `cookies'.
3331         (org-agenda-fontify-priorities): Renamed from
3332         org-fontify-priorities.
3334         * org.el (org-set-font-lock-defaults): Call
3335         `org-font-lock-add-priority-faces'.
3336         (org-font-lock-add-priority-faces): New function.
3338         * org-faces.el: (org-set-tag-faces): New option.
3339         (org-priority-faces): New variable.
3341         * org-exp.el (org-export-as-html): Add a "content" div around the
3342         entire content of the body tag.
3343         (org-export-html-get-bibliography): New function.
3344         (org-export-html-validation-link): New variable.
3345         (org-export-as-html): Add validation link to exported page.
3347         * org.el (org-match-sparse-tree): Renamed from
3348         `org-tags-sparse-tree'.
3349         (org-tags-sparse-tree): New alias.
3351 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
3353         * org.el (org-get-valid-level): Catch the case where the level
3354         change is nil.
3356         * org-clock.el (org-clock-find-position): Better indentation of
3357         new clock drawers.
3359 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
3361         * org-agenda.el (org-agenda-quit): Delete window only when the
3362         frame-setup was not `current-window'.
3364         * org.el (org-tag-persistent-alist): New option.
3365         (org-startup-options): Add keyword `noptag'.
3366         (org-fast-todo-selection): Handle :newline correctly.
3367         (org-set-tags): Handle :newline correctly.
3368         (org-fast-tag-selection): Handle :newline correctly.
3370 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
3372         * org-exp.el (org-export-as-ascii): Reverse link buffer before
3373         outputting it.
3374         (org-export-ascii-push-links): Fix bug with pussing links into the
3375         export buffer.
3377 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
3379         * org-archive.el (org-archive-subtree): Do not add 1 to level if
3380         pasting at top level.
3382         * org-bbdb.el: Improve documentation.
3384 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
3386         * org-list.el (org-insert-item): Only consider insert empty lines
3387         is `org-empty-line-terminates-plain-lists' is not nil.
3389         * org.el (org-blank-before-new-entry): Mention the dependence on
3390         `org-empty-line-terminates-plain-lists' in the docstring.
3392         * org-publish.el (org-publish-get-project-from-filename): New
3393         optional argument UP.  Only find the top project if UP is set.
3394         (org-publish-current-project): Find the top encloding project.
3396         * org-agenda.el (org-agenda-before-write-hook)
3397         (org-agenda-add-entry-text-maxlines): New options.
3398         (org-write-agenda): Run the new hook in the temporary buffer.
3399         (org-agenda-add-entry-text): New function.
3400         (org-write-agenda): Implement PDF export, using ps2pdf.
3402         * org.el (org-global-properties-fixed, org-global-properties):
3403         Improve documentation string.
3405         * org-exp.el (org-export-ascii-links-to-notes): New option.
3406         (org-export-as-ascii): Handle links better.
3407         (org-export-ascii-wrap, org-export-ascii-push-links): New
3408         functions.
3410 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
3412         * org-agenda.el (org-agenda): Make prefix arg optional.
3413         (org-agenda-search-headline-for-time): New option.
3414         (org-format-agenda-item): Honor
3415         `org-agenda-search-headline-for-time'.
3417         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3418         characters.
3420         * org.el (org-self-insert-cluster-for-undo): New option.
3421         (org-self-insert-command): Cluster undo for 20 characters.
3422         (org-self-insert-command-undo-counter): New variable.
3424 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
3426         * org-exp.el (org-export-as-html): Fix problem with closing colone
3427         example.
3429 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
3431         * org-export-latex.el (org-export-as-latex)
3432         (org-export-latex-first-lines): Avoid modification flag when
3433         adding or removing text properties.
3434         (org-export-latex-fontify): Catch error when org-emph-alist has
3435         entries that are not defined for LaTeX export.
3437         * org.el (orgstruct++-mode): New function.
3438         (turn-on-orgstruct++): Call `orgstruct++-mode'.
3439         (org-context-p): Allow detecting item context after the first line
3440         of an item.
3441         (orgstruct-make-binding): Detect if item-body context should be
3442         seen.
3443         (orgstruct-is-++): New variable.
3444         (org-add-planning-info): Catch the case when there is no planning
3445         info yet and the call does not want to add anything, only maybe
3446         tries to remove something.
3447         (org-special-ctrl-a/e): All value to be a cons cell with separate
3448         settings for `C-a. and `C-e'.
3449         (org-beginning-of-line, org-end-of-line): Honor separate values
3450         for `C-a' and `C-e'.
3452 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
3454         * org.el (org-reload): New command.
3456 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
3458         * org-exp.el (org-export-htm-get-tag-class-name)
3459         (org-export-htm-get-todo-kwd-class-name): New functions.
3460         (org-export-html-tag-class-prefix)
3461         (org-export-html-todo-kwd-class-prefix): New options.
3462         (org-export-as-html): Call
3463         `org-export-html-get-todo-kwd-class-name'.
3464         (org-html-level-start): Wrap tags into classes.
3465         (org-export-html-get-tag-class-name)
3466         (org-export-html-get-todo-kwd-class-name): New functions.
3468         * org-export-latex.el (org-export-latex-collect-header-macros):
3469         Remove fields that are used anyway.
3470         (org-export-latex-make-header): Insert the options earlier.
3472         * org-agenda.el (org-agenda-get-progress): Fix bug with state
3473         matching.
3475         * org-list.el (org-indent-item): Allow point to be at the end of
3476         the region.
3478         * org.el (org-metaleft, org-metaright): Be more accurate about
3479         detecting a region where commands apply.
3481         * org-compat.el (org-cursor-to-region-beginning): New function.
3483         * org.el (org-priority): Also find invisible heading.
3485         * org-colview-xemacs.el (org-columns-edit-value): No special
3486         treatment for `org-todo' prefix.
3488         * org-colview.el (org-columns-edit-value): No special treatment
3489         for `org-todo' prefix.
3491         * org-remember.el (org-remember-apply-template): Use
3492         `org-completing-read-no-ido'.
3494         * org.el (org-completing-read-no-ido): New function.
3495         (org-make-tags-matcher, org-set-property): Use
3496         `org-completing-read-no-ido'.
3498         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
3499         New option.
3500         (org-export-as-latex): Import in-buffer settings as TeX macros.
3501         (org-export-latex-make-header): Additional parameter OPT-DEFS.
3502         (org-export-latex-collect-header-macros): New function.
3504         * org.el (org-refile-get-location): Turn off
3505         `partial-completion-mode'.
3507 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
3509         * org.el (org-block-todo-from-checkboxes): Announce that
3510         checkboxes are the culprit.
3511         (org-block-todo-from-children-or-siblings): Call
3512         `org-up-heading-all instead' of `outline-up-heading'.
3514         * org-agenda.el (org-agenda-show-1): Renamed from
3515         `org-agenda-show'.
3516         (org-agenda-show): Re-install the old version for now.
3517         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
3518         variable into the blokker hook, so that the checkbox checker can
3519         anounce that it caused the blocking.
3521         * org.el (org-track-ordered-property-with-tag): New option.
3522         (org-toggle-ordered-property): Honor
3523         `org-track-ordered-property-with-tag'.
3524         (org-tag-alist): Add newline options.
3525         (org-set-regexps-and-options): Separate option lines imply a
3526         newline.
3527         (org-set-regexps-and-options, org-assign-fast-keys)
3528         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
3529         option.
3530         (org-indent-line-function): Make sure this works even if there is
3531         not `org-drawer-regexp' defined.  This can happen when
3532         orgstruct-mode is used in a non-org buffer.
3534         * org-list.el (org-checkbox-blocked-p): New function.
3535         (org-toggle-checkbox): Check for blocking.
3537         * org.el (org-modules): Add an entry for org-R.el.
3539         * org-agenda.el (org-agenda-todo-ignore-with-date)
3540         (org-agenda-todo-ignore-scheduled)
3541         (org-agenda-todo-ignore-deadlines): Mention the variable
3542         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
3544         * org.el (org-get-wdays): Find the warning period also if it is in
3545         the wrong place.
3546         (org-ido-completing-read): Provide the correct arguments to
3547         ido-completing-read and bind `ido-enter-matching-directory' to
3548         nil.
3550 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
3552         * org.el (org-olpath-completing-read): Never use ido for this
3553         one.
3555         * org-exp.el (org-export-normalize-links): Use new macro.
3557         * org-macs.el (org-if-unprotected-at): New macro.
3559         * org-agenda.el (org-agenda-show): Allow numerical prefix
3560         arguments to specify how much context should be shown.
3561         (org-agenda-cycle-show): New command, could be bound to SPC in
3562         org-agenda-mode-map.
3564         * org-exp.el (org-html-level-start): Space after section number.
3566 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
3568         * org-agenda.el (org-agenda-get-sexps): Add todo state as
3569         property, for sorting.
3570         (org-cmp-todo-state): Get the applicable TODO keywords directly
3571         from the buffer.
3572         (org-run-agenda-series, org-agenda-list, org-search-view)
3573         (org-todo-list, org-tags-view): Only fit agenda window when the
3574         whole series is done.
3576         * org.el (org-scan-tags): Add todo state as property, for sorting.
3578         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3579         `org-agenda-overriding-header' as an option.
3580         (org-agenda-list): Honor org-agenda-overriding-header'.
3582 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
3584         * org-list.el (org-toggle-checkbox): Improve cursor positioning
3585         after removing a checkbox.
3587         * org.el (org-show-entry): Make this work correctly also if it is
3588         the last entry in the file.
3589         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
3590         falling back to normal, default command.
3591         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
3592         item, call the checkbox toggler to get a box.
3594         * org-list.el (org-toggle-checkbox): Make double prefix set the
3595         checkbox to "[-]".
3596         (org-fix-bullet-type): Only replace bullet if it is changed.
3597         (org-renumber-ordered-list): Handle case when first item does not
3598         have a number.
3600         * org.el (org-add-log-setup): Fix positioning when
3601         `org-log-states-order-reversed' is nil.
3603         * org-clock.el (org-clock-in): Fix positioning when
3604         `org-log-states-order-reversed' is nil.
3605         (org-clock-find-position): Fix positioning when
3606         `org-log-states-order-reversed' is nil.
3608 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
3610         * org-clock.el (org-clock-into-drawer): Take default from
3611         `org-log-into-drawer'.
3612         (org-clock-find-position): Look for the correct drawer.
3614         * org.el (org-log-into-drawer): Renamed from
3615         `org-log-state-notes-into-drawer'.
3616         (org-log-state-notes-into-drawer): New variable alias.
3617         (org-add-log-setup): Make drawer name default to LOGBOOK, not
3618         CLOCK.
3619         (org-insert-property-drawer): Also skip LOGBOOK drawers.
3621 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
3623         * org-agenda.el (org-agenda): Fix docstring.
3625         * org.el ("org-plot"): Help loading org-plot.
3626         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
3627         (org-metadown-hook, org-shiftmetaleft-hook)
3628         (org-shiftmetaright-hook, org-shiftmetaup-hook)
3629         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
3630         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3631         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
3632         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
3634         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
3635         for selecting files with any (and even without) extension.
3637         * org.el (org-save-all-org-buffers): Also save id locations.
3638         (org-revert-all-org-buffers): Also load id locations.
3640 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
3641         * org.el (org-drawers): Add LOGBOOK to the default drawers.
3642         (org-log-state-notes-into-drawer): New option.
3643         (org-add-log-setup): Place the sate note marker into the drawer,
3644         create drawer when necessary.
3645         (org-refile-targets): Document special interpretation of LEVEL
3646         when odd-levels are used.
3648 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
3650         * org.el (org-store-log-note): Fix note indentation when adding
3651         notes to end of list.
3653         * org-exp.el (org-export-as-html): Add TODO keyword as extra
3654         class, so that each keyword can get special colors through CSS.
3656         * org-clock.el (org-clock-out): Add another nil for the previous
3657         state into the call to `org-add-log-setup'.
3659         * org.el (org-log-note-previous-state): New variable.
3660         (org-log-note-headings): New %S escape for old state.
3661         (org-todo): Call the note setup with the old state as an
3662         argument.
3663         (org-add-note): Add another nil for the previous state into the
3664         call to `org-add-log-setup'.
3665         (org-add-log-setup): New argument PREV-STATE.
3666         (org-add-log-note): Handle new %S escape.
3667         (org-store-log-note): Handle new %S escape.
3669 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
3671         * org-clock.el (org-clock-find-position): Do not swallow an item
3672         less indented than the CLOCK line itself.
3673         (org-clock-in): Push markers to lin after the clock line.
3674         (org-clock-find-position): Handle values of
3675         `org-clock-into-drawer' smaller than 2.
3677         * org-exp.el (org-html-level-start): Add a CSS class to section
3678         numbers.
3679         (org-export-html-toplevel-hlevel): Better documentation of the
3680         influence of this variables on H levels and css classes in
3681         export.
3683 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
3685         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3686         timestamp and nottimestamp to the chooe menu.
3688         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
3689         (org-revert-all-org-buffers): New command.
3691 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
3693         * org.el (org-return): Implement `org-return-follows-link' in the
3694         function org-return.  This is more robust than using the mouse
3695         map, I think.
3696         (org-set-regexps-and-options): Match more general #+TODO lines.
3697         (org-make-options-regexp): New optional argument EXTRA, for an
3698         extra regexp.
3699         (org-tab-follows-link): Mark as deprecated.
3701 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
3703         * org-exp.el (org-export-preprocess-string): Remove clock lines
3704         earlier, so that they cannot cotribute to verbatim snippets.
3706 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
3708         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
3709         for finding drawers.
3710         (org-export-as-ascii, org-export-as-html): Count levels relative
3711         to the subtree header.
3712         (org-get-min-level): New optional argument OFFSET.
3713         (org-export): Make sure point is restored after popping up that
3714         window.
3716         * org.el (org-do-sort): Also take an inactive timestamp if no
3717         active one is found.
3719         * org-colview-xemacs.el (org-columns-capture-view): Copy before
3720         deleting duplicates.
3722         * org-colview.el (org-columns-capture-view): Copy before
3723         deleting duplicates.
3725         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
3726         text before first headline.
3728         * org.el (org-format-latex): Do not convert LaTeX fragments in
3729         protected examples.
3731 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
3733         * org-exp.el (org-export-html-style-default): Use color values
3734         instead of names for XHTML validation.
3736         * org.el (org-get-scheduled-time, org-get-deadline-time): New
3737         functions.
3738         (org-return-follows-link): Revert making this the default untile
3739         issues are resolved.
3741         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
3742         nottimestamp.
3744 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
3746         * org.el (org-mode): Make dependence stuff work more reliably.
3747         (org-update-parent-todo-statistics): Fix bug with updating
3748         statistics cookie.
3750         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
3751         ~ as verbatim delimiters.
3753         * org-exp.el (org-export-html-format-image): New argument
3754         PAR-OPEN.
3755         (org-export-as-html): Pass par-open to
3756         `org-export-html-format-image'.
3758 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
3760         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
3761         (org-use-fast-todo-selection, org-tags-column): New default
3762         setting for variables, based on a poll what typical uses use.
3764         * org-agenda.el (org-agenda-sorting-strategy)
3765         (org-agenda-tags-column): New default setting for variables, based
3766         on a poll what typical uses use.
3768 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
3770         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
3771         blocked entries from setting the blocked tag.
3773         * org-exp.el (org-export-html-footnotes-section): Use a more
3774         consistent id for footnotes.
3776         * org-export-latex.el (org-export-latex-classes): Remove the
3777         a4paper option from the default styles.
3779 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
3781         * org.el (org-enforce-todo-checkbox-dependencies): New option.
3782         (org-block-todo-from-checkboxes): New function.
3783         (org-todo): Make tripple prefix arg circumvent blocking.
3785         * org-timer.el (org-timer): Provide the timer feature.
3787         * org.el (org-require-autoloaded-modules): Add a few more files to
3788         the list of autoloaded modules.
3790         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
3792 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
3794         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
3795         drawers that are unprotected.
3796         (org-export-html-format-image): Make sure inlined LaTeX fragment
3797         images remain inlined.
3799         * org.el (org-toggle-ordered-property): New function.
3800         (org-mode-map): Add a key for `org-toggle-ordered-property'.
3801         (org-org-menu): Add menu entries for TODO dependencies.
3803 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
3805         * org.el (org-default-properties): Add ORDERED to the default
3806         properties, to get completion support for it.
3808         * org-list.el (org-update-checkbox-count): Update more than one cookie.
3810         * org.el (org-update-parent-todo-statistics): Update more than one
3811         cookie.
3813         * org-agenda.el (org-agenda-get-todos): Start search from correct
3814         position.
3816         * org.el (org-fast-todo-selection): Make sure TODO selection does
3817         not change buffer position.
3819         * org-list.el (org-toggle-checkbox): Implement adding or removing
3820         checkboxes from line or region when called with a prefix
3821         argument.
3823         * org-rmail.el (org-rmail-store-link): Protect the call to
3824         `rmail-narrow-to-non-pruned-header'.
3826         * org-clock.el (org-clock-special-range): Fix week display in
3827         clock tables.
3829         * org-exp.el (org-get-current-options): Fix bug when in indirect
3830         buffer.
3832 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
3834         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
3835         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
3836         (org-agenda-dim-blocked-tasks): New function.
3838         * org.el (org-enforce-todo-dependencies): New option.
3839         (org-block-todo-from-children-or-siblings): New function.
3841         * org-faces.el (org-agenda-dimmed-todo-face): New face.
3843         * org.el (org-todo): Return correct state type even if the blocker
3844         throws an error.
3845         (org-modifier-cursor-error): Renamed from
3846         `org-shiftcursor-error'.
3847         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3848         (org-shiftmetadown): Call `org-modifier-cursor-error'.
3850         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
3851         to get real errors from the blocker hook.
3853         * org.el (org-shiftselect-error, org-call-for-shift-select): New
3854         functions.
3855         (org-set-visibility-according-to-property): Turn off the setting
3856         of `org-show-entry-below', to avoid overruling a FOLDED visibility
3857         property.
3859 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
3861         * org.el (org-support-shift-select): New option.
3862         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
3863         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
3864         selection outside contexts.
3866         * org-list.el (org-at-item-bullet-p): New function.
3868         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
3869         variables.
3871         * org-footnote.el (org-footnote-normalize): Remove unnecessary
3872         variable.
3873         (org-insert-footnote-reference-near-definition): Remove
3874         unnecessary let form.
3876         * org-export-latex.el (org-export-latex-first-lines): Add
3877         OPT-PLIST parameter.
3878         (org-export-as-latex): Call `org-export-latex-first-lines' with
3879         opt-plits parameter.
3880         (org-export-latex-preprocess): Remove unnecessary variables.
3882         * org-exp.el (org-infile-export-plist)
3883         (org-export-add-options-to-plist, org-export-kill-licensed-text)
3884         (org-export-remove-headline-metadata)
3885         (org-export-get-title-from-subtree, org-get-min-level)
3886         (org-html-do-expand): Remove innecessary let form.
3888         * org-colview-xemacs.el (org-columns-display-here): Remove
3889         unnecessary variables.
3891         * org-colview.el (org-columns-display-here): Remove unnecessary
3892         variables.
3894         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
3895         variables.
3897         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
3898         unnecessary variables.
3900         * org-agenda.el (org-search-view, org-agenda-get-blocks)
3901         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
3902         variables.
3904         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
3905         (org-compact-display-after-subtree-move): Remove unnecessary
3906         variables.
3907         (org-edit-fixed-width-region): Remove unnecessary variables.
3908         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
3909         (org-olpath-completing-read): Remove unnecessary variable.
3910         (org-auto-repeat-maybe): Remove unnecessary variable.
3911         (org-map-entries): Remove unnecessary variable.
3912         (org-buffer-property-keys, org-imenu-get-tree)
3913         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
3915 -----------------------------------------------------------------
3917 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
3918         * org-exp.el (org-export-remove-timestamps): Never remove
3919         timestamps from tables.
3921         * org-export-latex.el (org-export-latex-first-lines): Add more
3922         options to the preprocessing of the text before the first
3923         headline.
3925 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3927         * org-faces.el (org-clock-overlay): Make face compatible with
3928         XEmacs.
3930         * org.el (org-yank): Add property for delete-selection mode.
3932         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
3934         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
3935         variable.
3937         * org-table.el (org-table-insert-hline): Fix typo in fuction call
3938         to `backward-char'.
3940         * org-exp.el (org-export-as-html): Remove the initial space from
3941         colon examples.
3943         * org.el (org-scan-tags): Call
3944         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3946         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
3947         customization groups.
3948         (org-agenda-tags-todo-honor-ignore-options): New option.
3949         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3950         New function.
3951         (org-agenda-get-todos): Use
3952         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3954 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
3956         * org-exp.el (org-export-format-source-code-or-example): Escape
3957         HTML characters also in examples that anre not treated with
3958         htmlize.  Also, just switch to EXAMPLE processing if we do not
3959         have a good version of htmlize.
3961         * org-rmail.el: Fix copyright notice.
3963         * org.el (org-activate-footnote-links): Improve footnote link
3964         highlighting.
3966         * org-footnote.el (org-footnote-normalize): Fix finding the end of
3967         a footnote definition at the end of the file.
3969         * org-table.el (org-table-get-specials): Add an imagined hline at
3970         the end of the table.  This can be useful for references that want
3971         to go to the end of the table.  Also fix bug when computing last
3972         row constants, in tables that do not start right at the right
3973         margin.
3974         (org-table-eval-formula): Match and replace remove references.
3975         (org-table-formula-substitute-names): Make sure that names inside
3976         a "remote" call are left alone, the will be replaced later when
3977         the remote call is handled.
3978         (org-table-convert-refs-to-rc): Do not convert things that might
3979         look like a reference, but are really part of an ID or namei n a
3980         remote reference.
3981         (org-table-get-remote-range): New function.
3983 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
3985         * org-faces.el (org-clock-overlay): Fix bug in face definition.
3987         * org-clock.el (org-clock-put-overlay): Use new face instead of
3988         `secondary-selection'.
3990         * org-faces.el (org-clock-overlay): New face.
3992 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
3994         * org-exp.el (org-get-current-options): Include the option for
3995         publishing time stamps.
3997         * org.el (org-toggle-heading): Renamed from
3998         `org-toggel-region-headings'.
3999         No longer needs a region defined, but will use it if there is one.
4000         (org-ctrl-c-star): Simplified, relying more on the internal
4001         workings of `org-toggle-heading'.
4002         (org-toggle-item): Renamed from `org-toggle-region-items'.
4003         No longer needs a region defined, but will use it if there is one.
4004         (org-ctrl-c-minus): Simplified, relying more on the inernal
4005         workings of `org-toggle-item'.
4007         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4008         environment detection.  Also, do real changes only in unprotected
4009         places.
4011 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4013         * org-export-latex.el (org-export-latex-quotation-marks): Use
4014         `org-if-unprotected-1'.
4015         (org-export-latex-set-initial-vars): Check for class definition in
4016         property.
4018         * org-macs.el (org-if-unprotected-1): New macro.
4020 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4022         * org-compat.el (org-count-lines): New function.
4024         * org-exp.el (org-export-format-source-code-or-example): Handle
4025         switches related to text areas.
4027         * org.el (org-activate-footnote-links): Don't allow match inside a
4028         link.
4030         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4032         * org-export-latex.el (org-export-latex-links): Keep a relative
4033         path relative also after export.
4035         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4037         * org.el (org-make-tags-matcher): Never use IDO for completing the
4038         tags matcher match string.
4039         (org-completing-read): Also remove the special biding for "?".
4041         * org-attach.el (org-attach-allow-inheritance): New option.
4042         (org-attach-inherited): New variable.
4043         (org-attach-dir): Handle properties related to the attachment
4044         directory.
4045         (org-attach-check-absolute-path): New function.
4046         (org-attach-set-directory, org-attach-set-inherit): New commands.
4047         (org-attach): Accommodate the new commands in the dispatcher.
4049 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4051         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4052         `window-full-width-p'.
4054         * org-exp.el (org-export-as-html): Only check for images files
4055         that really can be inlined
4057         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4058         list of extensions to be a parameter.
4060         * org-exp.el (org-export-html-inline-image-extensions): New
4061         variable.
4063         * org-agenda.el (org-prepare-agenda): Use
4064         `org-agenda-block-separator'.
4065         (org-agenda-block-separator): New option.
4067 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4069         * org-export-latex.el (org-export-latex-tables): Call
4070         `org-table-clean-before-export' with the new optional argument.
4072         * org-exp.el (org-table-clean-before-export): New optional
4073         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4074         first column.
4076 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4078         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4079         histograms.
4081         * org-colview.el (org-colview-construct-allowed-dates): Better
4082         error catching when a date/time property does not have allowed
4083         values defined.
4085         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4086         Better error catching when a date/time property does not have
4087         allowed values defined.
4089 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4091         * org.el (org-map-entries): Restore point and restriction after
4092         `org-map-entries'.
4094 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4096         * org.el (org-time=, org-time<, org-time<=, org-time>)
4097         (org-time>=, org-time<>): Make sure both values are dates.
4099 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4101         * org-archive.el (org-extract-archive-heading): Allow %s for file
4102         name also in achive location heading.
4104 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4106         * org-archive.el (org-add-archive-files): Uniquify the list before
4107         returning it.
4109 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4111         * org-compat.el (org-fit-window-to-buffer): Use
4112         `window-full-width-p'.
4114         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4115         space after the colon in short examples.
4117         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4118         enforce a space after the colon.  However, we also allow lines
4119         that are *only* a colon.
4120         (org-export-as-html): Enforce the space after the colon in short
4121         examples.
4122         (org-export-preprocess-string): Do the colon example protection
4123         earlier.
4124         (org-export-remove-timestamps): Do not check for protection at the
4125         end of the line.
4127 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
4129         * org.el (org-format-latex-options): Add new matcher for single
4130         letters between dollars.
4131         (org-get-header): Function removed.
4132         (org-heading-components): New function.
4134         * org-exp.el (org-export-define-heading-targets): Record ID's also
4135         as alternative targets.
4136         (org-export-as-html): Interpret "id:" links to other files by
4137         preserving the relative path.
4139         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4140         is nil.
4142         * org-exp.el (org-export-normalize-links): Protect the main link,
4143         to avoid special character processing.
4145         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4146         New variable.
4147         (org-export-latex-special-string-regexps): Variable removed.
4148         (org-export-latex-keywords): Use the new regexp.
4150         * org-exp.el (org-export-handle-include-files): Fetch switches and
4151         put them into the BEGIN statement.
4153         * org-timer.el (org-timer-mode-line-string): New variable.
4155         * org-clock.el (org-clock-mode-line-map): Renamed from
4156         `org-clock-mode-map'.
4157         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4158         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4159         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4160         (org-clock-remove-overlays): Renamed from
4161         `org-remove-clock-overlays'.
4163         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4164         and mode line display.
4165         (org-timer-stop): New command.
4166         (org-timer-seconds): Return correct time when timer is paused.
4167         (org-timer-mode-line-timer): New variable.
4168         (org-timer-set-mode-line, org-timer-update-mode-line): New
4169         functions.
4171         * org.el (org-insert-heading):  Handle new value `auto' for
4172         `org-blank-before-new-entry'.
4173         (org-org-menu): Add new items for timer functions.
4175         * org-list.el (org-insert-item): Handle new value `auto' for
4176         `org-blank-before-new-entry'.
4178         * org.el (org-blank-before-new-entry): New value `auto', made
4179         default.
4181 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
4183         * org-exp.el (org-export-normalize-links): If the link is also
4184         used as the description, protect the description.
4186 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
4188         * org.el (org-closest-date): Fix bug with yearly repeats, in
4189         combination with preference of the past as it is used for deadline
4190         and scheduling search.
4192         * org-exp.el (org-html-handle-time-stamps): No longer check for
4193         the `org-export-with-timestamps' option, because the preprocesser
4194         has taken care of this already.
4196         * org.el (org-entry-properties): Catch the case when this is
4197         called in a non-org-mode file.
4199         * org-export-latex.el (org-export-latex-remove-from-headlines):
4200         Variable made obsolete, also LaTeX export now uses the standard
4201         variables.
4202         (org-export-as-latex): Add the timestamps parameter to the
4203         preprocessor parameter list.
4204         (org-export-latex-content): Export the remaining keywords without
4205         considering to remove them.
4206         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4207         Use bold font instead of tt font for the keywords.
4208         (org-export-latex-fontify-headline): Format headlines, assuming
4209         that all keywords still present should be published.
4210         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4211         publish what ever remains of the time stamps.
4212         (org-export-latex-list-parameters): New option.
4213         (org-export-latex-lists): Pass additional parameters to the list
4214         converter.
4216         * org-exp.el (org-export-preprocess-string): Remove clock lines
4217         and timestamps already in the preprocesor.
4218         (org-export-remove-timestamps, org-export-remove-clock-lines): New
4219         functions.
4220         (org-export-as-ascii, org-export-as-html): Add the timestamps
4221         parameter to the preprocessor parameter list.
4223         * org-list.el (org-list-parse-list): Parse for checkboxes.
4224         (org-list-to-generic): Introduce and handle new parameters :cbon
4225         and :cboff.
4226         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4227         optional parameter PARAMS.
4229         * org-export-latex.el (org-export-latex-special-chars): Fix
4230         problems with interpreting dollar signs.
4231         (org-inside-latex-math-p): New function.
4232         (org-export-latex-preprocess): Protect all the math fragments.
4234         * org.el (org-latex-regexps): Allow a dash after a dollar.
4236         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4237         mark after copying.
4239         * org-agenda.el (org-run-agenda-series): Have series options set
4240         when finalizing the agenda.
4242         * org-exp.el (org-export-format-source-code-or-example): Protect
4243         the converted examples.
4245         * org.el (org-set-regexps-and-options): Fix the regexp
4246         `org-complex-heading-regexp'.
4248 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
4250         * org.el (org-edit-src-get-label-format): New function.
4251         (org-coderef-label-format): New option.
4252         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4253         a label format specification and make sure it is used in the edit
4254         buffer.
4255         (org-edit-src-get-label-format): New function.
4256         (org-store-link): Handle new coderef formats.
4257         (org-link-search): Handle new coderef formats.
4259         * org-footnote.el (org-footnote-create-definition)
4260         (org-footnote-goto-local-insertion-point): Make footnote insertion
4261         work correctly when the "Footnotes" headline is the last line in
4262         the buffer.
4264         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4265         the location.
4267 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
4269         * org-w3m.el (org-w3m): New customization group.
4270         (org-w3m-deactivate-mark): New option.
4271         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4272         option say not to.
4274 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
4276         * org.el (org-set-font-lock-defaults): Trigger footnote
4277         fontification.
4278         (org-activate-footnote-links): New function.
4279         (org-activate-links): New entry `footnote'.
4281         * org-faces.el (org-footnote): New face.
4283 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
4285         * org-macs.el (org-re): Handle the [:word:] class.
4287         * org-exp.el (org-export-preprocess-string): Call
4288         `org-export-protect-colon-examples'.
4289         (org-export-protect-colon-examples): Renamed from
4290         `org-export-protect-examples', and scope limited to lines starting
4291         with a colon.
4293 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
4295         * org-exp.el (org-export-preprocess-string): Move the preprocess
4296         hook to after turning on Org-mode.
4297         (org-export-preprocess-after-include-files-hook)
4298         (org-export-preprocess-after-tree-selection-hook)
4299         (org-export-preprocess-before-backend-specifics-hook)
4300         (org-export-preprocess-final-hook): New hooks.
4301         (org-export-preprocess-string): Run the new hooks.
4303         * org.el (org-ctrl-c-minus): Fix indentation for new items.
4305         * org-footnote.el: New file.
4307         * org.el (org-footnote): Require footnote code.
4308         (org-startup-options): Add new footnote options.
4309         (org-mode-map): New keybindig for footnotes.
4310         (org-ctrl-c-ctrl-c): Add function at footnotes.
4311         (org-org-menu): New menu entries for footnotes.
4313         * org-export-latex.el (org-export-as-latex): Pass footnote
4314         variable to preprocessor.
4315         (org-export-latex-preprocess): Treat multiple references to a
4316         footnote.
4318         * org-exp.el (org-export-preprocess-string): Call
4319         `org-footnote-normalize'.
4320         (org-export-as-ascii, org-export-as-html): Pass footnote variable
4321         to preprocessor.
4322         (org-export-as-html): Treat multiple references to a footnote.
4324 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
4326         * org-export-latex.el (org-export-latex-links): Handle coderef
4327         links.
4329         * org.el (org-bracket-link-analytic-regexp++): New variable.
4330         (org-make-link-regexps): Initialize
4331         `org-bracket-link-analytic-regexp++'.
4332         (org-store-link): Implement special case in edit-src buffer.
4333         (org-insert-link): No use of ide to insert stored links.
4334         (org-link-search): Implement special case for coderefs.
4336         * org-exp.el (org-export-html-scripts): New constant.
4337         (org-export-html-style-default): Add a new style for highlighted
4338         code.
4339         (org-export-code-refs): New variable.
4340         (org-export-preprocess-string): Initialize `org-export-code-refs'.
4341         Call `org-export-replace-src-segments-and-examples'
4342         No longer call `org-export-protect-examples'.
4343         (org-export-target-internal-links): Take care of coderef targets.
4344         (org-export-last-code-line-counter-value): New variable.
4345         (org-export-replace-src-segments-and-examples): Renamed from
4346         `org-export-replace-src-segments', and modified.
4347         (org-export-format-source-code-or-example): Renamed from
4348         `org-export-format-source-code'.
4349         (org-export-number-lines): New function.
4350         (org-export-as-ascii, org-export-as-html): Handle coderef links.
4352 --------------------------------------------------------------------------
4354 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
4356         * org-remember.el (org-remember-handler): Safer way to get a new
4357         buffer accessing the target file.
4359         * org.el (org-refile-get-location): Handle case of current buffer
4360         not having a file associated with it.
4362 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
4364         * org-table.el (org-table-get-formula): Only ask to overwrite
4365         field formula if there really is one.
4367         * org-id.el (org-id-find): Allow the ID to be a symbol or a
4368         number, by converting these to a string.
4370         * org-colview.el (org-dblock-write:columnview): Allow ID to be
4371         located in a different file.
4373         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
4374         org-colview.el.
4376 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
4378         * org.el (org-completion-use-ido): Enhance docstring of
4379         `org-completion-use-ido'.
4381         * org-export-latex.el (org-export-latex-make-header): Double the %
4382         in the time stamp format.
4383         (org-export-latex-special-chars): Handle case where there is no
4384         match group 3.
4386 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
4388         * org.el (org-get-refile-targets, org-refile-get-location): Use
4389         expanded file name to improve comparison.
4391 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
4393         * org.el (org-scan-tags): Rescan for tags, to get the correct
4394         upcase/downcase stuff.  This slows things down for now, but it
4395         works.
4396         (org-mode): Make sure the tag-faces regexp is initialized.
4398         * org-export-latex.el (org-export-latex-links): Fix bug with
4399         undefined label.
4401         * org-table.el (org-table-get-specials): Set
4402         `org-table-current-last-data-line'.
4403         (org-table-current-last-data-line): New variable.
4404         (org-table-insert-column, org-table-delete-column)
4405         (org-table-move-column, org-table-fix-formulas): Call
4406         `org-table-fix-formulas' a second time to fix the $LR references.
4407         (org-table-get-specials): Add the $LR references to the tables.
4408         (org-table-get-formula): Do not offer last-row names as LHS of
4409         formulas.
4411         * org.el (org-store-link): Capture link description from
4412         `org-id-store-link'.
4414         * org-exp.el (org-export-html-format-image): Add the / to the end
4415         of the <img> tag.
4416         (org-export-format-source-code): Surround example by empty lines,
4417         to make sure it will not be inside a paragraph.
4419         * org.el (org-ido-switchb): New function.
4421 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
4423         * org-agenda.el (org-agenda-show): New prefix argument
4424         FULL-ENTRY.
4426         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4427         argument.
4429         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
4430         `org-agenda-change-all-lines'.
4431         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
4432         tags are now retrieved locally.
4434 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
4436         * org.el (org-get-outline-path): Fix bug if level is not given.
4437         (org-org-menu): Do not quote function in menu vector.
4439         * org-agenda.el (org-finalize-agenda): Fix typo with variable
4440         name.
4442 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4444         * org.el (org-refile): Avoid refiling to within the region to be
4445         refiled.
4447         * org-export-latex.el (org-export-latex-special-chars): Replace
4448         special characters also in tables.
4450         * org-agenda.el (org-agenda-change-all-lines): New argument
4451         FORCE-TAGS.
4452         (org-agenda-set-tags): Cet the new tags and pass them to
4453         `org-format-agenda-item'.
4455 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
4457         * org-export-latex.el (org-export-latex-classes): Add longable as
4458         a default package to all classes.
4459         (org-export-latex-tables): Handle the longtable attribute and the
4460         align attribute.
4462         * org-table.el (orgtbl-to-generic): Handle tables that start with
4463         a hline.
4465         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4466         \verb for colde-like snippets.
4467         (org-export-as-latex): Fix issues with region export.
4469         * org.el (org-up-heading-safe): Speed up function by using a
4470         direct regexp search.
4471         (org-olpa): New variable.
4472         (org-get-outline-path): Speed-up path constructions in cases where
4473         this is possible because the entire hierarchy is scanned anyway.
4474         (org-refile-get-location): Don't compare the truenames of files,
4475         this is too slow.
4476         (org-goto-max-level): New option.
4477         (org-goto): Use `org-goto-max-level'.
4479 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
4481         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4482         Strip angle brackets from message-ids in the former and don't do
4483         it in the latter.
4484         (org-gnus-follow-link): Open summary reliable, even if the last
4485         messages were deleted, and handle empty groups, too.
4487 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
4489         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4490         instead of \texttt for the =...= and ~===~ emphasis environments.
4491         (org-export-as-latex): Remove any old :org-license-to-kill text
4492         properties.
4493         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4494         (org-export-latex-make-header): Add some hard space after the
4495         table of contents.
4496         (org-export-latex-first-lines): Accept RBEG argument.  Mark
4497         exported text so that it will be excuded in further steps.
4499         * org-table.el (org-table-get-specials): Make @0 reference the
4500         last line in a table.
4501         (org-table-recalculate): Improve docstring.
4503 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
4505         * org.el (org-log-done): Fix docstring.
4507 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
4509         * org-exp.el (org-export-html-format-image): Fix bugs.
4511         * org-export-latex.el (org-export-latex-tables)
4512         (org-export-latex-links): Implement attribute, label, and caption
4513         handling.
4515         * org-exp.el (org-export-html-style-default): Add style
4516         definitions for the figure div.
4517         (org-export-preprocess-string, org-export-as-html): Implement
4518         attribute, label, and caption handling.
4519         (org-export-attach-captions-and-attributes): New function.
4520         (org-export-html-format-image): New function.
4521         (org-format-org-table-html): Implement attribute, label, and
4522         caption handling.
4524         * org.el (org-find-text-property-in-string): New function.
4525         (org-extract-attributes): Use the property org-attr instead of
4526         org-attrobutes, because this property is now set with the #+ATTR
4527         lines.
4529 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
4531         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
4532         the case that FROM is nil.
4534         * org.el (org-before-first-heading-p): New function.
4536 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4538         * org-exp.el (org-export-as-html): Do not add a space before
4539         enforces line breaks.
4540         (org-export-as-html): Close paragraph before blockquote and verse
4541         tags.
4543 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
4545         * org-id.el (org-id-locations-file): Wrap file name with
4546         `convert-standard-filename'.
4547         (org-id-files): New variable.
4548         (org-id-use-hash): New option.
4549         (org-id-update-id-locations): Also search in all files current
4550         listed in `org-id-files'.  Convert the resulting alist to a hash
4551         if the user customation says so.
4552         (org-id-locations-save): Handle he case if `org-id-locations' is a
4553         hash.
4554         (org-id-locations-load): Convert the alist to a hash.
4555         (org-id-add-location): Handle the hast case.
4556         (kill-emacs-hook): Make sure id locations are saved when Emacs is
4557         exited.
4558         (org-id-hash-to-alist, org-id-alist-to-hash)
4559         (org-id-paste-tracker): New functions.
4561 -------------------------------------------------------------------------
4563 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
4565         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
4566         bindings of calendar variables.
4568         * org-table.el (org-table-find-row-type): Renamed from
4569         `org-find-row-type'.
4570         (org-table-rewrite-old-row-references): Renamed from
4571         `org-rewrite-old-row-references'.
4572         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
4573         (org-table-cleanup-narrow-column-properties): Renamed from
4574         `org-cleanup-narrow-column-properties'.
4576 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
4578         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
4579         for better error messages.
4580         (org-table-get-descriptor-line): Supply the new arguments to
4581         `org-find-row-type'.
4582         (org-table-error-on-row-ref-crossing-hline): New option.
4584         * org.el (org-target-link-regexp): Make buffer-local.
4585         (org-move-subtree-down): Fix bug with trees at beginning of
4586         buffer.
4588 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
4590         * org-faces.el (org-set-tag-faces): New function.
4591         (org-tags-special-faces-re): New variable.
4593         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
4595         * org-faces.el (org-tag-faces): New option.
4596         (org-tag): Mention `org-tag-faces' in the docstring.
4598 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
4600         * org-exp.el (org-export-html-style-default): Implement new
4601         quoting.
4603         * org-jsinfo.el (org-infojs-template): Implement new quoting.
4605         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
4606         command to the `w3m-minor-mode-map'.
4608         * org-archive.el (org-archive-to-archive-sibling): Protect
4609         `this-command' to avoid appending kills during archiving.
4611         * org-exp.el (org-export-with-priority): New variable.
4612         (org-export-add-options-to-plist): Use `org-export-plist-vars'
4613         instead of internal list of strings and properties.
4614         (org-print-icalendar-entries): Retrieve the location property with
4615         inheritance.
4617 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
4619         * org-exp.el (org-export-with-todo-keywords): New option.
4620         (org-export-plist-vars): Include also the keys for the #+OPTIONS
4621         line.
4622         (org-default-export-plist, org-export-add-options-to-plist)
4623         (org-export-as-ascii, org-export-as-html): Use the new structure
4624         of `org-export-plist-vars'.
4626         * org.el (org-map-entries): Return all values.
4628 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
4630         * org.el (org-matcher-time): Recognize more special values.
4632         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
4634 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
4636         * org.el (org-tags-exclude-from-inheritance): New option.
4637         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
4638         `org-tags-exclude-from-inheritance'.
4640         * org-agenda.el (org-agenda-show-inherited-tags): New option.
4641         (org-format-agenda-item): Add inherited tags to the agenda line
4642         string, and make sure that properties are kept when downcasing the
4643         tags list.
4644         (org-agenda-add-inherited-tags): New function.
4645         (org-downcase-keep-props): New function.
4647         * org.el (org-scan-tags): Mark inherited tags with a text
4648         property.
4649         (org-get-tags-at): Mark inherited tags with a text property.
4650         (org-add-prop-inherited): New function.
4652         * org-agenda.el (org-agenda-add-inherited-tags): New function.
4653         (org-agenda-show-inherited-tags): New option.
4655 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
4657         * org.el (org-modules): Add org-w3m to the default modules.
4659         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
4660         orgtbl-mode.
4661         (orgtabl-create-or-convert-from-region): New command.
4663         * org-exp.el (org-export-as-ascii): Remove the handling of
4664         targets.
4665         (org-export-ascii-preprocess): Handle targets already in this
4666         function.
4668 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
4670         * org-timer.el (org-timer-start-time): Define this variable.
4671         (org-timer-item): Make argument optional.
4673         * org-list.el (org-insert-item): Automatically insert a timer item
4674         if the current list is a timer list.
4676         * org-timer.el: New file.
4678         * org-publish.el (org-publish-org-index): Only exclude the index
4679         file in the main directory from being added to the site-map.
4680         (org-publish-get-project-from-filename): If the current project is
4681         a component, start publishing from the parent project.
4683 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
4685         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
4687         * org-publish.el (org-publish-org-index): Improve removal of
4688         temporary buffers.
4690         * org-agenda.el (org-get-closed): Re-apply changes
4691         accidentially overwritten by last commit to Emacs.
4693         * org.el (org-outline-path-complete-in-steps): New option.
4694         (org-refile-get-location): Honor
4695         `org-outline-path-complete-in-steps'.
4696         (org-agenda-change-all-lines, org-tags-sparse-tree)
4697         (org-time-string-to-absolute, org-small-year-to-year)
4698         (org-link-escape): Re-apply changes accidentially overwritten
4699         by last commit to Emacs
4701 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4703         * org-clock.el (org-dblock-write:clocktable): Make sure the
4704         clocktable sees the first line.
4705         (org-clock-in): Warn if the clock cannot be resumed.
4707 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
4709         * org.el (org-open-at-point): Fix mixup about interactive and
4710         non-interactive elisp links.
4712 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4714         * org-exp.el (org-export-preprocess-string): Allow one comment
4715         line before the first headline to always be included.  This is
4716         to not miss a commented target.
4718         * org-mouse.el (org-mouse-insert-item): Call
4719         `org-indent-to-column' instead of `indent-to', for XEmacs
4720         compatibility.
4722         * org.el (org-refile-targets): Fix customize definition so
4723         that it works also in XEmacs.
4724         (org-fixup-indentation): Call `org-indent-to-column' instead
4725         of `indent-to', for XEmacs compatibility.
4727 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
4729         * org-mew.el (org-mew-store-link): Get the correct case folder
4730         for refiled messages.
4732 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4734         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
4735         line break indicators.
4737         * org.el (org-ido-completing-read): Remove the "i:" prefix for
4738         ido-completion propts.
4740 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4742         * org-remember.el (org-remember-apply-template): Use
4743         `org-substring-no-properties'.
4745         * org-compat.el (org-substring-no-properties): New function.
4747         * org-remember.el (org-remember-apply-template): Use
4748         `org-substring-no-properties' for compatibility.
4750         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
4751         option.
4752         (org-fix-bullet-type): respect
4753         `org-list-two-spaces-after-bullet-regexp'.
4755         * org-clock.el (org-clock-load): Clean up the code.
4757         * org.el (org-adaptive-fill-function): Allow two spaces after
4758         "1." as a list bullet.
4760 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
4762         * org-clock.el (org-clock-save, org-clock-load): Check for
4763         live buffers, existing files, and buffer file names to ensure
4764         consistent information.
4765         (org-clock-persist): Make `clock' a special value of this
4766         variable, and improve docstring.
4768         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
4769         (org-get-string-indentation): Adapt indentation when the bullet
4770         width changes.
4772 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
4774         * org-remember.el (org-remember-finalize): Make interactive.
4775         (org-remember-kill): New command.
4776         (org-remember-finish-immediately): Call `org-remember-finalize'
4777         directly.
4778         (org-remember-finalize): Make `org-remember-finalize' an interactive
4779         function.
4781 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
4783         * org-remember.el (org-remember-apply-template): No ido completion
4784         for free prompts in remember templates.
4785         (org-remember-before-finalize-hook): New hook.
4786         (org-remember-mode): New minor mode.
4787         (org-remember-apply-template): Turn on `org-remember-mode'.
4789         * org-id.el (org-id-add-location): Avoid error when no file is
4790         given.
4792         * org-remember.el (org-remember-apply-template): Fix the way how
4793         the list of allowed properties is retrieved from the target file.
4795         * org.el (org-insert-link): Improve file link matching.
4797 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
4799         * org-colview.el (org-columns-display-here): New argument
4800         DATELINE, to trigger using the new face.
4801         (org-agenda-colview-summarize): Call `org-columns-display-here'
4802         with the new argument.
4804         * org-faces.el (org-agenda-column-dateline): New face.
4806         * org-publish.el (org-publish-org-index): Use index-title at page
4807         title, not as section.
4809         * org-exp.el (org-export-html-format-desc): Respect the
4810         org-protect property.
4811         (org-export-as-html): Protect image specifiers that are in the
4812         description part of a link.
4814         * org.el (org-sort-entries-or-items, org-completing-read)
4815         (org-refile-get-location, org-olpath-completing-read, org-todo)
4816         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
4817         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
4818         (org-set-property, org-delete-property)
4819         (org-delete-property-globally): Use `org-ido-completing-read'.
4821         * org-remember.el (org-remember-apply-template): Use
4822         `org-ido-completing-read'.
4824         * org-publish.el (org-publish): Use `org-ido-completing-read'.
4826         * org-colview.el (org-columns-edit-value, org-columns-new)
4827         (org-insert-columns-dblock): Use `org-ido-completing-read'.
4829         * org-colview-xemacs.el (org-columns-edit-value)
4830         (org-columns-new, org-insert-columns-dblock): Use
4831         `org-ido-completing-read'.
4833         * org-attach.el (org-attach-delete-one, org-attach-open): Use
4834         `org-ido-completing-read'.
4836         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
4837         `org-ido-completing-read'.
4839         * org.el (org-time-today): New function.
4840         (org-matcher-time): Use `org-time-today'.  Add special treatment
4841         for "<tomorrow>" and "<yesterday>".
4842         (org-ido-completing-read): New function.
4843         (org-completion-use-ido): New option.
4845         * org-exp.el (org-export-format-source-code): Fix bug in require
4846         htmlize code.
4847         (org-export-target-internal-links): Fix bug in search for text
4848         property.
4850 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
4852         * org-export-latex.el (org-export-latex-subcontent): Interprete
4853         target aliases as additonal labels.
4855         * org-exp.el (org-export-target-aliases): New variable.
4856         (org-export-preprocess-string)
4857         (org-export-handle-invisible-targets): Fill the alias alist.
4858         (org-export-as-html): Remove the &nbsp; from the anchor, and also
4859         assign an id.
4860         (org-html-level-start): Insert the target aliases as additonal
4861         anchors.
4863         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
4864         picture area.
4866 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
4868         * org.el (org-open-at-mouse): Ensure correct link abbreviations
4869         when following a link with the mouse from the agenda.
4871         * org-exp.el (org-export-as-html): Avoid lone </div> when no
4872         headlines are created.
4874 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
4876         * org-exp.el (org-export-preprocess-string): Reorder so that we
4877         can still see ID properties when we collect targets.
4878         (org-export-target-internal-links): Also store targets for ID's.
4880         * org.el (org-link-translation-function): New option.
4881         (org-open-at-point): Call `org-link-translation-function' if
4882         non-nil.
4883         (org-translate-link): New function.
4884         (org-translate-link-from-planner): New function.
4885         (org-open-at-point): Allow interactive commands in elisp links.
4887         * org-exp.el (org-icalendar-cleanup-string): Restore the old
4888         iCalendar quoting.  The new one seems to caus problems with
4889         applications.
4891         * org.el (org-yank): Set `this-command' to `yank', so that
4892         `yank-pop' will work.
4894 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
4896         * org-id.el (org-id-search-archives): New option.
4898         * org.el (org-link-to-org-use-id): New option.
4899         (org-store-link): Use `org-link-to-org-use-id'.
4900         (org-id): Make org-id.el a standard component.
4902 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
4904         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
4905         hexified version of the tag.
4907         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
4908         compliance as far as quoting is concerned.
4910         * org-vm.el (org-vm-follow-link): Require `vm-search'.
4912         * org.el (org-up-heading-safe, org-forward-same-level): Always
4913         call `org-back-to-heading' instead of `outline-back-to-heading'.
4914         (org-back-to-heading): New wrapper around outline-back-to-heading,
4915         with a useful error message telling where the error happened.
4917         * org-list.el (org-update-checkbox-count): Always call
4918         `org-back-to-heading' instead of `outline-back-to-heading'.
4920         * org-exp.el (org-export-as-html): Make sure that each <img> tag
4921         has an `alt' attribute, to ensure XHTML validation.
4923 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4925         * org-publish.el (org-publish-attachment): Allow publishing to
4926         overwrite attachment files.
4928         * org-agenda.el (org-agenda-timerange-leaders): New option.
4929         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
4931         * org.el (org-edit-src-exit): Untabify ASCII image before
4932         returning.
4945 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
4947         * org.el (org-yank): Make any prefix force normal yanking.
4948         Suppress folding if text would be swallowed into a folded
4949         subtree.
4950         (org-yank-folded-subtrees, org-yank): Docstring updates.
4952         * org-agenda.el (org-agenda-compare-effort): Treat no effort
4953         defined as 0.
4955         * org-exp.el (org-export-language-setup): Add Catalan and
4956         Esperanto language entries.
4958 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
4960         * org.el (org-refile): Allow refiling of entire regions.
4962         * org-clock.el (org-clock-time%): New function.
4964         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
4965         retrieve property values.
4967 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
4969         * org-agenda.el (org-agenda-list): Handle the value `only' of
4970         org-agenda-show-log'.
4971         (org-agenda-log-mode): Interpret a double prefix arg.
4973 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
4975         * org-exp.el (org-export-html-footnotes-section): New variable.
4976         (org-export-as-html): Use `org-export-html-footnotes-section' to
4977         insert the footnotes.
4978         (org-export-language-setup): Add "Footnotes" to language words.
4980 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
4982         * org.el (org-yank): Fix bug when not inserting a subtree.
4984 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
4986         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
4987         instead of `vm-beginning-of-message'.
4989         * org.el (org-make-link-regexps): Make sure that links to gnus can
4990         contain brackets.
4992 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
4994         * org-attach.el (org-attach-dir): Remove duplicate ID creation
4995         code.
4997         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
4998         shell output.
5000         * org.el (org-link-abbrev-alist): Improve customization type.
5002         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5003         functions.
5005         * org-agenda.el (org-agenda-get-progress): Renamed from
5006         `org-get-closed'.  Implement searching for state changes as well.
5007         (org-agenda-log-mode-items): New option.
5008         (org-agenda-log-mode): New option prefix argument, interpreted as
5009         request to show all possible progress info.
5010         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5011         `org-get-closed'.
5012         (org-agenda-set-mode-name): Handle the more complex log mode
5013         settings.
5014         (org-get-closed): New alias, pointing to `org-get-progress'.
5016 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5018         * org.el (org-file-apps-defaults-gnu)
5019         (org-file-apps-defaults-macosx)
5020         (org-file-apps-defaults-windowsnt): Add an entry defining the
5021         system command.
5022         (org-file-apps): Allow `system' as key and value.
5023         (org-open-at-point): Explain the effect of a double prefix arg.
5024         (org-open-file): If the argument `in-emacs' is (16),
5025         i.e. corresponding to a double prefix argument, try to open the
5026         file externally.
5028 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5030         * org.el (org-insert-link): Abbreviate absolute files names in
5031         links.  Also, fix a bug in which the double C-u prefix would not
5032         be honored.
5034 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5036         * org.el (org-insert-heading): If buffer does not end with a
5037         newline, add one if necessary to insert headline correctly.
5039         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5040         paragraphs, not inside.
5042         * org.el (org-todo): Quote
5043         `org-agenda-headline-snapshot-before-repeat'.
5045         * org-exp.el (org-export-as-html): Fully process link descriptions.
5046         (org-export-html-format-desc): New function.
5047         (org-export-as-html): Collect footnotes into the correct basket.
5048         (org-html-protect): No longer protect quotations marks here, this
5049         goes wrong.
5051         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5052         BEG.
5054         * org-compat.el (org-fit-window-to-buffer): New function (not
5055         really, a preliminary and incomplete version was present earlier,
5056         but not used).
5058         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5059         `org-fit-window-to-buffer'.
5061         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5063         * org-agenda.el (org-agenda-get-restriction-and-command)
5064         (org-fit-agenda-window, org-agenda-convert-date): Use
5065         `org-fit-window-to-buffer'.
5067         * org-exp.el (org-export-as-html): Process href links through
5068         `org-export-html-format-href'.
5069         (org-export-html-format-href): New function.
5071         * org-agenda.el (org-agenda-todo): Update only the current
5072         headline if this is a repeated TODO, marked done for today.
5073         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5074         only the current line.
5076         * org.el (org-todo): Take a snapshot of the headline if the
5077         repeater might change it.
5079 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5081         * org-publish.el (org-publish-find-title): Remove buffers visited
5082         only for extracting the title.
5084         * org-exp.el (org-export-html-style)
5085         (org-export-html-style-default): Mark style definitions as
5086         unparsed CDATA.
5088         * org-publish.el (org-publish-validate-link): Function
5089         re-introduced.
5091 2008-11-02  Charles Sebold  <csebold@gmail.com>
5093         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5094         property.
5095         (org-plot-quote-timestamp-field): New function.
5096         (org-plot-quote-tsv-field): Call timestamp field function when
5097         necessary rather than just quoting as a string.
5098         (org-plot/gnuplot-to-data): Pass in timefmt property.
5099         (org-plot/gnuplot-script): Supports timefmt property.
5100         (org-plot/gnuplot): Checks for timestamp column before checking
5101         for text index column.
5103 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5105         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5107         * org-publish.el (org-publish-org-index): Create a section in the
5108         index file.
5109         (org-publish-org-index): Stop linking to directories.
5111         * org.el (org-emphasis-alist): Use span instead of <u> to
5112         underline text.
5114         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5115         <pre> sections.
5117 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5119         * org-jsinfo.el (org-infojs-template): Remove language attribute
5120         from script tag.
5122 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5124         * org-agenda.el (org-agenda-remove-marked-text): New function.
5125         (org-agenda-mark-filtered-text)
5126         (org-agenda-unmark-filtered-text): New functions.
5127         (org-write-agenda): Remove fltered text.
5129         * org.el (org-make-tags-matcher): Give access to TODO "property"
5130         without speed penalty.
5132 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
5134         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5135         option.
5136         (org-store-link-props): Make sure adding to the plist works
5137         correctly.
5139         * org-gnus.el (org-gnus-no-new-news): New function.
5140         (org-gnus-follow-link): Allow the article ID to be a message-id,
5141         in addition to allowing article numbers.  Message IDs make much
5142         more roubust links.
5143         (org-gnus-store-link): Use message-id to create link.
5145 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
5147         * org.el (org-emphasize): Reverse the selection array.
5148         (org-emphasis-alist): Set <code> tags for the verbatim
5149         environment.
5151         * org-remember.el (org-remember-handler): Fix bug with
5152         prefix-related changing of the note storage target.
5154         * org-exp.el (org-print-icalendar-entries): Make the exported
5155         priorities compatible with RFC 2445.
5157         * org-clock.el (org-clock-save): Insert time stamp without
5158         dependence on time-stamp.el.
5160 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
5162         * org.el ("saveplace"): If saveplace puts point into an invisible
5163         location, make it visible.
5164         (org-make-tags-matcher): Allow inactive time stamps in time
5165         comparisons.
5166         (org-yank-adjusted-subtrees): New option.
5167         (org-yank): Incorporate adjusting trees.
5168         (org-paste-subtree): New argument FOR-YANK which will cause
5169         insertion at point without backing up over white lines, and leave
5170         point at the end of the inserted text.  Also if the cursor is
5171         at the beginning of a headline, use the same level or the inserted
5172         tree.
5174         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5175         with broken symlinks
5177 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5179         * org-exp.el (org-export-select-tags, org-get-current-options):
5180         Fix typo.
5182 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
5184         * org-agenda.el (org-format-agenda-item)
5185         (org-agenda-filter-make-matcher): Make sure tags are stored and
5186         compared donwcased.
5188 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
5190         * org.el (org-insert-todo-heading): Fix bug with force-heading
5191         argument.
5193 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
5195         * org-clock.el (org-clock-in-resume): Add a custom option to
5196         toggle starting the clock from an open clock line.
5197         (org-clock-in): When clocking in to an entry, if
5198         `org-clock-in-resume' is set, check if the first clock line is
5199         open and if so, start the clock from the time in the clock line.
5200         (org-clock-persist): Add a custom option to toggle clock
5201         persistence.
5202         (org-clock-persist-query-save): Add a custom option to toggle
5203         asking the user if they want to save the running clock when
5204         exiting.
5205         (org-clock-persist-query-resume): Add a custom option to toggle
5206         asking the user if they want to resume the saved clock when Emacs
5207         is restarted.
5208         (org-clock-save): Add a function to save clock data.
5209         This includes the contents of `org-clock-history' and the buffer
5210         and position of the currently clocked task, if any.
5211         (org-clock-load): Add a function to load clock data.
5212         This populates `org-clock-history', and resumes the saved clocked
5213         task if there is one.
5214         (org-clock-persistence-insinuate): Add a method to set up the
5215         hooks for clock persistence.
5217 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
5219         * org-exp.el (org-export-as-ascii): Handle the case that we are
5220         publishing from an indirect buffer.
5222         * org-table.el (org-table-copy-down): Fix bug with time stamp
5223         increment.
5225         * org-mouse.el (org-mouse-features): New option.
5226         (org-mode-hook): Turn on features depending on
5227         `org-mouse-features'.
5229         * org.el (org-insert-heading-respect-content): Force heading
5230         creation.
5231         (org-insert-heading): keep the folding state of the heading before
5232         the inserted one.
5234 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5236         * org-archive.el (org-archive-to-archive-sibling): Handle top
5237         level headlines better.
5239 2008-10-21  Bastien Guerry  <bzg@altern.org>
5241         * org-export-latex.el (org-export-latex-classes): Added
5242         \usepackage{graphicx} to the default list of packages.
5244 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5246         * org-agenda.el (org-agenda-filter): Renamed from
5247         `org-agenda-filter-tags'.
5249 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
5251         * org.el (org-entry-properties): Add CATEGORY property, iven if it
5252         is not defined as a property in this entry.
5253         (org-add-log-note): Mask prefix argument when immediately storing
5254         the note.
5256         * org-agenda.el (org-agenda-filter-effort-default-operator): New
5257         option.
5259 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
5261         * org.el (org-add-log-setup): Bugfix; code to find insertion point
5262         after drawers was skipping ahead one line too many, so notes were
5263         inserted after the first note instead of before it.
5265 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
5267         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5268         New variables.
5269         (org-prepare-agenda): Reset the filter tags.
5270         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5271         Show filter tags in mode line.
5273         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5274         formatter.
5276         * org-export-latex.el (org-latex-entities-regexp): New constant.
5277         (org-export-as-pdf): Use two calls to `shell-command'.
5279 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
5281         * org-export-latex.el (org-export-latex-treat-sub-super-char):
5282         Honor the {} value of the subsuperscript setting.  Make sure that
5283         longer subsuperscripts are typeset in a roman font.
5285         * org.el (org-clock-update-time-maybe): Compute negative clock
5286         intervals correctly.
5288 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
5290         * org.el (org-add-log-setup): Respect
5291         `org-log-state-notes-insert-after-drawers'.
5292         (org-log-state-notes-insert-after-drawers): New option.
5293         (org-todo-trigger-tag-changes): New function.
5294         (org-todo): Call `org-todo-trigger-tag-changes'.
5296 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
5298         * org.el (org-add-log-setup): Only skip drawers if the are
5299         immediately after the scheduling keywords.
5301         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5302         function
5303         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5304         call it with the current todo state to get the state to switch to
5305         when clocking in.
5306         (org-clock-in): Use org-indent-line-function to indent clock lines.
5307         (org-clock-find-position): Fix indentation of empty clock drawers.
5309 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
5311         * org-publish.el (org-publish-org-to): Handle case when
5312         org-export-to-pdf does return a file name, not a buffer.
5313         (org-publish-org-to-pdf): New function.
5315         * org-export-latex.el (org-export-as-pdf)
5316         (org-export-as-pdf-and-open): New commands.
5318         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5319         forms as ranges.
5321         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5322         things in protexted regions.
5324 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
5326         * org-export-latex.el (org-export-latex-preprocess): Improve
5327         quoting of LaTeX environments.
5329 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
5331         * org.el (org-edit-fixed-width-region): Exclude final newline from
5332         picture area.
5334         * org-export-latex.el (org-export-latex-subcontent): Add labels to
5335         sections, to make internal links work.
5336         (org-export-latex-fontify-headline): Do not remove all text
5337         properties, to make sure that target properties survive this
5338         process.
5340         * org-exp.el (org-export-preprocess-string): Change sequence of
5341         modifications, to make sure links are prepared before the LaTeX
5342         conversions do happen.
5344 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
5346         * org-attach.el (org-attach-delete-all): Renamed from
5347         `org-attch-delete'.  Add a security query before deleting the
5348         entire directory.  New optional argument FORCE can overrule the
5349         security query.
5350         (org-attach-delete-one): New command.
5352 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
5354         * org-attach.el (org-attach-file-list): Fix bug with directory.
5356 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
5358         * org.el (org-apps-regexp-alist): New function.
5359         (org-file-apps): Add auto-mode to the default value.
5360         (org-open-file): Use the new structure of org-file-apps.
5362         * org-attach.el (org-attach): Support the new keys.
5363         (org-attach-method): New option.
5365 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
5367         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5368         March.
5370         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5371         of the list value o `org-use-tag-inheritance'.
5373         * org-attach.el (org-attach-auto-tag): New option.
5374         (org-attach-tag, org-attach-untag): New functions.
5375         (org-attach-attach, org-attach-new, org-attach-sync): Call
5376         `org-attach-tag'.
5377         (org-attach-delete): Call `org-attach-untag'.
5379 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
5381         * org-table.el (orgtbl-self-insert-command): Make this work for
5382         the keypad as well.
5384 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
5386         * org.el (org-add-log-setup): Limit searc for drawers to entry
5387         text, not to subtree.
5389         * org-clock.el (org-clock-heading-for-remember): New variable.
5390         (org-clock-in): Set `org-clock-heading-for-remember'.
5392 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
5394         * org-remember.el (org-remember-apply-template): Add new
5395         expansions: %k, %K for currently clocked task and a link to the
5396         currently clocked task, and %< to file notes in the currently
5397         clocked task.
5399 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
5401         * org-export-latex.el (org-export-latex-make-header): Also insert
5402         the content of the property :latex-header-extra.
5404         * org-exp.el (org-infile-export-plist): Put the content of
5405         #+LATEX_HEADER: into the property :latex-header-extra.
5407         * org-colview.el (org-columns-get-format-and-top-level): Remove
5408         resetting the marker.
5410         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5411         Remove resetting the marker.
5413         * org.el (org-entry-property-inherited-from): Improve docstring.
5414         (org-entry-get-with-inheritance): Reset marker before starting the
5415         search.
5417         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5419 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
5421         * org.el (org-entry-get-multivalued-property)
5422         (org-entry-protect-space, org-entry-restore-space): New
5423         functions.
5424         (org-file-apps-defaults-macosx): Let postscript files be opened by
5425         preview.
5426         (org-time-stamp-inactive): Call `org-time-stamp'.
5427         (org-time-stamp): New argument `inactive'.  Also edit inacive
5428         stamps. Convert time stamp type.
5429         (org-open-file): Interpret the `default' value for the `command'
5430         in `org-file-apps'.
5432         * org-id.el (org-id-int-to-b36-one-digit)
5433         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5434         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
5435         b36.
5437 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
5439         * org-id.el (org-id-reverse-string): New function.
5440         (org-id-new): Use `org-id-reverse-string' to make sure the
5441         beginning chars of the ID are mutating fast.  This allows to use a
5442         directory structure to spread things better.
5443         (org-id-prefix): Changed default to nil.
5445         * org-list.el (org-move-item-down, org-move-item-up): Remember and
5446         restore the column of the cursor position.
5448         * org-remember.el (org-remember-apply-template): Remove properties
5449         from `initial'.
5451 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
5453         * org-wl.el (org-wl-open): Remove useless call to
5454         `wl-thread-open-all'.
5456         * org-remember.el (org-remember-handler): Fix bug with `bottom'
5457         location.
5459 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
5461         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5462         `org-bbdb-anniversaries'.
5464         * org.el (org-get-next-sibling, org-forward-same-level): New
5465         functions, similar to the outline versions, but invisible headings
5466         are OK.
5468 2008-09-25  Bastien Guerry  <bzg@altern.org>
5470         * org.el (org-auto-repeat-maybe): Insert a space between
5471         the timestamp's type and the timestamp itself.
5473 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
5475         * org-table.el (org-table-sum): Do not format the result with %g,
5476         it does rounding when there are too many digits.
5478         * org.el (org-map-entries): Protect the keyword-selecting variables.
5480 2008-09-23  Bastien Guerry  <bzg@altern.org>
5482         * org-agenda.el (org-agenda-to-appt): Make sure the function check
5483         against all agenda files.
5485 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
5487         * org-list.el: New file, aggregating list functions from org.el
5488         and org-export-latex.el.
5490         * org.el (org-edit-src-region-extra): New option.
5492 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
5494         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5495         time before 1am.
5497 2008-09-22  Bastien Guerry  <bzg@altern.org>
5499         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5501 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
5503         * org-plot.el (org-plot/gnuplot): Make tables starting with a
5504         hline work correctly.
5505         (org-plot/gnuplot-script): Put commas at the end of each script
5506         line.
5508 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
5510         * org.el (org-get-refile-targets): Replace links with their
5511         descriptions
5512         (org-imenu-get-tree): Replace links with their descriptions.
5514         * org-remember.el (org-remember-apply-template): Add a new
5515         expansion for adding properties to remember items.
5517         * org.el (org-add-log-setup): Skip over drawers (properties,
5518         clocks etc) when adding notes.
5520         * org-agenda.el (org-agenda-get-closed): show durations of clocked
5521         items as well as the start and end times.
5523         * org-compat.el (org-get-x-clipboard-compat): Add a compat
5524         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
5526         * org-remember.el (org-get-x-clipboard): Use the compat
5527         function to get clipboard values when x-selection-value is
5528         unavailable. Use substring-no-properties instead of
5529         set-text-properties to remove text properties from the clipboard
5530         value.
5532         * lisp/org-clock.el (org-update-mode-line): Support limiting the
5533         modeline clock string, and display the full todo value in the
5534         tooltip. Set a local keymap so mouse-3 on the clock string goes to
5535         the currently clocked task.
5536         (org-clock-string-limit): Add a custom value for the maximum
5537         length of the clock string in the modeline.
5538         (org-clock-mode-map): Add a keymap for the modeline string
5540 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
5542         * org-compat.el (org-propertize): New function.
5544 2008-09-20  Bastien Guerry  <bzg@altern.org>
5546         * org-export-latex.el (org-export-latex-tables): protect exported
5547         tables from further special chars conversion.
5548         (org-export-latex-preprocess): Preserve LaTeX environments.
5549         (org-list-parse-list): Parse descriptive lists.
5550         (org-list-to-generic, org-list-to-latex, org-list-to-html)
5551         (org-list-to-texinfo): Export descriptive lists.
5552         (org-quote-chars): Remove.
5553         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
5554         (org-export-latex-list-beginning-re): Rename to
5555         `org-list-beginning-re'
5556         (org-list-item-begin): Rename to `org-list-item-beginning'
5558 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
5560         * org.el (org-refile): Allow refiling to the last entry in the
5561         buffer.
5562         (org-get-tags-at): Fix bug when inheritance is turned off.
5564 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
5566         * org.el (org-indent-line-function): No longer check for src
5567         regions, this is too much overhead.
5569         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
5570         matching.
5572         * org.el (org-scan-tags): Make sure that tags matching is not case
5573         sensitive.  TODO keyword matching is case sensitive, however, to
5574         avoid confusion with similar words that are not meant to be
5575         keywords.
5577 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
5579         * org.el (org-get-local-tags-at): New function.
5580         (org-get-local-tags): New function.
5582         * org-exp.el (org-export-get-categories): New function.
5584         * org-agenda.el (org-sorting-choice)
5585         (org-agenda-sorting-strategy, org-agenda-get-todos)
5586         (org-agenda-get-timestamps, org-agenda-get-deadlines)
5587         (org-agenda-get-scheduled, org-agenda-get-blocks)
5588         (org-entries-lessp): Implement sorting by TODO state.
5589         (org-cmp-todo-state): New defsubst.
5591         * org-colview.el (org-colview-construct-allowed-dates): New
5592         function.
5593         (org-columns-next-allowed-value): Use
5594         `org-colview-construct-allowed-dates'.
5596         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
5597         function.
5598         (org-columns-next-allowed-value): Use
5599         `org-colview-construct-allowed-dates'.
5601 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
5603         * org.el (org-protect-slash): New function.
5604         (org-get-refile-targets): Use `org-protect-slash'.
5606         * org-agenda.el (org-global-tags-completion-table): New variable.
5608         * org-exp.el (org-export-handle-export-tags): New function.
5609         (org-export-preprocess-string): Call
5610         `org-export-handle-export-tags'.
5612         * org-plot.el: New file.
5614         * org-publish.el (org-publish-expand-components): Function removed.
5615         (org-publish-expand-projects): Allow components to have components.
5617 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
5619         * org.el (org-indent-line-function): Do not indent in regions that
5620         are external source code.
5621         (org-yank-and-fold-if-subtree): New function.
5623         * org-agenda.el (org-agenda-todayp): New function.
5624         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
5625         `org-agenda-todayp'.
5627         * org.el (org-insert-heading-respect-content)
5628         (org-insert-todo-heading-respect-content): New commands.
5629         (org-insert-heading-respect-content): New option.
5630         (org-insert-heading): Respect `org-insert-heading-respect-content'.
5632         * org-clock.el (org-clock-find-position): Make sure the note after
5633         the clock line gets moved into the new clock drawer.
5635 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
5637         * org-id.el (org-id-new): New option.
5639 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
5641         * org-table.el (org-table-copy-down): Avoid overflow during
5642         increment.  Use prefix argument 0 to temporarily disable the
5643         increment.
5645 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
5647         * org-exp.el (org-export-as-html): Do not turn on the major mode
5648         if the buffer will be killed anyway.
5649         (org-get-current-options): Exclude the #+TEXT field.
5650         (org-export-as-html): Make sure text before the first headline is
5651         a paragraph.
5653         * org-publish.el (org-publish-org-to): Tell the exporter that this
5654         buffer will be killed, so it is not necessary to do major mode
5655         initialization.
5657         * org-archive.el (org-archive-to-archive-sibling): Show empty
5658         lines after folding the archive sibling.
5660         * org.el (org-log-note-extra): New variable.
5662 2008-09-05  Bastien Guerry  <bzg@altern.org>
5664         * org.el (org-additional-option-like-keywords): Added keywords for
5665         the _QUOTE, _VERSE and _SRC environments.
5667         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
5668         exporting _QUOTE and _VERSE environments.
5670 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
5672         * org-agenda.el (org-agenda-filter-by-tag): New command.
5674         * org-exp.el (org-get-current-options): Remove angular brackets
5675         from the date entry.
5677         * org.el (org-edit-fixed-width-region): New function.
5678         (org-edit-fixed-width-region): Also try
5679         `org-edit-fixed-width-region'.
5680         (org-edit-fixed-width-region-mode): New option.
5681         (org-activate-code): Only interprete lines starting with colon
5682         plus a space as example lines.
5684         * org-remember.el (org-remember-templates): Add nil instead of
5685         empty strings to fix the length of remember templates.
5687         * org-table.el (org-calc-default-modes): Fix the time format for
5688         calc, from 12 hour to 24 hour clock.
5690 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
5692         * org-agenda.el (org-agenda-get-deadlines)
5693         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
5694         entries that are pre-warnings of deadlines or reminders.
5696         * org.el (org-sort-entries-or-items): Make numeric and alpha
5697         comparisons ignore any TODO keyword and priority cookie.
5699         * org-remember.el (org-remember-handler): Reinterpretation of the
5700         prefix argument.
5702 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
5704         * org-agenda.el (org-agenda-get-scheduled): Use new
5705         `org-scheduled' face.
5707         * org-faces.el (org-scheduled): New face.
5709         * org-wl.el (org-wl-open): Remove incorrect declaration.
5711         * org-gnus.el (org-gnus-store-link): Support for :to information
5712         in gnus links.
5714         * org-exp.el (org-export-as-html): Fixed typo in creator
5715         information.
5716         (org-export-protect-examples): New parameter indent.  Insert extra
5717         spaces only when this parameter is specified.
5718         (org-export-preprocess-string): Call `org-export-protect-examples'
5719         with an indentation parameter when exporting to ASCII.
5721         * org-remember.el (org-remember-templates)
5722         (org-remember-apply-template): Allow the file component to be a
5723         function.
5725         * org.el (org-goto-local-search-headings): Renamed from
5726         `org-goto-local-search-forward-headings'.  Added the possibility
5727         to search backwards.
5729 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
5731         * org-export-latex.el (org-export-latex): New customization
5732         group.
5734         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
5736 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
5738         * org-exp.el (org-html-do-expand): Allow {} to terminate
5739         tex macro
5741 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
5743         * org.el (org-buffer-list): Select buffers based on major mode,
5744         not on file name.
5746 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
5748         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
5749         face property.
5751         * org-colview.el (org-columns-display-here): Use
5752         `org-columns-modify-value-for-display-function'.
5754         * org-colview-xemacs.el (org-columns-display-here): Use
5755         `org-columns-modify-value-for-display-function'.
5757 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
5759         * org.el (org-columns-modify-value-for-display-function): New option.
5771         * org-publish.el (org-publish-file): Make sure the directory match
5772         for the publishing directory works correctly.
5774         * org-agenda.el (org-agenda-execute-calendar-command)
5775         (org-agenda-diary-entry): Additional optional argument.
5777 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
5779         * org-exp.el (org-export-as-html): Add attributes also in mailto
5780         and ftp links.
5782         * org.el (org-autoload): Add `org-dblock-write:columnview'.
5791 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
5793         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
5794         sure that calls from `org-export-region-as-html' do not do the
5795         special check for a subtree.
5797 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
5799         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
5801 2008-07-20  Juri Linkov  <juri@jurta.org>
5803         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
5804         new keymap `narrow-map' instead of binding "\C-xns".
5806 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
5808         * org.el (org-open-file): Use
5809         `org-open-directory-means-index-dot-org'.
5810         (org-open-directory-means-index-dot-org): New option.
5812 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
5814         * org.el (org-make-link-string): Remove link attributes from
5815         description.
5816         (org-open-at-point): Remove link attributes bevore using the path.
5818         * org-exp.el (org-export-as-html): Handle link attributes.
5820         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
5822         * org-table.el (org-table-to-lisp): New function.
5824         * org.el (org-narrow-to-subtree): Do not include the final newline
5825         into the narrowed region.
5827         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
5828         bug with user-define skipping condition.
5830 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
5832         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
5834 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
5836         * org-exp.el (org-export-html-style-default): Automatic overflow
5837         handling for pre fields.
5838         (org-export-as-ascii, org-export-as-html): Change default format
5839         for time stamp.
5841         * org-table.el (org-table-export): Offer completion for translator
5842         functions, and do not require a heading above the table.
5844         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
5845         Cater for the case of a list starting in the first line of the
5846         buffer.
5848 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
5850         * org-publish.el (org-publish-find-title): Bug fix.
5851         (org-publish-org-index): Implement new :index-style option.
5853 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
5855         * org-publish.el (org-publish-timestamp-filename): Use
5856         SHA1-encoded file names in the timestamp directory.
5858 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
5860         * org-publish.el (org-publish-needed-p): Be verbose about files
5861         published and files skipped.
5863         * org-exp.el (org-export-preprocess-string): Swap link
5864         normalization and inernal link targeting.
5866         * org-publish.el (org-publish-needed-p): Create timestamp
5867         directory when it does not exist.
5869 2008-07-04  Bastien Guerry  <bzg@altern.org>
5871         * org-clock.el (org-clock-out-when-done): Doc fix.
5873         * org.el (org-agenda-skip-unavailable-files): Doc fix.
5875         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
5876         Ignore case when searching for the COMMENT cookie at export time.
5878 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
5880         * org-exp.el (org-get-file-contents)
5881         (org-get-and-remove-property): New functions.
5882         (org-export-handle-include-files): Handle the new prefix options.
5883         (org-export-as-html): Fix the verse environment.
5885 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
5887         * org.el (org-time=, org-time<, org-time<=, org-time>)
5888         (org-time>=, org-time<>, org-2ft): New functions.
5889         (org-op-to-function): Also provide for the time testing fucntions.
5891 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
5893         * org-exp.el (org-export-html-style-default): New constant.
5895 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
5897         * org-exp.el (org-export-html-style-extra): New variable.
5898         (org-export-splice-style): New function.
5900 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
5902         * org-exp.el (org-export-plist-vars, org-export-as-html):
5903         Implement `org-export-creator-info'.
5904         (org-export-creator-info): New option.
5906 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
5908         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
5909         (org-property-drawer-re, org-clock-drawer-re): New constants.
5911 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
5913         * org-exp.el (org-icalendar-use-deadline)
5914         (org-icalendar-use-scheduled): New options.
5915         (org-icalendar-include-todo): Default changed to t.
5916         (org-print-icalendar-entries): Implement better utilization of
5917         scheduling and deadline time stamps.
5918         (org-export-target-internal-links, org-export-as-html): Allow file
5919         lines without the "file:" prefix if the file path is an absolute
5920         path or starts with ".".
5922         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
5923         lastweek etc.
5924         (org-clock-special-range): Also undertand yesterday, lastweek etc.
5926 2008-06-18  Glenn Morris  <rgm@gnu.org>
5927         * org.el (org-map-entries): Let-bind `file'.
5929 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
5931         * org.el (org-agenda-skip-archived-trees): Docstring now
5932         discourages using this.
5933         (org-scan-tags): Check for org-agenda-archives-mode.
5934         (org-map-entries): Make sure org-agenda-archives-mode is nil.
5935         (org-agenda-files): Functionality of second arg changed.
5937         * org-agenda.el (org-agenda-archives-mode): New variable
5938         (org-write-agenda, org-prepare-agenda, org-agenda-list)
5939         (org-search-view, org-todo-list, org-tags-view)
5940         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
5941         `ifmode' argument.
5942         (org-agenda-quit): Reset the archives mode.
5943         (org-agenda-archives-mode): New command.
5944         (org-agenda-set-mode-name): Include archives info.
5946 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
5948         * org.el (org-paste-subtree): Make sure the yanked headline is
5949         visible if it was yanked at a visible point.
5950         (org-move-item-up): Fix the bug with moving white space at the end
5951         of the item.
5952         (org-show-empty-lines-in-parent): New function.
5954 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
5956         * org-colview.el (org-columns-next-allowed-value): Bug fix.
5958         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
5960         * org-agenda.el (org-agenda-get-closed): Get the end time into the
5961         agenda prefix as well.
5963         * org-publish.el (org-publish-org-index): Make a properly indented
5964         list.
5966         * org.el (org-calendar-agenda-action-key): New option.
5967         (org-get-cursor-date): New function.
5968         (org-mark-entry-for-agenda-action): New command.
5969         (org-overriding-default-time): New variable.
5970         (org-read-date): Respect `org-overriding-default-time'.
5972         * org-remember.el (org-remember-apply-template): Respect the
5973         ovverriding default time.
5975         * org-agenda.el (org-agenda-action-marker): New variable.
5976         (org-agenda-action): New command.
5977         (org-agenda-do-action): New function.
5979 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
5981         * org.el (org-schedule, org-deadline): Protect scheduled and
5982         deadline tasks against changes that accidently remove the
5983         repeater.  Also show a message with the new date when done.
5985 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
5987         * org.el (org-beginning-of-line): Cater for the case when there
5988         are tags but no headline text.
5989         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
5990         it set.
5992 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
5994         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
5995         the return value is nil instead of "nil" when there is no match.
5997         * org-exp.el (org-insert-centered): Use fill-column instead of
5998         80.
5999         (org-export-as-ascii): Use string-width to measure the width of
6000         the heading.
6002         * org.el (org-diary-to-ical-string): No longer kill buffer
6003         FROMBUF, this is now done by the caller.
6005         * org-exp.el (org-print-icalendar-entries): Move the call to
6006         `org-diary-to-ical-string' out of the loop, and kill the buffer
6007         afterwords.
6009         * org-remember.el (org-remember-visit-immediately): Position
6010         cursor after moving to the note.
6011         (org-remember-apply-template): Use a text property to record the
6012         cursor position.
6013         (org-remember-handler): Align tags after pasting the note.
6015 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6017         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6019         * org-agenda.el (org-agenda-open-link): If there is an
6020         org-bbdb-name property in the current line, jump to that bbdb
6021         entry.
6023         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6024         text property, so that the agenda knows where this entry comes
6025         from.
6027         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6028         interaction between clocking-in from the agenda, and  automatic
6029         task state switching.
6031         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6033         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6034         zmacs-region stays after this command in XEmacs.
6036 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6038         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6040         * org-remember.el (org-remember-templates): Fix bug in
6041         customization type definition.
6043         * org.el (org-map-entries): New function.
6045 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6047         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6048         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6050 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6052         * org-remember.el (org-jump-to-target-location): New variable.
6053         (org-remember-apply-template): Set
6054         `org-remember-apply-template' if requested by template.
6055         (org-remember-handler): Start an idle timer to jump to
6056         remember location.
6058         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6060         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6061         file tags.
6062         (org-get-tags-at): Add the content of `org-file-tags'.
6064         * org-exp.el (org-export-handle-comments): Fix bug with several
6065         comment lines after each other.
6066         (org-number-to-roman, org-number-to-counter): New functions.
6067         (org-export-section-number-format): New option.
6069 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6071         * org-exp.el (org-export-protect-examples): Catch the case of a
6072         missing end_example line.
6074         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6075         `org-file-tags' to nil.
6077         * org-colview.el (org-columns-next-allowed-value): Handle next
6078         argument NTH to directly select a value.
6080         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6081         argument NTH to directly select a value.
6083 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6085         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6087 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6089         * org.el (org-columns-ellipses): New option.
6091 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6093         * org-colview.el (org-columns-add-ellipses): New function.
6094         (org-columns-compact-links): New function.
6095         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6096         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6097         when in agenda.
6098         (org-columns-edit-value): Fixed bug with editing values from
6099         agenda column view.
6100         (org-columns-redo): Also redo the agenda itself.
6102 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6104         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6105         option.
6107         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6109         * org-exp.el (org-export-ascii-preprocess): Renamed from
6110         `org-export-ascii-clean-string'.
6111         (org-export-kill-licensed-text)
6112         (org-export-define-heading-targets)
6113         (org-export-handle-invisible-targets)
6114         (org-export-target-internal-links)
6115         (org-export-remove-or-extract-drawers)
6116         (org-export-remove-archived-trees)
6117         (org-export-protect-quoted-subtrees)
6118         (org-export-protect-verbatim, org-export-protect-examples)
6119         (org-export-select-backend-specific-text)
6120         (org-export-mark-blockquote-and-verse)
6121         (org-export-remove-comment-blocks-and-subtrees)
6122         (org-export-handle-comments, org-export-mark-radio-links)
6123         (org-export-remove-special-table-lines)
6124         (org-export-normalize-links)
6125         (org-export-concatenate-multiline-links)
6126         (org-export-concatenate-multiline-emphasis): New functions,
6127         obtained from spliiting the export preprocessor.
6129         * org-table.el (org-table-recalculate): Improve error message if
6130         the row number is invalid.
6132 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
6134         * org-archive.el (org-archive-save-context-info): Fix bugs in
6135         customization setup and docstring.
6137         * org-exp.el (org-export-html-style): Changed the size of in the
6138         <pre> element to 90%.
6140 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
6142         * org.el (org-find-src-example-start): Function removed.
6143         (org-edit-src-find-region-and-lang): New function.
6145 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
6147         * org.el (org-edit-src-exit): New function.
6148         (org-exit-edit-mode): New minor mode.
6150         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6151         comment-like lines from protected examples.
6153         * org.el (org-edit-src-example, org-find-src-example-start)
6154         (org-protect-source-example, org-edit-special): New functions.
6156 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
6158         * org-publish.el (org-publish-project-alist): Fix typo in
6159         docstring.
6160         (org-publish-project-alist): Handle :index-title property.
6162 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
6164         * org-export-latex.el (org-export-as-latex): Make sure region
6165         bounds are correct.  Parse subtree properties relating to export.
6167         * org-exp.el (org-export-add-options-to-plist): New function.
6168         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6170 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
6172         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6173         EXPORT_TITLE.
6175         * org-exp.el (org-export-get-title-from-subtree)
6176         (org-export-as-ascii, org-export-as-html): Make sure the original
6177         region-beginning and region-end are used, even after moving
6178         point.
6179         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6180         property.
6182         * org-remember.el (org-remember-last-stored-marker): New variable.
6183         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6184         (org-remember-handler): Also use marker to remember
6185         last-stored position.
6187         * org.el (org-goto-marker-or-bmk): New function.
6189 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
6191         * org.el (org-file-properties): Renamed from `org-local-properties'.
6192         (org-scan-tags): Take file tags into account.
6193         (org-tags-match-list-sublevels): Default changed to t.
6195         * org-exp.el (org-export-as-html): Close paragraph after a
6196         footnote.
6198         * org.el (org-update-parent-todo-statistics): New function.
6200         * org-exp.el (org-icalendar-store-UID): New option.
6201         (org-icalendar-force-UID): Option removed.
6202         (org-print-icalendar-entries): IMplement UIDs.
6204 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
6206         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6208 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
6210         * org-faces.el (org-column): Document how this face is being used
6211         and why sometimes the background faces shine through.
6213         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6215         * org-publish.el (org-publish-attachment): Create publishing
6216         directory if it does not yet exist.
6218         * org-table.el (org-calc-default-modes): Change default number
6219         format to (float 8).
6221         * org.el (org-olpath-completing-read): New function.
6222         (org-time-clocksum-format): New option.
6223         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6225         * org-clock.el (org-clock-display, org-clock-out)
6226         (org-update-mode-line): Use `org-time-clocksum-format'.
6228         * org-colview-xemacs.el (org-columns-number-to-string): Use
6229         `org-time-clocksum-format'.
6231         * org-colview.el (org-columns-number-to-string): Use
6232         `org-time-clocksum-format'.
6234 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
6236         * org-id.el: New file, move from contrib to core.
6238         * org-exp.el (org-icalendar-force-UID): New option.
6240 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
6242         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6243         shifted by one day if theere is a date range without an end
6244         time.
6246         * org.el (org-try-structure-completion): New function.
6248 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
6250         * org.el (org-set-font-lock-defaults): Improve fontification of
6251         description lists.
6252         (org-insert-item): Handle description lists.
6253         (org-adaptive-fill-function): Improve auto indentation in
6254         description lists.
6256         * org-exp.el (org-export-as-html, org-export-preprocess-string):
6257         Implement VERSE environment.
6258         (org-export-preprocess-string): Implement the COMMENT
6259         environment.
6261         * org-export-latex.el (org-export-latex-preprocess): Implement
6262         VERSE environment.
6264 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
6266         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6267         option.
6269 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
6271         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6273         * org.el (org-quote-csv-field): New functions.
6275         * org-table.el (org-table-export-default-format): Remove :splice
6276         from default format, we get the same effect by not specifying
6277         :tstart and :tend.
6278         (org-table-export): Improve setup, distinguish better between
6279         interactive and non-interactive use, allow specifying the format
6280         on the fly, better protection against wrong file names.
6281         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
6282         and :tend when :splice is omitted.
6284 2008-05-09  Bernt Hansen  <bernt@norang.ca>
6286         * org-clock.el (org-clock-select-task): Make sure the selection
6287         letters are 1-9 and A-Z, no special characters.
6289 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
6291         * org-exp.el (org-export-htmlize): New group.
6292         (org-export-htmlize-output-type)
6293         (org-export-htmlize-css-font-prefix): New options.
6294         (org-export-htmlize-region-for-paste): New function.
6295         (org-export-htmlize-generate-css): New command.
6297 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
6299         * org/org.el (org-modules, org-format-latex-options):
6300         * org/org-archive.el (org-archive-stamp-time)
6301         (org-archive-save-context-info):
6302         * org/org-faces.el (org-hide):
6303         * org/org-irc.el (org-irc-parse-link):
6304         * org/org-macs.el (org-call-with-arg, org-autoload):
6305         * org/org-mew.el (org-mew-store-link):
6306         * org/org-remember.el (org-remember-store-without-prompt)
6307         (org-remember-templates): Fix typos in docstrings.
6309         * org/org-info.el (org-info-store-link): Remove leftover docstring.
6311         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6312         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6313         (org-bbdb-anniv-split): Fix typos in docstrings.
6315         * org/org-publish.el (org-publish-project-alist): Doc fixes.
6316         (org-publish-use-timestamps-flag): Reflow docstring.
6317         (org-publish-files-alist): Fix typos in docstring.
6319 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
6321         * org.el (org-set-visibility-according-to-property): New function.
6322         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6323         and compute the regular expressions, and update font-lock.
6324         (org-property-re): Allow a dash in property names.
6326         * org-archive.el (org-extract-archive-file): Insert the file name
6327         without the path into the format, to allow the location format to
6328         contain a subdirectory.
6330         * org-agenda.el (org-agenda-post-command-hook): If point is at end
6331         of buffer, and the `org-agenda-type' property undefined, use the
6332         value from the character before.
6334         * org.el (org-add-planning-info): Don't let indentation for
6335         would-be timestamp become extra whitespace at the end of headline.
6337 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
6339         * org.el (org-remove-double-quotes, org-file-contents): New
6340         functions.
6342         * org-exp.el (org-infile-export-plist): Also parse the
6343         contents of #+SETUPFILE files, recursively.
6345         * org.el (org-set-regexps-and-options): Also parse the
6346         contents of #+SETUPFILE files, recursively.
6348         * org-exp.el (org-export-handle-include-files): New function.
6349         (org-export-preprocess-string): Call
6350         `org-export-handle-include-files'.
6352         * org.el (org-delete-property-globally)
6353         (org-delete-property, org-set-property): Ignore case during
6354         completion.
6355         (org-set-property): Use `org-completing-read' instead of
6356         `completing-read'.
6358         * org.el (org-complete-expand-structure-template): New,
6359         experimental function.
6360         (org-structure-template-alist): New, experimental option.
6361         (org-complete): Call `org-complete-expand-structure-template'.
6363 2008-05-06  Bastien Guerry  <bzg@altern.org>
6365         * org-export-latex.el (org-export-latex-preprocess): Added
6366         support for blockquotes.
6368 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
6370         * org.el (org-read-date-analyze): Catch the case where only a
6371         weekday is given.
6373 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
6375         * org.el (org-set-font-lock-defaults): Make the description
6376         tag bold.
6378         * org-exp.el (org-export-as-html, org-close-li): Implement
6379         description lists.
6381 2008-05-04  Jason Riedy  <jason@acm.org>
6383         * org-table.el (*orgtbl-default-fmt*): New variable.
6384         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6385         when there is no other fmt available.
6387         (orgtbl-to-generic): Allow an explicitly nil :tstart or
6388         :tend to suppress the appropriate string.
6390         (orgtbl-to-orgtbl): New function for translating to another orgtbl
6391         table.
6393 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
6395         * org.el (org-read-date-analyze): "." as an alias for "+0" in
6396         read date.
6398         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6399         New function.
6401         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6402         New function.
6404 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
6406         * org-clock.el (org-clock-find-position): Don't include notes
6407         into clock drawer.
6409         * org-archive.el (org-archive-subtree): No longer remove an
6410         extra line after cutting the subtree.  `org-cut-subtree' already
6411         takes care of this.
6413         * org-remember.el (org-remember-handler): Only kill the target
6414         buffer if it does not contain the running clock.
6416         * org.el (org-markers-to-move): New variable.
6417         (org-save-markers-in-region, org-check-and-save-marker)
6418         (org-reinstall-markers-in-region): New function.
6419         (org-move-subtree-down, org-copy-subtree): Remember relative
6420         marker positions before cutting.
6421         (org-move-subtree-down, org-paste-subtree): Restore relative
6422         marker positions after pasting.
6424         * org-remember.el (org-remember-clock-out-on-exit): New option.
6425         (org-remember-finalize): Clock out only if the setting in
6426         `org-remember-clock-out-on-exit' requires it.
6427         (org-remember-handler): Do the cleanup in the buffer, to make sure
6428         that the clock marker remains in tact.
6430 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
6432         * org-clock.el (org-clock-goto): Widen buffer if necessary.
6433         (org-clock-in): Make sure that also tasks outside the narrowed
6434         region will be clocked in correctly.
6435         (org-clock-insert-selection-line): Widen the buffer so that we can
6436         find the correct task heading.
6438         * org.el (org-base-buffer): New function.
6440         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6441         and ";" are escaped.
6442         (org-print-icalendar-entries): Also apply
6443         `org-icalendar-cleanup-string' to the headline, not only to the
6444         summary property.
6446 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
6448         * org-exp.el (org-export-preprocess-hook): New hook.
6449         (org-export-preprocess-string): Call
6450         `org-export-preprocess-hook'.
6452         * org.el (org-font-lock-hook): New variable.
6453         (org-font-lock-hook): New function.
6454         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6456 ;; Local Variables:
6457 ;; coding: utf-8
6458 ;; add-log-time-zone-rule: t
6459 ;; End:
6461     Copyright (C) 2008  Free Software Foundation, Inc.
6463   This file is part of GNU Emacs.
6465   GNU Emacs is free software: you can redistribute it and/or modify
6466   it under the terms of the GNU General Public License as published by
6467   the Free Software Foundation, either version 3 of the License, or
6468   (at your option) any later version.
6470   GNU Emacs is distributed in the hope that it will be useful,
6471   but WITHOUT ANY WARRANTY; without even the implied warranty of
6472   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6473   GNU General Public License for more details.
6475   You should have received a copy of the GNU General Public License
6476   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
6478 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c