Keep compiler happy
[org-mode.git] / lisp / ChangeLog
blob430e09466232d614560c30caeb018b11b992f876
1 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org.el (org-tab-ind-state): New variable.
4         (org-cycle-level): New function.
5         (org-cycle-level-after-item/entry-creation): New option.
7         * org-list.el (org-cycle-item-indentation): New function.
9         * org.el (org-refile): Make prefix argument 2 refile to current
10         clock.
11         (org-priority): Interpret action `remove' as call to remove the
12         priority cookie.
14         * org-remember.el (org-remember-apply-template): Don't depend on
15         buffer name being like file name.
17 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
19         * org-clock.el (org-clock-play-sound): Expand file in
20         org-clock-sound, to allow ~ for home.
22         * org-remember.el (org-remember-handler): Set
23         text-before-node-creation even if this already looks like a node,
24         because the string might be needed on non-org-mode target files.
26         * org-agenda.el (org-agenda-open-link): Make this work in agenda
27         clocktables.
28         (org-agenda-switch-to): Follow a link at point if
29         org-return-follows-link' is set and there is nothing else to do in
30         this line.
32 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
34         * org-exp-blocks.el: Modify split separator regexp to avoid empty
35         strings.
37 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
39         * org-src.el (org-src-preserve-indentation): Document that this
40         variable is also used during export.
42         * org-exp.el (org-export-format-source-code-or-example): Preserve
43         indentation if a block has a -i option, or if
44         `org-src-preserve-indentation' is set.
46         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
47         indentation if a block has a -i option, or if
48         `org-src-preserve-indentation' is set.
50 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
52         * org.el (org-mode-map): Define the new archiving keys.
53         (org-speed-commands-default): Define an archiving key in the speed
54         command map.
55         (org-org-menu): Improve the menu structure concerning archiving.
57         * org-archive.el (org-archive-subtree-default-with-confirmation):
58         New command.
60         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
61         (org-agenda-menu): Add the new archiving commands to the menu.
62         (org-agenda-archive-default)
63         (org-agenda-archive-default-with-confirmation): New commands.
64         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
65         call `org-agenda-archive-with'.
66         (org-agenda-archive-with): New function.
68         * org-table.el (org-table-convert-region): Inert spaces around "|"
69         to avoid line beginnings like "|-1" which will be mistaken as
70         hlines.
72 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
74         * org.el (org-offer-links-in-entry): Return nil if there are no
75         links, t if a link has been selected.
76         (org-open-at-point): Open attachment directory when called in the
77         headline and there are no links in the entry body.
78         (org-speed-commands-default): Add "o" for open-at-point as a speed
79         command.
81         * org-attach.el (org-attach-reveal): Optional prefix arg
82         IF-EXISTS, which avoids creating the attachment directory if it
83         does not yet exist.
85         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
86         MATCH.
88 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
90         * org.el ("abbrev"): Work with abbrev tables only after they have
91         been loaded.
93         * org-list.el (org-list-send-list): Fix bug related to match
94         data.
96         * org-latex.el (org-export-latex-fontify): Apply verbatim
97         emphasis.
98         (org-export-latex-make-header): Insert \obeylines if line breaks
99         should be preserved.
101         * org-exp.el (org-export-protect-verbatim): Add an
102         `org-verbatim-emph' property to such text.
104 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
106         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
107         (org-print-icalendar-entries): Skip entries where the timestamp is
108         not a deadline and not scheduled, if the user requests that.
110         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
111         before an opening quote.
113         * org-archive.el (org-archive-subtree): Keep archive after
114         archiving something.
116         * org-id.el (org-id-update-id-locations): Add archive files if
117         that is required by `org-id-extra-files'.
119 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
121         * org-src.el (org-src-window-setup): New option.
122         (org-src-switch-to-buffer): New function.
123         (org-edit-src-exit): Add optional argument CONTEXT and use it to
124         restore window configuration.
125         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
126         Call `org-src-switch-to-buffer'.
128         * org.el (org-default-properties): Add STYLE property.
129         (org-files-list): Use the function call to get the files.
130         (org-additional-option-like-keywords): Add SETUPFILE to completion
131         list.
133 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
135         * org-table.el (org-table-convert-region): Correctly interpret
136         quoting in csv import.
138         * org.el (org-icompleting-read): Make iswitchb completion work
139         with lists and tables.
141         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
142         while pushing the mobile agenda.
144 2009-10-25  John Wiegley  <jwiegley@gmail.com>
146         * org-clock.el
147         (org-clock-auto-clock-resolution): Now takes three values: nil, t
148         and `when-no-clock-is-running'.
149         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
150         whether or not to resolve Org buffers on clock in.
152 2009-10-26  Bastien Guerry  <bzg@altern.org>
154         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
155         variable.
157 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
159         * org-clock.el (org-clock-has-been-used): New variable.
160         (org-clock-in): Set `org-clock-has-been-used'.
161         (org-clock-save): Save only if clock data has been used or created
162         during this session.
164 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
166         * org-clock.el (org-clock-persist): New value, to store only the
167         clock history.
168         (org-clock-save): Don't save the clock if only the history should
169         be stored.
170         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
171         when restoring a saved clock.
173 2009-10-24  John Wiegley  <jwiegley@gmail.com>
175         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
176         `org-time-clock-use-fractional'.
178         * org.el (org-time-clocksum-use-fractional)
179         (org-time-clocksum-fractional-format): Two new customizable
180         variables which allow the user to select fractional times (1.25
181         instead of 1:25) in the `org-clock-display' report.
183 2009-10-23  John Wiegley  <jwiegley@gmail.com>
185         * org-habit.el (org-habit-build-graph): None of the arguments
186         should be optional.
187         (org-habit-parse-todo, org-habit-deadline)
188         (org-habit-get-priority, org-habit-get-faces)
189         (org-habit-build-graph): Further simplifications by storing all
190         past, scheduled and deadline dates as a number of days past the
191         epoch, and not as times.
193         * org-habit.el (org-habit-warning-face)
194         (org-habit-warning-future-face): Removed because these are no
195         longer used.
196         (org-habit-deadline, org-habit-deadline-repeat): Now always
197         returns a date; computed if there was a scheduled repeater but no
198         deadline repeater.
199         (org-habit-get-priority): Further improvements to the priority
200         algorithm.  In particular, items past due should always appear
201         before items due or not yet due.
202         (org-habit-get-faces): Greatly simplified the logic, now that
203         `org-habit-deadline' always returns a valid time.
205 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
207         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
208         New option.
210         * org.el (org-tag-alist): Fix customization type.
212 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
214         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
215         Make sure the regexp search can fail without throwing an error.
216         (org-mobile-apply): Save the inbox buffer after removing
217         successfully applied changes.
219 2009-10-22  John Wiegley  <jwiegley@gmail.com>
221         * org-habit.el (org-habit-build-graph): Fix to the graph building
222         when last DONE date is earlier than `org-habit-preceding-days'.
224         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
225         time is reported after the user comes back (but before they
226         resolve time).
228         * org.el (org-get-repeat): Change so that this function can be
229         called with either `org-scheduled-string' or
230         `org-deadline-string'.
232         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
233         to find the scheduled date.
235         * org-clock.el (org-clock-auto-clock-resolution): Renamed
236         `org-clock-disable-clock-resolution', since negatives don't sound
237         good in customization variables.
238         (org-clock-in): Don't use the auto-resolution logic if the user is
239         clocking into a different task while an active clock is running.
240         This then allows the default behavior of clocking out of the open
241         task and then into the new task.
243         * org-habit.el (org-habit-parse-todo): Generate an error if a
244         habit has a scheduled repeat period < 1.
245         (org-habit-get-faces): Fixes to the way that colors are computed.
246         (org-habit-build-graph): The graph wasn't displaying beyond any
247         day that had two completions in it.
249         * org.el (org-modules): Made this variable more consistent, since
250         it was referring to Org, OrgMode and Org-mode, whereas the docs
251         for the variable always refer to Org-mode.
253 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
255         * org.el (org-repeat-re): The changed org-repeat-re no longer
256         matched simple +2d type repeaters. Fix it so it does.
258 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
260         * org-latex.el (org-export-latex-preprocess): Protect the vspace
261         macro in the VERSE environment.
263 2009-10-20  John Wiegley  <jwiegley@gmail.com>
265         * org-habit.el (org-habit-get-priority): A new function that
266         determines the relative priority of a habit, based on how long
267         past its scheduled date it is, and how near the deadline is.
269         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
270         using `org-habit-get-priority'.
272         * org-habit.el (org-habit-build-graph): Start displaying colors
273         from the first scheduled date, if that date is earlier than the
274         first completion date.
276         * org-habit.el: Changed all "color" variables to faces, and made
277         them appropriate for light and dark backgrounds.
279         * org-habit.el (org-habit-duration-to-days): Made this function
280         more general.
281         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
283         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
284         habits, since they don't use DEADLINE anymore.
286         * org.el (org-repeat-re, org-display-custom-time)
287         (org-timestamp-change): Extended to support the new ".+N/N"
288         syntax, used for habits.
290         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
291         variable reference.
293         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
294         modeline when habits are being displayed (if that module is being
295         loaded).
297 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
299         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
300         idle time using the xscreensaver extension.
301         (org-user-idle-seconds): Use X11 idle time if available.
303 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
305         * org-agenda.el (org-agenda-next-line): New command.
306         (org-agenda-previous-line): New commands.
307         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
308         commands.
309         (org-agenda-follow-mode): Do the follow immediately if the mode is
310         turned on here.
311         (previous-line, next-line): Replace keys with the corresponding
312         org functions.
313         (org-agenda-mode-map): Bind backspace and delete to the scrolling
314         command.
316         * org.el (org-icompleting-read): Turn off partial completion mode
317         for the duration of this completion round.
319         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
320         macros in author lines and similar stuff.
322         * org.el (org-file-tags): Fix docstring.
323         (org-get-buffer-tags): Add the #+FILETAGS tags.
324         ("ecb"): Maks ecb show context after jumping into an Org file.
326 2009-10-20  John Wiegley  <johnw@newartisans.com>
328         * org-agenda.el (org-finalize-agenda): Draw habit consistency
329         graphs after everything else in the buffer has been setup.
331 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
333         * org-mobile.el (org-mobile-apply): Count success and failure.
335         * org.el (org-indent-line-function): Fix regexp replace problem.
337 2009-10-19  John Wiegley  <johnw@newartisans.com>
339         * org-clock.el (org-clock-disable-clock-resolution): New
340         customization variable that disable automatic clock resolution on
341         clock in.
342         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
343         not automatically resolve anything.  This is does not affect
344         idle-time resolution, however, if `org-clock-idle-time' is set.
346 2009-10-19  John Wiegley  <johnw@newartisans.com>
348         * org-habit.el: New file, which implements code to build a "habit
349         consistency graph".
351         * org-agenda.el (org-agenda-get-deadlines)
352         (org-agenda-get-scheduled): Display consistency graphs when
353         outputting habits into the agenda.  The graphs are always relative
354         to the current time.
355         (org-format-agenda-item): Added new parameter `habitp', which
356         indicates whether we are formatting a habit or not.  Do not
357         display "extra" leading information if habitp is true.
359         * org.el (org-repeat-re): Improved regexp to include .+ and ++
360         leaders for repeat strings.
361         (org-get-repeat): Now takes a string parameter `tagline', so the
362         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
364 2009-10-19  John Wiegley  <johnw@newartisans.com>
366         * org-agenda.el (org-agenda-auto-exclude-function): New
367         customization variable for allowing the user to create an "auto
368         exclusion" filter for doing context-aware auto tag filtering.
369         (org-agenda-filter-by-tag): Changes to support the use of
370         `org-agenda-auto-exclude-function'.  See the new manual addition,.
372 2009-10-18  John Wiegley  <johnw@newartisans.com>
374         * org.el (org-files-list): Don't attempt to return a file name for
375         Org buffers which have no associated file.
377         * org-agenda.el (org-agenda-do-action): Fixed a typo.
379 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
381         * org-mobile.el (org-mobile-locate-entry): Interpret files
382         relative to org-directory.
383         (org-mobile-inbox-for-pull): Document the best location for this
384         file.
385         (org-mobile-check-setup): Verify `org-directory'.
386         (org-mobile-create-index-file): Sort the files to be listed in
387         index.org.
389 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
391         * org.el (org-fast-tag-selection): Add a way to display a
392         description for a tag group. This is done by adding a string to
393         either the startgroup or endgroup cell.
395 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
397         * org-clock.el (org-clock-resolve, org-resolve-clocks)
398         (org-emacs-idle-seconds): Use `org-float-time' instead of
399         `time-to-seconds'
401 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
403         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
404         type.
406         * org.el (org-pre-cycle-hook): Document that `empty' can also be
407         the value of ARG when doing local cycling.
409 2009-10-17  John Wiegley  <johnw@newartisans.com>
411         * org-clock.el (org-clock-resolve-clock): If keeping or
412         subtracting time results in a clock out at a time in the past, and
413         if the resolution occurred due to idleness or invoking `M-x
414         org-resolve-clocks', remember that past moment in time.  On the
415         next clock in, the user will be prompted to see if they want to
416         back-date their new clock to then.
417         (org-clock-resolve): Do not jump the user to the location of a
418         dangling clock if the resolution is occuring due to an idle
419         timeout.  In that case there is typically only one dangling clock,
420         the active one, and there is no value gained by shuffling their
421         windows around to show it to them.  Being prompted to resolve an
422         idle clock should be as inobtrusive as possible.
423         (org-resolve-clocks-if-idle): New function that resolves only the
424         currently active clock if the user has exceeded the time returned
425         by `org-user-idle-seconds', based on the value of
426         `org-clock-idle-time'.
427         (org-clock-in): If, after resolving clocks,
428         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
430         * org-clock.el (org-clock-resolve-clock): New function that
431         resolves a clock to a specific time, closing or resuming as need
432         be, and possibly even starting a new clock.
433         (org-clock-resolve): New function used by `org-resolve-clocks'
434         that sets up for the call to `org-clock-resolve-clock'.  It
435         determines the time to resolve to based on a single-character
436         selection from the user to either keep time, subtract away time or
437         cancel the clock.
438         (org-resolve-clocks): New user command which resolves dangling
439         clocks -- that is, open but not active -- anywhere in the file
440         list returned by `org-files-list'.
441         (org-clock-in): Automatically resolve dangling clocks whenever a
442         user clocks in.
443         (org-clock-cancel): If the user cancels the solely clock in a
444         LOGBOOK, remove the empty drawer.
446         * org-clock.el (org-clock-idle-time): New user customizable option
447         for detecting whether the user has left a clock idle.  Note: it is
448         only used in this commit to test whether it's worthwhile to check
449         OS X to get the Mac user's current idle time.  If the Emacs idle
450         time is less than the value, the user hasn't been away long enough
451         to be worth checking (a more expensive test than just getting
452         Emacs idle time).
453         (org-user-idle-seconds, org-mac-idle-seconds)
454         (org-emacs-idle-seconds): This three functions, in conjunction
455         with the user customization variable `org-clock-idle-time', return
456         the number of seconds (as a floating point) that the user has been
457         away from their Emacs (or, if running on OS X, their computer).
459         * org-clock.el (org-find-open-clocks): New function that returns a
460         list of all open clocks in the given FILE.  Note that each clock
461         it returns is a cons cell of the format (MARKER . START-TIME).
462         This "clock" value is used by several of the new clock module
463         utility functions.
464         (org-is-active-clock): New inline function which tests whether the
465         given clock value is the same as the currently active clock.
466         Returns non-nil if this is the case.
467         (org-with-clock-position): New macro that evaluates FORMS with
468         point in the buffer and at the position of the given clock.
469         Changes to the current clock are global.
470         (org-with-clock): New macro that evaluates FORMS with point in the
471         buffer and at the position of the given clock.  However, changes
472         to the current clock are local and have no effect on the user's
473         active clock.  This allows, for example, far any clock to be
474         cancelled without cancelling the active clock.
475         (org-clock-clock-in): New inline function that switches the active
476         clock to the given clock.  If either the argument RESUME, or the
477         global `org-clock-in-resume', are non-nil, it will resume a clock
478         that was previously left open.
479         (org-clock-clock-out): New inline function that clocks out the
480         given clock value without affecting the currently active clock.
481         (org-clock-clock-cancel): New inline function that cancels the
482         given clock value without affecting the currently active clock.
484         * org-clock.el (org-clock-in): Before creating
485         `org-clock-mode-line-timer', check to make sure an older timer is
486         not currently running.
487         (org-clock-out): Accept new third parameter `at-time', which
488         permits a clock to be clocked out at a specific time.  Note that
489         no attempt is made to verify that the clock out time is later than
490         the clock in time.
492         * org.el (org-files-list): New utility function for returning a
493         list of all open org-mode buffers, plus all files used to build
494         the agenda buffer.  Note that not all the files will necessarily
495         be visited by a buffer at time of call.
496         (org-entry-beginning-position): Like the function
497         `line-beginning-position', this inline function returns the
498         beginning position of the current heading/entry.
499         (org-entry-end-position): Like the function `line-end-position',
500         this inline function returns the end position of the current
501         heading/entry.
503 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
505         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
506         a header line.
508 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
510         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
512 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
514         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
515         entries that have no tags.
516         (org-agenda-search-view): New customize group.
517         (org-agenda-search-view-search-words-only): New option.
518         (org-search-view): Implement substring search.
520 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
522         * org.el (org-outline-level): Add doc string.
524 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
526         * org-inlinetask.el (org-inlinetask-export): Re-introduce
527         variable.
528         (org-inlinetask-export-handler): Only export inline task if the
529         user option calls for it.
531 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
533         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
534         END if present.
536 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
538         * org-latex.el (org-export-latex-tables): Don't format in
539         protected regions.
541 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
543         * org-src.el (org-edit-src-code)
544         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
545         macro editing.
547         * org-agenda.el (org-prefix-category-max-length): New variable.
548         (org-format-agenda-item): Use `org-prefix-category-max-length'.
549         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
551 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
553         * org-mobile.el (org-mobile-create-index-file): Improve the
554         listing of tags and todo keywords.
556         * org-latex.el (org-export-latex-format-image): New function.
557         (org-export-latex-links): Use `org-export-latex-format-image'.
559 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
561         * org-inlinetask.el (org-inlinetask-get-current-indentation)
562         (org-inlinetask-remove-terminator): New functions.
563         (org-inlinetask-export-handler): Terminate the description list.
565         * org-exp.el (org-export-select-backend-specific-text): Remove the
566         region markers.
568         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
569         tasks without content.
571         * org-clock.el: Make sure the clock-in target position does not
572         move to a different node by widening the buffer.
574         * org-html.el (org-export-html-format-image): Wrap image into
575         figure div only when there is a caption.
577         * org-archive.el (org-archive-mark-done): Change default value to
578         nil.
580 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
582         * org.el (org-context): Call `bobp', not `eobp'.
584         * org-clock.el (org-clock-cancel): Remove quotes from marker
585         variables.
587         * org.el (org-read-date-prefer-future): New allowed value `time'.
588         (org-read-date-analyze): Shift day to tomorrow depending on time
589         entered and value of `org-read-date-prefer-future'.
591 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
593         * org.el (org-set-tags-to): New command.
595         * org-mobile.el (org-mobile-action-alist): Add more options and
596         update the docstring.
597         (org-mobile-apply-flags): Parse for and use the data.
599         * org-latex.el (org-export-latex-set-initial-vars): Also check in
600         the plist.
602         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
603         keyword.
605         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
607 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
609         * org-inlinetask.el (org-inlinetask-export): Option removed.
610         (org-inlinetask-export-handler): Better export.
612         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
613         (org-export-as-xoxo): Run the new hook.
615         * org-html.el (org-export-html-final-hook): New hook.
616         (org-export-as-html): Run the new hook.
618         * org-docbook.el (org-export-docbook-final-hook): New hook.
619         (org-export-as-docbook): Run the new hook.
621         * org-ascii.el (org-export-ascii-final-hook): New hook.
622         (org-export-as-ascii): Run the new hook.
624         * org-mobile.el (org-mobile-create-sumo-agenda): Call
625         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
627         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
628         space character as the character before the ^/_.
629         (org-export-latex-final-hook): New hook.
630         (org-export-as-latex): Run `org-export-latex-final-hook'.
632 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
634         * org-macs.el (org-if-unprotected-at): Fix docstring.
636         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
637         text in the prefix (if category is a link).
639         * org-latex.el (org-export-latex-preprocess): Deal properly with
640         empty lines in verse environments.
642         * org.el (org-format-latex-header): Inline fullpage.sty.
644         * org-footnote.el (org-footnote-create-definition): Reveal context
645         to add a new footnote definition.
647         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
648         the index file.
649         (org-mobile-files): New option.
650         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
651         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
652         functions.
653         (org-mobile-push): Start by creating the files lists.
654         (org-mobile-copy-agenda-files): Move killing the buffer to after
655         the save-excursion has exited.
656         (org-mobile-write-checksums): Write checksums also for files in
657         sub-directories.
659         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
660         org-table-recalculate when cursor is in TBLFM line.
662         * org-list.el (org-renumber-ordered-list): Fix cursor position
663         when bullet length has changed.
665 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
667         * org.el (org-format-latex): Mention `org-format-latex-options' in
668         the docstring.
670 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
672         * org.el (org-agenda-get): New function.
674         * org-agenda.el (org-agenda-post-command-hook): No longer move
675         point away from end of line.
676         (org-agenda-add-entry-text, org-agenda-collect-markers)
677         (org-finalize-agenda, org-agenda-mark-clocking-task)
678         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
679         (org-agenda-entry-text-show, org-agenda-highlight-todo)
680         (org-agenda-compare-effort, org-agenda-filter-apply)
681         (org-agenda-later, org-agenda-change-time-span)
682         (org-agenda-post-command-hook, org-agenda-show-priority)
683         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
684         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
685         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
686         (org-agenda-open-link, org-agenda-copy-local-variable)
687         (org-agenda-switch-to, org-agenda-check-no-diary)
688         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
689         (org-agenda-add-note, org-agenda-change-all-lines)
690         (org-agenda-priority, org-agenda-set-tags)
691         (org-agenda-set-property, org-agenda-set-effort)
692         (org-agenda-toggle-archive-tag, org-agenda-date-later)
693         (org-agenda-show-new-time, org-agenda-date-prompt)
694         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
695         (org-agenda-clock-in, org-agenda-bulk-mark)
696         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
697         `org-get-at-bol'.
699         * org-colview.el (org-columns-display-here)
700         (org-columns-edit-allowed, org-agenda-columns): Use
701         `org-get-at-bol'.
703 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
705         * org.el (org-special-ctrl-a/e): Improve documentation and
706         customize type.
707         (org-end-of-line): Don't jump to after the ellipsis.
708         (org-mode-map): Bind <home> and <end> as well.
710 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
712         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
713         space after #+ as comments.
714         (org-open-at-point): Run `org-follow-link-hook' always.
716         * org-latex.el (org-export-latex-emph-format): Use better commands
717         to insert special characters in verbatim snippets.
719 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
721         * org-faces.el (org-copy-face): New function.  Use it to create
722         various faces formerly created by using `copy-face'.
724         * org-agenda.el (org-prepare-agenda): Don't officially mark this
725         window dedicated.
726         (org-agenda-quit): Kill the frame containing the agenda window if
727         that frame was created for the agenda.
729 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
731         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
732         stamp in the agenda.
734 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
736         * org-mobile.el (org-mobile-create-index-file): Add the list of
737         TODO keywords, and the list of drawers to the index file.
739         * org-agenda.el (org-prepare-agenda): Reset
740         `org-drawers-for-agenda'.
741         (org-prepare-agenda): Uniquify list of drawers.
743         * org.el (org-complex-heading-regexp-format): New variable.
744         (org-set-regexps-and-options): Define
745         `org-complex-heading-regexp-format'.
746         (org-drawers-for-agenda): New variable.
747         (org-map-entries): Bind `org-drawers-for-agenda'.
748         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
750         * org-remember.el (org-go-to-remember-target)
751         (org-remember-handler): Use `org-complex-heading-regexp-format'.
753 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
755         * org-agenda.el (org-agenda-highlight-todo): Fix text property
756         problem.
758         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
759         the capture file, and make it non-configurable.
761         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
762         always with `invisible-ok'.
763         (org-store-link): No error when there is nothing to link to in the
764         agenda.
766         * org-list.el (org-update-checkbox-count): Insert changed cookie
767         before the old, to avoid problems with invisibility at the end of
768         the line.
769         (org-update-checkbox-count): Insert changed cookie before the old,
770         to avoid problems with invisibility at the end of the line.
772         * org.el (org-sort-entries-or-items): Include the final newline.
773         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
774         lines for fontification.
775         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
776         (org-prepare-dblock): Store the current indentation of the BEGIN
777         line.
778         (org-update-dblock): Apply the indentation of the begin line to
779         the rest of the block.
780         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
781         (org-startup-folded): New allowed value `showeverything'.
782         (org-startup-options): Add STARTUP keyword `showeverything'.
783         (org-set-startup-visibility): Respect value `showeverything' in
784         org-startup-folded.
786 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
788         * org.el (org-closest-date): Fix issue with past preference.
790         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
792         * org-archive.el (org-archive-set-tag)
793         (org-archive-subtree-default): New commands.
795         * org-mobile.el (org-mobile-create-index-file): Fix link to
796         capture file.
797         (org-mobile-copy-agenda-files): Create the capture file if it does
798         not exist.
800         * org-clock.el (org-clock-clocktable-default-properties): New
801         option.
802         (org-clock-report): Use
803         `org-clock-clocktable-default-properties'.
805 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
807         * org.el (org-iswitchb-completing-read): Fix typo.
809         * org-crypt.el: New file.
811         * org.el: Add an entry for org-crypt.
813 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
815         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
816         consistency.
817         (org-batch-store-agenda-views): New function.
818         (org-mobile-force-id-on-agenda-items): Mention variable.
819         (org-agenda-title-append): Define variable.
820         (org-write-agenda): New export to Org files.
821         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
822         (org-agenda): Allow to keep the restricted file list if a special
823         variable is bound to t.
824         (org-agenda): Define a special agenda view for working on flagged
825         entries.
826         (org-agenda-get-restriction-and-command): List the new agenda
827         view.
828         (org-agenda-show-the-flagging-note): New command.
829         (org-agenda-mode-map): New key `?' for looking at the flagging
830         note.
832         * org.el (org-autoload): Autoload org-mobile.el.
833         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
835         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
837 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
839         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
840         statements.
841         (org-table-get-remote-range): Match indented #+TBLNAME
842         statements.
844         * org.el (org-convert-to-odd-levels)
845         (org-convert-to-oddeven-levels): Work also correctly if the file
846         is in outline-mode.
848 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
850         * org.el (org-store-link): When in agenda buffer, link to
851         referenced entry.
852         (org-add-planning-info): Remove spaces at eol.
854         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
855         property.
857 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
859         * org-latex.el (org-export-latex-first-lines): Fix problem with
860         LaTeX export of first line and selected subtree.
862         * org.el (org-shifttab): Interpret arg differently when using only
863         odd levels.
865 2009-09-09  Bastien Guerry  <bzg@altern.org>
867         * org.el (org-check-agenda-file): Use a more explicit message
869 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
871         * org-exp.el (org-export-remove-special-table-lines): Don't remove
872         normal lines.
874 2009-09-08  Bastien Guerry  <bzg@altern.org>
876         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
877         prompt in the temporary window.
879         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
880         prefix for marked entries in the agenda view.
882 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
884         * org.el (outline-end-of-subtree): Bugfix: advise this function in
885         a way that prevents any trailing character from being displayed.
887 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
889         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
890         menu.
892         * org-exp.el (org-export-remove-special-table-lines): Remove bad
893         slow regexp match.
895 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
897         * org-latex.el (org-export-latex-preprocess): Do not protect in
898         the LaTeX header.
900         * org-src.el (org-edit-src-save): Save window setup while saving.
901         (org-edit-src-code): Use new buffer name construction scheme.
903 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
905         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
906         variable.
907         (org-agenda-entry-text-cleanup-hook): New hook.
908         (org-agenda-get-some-entry-text): Remove matches of
909         `org-agenda-entry-text-exclude-regexps' and run the hook
910         `org-agenda-entry-text-cleanup-hook'.
912         * org.el (org-offer-links-in-entry): New argument ZERO to
913         implement a link with index zero.
914         (org-cycle-show-empty-lines): Not keep empty line under header
915         hidden.
916         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
917         to nil for special completion.
918         (org-store-link): Don't error before the first heading.
920         * org-agenda.el (org-agenda-open-link): Pass the prefix to
921         `org-offer-links-in-entry'.
923 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
925         * org-agenda.el (org-agenda-quit): Provide the window argument for
926         `window-dedicated-p', Emacs 22 needs it.
927         (org-format-agenda-item): If the category is a link, arrange for
928         invisible text to replaced with spaces.
929         (org-compile-prefix-format): Add the extra space.
930         (org-prefix-category-length): New variable.
932         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
933         references from TOC lines.
935         * org.el (org-selected-window): New variable.
937         * org-table.el (org-table-edit-formulas): Remember the selected
938         window.
939         (org-table-fedit-finish, org-table-fedit-abort): Select the window
940         that was originally selected.
942         * org-exp.el (org-export-preprocess-apply-macros): Scan the
943         expansion of a macro for more macro definitions.
945         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
946         invisibility overlay starts on the newline.
948 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
950         * org-protocol.el (org-protocol-store-link)
951         (org-protocol-remember, org-protocol-open-source): Add autoloads.
953         * org-compat.el (org-float-time): New function.
955         * org.el (org-clock-update-time-maybe)
956         (org-sort-entries-or-items, org-do-sort)
957         (org-evaluate-time-range, org-time-string-to-seconds)
958         (org-closed-in-range): Use `org-float-time'.
960         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
961         (org-timer-seconds):  Use `org-float-time'.
963         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
964         (org-clock-sum, org-dblock-write:clocktable)
965         (org-clocktable-steps):  Use `org-float-time'.
967         * org-agenda.el (org-agenda-last-marker-time)
968         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
970         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
971         function.
973         * org-exp.el (org-get-file-contents): Only protect lines that
974         really need it.
976         * org-html.el (require): Require cl for compilation.
978         * org.el:  Avoid using `default-major-mode'.
980         * org-plot.el (require): Require CL only at compile time.
982         * org-exp.el (require): Require CL only at compile time.
984         * org-agenda.el (org-agenda-quit): When the agenda window is
985         dedicated, remove other windows before exiting, so that the frame
986         really will be killed.
988         * org-exp.el (org-export-handle-include-files): Reset START and
989         END for each loop cycle.
991 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
993         * org.el (org-eval-in-calendar): Use
994         `org-select-frame-set-input-focus'.
996         * org-compat.el (org-select-frame-set-input-focus): New function.
998         * org.el (org-update-statistics-cookies): New function.
999         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1001 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1003         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1004         after the local variables are set.
1006         * org-latex.el (org-export-latex-protect-amp): New function.
1007         (org-export-latex-links): Protect link ampersands in tables.
1009         * org-exp.el (org-export-select-backend-specific-text): Match in
1010         two steps, to avoid regexp problems.
1012         * org.el (org-offer-links-in-entry): Improve working with many and
1013         duplicate links.
1015         * org-agenda.el (org-agenda-show-1): Make more consistent with
1016         normal cycling.
1017         (org-agenda-cycle-show): Make more consistent with normal cycling.
1019         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1020         website.
1022 2009-08-30  Bastien Guerry  <bzg@altern.org>
1024         * org-latex.el (org-export-latex-first-lines): Bugfix.
1026 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
1028         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1029         about new effort.
1031         * org.el (org-set-effort): New function.
1032         (org-mode-map): New key for effort setting command.
1034         * org-agenda.el (org-agenda): Keep window setup when calling
1035         agenda from within agenda window.
1036         (org-agenda-mode-map): New keys for effort setting commands.
1037         (org-agenda-menu): Add effort setting commands to menu.
1038         (org-agenda-set-property, org-agenda-set-effort): New functions.
1040         * org-latex.el (org-export-latex-tables): Fix
1041         `org-table-last-alignment' and `org-table-last-column-widths' if
1042         the first column has been removed.
1044 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
1046         * org.el (org-remove-timestamp-with-keyword): Only remove in
1047         entry, not in subtree.
1049         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1050         emacs lisp.
1052         * org.el (org-open-at-point): When on headline, offer all strings
1053         in entry.
1055         * org-remember.el (org-remember-templates): Documentation fix.
1057         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1058         `org-get-last-sibling' instead of the outline versions of these
1059         functions.
1060         (org-get-last-sibling): New function.
1061         (org-refile): Use `org-get-next-sibling' instead of the outline
1062         version of this function.
1063         (org-clean-visibility-after-subtree-move): Use
1064         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1065         outline versions of these functions.
1067 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
1069         * org-agenda.el (org-prepare-agenda): When creating a new frame
1070         for the agenda, make the window dedicated.
1072         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1074         * org-table.el (org-table-align): Change the order of reinsertion
1075         and deletion, to avoid problems with overlays following the table.
1077         * org.el (org-parse-time-string): Better error message.
1078         (org-show-subtree): Use org-end-of-subtree.
1080         * org-macs.el (org-goto-line): New defsubst.
1082         * org.el (org-open-file, org-change-tag-in-region)
1083         (org-fast-tag-show-exit): Don't use `goto-line'.
1085         * org-table.el (org-table-align, org-table-insert-column)
1086         (org-table-delete-column, org-table-move-column)
1087         (org-table-sort-lines, org-table-copy-region)
1088         (org-table-paste-rectangle, org-table-wrap-region)
1089         (org-table-get-specials, org-table-rotate-recalc-marks)
1090         (org-table-get-range, org-table-recalculate)
1091         (org-table-edit-formulas, org-table-fedit-convert-buffer)
1092         (org-table-show-reference, org-table-highlight-rectangle): Don't
1093         use `goto-line'.
1095         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1096         (org-edit-src-exit): Don't use `goto-line'.
1098         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1100         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1101         Don't use `goto-line'.
1103         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1105         * org-colview.el (org-columns, org-columns-redo)
1106         (org-agenda-columns): Don't use `goto-line'.
1108         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1109         use `goto-line'.
1111         * org-agenda.el (org-agenda-mode): Force visual line motion off.
1112         (org-agenda-add-entry-text-maxlines): Improve docstring.
1113         (org-agenda-start-with-entry-text-mode): New option.
1114         (org-agenda-entry-text-maxlines): New option.
1115         (org-agenda-entry-text-mode): New variable.
1116         (org-agenda-mode): Set initial value of
1117         `org-agenda-entry-text-mode'.
1118         (org-agenda-mode-map): Add the `E' key.
1119         (org-agenda-menu): Add entry text mode to the menu.
1120         (org-agenda-get-some-entry-text): Fix line count bug.
1121         (org-finalize-agenda): Apply entry text mode if appropriate.
1122         (org-agenda-entry-text-show-here): New function.
1123         (org-agenda-entry-text-show): New function.
1124         (org-agenda-entry-text-hide): New function.
1125         (org-agenda-view-mode-dispatch): Add entry text mode to the view
1126         key menu.
1127         (org-agenda-entry-text-mode): New command.
1128         (org-agenda-set-mode-name): Add entry text mode to the mode line
1129         string.
1130         (org-agenda-undo, org-agenda-get-restriction-and-command)
1131         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1132         `goto-line'.
1134 2009-08-26  Bernt Hansen  <bernt@norang.ca>
1136         * org-clock.el (org-notify): Bugfix.
1138 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
1140         * org-agenda.el (org-agenda-open-link): Handle multiple links and
1141         check for after-string.
1143         * org-gnus.el (org-gnus-store-link): Simplify.
1145         * org.el (org-latex-regexps): Don't add extra empty lines for
1146         display formulas.
1148 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
1150         * org-agenda.el (org-agenda-get-some-entry-text): New function.
1151         (org-agenda-add-entry-text): Use
1152         `org-agenda-get-some-entry-text'.
1154         * org.el (org-cycle-separator-lines): Update docstring.
1155         (org-cycle-show-empty-lines): Handle negative values for
1156         `org-cycle-show-empty-lines'.
1158         * org-exp.el (org-export-protect-sub-super): New function.
1159         (org-export-normalize-links): Protect the url of plain links from
1160         supscript and superscript processing.
1162         * org-remember.el (org-remember-escaped-%): New function.
1163         (org-remember-apply-template): Use `org-remember-escaped-%' to
1164         detect escaped % signs.
1166 2009-08-23  Bastien Guerry  <bzg@altern.org>
1168         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1169         sound when showing the notification.
1171         * org-clock.el (org-notify): New function.
1172         (org-clock-notify-once-if-expired): Use `org-notify'.
1174         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1175         and `gnus-article-mode' separately.
1176         (gnus-summary-article-header): Fix the declare-function.
1178 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
1180         * org-exp.el (org-export-format-source-code-or-example): Translate
1181         language.
1183         * org-src.el (org-src-lang-modes): New variable
1184         (org-edit-src-code): Translate language.
1186         * org-exp.el (org-export-format-source-code-or-example): Deal wit
1187         the new structure of the `org-export-latex-listings-langs'
1188         variable.
1190         * org-latex.el (org-export-latex-listings-langs): Change structure
1191         of the variable from plist to alist.
1193 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
1195         * org.el (org-in-commented-line): New function.
1197 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
1199         * org.el (org-hide-block-toggle): Make folded blocks searchable.
1201 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
1203         * org.el (org-flag-drawer): More useful error.
1205 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
1207         * org-remember.el (org-remember-apply-template): Use
1208         org-icompleting-read.
1210         * org-publish.el (org-publish): Use org-icompleting-read.
1212         * org-colview.el (org-columns-edit-value, org-columns-new)
1213         (org-insert-columns-dblock): Use org-icompleting-read.
1215         * org-colview-xemacs.el (org-columns-edit-value)
1216         (org-columns-new, org-insert-columns-dblock): Use
1217         org-icompleting-read.
1219         * org-attach.el (org-attach-delete-one, org-attach-open): Use
1220         org-icompleting-read.
1222 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
1224         * org.el (org-hierarchical-todo-statistics): Improve docstring.
1225         (org-version): Return the version text.
1226         (org-org-menu): Add a menu entry for the new bug reporter.
1227         (org-submit-bug-report): New command.
1229         * org-list.el (org-hierarchical-checkbox-statistics): Improve
1230         docstring.
1232         * org.el (org-emphasis-regexp-components): Add "`" to set of
1233         pre-emphasis characters.
1235         * org-latex.el (org-export-latex-classes): Always include the soul
1236         package.
1237         (org-export-latex-emphasis-alist): Use \st for strikethough.
1239         * org-exp-blocks.el (org-export-blocks-preprocess): Use
1240         `indent-code-rigidly' to indent.
1242         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1243         properties only if MATCH really is a string.
1245 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
1247         * org-latex.el (org-export-latex-packages-alist): Fix
1248         customization type.
1250         * org.el (org-create-formula-image): Also use
1251         `org-export-latex-packages-alist'.
1253         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1254         (org-export-as-html): Format footnotes correctly.
1256 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
1258         * org.el (org-fast-tag-selection): Avoid text properties on tags
1259         in the alist.
1261         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1262         text properties on the match element.
1264 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
1266         * org.el (org-set-regexps-and-options): Make sure the list of done
1267         keywords is not invalid.
1269         * org-exp.el (org-export-interpolate-newlines): New function.
1271 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
1273         * org.el (org-format-latex): Avoid nested overlays.
1275         * org-latex.el (org-export-latex-listings-langs): Add a few more
1276         languages.
1278         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1279         ignore newlines and space before the first macro argument.
1281         * org-latex.el (org-export-latex-tables): Remove save-excursion
1282         around `org-table-align'.
1284 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
1286         * org.el (org-export-html-special-string-regexps): Definition
1287         moved into org.el
1289         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1290         in macro calls.
1292 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
1294         * org-latex.el (org-export-latex-listings)
1295         (org-export-latex-listings-langs): New options.
1297         * org-exp.el (org-export-format-source-code-or-example): Use
1298         listing package if requested by the user.
1300 2009-08-08  Bastien Guerry  <bzg@altern.org>
1302         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1303         command before actually switching to a buffer.
1305 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
1307         * org-exp.el (org-get-file-contents): Only quote org lines when
1308         the markup is src or example.
1310         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1311         New option
1312         (org-agenda-get-day-entries): Remember deadline results and pass
1313         them on into the function getting the scheduling information.
1314         (org-agenda-get-scheduled): Accept deadline results as parameters
1315         and maybe skip some entries.
1316         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1318         * org.el (org-insert-heading): When respecting content, do not
1319         convert current line to headline.
1321         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1322         cheeeeeck the hd marker
1323         (org-clock-in): Also set the hd marker.
1324         (org-clock-out): Also set the hd marker.
1325         (org-clock-cancel): Reset markers.
1327         * org.el (org-clock-hd-marker): New marker.
1329         * org-faces.el (org-agenda-clocking): New face.
1331         * org-agenda.el (org-agenda-mark-clocking-task): New function.
1332         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1334         * org.el (org-modules): Add org-track.el.
1336         * org-agenda.el (org-agenda-bulk-marked-p): New function.
1337         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1338         `org-agenda-bulk-marked-p'.
1339         (org-agenda-bulk-toggle): New command.
1341 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1343         * org.el (org-move-subtree-down): Hide subtree if it was folded,
1344         not just the body.
1346         * org-remember.el (org-remember-finalize): Avoid buffer-modified
1347         messages.
1349 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
1351         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
1352         before gnuplot can read it.
1354 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
1356         * org-latex.el (org-export-latex-first-lines): Fix bug with
1357         finding the end of the first lines.
1359         * org.el (org-create-formula-image): Remove the -E option for
1360         dvipng.
1362         * org-exp.el (org-default-export-plist): Respect #+BIND.
1363         (org-export-confirm-letbind): New function.
1365         * org.el (org-paste-subtree): Test the kill ring entry if it is
1366         going to be used.
1367         (org-copy-subtree): Use `org-forward-same-level'.
1368         (org-forward-same-level): Respect the `invisibe-ok' arg for
1369         back-to-heading.
1371 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
1373         * org.el (org-table-map-tables): Make sure cursor is back at table
1374         beginning after funcall.
1376         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1377         handled before children, and do not error if an entry is not
1378         found, probably because it hase been remove when the parent was
1379         archived or refiled.
1381         * org.el (org-ido-completing-read): Accept straight lists for
1382         completion as well as alists.
1384         * org-html.el (org-export-as-html): Fix parenthesis error in
1385         footnore code.
1387         * org-timer.el (org-timer-cancel-timers): Renamed from
1388         `org-timer-cancel-timers'.
1390         * org.el (org-cycle-internal-local): Fix problem with finding next
1391         invisible line.
1393 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
1395         * org-list.el (org-list-send-list): Call
1396         `org-list-goto-true-beginning' instead of
1397         `org-list-find-true-beginning', which does not exist.
1399         * org-timer.el (org-timer-reset-timers): Use `mapc'.
1400         (org-timer-set-timer): Do not assign to heading.
1402         * org-id.el (org-id-open): Quote function name.
1404         * org-macs.el (org-unmodified): Turn off recording undo
1405         information while running inside the macro.
1407         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
1408         variable.
1409         (org-indent-mode): Remember and restore value of
1410         org-hide-leading-stars before `org-indent-mode'.
1412         * org-table.el (org-table-export): Also work in file-less
1413         buffers.
1415         * org.el (org-startup-indented): New option.
1416         (org-startup-options): Add new options indent and noindent.
1417         (org-unfontify-region): Remove line-prefix and wrap-prefix
1418         properties.
1419         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
1420         hooks.
1421         (org-promote, org-demote): Run the new hooks.
1423         * org-table.el (org-table-align): Replace leading \n as well.
1425         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
1426         and `line-wrap' text properties.
1428         * org-compat.el (org-kill-new): New function.
1430         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
1431         `line-wrap' text properties.
1433         * org-indent.el: New file.
1435 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
1437         * org.el (org-provide-todo-statistics): Tweak docstring.
1439         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
1441 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
1443         * org-exp.el (org-export-as-org): Insert the "-source" string
1444         before the extension.
1446         * org.el (org-read-date): Make sure the calendar is in the current
1447         frame.
1448         (org-set-emph-re): Remove the ? from the post-match.
1449         (org-emphasis-regexp-components): Add backslash to the
1450         postmatch class.
1451         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
1452         optional so that also lines at the end of the buffers will still
1453         be matched as headlines.
1455         * org-table.el (org-table-error-on-row-ref-crossing-hline):
1456         Variable made obsolete.
1457         (org-table-relative-ref-may-cross-hline): New option.
1458         (org-table-find-row-type): Honow the new option
1459         `org-table-relative-ref-may-cross-hline'.
1461 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
1463         * org-table.el (org-table-cut-region, org-table-copy-region): Work
1464         on single field if no active region.
1466 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
1468         * org-latex.el (org-export-latex-make-header): Only insert title
1469         if one is defined.
1471         * org.el (org-make-options-regexp): Allow empty values.
1473         * org-html.el (org-export-as-html): Move hrule detection to after
1474         plain list handling.
1476 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
1478         * org-html.el (org-format-org-table-html): Fix colgroup tags.
1480 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
1482         * org.el (org-cycle-internal-local): Improved version of finding
1483         next visible line.
1484         (org-cycle-hide-drawers): Only hide drawers if this is really
1485         necessary.
1486         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
1487         org-version of this function in Org-mode.  We use advice to
1488         implement this change, so that future changes to this function in
1489         outline.el wil be handled properly.
1490         (org-forward-same-level, org-backward-same-level): New commands.
1492 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
1494         * org.el (org-remove-empty-overlays-at)
1495         (org-clean-visibility-after-subtree-move): New functons.
1496         (org-move-subtree-down): Simplify cleanup of display.
1498 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
1500         * org-mac-message.el (org-mac-message-get-links): Improve
1501         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
1502         "s".  Fix the return value.
1503         (org-mac-message-insert-flagged): Simplify.
1505         * org.el (org-refile-get-location): Tamper with refile history o
1506         that history contains compete matches instead of the entered
1507         string.
1509 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
1511         * org.el (org-store-link): Never store a link to an inline task.
1513         * org-inlinetask.el (org-inlinetask-insert-task): New command.
1515         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
1516         inline tasks when positioning footnotes.
1518         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
1519         function.
1521         * org.el (org-refile): Remove the END line when archiving an
1522         inline task that does have an END line.
1524         * org-archive.el (org-archive-subtree): Remove the END line when
1525         archiving an inline task that does have an END line.
1527         * org-macs.el (org-with-limited-levels): New macro.
1528         (org-get-limited-outline-regexp): New function.
1530         * org-exp.el (org-export-format-source-code-or-example): Fix bug
1531         that did not enumerate first line.
1532         (org-export-mark-radio-links): Skip matches in links.
1534 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
1536         * org.el (org-activate-plain-links): Make single-match.
1537         (org-adapt-indentation): Fix docstring.
1539         * org-macs.el (org-unmodified): Turn of modification hooks while
1540         running this macro.
1542 2009-08-02  Bastien Guerry  <bzg@altern.org>
1544         * org.el (org-adapt-indentation): Slightly improve the docstring.
1545         (org-occur): Sends an error when the user inputs an empty string.
1546         (org-priority): Bugfix: the tag alignement should happen within
1547         save-excursion.
1549 2009-07-31  Bastien Guerry  <bzg@altern.org>
1551         * org.el (org-make-link-regexps): Don't exclude parentheses from
1552         `org-plain-link-re'
1553         (org-cycle-internal-local): When locally cycling, switch directly
1554         from CHILDREN to FOLDED if there is no subtree
1555         (org-cycle): Update the docstring to document the new behavior of
1556         `org-cycle-internal-local'.
1558 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
1560         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
1561         an abbreviated format for days.
1563 2009-07-27  Bastien Guerry  <bzg@altern.org>
1565         * org-protocol.el (org-protocol-default-template-key): New
1566         option.
1568         * org.el (org-refile): Bugfix: save-excursion before reading the
1569         refile target, otherwise cursor moves might confuse `org-refile'.
1571         * org-html.el (org-export-as-html): Bugfix: correctly convert the
1572         footnote reference before the footnote itself.
1574         * org.el (org-toggle-heading): Bugfix: correctly convert list
1575         items before the first headline.
1577         * org-html.el (org-export-html-footnote-format): New option for
1578         formatting the footnote reference.
1579         (org-export-as-html): Use the new option.
1581         * org.el (org-provide-todo-statistics): Allow a list of TODO
1582         keywords to compute statistics against headlines containing a
1583         keyword from this list.
1584         (org-update-parent-todo-statistics): Possibly use the new allowed
1585         value of `org-provide-todo-statistics'.
1587 2009-07-26  Bastien Guerry  <bzg@altern.org>
1589         * org-timer.el: Add autoload cookie.
1591         * org.el (org-occur-link-in-agenda-files): New function.
1593         * org-timer.el (org-timer-last-timer): New variable.
1595         * org-agenda.el (org-agenda-mode-map): New key for
1596         org-timer-set-timer called from the agenda.
1598         * org.el (org-mode-map): New key for org-timer-set-timer.
1600         * org-timer.el (org-timer-reset-timers)
1601         (org-timer-show-remaining-time, org-timer-set-timer): New
1602         functions.
1604         * org-clock.el (org-show-notification): Update the docstring.
1606         * org.el (org-provide-todo-statistics): Allow new value
1607         'all-headlines for this option, which includes entries with no
1608         TODO keywords in the todo statistics.
1609         (org-update-parent-todo-statistics): Possibly use the new
1610         'all-headline value from `org-provide-todo-statistics'.
1612 2009-07-25  Bastien Guerry  <bzg@altern.org>
1614         * org-clock.el (org-dblock-write:clocktable): Add a new option
1615         :timestamp which allows display of timestamps in clock reports.
1617         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
1618         list to a subtree, preserving the structure of the list.
1619         (org-set-emph-re): Make the last element optional in the regexp.
1620         This regexp now matches an emphasized string at the end of a line.
1622         * org-list.el (org-list-goto-true-beginning)
1623         (org-list-make-subtree, org-list-make-subtrees): New functions.
1625         * org.el (org-eval-in-calendar): Select the right frame.
1626         (org-save-frame-excursion): Remove this macro.
1628 2009-07-24  Bastien Guerry  <bzg@altern.org>
1630         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
1631         trying to find the beginning of a list.
1633         * org-exp.el (org-get-file-contents): Use a new argument: markup.
1634         When present, tell org-get-file-contents not to protect org-like
1635         lines.
1637         * org-id.el (org-id-uuid-program): New option to set the name of
1638         the uuidgen program.
1639         (org-id-method): Use `org-id-uuid-program'.
1640         (org-id-new): Use `org-id-uuid-program'.
1642 2009-07-23  Bastien Guerry  <bzg@altern.org>
1644         * org-exp.el (org-export-number-lines): Allow whitespace in code
1645         references.  Allow the -r switch to remove the references in the
1646         source code even when the lines are not numbered: the labels can
1647         be explicit enough.
1649         * org.el (org-fontify-whole-heading-line): New option.
1650         (org-set-font-lock-defaults): Use the new option.
1652         * org-clock.el (org-show-notification-handler): New option.
1653         (org-show-notification): Use the new option.
1655 2009-07-21  Bastien Guerry  <bzg@altern.org>
1657         * org.el (org-eval-in-calendar): Fix a bug about calendar
1658         navigation when `calendar-setup' value is 'calendar-only.
1660 2009-07-19  Bastien Guerry  <bzg@altern.org>
1662         * org.el (orgstruct++-mode): Fix typo in docstring.
1663         (org-insert-link): Clean up: (or (...)) => (...)
1664         (org-insert-link): Use TAB for stored links completion.
1666 2009-07-18  Bastien Guerry  <bzg@altern.org>
1668         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
1669         building the list of targets.
1671         * org-remember.el (org-remember-delete-empty-lines-at-end): New
1672         option.
1673         (org-remember-handler): Use the new option.
1675 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
1677         * org.el (org-tags-sort-function): New option for sorting tags.
1678         (org-set-tags): Use the new option to sort tags.
1680         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
1681         premature deletion of the data when using org-plot in a script.
1683 2009-07-17  Bastien Guerry  <bzg@altern.org>
1685         * org-clock.el (org-clock-in-prepare-hook): New hook.
1686         (org-clock-in): Use this new hook.
1688 2009-07-16  Bastien Guerry  <bzg@altern.org>
1690         * org.el (org-special-ctrl-a/e): Explicitely bind the value
1691         'reversed for this option to the "true line boundary first"
1692         behavior.
1693         (org-tags-match-list-sublevels): Document the 'indented value for
1694         this variable.
1696         * org-latex.el (org-export-latex-first-lines): Fix problem with
1697         publishing the region.
1699         * org-exp.el (org-export-format-source-code-or-example): Fix
1700         bad line numbering when exporting examples in HTML.
1702 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
1704         * org-colview.el (org-format-time-period): Formats a time in
1705         fractional days as days, hours, mins, seconds.
1706         (org-columns-display-here): Add special handling for SINCE and
1707         SINCE_IA to format for display.
1709         * org.el (org-time-since): Add a function to get the time since an
1710         org timestamp.
1711         (org-entry-properties): Add two new special properties: SINCE and
1712         SINCE_IA. These give the time since any active or inactive
1713         timestamp in an entry.
1714         (org-special-properties): Add SINCE, SINCE_IA.
1715         (org-tags-sort-function): Add custom declaration for tags
1716         sorting function.
1717         (org-set-tags): Sort tags if org-tags-sort-function is set
1719 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
1721         * org-clock.el (org-clock-goto): Find hidden headlines as well.
1723         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
1725         * org-plot.el (org-plot/add-options-to-plist): Add timeind
1726         option.
1728 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
1730         * org-publish.el (org-publish-remove-all-timestamps): New function.
1731         (org-publish-all): Remove all timestamp files if `org-publish-all'
1732         is called with a prefix argument.
1734         * org-list.el (org-indent-item): Fix typo.
1735         (org-item-indent-positions): Normalize ordered bullet.
1737         * org-html.el (org-export-html-home/up-format): New option.
1738         (org-export-as-html): Insert the up and HOME links.
1740 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
1742         * org-html.el (org-export-as-html): Insert the title into the
1743         option plist.
1744         (org-export-html-insert-plist-item): New function.
1745         (org-export-as-html): Call `org-export-html-insert-plist-item'.
1747         * org-macs.el (org-set-local): Make a local variable, do not make
1748         the variable buffer-local!
1750         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
1752         * org-html.el (org-export-as-html): Call `org-install-letbind'.
1754         * org-docbook.el (org-export-as-docbook): Call
1755         `org-install-letbind'.
1757         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
1759         * org-exp.el (org-infile-export-plist): Read BIND lines.
1760         (org-install-letbind): New function.
1761         (org-export-as-org, org-export-preprocess-string): Call
1762         `org-install-letbind'.
1764         * org-src.el (org-edit-src-exit): Untabify the example before
1765         returning to Org.
1767         * org-list.el (org-list-demote-modify-bullet): New option.
1768         (org-first-list-item-p): Save point.
1769         (org-fix-bullet-type): New optional argument FORCE-BULLET.
1770         (org-indent-item): Honor `org-list-demote-modify-bullet'.
1771         (org-item-indent-positions): Return bullet types along with
1772         indentation.
1774 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
1776         * org.el (org-show-entry): Hide drawers.
1778 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
1780         * org-footnote.el (org-footnote-auto-adjust): New option.
1781         (org-footnote-auto-adjust-maybe): New function.
1782         (org-footnote-new, org-footnote-delete): Call
1783         `org-footnote-auto-adjust-maybe'.
1785         * org.el (org-startup-options): Add new footnote-related
1786         keywords.
1788         * org-publish.el (org-publish-timestamp-filename): Additional
1789         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
1790         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
1791         TRUE-PUB-DIR.  Pass them through to
1792         `org-publish-timestamp-filename'.
1793         (org-publish-update-timestamp): Additional arguments PUB-DIR and
1794         PUB-FUNC, which are included in the hash.
1795         (org-publish-file): Delay timestamp test until the publishing
1796         function is known.
1798 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
1800         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
1801         setting the deadline.
1803         * org.el (org-read-date-final-answer): New variable.
1804         (org-read-date): Store the final answer string, including the date
1805         from the calendar, for reuse by agenda bulk commands.
1807         * org-publish.el (org-publish-attachment): Fix publishing of
1808         attachments.
1810         * org-latex.el (org-export-latex-quotation-marks): Fix export of
1811         quotation makrs in parenthesis.
1812         (org-remove-initial-hash): New function.
1813         (org-export-latex-preprocess): Fix bug with infinite loop if
1814         environment is not properly closed.
1816         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
1817         when indented.
1819         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
1820         highlight also when indented.
1822 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
1824         * org-footnote.el (org-footnote-renumber-fn:N): New command.
1825         (org-footnote-action): Offer renumbering.
1827         * org.el (org-cycle): Honor the `integrate' value of
1828         org-cycle-include-plain-lists'.
1830         * org-list.el (org-cycle-include-plain-lists): New allowed value
1831         `internal'.  Improve the docstring.
1833         * org.el (org-set-autofill-regexps): Improve the paragraph-start
1834         regexp to work better with LaTeX commands.
1836 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
1838         * org-feed.el (org-feed-update): fix problem with non-existing
1839         buffer.
1840         (org-feed-skip-http-headers): New function.
1841         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
1842         (org-feed-get-feed): Fix command line arguments for curl.
1844 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
1846         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
1847         and eps extensions.
1849 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
1851         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
1852         loaded.
1854         * org.el (org-map-entries): No longer force
1855         `org-tags-match-list-sublevels' to t during a todo-only tags
1856         search.
1858 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
1860         * org-latex.el (org-export-latex-low-levels): Allow user-defined
1861         environment.
1862         (org-export-latex-subcontent): Handle user-defined environment.
1864         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
1865         the View dispatcher.
1867         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
1868         `make-overlay'.
1870         * org-latex.el (org-export-as-pdf): Protect match data during call
1871         to shell-quote-argument.
1873         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
1874         (org-agenda-view-mode-dispatch): New function.
1876 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
1878         * org-agenda.el (org-agenda-mode): Reset list of marks.
1879         (org-agenda-mode-map): Define new keys for refile and bulk action.
1880         (org-agenda-menu): Add menu itesm for refile and bulk action.
1881         (org-agenda-refile): New function.
1882         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
1883         (org-agenda-marked-entries): New variable.
1884         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
1885         (org-agenda-remove-all-bulk-action-marks)
1886         (org-agenda-bulk-action): New functions/commands.
1888 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
1890         * org-exp.el (org-get-file-contents): Protect org-like lines in
1891         included files.
1892         (org-export-format-source-code-or-example): Remove newlines.
1894         * org-latex.el (org-export-latex-links): Check for no-description
1895         marking.
1897         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
1898         argument separator back to comma.
1899         (org-export-normalize-links): Mark links without description.
1901 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
1903         * org-exp.el (org-infile-export-plist): Fix bug in macro
1904         processing.
1906         * org-agenda.el (org-agenda-clock-out): Update line after clocking
1907         out.
1908         (org-agenda-highlight-todo): Fix bug with highlighting.
1910 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
1912         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
1913         new alignment strings.
1915         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
1916         command list.
1917         (org-table-align): Check for forced align type.
1919         * org.el (org-self-insert-command): Add yas/expand to command
1920         list.
1922         * org-clock.el (org-clock-in-hook): New hook.
1923         (org-clock-in): Run `org-clock-in-hook.
1924         (org-clock-out-hook): New hook.
1925         (org-clock-out): Run `org-clock-out-hook.
1926         (org-clock-cancel-hook): New hook.
1927         (org-clock-cancel): Run `org-clock-cancel-hook.
1928         (org-clock-goto-hook): New hook.
1929         (org-clock-goto): Run `org-clock-goto-hook.
1931 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
1933         * org.el (org-store-link): Better default description for link to
1934         Org-mode headline.
1936         * org-exp.el (org-export-generic): Autoload the generic exporter
1937         function.
1938         (org-export): Implement the `g' key for the generic exporter.
1940 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
1942         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
1943         and for zbacktab'.
1945         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
1947         * org-exp.el (org-infile-export-plist): Get macros also from
1948         #+SETUPFILE.
1950 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
1952         * org-colview.el (org-columns-capture-view): Protect vertical bars
1953         in column values.
1954         (org-columns-capture-view): Exclude comment and archived trees.
1956         * org-colview-xemacs.el (org-columns-capture-view): Protect
1957         vertical bars in column values.
1958         (org-columns-capture-view): Exclude comment and archived trees.
1960         * org.el (org-quote-vert): New function.
1962         * org-latex.el (org-export-latex-verbatim-wrap): New option.
1964         * org-exp.el (org-export-format-source-code-or-example): Use
1965         `org-export-latex-verbatim-wrap'.
1967         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
1968         time stamps.
1970         * org-html.el (org-export-table-row-tags): New option.
1971         (org-format-org-table-html): Rename `nlines' to `nline', use new
1972         option.
1975 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
1977         * org-exp-blocks.el: Declare functions and variables.
1979         * org-remember.el (org-remember-templates): Allow the headline
1980         element to be a function.
1981         (org-remember-apply-template): If the headline is a function, call
1982         it to get the true function.
1984         * org-clock.el (org-clock-menu): New function.
1985         (org-clock-update-mode-line): Update help string.
1986         (org-clock-modify-effort-estimate): New function.
1987         (org-clock-mark-default-task): New function.
1989         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
1990         minutes as input.
1991         (org-org-menu): Add new clocking stuff.
1992         (org-clock-is-active): New function.
1994 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
1996         * org.el (org-open-non-existing-files): Improve docstring.
1998 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2000         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2001         option.
2002         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2004         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2006         * org-list.el (org-get-checkbox-statistics-face): Use the new
2007         faces.
2009         * org-faces.el (org-checkbox-statistics-todo)
2010         (org-checkbox-statistics-done): New faces.
2012 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
2014         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2015         (org-edit-src-exit): Better cursor positioning when returning from
2016         editing.
2018         * org-latex.el (org-export-latex-use-verb): New variable.
2019         (org-export-latex-emph-format): Prefer \texttt over \verb when
2020         org-export-latex-use-verb is set.
2022 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
2024         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2025         at normal indentation.
2027         * org-html.el (org-export-html-close-lists-maybe): Also look at
2028         normal indentation.
2030         * org-remember.el (org-remember-handler): Abort remember if the
2031         buffer is empty.
2033         * org-src.el (org-edit-src-content-indentation): New option.
2034         (org-edit-src-exit): Apply extra indentation.
2036         * org-exp.el (org-export-format-source-code-or-example): Run
2037         `org-src-mode-hook'.
2039         * org-src.el (org-src-mode-hook): New variable.
2040         (org-edit-src-code): Run `org-src-mode-hook'.
2042 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2044         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2046         * org-src.el (org-edit-src-get-indentation): New function.
2047         (org-edit-src-code): Base indentation on the begin line.
2049 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
2051         * org-gnus.el (org-gnus-store-link): Require message.el in
2052         org-gnus-store-link.
2054 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2056         * org-src.el: New file, split out of org.el
2058         * org-docbook.el (org-export-as-docbook): Better indentation
2059         treatment.
2061         * org-macs.el (org-replace-match-keep-properties): New function.
2063         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2064         preprocessing of center and quote and verse blocks.
2066         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2067         (org-export-as-docbook): Close lists when original indentation
2068         mandates it.
2070         * org-html.el (org-export-html-close-lists-maybe): New function.
2071         (org-export-as-html): Close lists when original indentation
2072         mandates it.
2074         * org-list.el (org-list-end): Respect the stored "original"
2075         indentation when determining the end of the list.
2077         * org-exp.el (org-export-replace-src-segments-and-examples):
2078         Remember indentation correctly.
2080 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
2082         * org-clock.el (org-clock-update-mode-line): Apply face
2083         org-mode-line-clock.
2085         * org-faces.el (org-mode-line-clock): New face.
2087 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
2089         * org-gnus.el (org-gnus-store-link): Fix bug where
2090         `org-gnus-store-link' used wrong subject when called in an article
2091         buffer.  Patch provided by fengli AT gmail DOT com.
2093 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
2095         * org-exp.el (org-export-format-source-code-or-example): Remember
2096         the original indentation of source code snippets and examples.
2098         * org-latex.el (org-export-as-latex): Relocate the table of
2099         contents.
2101         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2103         * org-agenda.el (org-run-agenda-series): Scope global options also
2104         when creating the agenda buffer.
2106 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
2108         * org.el (org-adapt-indentation): Improve documentation.
2109         (org-insert-property-drawer): Respect org-adapt-indentation when
2110         inserting the drawer.
2111         (org-remove-flyspell-overlays-in): New function.
2112         (org-do-emphasis-faces, org-activate-plain-links)
2113         (org-activate-code, org-fontify-meta-lines-and-blocks)
2114         (org-activate-angle-links, org-activate-footnote-links)
2115         (org-activate-bracket-links, org-activate-dates)
2116         (org-activate-target-links, org-activate-tags): Remove flyspell
2117         overlays.
2119 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
2121         * org.el (org-edit-src-save): New function.
2123         * org-clock.el (org-clock-out-switch-to-state): New option.
2124         (org-clock-out): Honor `org-clock-out-switch-to-state'.
2126         * org-compat.el (org-compatible-face): Improve macro.
2128         * org.el (org-global-properties-fixed): Add default for
2129         CLOCK_MODELINE_TOTAL.
2131         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2132         andd tend.
2133         (org-clock-sum-current-item): Optional argument TSTART, pass it to
2134         org-clock-sum.
2135         (org-clock-get-sum-start): New function.
2137         * org.el (org-startup-options): New keywords blockhide and
2138         blockshow.
2139         (org-mode): Add new invisibility spec.
2140         (org-set-startup-visibility): Hide block on startup if so
2141         desired.
2142         (org-hide-block-startup): New option.
2143         (org-block-regexp): New constant.
2144         (org-hide-block-overlays): New variable.
2145         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2146         (org-show-block-all, org-hide-block-toggle-maybe)
2147         (org-hide-block-toggle): New functions.
2148         (org-edit-src-exit): Do not quote lines starting with # and no +
2149         behind it.
2150         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2151         entry.
2153 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
2155         * org.el (org-buffer-property-keys): Add Effort property for
2156         completion.
2158 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
2160         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2161         when retrieving total clocked time in the subtree.
2163         * org.el (org-quoting-blocks): New variable.
2165 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2167         * org-table.el (org-table-store-formulas)
2168         (org-table-get-stored-formulas, org-table-fix-formulas)
2169         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2170         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2172         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2173         indented #+TBLFM line.
2175         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2176         indented #+TBLFM line.
2178         * org-colview.el (org-dblock-write:columnview): Allow indented
2179         #+TBLFM line.
2181         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2182         indented #+TBLFM line.
2184         * org-clock.el (org-dblock-write:clocktable): Allow indented
2185         #+TBLFM line.
2187 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
2189         * org-exp.el (org-export-format-source-code-or-example): Make
2190         editing indented blocks work correctly.
2192         * org.el (org-edit-src-nindent): New variable.
2193         (org-edit-src-code, org-edit-fixed-width-region)
2194         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2195         editing indented blocks work correctly.
2197 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
2199         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2200         indented blocks.
2201         (org-export-format-source-code-or-example): Fix indentation of
2202         blocks.
2203         (org-export-remove-indentation): New function.
2204         (org-export-select-backend-specific-text): Allow backend-specific
2205         code to be indented.
2206         (org-export-mark-blockquote-verse-center): Allow markers to be
2207         indented.
2209         * org.el (org-fontify-meta-lines): New function.
2210         (org-set-font-lock-defaults): Call the new fontification
2211         function.
2213         * org-faces.el (org-meta-line): New face
2214         (org-block):  New face.
2216 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2218         * org.el (org-treat-insert-todo-heading-as-state-change)
2219         (org-treat-S-cursor-todo-selection-as-state-change): New
2220         variables.
2221         (org-insert-todo-heading): Honor
2222         `org-treat-insert-todo-heading-as-state-change'.
2223         (org-shiftright, org-shiftleft): Honor
2224         `org-treat-S-cursor-todo-selection-as-state-change'.
2225         (org-inhibit-logging): New variable.
2227 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
2229         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2230         range for marker position checking.
2232         * org-latex.el (org-export-latex-first-lines): Fix bug when
2233         exporting a region.
2235 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
2237         * org-exp.el (org-export-push-to-kill-ring): Protect using
2238         x-set-selection, because that does not always work.
2240         * org-agenda.el (org-agenda-list): Apply the new face
2241         `org-agenda-date-today'.
2243         * org-faces.el (org-agenda-date-today): New face.
2245 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
2247         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2248         creating appointments.
2250         * org-latex.el (org-export-latex-low-levels): Fix customization
2251         type.
2253         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2254         priority commands.
2256         * org-agenda.el (org-agenda-priority): Disable priority commands.
2258         * org.el (org-enable-priority-commands): New option.
2260         * org-colview-xemacs.el (org-columns-compute)
2261         (org-columns-number-to-string): Fix problems with empty fields.
2263         * org-colview.el (org-columns-compute)
2264         (org-columns-number-to-string): Fix problems with empty fields.
2266         * org-exp.el (org-export-push-to-kill-ring): New function.
2267         (org-export-copy-to-kill-ring): New option.
2269         * org-latex.el (org-export-as-latex): Call
2270         `org-export-push-to-kill-ring'.
2272         * org-html.el (org-export-as-html): Call
2273         `org-export-push-to-kill-ring'.
2275         * org-docbook.el (org-export-as-docbook): Call
2276         `org-export-push-to-kill-ring'.
2278         * org-ascii.el (org-export-as-ascii): Call
2279         `org-export-push-to-kill-ring'.
2281         * org-exp.el (org-export-show-temporary-export-buffer): New
2282         option.
2284         * org-latex.el (org-export-as-latex): Use
2285         `org-export-show-temporary-export-buffer'.
2287         * org-html.el (org-export-as-html): Use
2288         `org-export-show-temporary-export-buffer'.
2290         * org-docbook.el (org-export-as-docbook): Use
2291         `org-export-show-temporary-export-buffer'.
2293         * org-ascii.el (org-export-as-ascii-to-buffer): Use
2294         `org-export-show-temporary-export-buffer'.
2296         * org-exp.el (org-export-show-temporary-export-buffer): New
2297         option.
2298         (org-export-push-to-kill-ring): New function.
2300         * org-colview.el (org-columns-compile-map): New variable.
2301         (org-columns-new, org-columns-compute)
2302         (org-columns-number-to-string, org-columns-uncompile-format)
2303         (org-columns-compile-format): Implement new operators.
2305 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
2307         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2309         * org-html.el (org-export-html-xml-declaration): New option.
2310         (org-export-as-html): Use `org-export-html-xml-declaration'.
2312         * org-list.el (org-update-checkbox-count): Make property
2313         dependent.
2315         * org.el (org-hierarchical-todo-statistics): New option.
2316         (org-update-parent-todo-statistics): Modified to handle recursive
2317         statistics.
2319 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
2321         * org-publish.el (org-publish): Make this function behave
2322         correctly in interactive use when called with a prefix argument.
2324         * org.el (org-todo-statistics-hook): New hook.
2325         (org-update-parent-todo-statistics): Use new hook.
2326         (org-log-into-drawer): New function.
2327         (org-add-log-setup): Use the new `org-log-into-drawer' function to
2328         determine if we should be logging into a drawer.
2329         (org-log-into-drawer): Update docstring.
2330         (org-default-properties): Add LOG_INTO_DRAWER as a property.
2332         * org-list.el (org-checkbox-statistics-hook): New hook.
2333         (org-update-checkbox-count-maybe): Use new hook.
2335         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
2336         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
2337         to kill ring.
2339 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
2341         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
2342         a line.
2344 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
2346         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2347         better bufer-generating mechanism.
2348         (org-edit-src-find-buffer): New function.
2350         * org-icalendar.el (org-print-icalendar-entries): Don't check for
2351         archive tag, this is already done by `org-agenda-skip'.
2352         data while constructing lost of tags.
2354 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
2356         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2357         as argument separator in macros.
2359         * org-html.el (org-export-as-html): Add xml declaration.
2361 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
2363         * org.el (org-after-sorting-entries-or-items-hook): New hook.
2364         (org-sort-entries-or-items): Run the new hook.
2365         (org-after-refile-insert-hook): New hook.
2366         (org-refile): Run `org-after-refile-insert-hook'.
2368         * org-agenda.el (org-agenda-get-progress): Never take time of day
2369         from headline when displaying progress.
2371         * org-latex.el (org-export-latex-complex-heading-re): New variable.
2372         (org-export-as-latex): Force the correct regexp in the
2373         preprocessor buffer.
2374         (org-export-latex-set-initial-vars): Set
2375         `org-export-latex-complex-heading-re'.
2377         * org-agenda.el (org-agenda-start-with-log-mode): New option.
2378         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2380 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
2382         * org-latex.el (org-export-latex-tables-centered): New option.
2383         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2385         * org-exp.el (org-export-as-org): New command.
2386         (org-export-as-org): New command.
2388         * org-publish.el (org-publish-org-to-org): New function.
2390 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
2392         * org.el (org-yank): Just call `org-yank-generic'.
2393         (org-yank-generic): New function, containing the formaer
2394         functionality of `org-yank'.
2396         * org-latex.el (org-export-latex-not-done-keywords)
2397         (org-export-latex-done-keywords): New variables.
2398         (org-export-latex-todo-keyword-markup): New option.
2399         (org-export-latex-set-initial-vars): Remember the TODO keywords.
2400         (org-export-latex-keywords-maybe): Apply the TODO markup.
2402 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
2404         * org-exp.el (org-infile-export-plist): Add more default macros.
2405         (org-export-preprocess-apply-macros): Process macro arguments.
2407 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
2409         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
2410         `unblocked'.
2411         (org-print-icalendar-entries): Respect the new value of
2412         `org-icalendar-include-todo'.
2414         * org.el (org-link-try-special-completion)
2415         (org-file-complete-link): New functions.
2416         (org-insert-link): Add special completion support for some link
2417         types.
2419         * org-bbdb.el (org-bbdb-complete-link): New function.
2421 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
2423         * org-list.el (org-update-checkbox-count): Allow recursive
2424         statistics.
2425         (org-hierarchical-checkbox-statistics): New option.
2427         * org.el (org-cycle): Remove erraneous space character.
2429         * org-icalendar.el (org-icalendar-timezone): Initialize from
2430         environment.
2432         * org-html.el (org-format-org-table-html): Specify the scope.
2433         (org-format-table-table-html): Specify the scope.
2434         (org-export-table-header-tags): Prepare the scope parameter.
2436 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
2438         * org-html.el
2439         (org-export-html-table-use-header-tags-for-first-column): New
2440         option.
2442         * org.el (org-autoload): Fix autoloading of ascii export
2443         functions.
2444         (org-modules): Add org-special-blocks.
2446 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
2448         * org-icalendar.el (org-start-icalendar-file): Use the new option.
2449         (org-ical-timezone): New option.
2451         * org-exp.el (org-export-get-coderef-format): Use the description
2452         is present.
2454         * org.el (org-sort-entries-or-items): Improve docstring, and make
2455         better implementation for time sorting.
2457 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
2459         * org.el (org-edit-src-persistent-message): New option.
2460         (org-edit-src-code, org-edit-fixed-width-region): Use the new
2461         option.
2463         * org-clock.el (org-clock-insert-selection-line): Fix prefious
2464         patch.
2466         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
2467         separate buffer instead of indirect buffer to edit source code.
2468         (org-edit-src-exit): Make this function work with the new setup.
2470         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
2471         are properly fontified before shown in the selection menu.
2473         * org.el (org-fontify-like-in-org-mode): New function.
2475         * org-latex.el (org-export-latex-links): Use the property list to
2476         retrieve the default image attributes.
2478         * org-exp.el (org-export-plist-vars): Add a new option.
2480 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
2482         * org-exp.el (org-export, org-export-visible): Support ASCII
2483         export to buffer
2484         (org-export-normalize-links): Do not protect the description if it
2485         is explicitly given.
2487         * org-ascii.el (org-export-as-ascii-to-buffer)
2488         (org-replace-region-by-ascii, org-export-region-as-ascii): New
2489         commands.
2490         (org-export-as-ascii): Add all the same parameters that are also
2491         supported by the other export functions.
2493         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
2494         org-checklist.el.
2495         (org-reset-checkbox-state-subtree): Call
2496         `org-reset-checkbox-state-subtree'.
2498         * org-remember.el (org-select-remember-template): For the
2499         selection of a valid template.
2501         * org-latex.el (org-export-region-as-latex): Supply the
2502         force-no-subtree argument.
2503         (org-export-as-latex): Provide better limits when exporting the
2504         first line.  When exporting to string, we still want the first
2505         lines.
2506         (org-export-latex-first-lines): New argument END, to force the end
2507         of the region.
2508         (org-export-region-as-latex): Use the property list.
2509         (org-export-as-latex):
2511         * org-colview-xemacs.el (org-columns-remove-overlays)
2512         (org-columns): Fix call to `local-variable-p'.
2514 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
2516         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
2517         (org-export-as-html): Run the new hook.
2519         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
2520         (org-export-latex-preprocess): Run the new hook.
2522         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
2523         (org-export-preprocess-string): Run the new hook.
2525 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
2527         * org-macs.el (org-check-external-command): New defsubst.
2529         * org.el (org-mode-map): New key for reload.
2530         (org-format-latex): Better error message when external programs
2531         are not available.
2533         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
2535         * org.el (org-sort-entries-or-items): Explicit sorting function
2536         for priorities, needed for XEmacs compatibility.
2538         * org-remember.el (org-remember-apply-template): Improve auto-save
2539         behavior.
2541 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
2543         * org-latex.el (org-export-latex-preprocess): Also protect
2544         environments ending in a star.
2546         * org-list.el (org-at-item-p): Fix regular expression.
2548 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
2550         * org.el (org-end-of-subtree): Improve speed.
2552         * org-agenda.el (org-agenda-get-timestamps)
2553         (org-agenda-get-progress, org-agenda-get-deadlines)
2554         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
2555         in particular, wait as long as possible to collect the tags.
2556         (org-stuck-projects): Improve docstring.
2558         * org.el (org-store-link): No errors when getting custom id before
2559         first headline.
2560         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
2562 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
2564         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
2566         * org-protocol.el: Remove dependency on url.el.
2567         (org-protocol-unhex-compound, org-protocol-open-source): Remove
2568         dependency on url.el.
2570         * org-latex.el (org-export-as-pdf): Use
2571         `org-latex-to-pdf-process'.
2573 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
2575         * org-latex.el (org-latex-to-pdf-process): New option.
2577         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
2578         New option.
2579         (org-agenda-get-timestamps): Honor
2580         `org-agenda-skip-additional-timestamps-same-entry'.
2582         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
2583         (org-clock-goto): Find recent task only if
2584         `org-clock-goto-may-find-recent-task' allows it.
2586         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
2587         drawers, and drawers that are missing the :END: line.
2589 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
2591         * org-clock.el (org-clock-goto): Go to recently clocked task if no
2592         clock is running.
2594 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
2596         * org.el (org-update-parent-todo-statistics): Check for
2597         STATISTICS_FROM property.
2599         * org-list.el (org-update-checkbox-count): Check for
2600         STATISTICS_FROM property.
2602         * org.el (org-tab-first-hook)
2603         (org-tab-after-check-for-table-hook)
2604         (org-tab-after-check-for-cycling-hook): New hooks.
2605         (org-cycle-internal-global, org-cycle-internal-local): New
2606         functions, split out from `org-cycle'.
2607         (org-cycle): Call the new hooks.
2609 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
2611         * org-exp.el (org-export-preprocess-string): Reset the list of
2612         preferred targets for each run of the preprocessor.
2614         * org.el (org-refile-target-verify-function): Improve
2615         documentation.
2616         (org-get-refile-targets): Respect point being moved by the
2617         verification function.
2619         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
2620         option.
2621         (org-export-latex-keywords): Use new option.
2623         * org.el (org-rear-nonsticky-at): New defsubst.
2624         (org-activate-plain-links, org-activate-angle-links)
2625         (org-activate-footnote-links, org-activate-bracket-links)
2626         (org-activate-dates, org-activate-target-links)
2627         (org-activate-tags): Place the rear-nonsticky properties at the
2628         correct location.
2630 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
2632         * org-protocol.el (server-edit): Declare `server-edit'.
2633         (org-protocol-unhex-string, org-protocol-unhex-compound): New
2634         functions.
2635         (org-protocol-check-filename-for-protocol): Call `server-edit'.
2637         * org.el (org-default-properties): New default properteis for
2638         completion.
2640         * org-exp.el (org-export-add-subtree-options): Add new properties
2641         for subtree export.
2643         * org-docbook.el (org-export-docbook-keywords-markup)
2644         (org-export-docbook-timestamp-markup): New options.
2645         (org-export-docbook-protect-tags): New function.
2647 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
2649         * org-id.el (org-id-get-with-outline-path-completion): Turn off
2650         org-refile-target-verify-function for the duration of the command.
2652         * org.el (org-link-to-org-use-id): New possible value
2653         `create-if-interactive-and-no-custom-id'.
2654         (org-store-link): Use custom IDs.
2655         (org-link-search): Find custom ID properties from #link.
2656         (org-default-properties): Add CUSTOM_ID for property completion.
2657         (org-refile-target-verify-function): New option.
2658         (org-goto): Turn off org-refile-target-verify-function
2659         for the duration of the command.
2661 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
2663         * org-html.el (org-export-as-html): Use custom IDs in the toc.
2665         * org-exp.el (org-export-preferred-target-alist): New variable.
2666         (org-export-define-heading-targets): Find the new CUSTOM_ID
2667         property.
2668         (org-export-target-internal-links): Target the custom ids when
2669         possible.
2671         * org-latex.el (org-export-latex-preprocess): Better regexp for
2672         matching latex macros with arguments.
2674 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
2676         * org-remember.el (org-remember-handler): Allow filing to non-org
2677         files.
2679 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
2681         * org-feed.el (org-feed-alist): New keyword options.
2682         (org-feed-update): Use the new options.
2683         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
2684         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
2685         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
2686         functions.
2688         * org-table.el (org-table-fix-formulas): Do not change references
2689         to remote tables.
2690         (org-table-get-remote-range): Convert standard coordinates to RC
2691         format.
2693         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
2695 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
2697         * org-compat.el (org-sha1-string): Function removed.
2699         * org.el (org-refile-allow-creating-parent-nodes): New option.
2700         (org-refile-get-location): New argument NEW-NODES.
2701         (org-refile): Call `org-refile-get-location' with the new
2702         argument.
2703         (org-refile-get-location): Arrange for adding a new child.
2704         (org-refile-new-child): New function.
2706         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
2707         an additional span element.
2709         * org-clock.el: Fix a number of docstrings.
2710         (org-clock-find-position): New argument
2711         FIND-UNCLOSED to make the function find an unclosed clock in the
2712         entry.
2713         (org-clock-in): Call `org-clock-find-position' with the new
2714         argument if we might be resuming a clock.
2716 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
2718         * org-latex.el (org-export-latex-display-custom-times): New variable.
2719         (org-export-latex-timestamp-markup): New option.
2720         (org-export-latex-set-initial-vars): Remember the local value of
2721         `org-display-custom-times'.
2722         (org-export-latex-content): Process time stamps.
2723         (org-export-latex-time-stamps): New function.
2725         * org-macs.el (org-maybe-intangible): Add intangible property
2726         again to invisible text.
2728 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
2730         * org-exp.el (org-default-export-plist): Handle undefined
2731         variables.
2733 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
2735         * org.el (org-sort-entries-or-items): Match TODO keywrds
2736         case-sensitively, when sorting.
2737         (org-priority): Do not match TODO keywords with wrong case.
2739 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
2741         * org-feed.el (org-feed-update): Bind the variable
2742         `new-formatted'.
2744         * org-html.el (org-export-as-html): Start paragraphs after literal
2745         examples.
2747         * org-docbook.el (org-export-as-docbook): Start paragraphs after
2748         literal examples.
2750 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
2752         * org.el (org-todo): Honor the NOBLOCKING property.
2754         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
2755         NOBLOCKING property.
2757         * org.el (org-scan-tags): Fix bug in tag scanner
2759 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
2761         * org.el (org-modules): Mark obsolete packages.
2763         * org-html.el: New file, split out from org-exp.el.
2765         * org-icalendar.el: New file, split out from org-exp.el.
2767         * org-xoxo.el: New file, split out from org-exp.el.
2769         * org-ascii.el: New file, split out from org-exp.el.
2771 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
2773         * org-compat.el (org-find-library-name): New function.
2775         * org.el (org-pre-cycle-hook): New hook.
2776         (org-cycle): Call the new hook in appropriate places.
2777         (org-reload): Only reload files that have been loaded before.
2779 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
2781         * org.el (org-set-font-lock-defaults): Enforxe space or line end
2782         after todo keyword.
2783         (org-todo): When changing TODO state, do matching
2784         case-sensitively.
2785         (org-map-continue-from): New variable.
2786         (org-scan-tags): Respect values in `org-map-continue-from'.
2787         (org-reload): Make XEmacs compatible.
2789 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
2791         * org-protocol.el (org-protocol-flatten-greedy): New function.
2792         (org-protocol-flatten): New function.
2794         * org.el (org-open-link-from-string): Pass reference buffer to
2795         `org-open-at-point'.
2796         (org-open-at-point): New optional argument `reference-buffer'.
2798 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
2800         * org.el (org-scan-tags): Make tag scan find headline in first
2801         line, 2nd attempt.
2802         (org-get-refile-targets): Add the naked file name.
2803         (org-refile): Store as top-level entry when only file name was
2804         given.
2806         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
2808         * org.el (org-block-todo-from-children-or-siblings-or-parent):
2809         Renamed from org-block-todo-from-children-or-siblings, and
2810         enhanced to look for the parent's status as well.
2812         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
2813         (org-agenda-get-progress): Add first notes line to log entry if so
2814         desired.
2816 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
2818         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
2819         (org-agenda-cleanup-fancy-diary): Call the new hook.
2821         * org-remember.el (org-remember-apply-template): Take the default
2822         for the annotation from the :annotation property.
2824         * org-mac-message.el (org-mac-message-get-link): Remove the
2825         quotes.
2826         (org-mac-message-get-link): Return the result.
2828 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
2830         * org.el (org-refile-get-location): Add file name only if not
2831         already included in outline path.
2833         * org-faces.el (org-n-level-faces): Fix customization type from
2834         number to integer.
2836         * org-exp.el (org-export-headline-levels): Fix customization type
2837         from number to integer.
2839         * org-agenda.el (org-agenda-confirm-kill)
2840         (org-agenda-custom-commands-local-options)
2841         (org-timeline-show-empty-dates, org-agenda-ndays)
2842         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
2843         customization type from number to integer.
2845 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
2847         * org-protocol.el: Declare some functions.
2849         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
2850         postion before inserting modified headline.
2852         * org-agenda.el (org-agenda-compare-effort): Honor
2853         `org-sort-agenda-noeffort-is-high'.
2854         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
2855         (org-agenda-compare-effort): Implement the "?" operator for
2856         finding entries without effort setting.
2858         * org.el (org-extract-attributes-from-string): New function.
2860         * org-exp.el (org-export-splice-attributes): New function.
2862 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
2864         * org-mouse.el: XEmacs compatibility fixes
2866         * org-docbook.el (org-export-as-docbook): Process footnotes like
2867         normal text.
2869         * org.el (org-modules): Add org-inlinetasks.el
2870         (org-cycle): Implement limiting level on cycling.
2871         (org-move-subtree-down): Fix bug with swapping subtrees at end of
2872         buffer.
2874         * org-inlinetask.el: New file.
2876         * org.el (org-emphasis-regexp-components): Allow braces in
2877         emphasis pre and post match.
2879         * org-footnote.el (org-footnote-normalize): When only dorting, do
2880         not insert inline notes at the end.
2882         * org-docbook.el (org-id-find-id-file): Add function declaration.
2884         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
2886         * org-docbook.el: New file.
2888 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
2890         * org.el (org-reftex-citation): New command.
2892 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
2894         * org-agenda.el (org-agenda-cmp-user-defined): New option.
2895         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
2896         sorting options.
2897         (org-entries-lessp): Apply the new sorting option.
2899         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
2900         blocker code, when an older sibling has children.
2902         * org-mac-message.el (org-mac-message-get-link): Improve getting
2903         links from multiple selected messages.
2905 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
2907         * org-remember.el (org-remember-finalize): Do not set buffer file
2908         name to nil.
2909         (org-remember-handler): Mark buffer as unmodified.
2910         (org-remember-handler): Delete backup file and show message about
2911         remaining backup files.
2912         (org-remember-auto-remove-backup-files): New option.
2914         * org.el (org-store-link): Use buffer name as link description in
2915         w3-mode buffers.
2916         (org-ido-switchb): Fix argument bug for completion.
2918         * org-remember.el (org-remember-apply-template): Set local
2919         variable `auto-save-visited-file-name' instead of global one.
2921 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
2923         * org-feed.el: Re-write.
2925         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
2926         (org-agenda-get-todos): Mark file tags as inherited.
2927         (org-agenda-list): Always search diary lines for a time.
2929 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
2931         * org-feed.el (org-feed-assume-stable): New option.
2932         (org-feed-before-adding-hook): New hook.
2934         * org-exp.el (org-export-as-html): Close local lists depending on
2935         indentation, also when starting a table.
2937         * org-remember.el (org-remember-backup-directory)
2938         (org-remember-backup-name): New internal variable.
2940 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
2942         * org-clock.el (org-clock-out-if-current): Make buffer detection
2943         work in indirect buffers as well.
2945         * org.el (org-emphasis-regexp-components): Add the exxclamation
2946         mark to the post-emphasis characters.
2948 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
2950         * org.el (org-read-date-minibiffer-septup-hook): New hook.
2951         (org-read-date): Run the new hook.
2953         * org-mac-message.el (org-mac-flagged-mail): New group.
2954         (org-mac-mail-account): New variable.
2955         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
2956         commands.
2958         * org-remember.el (org-remember-backup-directory): New variable.
2959         (org-remember-apply-template): Write file to backup directory.
2961 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
2963         * org-mouse.el (org-mouse-todo-menu): New function.
2964         (org-mouse-todo-keywords): Function removed.
2965         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
2967         * org-table.el (org-table-beginning-of-field)
2968         (org-table-end-of-field): New commands
2969         (org-table-previous-field, org-table-beginning-of-field): Better
2970         error messages.
2971         (orgtbl-setup): Include `M-a' and `M-e'.
2973         * org.el (org-backward-sentence, org-forward-sentence): New
2974         commands.
2976         * org-colview.el (org-colview-initial-truncate-line-value): New
2977         variable.
2978         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
2979         (org-columns): Remember the value of `truncate-lines'.
2981         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
2982         New variable.
2983         (org-columns-remove-overlays): Restore the value of
2984         `truncate-lines'.
2985         (org-columns): Remember the value of `truncate-lines'.
2987         * org.el (org-columns-skip-arrchived-trees): New option.
2989         * org-agenda.el (org-agenda-export-html-style): Define color for
2990         org-agenda-done face.
2991         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
2992         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
2994         * org.el (org-scan-tags): Use the new face.
2996         * org-faces.el (org-agenda-done): New face.
2998         * org.el (org-scan-tags): Test the value org
2999         `org-tags-match-list-sublevels'.
3000         (org-tags-match-list-sublevels): New allowed value: indented.
3002         * org-export-latex.el (org-export-latex-make-header): Apply macros
3003         in header.
3005         * org-exp.el (org-export-apply-macros-in-string): New function.
3007         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3008         with the definition of a checked box.
3010         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3012         * org-export-latex.el (org-export-latex-low-levels): More options
3013         for how to process lower levels in LaTeX.
3014         (org-export-latex-subcontent): Better treatment for lists as a
3015         means of publishing lower levels.
3017 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
3019         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3021         * org-faces.el (org-checkbox): New face.
3023         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3024         fragement images if there is an export file.
3026 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3028         * org-agenda.el (org-stuck-projects): Document that the subtree of
3029         projects that are not stuck will now be searched for stuck
3030         sub-projects.
3031         (org-agenda-skip-entry-when-regexp-matches)
3032         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3033         (org-agenda-list-stuck-projects): Use
3034         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3036         * org-export-latex.el (org-export-latex-preprocess): Improve
3037         export of verses.
3039         * org-exp.el (org-export-as-html): Implement centering as a div
3040         rather than a paragraph.  Do a better job with line-end in verse
3041         environments.
3043 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
3045         * org.el (org-open-at-point): Fix tags searches by mouse click.
3047 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
3049         * org-export-latex.el (org-export-latex-preprocess): Implement the
3050         centering markup.
3052         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3053         from `org-export-mark-blockquote-and-verse'.
3054         (org-export-as-html): Implement the centering markup.
3056         * org-export-latex.el (org-export-latex-tables): Fix vertical
3057         lines in tables.
3059 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
3061         * org.el (org-read-date-history): New variable.
3062         (org-read-date): Use new history variable.
3063         (org-toggle-heading): Fix bug when used before first headline.
3064         (org-store-log-note): Remove drawer if empty while note is
3065         aborted.
3066         (org-remove-empty-drawer-at): New function.
3067         (org-check-after-date): New command.
3068         (org-sparse-tree): New sparse tree command "a".
3070         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3072 2009-03-14  Bastien Guerry  <bzg@altern.org>
3074         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3075         column and a space, not only a column.
3077 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
3079         * org-export-latex.el (org-export-latex-emphasis-alist): Better
3080         defaults for verbose emphasis.
3081         (org-export-latex-emph-format): New function.
3082         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3084         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3085         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3086         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3087         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3088         commands.
3090         * org.el (org-timestamp-change): Move end-time along with start
3091         time.
3093 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
3095         * org-exp.el (org-export-target-internal-links)
3096         (org-export-as-html): Protect links specified as #name.
3098 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
3100         * org.el (org-clone-subtree-with-time-shift): New command.
3102         * org-export-latex.el (org-export-latex-special-chars)
3103         (org-export-latex-treat-sub-super-char): Fix subscript export.
3105         * org-exp.el (org-create-multibrace-regexp): Do not add
3106         backslashes to the class.
3108 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
3110         * org-colview.el (org-columns-map): Better functions for moving up
3111         and down a row, even if `truncate-line' is nil.
3113         * org.el (org-insert-todo-heading): Make sure the keyword is
3114         inserted at the correct position.
3116         * org-publish.el (org-publish-project-alist)
3117         (org-publish-projects, org-publish-org-index): Change default anme
3118         for the index of file names to "sitemap.org".
3120         * org-export-latex.el (org-export-latex-tables): Use
3121         `org-split-string', for Emacs 21 compatibility.
3123 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
3125         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3127 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
3129         * org-exp.el (org-export-page-description)
3130         (org-export-page-keywords): New variables.
3131         (org-export-plist-vars): Add entries for :keywords and
3132         :description.
3133         (org-infile-export-plist): Parse for new keywords.
3134         (org-get-current-options): Add new keywords
3135         (org-export-as-html): Publish description and keywords.
3137         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3138         option.
3139         (org-agenda-add-entry-text): Honor
3140         `org-agenda-add-entry-text-descriptive-links'.
3142         * org-export-latex.el (org-export-latex-preprocess): Make all
3143         external preprocess functions use a PARAMETER arg.
3145         * org-exp.el (org-export-preprocess-string)
3146         (org-export-select-backend-specific-text)
3147         (org-export-format-source-code-or-example)
3148         (org-format-org-table-html): Support docbook export.
3149         (org-export-preprocess-string): Make all external preprocess
3150         functions use a PARAMETER arg.
3152 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
3154         * org-exp.el (org-export-html-style-include-scripts): New option.
3155         (org-export-plist-vars): Add new option
3156         `org-export-html-style-include-scripts'.
3157         (org-export-as-html): Honor new option
3158         `org-export-html-style-include-scripts'.
3159         (org-export-html-scripts, org-export-html-style-default): Fix
3160         xml issues with the Safari browser.
3162 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
3164         * org-publish.el (org-publish-attachment): Only copy file when the
3165         directories differ.
3167 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
3169         * org-clock.el (org-clocktable-steps): Use inactive time stamps
3170         for clocktable steps.
3172         * org.el (org-additional-option-like-keywords): Add two more
3173         keywords.
3175 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
3177         * org-exp.el (org-export-format-source-code-or-example): Mark
3178         temporary buffer unmodified, so that it will be killed even if
3179         mode like message mode has decided to assign a file name.
3181         * org.el (org-scan-tags): Improve tag inheritance.
3182         (org-scan-tags, org-make-tags-matcher): Make tag comparison
3183         case-sensitive.
3184         (org-scan-tags): Use the internal tags list instead of creating it
3185         from scratch.
3186         (org-trust-scanner-tags, org-scanner-tags): New variables.
3187         (org-scan-tags): Set `org-scanner-tags'.
3188         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3189         (org-map-entries): Document the possible speedup using scanner
3190         tags.
3192 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
3194         * org.el (org-add-planning-info): Fix bug with looking for keyword
3195         only at column 0.
3197         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3198         option for tags filter preset.
3199         (org-prepare-agenda): Store filter preset as a property on the
3200         filter variable.
3201         (org-finalize-agenda): Call the filter, if there is a preset.
3202         (org-agenda-filter-by-tag): Filter again after clearing the
3203         filter, when there still is a preset.
3204         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3205         Include the preset filter.
3206         (org-agenda-redo): Apply the filter again, also the preset filter.
3208         * org-exp.el (org-export-as-html): Use IDs in the correct way.
3210         * org.el (org-uuidgen-p): New funtion.
3212         * org-agenda.el (org-agenda-fontify-priorities): New default value
3213         `cookies'.
3214         (org-agenda-fontify-priorities): Renamed from
3215         org-fontify-priorities.
3217         * org.el (org-set-font-lock-defaults): Call
3218         `org-font-lock-add-priority-faces'.
3219         (org-font-lock-add-priority-faces): New function.
3221         * org-faces.el: (org-set-tag-faces): New option.
3222         (org-priority-faces): New variable.
3224         * org-exp.el (org-export-as-html): Add a "content" div around the
3225         entire content of the body tag.
3226         (org-export-html-get-bibliography): New function.
3227         (org-export-html-validation-link): New variable.
3228         (org-export-as-html): Add validation link to exported page.
3230         * org.el (org-match-sparse-tree): Renamed from
3231         `org-tags-sparse-tree'.
3232         (org-tags-sparse-tree): New alias.
3234 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
3236         * org.el (org-get-valid-level): Catch the case where the level
3237         change is nil.
3239         * org-clock.el (org-clock-find-position): Better indentation of
3240         new clock drawers.
3242 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
3244         * org-agenda.el (org-agenda-quit): Delete window only when the
3245         frame-setup was not `current-window'.
3247         * org.el (org-tag-persistent-alist): New option.
3248         (org-startup-options): Add keyword `noptag'.
3249         (org-fast-todo-selection): Handle :newline correctly.
3250         (org-set-tags): Handle :newline correctly.
3251         (org-fast-tag-selection): Handle :newline correctly.
3253 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
3255         * org-exp.el (org-export-as-ascii): Reverse link buffer before
3256         outputting it.
3257         (org-export-ascii-push-links): Fix bug with pussing links into the
3258         export buffer.
3260 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
3262         * org-archive.el (org-archive-subtree): Do not add 1 to level if
3263         pasting at top level.
3265         * org-bbdb.el: Improve documentation.
3267 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
3269         * org-list.el (org-insert-item): Only consider insert empty lines
3270         is `org-empty-line-terminates-plain-lists' is not nil.
3272         * org.el (org-blank-before-new-entry): Mention the dependence on
3273         `org-empty-line-terminates-plain-lists' in the docstring.
3275         * org-publish.el (org-publish-get-project-from-filename): New
3276         optional argument UP.  Only find the top project if UP is set.
3277         (org-publish-current-project): Find the top encloding project.
3279         * org-agenda.el (org-agenda-before-write-hook)
3280         (org-agenda-add-entry-text-maxlines): New options.
3281         (org-write-agenda): Run the new hook in the temporary buffer.
3282         (org-agenda-add-entry-text): New function.
3283         (org-write-agenda): Implement PDF export, using ps2pdf.
3285         * org.el (org-global-properties-fixed, org-global-properties):
3286         Improve documentation string.
3288         * org-exp.el (org-export-ascii-links-to-notes): New option.
3289         (org-export-as-ascii): Handle links better.
3290         (org-export-ascii-wrap, org-export-ascii-push-links): New
3291         functions.
3293 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
3295         * org-agenda.el (org-agenda): Make prefix arg optional.
3296         (org-agenda-search-headline-for-time): New option.
3297         (org-format-agenda-item): Honor
3298         `org-agenda-search-headline-for-time'.
3300         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3301         characters.
3303         * org.el (org-self-insert-cluster-for-undo): New option.
3304         (org-self-insert-command): Cluster undo for 20 characters.
3305         (org-self-insert-command-undo-counter): New variable.
3307 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
3309         * org-exp.el (org-export-as-html): Fix problem with closing colone
3310         example.
3312 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
3314         * org-export-latex.el (org-export-as-latex)
3315         (org-export-latex-first-lines): Avoid modification flag when
3316         adding or removing text properties.
3317         (org-export-latex-fontify): Catch error when org-emph-alist has
3318         entries that are not defined for LaTeX export.
3320         * org.el (orgstruct++-mode): New function.
3321         (turn-on-orgstruct++): Call `orgstruct++-mode'.
3322         (org-context-p): Allow detecting item context after the first line
3323         of an item.
3324         (orgstruct-make-binding): Detect if item-body context should be
3325         seen.
3326         (orgstruct-is-++): New variable.
3327         (org-add-planning-info): Catch the case when there is no planning
3328         info yet and the call does not want to add anything, only maybe
3329         tries to remove something.
3330         (org-special-ctrl-a/e): All value to be a cons cell with separate
3331         settings for `C-a. and `C-e'.
3332         (org-beginning-of-line, org-end-of-line): Honor separate values
3333         for `C-a' and `C-e'.
3335 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
3337         * org.el (org-reload): New command.
3339 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
3341         * org-exp.el (org-export-htm-get-tag-class-name)
3342         (org-export-htm-get-todo-kwd-class-name): New functions.
3343         (org-export-html-tag-class-prefix)
3344         (org-export-html-todo-kwd-class-prefix): New options.
3345         (org-export-as-html): Call
3346         `org-export-html-get-todo-kwd-class-name'.
3347         (org-html-level-start): Wrap tags into classes.
3348         (org-export-html-get-tag-class-name)
3349         (org-export-html-get-todo-kwd-class-name): New functions.
3351         * org-export-latex.el (org-export-latex-collect-header-macros):
3352         Remove fields that are used anyway.
3353         (org-export-latex-make-header): Insert the options earlier.
3355         * org-agenda.el (org-agenda-get-progress): Fix bug with state
3356         matching.
3358         * org-list.el (org-indent-item): Allow point to be at the end of
3359         the region.
3361         * org.el (org-metaleft, org-metaright): Be more accurate about
3362         detecting a region where commands apply.
3364         * org-compat.el (org-cursor-to-region-beginning): New function.
3366         * org.el (org-priority): Also find invisible heading.
3368         * org-colview-xemacs.el (org-columns-edit-value): No special
3369         treatment for `org-todo' prefix.
3371         * org-colview.el (org-columns-edit-value): No special treatment
3372         for `org-todo' prefix.
3374         * org-remember.el (org-remember-apply-template): Use
3375         `org-completing-read-no-ido'.
3377         * org.el (org-completing-read-no-ido): New function.
3378         (org-make-tags-matcher, org-set-property): Use
3379         `org-completing-read-no-ido'.
3381         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
3382         New option.
3383         (org-export-as-latex): Import in-buffer settings as TeX macros.
3384         (org-export-latex-make-header): Additional parameter OPT-DEFS.
3385         (org-export-latex-collect-header-macros): New function.
3387         * org.el (org-refile-get-location): Turn off
3388         `partial-completion-mode'.
3390 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
3392         * org.el (org-block-todo-from-checkboxes): Announce that
3393         checkboxes are the culprit.
3394         (org-block-todo-from-children-or-siblings): Call
3395         `org-up-heading-all instead' of `outline-up-heading'.
3397         * org-agenda.el (org-agenda-show-1): Renamed from
3398         `org-agenda-show'.
3399         (org-agenda-show): Re-install the old version for now.
3400         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
3401         variable into the blokker hook, so that the checkbox checker can
3402         anounce that it caused the blocking.
3404         * org.el (org-track-ordered-property-with-tag): New option.
3405         (org-toggle-ordered-property): Honor
3406         `org-track-ordered-property-with-tag'.
3407         (org-tag-alist): Add newline options.
3408         (org-set-regexps-and-options): Separate option lines imply a
3409         newline.
3410         (org-set-regexps-and-options, org-assign-fast-keys)
3411         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
3412         option.
3413         (org-indent-line-function): Make sure this works even if there is
3414         not `org-drawer-regexp' defined.  This can happen when
3415         orgstruct-mode is used in a non-org buffer.
3417         * org-list.el (org-checkbox-blocked-p): New function.
3418         (org-toggle-checkbox): Check for blocking.
3420         * org.el (org-modules): Add an entry for org-R.el.
3422         * org-agenda.el (org-agenda-todo-ignore-with-date)
3423         (org-agenda-todo-ignore-scheduled)
3424         (org-agenda-todo-ignore-deadlines): Mention the variable
3425         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
3427         * org.el (org-get-wdays): Find the warning period also if it is in
3428         the wrong place.
3429         (org-ido-completing-read): Provide the correct arguments to
3430         ido-completing-read and bind `ido-enter-matching-directory' to
3431         nil.
3433 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
3435         * org.el (org-olpath-completing-read): Never use ido for this
3436         one.
3438         * org-exp.el (org-export-normalize-links): Use new macro.
3440         * org-macs.el (org-if-unprotected-at): New macro.
3442         * org-agenda.el (org-agenda-show): Allow numerical prefix
3443         arguments to specify how much context should be shown.
3444         (org-agenda-cycle-show): New command, could be bound to SPC in
3445         org-agenda-mode-map.
3447         * org-exp.el (org-html-level-start): Space after section number.
3449 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
3451         * org-agenda.el (org-agenda-get-sexps): Add todo state as
3452         property, for sorting.
3453         (org-cmp-todo-state): Get the applicable TODO keywords directly
3454         from the buffer.
3455         (org-run-agenda-series, org-agenda-list, org-search-view)
3456         (org-todo-list, org-tags-view): Only fit agenda window when the
3457         whole series is done.
3459         * org.el (org-scan-tags): Add todo state as property, for sorting.
3461         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3462         `org-agenda-overriding-header' as an option.
3463         (org-agenda-list): Honor org-agenda-overriding-header'.
3465 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
3467         * org-list.el (org-toggle-checkbox): Improve cursor positioning
3468         after removing a checkbox.
3470         * org.el (org-show-entry): Make this work correctly also if it is
3471         the last entry in the file.
3472         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
3473         falling back to normal, default command.
3474         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
3475         item, call the checkbox toggler to get a box.
3477         * org-list.el (org-toggle-checkbox): Make double prefix set the
3478         checkbox to "[-]".
3479         (org-fix-bullet-type): Only replace bullet if it is changed.
3480         (org-renumber-ordered-list): Handle case when first item does not
3481         have a number.
3483         * org.el (org-add-log-setup): Fix positioning when
3484         `org-log-states-order-reversed' is nil.
3486         * org-clock.el (org-clock-in): Fix positioning when
3487         `org-log-states-order-reversed' is nil.
3488         (org-clock-find-position): Fix positioning when
3489         `org-log-states-order-reversed' is nil.
3491 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
3493         * org-clock.el (org-clock-into-drawer): Take default from
3494         `org-log-into-drawer'.
3495         (org-clock-find-position): Look for the correct drawer.
3497         * org.el (org-log-into-drawer): Renamed from
3498         `org-log-state-notes-into-drawer'.
3499         (org-log-state-notes-into-drawer): New variable alias.
3500         (org-add-log-setup): Make drawer name default to LOGBOOK, not
3501         CLOCK.
3502         (org-insert-property-drawer): Also skip LOGBOOK drawers.
3504 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
3506         * org-agenda.el (org-agenda): Fix docstring.
3508         * org.el ("org-plot"): Help loading org-plot.
3509         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
3510         (org-metadown-hook, org-shiftmetaleft-hook)
3511         (org-shiftmetaright-hook, org-shiftmetaup-hook)
3512         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
3513         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3514         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
3515         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
3517         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
3518         for selecting files with any (and even without) extension.
3520         * org.el (org-save-all-org-buffers): Also save id locations.
3521         (org-revert-all-org-buffers): Also load id locations.
3523 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
3524         * org.el (org-drawers): Add LOGBOOK to the default drawers.
3525         (org-log-state-notes-into-drawer): New option.
3526         (org-add-log-setup): Place the sate note marker into the drawer,
3527         create drawer when necessary.
3528         (org-refile-targets): Document special interpretation of LEVEL
3529         when odd-levels are used.
3531 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
3533         * org.el (org-store-log-note): Fix note indentation when adding
3534         notes to end of list.
3536         * org-exp.el (org-export-as-html): Add TODO keyword as extra
3537         class, so that each keyword can get special colors through CSS.
3539         * org-clock.el (org-clock-out): Add another nil for the previous
3540         state into the call to `org-add-log-setup'.
3542         * org.el (org-log-note-previous-state): New variable.
3543         (org-log-note-headings): New %S escape for old state.
3544         (org-todo): Call the note setup with the old state as an
3545         argument.
3546         (org-add-note): Add another nil for the previous state into the
3547         call to `org-add-log-setup'.
3548         (org-add-log-setup): New argument PREV-STATE.
3549         (org-add-log-note): Handle new %S escape.
3550         (org-store-log-note): Handle new %S escape.
3552 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
3554         * org-clock.el (org-clock-find-position): Do not swallow an item
3555         less indented than the CLOCK line itself.
3556         (org-clock-in): Push markers to lin after the clock line.
3557         (org-clock-find-position): Handle values of
3558         `org-clock-into-drawer' smaller than 2.
3560         * org-exp.el (org-html-level-start): Add a CSS class to section
3561         numbers.
3562         (org-export-html-toplevel-hlevel): Better documentation of the
3563         influence of this variables on H levels and css classes in
3564         export.
3566 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
3568         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3569         timestamp and nottimestamp to the chooe menu.
3571         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
3572         (org-revert-all-org-buffers): New command.
3574 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
3576         * org.el (org-return): Implement `org-return-follows-link' in the
3577         function org-return.  This is more robust than using the mouse
3578         map, I think.
3579         (org-set-regexps-and-options): Match more general #+TODO lines.
3580         (org-make-options-regexp): New optional argument EXTRA, for an
3581         extra regexp.
3582         (org-tab-follows-link): Mark as deprecated.
3584 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
3586         * org-exp.el (org-export-preprocess-string): Remove clock lines
3587         earlier, so that they cannot cotribute to verbatim snippets.
3589 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
3591         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
3592         for finding drawers.
3593         (org-export-as-ascii, org-export-as-html): Count levels relative
3594         to the subtree header.
3595         (org-get-min-level): New optional argument OFFSET.
3596         (org-export): Make sure point is restored after popping up that
3597         window.
3599         * org.el (org-do-sort): Also take an inactive timestamp if no
3600         active one is found.
3602         * org-colview-xemacs.el (org-columns-capture-view): Copy before
3603         deleting duplicates.
3605         * org-colview.el (org-columns-capture-view): Copy before
3606         deleting duplicates.
3608         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
3609         text before first headline.
3611         * org.el (org-format-latex): Do not convert LaTeX fragments in
3612         protected examples.
3614 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
3616         * org-exp.el (org-export-html-style-default): Use color values
3617         instead of names for XHTML validation.
3619         * org.el (org-get-scheduled-time, org-get-deadline-time): New
3620         functions.
3621         (org-return-follows-link): Revert making this the default untile
3622         issues are resolved.
3624         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
3625         nottimestamp.
3627 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
3629         * org.el (org-mode): Make dependence stuff work more reliably.
3630         (org-update-parent-todo-statistics): Fix bug with updating
3631         statistics cookie.
3633         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
3634         ~ as verbatim delimiters.
3636         * org-exp.el (org-export-html-format-image): New argument
3637         PAR-OPEN.
3638         (org-export-as-html): Pass par-open to
3639         `org-export-html-format-image'.
3641 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
3643         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
3644         (org-use-fast-todo-selection, org-tags-column): New default
3645         setting for variables, based on a poll what typical uses use.
3647         * org-agenda.el (org-agenda-sorting-strategy)
3648         (org-agenda-tags-column): New default setting for variables, based
3649         on a poll what typical uses use.
3651 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
3653         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
3654         blocked entries from setting the blocked tag.
3656         * org-exp.el (org-export-html-footnotes-section): Use a more
3657         consistent id for footnotes.
3659         * org-export-latex.el (org-export-latex-classes): Remove the
3660         a4paper option from the default styles.
3662 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
3664         * org.el (org-enforce-todo-checkbox-dependencies): New option.
3665         (org-block-todo-from-checkboxes): New function.
3666         (org-todo): Make tripple prefix arg circumvent blocking.
3668         * org-timer.el (org-timer): Provide the timer feature.
3670         * org.el (org-require-autoloaded-modules): Add a few more files to
3671         the list of autoloaded modules.
3673         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
3675 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
3677         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
3678         drawers that are unprotected.
3679         (org-export-html-format-image): Make sure inlined LaTeX fragment
3680         images remain inlined.
3682         * org.el (org-toggle-ordered-property): New function.
3683         (org-mode-map): Add a key for `org-toggle-ordered-property'.
3684         (org-org-menu): Add menu entries for TODO dependencies.
3686 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
3688         * org.el (org-default-properties): Add ORDERED to the default
3689         properties, to get completion support for it.
3691         * org-list.el (org-update-checkbox-count): Update more than one cookie.
3693         * org.el (org-update-parent-todo-statistics): Update more than one
3694         cookie.
3696         * org-agenda.el (org-agenda-get-todos): Start search from correct
3697         position.
3699         * org.el (org-fast-todo-selection): Make sure TODO selection does
3700         not change buffer position.
3702         * org-list.el (org-toggle-checkbox): Implement adding or removing
3703         checkboxes from line or region when called with a prefix
3704         argument.
3706         * org-rmail.el (org-rmail-store-link): Protect the call to
3707         `rmail-narrow-to-non-pruned-header'.
3709         * org-clock.el (org-clock-special-range): Fix week display in
3710         clock tables.
3712         * org-exp.el (org-get-current-options): Fix bug when in indirect
3713         buffer.
3715 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
3717         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
3718         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
3719         (org-agenda-dim-blocked-tasks): New function.
3721         * org.el (org-enforce-todo-dependencies): New option.
3722         (org-block-todo-from-children-or-siblings): New function.
3724         * org-faces.el (org-agenda-dimmed-todo-face): New face.
3726         * org.el (org-todo): Return correct state type even if the blocker
3727         throws an error.
3728         (org-modifier-cursor-error): Renamed from
3729         `org-shiftcursor-error'.
3730         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3731         (org-shiftmetadown): Call `org-modifier-cursor-error'.
3733         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
3734         to get real errors from the blocker hook.
3736         * org.el (org-shiftselect-error, org-call-for-shift-select): New
3737         functions.
3738         (org-set-visibility-according-to-property): Turn off the setting
3739         of `org-show-entry-below', to avoid overruling a FOLDED visibility
3740         property.
3742 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
3744         * org.el (org-support-shift-select): New option.
3745         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
3746         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
3747         selection outside contexts.
3749         * org-list.el (org-at-item-bullet-p): New function.
3751         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
3752         variables.
3754         * org-footnote.el (org-footnote-normalize): Remove unnecessary
3755         variable.
3756         (org-insert-footnote-reference-near-definition): Remove
3757         unnecessary let form.
3759         * org-export-latex.el (org-export-latex-first-lines): Add
3760         OPT-PLIST parameter.
3761         (org-export-as-latex): Call `org-export-latex-first-lines' with
3762         opt-plits parameter.
3763         (org-export-latex-preprocess): Remove unnecessary variables.
3765         * org-exp.el (org-infile-export-plist)
3766         (org-export-add-options-to-plist, org-export-kill-licensed-text)
3767         (org-export-remove-headline-metadata)
3768         (org-export-get-title-from-subtree, org-get-min-level)
3769         (org-html-do-expand): Remove innecessary let form.
3771         * org-colview-xemacs.el (org-columns-display-here): Remove
3772         unnecessary variables.
3774         * org-colview.el (org-columns-display-here): Remove unnecessary
3775         variables.
3777         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
3778         variables.
3780         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
3781         unnecessary variables.
3783         * org-agenda.el (org-search-view, org-agenda-get-blocks)
3784         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
3785         variables.
3787         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
3788         (org-compact-display-after-subtree-move): Remove unnecessary
3789         variables.
3790         (org-edit-fixed-width-region): Remove unnecessary variables.
3791         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
3792         (org-olpath-completing-read): Remove unnecessary variable.
3793         (org-auto-repeat-maybe): Remove unnecessary variable.
3794         (org-map-entries): Remove unnecessary variable.
3795         (org-buffer-property-keys, org-imenu-get-tree)
3796         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
3798 -----------------------------------------------------------------
3800 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
3801         * org-exp.el (org-export-remove-timestamps): Never remove
3802         timestamps from tables.
3804         * org-export-latex.el (org-export-latex-first-lines): Add more
3805         options to the preprocessing of the text before the first
3806         headline.
3808 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3810         * org-faces.el (org-clock-overlay): Make face compatible with
3811         XEmacs.
3813         * org.el (org-yank): Add property for delete-selection mode.
3815         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
3817         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
3818         variable.
3820         * org-table.el (org-table-insert-hline): Fix typo in fuction call
3821         to `backward-char'.
3823         * org-exp.el (org-export-as-html): Remove the initial space from
3824         colon examples.
3826         * org.el (org-scan-tags): Call
3827         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3829         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
3830         customization groups.
3831         (org-agenda-tags-todo-honor-ignore-options): New option.
3832         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3833         New function.
3834         (org-agenda-get-todos): Use
3835         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3837 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
3839         * org-exp.el (org-export-format-source-code-or-example): Escape
3840         HTML characters also in examples that anre not treated with
3841         htmlize.  Also, just switch to EXAMPLE processing if we do not
3842         have a good version of htmlize.
3844         * org-rmail.el: Fix copyright notice.
3846         * org.el (org-activate-footnote-links): Improve footnote link
3847         highlighting.
3849         * org-footnote.el (org-footnote-normalize): Fix finding the end of
3850         a footnote definition at the end of the file.
3852         * org-table.el (org-table-get-specials): Add an imagined hline at
3853         the end of the table.  This can be useful for references that want
3854         to go to the end of the table.  Also fix bug when computing last
3855         row constants, in tables that do not start right at the right
3856         margin.
3857         (org-table-eval-formula): Match and replace remove references.
3858         (org-table-formula-substitute-names): Make sure that names inside
3859         a "remote" call are left alone, the will be replaced later when
3860         the remote call is handled.
3861         (org-table-convert-refs-to-rc): Do not convert things that might
3862         look like a reference, but are really part of an ID or namei n a
3863         remote reference.
3864         (org-table-get-remote-range): New function.
3866 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
3868         * org-faces.el (org-clock-overlay): Fix bug in face definition.
3870         * org-clock.el (org-clock-put-overlay): Use new face instead of
3871         `secondary-selection'.
3873         * org-faces.el (org-clock-overlay): New face.
3875 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
3877         * org-exp.el (org-get-current-options): Include the option for
3878         publishing time stamps.
3880         * org.el (org-toggle-heading): Renamed from
3881         `org-toggel-region-headings'.
3882         No longer needs a region defined, but will use it if there is one.
3883         (org-ctrl-c-star): Simplified, relying more on the internal
3884         workings of `org-toggle-heading'.
3885         (org-toggle-item): Renamed from `org-toggle-region-items'.
3886         No longer needs a region defined, but will use it if there is one.
3887         (org-ctrl-c-minus): Simplified, relying more on the inernal
3888         workings of `org-toggle-item'.
3890         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
3891         environment detection.  Also, do real changes only in unprotected
3892         places.
3894 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
3896         * org-export-latex.el (org-export-latex-quotation-marks): Use
3897         `org-if-unprotected-1'.
3898         (org-export-latex-set-initial-vars): Check for class definition in
3899         property.
3901         * org-macs.el (org-if-unprotected-1): New macro.
3903 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
3905         * org-compat.el (org-count-lines): New function.
3907         * org-exp.el (org-export-format-source-code-or-example): Handle
3908         switches related to text areas.
3910         * org.el (org-activate-footnote-links): Don't allow match inside a
3911         link.
3913         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
3915         * org-export-latex.el (org-export-latex-links): Keep a relative
3916         path relative also after export.
3918         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
3920         * org.el (org-make-tags-matcher): Never use IDO for completing the
3921         tags matcher match string.
3922         (org-completing-read): Also remove the special biding for "?".
3924         * org-attach.el (org-attach-allow-inheritance): New option.
3925         (org-attach-inherited): New variable.
3926         (org-attach-dir): Handle properties related to the attachment
3927         directory.
3928         (org-attach-check-absolute-path): New function.
3929         (org-attach-set-directory, org-attach-set-inherit): New commands.
3930         (org-attach): Accommodate the new commands in the dispatcher.
3932 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
3934         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
3935         `window-full-width-p'.
3937         * org-exp.el (org-export-as-html): Only check for images files
3938         that really can be inlined
3940         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
3941         list of extensions to be a parameter.
3943         * org-exp.el (org-export-html-inline-image-extensions): New
3944         variable.
3946         * org-agenda.el (org-prepare-agenda): Use
3947         `org-agenda-block-separator'.
3948         (org-agenda-block-separator): New option.
3950 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
3952         * org-export-latex.el (org-export-latex-tables): Call
3953         `org-table-clean-before-export' with the new optional argument.
3955         * org-exp.el (org-table-clean-before-export): New optional
3956         parameter MAYBE-QUOTED, allows for quoted characters like \# in
3957         first column.
3959 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
3961         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
3962         histograms.
3964         * org-colview.el (org-colview-construct-allowed-dates): Better
3965         error catching when a date/time property does not have allowed
3966         values defined.
3968         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
3969         Better error catching when a date/time property does not have
3970         allowed values defined.
3972 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
3974         * org.el (org-map-entries): Restore point and restriction after
3975         `org-map-entries'.
3977 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
3979         * org.el (org-time=, org-time<, org-time<=, org-time>)
3980         (org-time>=, org-time<>): Make sure both values are dates.
3982 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
3984         * org-archive.el (org-extract-archive-heading): Allow %s for file
3985         name also in achive location heading.
3987 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
3989         * org-archive.el (org-add-archive-files): Uniquify the list before
3990         returning it.
3992 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
3994         * org-compat.el (org-fit-window-to-buffer): Use
3995         `window-full-width-p'.
3997         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
3998         space after the colon in short examples.
4000         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4001         enforce a space after the colon.  However, we also allow lines
4002         that are *only* a colon.
4003         (org-export-as-html): Enforce the space after the colon in short
4004         examples.
4005         (org-export-preprocess-string): Do the colon example protection
4006         earlier.
4007         (org-export-remove-timestamps): Do not check for protection at the
4008         end of the line.
4010 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
4012         * org.el (org-format-latex-options): Add new matcher for single
4013         letters between dollars.
4014         (org-get-header): Function removed.
4015         (org-heading-components): New function.
4017         * org-exp.el (org-export-define-heading-targets): Record ID's also
4018         as alternative targets.
4019         (org-export-as-html): Interpret "id:" links to other files by
4020         preserving the relative path.
4022         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4023         is nil.
4025         * org-exp.el (org-export-normalize-links): Protect the main link,
4026         to avoid special character processing.
4028         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4029         New variable.
4030         (org-export-latex-special-string-regexps): Variable removed.
4031         (org-export-latex-keywords): Use the new regexp.
4033         * org-exp.el (org-export-handle-include-files): Fetch switches and
4034         put them into the BEGIN statement.
4036         * org-timer.el (org-timer-mode-line-string): New variable.
4038         * org-clock.el (org-clock-mode-line-map): Renamed from
4039         `org-clock-mode-map'.
4040         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4041         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4042         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4043         (org-clock-remove-overlays): Renamed from
4044         `org-remove-clock-overlays'.
4046         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4047         and mode line display.
4048         (org-timer-stop): New command.
4049         (org-timer-seconds): Return correct time when timer is paused.
4050         (org-timer-mode-line-timer): New variable.
4051         (org-timer-set-mode-line, org-timer-update-mode-line): New
4052         functions.
4054         * org.el (org-insert-heading):  Handle new value `auto' for
4055         `org-blank-before-new-entry'.
4056         (org-org-menu): Add new items for timer functions.
4058         * org-list.el (org-insert-item): Handle new value `auto' for
4059         `org-blank-before-new-entry'.
4061         * org.el (org-blank-before-new-entry): New value `auto', made
4062         default.
4064 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
4066         * org-exp.el (org-export-normalize-links): If the link is also
4067         used as the description, protect the description.
4069 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
4071         * org.el (org-closest-date): Fix bug with yearly repeats, in
4072         combination with preference of the past as it is used for deadline
4073         and scheduling search.
4075         * org-exp.el (org-html-handle-time-stamps): No longer check for
4076         the `org-export-with-timestamps' option, because the preprocesser
4077         has taken care of this already.
4079         * org.el (org-entry-properties): Catch the case when this is
4080         called in a non-org-mode file.
4082         * org-export-latex.el (org-export-latex-remove-from-headlines):
4083         Variable made obsolete, also LaTeX export now uses the standard
4084         variables.
4085         (org-export-as-latex): Add the timestamps parameter to the
4086         preprocessor parameter list.
4087         (org-export-latex-content): Export the remaining keywords without
4088         considering to remove them.
4089         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4090         Use bold font instead of tt font for the keywords.
4091         (org-export-latex-fontify-headline): Format headlines, assuming
4092         that all keywords still present should be published.
4093         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4094         publish what ever remains of the time stamps.
4095         (org-export-latex-list-parameters): New option.
4096         (org-export-latex-lists): Pass additional parameters to the list
4097         converter.
4099         * org-exp.el (org-export-preprocess-string): Remove clock lines
4100         and timestamps already in the preprocesor.
4101         (org-export-remove-timestamps, org-export-remove-clock-lines): New
4102         functions.
4103         (org-export-as-ascii, org-export-as-html): Add the timestamps
4104         parameter to the preprocessor parameter list.
4106         * org-list.el (org-list-parse-list): Parse for checkboxes.
4107         (org-list-to-generic): Introduce and handle new parameters :cbon
4108         and :cboff.
4109         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4110         optional parameter PARAMS.
4112         * org-export-latex.el (org-export-latex-special-chars): Fix
4113         problems with interpreting dollar signs.
4114         (org-inside-latex-math-p): New function.
4115         (org-export-latex-preprocess): Protect all the math fragments.
4117         * org.el (org-latex-regexps): Allow a dash after a dollar.
4119         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4120         mark after copying.
4122         * org-agenda.el (org-run-agenda-series): Have series options set
4123         when finalizing the agenda.
4125         * org-exp.el (org-export-format-source-code-or-example): Protect
4126         the converted examples.
4128         * org.el (org-set-regexps-and-options): Fix the regexp
4129         `org-complex-heading-regexp'.
4131 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
4133         * org.el (org-edit-src-get-label-format): New function.
4134         (org-coderef-label-format): New option.
4135         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4136         a label format specification and make sure it is used in the edit
4137         buffer.
4138         (org-edit-src-get-label-format): New function.
4139         (org-store-link): Handle new coderef formats.
4140         (org-link-search): Handle new coderef formats.
4142         * org-footnote.el (org-footnote-create-definition)
4143         (org-footnote-goto-local-insertion-point): Make footnote insertion
4144         work correctly when the "Footnotes" headline is the last line in
4145         the buffer.
4147         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4148         the location.
4150 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
4152         * org-w3m.el (org-w3m): New customization group.
4153         (org-w3m-deactivate-mark): New option.
4154         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4155         option say not to.
4157 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
4159         * org.el (org-set-font-lock-defaults): Trigger footnote
4160         fontification.
4161         (org-activate-footnote-links): New function.
4162         (org-activate-links): New entry `footnote'.
4164         * org-faces.el (org-footnote): New face.
4166 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
4168         * org-macs.el (org-re): Handle the [:word:] class.
4170         * org-exp.el (org-export-preprocess-string): Call
4171         `org-export-protect-colon-examples'.
4172         (org-export-protect-colon-examples): Renamed from
4173         `org-export-protect-examples', and scope limited to lines starting
4174         with a colon.
4176 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
4178         * org-exp.el (org-export-preprocess-string): Move the preprocess
4179         hook to after turning on Org-mode.
4180         (org-export-preprocess-after-include-files-hook)
4181         (org-export-preprocess-after-tree-selection-hook)
4182         (org-export-preprocess-before-backend-specifics-hook)
4183         (org-export-preprocess-final-hook): New hooks.
4184         (org-export-preprocess-string): Run the new hooks.
4186         * org.el (org-ctrl-c-minus): Fix indentation for new items.
4188         * org-footnote.el: New file.
4190         * org.el (org-footnote): Require footnote code.
4191         (org-startup-options): Add new footnote options.
4192         (org-mode-map): New keybindig for footnotes.
4193         (org-ctrl-c-ctrl-c): Add function at footnotes.
4194         (org-org-menu): New menu entries for footnotes.
4196         * org-export-latex.el (org-export-as-latex): Pass footnote
4197         variable to preprocessor.
4198         (org-export-latex-preprocess): Treat multiple references to a
4199         footnote.
4201         * org-exp.el (org-export-preprocess-string): Call
4202         `org-footnote-normalize'.
4203         (org-export-as-ascii, org-export-as-html): Pass footnote variable
4204         to preprocessor.
4205         (org-export-as-html): Treat multiple references to a footnote.
4207 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
4209         * org-export-latex.el (org-export-latex-links): Handle coderef
4210         links.
4212         * org.el (org-bracket-link-analytic-regexp++): New variable.
4213         (org-make-link-regexps): Initialize
4214         `org-bracket-link-analytic-regexp++'.
4215         (org-store-link): Implement special case in edit-src buffer.
4216         (org-insert-link): No use of ide to insert stored links.
4217         (org-link-search): Implement special case for coderefs.
4219         * org-exp.el (org-export-html-scripts): New constant.
4220         (org-export-html-style-default): Add a new style for highlighted
4221         code.
4222         (org-export-code-refs): New variable.
4223         (org-export-preprocess-string): Initialize `org-export-code-refs'.
4224         Call `org-export-replace-src-segments-and-examples'
4225         No longer call `org-export-protect-examples'.
4226         (org-export-target-internal-links): Take care of coderef targets.
4227         (org-export-last-code-line-counter-value): New variable.
4228         (org-export-replace-src-segments-and-examples): Renamed from
4229         `org-export-replace-src-segments', and modified.
4230         (org-export-format-source-code-or-example): Renamed from
4231         `org-export-format-source-code'.
4232         (org-export-number-lines): New function.
4233         (org-export-as-ascii, org-export-as-html): Handle coderef links.
4235 --------------------------------------------------------------------------
4237 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
4239         * org-remember.el (org-remember-handler): Safer way to get a new
4240         buffer accessing the target file.
4242         * org.el (org-refile-get-location): Handle case of current buffer
4243         not having a file associated with it.
4245 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
4247         * org-table.el (org-table-get-formula): Only ask to overwrite
4248         field formula if there really is one.
4250         * org-id.el (org-id-find): Allow the ID to be a symbol or a
4251         number, by converting these to a string.
4253         * org-colview.el (org-dblock-write:columnview): Allow ID to be
4254         located in a different file.
4256         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
4257         org-colview.el.
4259 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
4261         * org.el (org-completion-use-ido): Enhance docstring of
4262         `org-completion-use-ido'.
4264         * org-export-latex.el (org-export-latex-make-header): Double the %
4265         in the time stamp format.
4266         (org-export-latex-special-chars): Handle case where there is no
4267         match group 3.
4269 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
4271         * org.el (org-get-refile-targets, org-refile-get-location): Use
4272         expanded file name to improve comparison.
4274 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
4276         * org.el (org-scan-tags): Rescan for tags, to get the correct
4277         upcase/downcase stuff.  This slows things down for now, but it
4278         works.
4279         (org-mode): Make sure the tag-faces regexp is initialized.
4281         * org-export-latex.el (org-export-latex-links): Fix bug with
4282         undefined label.
4284         * org-table.el (org-table-get-specials): Set
4285         `org-table-current-last-data-line'.
4286         (org-table-current-last-data-line): New variable.
4287         (org-table-insert-column, org-table-delete-column)
4288         (org-table-move-column, org-table-fix-formulas): Call
4289         `org-table-fix-formulas' a second time to fix the $LR references.
4290         (org-table-get-specials): Add the $LR references to the tables.
4291         (org-table-get-formula): Do not offer last-row names as LHS of
4292         formulas.
4294         * org.el (org-store-link): Capture link description from
4295         `org-id-store-link'.
4297         * org-exp.el (org-export-html-format-image): Add the / to the end
4298         of the <img> tag.
4299         (org-export-format-source-code): Surround example by empty lines,
4300         to make sure it will not be inside a paragraph.
4302         * org.el (org-ido-switchb): New function.
4304 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
4306         * org-agenda.el (org-agenda-show): New prefix argument
4307         FULL-ENTRY.
4309         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4310         argument.
4312         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
4313         `org-agenda-change-all-lines'.
4314         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
4315         tags are now retrieved locally.
4317 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
4319         * org.el (org-get-outline-path): Fix bug if level is not given.
4320         (org-org-menu): Do not quote function in menu vector.
4322         * org-agenda.el (org-finalize-agenda): Fix typo with variable
4323         name.
4325 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4327         * org.el (org-refile): Avoid refiling to within the region to be
4328         refiled.
4330         * org-export-latex.el (org-export-latex-special-chars): Replace
4331         special characters also in tables.
4333         * org-agenda.el (org-agenda-change-all-lines): New argument
4334         FORCE-TAGS.
4335         (org-agenda-set-tags): Cet the new tags and pass them to
4336         `org-format-agenda-item'.
4338 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
4340         * org-export-latex.el (org-export-latex-classes): Add longable as
4341         a default package to all classes.
4342         (org-export-latex-tables): Handle the longtable attribute and the
4343         align attribute.
4345         * org-table.el (orgtbl-to-generic): Handle tables that start with
4346         a hline.
4348         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4349         \verb for colde-like snippets.
4350         (org-export-as-latex): Fix issues with region export.
4352         * org.el (org-up-heading-safe): Speed up function by using a
4353         direct regexp search.
4354         (org-olpa): New variable.
4355         (org-get-outline-path): Speed-up path constructions in cases where
4356         this is possible because the entire hierarchy is scanned anyway.
4357         (org-refile-get-location): Don't compare the truenames of files,
4358         this is too slow.
4359         (org-goto-max-level): New option.
4360         (org-goto): Use `org-goto-max-level'.
4362 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
4364         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4365         Strip angle brackets from message-ids in the former and don't do
4366         it in the latter.
4367         (org-gnus-follow-link): Open summary reliable, even if the last
4368         messages were deleted, and handle empty groups, too.
4370 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
4372         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4373         instead of \texttt for the =...= and ~===~ emphasis environments.
4374         (org-export-as-latex): Remove any old :org-license-to-kill text
4375         properties.
4376         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4377         (org-export-latex-make-header): Add some hard space after the
4378         table of contents.
4379         (org-export-latex-first-lines): Accept RBEG argument.  Mark
4380         exported text so that it will be excuded in further steps.
4382         * org-table.el (org-table-get-specials): Make @0 reference the
4383         last line in a table.
4384         (org-table-recalculate): Improve docstring.
4386 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
4388         * org.el (org-log-done): Fix docstring.
4390 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
4392         * org-exp.el (org-export-html-format-image): Fix bugs.
4394         * org-export-latex.el (org-export-latex-tables)
4395         (org-export-latex-links): Implement attribute, label, and caption
4396         handling.
4398         * org-exp.el (org-export-html-style-default): Add style
4399         definitions for the figure div.
4400         (org-export-preprocess-string, org-export-as-html): Implement
4401         attribute, label, and caption handling.
4402         (org-export-attach-captions-and-attributes): New function.
4403         (org-export-html-format-image): New function.
4404         (org-format-org-table-html): Implement attribute, label, and
4405         caption handling.
4407         * org.el (org-find-text-property-in-string): New function.
4408         (org-extract-attributes): Use the property org-attr instead of
4409         org-attrobutes, because this property is now set with the #+ATTR
4410         lines.
4412 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
4414         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
4415         the case that FROM is nil.
4417         * org.el (org-before-first-heading-p): New function.
4419 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4421         * org-exp.el (org-export-as-html): Do not add a space before
4422         enforces line breaks.
4423         (org-export-as-html): Close paragraph before blockquote and verse
4424         tags.
4426 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
4428         * org-id.el (org-id-locations-file): Wrap file name with
4429         `convert-standard-filename'.
4430         (org-id-files): New variable.
4431         (org-id-use-hash): New option.
4432         (org-id-update-id-locations): Also search in all files current
4433         listed in `org-id-files'.  Convert the resulting alist to a hash
4434         if the user customation says so.
4435         (org-id-locations-save): Handle he case if `org-id-locations' is a
4436         hash.
4437         (org-id-locations-load): Convert the alist to a hash.
4438         (org-id-add-location): Handle the hast case.
4439         (kill-emacs-hook): Make sure id locations are saved when Emacs is
4440         exited.
4441         (org-id-hash-to-alist, org-id-alist-to-hash)
4442         (org-id-paste-tracker): New functions.
4444 -------------------------------------------------------------------------
4446 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
4448         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
4449         bindings of calendar variables.
4451         * org-table.el (org-table-find-row-type): Renamed from
4452         `org-find-row-type'.
4453         (org-table-rewrite-old-row-references): Renamed from
4454         `org-rewrite-old-row-references'.
4455         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
4456         (org-table-cleanup-narrow-column-properties): Renamed from
4457         `org-cleanup-narrow-column-properties'.
4459 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
4461         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
4462         for better error messages.
4463         (org-table-get-descriptor-line): Supply the new arguments to
4464         `org-find-row-type'.
4465         (org-table-error-on-row-ref-crossing-hline): New option.
4467         * org.el (org-target-link-regexp): Make buffer-local.
4468         (org-move-subtree-down): Fix bug with trees at beginning of
4469         buffer.
4471 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
4473         * org-faces.el (org-set-tag-faces): New function.
4474         (org-tags-special-faces-re): New variable.
4476         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
4478         * org-faces.el (org-tag-faces): New option.
4479         (org-tag): Mention `org-tag-faces' in the docstring.
4481 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
4483         * org-exp.el (org-export-html-style-default): Implement new
4484         quoting.
4486         * org-jsinfo.el (org-infojs-template): Implement new quoting.
4488         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
4489         command to the `w3m-minor-mode-map'.
4491         * org-archive.el (org-archive-to-archive-sibling): Protect
4492         `this-command' to avoid appending kills during archiving.
4494         * org-exp.el (org-export-with-priority): New variable.
4495         (org-export-add-options-to-plist): Use `org-export-plist-vars'
4496         instead of internal list of strings and properties.
4497         (org-print-icalendar-entries): Retrieve the location property with
4498         inheritance.
4500 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
4502         * org-exp.el (org-export-with-todo-keywords): New option.
4503         (org-export-plist-vars): Include also the keys for the #+OPTIONS
4504         line.
4505         (org-default-export-plist, org-export-add-options-to-plist)
4506         (org-export-as-ascii, org-export-as-html): Use the new structure
4507         of `org-export-plist-vars'.
4509         * org.el (org-map-entries): Return all values.
4511 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
4513         * org.el (org-matcher-time): Recognize more special values.
4515         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
4517 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
4519         * org.el (org-tags-exclude-from-inheritance): New option.
4520         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
4521         `org-tags-exclude-from-inheritance'.
4523         * org-agenda.el (org-agenda-show-inherited-tags): New option.
4524         (org-format-agenda-item): Add inherited tags to the agenda line
4525         string, and make sure that properties are kept when downcasing the
4526         tags list.
4527         (org-agenda-add-inherited-tags): New function.
4528         (org-downcase-keep-props): New function.
4530         * org.el (org-scan-tags): Mark inherited tags with a text
4531         property.
4532         (org-get-tags-at): Mark inherited tags with a text property.
4533         (org-add-prop-inherited): New function.
4535         * org-agenda.el (org-agenda-add-inherited-tags): New function.
4536         (org-agenda-show-inherited-tags): New option.
4538 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
4540         * org.el (org-modules): Add org-w3m to the default modules.
4542         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
4543         orgtbl-mode.
4544         (orgtabl-create-or-convert-from-region): New command.
4546         * org-exp.el (org-export-as-ascii): Remove the handling of
4547         targets.
4548         (org-export-ascii-preprocess): Handle targets already in this
4549         function.
4551 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
4553         * org-timer.el (org-timer-start-time): Define this variable.
4554         (org-timer-item): Make argument optional.
4556         * org-list.el (org-insert-item): Automatically insert a timer item
4557         if the current list is a timer list.
4559         * org-timer.el: New file.
4561         * org-publish.el (org-publish-org-index): Only exclude the index
4562         file in the main directory from being added to the site-map.
4563         (org-publish-get-project-from-filename): If the current project is
4564         a component, start publishing from the parent project.
4566 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
4568         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
4570         * org-publish.el (org-publish-org-index): Improve removal of
4571         temporary buffers.
4573         * org-agenda.el (org-get-closed): Re-apply changes
4574         accidentially overwritten by last commit to Emacs.
4576         * org.el (org-outline-path-complete-in-steps): New option.
4577         (org-refile-get-location): Honor
4578         `org-outline-path-complete-in-steps'.
4579         (org-agenda-change-all-lines, org-tags-sparse-tree)
4580         (org-time-string-to-absolute, org-small-year-to-year)
4581         (org-link-escape): Re-apply changes accidentially overwritten
4582         by last commit to Emacs.
4584 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4586         * org-clock.el (org-dblock-write:clocktable): Make sure the
4587         clocktable sees the first line.
4588         (org-clock-in): Warn if the clock cannot be resumed.
4590 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
4592         * org.el (org-open-at-point): Fix mixup about interactive and
4593         non-interactive elisp links.
4595 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4597         * org-exp.el (org-export-preprocess-string): Allow one comment
4598         line before the first headline to always be included.  This is
4599         to not miss a commented target.
4601         * org-mouse.el (org-mouse-insert-item): Call
4602         `org-indent-to-column' instead of `indent-to', for XEmacs
4603         compatibility.
4605         * org.el (org-refile-targets): Fix customize definition so
4606         that it works also in XEmacs.
4607         (org-fixup-indentation): Call `org-indent-to-column' instead
4608         of `indent-to', for XEmacs compatibility.
4610 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
4612         * org-mew.el (org-mew-store-link): Get the correct case folder
4613         for refiled messages.
4615 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4617         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
4618         line break indicators.
4620         * org.el (org-ido-completing-read): Remove the "i:" prefix for
4621         ido-completion propts.
4623 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4625         * org-remember.el (org-remember-apply-template): Use
4626         `org-substring-no-properties'.
4628         * org-compat.el (org-substring-no-properties): New function.
4630         * org-remember.el (org-remember-apply-template): Use
4631         `org-substring-no-properties' for compatibility.
4633         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
4634         option.
4635         (org-fix-bullet-type): respect
4636         `org-list-two-spaces-after-bullet-regexp'.
4638         * org-clock.el (org-clock-load): Clean up the code.
4640         * org.el (org-adaptive-fill-function): Allow two spaces after
4641         "1." as a list bullet.
4643 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
4645         * org-clock.el (org-clock-save, org-clock-load): Check for
4646         live buffers, existing files, and buffer file names to ensure
4647         consistent information.
4648         (org-clock-persist): Make `clock' a special value of this
4649         variable, and improve docstring.
4651         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
4652         (org-get-string-indentation): Adapt indentation when the bullet
4653         width changes.
4655 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
4657         * org-remember.el (org-remember-finalize): Make interactive.
4658         (org-remember-kill): New command.
4659         (org-remember-finish-immediately): Call `org-remember-finalize'
4660         directly.
4661         (org-remember-finalize): Make `org-remember-finalize' an interactive
4662         function.
4664 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
4666         * org-remember.el (org-remember-apply-template): No ido completion
4667         for free prompts in remember templates.
4668         (org-remember-before-finalize-hook): New hook.
4669         (org-remember-mode): New minor mode.
4670         (org-remember-apply-template): Turn on `org-remember-mode'.
4672         * org-id.el (org-id-add-location): Avoid error when no file is
4673         given.
4675         * org-remember.el (org-remember-apply-template): Fix the way how
4676         the list of allowed properties is retrieved from the target file.
4678         * org.el (org-insert-link): Improve file link matching.
4680 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
4682         * org-colview.el (org-columns-display-here): New argument
4683         DATELINE, to trigger using the new face.
4684         (org-agenda-colview-summarize): Call `org-columns-display-here'
4685         with the new argument.
4687         * org-faces.el (org-agenda-column-dateline): New face.
4689         * org-publish.el (org-publish-org-index): Use index-title at page
4690         title, not as section.
4692         * org-exp.el (org-export-html-format-desc): Respect the
4693         org-protect property.
4694         (org-export-as-html): Protect image specifiers that are in the
4695         description part of a link.
4697         * org.el (org-sort-entries-or-items, org-completing-read)
4698         (org-refile-get-location, org-olpath-completing-read, org-todo)
4699         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
4700         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
4701         (org-set-property, org-delete-property)
4702         (org-delete-property-globally): Use `org-ido-completing-read'.
4704         * org-remember.el (org-remember-apply-template): Use
4705         `org-ido-completing-read'.
4707         * org-publish.el (org-publish): Use `org-ido-completing-read'.
4709         * org-colview.el (org-columns-edit-value, org-columns-new)
4710         (org-insert-columns-dblock): Use `org-ido-completing-read'.
4712         * org-colview-xemacs.el (org-columns-edit-value)
4713         (org-columns-new, org-insert-columns-dblock): Use
4714         `org-ido-completing-read'.
4716         * org-attach.el (org-attach-delete-one, org-attach-open): Use
4717         `org-ido-completing-read'.
4719         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
4720         `org-ido-completing-read'.
4722         * org.el (org-time-today): New function.
4723         (org-matcher-time): Use `org-time-today'.  Add special treatment
4724         for "<tomorrow>" and "<yesterday>".
4725         (org-ido-completing-read): New function.
4726         (org-completion-use-ido): New option.
4728         * org-exp.el (org-export-format-source-code): Fix bug in require
4729         htmlize code.
4730         (org-export-target-internal-links): Fix bug in search for text
4731         property.
4733 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
4735         * org-export-latex.el (org-export-latex-subcontent): Interprete
4736         target aliases as additonal labels.
4738         * org-exp.el (org-export-target-aliases): New variable.
4739         (org-export-preprocess-string)
4740         (org-export-handle-invisible-targets): Fill the alias alist.
4741         (org-export-as-html): Remove the &nbsp; from the anchor, and also
4742         assign an id.
4743         (org-html-level-start): Insert the target aliases as additonal
4744         anchors.
4746         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
4747         picture area.
4749 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
4751         * org.el (org-open-at-mouse): Ensure correct link abbreviations
4752         when following a link with the mouse from the agenda.
4754         * org-exp.el (org-export-as-html): Avoid lone </div> when no
4755         headlines are created.
4757 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
4759         * org-exp.el (org-export-preprocess-string): Reorder so that we
4760         can still see ID properties when we collect targets.
4761         (org-export-target-internal-links): Also store targets for ID's.
4763         * org.el (org-link-translation-function): New option.
4764         (org-open-at-point): Call `org-link-translation-function' if
4765         non-nil.
4766         (org-translate-link): New function.
4767         (org-translate-link-from-planner): New function.
4768         (org-open-at-point): Allow interactive commands in elisp links.
4770         * org-exp.el (org-icalendar-cleanup-string): Restore the old
4771         iCalendar quoting.  The new one seems to caus problems with
4772         applications.
4774         * org.el (org-yank): Set `this-command' to `yank', so that
4775         `yank-pop' will work.
4777 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
4779         * org-id.el (org-id-search-archives): New option.
4781         * org.el (org-link-to-org-use-id): New option.
4782         (org-store-link): Use `org-link-to-org-use-id'.
4783         (org-id): Make org-id.el a standard component.
4785 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
4787         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
4788         hexified version of the tag.
4790         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
4791         compliance as far as quoting is concerned.
4793         * org-vm.el (org-vm-follow-link): Require `vm-search'.
4795         * org.el (org-up-heading-safe, org-forward-same-level): Always
4796         call `org-back-to-heading' instead of `outline-back-to-heading'.
4797         (org-back-to-heading): New wrapper around outline-back-to-heading,
4798         with a useful error message telling where the error happened.
4800         * org-list.el (org-update-checkbox-count): Always call
4801         `org-back-to-heading' instead of `outline-back-to-heading'.
4803         * org-exp.el (org-export-as-html): Make sure that each <img> tag
4804         has an `alt' attribute, to ensure XHTML validation.
4806 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4808         * org-publish.el (org-publish-attachment): Allow publishing to
4809         overwrite attachment files.
4811         * org-agenda.el (org-agenda-timerange-leaders): New option.
4812         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
4814         * org.el (org-edit-src-exit): Untabify ASCII image before
4815         returning.
4828 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
4830         * org.el (org-yank): Make any prefix force normal yanking.
4831         Suppress folding if text would be swallowed into a folded
4832         subtree.
4833         (org-yank-folded-subtrees, org-yank): Docstring updates.
4835         * org-agenda.el (org-agenda-compare-effort): Treat no effort
4836         defined as 0.
4838         * org-exp.el (org-export-language-setup): Add Catalan and
4839         Esperanto language entries.
4841 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
4843         * org.el (org-refile): Allow refiling of entire regions.
4845         * org-clock.el (org-clock-time%): New function.
4847         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
4848         retrieve property values.
4850 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
4852         * org-agenda.el (org-agenda-list): Handle the value `only' of
4853         org-agenda-show-log'.
4854         (org-agenda-log-mode): Interpret a double prefix arg.
4856 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
4858         * org-exp.el (org-export-html-footnotes-section): New variable.
4859         (org-export-as-html): Use `org-export-html-footnotes-section' to
4860         insert the footnotes.
4861         (org-export-language-setup): Add "Footnotes" to language words.
4863 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
4865         * org.el (org-yank): Fix bug when not inserting a subtree.
4867 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
4869         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
4870         instead of `vm-beginning-of-message'.
4872         * org.el (org-make-link-regexps): Make sure that links to gnus can
4873         contain brackets.
4875 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
4877         * org-attach.el (org-attach-dir): Remove duplicate ID creation
4878         code.
4880         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
4881         shell output.
4883         * org.el (org-link-abbrev-alist): Improve customization type.
4885         * org-attach.el (org-attach-expand-link, org-attach-expand): New
4886         functions.
4888         * org-agenda.el (org-agenda-get-progress): Renamed from
4889         `org-get-closed'.  Implement searching for state changes as well.
4890         (org-agenda-log-mode-items): New option.
4891         (org-agenda-log-mode): New option prefix argument, interpreted as
4892         request to show all possible progress info.
4893         (org-agenda-get-day-entries): Call `org-get-progress' instead of
4894         `org-get-closed'.
4895         (org-agenda-set-mode-name): Handle the more complex log mode
4896         settings.
4897         (org-get-closed): New alias, pointing to `org-get-progress'.
4899 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
4901         * org.el (org-file-apps-defaults-gnu)
4902         (org-file-apps-defaults-macosx)
4903         (org-file-apps-defaults-windowsnt): Add an entry defining the
4904         system command.
4905         (org-file-apps): Allow `system' as key and value.
4906         (org-open-at-point): Explain the effect of a double prefix arg.
4907         (org-open-file): If the argument `in-emacs' is (16),
4908         i.e. corresponding to a double prefix argument, try to open the
4909         file externally.
4911 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
4913         * org.el (org-insert-link): Abbreviate absolute files names in
4914         links.  Also, fix a bug in which the double C-u prefix would not
4915         be honored.
4917 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
4919         * org.el (org-insert-heading): If buffer does not end with a
4920         newline, add one if necessary to insert headline correctly.
4922         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
4923         paragraphs, not inside.
4925         * org.el (org-todo): Quote
4926         `org-agenda-headline-snapshot-before-repeat'.
4928         * org-exp.el (org-export-as-html): Fully process link descriptions.
4929         (org-export-html-format-desc): New function.
4930         (org-export-as-html): Collect footnotes into the correct basket.
4931         (org-html-protect): No longer protect quotations marks here, this
4932         goes wrong.
4934         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
4935         BEG.
4937         * org-compat.el (org-fit-window-to-buffer): New function (not
4938         really, a preliminary and incomplete version was present earlier,
4939         but not used).
4941         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
4942         `org-fit-window-to-buffer'.
4944         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
4946         * org-agenda.el (org-agenda-get-restriction-and-command)
4947         (org-fit-agenda-window, org-agenda-convert-date): Use
4948         `org-fit-window-to-buffer'.
4950         * org-exp.el (org-export-as-html): Process href links through
4951         `org-export-html-format-href'.
4952         (org-export-html-format-href): New function.
4954         * org-agenda.el (org-agenda-todo): Update only the current
4955         headline if this is a repeated TODO, marked done for today.
4956         (org-agenda-change-all-lines): New argument JUST-THIS, to change
4957         only the current line.
4959         * org.el (org-todo): Take a snapshot of the headline if the
4960         repeater might change it.
4962 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
4964         * org-publish.el (org-publish-find-title): Remove buffers visited
4965         only for extracting the title.
4967         * org-exp.el (org-export-html-style)
4968         (org-export-html-style-default): Mark style definitions as
4969         unparsed CDATA.
4971         * org-publish.el (org-publish-validate-link): Function
4972         re-introduced.
4974 2008-11-02  Charles Sebold  <csebold@gmail.com>
4976         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
4977         property.
4978         (org-plot-quote-timestamp-field): New function.
4979         (org-plot-quote-tsv-field): Call timestamp field function when
4980         necessary rather than just quoting as a string.
4981         (org-plot/gnuplot-to-data): Pass in timefmt property.
4982         (org-plot/gnuplot-script): Supports timefmt property.
4983         (org-plot/gnuplot): Checks for timestamp column before checking
4984         for text index column.
4986 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
4988         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
4990         * org-publish.el (org-publish-org-index): Create a section in the
4991         index file.
4992         (org-publish-org-index): Stop linking to directories.
4994         * org.el (org-emphasis-alist): Use span instead of <u> to
4995         underline text.
4997         * org-exp.el (org-export-as-html): Make sure <p> is closed before
4998         <pre> sections.
5000 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5002         * org-jsinfo.el (org-infojs-template): Remove language attribute
5003         from script tag.
5005 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5007         * org-agenda.el (org-agenda-remove-marked-text): New function.
5008         (org-agenda-mark-filtered-text)
5009         (org-agenda-unmark-filtered-text): New functions.
5010         (org-write-agenda): Remove fltered text.
5012         * org.el (org-make-tags-matcher): Give access to TODO "property"
5013         without speed penalty.
5015 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
5017         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5018         option.
5019         (org-store-link-props): Make sure adding to the plist works
5020         correctly.
5022         * org-gnus.el (org-gnus-no-new-news): New function.
5023         (org-gnus-follow-link): Allow the article ID to be a message-id,
5024         in addition to allowing article numbers.  Message IDs make much
5025         more roubust links.
5026         (org-gnus-store-link): Use message-id to create link.
5028 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
5030         * org.el (org-emphasize): Reverse the selection array.
5031         (org-emphasis-alist): Set <code> tags for the verbatim
5032         environment.
5034         * org-remember.el (org-remember-handler): Fix bug with
5035         prefix-related changing of the note storage target.
5037         * org-exp.el (org-print-icalendar-entries): Make the exported
5038         priorities compatible with RFC 2445.
5040         * org-clock.el (org-clock-save): Insert time stamp without
5041         dependence on time-stamp.el.
5043 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
5045         * org.el ("saveplace"): If saveplace puts point into an invisible
5046         location, make it visible.
5047         (org-make-tags-matcher): Allow inactive time stamps in time
5048         comparisons.
5049         (org-yank-adjusted-subtrees): New option.
5050         (org-yank): Incorporate adjusting trees.
5051         (org-paste-subtree): New argument FOR-YANK which will cause
5052         insertion at point without backing up over white lines, and leave
5053         point at the end of the inserted text.  Also if the cursor is
5054         at the beginning of a headline, use the same level or the inserted
5055         tree.
5057         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5058         with broken symlinks
5060 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5062         * org-exp.el (org-export-select-tags, org-get-current-options):
5063         Fix typo.
5065 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
5067         * org-agenda.el (org-format-agenda-item)
5068         (org-agenda-filter-make-matcher): Make sure tags are stored and
5069         compared donwcased.
5071 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
5073         * org.el (org-insert-todo-heading): Fix bug with force-heading
5074         argument.
5076 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
5078         * org-clock.el (org-clock-in-resume): Add a custom option to
5079         toggle starting the clock from an open clock line.
5080         (org-clock-in): When clocking in to an entry, if
5081         `org-clock-in-resume' is set, check if the first clock line is
5082         open and if so, start the clock from the time in the clock line.
5083         (org-clock-persist): Add a custom option to toggle clock
5084         persistence.
5085         (org-clock-persist-query-save): Add a custom option to toggle
5086         asking the user if they want to save the running clock when
5087         exiting.
5088         (org-clock-persist-query-resume): Add a custom option to toggle
5089         asking the user if they want to resume the saved clock when Emacs
5090         is restarted.
5091         (org-clock-save): Add a function to save clock data.
5092         This includes the contents of `org-clock-history' and the buffer
5093         and position of the currently clocked task, if any.
5094         (org-clock-load): Add a function to load clock data.
5095         This populates `org-clock-history', and resumes the saved clocked
5096         task if there is one.
5097         (org-clock-persistence-insinuate): Add a method to set up the
5098         hooks for clock persistence.
5100 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
5102         * org-exp.el (org-export-as-ascii): Handle the case that we are
5103         publishing from an indirect buffer.
5105         * org-table.el (org-table-copy-down): Fix bug with time stamp
5106         increment.
5108         * org-mouse.el (org-mouse-features): New option.
5109         (org-mode-hook): Turn on features depending on
5110         `org-mouse-features'.
5112         * org.el (org-insert-heading-respect-content): Force heading
5113         creation.
5114         (org-insert-heading): keep the folding state of the heading before
5115         the inserted one.
5117 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5119         * org-archive.el (org-archive-to-archive-sibling): Handle top
5120         level headlines better.
5122 2008-10-21  Bastien Guerry  <bzg@altern.org>
5124         * org-export-latex.el (org-export-latex-classes): Added
5125         \usepackage{graphicx} to the default list of packages.
5127 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5129         * org-agenda.el (org-agenda-filter): Renamed from
5130         `org-agenda-filter-tags'.
5132 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
5134         * org.el (org-entry-properties): Add CATEGORY property, iven if it
5135         is not defined as a property in this entry.
5136         (org-add-log-note): Mask prefix argument when immediately storing
5137         the note.
5139         * org-agenda.el (org-agenda-filter-effort-default-operator): New
5140         option.
5142 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
5144         * org.el (org-add-log-setup): Bugfix; code to find insertion point
5145         after drawers was skipping ahead one line too many, so notes were
5146         inserted after the first note instead of before it.
5148 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
5150         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5151         New variables.
5152         (org-prepare-agenda): Reset the filter tags.
5153         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5154         Show filter tags in mode line.
5156         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5157         formatter.
5159         * org-export-latex.el (org-latex-entities-regexp): New constant.
5160         (org-export-as-pdf): Use two calls to `shell-command'.
5162 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
5164         * org-export-latex.el (org-export-latex-treat-sub-super-char):
5165         Honor the {} value of the subsuperscript setting.  Make sure that
5166         longer subsuperscripts are typeset in a roman font.
5168         * org.el (org-clock-update-time-maybe): Compute negative clock
5169         intervals correctly.
5171 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
5173         * org.el (org-add-log-setup): Respect
5174         `org-log-state-notes-insert-after-drawers'.
5175         (org-log-state-notes-insert-after-drawers): New option.
5176         (org-todo-trigger-tag-changes): New function.
5177         (org-todo): Call `org-todo-trigger-tag-changes'.
5179 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
5181         * org.el (org-add-log-setup): Only skip drawers if the are
5182         immediately after the scheduling keywords.
5184         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5185         function
5186         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5187         call it with the current todo state to get the state to switch to
5188         when clocking in.
5189         (org-clock-in): Use org-indent-line-function to indent clock lines.
5190         (org-clock-find-position): Fix indentation of empty clock drawers.
5192 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
5194         * org-publish.el (org-publish-org-to): Handle case when
5195         org-export-to-pdf does return a file name, not a buffer.
5196         (org-publish-org-to-pdf): New function.
5198         * org-export-latex.el (org-export-as-pdf)
5199         (org-export-as-pdf-and-open): New commands.
5201         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5202         forms as ranges.
5204         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5205         things in protexted regions.
5207 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
5209         * org-export-latex.el (org-export-latex-preprocess): Improve
5210         quoting of LaTeX environments.
5212 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
5214         * org.el (org-edit-fixed-width-region): Exclude final newline from
5215         picture area.
5217         * org-export-latex.el (org-export-latex-subcontent): Add labels to
5218         sections, to make internal links work.
5219         (org-export-latex-fontify-headline): Do not remove all text
5220         properties, to make sure that target properties survive this
5221         process.
5223         * org-exp.el (org-export-preprocess-string): Change sequence of
5224         modifications, to make sure links are prepared before the LaTeX
5225         conversions do happen.
5227 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
5229         * org-attach.el (org-attach-delete-all): Renamed from
5230         `org-attch-delete'.  Add a security query before deleting the
5231         entire directory.  New optional argument FORCE can overrule the
5232         security query.
5233         (org-attach-delete-one): New command.
5235 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
5237         * org-attach.el (org-attach-file-list): Fix bug with directory.
5239 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
5241         * org.el (org-apps-regexp-alist): New function.
5242         (org-file-apps): Add auto-mode to the default value.
5243         (org-open-file): Use the new structure of org-file-apps.
5245         * org-attach.el (org-attach): Support the new keys.
5246         (org-attach-method): New option.
5248 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
5250         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5251         March.
5253         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5254         of the list value o `org-use-tag-inheritance'.
5256         * org-attach.el (org-attach-auto-tag): New option.
5257         (org-attach-tag, org-attach-untag): New functions.
5258         (org-attach-attach, org-attach-new, org-attach-sync): Call
5259         `org-attach-tag'.
5260         (org-attach-delete): Call `org-attach-untag'.
5262 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
5264         * org-table.el (orgtbl-self-insert-command): Make this work for
5265         the keypad as well.
5267 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
5269         * org.el (org-add-log-setup): Limit searc for drawers to entry
5270         text, not to subtree.
5272         * org-clock.el (org-clock-heading-for-remember): New variable.
5273         (org-clock-in): Set `org-clock-heading-for-remember'.
5275 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
5277         * org-remember.el (org-remember-apply-template): Add new
5278         expansions: %k, %K for currently clocked task and a link to the
5279         currently clocked task, and %< to file notes in the currently
5280         clocked task.
5282 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
5284         * org-export-latex.el (org-export-latex-make-header): Also insert
5285         the content of the property :latex-header-extra.
5287         * org-exp.el (org-infile-export-plist): Put the content of
5288         #+LATEX_HEADER: into the property :latex-header-extra.
5290         * org-colview.el (org-columns-get-format-and-top-level): Remove
5291         resetting the marker.
5293         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5294         Remove resetting the marker.
5296         * org.el (org-entry-property-inherited-from): Improve docstring.
5297         (org-entry-get-with-inheritance): Reset marker before starting the
5298         search.
5300         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5302 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
5304         * org.el (org-entry-get-multivalued-property)
5305         (org-entry-protect-space, org-entry-restore-space): New
5306         functions.
5307         (org-file-apps-defaults-macosx): Let postscript files be opened by
5308         preview.
5309         (org-time-stamp-inactive): Call `org-time-stamp'.
5310         (org-time-stamp): New argument `inactive'.  Also edit inacive
5311         stamps. Convert time stamp type.
5312         (org-open-file): Interpret the `default' value for the `command'
5313         in `org-file-apps'.
5315         * org-id.el (org-id-int-to-b36-one-digit)
5316         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5317         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
5318         b36.
5320 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
5322         * org-id.el (org-id-reverse-string): New function.
5323         (org-id-new): Use `org-id-reverse-string' to make sure the
5324         beginning chars of the ID are mutating fast.  This allows to use a
5325         directory structure to spread things better.
5326         (org-id-prefix): Changed default to nil.
5328         * org-list.el (org-move-item-down, org-move-item-up): Remember and
5329         restore the column of the cursor position.
5331         * org-remember.el (org-remember-apply-template): Remove properties
5332         from `initial'.
5334 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
5336         * org-wl.el (org-wl-open): Remove useless call to
5337         `wl-thread-open-all'.
5339         * org-remember.el (org-remember-handler): Fix bug with `bottom'
5340         location.
5342 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
5344         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5345         `org-bbdb-anniversaries'.
5347         * org.el (org-get-next-sibling, org-forward-same-level): New
5348         functions, similar to the outline versions, but invisible headings
5349         are OK.
5351 2008-09-25  Bastien Guerry  <bzg@altern.org>
5353         * org.el (org-auto-repeat-maybe): Insert a space between
5354         the timestamp's type and the timestamp itself.
5356 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
5358         * org-table.el (org-table-sum): Do not format the result with %g,
5359         it does rounding when there are too many digits.
5361         * org.el (org-map-entries): Protect the keyword-selecting variables.
5363 2008-09-23  Bastien Guerry  <bzg@altern.org>
5365         * org-agenda.el (org-agenda-to-appt): Make sure the function check
5366         against all agenda files.
5368 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
5370         * org-list.el: New file, aggregating list functions from org.el
5371         and org-export-latex.el.
5373         * org.el (org-edit-src-region-extra): New option.
5375 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
5377         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5378         time before 1am.
5380 2008-09-22  Bastien Guerry  <bzg@altern.org>
5382         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5384 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
5386         * org-plot.el (org-plot/gnuplot): Make tables starting with a
5387         hline work correctly.
5388         (org-plot/gnuplot-script): Put commas at the end of each script
5389         line.
5391 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
5393         * org.el (org-get-refile-targets): Replace links with their
5394         descriptions
5395         (org-imenu-get-tree): Replace links with their descriptions.
5397         * org-remember.el (org-remember-apply-template): Add a new
5398         expansion for adding properties to remember items.
5400         * org.el (org-add-log-setup): Skip over drawers (properties,
5401         clocks etc) when adding notes.
5403         * org-agenda.el (org-agenda-get-closed): show durations of clocked
5404         items as well as the start and end times.
5406         * org-compat.el (org-get-x-clipboard-compat): Add a compat
5407         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
5409         * org-remember.el (org-get-x-clipboard): Use the compat
5410         function to get clipboard values when x-selection-value is
5411         unavailable. Use substring-no-properties instead of
5412         set-text-properties to remove text properties from the clipboard
5413         value.
5415         * lisp/org-clock.el (org-update-mode-line): Support limiting the
5416         modeline clock string, and display the full todo value in the
5417         tooltip. Set a local keymap so mouse-3 on the clock string goes to
5418         the currently clocked task.
5419         (org-clock-string-limit): Add a custom value for the maximum
5420         length of the clock string in the modeline.
5421         (org-clock-mode-map): Add a keymap for the modeline string
5423 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
5425         * org-compat.el (org-propertize): New function.
5427 2008-09-20  Bastien Guerry  <bzg@altern.org>
5429         * org-export-latex.el (org-export-latex-tables): protect exported
5430         tables from further special chars conversion.
5431         (org-export-latex-preprocess): Preserve LaTeX environments.
5432         (org-list-parse-list): Parse descriptive lists.
5433         (org-list-to-generic, org-list-to-latex, org-list-to-html)
5434         (org-list-to-texinfo): Export descriptive lists.
5435         (org-quote-chars): Remove.
5436         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
5437         (org-export-latex-list-beginning-re): Rename to
5438         `org-list-beginning-re'
5439         (org-list-item-begin): Rename to `org-list-item-beginning'
5441 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
5443         * org.el (org-refile): Allow refiling to the last entry in the
5444         buffer.
5445         (org-get-tags-at): Fix bug when inheritance is turned off.
5447 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
5449         * org.el (org-indent-line-function): No longer check for src
5450         regions, this is too much overhead.
5452         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
5453         matching.
5455         * org.el (org-scan-tags): Make sure that tags matching is not case
5456         sensitive.  TODO keyword matching is case sensitive, however, to
5457         avoid confusion with similar words that are not meant to be
5458         keywords.
5460 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
5462         * org.el (org-get-local-tags-at): New function.
5463         (org-get-local-tags): New function.
5465         * org-exp.el (org-export-get-categories): New function.
5467         * org-agenda.el (org-sorting-choice)
5468         (org-agenda-sorting-strategy, org-agenda-get-todos)
5469         (org-agenda-get-timestamps, org-agenda-get-deadlines)
5470         (org-agenda-get-scheduled, org-agenda-get-blocks)
5471         (org-entries-lessp): Implement sorting by TODO state.
5472         (org-cmp-todo-state): New defsubst.
5474         * org-colview.el (org-colview-construct-allowed-dates): New
5475         function.
5476         (org-columns-next-allowed-value): Use
5477         `org-colview-construct-allowed-dates'.
5479         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
5480         function.
5481         (org-columns-next-allowed-value): Use
5482         `org-colview-construct-allowed-dates'.
5484 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
5486         * org.el (org-protect-slash): New function.
5487         (org-get-refile-targets): Use `org-protect-slash'.
5489         * org-agenda.el (org-global-tags-completion-table): New variable.
5491         * org-exp.el (org-export-handle-export-tags): New function.
5492         (org-export-preprocess-string): Call
5493         `org-export-handle-export-tags'.
5495         * org-plot.el: New file.
5497         * org-publish.el (org-publish-expand-components): Function removed.
5498         (org-publish-expand-projects): Allow components to have components.
5500 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
5502         * org.el (org-indent-line-function): Do not indent in regions that
5503         are external source code.
5504         (org-yank-and-fold-if-subtree): New function.
5506         * org-agenda.el (org-agenda-todayp): New function.
5507         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
5508         `org-agenda-todayp'.
5510         * org.el (org-insert-heading-respect-content)
5511         (org-insert-todo-heading-respect-content): New commands.
5512         (org-insert-heading-respect-content): New option.
5513         (org-insert-heading): Respect `org-insert-heading-respect-content'.
5515         * org-clock.el (org-clock-find-position): Make sure the note after
5516         the clock line gets moved into the new clock drawer.
5518 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
5520         * org-id.el (org-id-new): New option.
5522 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
5524         * org-table.el (org-table-copy-down): Avoid overflow during
5525         increment.  Use prefix argument 0 to temporarily disable the
5526         increment.
5528 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
5530         * org-exp.el (org-export-as-html): Do not turn on the major mode
5531         if the buffer will be killed anyway.
5532         (org-get-current-options): Exclude the #+TEXT field.
5533         (org-export-as-html): Make sure text before the first headline is
5534         a paragraph.
5536         * org-publish.el (org-publish-org-to): Tell the exporter that this
5537         buffer will be killed, so it is not necessary to do major mode
5538         initialization.
5540         * org-archive.el (org-archive-to-archive-sibling): Show empty
5541         lines after folding the archive sibling.
5543         * org.el (org-log-note-extra): New variable.
5545 2008-09-05  Bastien Guerry  <bzg@altern.org>
5547         * org.el (org-additional-option-like-keywords): Added keywords for
5548         the _QUOTE, _VERSE and _SRC environments.
5550         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
5551         exporting _QUOTE and _VERSE environments.
5553 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
5555         * org-agenda.el (org-agenda-filter-by-tag): New command.
5557         * org-exp.el (org-get-current-options): Remove angular brackets
5558         from the date entry.
5560         * org.el (org-edit-fixed-width-region): New function.
5561         (org-edit-fixed-width-region): Also try
5562         `org-edit-fixed-width-region'.
5563         (org-edit-fixed-width-region-mode): New option.
5564         (org-activate-code): Only interprete lines starting with colon
5565         plus a space as example lines.
5567         * org-remember.el (org-remember-templates): Add nil instead of
5568         empty strings to fix the length of remember templates.
5570         * org-table.el (org-calc-default-modes): Fix the time format for
5571         calc, from 12 hour to 24 hour clock.
5573 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
5575         * org-agenda.el (org-agenda-get-deadlines)
5576         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
5577         entries that are pre-warnings of deadlines or reminders.
5579         * org.el (org-sort-entries-or-items): Make numeric and alpha
5580         comparisons ignore any TODO keyword and priority cookie.
5582         * org-remember.el (org-remember-handler): Reinterpretation of the
5583         prefix argument.
5585 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
5587         * org-agenda.el (org-agenda-get-scheduled): Use new
5588         `org-scheduled' face.
5590         * org-faces.el (org-scheduled): New face.
5592         * org-wl.el (org-wl-open): Remove incorrect declaration.
5594         * org-gnus.el (org-gnus-store-link): Support for :to information
5595         in gnus links.
5597         * org-exp.el (org-export-as-html): Fixed typo in creator
5598         information.
5599         (org-export-protect-examples): New parameter indent.  Insert extra
5600         spaces only when this parameter is specified.
5601         (org-export-preprocess-string): Call `org-export-protect-examples'
5602         with an indentation parameter when exporting to ASCII.
5604         * org-remember.el (org-remember-templates)
5605         (org-remember-apply-template): Allow the file component to be a
5606         function.
5608         * org.el (org-goto-local-search-headings): Renamed from
5609         `org-goto-local-search-forward-headings'.  Added the possibility
5610         to search backwards.
5612 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
5614         * org-export-latex.el (org-export-latex): New customization
5615         group.
5617         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
5619 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
5621         * org-exp.el (org-html-do-expand): Allow {} to terminate
5622         tex macro
5624 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
5626         * org.el (org-buffer-list): Select buffers based on major mode,
5627         not on file name.
5629 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
5631         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
5632         face property.
5634         * org-colview.el (org-columns-display-here): Use
5635         `org-columns-modify-value-for-display-function'.
5637         * org-colview-xemacs.el (org-columns-display-here): Use
5638         `org-columns-modify-value-for-display-function'.
5640 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
5642         * org.el (org-columns-modify-value-for-display-function): New option.
5654         * org-publish.el (org-publish-file): Make sure the directory match
5655         for the publishing directory works correctly.
5657         * org-agenda.el (org-agenda-execute-calendar-command)
5658         (org-agenda-diary-entry): Additional optional argument.
5660 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
5662         * org-exp.el (org-export-as-html): Add attributes also in mailto
5663         and ftp links.
5665         * org.el (org-autoload): Add `org-dblock-write:columnview'.
5674 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
5676         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
5677         sure that calls from `org-export-region-as-html' do not do the
5678         special check for a subtree.
5680 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
5682         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
5684 2008-07-20  Juri Linkov  <juri@jurta.org>
5686         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
5687         new keymap `narrow-map' instead of binding "\C-xns".
5689 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
5691         * org.el (org-open-file): Use
5692         `org-open-directory-means-index-dot-org'.
5693         (org-open-directory-means-index-dot-org): New option.
5695 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
5697         * org.el (org-make-link-string): Remove link attributes from
5698         description.
5699         (org-open-at-point): Remove link attributes bevore using the path.
5701         * org-exp.el (org-export-as-html): Handle link attributes.
5703         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
5705         * org-table.el (org-table-to-lisp): New function.
5707         * org.el (org-narrow-to-subtree): Do not include the final newline
5708         into the narrowed region.
5710         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
5711         bug with user-define skipping condition.
5713 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
5715         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
5717 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
5719         * org-exp.el (org-export-html-style-default): Automatic overflow
5720         handling for pre fields.
5721         (org-export-as-ascii, org-export-as-html): Change default format
5722         for time stamp.
5724         * org-table.el (org-table-export): Offer completion for translator
5725         functions, and do not require a heading above the table.
5727         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
5728         Cater for the case of a list starting in the first line of the
5729         buffer.
5731 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
5733         * org-publish.el (org-publish-find-title): Bug fix.
5734         (org-publish-org-index): Implement new :index-style option.
5736 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
5738         * org-publish.el (org-publish-timestamp-filename): Use
5739         SHA1-encoded file names in the timestamp directory.
5741 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
5743         * org-publish.el (org-publish-needed-p): Be verbose about files
5744         published and files skipped.
5746         * org-exp.el (org-export-preprocess-string): Swap link
5747         normalization and inernal link targeting.
5749         * org-publish.el (org-publish-needed-p): Create timestamp
5750         directory when it does not exist.
5752 2008-07-04  Bastien Guerry  <bzg@altern.org>
5754         * org-clock.el (org-clock-out-when-done): Doc fix.
5756         * org.el (org-agenda-skip-unavailable-files): Doc fix.
5758         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
5759         Ignore case when searching for the COMMENT cookie at export time.
5761 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
5763         * org-exp.el (org-get-file-contents)
5764         (org-get-and-remove-property): New functions.
5765         (org-export-handle-include-files): Handle the new prefix options.
5766         (org-export-as-html): Fix the verse environment.
5768 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
5770         * org.el (org-time=, org-time<, org-time<=, org-time>)
5771         (org-time>=, org-time<>, org-2ft): New functions.
5772         (org-op-to-function): Also provide for the time testing fucntions.
5774 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
5776         * org-exp.el (org-export-html-style-default): New constant.
5778 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
5780         * org-exp.el (org-export-html-style-extra): New variable.
5781         (org-export-splice-style): New function.
5783 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
5785         * org-exp.el (org-export-plist-vars, org-export-as-html):
5786         Implement `org-export-creator-info'.
5787         (org-export-creator-info): New option.
5789 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
5791         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
5792         (org-property-drawer-re, org-clock-drawer-re): New constants.
5794 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
5796         * org-exp.el (org-icalendar-use-deadline)
5797         (org-icalendar-use-scheduled): New options.
5798         (org-icalendar-include-todo): Default changed to t.
5799         (org-print-icalendar-entries): Implement better utilization of
5800         scheduling and deadline time stamps.
5801         (org-export-target-internal-links, org-export-as-html): Allow file
5802         lines without the "file:" prefix if the file path is an absolute
5803         path or starts with ".".
5805         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
5806         lastweek etc.
5807         (org-clock-special-range): Also undertand yesterday, lastweek etc.
5809 2008-06-18  Glenn Morris  <rgm@gnu.org>
5810         * org.el (org-map-entries): Let-bind `file'.
5812 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
5814         * org.el (org-agenda-skip-archived-trees): Docstring now
5815         discourages using this.
5816         (org-scan-tags): Check for org-agenda-archives-mode.
5817         (org-map-entries): Make sure org-agenda-archives-mode is nil.
5818         (org-agenda-files): Functionality of second arg changed.
5820         * org-agenda.el (org-agenda-archives-mode): New variable
5821         (org-write-agenda, org-prepare-agenda, org-agenda-list)
5822         (org-search-view, org-todo-list, org-tags-view)
5823         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
5824         `ifmode' argument.
5825         (org-agenda-quit): Reset the archives mode.
5826         (org-agenda-archives-mode): New command.
5827         (org-agenda-set-mode-name): Include archives info.
5829 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
5831         * org.el (org-paste-subtree): Make sure the yanked headline is
5832         visible if it was yanked at a visible point.
5833         (org-move-item-up): Fix the bug with moving white space at the end
5834         of the item.
5835         (org-show-empty-lines-in-parent): New function.
5837 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
5839         * org-colview.el (org-columns-next-allowed-value): Bug fix.
5841         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
5843         * org-agenda.el (org-agenda-get-closed): Get the end time into the
5844         agenda prefix as well.
5846         * org-publish.el (org-publish-org-index): Make a properly indented
5847         list.
5849         * org.el (org-calendar-agenda-action-key): New option.
5850         (org-get-cursor-date): New function.
5851         (org-mark-entry-for-agenda-action): New command.
5852         (org-overriding-default-time): New variable.
5853         (org-read-date): Respect `org-overriding-default-time'.
5855         * org-remember.el (org-remember-apply-template): Respect the
5856         ovverriding default time.
5858         * org-agenda.el (org-agenda-action-marker): New variable.
5859         (org-agenda-action): New command.
5860         (org-agenda-do-action): New function.
5862 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
5864         * org.el (org-schedule, org-deadline): Protect scheduled and
5865         deadline tasks against changes that accidently remove the
5866         repeater.  Also show a message with the new date when done.
5868 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
5870         * org.el (org-beginning-of-line): Cater for the case when there
5871         are tags but no headline text.
5872         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
5873         it set.
5875 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
5877         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
5878         the return value is nil instead of "nil" when there is no match.
5880         * org-exp.el (org-insert-centered): Use fill-column instead of
5881         80.
5882         (org-export-as-ascii): Use string-width to measure the width of
5883         the heading.
5885         * org.el (org-diary-to-ical-string): No longer kill buffer
5886         FROMBUF, this is now done by the caller.
5888         * org-exp.el (org-print-icalendar-entries): Move the call to
5889         `org-diary-to-ical-string' out of the loop, and kill the buffer
5890         afterwords.
5892         * org-remember.el (org-remember-visit-immediately): Position
5893         cursor after moving to the note.
5894         (org-remember-apply-template): Use a text property to record the
5895         cursor position.
5896         (org-remember-handler): Align tags after pasting the note.
5898 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
5900         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
5902         * org-agenda.el (org-agenda-open-link): If there is an
5903         org-bbdb-name property in the current line, jump to that bbdb
5904         entry.
5906         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
5907         text property, so that the agenda knows where this entry comes
5908         from.
5910         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
5911         interaction between clocking-in from the agenda, and  automatic
5912         task state switching.
5914         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
5916         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
5917         zmacs-region stays after this command in XEmacs.
5919 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
5921         * org.el (org-scan-tags): Allow new values for ACTION parameter.
5923         * org-remember.el (org-remember-templates): Fix bug in
5924         customization type definition.
5926         * org.el (org-map-entries): New function.
5928 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
5930         * org-agenda.el (org-agenda-skip-comment-trees): New option.
5931         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
5933 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
5935         * org-remember.el (org-jump-to-target-location): New variable.
5936         (org-remember-apply-template): Set
5937         `org-remember-apply-template' if requested by template.
5938         (org-remember-handler): Start an idle timer to jump to
5939         remember location.
5941         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
5943         * org.el (org-set-regexps-and-options): Fix bug with parsing of
5944         file tags.
5945         (org-get-tags-at): Add the content of `org-file-tags'.
5947         * org-exp.el (org-export-handle-comments): Fix bug with several
5948         comment lines after each other.
5949         (org-number-to-roman, org-number-to-counter): New functions.
5950         (org-export-section-number-format): New option.
5952 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
5954         * org-exp.el (org-export-protect-examples): Catch the case of a
5955         missing end_example line.
5957         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
5958         `org-file-tags' to nil.
5960         * org-colview.el (org-columns-next-allowed-value): Handle next
5961         argument NTH to directly select a value.
5963         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
5964         argument NTH to directly select a value.
5966 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
5968         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
5970 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
5972         * org.el (org-columns-ellipses): New option.
5974 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
5976         * org-colview.el (org-columns-add-ellipses): New function.
5977         (org-columns-compact-links): New function.
5978         (org-columns-cleanup-item): Call `org-columns-compact-links'.
5979         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
5980         when in agenda.
5981         (org-columns-edit-value): Fixed bug with editing values from
5982         agenda column view.
5983         (org-columns-redo): Also redo the agenda itself.
5985 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
5987         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
5988         option.
5990         * org-colview.el (org-agenda-columns-cleanup-item): New function.
5992         * org-exp.el (org-export-ascii-preprocess): Renamed from
5993         `org-export-ascii-clean-string'.
5994         (org-export-kill-licensed-text)
5995         (org-export-define-heading-targets)
5996         (org-export-handle-invisible-targets)
5997         (org-export-target-internal-links)
5998         (org-export-remove-or-extract-drawers)
5999         (org-export-remove-archived-trees)
6000         (org-export-protect-quoted-subtrees)
6001         (org-export-protect-verbatim, org-export-protect-examples)
6002         (org-export-select-backend-specific-text)
6003         (org-export-mark-blockquote-and-verse)
6004         (org-export-remove-comment-blocks-and-subtrees)
6005         (org-export-handle-comments, org-export-mark-radio-links)
6006         (org-export-remove-special-table-lines)
6007         (org-export-normalize-links)
6008         (org-export-concatenate-multiline-links)
6009         (org-export-concatenate-multiline-emphasis): New functions,
6010         obtained from spliiting the export preprocessor.
6012         * org-table.el (org-table-recalculate): Improve error message if
6013         the row number is invalid.
6015 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
6017         * org-archive.el (org-archive-save-context-info): Fix bugs in
6018         customization setup and docstring.
6020         * org-exp.el (org-export-html-style): Changed the size of in the
6021         <pre> element to 90%.
6023 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
6025         * org.el (org-find-src-example-start): Function removed.
6026         (org-edit-src-find-region-and-lang): New function.
6028 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
6030         * org.el (org-edit-src-exit): New function.
6031         (org-exit-edit-mode): New minor mode.
6033         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6034         comment-like lines from protected examples.
6036         * org.el (org-edit-src-example, org-find-src-example-start)
6037         (org-protect-source-example, org-edit-special): New functions.
6039 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
6041         * org-publish.el (org-publish-project-alist): Fix typo in
6042         docstring.
6043         (org-publish-project-alist): Handle :index-title property.
6045 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
6047         * org-export-latex.el (org-export-as-latex): Make sure region
6048         bounds are correct.  Parse subtree properties relating to export.
6050         * org-exp.el (org-export-add-options-to-plist): New function.
6051         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6053 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
6055         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6056         EXPORT_TITLE.
6058         * org-exp.el (org-export-get-title-from-subtree)
6059         (org-export-as-ascii, org-export-as-html): Make sure the original
6060         region-beginning and region-end are used, even after moving
6061         point.
6062         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6063         property.
6065         * org-remember.el (org-remember-last-stored-marker): New variable.
6066         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6067         (org-remember-handler): Also use marker to remember
6068         last-stored position.
6070         * org.el (org-goto-marker-or-bmk): New function.
6072 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
6074         * org.el (org-file-properties): Renamed from `org-local-properties'.
6075         (org-scan-tags): Take file tags into account.
6076         (org-tags-match-list-sublevels): Default changed to t.
6078         * org-exp.el (org-export-as-html): Close paragraph after a
6079         footnote.
6081         * org.el (org-update-parent-todo-statistics): New function.
6083         * org-exp.el (org-icalendar-store-UID): New option.
6084         (org-icalendar-force-UID): Option removed.
6085         (org-print-icalendar-entries): IMplement UIDs.
6087 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
6089         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6091 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
6093         * org-faces.el (org-column): Document how this face is being used
6094         and why sometimes the background faces shine through.
6096         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6098         * org-publish.el (org-publish-attachment): Create publishing
6099         directory if it does not yet exist.
6101         * org-table.el (org-calc-default-modes): Change default number
6102         format to (float 8).
6104         * org.el (org-olpath-completing-read): New function.
6105         (org-time-clocksum-format): New option.
6106         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6108         * org-clock.el (org-clock-display, org-clock-out)
6109         (org-update-mode-line): Use `org-time-clocksum-format'.
6111         * org-colview-xemacs.el (org-columns-number-to-string): Use
6112         `org-time-clocksum-format'.
6114         * org-colview.el (org-columns-number-to-string): Use
6115         `org-time-clocksum-format'.
6117 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
6119         * org-id.el: New file, move from contrib to core.
6121         * org-exp.el (org-icalendar-force-UID): New option.
6123 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
6125         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6126         shifted by one day if theere is a date range without an end
6127         time.
6129         * org.el (org-try-structure-completion): New function.
6131 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
6133         * org.el (org-set-font-lock-defaults): Improve fontification of
6134         description lists.
6135         (org-insert-item): Handle description lists.
6136         (org-adaptive-fill-function): Improve auto indentation in
6137         description lists.
6139         * org-exp.el (org-export-as-html, org-export-preprocess-string):
6140         Implement VERSE environment.
6141         (org-export-preprocess-string): Implement the COMMENT
6142         environment.
6144         * org-export-latex.el (org-export-latex-preprocess): Implement
6145         VERSE environment.
6147 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
6149         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6150         option.
6152 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
6154         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6156         * org.el (org-quote-csv-field): New functions.
6158         * org-table.el (org-table-export-default-format): Remove :splice
6159         from default format, we get the same effect by not specifying
6160         :tstart and :tend.
6161         (org-table-export): Improve setup, distinguish better between
6162         interactive and non-interactive use, allow specifying the format
6163         on the fly, better protection against wrong file names.
6164         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
6165         and :tend when :splice is omitted.
6167 2008-05-09  Bernt Hansen  <bernt@norang.ca>
6169         * org-clock.el (org-clock-select-task): Make sure the selection
6170         letters are 1-9 and A-Z, no special characters.
6172 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
6174         * org-exp.el (org-export-htmlize): New group.
6175         (org-export-htmlize-output-type)
6176         (org-export-htmlize-css-font-prefix): New options.
6177         (org-export-htmlize-region-for-paste): New function.
6178         (org-export-htmlize-generate-css): New command.
6180 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
6182         * org/org.el (org-modules, org-format-latex-options):
6183         * org/org-archive.el (org-archive-stamp-time)
6184         (org-archive-save-context-info):
6185         * org/org-faces.el (org-hide):
6186         * org/org-irc.el (org-irc-parse-link):
6187         * org/org-macs.el (org-call-with-arg, org-autoload):
6188         * org/org-mew.el (org-mew-store-link):
6189         * org/org-remember.el (org-remember-store-without-prompt)
6190         (org-remember-templates): Fix typos in docstrings.
6192         * org/org-info.el (org-info-store-link): Remove leftover docstring.
6194         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6195         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6196         (org-bbdb-anniv-split): Fix typos in docstrings.
6198         * org/org-publish.el (org-publish-project-alist): Doc fixes.
6199         (org-publish-use-timestamps-flag): Reflow docstring.
6200         (org-publish-files-alist): Fix typos in docstring.
6202 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
6204         * org.el (org-set-visibility-according-to-property): New function.
6205         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6206         and compute the regular expressions, and update font-lock.
6207         (org-property-re): Allow a dash in property names.
6209         * org-archive.el (org-extract-archive-file): Insert the file name
6210         without the path into the format, to allow the location format to
6211         contain a subdirectory.
6213         * org-agenda.el (org-agenda-post-command-hook): If point is at end
6214         of buffer, and the `org-agenda-type' property undefined, use the
6215         value from the character before.
6217         * org.el (org-add-planning-info): Don't let indentation for
6218         would-be timestamp become extra whitespace at the end of headline.
6220 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
6222         * org.el (org-remove-double-quotes, org-file-contents): New
6223         functions.
6225         * org-exp.el (org-infile-export-plist): Also parse the
6226         contents of #+SETUPFILE files, recursively.
6228         * org.el (org-set-regexps-and-options): Also parse the
6229         contents of #+SETUPFILE files, recursively.
6231         * org-exp.el (org-export-handle-include-files): New function.
6232         (org-export-preprocess-string): Call
6233         `org-export-handle-include-files'.
6235         * org.el (org-delete-property-globally)
6236         (org-delete-property, org-set-property): Ignore case during
6237         completion.
6238         (org-set-property): Use `org-completing-read' instead of
6239         `completing-read'.
6241         * org.el (org-complete-expand-structure-template): New,
6242         experimental function.
6243         (org-structure-template-alist): New, experimental option.
6244         (org-complete): Call `org-complete-expand-structure-template'.
6246 2008-05-06  Bastien Guerry  <bzg@altern.org>
6248         * org-export-latex.el (org-export-latex-preprocess): Added
6249         support for blockquotes.
6251 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
6253         * org.el (org-read-date-analyze): Catch the case where only a
6254         weekday is given.
6256 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
6258         * org.el (org-set-font-lock-defaults): Make the description
6259         tag bold.
6261         * org-exp.el (org-export-as-html, org-close-li): Implement
6262         description lists.
6264 2008-05-04  Jason Riedy  <jason@acm.org>
6266         * org-table.el (*orgtbl-default-fmt*): New variable.
6267         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6268         when there is no other fmt available.
6270         (orgtbl-to-generic): Allow an explicitly nil :tstart or
6271         :tend to suppress the appropriate string.
6273         (orgtbl-to-orgtbl): New function for translating to another orgtbl
6274         table.
6276 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
6278         * org.el (org-read-date-analyze): "." as an alias for "+0" in
6279         read date.
6281         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6282         New function.
6284         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6285         New function.
6287 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
6289         * org-clock.el (org-clock-find-position): Don't include notes
6290         into clock drawer.
6292         * org-archive.el (org-archive-subtree): No longer remove an
6293         extra line after cutting the subtree.  `org-cut-subtree' already
6294         takes care of this.
6296         * org-remember.el (org-remember-handler): Only kill the target
6297         buffer if it does not contain the running clock.
6299         * org.el (org-markers-to-move): New variable.
6300         (org-save-markers-in-region, org-check-and-save-marker)
6301         (org-reinstall-markers-in-region): New function.
6302         (org-move-subtree-down, org-copy-subtree): Remember relative
6303         marker positions before cutting.
6304         (org-move-subtree-down, org-paste-subtree): Restore relative
6305         marker positions after pasting.
6307         * org-remember.el (org-remember-clock-out-on-exit): New option.
6308         (org-remember-finalize): Clock out only if the setting in
6309         `org-remember-clock-out-on-exit' requires it.
6310         (org-remember-handler): Do the cleanup in the buffer, to make sure
6311         that the clock marker remains in tact.
6313 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
6315         * org-clock.el (org-clock-goto): Widen buffer if necessary.
6316         (org-clock-in): Make sure that also tasks outside the narrowed
6317         region will be clocked in correctly.
6318         (org-clock-insert-selection-line): Widen the buffer so that we can
6319         find the correct task heading.
6321         * org.el (org-base-buffer): New function.
6323         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6324         and ";" are escaped.
6325         (org-print-icalendar-entries): Also apply
6326         `org-icalendar-cleanup-string' to the headline, not only to the
6327         summary property.
6329 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
6331         * org-exp.el (org-export-preprocess-hook): New hook.
6332         (org-export-preprocess-string): Call
6333         `org-export-preprocess-hook'.
6335         * org.el (org-font-lock-hook): New variable.
6336         (org-font-lock-hook): New function.
6337         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6339 ;; Local Variables:
6340 ;; coding: utf-8
6341 ;; add-log-time-zone-rule: t
6342 ;; End:
6344     Copyright (C) 2008  Free Software Foundation, Inc.
6346   This file is part of GNU Emacs.
6348   GNU Emacs is free software: you can redistribute it and/or modify
6349   it under the terms of the GNU General Public License as published by
6350   the Free Software Foundation, either version 3 of the License, or
6351   (at your option) any later version.
6353   GNU Emacs is distributed in the hope that it will be useful,
6354   but WITHOUT ANY WARRANTY; without even the implied warranty of
6355   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6356   GNU General Public License for more details.
6358   You should have received a copy of the GNU General Public License
6359   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
6361 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c