Fix clock issues related to with-current-buffer
[org-mode.git] / lisp / ChangeLog
blob0a87a4d5f9edbec93ba9f3e3d105edc0080534dd
1 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
4         instances to switching to with-current-buffer, because these seem
5         to cause problems - no idea why.
7         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
8         Require diary-lib for (diary-date-display-form).
10         * org.el (org-log-reschedule, org-log-redeadline): New options.
11         (org-log-note-headings): Add templates for rescheduling and
12         deadline changing.
13         (org-startup-options): Add in-buffer settings for logging changing
14         schedule and deadline time stamps.
15         (org-deadline, org-schedule): Check for existing date and arrange
16         for logging if the user requests it.
17         (org-add-log-note): Prepare proper note buffers for rescheduling
18         and deadline changes.
20 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
22         * org-agenda.el (org-agenda-diary-entry-in-org-file)
23         (org-agenda-add-entry-to-org-agenda-diary-file)
24         (org-agenda-insert-diary-make-new-entry): New functions.
25         (org-agenda-diary-entry): Call
26         `org-agenda-diary-entry-in-org-file' when appropriate.
28         * org.el (org-calendar-insert-diary-entry-key): New option.
29         (org-agenda-diary-file): New option.
30         ("calendar"): Install our insertion function in the calendar.
32         * org-remember.el (org-datetree): Require.
33         (org-remember-templates): Add new positioning option.
34         (org-remember-reference-date): New variable.
35         (org-remember-apply-template): Store the reference date in a local
36         variable.
37         (org-remember-handler): Implement date tree positioning of entries.
39         * org-datetree.el: New file.
41         * org-latex.el (org-export-latex-preprocess): Protect targets in
42         verbatim emphasis.
44         * org-html.el (org-export-as-html): Protect targets in verbatim
45         emphasis.
47         * org-docbook.el (org-export-as-docbook): Protect targets in
48         verbatim emphasis.
50 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
52         * org-clock.el (org-show-notification): Handle messages that
53         contain a percent character.
55         * org-remember.el (org-remember-apply-template): Turn of partial
56         completion.
58         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
59         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
61         * org.el (org-indent-mode): Define variable already in org.el.
62         (org-unfontify-region): Remove line-prefix and wrap-prefix
63         properties only if org-indent-mode is active.
65 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
67         * org-icalendar.el (org-print-icalendar-entries): Save match data
68         around call to verify function.
69         (org-print-icalendar-entries): Add a call to the verification
70         function.
72         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
73         save-restrivtion' form.
75 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
77         * org-exp.el (org-export-format-source-code-or-example): restrict
78         scope of preserve-indentp to the let binding.
79         (org-src): require org-src, since org-src-preserve-indentation is used.
81 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
83         * org-timer.el (org-timer-set-timer): Set variables
84         org-timer-timer[123] correctly.
87         * org-mobile.el (org-mobile-files-alist): Make it work when
88         `agenda-archives' is included in
89         `org-agenda-text-search-extra-files'.
90         (org-mobile-push): Restore agenda after mobile push.
92 2009-11-05  John Wiegley  <jwiegley@gmail.com>
94         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
95         way the amount of idle time is presented in the minibuffer.
97 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
99         * org-icalendar.el (org-print-icalendar-entries): Use
100         org-icalendar-verify-function only if non-nil.
102         * org.el (org-refile): Refile to clock only if the prefix arg is
103         2.
104         (org-sparse-tree): Fix docstring to be in line with prompt.
105         (org-update-parent-todo-statistics): Call
106         `org-after-todo-statistics-hook' on each level.
108 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
110         * org-remember.el (org-remember-apply-template): Make sure the
111         buffer exists.
113 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
115         * org.el (org-tab-ind-state): New variable.
116         (org-cycle-level): New function.
117         (org-cycle-level-after-item/entry-creation): New option.
118         (org-flag-subtree): New function.
119         (org-hide-archived-subtrees): Call `org-flag-subtree'.
120         (org-set-effort): Indexed access.
122         * org-list.el (org-cycle-item-indentation): New function.
124         * org.el (org-refile): Make prefix argument 2 refile to current
125         clock.
126         (org-priority): Interpret action `remove' as call to remove the
127         priority cookie.
129         * org-remember.el (org-remember-apply-template): Don't depend on
130         buffer name being like file name.
132 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
134         * org-clock.el (org-clock-play-sound): Expand file in
135         org-clock-sound, to allow ~ for home.
137         * org-remember.el (org-remember-handler): Set
138         text-before-node-creation even if this already looks like a node,
139         because the string might be needed on non-org-mode target files.
141         * org-agenda.el (org-agenda-open-link): Make this work in agenda
142         clocktables.
143         (org-agenda-switch-to): Follow a link at point if
144         org-return-follows-link' is set and there is nothing else to do in
145         this line.
147 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
149         * org-colview-xemacs.el: Add in changes from org-colview.el
151 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
153         * org-exp-blocks.el: Modify split separator regexp to avoid empty
154         strings.
156 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
158         * org-colview.el (org-columns-new): Make this work with the new
159         operators.
160         (org-columns-store-format): Make this work with the new operators.
162 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
164         * org-src.el (org-src-preserve-indentation): Document that this
165         variable is also used during export.
167         * org-exp.el (org-export-format-source-code-or-example): Preserve
168         indentation if a block has a -i option, or if
169         `org-src-preserve-indentation' is set.
171         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
172         indentation if a block has a -i option, or if
173         `org-src-preserve-indentation' is set.
175 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
177         * org.el (org-mode-map): Define the new archiving keys.
178         (org-speed-commands-default): Define an archiving key in the speed
179         command map.
180         (org-org-menu): Improve the menu structure concerning archiving.
182         * org-archive.el (org-archive-subtree-default-with-confirmation):
183         New command.
185         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
186         (org-agenda-menu): Add the new archiving commands to the menu.
187         (org-agenda-archive-default)
188         (org-agenda-archive-default-with-confirmation): New commands.
189         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
190         call `org-agenda-archive-with'.
191         (org-agenda-archive-with): New function.
193         * org-table.el (org-table-convert-region): Inert spaces around "|"
194         to avoid line beginnings like "|-1" which will be mistaken as
195         hlines.
197 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
199         * org.el (org-offer-links-in-entry): Return nil if there are no
200         links, t if a link has been selected.
201         (org-open-at-point): Open attachment directory when called in the
202         headline and there are no links in the entry body.
203         (org-speed-commands-default): Add "o" for open-at-point as a speed
204         command.
206         * org-attach.el (org-attach-reveal): Optional prefix arg
207         IF-EXISTS, which avoids creating the attachment directory if it
208         does not yet exist.
210         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
211         MATCH.
213 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
215         * org.el ("abbrev"): Work with abbrev tables only after they have
216         been loaded.
218         * org-list.el (org-list-send-list): Fix bug related to match
219         data.
221         * org-latex.el (org-export-latex-fontify): Apply verbatim
222         emphasis.
223         (org-export-latex-make-header): Insert \obeylines if line breaks
224         should be preserved.
226         * org-exp.el (org-export-protect-verbatim): Add an
227         `org-verbatim-emph' property to such text.
229 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
231         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
232         (org-print-icalendar-entries): Skip entries where the timestamp is
233         not a deadline and not scheduled, if the user requests that.
235         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
236         before an opening quote.
238         * org-archive.el (org-archive-subtree): Keep archive after
239         archiving something.
241         * org-id.el (org-id-update-id-locations): Add archive files if
242         that is required by `org-id-extra-files'.
244 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
246         * org-src.el (org-src-window-setup): New option.
247         (org-src-switch-to-buffer): New function.
248         (org-edit-src-exit): Add optional argument CONTEXT and use it to
249         restore window configuration.
250         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
251         Call `org-src-switch-to-buffer'.
253         * org.el (org-default-properties): Add STYLE property.
254         (org-files-list): Use the function call to get the files.
255         (org-additional-option-like-keywords): Add SETUPFILE to completion
256         list.
258 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
260         * org-table.el (org-table-convert-region): Correctly interpret
261         quoting in csv import.
263         * org.el (org-icompleting-read): Make iswitchb completion work
264         with lists and tables.
266         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
267         while pushing the mobile agenda.
269 2009-10-25  John Wiegley  <jwiegley@gmail.com>
271         * org-clock.el
272         (org-clock-auto-clock-resolution): Now takes three values: nil, t
273         and `when-no-clock-is-running'.
274         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
275         whether or not to resolve Org buffers on clock in.
277 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
279         * org-colview.el (org-format-time-period): Function to format
280         times in fractional days for display.
281         (org-columns-display-here): Add support for showing a calculated
282         value in place of the property.
283         (org-columns): Set `org-columns-time' to the current time so time
284         difference calculations will work.
285         (org-columns-time): Use to store the current time when column view
286         is displayed, so all time differences will use the same reference
287         point.
288         (org-columns-compile-map): There is now an extra position in each
289         entry specifying the function to use to calculate the displayed
290         value for the non-calculated properties in the column,
291         (org-columns-compute-all): Set `org-columns-time' to the current
292         time so time difference calculations will work.
293         (org-columns-compute): Handle column operators where the values
294         used are calculated from the underlying property.
295         (org-columns-number-to-string): Handle the 'age' column format
296         (org-columns-string-to-number): Correct the function name (was
297         org-column...). Add support for the 'age' column format.
298         (org-columns-compile-format): Support the additional parameter in
299         org-columns-compile-map.
301 2009-10-26  Bastien Guerry  <bzg@altern.org>
303         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
304         variable.
306 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
308         * org-clock.el (org-clock-has-been-used): New variable.
309         (org-clock-in): Set `org-clock-has-been-used'.
310         (org-clock-save): Save only if clock data has been used or created
311         during this session.
313 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
315         * org-clock.el (org-clock-persist): New value, to store only the
316         clock history.
317         (org-clock-save): Don't save the clock if only the history should
318         be stored.
319         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
320         when restoring a saved clock.
322 2009-10-24  John Wiegley  <jwiegley@gmail.com>
324         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
325         `org-time-clock-use-fractional'.
327         * org.el (org-time-clocksum-use-fractional)
328         (org-time-clocksum-fractional-format): Two new customizable
329         variables which allow the user to select fractional times (1.25
330         instead of 1:25) in the `org-clock-display' report.
332 2009-10-23  John Wiegley  <jwiegley@gmail.com>
334         * org-habit.el (org-habit-build-graph): None of the arguments
335         should be optional.
336         (org-habit-parse-todo, org-habit-deadline)
337         (org-habit-get-priority, org-habit-get-faces)
338         (org-habit-build-graph): Further simplifications by storing all
339         past, scheduled and deadline dates as a number of days past the
340         epoch, and not as times.
342         * org-habit.el (org-habit-warning-face)
343         (org-habit-warning-future-face): Removed because these are no
344         longer used.
345         (org-habit-deadline, org-habit-deadline-repeat): Now always
346         returns a date; computed if there was a scheduled repeater but no
347         deadline repeater.
348         (org-habit-get-priority): Further improvements to the priority
349         algorithm.  In particular, items past due should always appear
350         before items due or not yet due.
351         (org-habit-get-faces): Greatly simplified the logic, now that
352         `org-habit-deadline' always returns a valid time.
354 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
356         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
357         New option.
359         * org.el (org-tag-alist): Fix customization type.
361 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
363         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
364         Make sure the regexp search can fail without throwing an error.
365         (org-mobile-apply): Save the inbox buffer after removing
366         successfully applied changes.
368 2009-10-22  John Wiegley  <jwiegley@gmail.com>
370         * org-habit.el (org-habit-build-graph): Fix to the graph building
371         when last DONE date is earlier than `org-habit-preceding-days'.
373         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
374         time is reported after the user comes back (but before they
375         resolve time).
377         * org.el (org-get-repeat): Change so that this function can be
378         called with either `org-scheduled-string' or
379         `org-deadline-string'.
381         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
382         to find the scheduled date.
384         * org-clock.el (org-clock-auto-clock-resolution): Renamed
385         `org-clock-disable-clock-resolution', since negatives don't sound
386         good in customization variables.
387         (org-clock-in): Don't use the auto-resolution logic if the user is
388         clocking into a different task while an active clock is running.
389         This then allows the default behavior of clocking out of the open
390         task and then into the new task.
392         * org-habit.el (org-habit-parse-todo): Generate an error if a
393         habit has a scheduled repeat period < 1.
394         (org-habit-get-faces): Fixes to the way that colors are computed.
395         (org-habit-build-graph): The graph wasn't displaying beyond any
396         day that had two completions in it.
398         * org.el (org-modules): Made this variable more consistent, since
399         it was referring to Org, OrgMode and Org-mode, whereas the docs
400         for the variable always refer to Org-mode.
402 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
404         * org.el (org-repeat-re): The changed org-repeat-re no longer
405         matched simple +2d type repeaters. Fix it so it does.
407 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
409         * org-latex.el (org-export-latex-preprocess): Protect the vspace
410         macro in the VERSE environment.
412 2009-10-20  John Wiegley  <jwiegley@gmail.com>
414         * org-habit.el (org-habit-get-priority): A new function that
415         determines the relative priority of a habit, based on how long
416         past its scheduled date it is, and how near the deadline is.
418         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
419         using `org-habit-get-priority'.
421         * org-habit.el (org-habit-build-graph): Start displaying colors
422         from the first scheduled date, if that date is earlier than the
423         first completion date.
425         * org-habit.el: Changed all "color" variables to faces, and made
426         them appropriate for light and dark backgrounds.
428         * org-habit.el (org-habit-duration-to-days): Made this function
429         more general.
430         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
432         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
433         habits, since they don't use DEADLINE anymore.
435         * org.el (org-repeat-re, org-display-custom-time)
436         (org-timestamp-change): Extended to support the new ".+N/N"
437         syntax, used for habits.
439         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
440         variable reference.
442         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
443         modeline when habits are being displayed (if that module is being
444         loaded).
446 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
448         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
449         idle time using the xscreensaver extension.
450         (org-user-idle-seconds): Use X11 idle time if available.
452 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
454         * org-agenda.el (org-agenda-next-line): New command.
455         (org-agenda-previous-line): New commands.
456         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
457         commands.
458         (org-agenda-follow-mode): Do the follow immediately if the mode is
459         turned on here.
460         (previous-line, next-line): Replace keys with the corresponding
461         org functions.
462         (org-agenda-mode-map): Bind backspace and delete to the scrolling
463         command.
465         * org.el (org-icompleting-read): Turn off partial completion mode
466         for the duration of this completion round.
468         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
469         macros in author lines and similar stuff.
471         * org.el (org-file-tags): Fix docstring.
472         (org-get-buffer-tags): Add the #+FILETAGS tags.
473         ("ecb"): Maks ecb show context after jumping into an Org file.
475 2009-10-20  John Wiegley  <johnw@newartisans.com>
477         * org-agenda.el (org-finalize-agenda): Draw habit consistency
478         graphs after everything else in the buffer has been setup.
480 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
482         * org-mobile.el (org-mobile-apply): Count success and failure.
484         * org.el (org-indent-line-function): Fix regexp replace problem.
486 2009-10-19  John Wiegley  <johnw@newartisans.com>
488         * org-clock.el (org-clock-disable-clock-resolution): New
489         customization variable that disable automatic clock resolution on
490         clock in.
491         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
492         not automatically resolve anything.  This is does not affect
493         idle-time resolution, however, if `org-clock-idle-time' is set.
495 2009-10-19  John Wiegley  <johnw@newartisans.com>
497         * org-habit.el: New file, which implements code to build a "habit
498         consistency graph".
500         * org-agenda.el (org-agenda-get-deadlines)
501         (org-agenda-get-scheduled): Display consistency graphs when
502         outputting habits into the agenda.  The graphs are always relative
503         to the current time.
504         (org-format-agenda-item): Added new parameter `habitp', which
505         indicates whether we are formatting a habit or not.  Do not
506         display "extra" leading information if habitp is true.
508         * org.el (org-repeat-re): Improved regexp to include .+ and ++
509         leaders for repeat strings.
510         (org-get-repeat): Now takes a string parameter `tagline', so the
511         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
513 2009-10-19  John Wiegley  <johnw@newartisans.com>
515         * org-agenda.el (org-agenda-auto-exclude-function): New
516         customization variable for allowing the user to create an "auto
517         exclusion" filter for doing context-aware auto tag filtering.
518         (org-agenda-filter-by-tag): Changes to support the use of
519         `org-agenda-auto-exclude-function'.  See the new manual addition,.
521 2009-10-18  John Wiegley  <johnw@newartisans.com>
523         * org.el (org-files-list): Don't attempt to return a file name for
524         Org buffers which have no associated file.
526         * org-agenda.el (org-agenda-do-action): Fixed a typo.
528 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
530         * org-mobile.el (org-mobile-locate-entry): Interpret files
531         relative to org-directory.
532         (org-mobile-inbox-for-pull): Document the best location for this
533         file.
534         (org-mobile-check-setup): Verify `org-directory'.
535         (org-mobile-create-index-file): Sort the files to be listed in
536         index.org.
538 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
540         * org.el (org-fast-tag-selection): Add a way to display a
541         description for a tag group. This is done by adding a string to
542         either the startgroup or endgroup cell.
544 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
546         * org-clock.el (org-clock-resolve, org-resolve-clocks)
547         (org-emacs-idle-seconds): Use `org-float-time' instead of
548         `time-to-seconds'
550 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
552         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
553         type.
555         * org.el (org-pre-cycle-hook): Document that `empty' can also be
556         the value of ARG when doing local cycling.
558 2009-10-17  John Wiegley  <johnw@newartisans.com>
560         * org-clock.el (org-clock-resolve-clock): If keeping or
561         subtracting time results in a clock out at a time in the past, and
562         if the resolution occurred due to idleness or invoking `M-x
563         org-resolve-clocks', remember that past moment in time.  On the
564         next clock in, the user will be prompted to see if they want to
565         back-date their new clock to then.
566         (org-clock-resolve): Do not jump the user to the location of a
567         dangling clock if the resolution is occuring due to an idle
568         timeout.  In that case there is typically only one dangling clock,
569         the active one, and there is no value gained by shuffling their
570         windows around to show it to them.  Being prompted to resolve an
571         idle clock should be as inobtrusive as possible.
572         (org-resolve-clocks-if-idle): New function that resolves only the
573         currently active clock if the user has exceeded the time returned
574         by `org-user-idle-seconds', based on the value of
575         `org-clock-idle-time'.
576         (org-clock-in): If, after resolving clocks,
577         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
579         * org-clock.el (org-clock-resolve-clock): New function that
580         resolves a clock to a specific time, closing or resuming as need
581         be, and possibly even starting a new clock.
582         (org-clock-resolve): New function used by `org-resolve-clocks'
583         that sets up for the call to `org-clock-resolve-clock'.  It
584         determines the time to resolve to based on a single-character
585         selection from the user to either keep time, subtract away time or
586         cancel the clock.
587         (org-resolve-clocks): New user command which resolves dangling
588         clocks -- that is, open but not active -- anywhere in the file
589         list returned by `org-files-list'.
590         (org-clock-in): Automatically resolve dangling clocks whenever a
591         user clocks in.
592         (org-clock-cancel): If the user cancels the solely clock in a
593         LOGBOOK, remove the empty drawer.
595         * org-clock.el (org-clock-idle-time): New user customizable option
596         for detecting whether the user has left a clock idle.  Note: it is
597         only used in this commit to test whether it's worthwhile to check
598         OS X to get the Mac user's current idle time.  If the Emacs idle
599         time is less than the value, the user hasn't been away long enough
600         to be worth checking (a more expensive test than just getting
601         Emacs idle time).
602         (org-user-idle-seconds, org-mac-idle-seconds)
603         (org-emacs-idle-seconds): This three functions, in conjunction
604         with the user customization variable `org-clock-idle-time', return
605         the number of seconds (as a floating point) that the user has been
606         away from their Emacs (or, if running on OS X, their computer).
608         * org-clock.el (org-find-open-clocks): New function that returns a
609         list of all open clocks in the given FILE.  Note that each clock
610         it returns is a cons cell of the format (MARKER . START-TIME).
611         This "clock" value is used by several of the new clock module
612         utility functions.
613         (org-is-active-clock): New inline function which tests whether the
614         given clock value is the same as the currently active clock.
615         Returns non-nil if this is the case.
616         (org-with-clock-position): New macro that evaluates FORMS with
617         point in the buffer and at the position of the given clock.
618         Changes to the current clock are global.
619         (org-with-clock): New macro that evaluates FORMS with point in the
620         buffer and at the position of the given clock.  However, changes
621         to the current clock are local and have no effect on the user's
622         active clock.  This allows, for example, far any clock to be
623         cancelled without cancelling the active clock.
624         (org-clock-clock-in): New inline function that switches the active
625         clock to the given clock.  If either the argument RESUME, or the
626         global `org-clock-in-resume', are non-nil, it will resume a clock
627         that was previously left open.
628         (org-clock-clock-out): New inline function that clocks out the
629         given clock value without affecting the currently active clock.
630         (org-clock-clock-cancel): New inline function that cancels the
631         given clock value without affecting the currently active clock.
633         * org-clock.el (org-clock-in): Before creating
634         `org-clock-mode-line-timer', check to make sure an older timer is
635         not currently running.
636         (org-clock-out): Accept new third parameter `at-time', which
637         permits a clock to be clocked out at a specific time.  Note that
638         no attempt is made to verify that the clock out time is later than
639         the clock in time.
641         * org.el (org-files-list): New utility function for returning a
642         list of all open org-mode buffers, plus all files used to build
643         the agenda buffer.  Note that not all the files will necessarily
644         be visited by a buffer at time of call.
645         (org-entry-beginning-position): Like the function
646         `line-beginning-position', this inline function returns the
647         beginning position of the current heading/entry.
648         (org-entry-end-position): Like the function `line-end-position',
649         this inline function returns the end position of the current
650         heading/entry.
652 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
654         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
655         a header line.
657 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
659         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
661 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
663         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
664         entries that have no tags.
665         (org-agenda-search-view): New customize group.
666         (org-agenda-search-view-search-words-only): New option.
667         (org-search-view): Implement substring search.
669 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
671         * org.el (org-outline-level): Add doc string.
673 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
675         * org-inlinetask.el (org-inlinetask-export): Re-introduce
676         variable.
677         (org-inlinetask-export-handler): Only export inline task if the
678         user option calls for it.
680 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
682         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
683         END if present.
685 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
687         * org-latex.el (org-export-latex-tables): Don't format in
688         protected regions.
690 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
692         * org-src.el (org-edit-src-code)
693         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
694         macro editing.
696         * org-agenda.el (org-prefix-category-max-length): New variable.
697         (org-format-agenda-item): Use `org-prefix-category-max-length'.
698         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
700 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
702         * org-mobile.el (org-mobile-create-index-file): Improve the
703         listing of tags and todo keywords.
705         * org-latex.el (org-export-latex-format-image): New function.
706         (org-export-latex-links): Use `org-export-latex-format-image'.
708 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
710         * org-inlinetask.el (org-inlinetask-get-current-indentation)
711         (org-inlinetask-remove-terminator): New functions.
712         (org-inlinetask-export-handler): Terminate the description list.
714         * org-exp.el (org-export-select-backend-specific-text): Remove the
715         region markers.
717         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
718         tasks without content.
720         * org-clock.el: Make sure the clock-in target position does not
721         move to a different node by widening the buffer.
723         * org-html.el (org-export-html-format-image): Wrap image into
724         figure div only when there is a caption.
726         * org-archive.el (org-archive-mark-done): Change default value to
727         nil.
729 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
731         * org.el (org-context): Call `bobp', not `eobp'.
733         * org-clock.el (org-clock-cancel): Remove quotes from marker
734         variables.
736         * org.el (org-read-date-prefer-future): New allowed value `time'.
737         (org-read-date-analyze): Shift day to tomorrow depending on time
738         entered and value of `org-read-date-prefer-future'.
740 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
742         * org.el (org-set-tags-to): New command.
744         * org-mobile.el (org-mobile-action-alist): Add more options and
745         update the docstring.
746         (org-mobile-apply-flags): Parse for and use the data.
748         * org-latex.el (org-export-latex-set-initial-vars): Also check in
749         the plist.
751         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
752         keyword.
754         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
756 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
758         * org-inlinetask.el (org-inlinetask-export): Option removed.
759         (org-inlinetask-export-handler): Better export.
761         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
762         (org-export-as-xoxo): Run the new hook.
764         * org-html.el (org-export-html-final-hook): New hook.
765         (org-export-as-html): Run the new hook.
767         * org-docbook.el (org-export-docbook-final-hook): New hook.
768         (org-export-as-docbook): Run the new hook.
770         * org-ascii.el (org-export-ascii-final-hook): New hook.
771         (org-export-as-ascii): Run the new hook.
773         * org-mobile.el (org-mobile-create-sumo-agenda): Call
774         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
776         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
777         space character as the character before the ^/_.
778         (org-export-latex-final-hook): New hook.
779         (org-export-as-latex): Run `org-export-latex-final-hook'.
781 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
783         * org-macs.el (org-if-unprotected-at): Fix docstring.
785         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
786         text in the prefix (if category is a link).
788         * org-latex.el (org-export-latex-preprocess): Deal properly with
789         empty lines in verse environments.
791         * org.el (org-format-latex-header): Inline fullpage.sty.
793         * org-footnote.el (org-footnote-create-definition): Reveal context
794         to add a new footnote definition.
796         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
797         the index file.
798         (org-mobile-files): New option.
799         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
800         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
801         functions.
802         (org-mobile-push): Start by creating the files lists.
803         (org-mobile-copy-agenda-files): Move killing the buffer to after
804         the save-excursion has exited.
805         (org-mobile-write-checksums): Write checksums also for files in
806         sub-directories.
808         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
809         org-table-recalculate when cursor is in TBLFM line.
811         * org-list.el (org-renumber-ordered-list): Fix cursor position
812         when bullet length has changed.
814 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
816         * org.el (org-format-latex): Mention `org-format-latex-options' in
817         the docstring.
819 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
821         * org.el (org-agenda-get): New function.
823         * org-agenda.el (org-agenda-post-command-hook): No longer move
824         point away from end of line.
825         (org-agenda-add-entry-text, org-agenda-collect-markers)
826         (org-finalize-agenda, org-agenda-mark-clocking-task)
827         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
828         (org-agenda-entry-text-show, org-agenda-highlight-todo)
829         (org-agenda-compare-effort, org-agenda-filter-apply)
830         (org-agenda-later, org-agenda-change-time-span)
831         (org-agenda-post-command-hook, org-agenda-show-priority)
832         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
833         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
834         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
835         (org-agenda-open-link, org-agenda-copy-local-variable)
836         (org-agenda-switch-to, org-agenda-check-no-diary)
837         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
838         (org-agenda-add-note, org-agenda-change-all-lines)
839         (org-agenda-priority, org-agenda-set-tags)
840         (org-agenda-set-property, org-agenda-set-effort)
841         (org-agenda-toggle-archive-tag, org-agenda-date-later)
842         (org-agenda-show-new-time, org-agenda-date-prompt)
843         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
844         (org-agenda-clock-in, org-agenda-bulk-mark)
845         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
846         `org-get-at-bol'.
848         * org-colview.el (org-columns-display-here)
849         (org-columns-edit-allowed, org-agenda-columns): Use
850         `org-get-at-bol'.
852 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
854         * org.el (org-special-ctrl-a/e): Improve documentation and
855         customize type.
856         (org-end-of-line): Don't jump to after the ellipsis.
857         (org-mode-map): Bind <home> and <end> as well.
859 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
861         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
862         space after #+ as comments.
863         (org-open-at-point): Run `org-follow-link-hook' always.
865         * org-latex.el (org-export-latex-emph-format): Use better commands
866         to insert special characters in verbatim snippets.
868 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
870         * org-faces.el (org-copy-face): New function.  Use it to create
871         various faces formerly created by using `copy-face'.
873         * org-agenda.el (org-prepare-agenda): Don't officially mark this
874         window dedicated.
875         (org-agenda-quit): Kill the frame containing the agenda window if
876         that frame was created for the agenda.
878 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
880         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
881         stamp in the agenda.
883 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
885         * org-mobile.el (org-mobile-create-index-file): Add the list of
886         TODO keywords, and the list of drawers to the index file.
888         * org-agenda.el (org-prepare-agenda): Reset
889         `org-drawers-for-agenda'.
890         (org-prepare-agenda): Uniquify list of drawers.
892         * org.el (org-complex-heading-regexp-format): New variable.
893         (org-set-regexps-and-options): Define
894         `org-complex-heading-regexp-format'.
895         (org-drawers-for-agenda): New variable.
896         (org-map-entries): Bind `org-drawers-for-agenda'.
897         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
899         * org-remember.el (org-go-to-remember-target)
900         (org-remember-handler): Use `org-complex-heading-regexp-format'.
902 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
904         * org-agenda.el (org-agenda-highlight-todo): Fix text property
905         problem.
907         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
908         the capture file, and make it non-configurable.
910         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
911         always with `invisible-ok'.
912         (org-store-link): No error when there is nothing to link to in the
913         agenda.
915         * org-list.el (org-update-checkbox-count): Insert changed cookie
916         before the old, to avoid problems with invisibility at the end of
917         the line.
918         (org-update-checkbox-count): Insert changed cookie before the old,
919         to avoid problems with invisibility at the end of the line.
921         * org.el (org-sort-entries-or-items): Include the final newline.
922         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
923         lines for fontification.
924         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
925         (org-prepare-dblock): Store the current indentation of the BEGIN
926         line.
927         (org-update-dblock): Apply the indentation of the begin line to
928         the rest of the block.
929         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
930         (org-startup-folded): New allowed value `showeverything'.
931         (org-startup-options): Add STARTUP keyword `showeverything'.
932         (org-set-startup-visibility): Respect value `showeverything' in
933         org-startup-folded.
935 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
937         * org.el (org-closest-date): Fix issue with past preference.
939         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
941         * org-archive.el (org-archive-set-tag)
942         (org-archive-subtree-default): New commands.
944         * org-mobile.el (org-mobile-create-index-file): Fix link to
945         capture file.
946         (org-mobile-copy-agenda-files): Create the capture file if it does
947         not exist.
949         * org-clock.el (org-clock-clocktable-default-properties): New
950         option.
951         (org-clock-report): Use
952         `org-clock-clocktable-default-properties'.
954 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
956         * org.el (org-iswitchb-completing-read): Fix typo.
958         * org-crypt.el: New file.
960         * org.el: Add an entry for org-crypt.
962 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
964         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
965         consistency.
966         (org-batch-store-agenda-views): New function.
967         (org-mobile-force-id-on-agenda-items): Mention variable.
968         (org-agenda-title-append): Define variable.
969         (org-write-agenda): New export to Org files.
970         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
971         (org-agenda): Allow to keep the restricted file list if a special
972         variable is bound to t.
973         (org-agenda): Define a special agenda view for working on flagged
974         entries.
975         (org-agenda-get-restriction-and-command): List the new agenda
976         view.
977         (org-agenda-show-the-flagging-note): New command.
978         (org-agenda-mode-map): New key `?' for looking at the flagging
979         note.
981         * org.el (org-autoload): Autoload org-mobile.el.
982         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
984         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
986 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
988         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
989         statements.
990         (org-table-get-remote-range): Match indented #+TBLNAME
991         statements.
993         * org.el (org-convert-to-odd-levels)
994         (org-convert-to-oddeven-levels): Work also correctly if the file
995         is in outline-mode.
997 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
999         * org.el (org-store-link): When in agenda buffer, link to
1000         referenced entry.
1001         (org-add-planning-info): Remove spaces at eol.
1003         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1004         property.
1006 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1008         * org-latex.el (org-export-latex-first-lines): Fix problem with
1009         LaTeX export of first line and selected subtree.
1011         * org.el (org-shifttab): Interpret arg differently when using only
1012         odd levels.
1014 2009-09-09  Bastien Guerry  <bzg@altern.org>
1016         * org.el (org-check-agenda-file): Use a more explicit message
1018 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1020         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1021         normal lines.
1023 2009-09-08  Bastien Guerry  <bzg@altern.org>
1025         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1026         prompt in the temporary window.
1028         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1029         prefix for marked entries in the agenda view.
1031 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1033         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1034         a way that prevents any trailing character from being displayed.
1036 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1038         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1039         menu.
1041         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1042         slow regexp match.
1044 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1046         * org-latex.el (org-export-latex-preprocess): Do not protect in
1047         the LaTeX header.
1049         * org-src.el (org-edit-src-save): Save window setup while saving.
1050         (org-edit-src-code): Use new buffer name construction scheme.
1052 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1054         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1055         variable.
1056         (org-agenda-entry-text-cleanup-hook): New hook.
1057         (org-agenda-get-some-entry-text): Remove matches of
1058         `org-agenda-entry-text-exclude-regexps' and run the hook
1059         `org-agenda-entry-text-cleanup-hook'.
1061         * org.el (org-offer-links-in-entry): New argument ZERO to
1062         implement a link with index zero.
1063         (org-cycle-show-empty-lines): Not keep empty line under header
1064         hidden.
1065         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1066         to nil for special completion.
1067         (org-store-link): Don't error before the first heading.
1069         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1070         `org-offer-links-in-entry'.
1072 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1074         * org-agenda.el (org-agenda-quit): Provide the window argument for
1075         `window-dedicated-p', Emacs 22 needs it.
1076         (org-format-agenda-item): If the category is a link, arrange for
1077         invisible text to replaced with spaces.
1078         (org-compile-prefix-format): Add the extra space.
1079         (org-prefix-category-length): New variable.
1081         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1082         references from TOC lines.
1084         * org.el (org-selected-window): New variable.
1086         * org-table.el (org-table-edit-formulas): Remember the selected
1087         window.
1088         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1089         that was originally selected.
1091         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1092         expansion of a macro for more macro definitions.
1094         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1095         invisibility overlay starts on the newline.
1097 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1099         * org-protocol.el (org-protocol-store-link)
1100         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1102         * org-compat.el (org-float-time): New function.
1104         * org.el (org-clock-update-time-maybe)
1105         (org-sort-entries-or-items, org-do-sort)
1106         (org-evaluate-time-range, org-time-string-to-seconds)
1107         (org-closed-in-range): Use `org-float-time'.
1109         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1110         (org-timer-seconds):  Use `org-float-time'.
1112         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1113         (org-clock-sum, org-dblock-write:clocktable)
1114         (org-clocktable-steps):  Use `org-float-time'.
1116         * org-agenda.el (org-agenda-last-marker-time)
1117         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1119         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1120         function.
1122         * org-exp.el (org-get-file-contents): Only protect lines that
1123         really need it.
1125         * org-html.el (require): Require cl for compilation.
1127         * org.el:  Avoid using `default-major-mode'.
1129         * org-plot.el (require): Require CL only at compile time.
1131         * org-exp.el (require): Require CL only at compile time.
1133         * org-agenda.el (org-agenda-quit): When the agenda window is
1134         dedicated, remove other windows before exiting, so that the frame
1135         really will be killed.
1137         * org-exp.el (org-export-handle-include-files): Reset START and
1138         END for each loop cycle.
1140 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1142         * org.el (org-eval-in-calendar): Use
1143         `org-select-frame-set-input-focus'.
1145         * org-compat.el (org-select-frame-set-input-focus): New function.
1147         * org.el (org-update-statistics-cookies): New function.
1148         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1150 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1152         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1153         after the local variables are set.
1155         * org-latex.el (org-export-latex-protect-amp): New function.
1156         (org-export-latex-links): Protect link ampersands in tables.
1158         * org-exp.el (org-export-select-backend-specific-text): Match in
1159         two steps, to avoid regexp problems.
1161         * org.el (org-offer-links-in-entry): Improve working with many and
1162         duplicate links.
1164         * org-agenda.el (org-agenda-show-1): Make more consistent with
1165         normal cycling.
1166         (org-agenda-cycle-show): Make more consistent with normal cycling.
1168         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1169         website.
1171 2009-08-30  Bastien Guerry  <bzg@altern.org>
1173         * org-latex.el (org-export-latex-first-lines): Bugfix.
1175 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
1177         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1178         about new effort.
1180         * org.el (org-set-effort): New function.
1181         (org-mode-map): New key for effort setting command.
1183         * org-agenda.el (org-agenda): Keep window setup when calling
1184         agenda from within agenda window.
1185         (org-agenda-mode-map): New keys for effort setting commands.
1186         (org-agenda-menu): Add effort setting commands to menu.
1187         (org-agenda-set-property, org-agenda-set-effort): New functions.
1189         * org-latex.el (org-export-latex-tables): Fix
1190         `org-table-last-alignment' and `org-table-last-column-widths' if
1191         the first column has been removed.
1193 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
1195         * org.el (org-remove-timestamp-with-keyword): Only remove in
1196         entry, not in subtree.
1198         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1199         emacs lisp.
1201         * org.el (org-open-at-point): When on headline, offer all strings
1202         in entry.
1204         * org-remember.el (org-remember-templates): Documentation fix.
1206         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1207         `org-get-last-sibling' instead of the outline versions of these
1208         functions.
1209         (org-get-last-sibling): New function.
1210         (org-refile): Use `org-get-next-sibling' instead of the outline
1211         version of this function.
1212         (org-clean-visibility-after-subtree-move): Use
1213         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1214         outline versions of these functions.
1216 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
1218         * org-agenda.el (org-prepare-agenda): When creating a new frame
1219         for the agenda, make the window dedicated.
1221         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1223         * org-table.el (org-table-align): Change the order of reinsertion
1224         and deletion, to avoid problems with overlays following the table.
1226         * org.el (org-parse-time-string): Better error message.
1227         (org-show-subtree): Use org-end-of-subtree.
1229         * org-macs.el (org-goto-line): New defsubst.
1231         * org.el (org-open-file, org-change-tag-in-region)
1232         (org-fast-tag-show-exit): Don't use `goto-line'.
1234         * org-table.el (org-table-align, org-table-insert-column)
1235         (org-table-delete-column, org-table-move-column)
1236         (org-table-sort-lines, org-table-copy-region)
1237         (org-table-paste-rectangle, org-table-wrap-region)
1238         (org-table-get-specials, org-table-rotate-recalc-marks)
1239         (org-table-get-range, org-table-recalculate)
1240         (org-table-edit-formulas, org-table-fedit-convert-buffer)
1241         (org-table-show-reference, org-table-highlight-rectangle): Don't
1242         use `goto-line'.
1244         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1245         (org-edit-src-exit): Don't use `goto-line'.
1247         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1249         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1250         Don't use `goto-line'.
1252         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1254         * org-colview.el (org-columns, org-columns-redo)
1255         (org-agenda-columns): Don't use `goto-line'.
1257         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1258         use `goto-line'.
1260         * org-agenda.el (org-agenda-mode): Force visual line motion off.
1261         (org-agenda-add-entry-text-maxlines): Improve docstring.
1262         (org-agenda-start-with-entry-text-mode): New option.
1263         (org-agenda-entry-text-maxlines): New option.
1264         (org-agenda-entry-text-mode): New variable.
1265         (org-agenda-mode): Set initial value of
1266         `org-agenda-entry-text-mode'.
1267         (org-agenda-mode-map): Add the `E' key.
1268         (org-agenda-menu): Add entry text mode to the menu.
1269         (org-agenda-get-some-entry-text): Fix line count bug.
1270         (org-finalize-agenda): Apply entry text mode if appropriate.
1271         (org-agenda-entry-text-show-here): New function.
1272         (org-agenda-entry-text-show): New function.
1273         (org-agenda-entry-text-hide): New function.
1274         (org-agenda-view-mode-dispatch): Add entry text mode to the view
1275         key menu.
1276         (org-agenda-entry-text-mode): New command.
1277         (org-agenda-set-mode-name): Add entry text mode to the mode line
1278         string.
1279         (org-agenda-undo, org-agenda-get-restriction-and-command)
1280         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1281         `goto-line'.
1283 2009-08-26  Bernt Hansen  <bernt@norang.ca>
1285         * org-clock.el (org-notify): Bugfix.
1287 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
1289         * org-agenda.el (org-agenda-open-link): Handle multiple links and
1290         check for after-string.
1292         * org-gnus.el (org-gnus-store-link): Simplify.
1294         * org.el (org-latex-regexps): Don't add extra empty lines for
1295         display formulas.
1297 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
1299         * org-agenda.el (org-agenda-get-some-entry-text): New function.
1300         (org-agenda-add-entry-text): Use
1301         `org-agenda-get-some-entry-text'.
1303         * org.el (org-cycle-separator-lines): Update docstring.
1304         (org-cycle-show-empty-lines): Handle negative values for
1305         `org-cycle-show-empty-lines'.
1307         * org-exp.el (org-export-protect-sub-super): New function.
1308         (org-export-normalize-links): Protect the url of plain links from
1309         supscript and superscript processing.
1311         * org-remember.el (org-remember-escaped-%): New function.
1312         (org-remember-apply-template): Use `org-remember-escaped-%' to
1313         detect escaped % signs.
1315 2009-08-23  Bastien Guerry  <bzg@altern.org>
1317         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1318         sound when showing the notification.
1320         * org-clock.el (org-notify): New function.
1321         (org-clock-notify-once-if-expired): Use `org-notify'.
1323         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1324         and `gnus-article-mode' separately.
1325         (gnus-summary-article-header): Fix the declare-function.
1327 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
1329         * org-exp.el (org-export-format-source-code-or-example): Translate
1330         language.
1332         * org-src.el (org-src-lang-modes): New variable
1333         (org-edit-src-code): Translate language.
1335         * org-exp.el (org-export-format-source-code-or-example): Deal wit
1336         the new structure of the `org-export-latex-listings-langs'
1337         variable.
1339         * org-latex.el (org-export-latex-listings-langs): Change structure
1340         of the variable from plist to alist.
1342 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
1344         * org.el (org-in-commented-line): New function.
1346 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
1348         * org.el (org-hide-block-toggle): Make folded blocks searchable.
1350 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
1352         * org.el (org-flag-drawer): More useful error.
1354 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
1356         * org-remember.el (org-remember-apply-template): Use
1357         org-icompleting-read.
1359         * org-publish.el (org-publish): Use org-icompleting-read.
1361         * org-colview.el (org-columns-edit-value, org-columns-new)
1362         (org-insert-columns-dblock): Use org-icompleting-read.
1364         * org-colview-xemacs.el (org-columns-edit-value)
1365         (org-columns-new, org-insert-columns-dblock): Use
1366         org-icompleting-read.
1368         * org-attach.el (org-attach-delete-one, org-attach-open): Use
1369         org-icompleting-read.
1371 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
1373         * org.el (org-hierarchical-todo-statistics): Improve docstring.
1374         (org-version): Return the version text.
1375         (org-org-menu): Add a menu entry for the new bug reporter.
1376         (org-submit-bug-report): New command.
1378         * org-list.el (org-hierarchical-checkbox-statistics): Improve
1379         docstring.
1381         * org.el (org-emphasis-regexp-components): Add "`" to set of
1382         pre-emphasis characters.
1384         * org-latex.el (org-export-latex-classes): Always include the soul
1385         package.
1386         (org-export-latex-emphasis-alist): Use \st for strikethough.
1388         * org-exp-blocks.el (org-export-blocks-preprocess): Use
1389         `indent-code-rigidly' to indent.
1391         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1392         properties only if MATCH really is a string.
1394 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
1396         * org-latex.el (org-export-latex-packages-alist): Fix
1397         customization type.
1399         * org.el (org-create-formula-image): Also use
1400         `org-export-latex-packages-alist'.
1402         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1403         (org-export-as-html): Format footnotes correctly.
1405 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
1407         * org.el (org-fast-tag-selection): Avoid text properties on tags
1408         in the alist.
1410         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1411         text properties on the match element.
1413 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
1415         * org.el (org-set-regexps-and-options): Make sure the list of done
1416         keywords is not invalid.
1418         * org-exp.el (org-export-interpolate-newlines): New function.
1420 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
1422         * org.el (org-format-latex): Avoid nested overlays.
1424         * org-latex.el (org-export-latex-listings-langs): Add a few more
1425         languages.
1427         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1428         ignore newlines and space before the first macro argument.
1430         * org-latex.el (org-export-latex-tables): Remove save-excursion
1431         around `org-table-align'.
1433 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
1435         * org.el (org-export-html-special-string-regexps): Definition
1436         moved into org.el
1438         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1439         in macro calls.
1441 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
1443         * org-latex.el (org-export-latex-listings)
1444         (org-export-latex-listings-langs): New options.
1446         * org-exp.el (org-export-format-source-code-or-example): Use
1447         listing package if requested by the user.
1449 2009-08-08  Bastien Guerry  <bzg@altern.org>
1451         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1452         command before actually switching to a buffer.
1454 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
1456         * org-exp.el (org-get-file-contents): Only quote org lines when
1457         the markup is src or example.
1459         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1460         New option
1461         (org-agenda-get-day-entries): Remember deadline results and pass
1462         them on into the function getting the scheduling information.
1463         (org-agenda-get-scheduled): Accept deadline results as parameters
1464         and maybe skip some entries.
1465         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1467         * org.el (org-insert-heading): When respecting content, do not
1468         convert current line to headline.
1470         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1471         cheeeeeck the hd marker
1472         (org-clock-in): Also set the hd marker.
1473         (org-clock-out): Also set the hd marker.
1474         (org-clock-cancel): Reset markers.
1476         * org.el (org-clock-hd-marker): New marker.
1478         * org-faces.el (org-agenda-clocking): New face.
1480         * org-agenda.el (org-agenda-mark-clocking-task): New function.
1481         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1483         * org.el (org-modules): Add org-track.el.
1485         * org-agenda.el (org-agenda-bulk-marked-p): New function.
1486         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1487         `org-agenda-bulk-marked-p'.
1488         (org-agenda-bulk-toggle): New command.
1490 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1492         * org.el (org-move-subtree-down): Hide subtree if it was folded,
1493         not just the body.
1495         * org-remember.el (org-remember-finalize): Avoid buffer-modified
1496         messages.
1498 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
1500         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
1501         before gnuplot can read it.
1503 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
1505         * org-latex.el (org-export-latex-first-lines): Fix bug with
1506         finding the end of the first lines.
1508         * org.el (org-create-formula-image): Remove the -E option for
1509         dvipng.
1511         * org-exp.el (org-default-export-plist): Respect #+BIND.
1512         (org-export-confirm-letbind): New function.
1514         * org.el (org-paste-subtree): Test the kill ring entry if it is
1515         going to be used.
1516         (org-copy-subtree): Use `org-forward-same-level'.
1517         (org-forward-same-level): Respect the `invisibe-ok' arg for
1518         back-to-heading.
1520 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
1522         * org.el (org-table-map-tables): Make sure cursor is back at table
1523         beginning after funcall.
1525         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1526         handled before children, and do not error if an entry is not
1527         found, probably because it hase been remove when the parent was
1528         archived or refiled.
1530         * org.el (org-ido-completing-read): Accept straight lists for
1531         completion as well as alists.
1533         * org-html.el (org-export-as-html): Fix parenthesis error in
1534         footnore code.
1536         * org-timer.el (org-timer-cancel-timers): Renamed from
1537         `org-timer-cancel-timers'.
1539         * org.el (org-cycle-internal-local): Fix problem with finding next
1540         invisible line.
1542 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
1544         * org-list.el (org-list-send-list): Call
1545         `org-list-goto-true-beginning' instead of
1546         `org-list-find-true-beginning', which does not exist.
1548         * org-timer.el (org-timer-reset-timers): Use `mapc'.
1549         (org-timer-set-timer): Do not assign to heading.
1551         * org-id.el (org-id-open): Quote function name.
1553         * org-macs.el (org-unmodified): Turn off recording undo
1554         information while running inside the macro.
1556         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
1557         variable.
1558         (org-indent-mode): Remember and restore value of
1559         org-hide-leading-stars before `org-indent-mode'.
1561         * org-table.el (org-table-export): Also work in file-less
1562         buffers.
1564         * org.el (org-startup-indented): New option.
1565         (org-startup-options): Add new options indent and noindent.
1566         (org-unfontify-region): Remove line-prefix and wrap-prefix
1567         properties.
1568         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
1569         hooks.
1570         (org-promote, org-demote): Run the new hooks.
1572         * org-table.el (org-table-align): Replace leading \n as well.
1574         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
1575         and `line-wrap' text properties.
1577         * org-compat.el (org-kill-new): New function.
1579         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
1580         `line-wrap' text properties.
1582         * org-indent.el: New file.
1584 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
1586         * org.el (org-provide-todo-statistics): Tweak docstring.
1588         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
1590 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
1592         * org-exp.el (org-export-as-org): Insert the "-source" string
1593         before the extension.
1595         * org.el (org-read-date): Make sure the calendar is in the current
1596         frame.
1597         (org-set-emph-re): Remove the ? from the post-match.
1598         (org-emphasis-regexp-components): Add backslash to the
1599         postmatch class.
1600         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
1601         optional so that also lines at the end of the buffers will still
1602         be matched as headlines.
1604         * org-table.el (org-table-error-on-row-ref-crossing-hline):
1605         Variable made obsolete.
1606         (org-table-relative-ref-may-cross-hline): New option.
1607         (org-table-find-row-type): Honow the new option
1608         `org-table-relative-ref-may-cross-hline'.
1610 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
1612         * org-table.el (org-table-cut-region, org-table-copy-region): Work
1613         on single field if no active region.
1615 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
1617         * org-latex.el (org-export-latex-make-header): Only insert title
1618         if one is defined.
1620         * org.el (org-make-options-regexp): Allow empty values.
1622         * org-html.el (org-export-as-html): Move hrule detection to after
1623         plain list handling.
1625 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
1627         * org-html.el (org-format-org-table-html): Fix colgroup tags.
1629 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
1631         * org.el (org-cycle-internal-local): Improved version of finding
1632         next visible line.
1633         (org-cycle-hide-drawers): Only hide drawers if this is really
1634         necessary.
1635         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
1636         org-version of this function in Org-mode.  We use advice to
1637         implement this change, so that future changes to this function in
1638         outline.el wil be handled properly.
1639         (org-forward-same-level, org-backward-same-level): New commands.
1641 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
1643         * org.el (org-remove-empty-overlays-at)
1644         (org-clean-visibility-after-subtree-move): New functons.
1645         (org-move-subtree-down): Simplify cleanup of display.
1647 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
1649         * org-mac-message.el (org-mac-message-get-links): Improve
1650         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
1651         "s".  Fix the return value.
1652         (org-mac-message-insert-flagged): Simplify.
1654         * org.el (org-refile-get-location): Tamper with refile history o
1655         that history contains compete matches instead of the entered
1656         string.
1658 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
1660         * org.el (org-store-link): Never store a link to an inline task.
1662         * org-inlinetask.el (org-inlinetask-insert-task): New command.
1664         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
1665         inline tasks when positioning footnotes.
1667         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
1668         function.
1670         * org.el (org-refile): Remove the END line when archiving an
1671         inline task that does have an END line.
1673         * org-archive.el (org-archive-subtree): Remove the END line when
1674         archiving an inline task that does have an END line.
1676         * org-macs.el (org-with-limited-levels): New macro.
1677         (org-get-limited-outline-regexp): New function.
1679         * org-exp.el (org-export-format-source-code-or-example): Fix bug
1680         that did not enumerate first line.
1681         (org-export-mark-radio-links): Skip matches in links.
1683 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
1685         * org.el (org-activate-plain-links): Make single-match.
1686         (org-adapt-indentation): Fix docstring.
1688         * org-macs.el (org-unmodified): Turn of modification hooks while
1689         running this macro.
1691 2009-08-02  Bastien Guerry  <bzg@altern.org>
1693         * org.el (org-adapt-indentation): Slightly improve the docstring.
1694         (org-occur): Sends an error when the user inputs an empty string.
1695         (org-priority): Bugfix: the tag alignement should happen within
1696         save-excursion.
1698 2009-07-31  Bastien Guerry  <bzg@altern.org>
1700         * org.el (org-make-link-regexps): Don't exclude parentheses from
1701         `org-plain-link-re'
1702         (org-cycle-internal-local): When locally cycling, switch directly
1703         from CHILDREN to FOLDED if there is no subtree
1704         (org-cycle): Update the docstring to document the new behavior of
1705         `org-cycle-internal-local'.
1707 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
1709         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
1710         an abbreviated format for days.
1712 2009-07-27  Bastien Guerry  <bzg@altern.org>
1714         * org-protocol.el (org-protocol-default-template-key): New
1715         option.
1717         * org.el (org-refile): Bugfix: save-excursion before reading the
1718         refile target, otherwise cursor moves might confuse `org-refile'.
1720         * org-html.el (org-export-as-html): Bugfix: correctly convert the
1721         footnote reference before the footnote itself.
1723         * org.el (org-toggle-heading): Bugfix: correctly convert list
1724         items before the first headline.
1726         * org-html.el (org-export-html-footnote-format): New option for
1727         formatting the footnote reference.
1728         (org-export-as-html): Use the new option.
1730         * org.el (org-provide-todo-statistics): Allow a list of TODO
1731         keywords to compute statistics against headlines containing a
1732         keyword from this list.
1733         (org-update-parent-todo-statistics): Possibly use the new allowed
1734         value of `org-provide-todo-statistics'.
1736 2009-07-26  Bastien Guerry  <bzg@altern.org>
1738         * org-timer.el: Add autoload cookie.
1740         * org.el (org-occur-link-in-agenda-files): New function.
1742         * org-timer.el (org-timer-last-timer): New variable.
1744         * org-agenda.el (org-agenda-mode-map): New key for
1745         org-timer-set-timer called from the agenda.
1747         * org.el (org-mode-map): New key for org-timer-set-timer.
1749         * org-timer.el (org-timer-reset-timers)
1750         (org-timer-show-remaining-time, org-timer-set-timer): New
1751         functions.
1753         * org-clock.el (org-show-notification): Update the docstring.
1755         * org.el (org-provide-todo-statistics): Allow new value
1756         'all-headlines for this option, which includes entries with no
1757         TODO keywords in the todo statistics.
1758         (org-update-parent-todo-statistics): Possibly use the new
1759         'all-headline value from `org-provide-todo-statistics'.
1761 2009-07-25  Bastien Guerry  <bzg@altern.org>
1763         * org-clock.el (org-dblock-write:clocktable): Add a new option
1764         :timestamp which allows display of timestamps in clock reports.
1766         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
1767         list to a subtree, preserving the structure of the list.
1768         (org-set-emph-re): Make the last element optional in the regexp.
1769         This regexp now matches an emphasized string at the end of a line.
1771         * org-list.el (org-list-goto-true-beginning)
1772         (org-list-make-subtree, org-list-make-subtrees): New functions.
1774         * org.el (org-eval-in-calendar): Select the right frame.
1775         (org-save-frame-excursion): Remove this macro.
1777 2009-07-24  Bastien Guerry  <bzg@altern.org>
1779         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
1780         trying to find the beginning of a list.
1782         * org-exp.el (org-get-file-contents): Use a new argument: markup.
1783         When present, tell org-get-file-contents not to protect org-like
1784         lines.
1786         * org-id.el (org-id-uuid-program): New option to set the name of
1787         the uuidgen program.
1788         (org-id-method): Use `org-id-uuid-program'.
1789         (org-id-new): Use `org-id-uuid-program'.
1791 2009-07-23  Bastien Guerry  <bzg@altern.org>
1793         * org-exp.el (org-export-number-lines): Allow whitespace in code
1794         references.  Allow the -r switch to remove the references in the
1795         source code even when the lines are not numbered: the labels can
1796         be explicit enough.
1798         * org.el (org-fontify-whole-heading-line): New option.
1799         (org-set-font-lock-defaults): Use the new option.
1801         * org-clock.el (org-show-notification-handler): New option.
1802         (org-show-notification): Use the new option.
1804 2009-07-21  Bastien Guerry  <bzg@altern.org>
1806         * org.el (org-eval-in-calendar): Fix a bug about calendar
1807         navigation when `calendar-setup' value is 'calendar-only.
1809 2009-07-19  Bastien Guerry  <bzg@altern.org>
1811         * org.el (orgstruct++-mode): Fix typo in docstring.
1812         (org-insert-link): Clean up: (or (...)) => (...)
1813         (org-insert-link): Use TAB for stored links completion.
1815 2009-07-18  Bastien Guerry  <bzg@altern.org>
1817         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
1818         building the list of targets.
1820         * org-remember.el (org-remember-delete-empty-lines-at-end): New
1821         option.
1822         (org-remember-handler): Use the new option.
1824 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
1826         * org.el (org-tags-sort-function): New option for sorting tags.
1827         (org-set-tags): Use the new option to sort tags.
1829         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
1830         premature deletion of the data when using org-plot in a script.
1832 2009-07-17  Bastien Guerry  <bzg@altern.org>
1834         * org-clock.el (org-clock-in-prepare-hook): New hook.
1835         (org-clock-in): Use this new hook.
1837 2009-07-16  Bastien Guerry  <bzg@altern.org>
1839         * org.el (org-special-ctrl-a/e): Explicitely bind the value
1840         'reversed for this option to the "true line boundary first"
1841         behavior.
1842         (org-tags-match-list-sublevels): Document the 'indented value for
1843         this variable.
1845         * org-latex.el (org-export-latex-first-lines): Fix problem with
1846         publishing the region.
1848         * org-exp.el (org-export-format-source-code-or-example): Fix
1849         bad line numbering when exporting examples in HTML.
1851         * org-colview.el (org-format-time-period): Formats a time in
1852         fractional days as days, hours, mins, seconds.
1853         (org-columns-display-here): Add special handling for SINCE and
1854         SINCE_IA to format for display.
1856 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
1858         * org.el (org-tags-sort-function): Add custom declaration for tags
1859         sorting function.
1860         (org-set-tags): Sort tags if org-tags-sort-function is set
1862 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
1864         * org-clock.el (org-clock-goto): Find hidden headlines as well.
1866         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
1868         * org-plot.el (org-plot/add-options-to-plist): Add timeind
1869         option.
1871 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
1873         * org-publish.el (org-publish-remove-all-timestamps): New function.
1874         (org-publish-all): Remove all timestamp files if `org-publish-all'
1875         is called with a prefix argument.
1877         * org-list.el (org-indent-item): Fix typo.
1878         (org-item-indent-positions): Normalize ordered bullet.
1880         * org-html.el (org-export-html-home/up-format): New option.
1881         (org-export-as-html): Insert the up and HOME links.
1883 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
1885         * org-html.el (org-export-as-html): Insert the title into the
1886         option plist.
1887         (org-export-html-insert-plist-item): New function.
1888         (org-export-as-html): Call `org-export-html-insert-plist-item'.
1890         * org-macs.el (org-set-local): Make a local variable, do not make
1891         the variable buffer-local!
1893         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
1895         * org-html.el (org-export-as-html): Call `org-install-letbind'.
1897         * org-docbook.el (org-export-as-docbook): Call
1898         `org-install-letbind'.
1900         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
1902         * org-exp.el (org-infile-export-plist): Read BIND lines.
1903         (org-install-letbind): New function.
1904         (org-export-as-org, org-export-preprocess-string): Call
1905         `org-install-letbind'.
1907         * org-src.el (org-edit-src-exit): Untabify the example before
1908         returning to Org.
1910         * org-list.el (org-list-demote-modify-bullet): New option.
1911         (org-first-list-item-p): Save point.
1912         (org-fix-bullet-type): New optional argument FORCE-BULLET.
1913         (org-indent-item): Honor `org-list-demote-modify-bullet'.
1914         (org-item-indent-positions): Return bullet types along with
1915         indentation.
1917 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
1919         * org.el (org-show-entry): Hide drawers.
1921 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
1923         * org-footnote.el (org-footnote-auto-adjust): New option.
1924         (org-footnote-auto-adjust-maybe): New function.
1925         (org-footnote-new, org-footnote-delete): Call
1926         `org-footnote-auto-adjust-maybe'.
1928         * org.el (org-startup-options): Add new footnote-related
1929         keywords.
1931         * org-publish.el (org-publish-timestamp-filename): Additional
1932         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
1933         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
1934         TRUE-PUB-DIR.  Pass them through to
1935         `org-publish-timestamp-filename'.
1936         (org-publish-update-timestamp): Additional arguments PUB-DIR and
1937         PUB-FUNC, which are included in the hash.
1938         (org-publish-file): Delay timestamp test until the publishing
1939         function is known.
1941 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
1943         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
1944         setting the deadline.
1946         * org.el (org-read-date-final-answer): New variable.
1947         (org-read-date): Store the final answer string, including the date
1948         from the calendar, for reuse by agenda bulk commands.
1950         * org-publish.el (org-publish-attachment): Fix publishing of
1951         attachments.
1953         * org-latex.el (org-export-latex-quotation-marks): Fix export of
1954         quotation makrs in parenthesis.
1955         (org-remove-initial-hash): New function.
1956         (org-export-latex-preprocess): Fix bug with infinite loop if
1957         environment is not properly closed.
1959         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
1960         when indented.
1962         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
1963         highlight also when indented.
1965 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
1967         * org-footnote.el (org-footnote-renumber-fn:N): New command.
1968         (org-footnote-action): Offer renumbering.
1970         * org.el (org-cycle): Honor the `integrate' value of
1971         org-cycle-include-plain-lists'.
1973         * org-list.el (org-cycle-include-plain-lists): New allowed value
1974         `internal'.  Improve the docstring.
1976         * org.el (org-set-autofill-regexps): Improve the paragraph-start
1977         regexp to work better with LaTeX commands.
1979 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
1981         * org-feed.el (org-feed-update): fix problem with non-existing
1982         buffer.
1983         (org-feed-skip-http-headers): New function.
1984         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
1985         (org-feed-get-feed): Fix command line arguments for curl.
1987 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
1989         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
1990         and eps extensions.
1992 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
1994         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
1995         loaded.
1997         * org.el (org-map-entries): No longer force
1998         `org-tags-match-list-sublevels' to t during a todo-only tags
1999         search.
2001 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2003         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2004         environment.
2005         (org-export-latex-subcontent): Handle user-defined environment.
2007         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2008         the View dispatcher.
2010         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2011         `make-overlay'.
2013         * org-latex.el (org-export-as-pdf): Protect match data during call
2014         to shell-quote-argument.
2016         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2017         (org-agenda-view-mode-dispatch): New function.
2019 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2021         * org-agenda.el (org-agenda-mode): Reset list of marks.
2022         (org-agenda-mode-map): Define new keys for refile and bulk action.
2023         (org-agenda-menu): Add menu itesm for refile and bulk action.
2024         (org-agenda-refile): New function.
2025         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2026         (org-agenda-marked-entries): New variable.
2027         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2028         (org-agenda-remove-all-bulk-action-marks)
2029         (org-agenda-bulk-action): New functions/commands.
2031 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2033         * org-exp.el (org-get-file-contents): Protect org-like lines in
2034         included files.
2035         (org-export-format-source-code-or-example): Remove newlines.
2037         * org-latex.el (org-export-latex-links): Check for no-description
2038         marking.
2040         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2041         argument separator back to comma.
2042         (org-export-normalize-links): Mark links without description.
2044 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2046         * org-exp.el (org-infile-export-plist): Fix bug in macro
2047         processing.
2049         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2050         out.
2051         (org-agenda-highlight-todo): Fix bug with highlighting.
2053 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2055         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2056         new alignment strings.
2058         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2059         command list.
2060         (org-table-align): Check for forced align type.
2062         * org.el (org-self-insert-command): Add yas/expand to command
2063         list.
2065         * org-clock.el (org-clock-in-hook): New hook.
2066         (org-clock-in): Run `org-clock-in-hook.
2067         (org-clock-out-hook): New hook.
2068         (org-clock-out): Run `org-clock-out-hook.
2069         (org-clock-cancel-hook): New hook.
2070         (org-clock-cancel): Run `org-clock-cancel-hook.
2071         (org-clock-goto-hook): New hook.
2072         (org-clock-goto): Run `org-clock-goto-hook.
2074 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2076         * org.el (org-store-link): Better default description for link to
2077         Org-mode headline.
2079         * org-exp.el (org-export-generic): Autoload the generic exporter
2080         function.
2081         (org-export): Implement the `g' key for the generic exporter.
2083 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2085         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2086         and for zbacktab'.
2088         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2090         * org-exp.el (org-infile-export-plist): Get macros also from
2091         #+SETUPFILE.
2093 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2095         * org-colview.el (org-columns-capture-view): Protect vertical bars
2096         in column values.
2097         (org-columns-capture-view): Exclude comment and archived trees.
2099         * org-colview-xemacs.el (org-columns-capture-view): Protect
2100         vertical bars in column values.
2101         (org-columns-capture-view): Exclude comment and archived trees.
2103         * org.el (org-quote-vert): New function.
2105         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2107         * org-exp.el (org-export-format-source-code-or-example): Use
2108         `org-export-latex-verbatim-wrap'.
2110         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2111         time stamps.
2113         * org-html.el (org-export-table-row-tags): New option.
2114         (org-format-org-table-html): Rename `nlines' to `nline', use new
2115         option.
2118 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2120         * org-exp-blocks.el: Declare functions and variables.
2122         * org-remember.el (org-remember-templates): Allow the headline
2123         element to be a function.
2124         (org-remember-apply-template): If the headline is a function, call
2125         it to get the true function.
2127         * org-clock.el (org-clock-menu): New function.
2128         (org-clock-update-mode-line): Update help string.
2129         (org-clock-modify-effort-estimate): New function.
2130         (org-clock-mark-default-task): New function.
2132         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2133         minutes as input.
2134         (org-org-menu): Add new clocking stuff.
2135         (org-clock-is-active): New function.
2137 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2139         * org.el (org-open-non-existing-files): Improve docstring.
2141 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2143         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2144         option.
2145         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2147         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2149         * org-list.el (org-get-checkbox-statistics-face): Use the new
2150         faces.
2152         * org-faces.el (org-checkbox-statistics-todo)
2153         (org-checkbox-statistics-done): New faces.
2155 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
2157         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2158         (org-edit-src-exit): Better cursor positioning when returning from
2159         editing.
2161         * org-latex.el (org-export-latex-use-verb): New variable.
2162         (org-export-latex-emph-format): Prefer \texttt over \verb when
2163         org-export-latex-use-verb is set.
2165 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
2167         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2168         at normal indentation.
2170         * org-html.el (org-export-html-close-lists-maybe): Also look at
2171         normal indentation.
2173         * org-remember.el (org-remember-handler): Abort remember if the
2174         buffer is empty.
2176         * org-src.el (org-edit-src-content-indentation): New option.
2177         (org-edit-src-exit): Apply extra indentation.
2179         * org-exp.el (org-export-format-source-code-or-example): Run
2180         `org-src-mode-hook'.
2182         * org-src.el (org-src-mode-hook): New variable.
2183         (org-edit-src-code): Run `org-src-mode-hook'.
2185 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2187         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2189         * org-src.el (org-edit-src-get-indentation): New function.
2190         (org-edit-src-code): Base indentation on the begin line.
2192 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
2194         * org-gnus.el (org-gnus-store-link): Require message.el in
2195         org-gnus-store-link.
2197 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2199         * org-src.el: New file, split out of org.el
2201         * org-docbook.el (org-export-as-docbook): Better indentation
2202         treatment.
2204         * org-macs.el (org-replace-match-keep-properties): New function.
2206         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2207         preprocessing of center and quote and verse blocks.
2209         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2210         (org-export-as-docbook): Close lists when original indentation
2211         mandates it.
2213         * org-html.el (org-export-html-close-lists-maybe): New function.
2214         (org-export-as-html): Close lists when original indentation
2215         mandates it.
2217         * org-list.el (org-list-end): Respect the stored "original"
2218         indentation when determining the end of the list.
2220         * org-exp.el (org-export-replace-src-segments-and-examples):
2221         Remember indentation correctly.
2223 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
2225         * org-clock.el (org-clock-update-mode-line): Apply face
2226         org-mode-line-clock.
2228         * org-faces.el (org-mode-line-clock): New face.
2230 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
2232         * org-gnus.el (org-gnus-store-link): Fix bug where
2233         `org-gnus-store-link' used wrong subject when called in an article
2234         buffer.  Patch provided by fengli AT gmail DOT com.
2236 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
2238         * org-exp.el (org-export-format-source-code-or-example): Remember
2239         the original indentation of source code snippets and examples.
2241         * org-latex.el (org-export-as-latex): Relocate the table of
2242         contents.
2244         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2246         * org-agenda.el (org-run-agenda-series): Scope global options also
2247         when creating the agenda buffer.
2249 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
2251         * org.el (org-adapt-indentation): Improve documentation.
2252         (org-insert-property-drawer): Respect org-adapt-indentation when
2253         inserting the drawer.
2254         (org-remove-flyspell-overlays-in): New function.
2255         (org-do-emphasis-faces, org-activate-plain-links)
2256         (org-activate-code, org-fontify-meta-lines-and-blocks)
2257         (org-activate-angle-links, org-activate-footnote-links)
2258         (org-activate-bracket-links, org-activate-dates)
2259         (org-activate-target-links, org-activate-tags): Remove flyspell
2260         overlays.
2262 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
2264         * org.el (org-edit-src-save): New function.
2266         * org-clock.el (org-clock-out-switch-to-state): New option.
2267         (org-clock-out): Honor `org-clock-out-switch-to-state'.
2269         * org-compat.el (org-compatible-face): Improve macro.
2271         * org.el (org-global-properties-fixed): Add default for
2272         CLOCK_MODELINE_TOTAL.
2274         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2275         andd tend.
2276         (org-clock-sum-current-item): Optional argument TSTART, pass it to
2277         org-clock-sum.
2278         (org-clock-get-sum-start): New function.
2280         * org.el (org-startup-options): New keywords blockhide and
2281         blockshow.
2282         (org-mode): Add new invisibility spec.
2283         (org-set-startup-visibility): Hide block on startup if so
2284         desired.
2285         (org-hide-block-startup): New option.
2286         (org-block-regexp): New constant.
2287         (org-hide-block-overlays): New variable.
2288         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2289         (org-show-block-all, org-hide-block-toggle-maybe)
2290         (org-hide-block-toggle): New functions.
2291         (org-edit-src-exit): Do not quote lines starting with # and no +
2292         behind it.
2293         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2294         entry.
2296 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
2298         * org.el (org-buffer-property-keys): Add Effort property for
2299         completion.
2301 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
2303         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2304         when retrieving total clocked time in the subtree.
2306         * org.el (org-quoting-blocks): New variable.
2308 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2310         * org-table.el (org-table-store-formulas)
2311         (org-table-get-stored-formulas, org-table-fix-formulas)
2312         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2313         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2315         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2316         indented #+TBLFM line.
2318         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2319         indented #+TBLFM line.
2321         * org-colview.el (org-dblock-write:columnview): Allow indented
2322         #+TBLFM line.
2324         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2325         indented #+TBLFM line.
2327         * org-clock.el (org-dblock-write:clocktable): Allow indented
2328         #+TBLFM line.
2330 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
2332         * org-exp.el (org-export-format-source-code-or-example): Make
2333         editing indented blocks work correctly.
2335         * org.el (org-edit-src-nindent): New variable.
2336         (org-edit-src-code, org-edit-fixed-width-region)
2337         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2338         editing indented blocks work correctly.
2340 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
2342         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2343         indented blocks.
2344         (org-export-format-source-code-or-example): Fix indentation of
2345         blocks.
2346         (org-export-remove-indentation): New function.
2347         (org-export-select-backend-specific-text): Allow backend-specific
2348         code to be indented.
2349         (org-export-mark-blockquote-verse-center): Allow markers to be
2350         indented.
2352         * org.el (org-fontify-meta-lines): New function.
2353         (org-set-font-lock-defaults): Call the new fontification
2354         function.
2356         * org-faces.el (org-meta-line): New face
2357         (org-block):  New face.
2359 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2361         * org.el (org-treat-insert-todo-heading-as-state-change)
2362         (org-treat-S-cursor-todo-selection-as-state-change): New
2363         variables.
2364         (org-insert-todo-heading): Honor
2365         `org-treat-insert-todo-heading-as-state-change'.
2366         (org-shiftright, org-shiftleft): Honor
2367         `org-treat-S-cursor-todo-selection-as-state-change'.
2368         (org-inhibit-logging): New variable.
2370 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
2372         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2373         range for marker position checking.
2375         * org-latex.el (org-export-latex-first-lines): Fix bug when
2376         exporting a region.
2378 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
2380         * org-exp.el (org-export-push-to-kill-ring): Protect using
2381         x-set-selection, because that does not always work.
2383         * org-agenda.el (org-agenda-list): Apply the new face
2384         `org-agenda-date-today'.
2386         * org-faces.el (org-agenda-date-today): New face.
2388 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
2390         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2391         creating appointments.
2393         * org-latex.el (org-export-latex-low-levels): Fix customization
2394         type.
2396         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2397         priority commands.
2399         * org-agenda.el (org-agenda-priority): Disable priority commands.
2401         * org.el (org-enable-priority-commands): New option.
2403         * org-colview-xemacs.el (org-columns-compute)
2404         (org-columns-number-to-string): Fix problems with empty fields.
2406         * org-colview.el (org-columns-compute)
2407         (org-columns-number-to-string): Fix problems with empty fields.
2409         * org-exp.el (org-export-push-to-kill-ring): New function.
2410         (org-export-copy-to-kill-ring): New option.
2412         * org-latex.el (org-export-as-latex): Call
2413         `org-export-push-to-kill-ring'.
2415         * org-html.el (org-export-as-html): Call
2416         `org-export-push-to-kill-ring'.
2418         * org-docbook.el (org-export-as-docbook): Call
2419         `org-export-push-to-kill-ring'.
2421         * org-ascii.el (org-export-as-ascii): Call
2422         `org-export-push-to-kill-ring'.
2424         * org-exp.el (org-export-show-temporary-export-buffer): New
2425         option.
2427         * org-latex.el (org-export-as-latex): Use
2428         `org-export-show-temporary-export-buffer'.
2430         * org-html.el (org-export-as-html): Use
2431         `org-export-show-temporary-export-buffer'.
2433         * org-docbook.el (org-export-as-docbook): Use
2434         `org-export-show-temporary-export-buffer'.
2436         * org-ascii.el (org-export-as-ascii-to-buffer): Use
2437         `org-export-show-temporary-export-buffer'.
2439         * org-exp.el (org-export-show-temporary-export-buffer): New
2440         option.
2441         (org-export-push-to-kill-ring): New function.
2443         * org-colview.el (org-columns-compile-map): New variable.
2444         (org-columns-new, org-columns-compute)
2445         (org-columns-number-to-string, org-columns-uncompile-format)
2446         (org-columns-compile-format): Implement new operators.
2448 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
2450         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2452         * org-html.el (org-export-html-xml-declaration): New option.
2453         (org-export-as-html): Use `org-export-html-xml-declaration'.
2455         * org-list.el (org-update-checkbox-count): Make property
2456         dependent.
2458         * org.el (org-hierarchical-todo-statistics): New option.
2459         (org-update-parent-todo-statistics): Modified to handle recursive
2460         statistics.
2462 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
2464         * org-publish.el (org-publish): Make this function behave
2465         correctly in interactive use when called with a prefix argument.
2467         * org.el (org-todo-statistics-hook): New hook.
2468         (org-update-parent-todo-statistics): Use new hook.
2469         (org-log-into-drawer): New function.
2470         (org-add-log-setup): Use the new `org-log-into-drawer' function to
2471         determine if we should be logging into a drawer.
2472         (org-log-into-drawer): Update docstring.
2473         (org-default-properties): Add LOG_INTO_DRAWER as a property.
2475         * org-list.el (org-checkbox-statistics-hook): New hook.
2476         (org-update-checkbox-count-maybe): Use new hook.
2478         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
2479         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
2480         to kill ring.
2482 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
2484         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
2485         a line.
2487 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
2489         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2490         better bufer-generating mechanism.
2491         (org-edit-src-find-buffer): New function.
2493         * org-icalendar.el (org-print-icalendar-entries): Don't check for
2494         archive tag, this is already done by `org-agenda-skip'.
2495         data while constructing lost of tags.
2497 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
2499         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2500         as argument separator in macros.
2502         * org-html.el (org-export-as-html): Add xml declaration.
2504 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
2506         * org.el (org-after-sorting-entries-or-items-hook): New hook.
2507         (org-sort-entries-or-items): Run the new hook.
2508         (org-after-refile-insert-hook): New hook.
2509         (org-refile): Run `org-after-refile-insert-hook'.
2511         * org-agenda.el (org-agenda-get-progress): Never take time of day
2512         from headline when displaying progress.
2514         * org-latex.el (org-export-latex-complex-heading-re): New variable.
2515         (org-export-as-latex): Force the correct regexp in the
2516         preprocessor buffer.
2517         (org-export-latex-set-initial-vars): Set
2518         `org-export-latex-complex-heading-re'.
2520         * org-agenda.el (org-agenda-start-with-log-mode): New option.
2521         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2523 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
2525         * org-latex.el (org-export-latex-tables-centered): New option.
2526         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2528         * org-exp.el (org-export-as-org): New command.
2529         (org-export-as-org): New command.
2531         * org-publish.el (org-publish-org-to-org): New function.
2533 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
2535         * org.el (org-yank): Just call `org-yank-generic'.
2536         (org-yank-generic): New function, containing the formaer
2537         functionality of `org-yank'.
2539         * org-latex.el (org-export-latex-not-done-keywords)
2540         (org-export-latex-done-keywords): New variables.
2541         (org-export-latex-todo-keyword-markup): New option.
2542         (org-export-latex-set-initial-vars): Remember the TODO keywords.
2543         (org-export-latex-keywords-maybe): Apply the TODO markup.
2545 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
2547         * org-exp.el (org-infile-export-plist): Add more default macros.
2548         (org-export-preprocess-apply-macros): Process macro arguments.
2550 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
2552         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
2553         `unblocked'.
2554         (org-print-icalendar-entries): Respect the new value of
2555         `org-icalendar-include-todo'.
2557         * org.el (org-link-try-special-completion)
2558         (org-file-complete-link): New functions.
2559         (org-insert-link): Add special completion support for some link
2560         types.
2562         * org-bbdb.el (org-bbdb-complete-link): New function.
2564 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
2566         * org-list.el (org-update-checkbox-count): Allow recursive
2567         statistics.
2568         (org-hierarchical-checkbox-statistics): New option.
2570         * org.el (org-cycle): Remove erraneous space character.
2572         * org-icalendar.el (org-icalendar-timezone): Initialize from
2573         environment.
2575         * org-html.el (org-format-org-table-html): Specify the scope.
2576         (org-format-table-table-html): Specify the scope.
2577         (org-export-table-header-tags): Prepare the scope parameter.
2579 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
2581         * org-html.el
2582         (org-export-html-table-use-header-tags-for-first-column): New
2583         option.
2585         * org.el (org-autoload): Fix autoloading of ascii export
2586         functions.
2587         (org-modules): Add org-special-blocks.
2589 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
2591         * org-icalendar.el (org-start-icalendar-file): Use the new option.
2592         (org-ical-timezone): New option.
2594         * org-exp.el (org-export-get-coderef-format): Use the description
2595         is present.
2597         * org.el (org-sort-entries-or-items): Improve docstring, and make
2598         better implementation for time sorting.
2600 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
2602         * org.el (org-edit-src-persistent-message): New option.
2603         (org-edit-src-code, org-edit-fixed-width-region): Use the new
2604         option.
2606         * org-clock.el (org-clock-insert-selection-line): Fix prefious
2607         patch.
2609         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
2610         separate buffer instead of indirect buffer to edit source code.
2611         (org-edit-src-exit): Make this function work with the new setup.
2613         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
2614         are properly fontified before shown in the selection menu.
2616         * org.el (org-fontify-like-in-org-mode): New function.
2618         * org-latex.el (org-export-latex-links): Use the property list to
2619         retrieve the default image attributes.
2621         * org-exp.el (org-export-plist-vars): Add a new option.
2623 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
2625         * org-exp.el (org-export, org-export-visible): Support ASCII
2626         export to buffer
2627         (org-export-normalize-links): Do not protect the description if it
2628         is explicitly given.
2630         * org-ascii.el (org-export-as-ascii-to-buffer)
2631         (org-replace-region-by-ascii, org-export-region-as-ascii): New
2632         commands.
2633         (org-export-as-ascii): Add all the same parameters that are also
2634         supported by the other export functions.
2636         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
2637         org-checklist.el.
2638         (org-reset-checkbox-state-subtree): Call
2639         `org-reset-checkbox-state-subtree'.
2641         * org-remember.el (org-select-remember-template): For the
2642         selection of a valid template.
2644         * org-latex.el (org-export-region-as-latex): Supply the
2645         force-no-subtree argument.
2646         (org-export-as-latex): Provide better limits when exporting the
2647         first line.  When exporting to string, we still want the first
2648         lines.
2649         (org-export-latex-first-lines): New argument END, to force the end
2650         of the region.
2651         (org-export-region-as-latex): Use the property list.
2652         (org-export-as-latex):
2654         * org-colview-xemacs.el (org-columns-remove-overlays)
2655         (org-columns): Fix call to `local-variable-p'.
2657 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
2659         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
2660         (org-export-as-html): Run the new hook.
2662         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
2663         (org-export-latex-preprocess): Run the new hook.
2665         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
2666         (org-export-preprocess-string): Run the new hook.
2668 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
2670         * org-macs.el (org-check-external-command): New defsubst.
2672         * org.el (org-mode-map): New key for reload.
2673         (org-format-latex): Better error message when external programs
2674         are not available.
2676         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
2678         * org.el (org-sort-entries-or-items): Explicit sorting function
2679         for priorities, needed for XEmacs compatibility.
2681         * org-remember.el (org-remember-apply-template): Improve auto-save
2682         behavior.
2684 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
2686         * org-latex.el (org-export-latex-preprocess): Also protect
2687         environments ending in a star.
2689         * org-list.el (org-at-item-p): Fix regular expression.
2691 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
2693         * org.el (org-end-of-subtree): Improve speed.
2695         * org-agenda.el (org-agenda-get-timestamps)
2696         (org-agenda-get-progress, org-agenda-get-deadlines)
2697         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
2698         in particular, wait as long as possible to collect the tags.
2699         (org-stuck-projects): Improve docstring.
2701         * org.el (org-store-link): No errors when getting custom id before
2702         first headline.
2703         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
2705 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
2707         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
2709         * org-protocol.el: Remove dependency on url.el.
2710         (org-protocol-unhex-compound, org-protocol-open-source): Remove
2711         dependency on url.el.
2713         * org-latex.el (org-export-as-pdf): Use
2714         `org-latex-to-pdf-process'.
2716 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
2718         * org-latex.el (org-latex-to-pdf-process): New option.
2720         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
2721         New option.
2722         (org-agenda-get-timestamps): Honor
2723         `org-agenda-skip-additional-timestamps-same-entry'.
2725         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
2726         (org-clock-goto): Find recent task only if
2727         `org-clock-goto-may-find-recent-task' allows it.
2729         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
2730         drawers, and drawers that are missing the :END: line.
2732 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
2734         * org-clock.el (org-clock-goto): Go to recently clocked task if no
2735         clock is running.
2737 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
2739         * org.el (org-update-parent-todo-statistics): Check for
2740         STATISTICS_FROM property.
2742         * org-list.el (org-update-checkbox-count): Check for
2743         STATISTICS_FROM property.
2745         * org.el (org-tab-first-hook)
2746         (org-tab-after-check-for-table-hook)
2747         (org-tab-after-check-for-cycling-hook): New hooks.
2748         (org-cycle-internal-global, org-cycle-internal-local): New
2749         functions, split out from `org-cycle'.
2750         (org-cycle): Call the new hooks.
2752 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
2754         * org-exp.el (org-export-preprocess-string): Reset the list of
2755         preferred targets for each run of the preprocessor.
2757         * org.el (org-refile-target-verify-function): Improve
2758         documentation.
2759         (org-get-refile-targets): Respect point being moved by the
2760         verification function.
2762         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
2763         option.
2764         (org-export-latex-keywords): Use new option.
2766         * org.el (org-rear-nonsticky-at): New defsubst.
2767         (org-activate-plain-links, org-activate-angle-links)
2768         (org-activate-footnote-links, org-activate-bracket-links)
2769         (org-activate-dates, org-activate-target-links)
2770         (org-activate-tags): Place the rear-nonsticky properties at the
2771         correct location.
2773 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
2775         * org-protocol.el (server-edit): Declare `server-edit'.
2776         (org-protocol-unhex-string, org-protocol-unhex-compound): New
2777         functions.
2778         (org-protocol-check-filename-for-protocol): Call `server-edit'.
2780         * org.el (org-default-properties): New default properteis for
2781         completion.
2783         * org-exp.el (org-export-add-subtree-options): Add new properties
2784         for subtree export.
2786         * org-docbook.el (org-export-docbook-keywords-markup)
2787         (org-export-docbook-timestamp-markup): New options.
2788         (org-export-docbook-protect-tags): New function.
2790 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
2792         * org-id.el (org-id-get-with-outline-path-completion): Turn off
2793         org-refile-target-verify-function for the duration of the command.
2795         * org.el (org-link-to-org-use-id): New possible value
2796         `create-if-interactive-and-no-custom-id'.
2797         (org-store-link): Use custom IDs.
2798         (org-link-search): Find custom ID properties from #link.
2799         (org-default-properties): Add CUSTOM_ID for property completion.
2800         (org-refile-target-verify-function): New option.
2801         (org-goto): Turn off org-refile-target-verify-function
2802         for the duration of the command.
2804 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
2806         * org-html.el (org-export-as-html): Use custom IDs in the toc.
2808         * org-exp.el (org-export-preferred-target-alist): New variable.
2809         (org-export-define-heading-targets): Find the new CUSTOM_ID
2810         property.
2811         (org-export-target-internal-links): Target the custom ids when
2812         possible.
2814         * org-latex.el (org-export-latex-preprocess): Better regexp for
2815         matching latex macros with arguments.
2817 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
2819         * org-remember.el (org-remember-handler): Allow filing to non-org
2820         files.
2822 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
2824         * org-feed.el (org-feed-alist): New keyword options.
2825         (org-feed-update): Use the new options.
2826         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
2827         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
2828         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
2829         functions.
2831         * org-table.el (org-table-fix-formulas): Do not change references
2832         to remote tables.
2833         (org-table-get-remote-range): Convert standard coordinates to RC
2834         format.
2836         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
2838 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
2840         * org-compat.el (org-sha1-string): Function removed.
2842         * org.el (org-refile-allow-creating-parent-nodes): New option.
2843         (org-refile-get-location): New argument NEW-NODES.
2844         (org-refile): Call `org-refile-get-location' with the new
2845         argument.
2846         (org-refile-get-location): Arrange for adding a new child.
2847         (org-refile-new-child): New function.
2849         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
2850         an additional span element.
2852         * org-clock.el: Fix a number of docstrings.
2853         (org-clock-find-position): New argument
2854         FIND-UNCLOSED to make the function find an unclosed clock in the
2855         entry.
2856         (org-clock-in): Call `org-clock-find-position' with the new
2857         argument if we might be resuming a clock.
2859 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
2861         * org-latex.el (org-export-latex-display-custom-times): New variable.
2862         (org-export-latex-timestamp-markup): New option.
2863         (org-export-latex-set-initial-vars): Remember the local value of
2864         `org-display-custom-times'.
2865         (org-export-latex-content): Process time stamps.
2866         (org-export-latex-time-stamps): New function.
2868         * org-macs.el (org-maybe-intangible): Add intangible property
2869         again to invisible text.
2871 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
2873         * org-exp.el (org-default-export-plist): Handle undefined
2874         variables.
2876 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
2878         * org.el (org-sort-entries-or-items): Match TODO keywrds
2879         case-sensitively, when sorting.
2880         (org-priority): Do not match TODO keywords with wrong case.
2882 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
2884         * org-feed.el (org-feed-update): Bind the variable
2885         `new-formatted'.
2887         * org-html.el (org-export-as-html): Start paragraphs after literal
2888         examples.
2890         * org-docbook.el (org-export-as-docbook): Start paragraphs after
2891         literal examples.
2893 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
2895         * org.el (org-todo): Honor the NOBLOCKING property.
2897         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
2898         NOBLOCKING property.
2900         * org.el (org-scan-tags): Fix bug in tag scanner
2902 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
2904         * org.el (org-modules): Mark obsolete packages.
2906         * org-html.el: New file, split out from org-exp.el.
2908         * org-icalendar.el: New file, split out from org-exp.el.
2910         * org-xoxo.el: New file, split out from org-exp.el.
2912         * org-ascii.el: New file, split out from org-exp.el.
2914 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
2916         * org-compat.el (org-find-library-name): New function.
2918         * org.el (org-pre-cycle-hook): New hook.
2919         (org-cycle): Call the new hook in appropriate places.
2920         (org-reload): Only reload files that have been loaded before.
2922 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
2924         * org.el (org-set-font-lock-defaults): Enforxe space or line end
2925         after todo keyword.
2926         (org-todo): When changing TODO state, do matching
2927         case-sensitively.
2928         (org-map-continue-from): New variable.
2929         (org-scan-tags): Respect values in `org-map-continue-from'.
2930         (org-reload): Make XEmacs compatible.
2932 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
2934         * org-protocol.el (org-protocol-flatten-greedy): New function.
2935         (org-protocol-flatten): New function.
2937         * org.el (org-open-link-from-string): Pass reference buffer to
2938         `org-open-at-point'.
2939         (org-open-at-point): New optional argument `reference-buffer'.
2941 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
2943         * org.el (org-scan-tags): Make tag scan find headline in first
2944         line, 2nd attempt.
2945         (org-get-refile-targets): Add the naked file name.
2946         (org-refile): Store as top-level entry when only file name was
2947         given.
2949         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
2951         * org.el (org-block-todo-from-children-or-siblings-or-parent):
2952         Renamed from org-block-todo-from-children-or-siblings, and
2953         enhanced to look for the parent's status as well.
2955         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
2956         (org-agenda-get-progress): Add first notes line to log entry if so
2957         desired.
2959 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
2961         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
2962         (org-agenda-cleanup-fancy-diary): Call the new hook.
2964         * org-remember.el (org-remember-apply-template): Take the default
2965         for the annotation from the :annotation property.
2967         * org-mac-message.el (org-mac-message-get-link): Remove the
2968         quotes.
2969         (org-mac-message-get-link): Return the result.
2971 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
2973         * org.el (org-refile-get-location): Add file name only if not
2974         already included in outline path.
2976         * org-faces.el (org-n-level-faces): Fix customization type from
2977         number to integer.
2979         * org-exp.el (org-export-headline-levels): Fix customization type
2980         from number to integer.
2982         * org-agenda.el (org-agenda-confirm-kill)
2983         (org-agenda-custom-commands-local-options)
2984         (org-timeline-show-empty-dates, org-agenda-ndays)
2985         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
2986         customization type from number to integer.
2988 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
2990         * org-protocol.el: Declare some functions.
2992         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
2993         postion before inserting modified headline.
2995         * org-agenda.el (org-agenda-compare-effort): Honor
2996         `org-sort-agenda-noeffort-is-high'.
2997         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
2998         (org-agenda-compare-effort): Implement the "?" operator for
2999         finding entries without effort setting.
3001         * org.el (org-extract-attributes-from-string): New function.
3003         * org-exp.el (org-export-splice-attributes): New function.
3005 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3007         * org-mouse.el: XEmacs compatibility fixes
3009         * org-docbook.el (org-export-as-docbook): Process footnotes like
3010         normal text.
3012         * org.el (org-modules): Add org-inlinetasks.el
3013         (org-cycle): Implement limiting level on cycling.
3014         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3015         buffer.
3017         * org-inlinetask.el: New file.
3019         * org.el (org-emphasis-regexp-components): Allow braces in
3020         emphasis pre and post match.
3022         * org-footnote.el (org-footnote-normalize): When only dorting, do
3023         not insert inline notes at the end.
3025         * org-docbook.el (org-id-find-id-file): Add function declaration.
3027         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3029         * org-docbook.el: New file.
3031 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3033         * org.el (org-reftex-citation): New command.
3035 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3037         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3038         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3039         sorting options.
3040         (org-entries-lessp): Apply the new sorting option.
3042         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3043         blocker code, when an older sibling has children.
3045         * org-mac-message.el (org-mac-message-get-link): Improve getting
3046         links from multiple selected messages.
3048 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3050         * org-remember.el (org-remember-finalize): Do not set buffer file
3051         name to nil.
3052         (org-remember-handler): Mark buffer as unmodified.
3053         (org-remember-handler): Delete backup file and show message about
3054         remaining backup files.
3055         (org-remember-auto-remove-backup-files): New option.
3057         * org.el (org-store-link): Use buffer name as link description in
3058         w3-mode buffers.
3059         (org-ido-switchb): Fix argument bug for completion.
3061         * org-remember.el (org-remember-apply-template): Set local
3062         variable `auto-save-visited-file-name' instead of global one.
3064 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3066         * org-feed.el: Re-write.
3068         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3069         (org-agenda-get-todos): Mark file tags as inherited.
3070         (org-agenda-list): Always search diary lines for a time.
3072 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3074         * org-feed.el (org-feed-assume-stable): New option.
3075         (org-feed-before-adding-hook): New hook.
3077         * org-exp.el (org-export-as-html): Close local lists depending on
3078         indentation, also when starting a table.
3080         * org-remember.el (org-remember-backup-directory)
3081         (org-remember-backup-name): New internal variable.
3083 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3085         * org-clock.el (org-clock-out-if-current): Make buffer detection
3086         work in indirect buffers as well.
3088         * org.el (org-emphasis-regexp-components): Add the exxclamation
3089         mark to the post-emphasis characters.
3091 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3093         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3094         (org-read-date): Run the new hook.
3096         * org-mac-message.el (org-mac-flagged-mail): New group.
3097         (org-mac-mail-account): New variable.
3098         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3099         commands.
3101         * org-remember.el (org-remember-backup-directory): New variable.
3102         (org-remember-apply-template): Write file to backup directory.
3104 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3106         * org-mouse.el (org-mouse-todo-menu): New function.
3107         (org-mouse-todo-keywords): Function removed.
3108         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3110         * org-table.el (org-table-beginning-of-field)
3111         (org-table-end-of-field): New commands
3112         (org-table-previous-field, org-table-beginning-of-field): Better
3113         error messages.
3114         (orgtbl-setup): Include `M-a' and `M-e'.
3116         * org.el (org-backward-sentence, org-forward-sentence): New
3117         commands.
3119         * org-colview.el (org-colview-initial-truncate-line-value): New
3120         variable.
3121         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3122         (org-columns): Remember the value of `truncate-lines'.
3124         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3125         New variable.
3126         (org-columns-remove-overlays): Restore the value of
3127         `truncate-lines'.
3128         (org-columns): Remember the value of `truncate-lines'.
3130         * org.el (org-columns-skip-arrchived-trees): New option.
3132         * org-agenda.el (org-agenda-export-html-style): Define color for
3133         org-agenda-done face.
3134         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3135         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3137         * org.el (org-scan-tags): Use the new face.
3139         * org-faces.el (org-agenda-done): New face.
3141         * org.el (org-scan-tags): Test the value org
3142         `org-tags-match-list-sublevels'.
3143         (org-tags-match-list-sublevels): New allowed value: indented.
3145         * org-export-latex.el (org-export-latex-make-header): Apply macros
3146         in header.
3148         * org-exp.el (org-export-apply-macros-in-string): New function.
3150         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3151         with the definition of a checked box.
3153         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3155         * org-export-latex.el (org-export-latex-low-levels): More options
3156         for how to process lower levels in LaTeX.
3157         (org-export-latex-subcontent): Better treatment for lists as a
3158         means of publishing lower levels.
3160 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
3162         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3164         * org-faces.el (org-checkbox): New face.
3166         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3167         fragement images if there is an export file.
3169 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3171         * org-agenda.el (org-stuck-projects): Document that the subtree of
3172         projects that are not stuck will now be searched for stuck
3173         sub-projects.
3174         (org-agenda-skip-entry-when-regexp-matches)
3175         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3176         (org-agenda-list-stuck-projects): Use
3177         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3179         * org-export-latex.el (org-export-latex-preprocess): Improve
3180         export of verses.
3182         * org-exp.el (org-export-as-html): Implement centering as a div
3183         rather than a paragraph.  Do a better job with line-end in verse
3184         environments.
3186 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
3188         * org.el (org-open-at-point): Fix tags searches by mouse click.
3190 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
3192         * org-export-latex.el (org-export-latex-preprocess): Implement the
3193         centering markup.
3195         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3196         from `org-export-mark-blockquote-and-verse'.
3197         (org-export-as-html): Implement the centering markup.
3199         * org-export-latex.el (org-export-latex-tables): Fix vertical
3200         lines in tables.
3202 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
3204         * org.el (org-read-date-history): New variable.
3205         (org-read-date): Use new history variable.
3206         (org-toggle-heading): Fix bug when used before first headline.
3207         (org-store-log-note): Remove drawer if empty while note is
3208         aborted.
3209         (org-remove-empty-drawer-at): New function.
3210         (org-check-after-date): New command.
3211         (org-sparse-tree): New sparse tree command "a".
3213         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3215 2009-03-14  Bastien Guerry  <bzg@altern.org>
3217         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3218         column and a space, not only a column.
3220 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
3222         * org-export-latex.el (org-export-latex-emphasis-alist): Better
3223         defaults for verbose emphasis.
3224         (org-export-latex-emph-format): New function.
3225         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3227         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3228         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3229         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3230         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3231         commands.
3233         * org.el (org-timestamp-change): Move end-time along with start
3234         time.
3236 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
3238         * org-exp.el (org-export-target-internal-links)
3239         (org-export-as-html): Protect links specified as #name.
3241 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
3243         * org.el (org-clone-subtree-with-time-shift): New command.
3245         * org-export-latex.el (org-export-latex-special-chars)
3246         (org-export-latex-treat-sub-super-char): Fix subscript export.
3248         * org-exp.el (org-create-multibrace-regexp): Do not add
3249         backslashes to the class.
3251 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
3253         * org-colview.el (org-columns-map): Better functions for moving up
3254         and down a row, even if `truncate-line' is nil.
3256         * org.el (org-insert-todo-heading): Make sure the keyword is
3257         inserted at the correct position.
3259         * org-publish.el (org-publish-project-alist)
3260         (org-publish-projects, org-publish-org-index): Change default anme
3261         for the index of file names to "sitemap.org".
3263         * org-export-latex.el (org-export-latex-tables): Use
3264         `org-split-string', for Emacs 21 compatibility.
3266 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
3268         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3270 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
3272         * org-exp.el (org-export-page-description)
3273         (org-export-page-keywords): New variables.
3274         (org-export-plist-vars): Add entries for :keywords and
3275         :description.
3276         (org-infile-export-plist): Parse for new keywords.
3277         (org-get-current-options): Add new keywords
3278         (org-export-as-html): Publish description and keywords.
3280         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3281         option.
3282         (org-agenda-add-entry-text): Honor
3283         `org-agenda-add-entry-text-descriptive-links'.
3285         * org-export-latex.el (org-export-latex-preprocess): Make all
3286         external preprocess functions use a PARAMETER arg.
3288         * org-exp.el (org-export-preprocess-string)
3289         (org-export-select-backend-specific-text)
3290         (org-export-format-source-code-or-example)
3291         (org-format-org-table-html): Support docbook export.
3292         (org-export-preprocess-string): Make all external preprocess
3293         functions use a PARAMETER arg.
3295 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
3297         * org-exp.el (org-export-html-style-include-scripts): New option.
3298         (org-export-plist-vars): Add new option
3299         `org-export-html-style-include-scripts'.
3300         (org-export-as-html): Honor new option
3301         `org-export-html-style-include-scripts'.
3302         (org-export-html-scripts, org-export-html-style-default): Fix
3303         xml issues with the Safari browser.
3305 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
3307         * org-publish.el (org-publish-attachment): Only copy file when the
3308         directories differ.
3310 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
3312         * org-clock.el (org-clocktable-steps): Use inactive time stamps
3313         for clocktable steps.
3315         * org.el (org-additional-option-like-keywords): Add two more
3316         keywords.
3318 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
3320         * org-exp.el (org-export-format-source-code-or-example): Mark
3321         temporary buffer unmodified, so that it will be killed even if
3322         mode like message mode has decided to assign a file name.
3324         * org.el (org-scan-tags): Improve tag inheritance.
3325         (org-scan-tags, org-make-tags-matcher): Make tag comparison
3326         case-sensitive.
3327         (org-scan-tags): Use the internal tags list instead of creating it
3328         from scratch.
3329         (org-trust-scanner-tags, org-scanner-tags): New variables.
3330         (org-scan-tags): Set `org-scanner-tags'.
3331         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3332         (org-map-entries): Document the possible speedup using scanner
3333         tags.
3335 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
3337         * org.el (org-add-planning-info): Fix bug with looking for keyword
3338         only at column 0.
3340         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3341         option for tags filter preset.
3342         (org-prepare-agenda): Store filter preset as a property on the
3343         filter variable.
3344         (org-finalize-agenda): Call the filter, if there is a preset.
3345         (org-agenda-filter-by-tag): Filter again after clearing the
3346         filter, when there still is a preset.
3347         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3348         Include the preset filter.
3349         (org-agenda-redo): Apply the filter again, also the preset filter.
3351         * org-exp.el (org-export-as-html): Use IDs in the correct way.
3353         * org.el (org-uuidgen-p): New funtion.
3355         * org-agenda.el (org-agenda-fontify-priorities): New default value
3356         `cookies'.
3357         (org-agenda-fontify-priorities): Renamed from
3358         org-fontify-priorities.
3360         * org.el (org-set-font-lock-defaults): Call
3361         `org-font-lock-add-priority-faces'.
3362         (org-font-lock-add-priority-faces): New function.
3364         * org-faces.el: (org-set-tag-faces): New option.
3365         (org-priority-faces): New variable.
3367         * org-exp.el (org-export-as-html): Add a "content" div around the
3368         entire content of the body tag.
3369         (org-export-html-get-bibliography): New function.
3370         (org-export-html-validation-link): New variable.
3371         (org-export-as-html): Add validation link to exported page.
3373         * org.el (org-match-sparse-tree): Renamed from
3374         `org-tags-sparse-tree'.
3375         (org-tags-sparse-tree): New alias.
3377 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
3379         * org.el (org-get-valid-level): Catch the case where the level
3380         change is nil.
3382         * org-clock.el (org-clock-find-position): Better indentation of
3383         new clock drawers.
3385 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
3387         * org-agenda.el (org-agenda-quit): Delete window only when the
3388         frame-setup was not `current-window'.
3390         * org.el (org-tag-persistent-alist): New option.
3391         (org-startup-options): Add keyword `noptag'.
3392         (org-fast-todo-selection): Handle :newline correctly.
3393         (org-set-tags): Handle :newline correctly.
3394         (org-fast-tag-selection): Handle :newline correctly.
3396 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
3398         * org-exp.el (org-export-as-ascii): Reverse link buffer before
3399         outputting it.
3400         (org-export-ascii-push-links): Fix bug with pussing links into the
3401         export buffer.
3403 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
3405         * org-archive.el (org-archive-subtree): Do not add 1 to level if
3406         pasting at top level.
3408         * org-bbdb.el: Improve documentation.
3410 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
3412         * org-list.el (org-insert-item): Only consider insert empty lines
3413         is `org-empty-line-terminates-plain-lists' is not nil.
3415         * org.el (org-blank-before-new-entry): Mention the dependence on
3416         `org-empty-line-terminates-plain-lists' in the docstring.
3418         * org-publish.el (org-publish-get-project-from-filename): New
3419         optional argument UP.  Only find the top project if UP is set.
3420         (org-publish-current-project): Find the top encloding project.
3422         * org-agenda.el (org-agenda-before-write-hook)
3423         (org-agenda-add-entry-text-maxlines): New options.
3424         (org-write-agenda): Run the new hook in the temporary buffer.
3425         (org-agenda-add-entry-text): New function.
3426         (org-write-agenda): Implement PDF export, using ps2pdf.
3428         * org.el (org-global-properties-fixed, org-global-properties):
3429         Improve documentation string.
3431         * org-exp.el (org-export-ascii-links-to-notes): New option.
3432         (org-export-as-ascii): Handle links better.
3433         (org-export-ascii-wrap, org-export-ascii-push-links): New
3434         functions.
3436 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
3438         * org-agenda.el (org-agenda): Make prefix arg optional.
3439         (org-agenda-search-headline-for-time): New option.
3440         (org-format-agenda-item): Honor
3441         `org-agenda-search-headline-for-time'.
3443         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3444         characters.
3446         * org.el (org-self-insert-cluster-for-undo): New option.
3447         (org-self-insert-command): Cluster undo for 20 characters.
3448         (org-self-insert-command-undo-counter): New variable.
3450 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
3452         * org-exp.el (org-export-as-html): Fix problem with closing colone
3453         example.
3455 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
3457         * org-export-latex.el (org-export-as-latex)
3458         (org-export-latex-first-lines): Avoid modification flag when
3459         adding or removing text properties.
3460         (org-export-latex-fontify): Catch error when org-emph-alist has
3461         entries that are not defined for LaTeX export.
3463         * org.el (orgstruct++-mode): New function.
3464         (turn-on-orgstruct++): Call `orgstruct++-mode'.
3465         (org-context-p): Allow detecting item context after the first line
3466         of an item.
3467         (orgstruct-make-binding): Detect if item-body context should be
3468         seen.
3469         (orgstruct-is-++): New variable.
3470         (org-add-planning-info): Catch the case when there is no planning
3471         info yet and the call does not want to add anything, only maybe
3472         tries to remove something.
3473         (org-special-ctrl-a/e): All value to be a cons cell with separate
3474         settings for `C-a. and `C-e'.
3475         (org-beginning-of-line, org-end-of-line): Honor separate values
3476         for `C-a' and `C-e'.
3478 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
3480         * org.el (org-reload): New command.
3482 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
3484         * org-exp.el (org-export-htm-get-tag-class-name)
3485         (org-export-htm-get-todo-kwd-class-name): New functions.
3486         (org-export-html-tag-class-prefix)
3487         (org-export-html-todo-kwd-class-prefix): New options.
3488         (org-export-as-html): Call
3489         `org-export-html-get-todo-kwd-class-name'.
3490         (org-html-level-start): Wrap tags into classes.
3491         (org-export-html-get-tag-class-name)
3492         (org-export-html-get-todo-kwd-class-name): New functions.
3494         * org-export-latex.el (org-export-latex-collect-header-macros):
3495         Remove fields that are used anyway.
3496         (org-export-latex-make-header): Insert the options earlier.
3498         * org-agenda.el (org-agenda-get-progress): Fix bug with state
3499         matching.
3501         * org-list.el (org-indent-item): Allow point to be at the end of
3502         the region.
3504         * org.el (org-metaleft, org-metaright): Be more accurate about
3505         detecting a region where commands apply.
3507         * org-compat.el (org-cursor-to-region-beginning): New function.
3509         * org.el (org-priority): Also find invisible heading.
3511         * org-colview-xemacs.el (org-columns-edit-value): No special
3512         treatment for `org-todo' prefix.
3514         * org-colview.el (org-columns-edit-value): No special treatment
3515         for `org-todo' prefix.
3517         * org-remember.el (org-remember-apply-template): Use
3518         `org-completing-read-no-ido'.
3520         * org.el (org-completing-read-no-ido): New function.
3521         (org-make-tags-matcher, org-set-property): Use
3522         `org-completing-read-no-ido'.
3524         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
3525         New option.
3526         (org-export-as-latex): Import in-buffer settings as TeX macros.
3527         (org-export-latex-make-header): Additional parameter OPT-DEFS.
3528         (org-export-latex-collect-header-macros): New function.
3530         * org.el (org-refile-get-location): Turn off
3531         `partial-completion-mode'.
3533 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
3535         * org.el (org-block-todo-from-checkboxes): Announce that
3536         checkboxes are the culprit.
3537         (org-block-todo-from-children-or-siblings): Call
3538         `org-up-heading-all instead' of `outline-up-heading'.
3540         * org-agenda.el (org-agenda-show-1): Renamed from
3541         `org-agenda-show'.
3542         (org-agenda-show): Re-install the old version for now.
3543         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
3544         variable into the blokker hook, so that the checkbox checker can
3545         anounce that it caused the blocking.
3547         * org.el (org-track-ordered-property-with-tag): New option.
3548         (org-toggle-ordered-property): Honor
3549         `org-track-ordered-property-with-tag'.
3550         (org-tag-alist): Add newline options.
3551         (org-set-regexps-and-options): Separate option lines imply a
3552         newline.
3553         (org-set-regexps-and-options, org-assign-fast-keys)
3554         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
3555         option.
3556         (org-indent-line-function): Make sure this works even if there is
3557         not `org-drawer-regexp' defined.  This can happen when
3558         orgstruct-mode is used in a non-org buffer.
3560         * org-list.el (org-checkbox-blocked-p): New function.
3561         (org-toggle-checkbox): Check for blocking.
3563         * org.el (org-modules): Add an entry for org-R.el.
3565         * org-agenda.el (org-agenda-todo-ignore-with-date)
3566         (org-agenda-todo-ignore-scheduled)
3567         (org-agenda-todo-ignore-deadlines): Mention the variable
3568         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
3570         * org.el (org-get-wdays): Find the warning period also if it is in
3571         the wrong place.
3572         (org-ido-completing-read): Provide the correct arguments to
3573         ido-completing-read and bind `ido-enter-matching-directory' to
3574         nil.
3576 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
3578         * org.el (org-olpath-completing-read): Never use ido for this
3579         one.
3581         * org-exp.el (org-export-normalize-links): Use new macro.
3583         * org-macs.el (org-if-unprotected-at): New macro.
3585         * org-agenda.el (org-agenda-show): Allow numerical prefix
3586         arguments to specify how much context should be shown.
3587         (org-agenda-cycle-show): New command, could be bound to SPC in
3588         org-agenda-mode-map.
3590         * org-exp.el (org-html-level-start): Space after section number.
3592 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
3594         * org-agenda.el (org-agenda-get-sexps): Add todo state as
3595         property, for sorting.
3596         (org-cmp-todo-state): Get the applicable TODO keywords directly
3597         from the buffer.
3598         (org-run-agenda-series, org-agenda-list, org-search-view)
3599         (org-todo-list, org-tags-view): Only fit agenda window when the
3600         whole series is done.
3602         * org.el (org-scan-tags): Add todo state as property, for sorting.
3604         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3605         `org-agenda-overriding-header' as an option.
3606         (org-agenda-list): Honor org-agenda-overriding-header'.
3608 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
3610         * org-list.el (org-toggle-checkbox): Improve cursor positioning
3611         after removing a checkbox.
3613         * org.el (org-show-entry): Make this work correctly also if it is
3614         the last entry in the file.
3615         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
3616         falling back to normal, default command.
3617         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
3618         item, call the checkbox toggler to get a box.
3620         * org-list.el (org-toggle-checkbox): Make double prefix set the
3621         checkbox to "[-]".
3622         (org-fix-bullet-type): Only replace bullet if it is changed.
3623         (org-renumber-ordered-list): Handle case when first item does not
3624         have a number.
3626         * org.el (org-add-log-setup): Fix positioning when
3627         `org-log-states-order-reversed' is nil.
3629         * org-clock.el (org-clock-in): Fix positioning when
3630         `org-log-states-order-reversed' is nil.
3631         (org-clock-find-position): Fix positioning when
3632         `org-log-states-order-reversed' is nil.
3634 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
3636         * org-clock.el (org-clock-into-drawer): Take default from
3637         `org-log-into-drawer'.
3638         (org-clock-find-position): Look for the correct drawer.
3640         * org.el (org-log-into-drawer): Renamed from
3641         `org-log-state-notes-into-drawer'.
3642         (org-log-state-notes-into-drawer): New variable alias.
3643         (org-add-log-setup): Make drawer name default to LOGBOOK, not
3644         CLOCK.
3645         (org-insert-property-drawer): Also skip LOGBOOK drawers.
3647 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
3649         * org-agenda.el (org-agenda): Fix docstring.
3651         * org.el ("org-plot"): Help loading org-plot.
3652         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
3653         (org-metadown-hook, org-shiftmetaleft-hook)
3654         (org-shiftmetaright-hook, org-shiftmetaup-hook)
3655         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
3656         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3657         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
3658         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
3660         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
3661         for selecting files with any (and even without) extension.
3663         * org.el (org-save-all-org-buffers): Also save id locations.
3664         (org-revert-all-org-buffers): Also load id locations.
3666 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
3667         * org.el (org-drawers): Add LOGBOOK to the default drawers.
3668         (org-log-state-notes-into-drawer): New option.
3669         (org-add-log-setup): Place the sate note marker into the drawer,
3670         create drawer when necessary.
3671         (org-refile-targets): Document special interpretation of LEVEL
3672         when odd-levels are used.
3674 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
3676         * org.el (org-store-log-note): Fix note indentation when adding
3677         notes to end of list.
3679         * org-exp.el (org-export-as-html): Add TODO keyword as extra
3680         class, so that each keyword can get special colors through CSS.
3682         * org-clock.el (org-clock-out): Add another nil for the previous
3683         state into the call to `org-add-log-setup'.
3685         * org.el (org-log-note-previous-state): New variable.
3686         (org-log-note-headings): New %S escape for old state.
3687         (org-todo): Call the note setup with the old state as an
3688         argument.
3689         (org-add-note): Add another nil for the previous state into the
3690         call to `org-add-log-setup'.
3691         (org-add-log-setup): New argument PREV-STATE.
3692         (org-add-log-note): Handle new %S escape.
3693         (org-store-log-note): Handle new %S escape.
3695 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
3697         * org-clock.el (org-clock-find-position): Do not swallow an item
3698         less indented than the CLOCK line itself.
3699         (org-clock-in): Push markers to lin after the clock line.
3700         (org-clock-find-position): Handle values of
3701         `org-clock-into-drawer' smaller than 2.
3703         * org-exp.el (org-html-level-start): Add a CSS class to section
3704         numbers.
3705         (org-export-html-toplevel-hlevel): Better documentation of the
3706         influence of this variables on H levels and css classes in
3707         export.
3709 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
3711         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3712         timestamp and nottimestamp to the chooe menu.
3714         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
3715         (org-revert-all-org-buffers): New command.
3717 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
3719         * org.el (org-return): Implement `org-return-follows-link' in the
3720         function org-return.  This is more robust than using the mouse
3721         map, I think.
3722         (org-set-regexps-and-options): Match more general #+TODO lines.
3723         (org-make-options-regexp): New optional argument EXTRA, for an
3724         extra regexp.
3725         (org-tab-follows-link): Mark as deprecated.
3727 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
3729         * org-exp.el (org-export-preprocess-string): Remove clock lines
3730         earlier, so that they cannot cotribute to verbatim snippets.
3732 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
3734         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
3735         for finding drawers.
3736         (org-export-as-ascii, org-export-as-html): Count levels relative
3737         to the subtree header.
3738         (org-get-min-level): New optional argument OFFSET.
3739         (org-export): Make sure point is restored after popping up that
3740         window.
3742         * org.el (org-do-sort): Also take an inactive timestamp if no
3743         active one is found.
3745         * org-colview-xemacs.el (org-columns-capture-view): Copy before
3746         deleting duplicates.
3748         * org-colview.el (org-columns-capture-view): Copy before
3749         deleting duplicates.
3751         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
3752         text before first headline.
3754         * org.el (org-format-latex): Do not convert LaTeX fragments in
3755         protected examples.
3757 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
3759         * org-exp.el (org-export-html-style-default): Use color values
3760         instead of names for XHTML validation.
3762         * org.el (org-get-scheduled-time, org-get-deadline-time): New
3763         functions.
3764         (org-return-follows-link): Revert making this the default untile
3765         issues are resolved.
3767         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
3768         nottimestamp.
3770 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
3772         * org.el (org-mode): Make dependence stuff work more reliably.
3773         (org-update-parent-todo-statistics): Fix bug with updating
3774         statistics cookie.
3776         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
3777         ~ as verbatim delimiters.
3779         * org-exp.el (org-export-html-format-image): New argument
3780         PAR-OPEN.
3781         (org-export-as-html): Pass par-open to
3782         `org-export-html-format-image'.
3784 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
3786         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
3787         (org-use-fast-todo-selection, org-tags-column): New default
3788         setting for variables, based on a poll what typical uses use.
3790         * org-agenda.el (org-agenda-sorting-strategy)
3791         (org-agenda-tags-column): New default setting for variables, based
3792         on a poll what typical uses use.
3794 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
3796         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
3797         blocked entries from setting the blocked tag.
3799         * org-exp.el (org-export-html-footnotes-section): Use a more
3800         consistent id for footnotes.
3802         * org-export-latex.el (org-export-latex-classes): Remove the
3803         a4paper option from the default styles.
3805 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
3807         * org.el (org-enforce-todo-checkbox-dependencies): New option.
3808         (org-block-todo-from-checkboxes): New function.
3809         (org-todo): Make tripple prefix arg circumvent blocking.
3811         * org-timer.el (org-timer): Provide the timer feature.
3813         * org.el (org-require-autoloaded-modules): Add a few more files to
3814         the list of autoloaded modules.
3816         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
3818 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
3820         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
3821         drawers that are unprotected.
3822         (org-export-html-format-image): Make sure inlined LaTeX fragment
3823         images remain inlined.
3825         * org.el (org-toggle-ordered-property): New function.
3826         (org-mode-map): Add a key for `org-toggle-ordered-property'.
3827         (org-org-menu): Add menu entries for TODO dependencies.
3829 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
3831         * org.el (org-default-properties): Add ORDERED to the default
3832         properties, to get completion support for it.
3834         * org-list.el (org-update-checkbox-count): Update more than one cookie.
3836         * org.el (org-update-parent-todo-statistics): Update more than one
3837         cookie.
3839         * org-agenda.el (org-agenda-get-todos): Start search from correct
3840         position.
3842         * org.el (org-fast-todo-selection): Make sure TODO selection does
3843         not change buffer position.
3845         * org-list.el (org-toggle-checkbox): Implement adding or removing
3846         checkboxes from line or region when called with a prefix
3847         argument.
3849         * org-rmail.el (org-rmail-store-link): Protect the call to
3850         `rmail-narrow-to-non-pruned-header'.
3852         * org-clock.el (org-clock-special-range): Fix week display in
3853         clock tables.
3855         * org-exp.el (org-get-current-options): Fix bug when in indirect
3856         buffer.
3858 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
3860         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
3861         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
3862         (org-agenda-dim-blocked-tasks): New function.
3864         * org.el (org-enforce-todo-dependencies): New option.
3865         (org-block-todo-from-children-or-siblings): New function.
3867         * org-faces.el (org-agenda-dimmed-todo-face): New face.
3869         * org.el (org-todo): Return correct state type even if the blocker
3870         throws an error.
3871         (org-modifier-cursor-error): Renamed from
3872         `org-shiftcursor-error'.
3873         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3874         (org-shiftmetadown): Call `org-modifier-cursor-error'.
3876         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
3877         to get real errors from the blocker hook.
3879         * org.el (org-shiftselect-error, org-call-for-shift-select): New
3880         functions.
3881         (org-set-visibility-according-to-property): Turn off the setting
3882         of `org-show-entry-below', to avoid overruling a FOLDED visibility
3883         property.
3885 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
3887         * org.el (org-support-shift-select): New option.
3888         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
3889         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
3890         selection outside contexts.
3892         * org-list.el (org-at-item-bullet-p): New function.
3894         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
3895         variables.
3897         * org-footnote.el (org-footnote-normalize): Remove unnecessary
3898         variable.
3899         (org-insert-footnote-reference-near-definition): Remove
3900         unnecessary let form.
3902         * org-export-latex.el (org-export-latex-first-lines): Add
3903         OPT-PLIST parameter.
3904         (org-export-as-latex): Call `org-export-latex-first-lines' with
3905         opt-plits parameter.
3906         (org-export-latex-preprocess): Remove unnecessary variables.
3908         * org-exp.el (org-infile-export-plist)
3909         (org-export-add-options-to-plist, org-export-kill-licensed-text)
3910         (org-export-remove-headline-metadata)
3911         (org-export-get-title-from-subtree, org-get-min-level)
3912         (org-html-do-expand): Remove innecessary let form.
3914         * org-colview-xemacs.el (org-columns-display-here): Remove
3915         unnecessary variables.
3917         * org-colview.el (org-columns-display-here): Remove unnecessary
3918         variables.
3920         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
3921         variables.
3923         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
3924         unnecessary variables.
3926         * org-agenda.el (org-search-view, org-agenda-get-blocks)
3927         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
3928         variables.
3930         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
3931         (org-compact-display-after-subtree-move): Remove unnecessary
3932         variables.
3933         (org-edit-fixed-width-region): Remove unnecessary variables.
3934         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
3935         (org-olpath-completing-read): Remove unnecessary variable.
3936         (org-auto-repeat-maybe): Remove unnecessary variable.
3937         (org-map-entries): Remove unnecessary variable.
3938         (org-buffer-property-keys, org-imenu-get-tree)
3939         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
3941 -----------------------------------------------------------------
3943 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
3944         * org-exp.el (org-export-remove-timestamps): Never remove
3945         timestamps from tables.
3947         * org-export-latex.el (org-export-latex-first-lines): Add more
3948         options to the preprocessing of the text before the first
3949         headline.
3951 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3953         * org-faces.el (org-clock-overlay): Make face compatible with
3954         XEmacs.
3956         * org.el (org-yank): Add property for delete-selection mode.
3958         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
3960         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
3961         variable.
3963         * org-table.el (org-table-insert-hline): Fix typo in fuction call
3964         to `backward-char'.
3966         * org-exp.el (org-export-as-html): Remove the initial space from
3967         colon examples.
3969         * org.el (org-scan-tags): Call
3970         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3972         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
3973         customization groups.
3974         (org-agenda-tags-todo-honor-ignore-options): New option.
3975         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3976         New function.
3977         (org-agenda-get-todos): Use
3978         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3980 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
3982         * org-exp.el (org-export-format-source-code-or-example): Escape
3983         HTML characters also in examples that anre not treated with
3984         htmlize.  Also, just switch to EXAMPLE processing if we do not
3985         have a good version of htmlize.
3987         * org-rmail.el: Fix copyright notice.
3989         * org.el (org-activate-footnote-links): Improve footnote link
3990         highlighting.
3992         * org-footnote.el (org-footnote-normalize): Fix finding the end of
3993         a footnote definition at the end of the file.
3995         * org-table.el (org-table-get-specials): Add an imagined hline at
3996         the end of the table.  This can be useful for references that want
3997         to go to the end of the table.  Also fix bug when computing last
3998         row constants, in tables that do not start right at the right
3999         margin.
4000         (org-table-eval-formula): Match and replace remove references.
4001         (org-table-formula-substitute-names): Make sure that names inside
4002         a "remote" call are left alone, the will be replaced later when
4003         the remote call is handled.
4004         (org-table-convert-refs-to-rc): Do not convert things that might
4005         look like a reference, but are really part of an ID or namei n a
4006         remote reference.
4007         (org-table-get-remote-range): New function.
4009 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4011         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4013         * org-clock.el (org-clock-put-overlay): Use new face instead of
4014         `secondary-selection'.
4016         * org-faces.el (org-clock-overlay): New face.
4018 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4020         * org-exp.el (org-get-current-options): Include the option for
4021         publishing time stamps.
4023         * org.el (org-toggle-heading): Renamed from
4024         `org-toggel-region-headings'.
4025         No longer needs a region defined, but will use it if there is one.
4026         (org-ctrl-c-star): Simplified, relying more on the internal
4027         workings of `org-toggle-heading'.
4028         (org-toggle-item): Renamed from `org-toggle-region-items'.
4029         No longer needs a region defined, but will use it if there is one.
4030         (org-ctrl-c-minus): Simplified, relying more on the inernal
4031         workings of `org-toggle-item'.
4033         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4034         environment detection.  Also, do real changes only in unprotected
4035         places.
4037 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4039         * org-export-latex.el (org-export-latex-quotation-marks): Use
4040         `org-if-unprotected-1'.
4041         (org-export-latex-set-initial-vars): Check for class definition in
4042         property.
4044         * org-macs.el (org-if-unprotected-1): New macro.
4046 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4048         * org-compat.el (org-count-lines): New function.
4050         * org-exp.el (org-export-format-source-code-or-example): Handle
4051         switches related to text areas.
4053         * org.el (org-activate-footnote-links): Don't allow match inside a
4054         link.
4056         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4058         * org-export-latex.el (org-export-latex-links): Keep a relative
4059         path relative also after export.
4061         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4063         * org.el (org-make-tags-matcher): Never use IDO for completing the
4064         tags matcher match string.
4065         (org-completing-read): Also remove the special biding for "?".
4067         * org-attach.el (org-attach-allow-inheritance): New option.
4068         (org-attach-inherited): New variable.
4069         (org-attach-dir): Handle properties related to the attachment
4070         directory.
4071         (org-attach-check-absolute-path): New function.
4072         (org-attach-set-directory, org-attach-set-inherit): New commands.
4073         (org-attach): Accommodate the new commands in the dispatcher.
4075 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4077         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4078         `window-full-width-p'.
4080         * org-exp.el (org-export-as-html): Only check for images files
4081         that really can be inlined
4083         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4084         list of extensions to be a parameter.
4086         * org-exp.el (org-export-html-inline-image-extensions): New
4087         variable.
4089         * org-agenda.el (org-prepare-agenda): Use
4090         `org-agenda-block-separator'.
4091         (org-agenda-block-separator): New option.
4093 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4095         * org-export-latex.el (org-export-latex-tables): Call
4096         `org-table-clean-before-export' with the new optional argument.
4098         * org-exp.el (org-table-clean-before-export): New optional
4099         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4100         first column.
4102 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4104         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4105         histograms.
4107         * org-colview.el (org-colview-construct-allowed-dates): Better
4108         error catching when a date/time property does not have allowed
4109         values defined.
4111         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4112         Better error catching when a date/time property does not have
4113         allowed values defined.
4115 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4117         * org.el (org-map-entries): Restore point and restriction after
4118         `org-map-entries'.
4120 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4122         * org.el (org-time=, org-time<, org-time<=, org-time>)
4123         (org-time>=, org-time<>): Make sure both values are dates.
4125 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4127         * org-archive.el (org-extract-archive-heading): Allow %s for file
4128         name also in achive location heading.
4130 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4132         * org-archive.el (org-add-archive-files): Uniquify the list before
4133         returning it.
4135 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4137         * org-compat.el (org-fit-window-to-buffer): Use
4138         `window-full-width-p'.
4140         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4141         space after the colon in short examples.
4143         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4144         enforce a space after the colon.  However, we also allow lines
4145         that are *only* a colon.
4146         (org-export-as-html): Enforce the space after the colon in short
4147         examples.
4148         (org-export-preprocess-string): Do the colon example protection
4149         earlier.
4150         (org-export-remove-timestamps): Do not check for protection at the
4151         end of the line.
4153 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
4155         * org.el (org-format-latex-options): Add new matcher for single
4156         letters between dollars.
4157         (org-get-header): Function removed.
4158         (org-heading-components): New function.
4160         * org-exp.el (org-export-define-heading-targets): Record ID's also
4161         as alternative targets.
4162         (org-export-as-html): Interpret "id:" links to other files by
4163         preserving the relative path.
4165         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4166         is nil.
4168         * org-exp.el (org-export-normalize-links): Protect the main link,
4169         to avoid special character processing.
4171         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4172         New variable.
4173         (org-export-latex-special-string-regexps): Variable removed.
4174         (org-export-latex-keywords): Use the new regexp.
4176         * org-exp.el (org-export-handle-include-files): Fetch switches and
4177         put them into the BEGIN statement.
4179         * org-timer.el (org-timer-mode-line-string): New variable.
4181         * org-clock.el (org-clock-mode-line-map): Renamed from
4182         `org-clock-mode-map'.
4183         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4184         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4185         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4186         (org-clock-remove-overlays): Renamed from
4187         `org-remove-clock-overlays'.
4189         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4190         and mode line display.
4191         (org-timer-stop): New command.
4192         (org-timer-seconds): Return correct time when timer is paused.
4193         (org-timer-mode-line-timer): New variable.
4194         (org-timer-set-mode-line, org-timer-update-mode-line): New
4195         functions.
4197         * org.el (org-insert-heading):  Handle new value `auto' for
4198         `org-blank-before-new-entry'.
4199         (org-org-menu): Add new items for timer functions.
4201         * org-list.el (org-insert-item): Handle new value `auto' for
4202         `org-blank-before-new-entry'.
4204         * org.el (org-blank-before-new-entry): New value `auto', made
4205         default.
4207 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
4209         * org-exp.el (org-export-normalize-links): If the link is also
4210         used as the description, protect the description.
4212 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
4214         * org.el (org-closest-date): Fix bug with yearly repeats, in
4215         combination with preference of the past as it is used for deadline
4216         and scheduling search.
4218         * org-exp.el (org-html-handle-time-stamps): No longer check for
4219         the `org-export-with-timestamps' option, because the preprocesser
4220         has taken care of this already.
4222         * org.el (org-entry-properties): Catch the case when this is
4223         called in a non-org-mode file.
4225         * org-export-latex.el (org-export-latex-remove-from-headlines):
4226         Variable made obsolete, also LaTeX export now uses the standard
4227         variables.
4228         (org-export-as-latex): Add the timestamps parameter to the
4229         preprocessor parameter list.
4230         (org-export-latex-content): Export the remaining keywords without
4231         considering to remove them.
4232         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4233         Use bold font instead of tt font for the keywords.
4234         (org-export-latex-fontify-headline): Format headlines, assuming
4235         that all keywords still present should be published.
4236         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4237         publish what ever remains of the time stamps.
4238         (org-export-latex-list-parameters): New option.
4239         (org-export-latex-lists): Pass additional parameters to the list
4240         converter.
4242         * org-exp.el (org-export-preprocess-string): Remove clock lines
4243         and timestamps already in the preprocesor.
4244         (org-export-remove-timestamps, org-export-remove-clock-lines): New
4245         functions.
4246         (org-export-as-ascii, org-export-as-html): Add the timestamps
4247         parameter to the preprocessor parameter list.
4249         * org-list.el (org-list-parse-list): Parse for checkboxes.
4250         (org-list-to-generic): Introduce and handle new parameters :cbon
4251         and :cboff.
4252         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4253         optional parameter PARAMS.
4255         * org-export-latex.el (org-export-latex-special-chars): Fix
4256         problems with interpreting dollar signs.
4257         (org-inside-latex-math-p): New function.
4258         (org-export-latex-preprocess): Protect all the math fragments.
4260         * org.el (org-latex-regexps): Allow a dash after a dollar.
4262         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4263         mark after copying.
4265         * org-agenda.el (org-run-agenda-series): Have series options set
4266         when finalizing the agenda.
4268         * org-exp.el (org-export-format-source-code-or-example): Protect
4269         the converted examples.
4271         * org.el (org-set-regexps-and-options): Fix the regexp
4272         `org-complex-heading-regexp'.
4274 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
4276         * org.el (org-edit-src-get-label-format): New function.
4277         (org-coderef-label-format): New option.
4278         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4279         a label format specification and make sure it is used in the edit
4280         buffer.
4281         (org-edit-src-get-label-format): New function.
4282         (org-store-link): Handle new coderef formats.
4283         (org-link-search): Handle new coderef formats.
4285         * org-footnote.el (org-footnote-create-definition)
4286         (org-footnote-goto-local-insertion-point): Make footnote insertion
4287         work correctly when the "Footnotes" headline is the last line in
4288         the buffer.
4290         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4291         the location.
4293 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
4295         * org-w3m.el (org-w3m): New customization group.
4296         (org-w3m-deactivate-mark): New option.
4297         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4298         option say not to.
4300 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
4302         * org.el (org-set-font-lock-defaults): Trigger footnote
4303         fontification.
4304         (org-activate-footnote-links): New function.
4305         (org-activate-links): New entry `footnote'.
4307         * org-faces.el (org-footnote): New face.
4309 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
4311         * org-macs.el (org-re): Handle the [:word:] class.
4313         * org-exp.el (org-export-preprocess-string): Call
4314         `org-export-protect-colon-examples'.
4315         (org-export-protect-colon-examples): Renamed from
4316         `org-export-protect-examples', and scope limited to lines starting
4317         with a colon.
4319 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
4321         * org-exp.el (org-export-preprocess-string): Move the preprocess
4322         hook to after turning on Org-mode.
4323         (org-export-preprocess-after-include-files-hook)
4324         (org-export-preprocess-after-tree-selection-hook)
4325         (org-export-preprocess-before-backend-specifics-hook)
4326         (org-export-preprocess-final-hook): New hooks.
4327         (org-export-preprocess-string): Run the new hooks.
4329         * org.el (org-ctrl-c-minus): Fix indentation for new items.
4331         * org-footnote.el: New file.
4333         * org.el (org-footnote): Require footnote code.
4334         (org-startup-options): Add new footnote options.
4335         (org-mode-map): New keybindig for footnotes.
4336         (org-ctrl-c-ctrl-c): Add function at footnotes.
4337         (org-org-menu): New menu entries for footnotes.
4339         * org-export-latex.el (org-export-as-latex): Pass footnote
4340         variable to preprocessor.
4341         (org-export-latex-preprocess): Treat multiple references to a
4342         footnote.
4344         * org-exp.el (org-export-preprocess-string): Call
4345         `org-footnote-normalize'.
4346         (org-export-as-ascii, org-export-as-html): Pass footnote variable
4347         to preprocessor.
4348         (org-export-as-html): Treat multiple references to a footnote.
4350 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
4352         * org-export-latex.el (org-export-latex-links): Handle coderef
4353         links.
4355         * org.el (org-bracket-link-analytic-regexp++): New variable.
4356         (org-make-link-regexps): Initialize
4357         `org-bracket-link-analytic-regexp++'.
4358         (org-store-link): Implement special case in edit-src buffer.
4359         (org-insert-link): No use of ide to insert stored links.
4360         (org-link-search): Implement special case for coderefs.
4362         * org-exp.el (org-export-html-scripts): New constant.
4363         (org-export-html-style-default): Add a new style for highlighted
4364         code.
4365         (org-export-code-refs): New variable.
4366         (org-export-preprocess-string): Initialize `org-export-code-refs'.
4367         Call `org-export-replace-src-segments-and-examples'
4368         No longer call `org-export-protect-examples'.
4369         (org-export-target-internal-links): Take care of coderef targets.
4370         (org-export-last-code-line-counter-value): New variable.
4371         (org-export-replace-src-segments-and-examples): Renamed from
4372         `org-export-replace-src-segments', and modified.
4373         (org-export-format-source-code-or-example): Renamed from
4374         `org-export-format-source-code'.
4375         (org-export-number-lines): New function.
4376         (org-export-as-ascii, org-export-as-html): Handle coderef links.
4378 --------------------------------------------------------------------------
4380 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
4382         * org-remember.el (org-remember-handler): Safer way to get a new
4383         buffer accessing the target file.
4385         * org.el (org-refile-get-location): Handle case of current buffer
4386         not having a file associated with it.
4388 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
4390         * org-table.el (org-table-get-formula): Only ask to overwrite
4391         field formula if there really is one.
4393         * org-id.el (org-id-find): Allow the ID to be a symbol or a
4394         number, by converting these to a string.
4396         * org-colview.el (org-dblock-write:columnview): Allow ID to be
4397         located in a different file.
4399         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
4400         org-colview.el.
4402 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
4404         * org.el (org-completion-use-ido): Enhance docstring of
4405         `org-completion-use-ido'.
4407         * org-export-latex.el (org-export-latex-make-header): Double the %
4408         in the time stamp format.
4409         (org-export-latex-special-chars): Handle case where there is no
4410         match group 3.
4412 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
4414         * org.el (org-get-refile-targets, org-refile-get-location): Use
4415         expanded file name to improve comparison.
4417 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
4419         * org.el (org-scan-tags): Rescan for tags, to get the correct
4420         upcase/downcase stuff.  This slows things down for now, but it
4421         works.
4422         (org-mode): Make sure the tag-faces regexp is initialized.
4424         * org-export-latex.el (org-export-latex-links): Fix bug with
4425         undefined label.
4427         * org-table.el (org-table-get-specials): Set
4428         `org-table-current-last-data-line'.
4429         (org-table-current-last-data-line): New variable.
4430         (org-table-insert-column, org-table-delete-column)
4431         (org-table-move-column, org-table-fix-formulas): Call
4432         `org-table-fix-formulas' a second time to fix the $LR references.
4433         (org-table-get-specials): Add the $LR references to the tables.
4434         (org-table-get-formula): Do not offer last-row names as LHS of
4435         formulas.
4437         * org.el (org-store-link): Capture link description from
4438         `org-id-store-link'.
4440         * org-exp.el (org-export-html-format-image): Add the / to the end
4441         of the <img> tag.
4442         (org-export-format-source-code): Surround example by empty lines,
4443         to make sure it will not be inside a paragraph.
4445         * org.el (org-ido-switchb): New function.
4447 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
4449         * org-agenda.el (org-agenda-show): New prefix argument
4450         FULL-ENTRY.
4452         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4453         argument.
4455         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
4456         `org-agenda-change-all-lines'.
4457         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
4458         tags are now retrieved locally.
4460 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
4462         * org.el (org-get-outline-path): Fix bug if level is not given.
4463         (org-org-menu): Do not quote function in menu vector.
4465         * org-agenda.el (org-finalize-agenda): Fix typo with variable
4466         name.
4468 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4470         * org.el (org-refile): Avoid refiling to within the region to be
4471         refiled.
4473         * org-export-latex.el (org-export-latex-special-chars): Replace
4474         special characters also in tables.
4476         * org-agenda.el (org-agenda-change-all-lines): New argument
4477         FORCE-TAGS.
4478         (org-agenda-set-tags): Cet the new tags and pass them to
4479         `org-format-agenda-item'.
4481 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
4483         * org-export-latex.el (org-export-latex-classes): Add longable as
4484         a default package to all classes.
4485         (org-export-latex-tables): Handle the longtable attribute and the
4486         align attribute.
4488         * org-table.el (orgtbl-to-generic): Handle tables that start with
4489         a hline.
4491         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4492         \verb for colde-like snippets.
4493         (org-export-as-latex): Fix issues with region export.
4495         * org.el (org-up-heading-safe): Speed up function by using a
4496         direct regexp search.
4497         (org-olpa): New variable.
4498         (org-get-outline-path): Speed-up path constructions in cases where
4499         this is possible because the entire hierarchy is scanned anyway.
4500         (org-refile-get-location): Don't compare the truenames of files,
4501         this is too slow.
4502         (org-goto-max-level): New option.
4503         (org-goto): Use `org-goto-max-level'.
4505 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
4507         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4508         Strip angle brackets from message-ids in the former and don't do
4509         it in the latter.
4510         (org-gnus-follow-link): Open summary reliable, even if the last
4511         messages were deleted, and handle empty groups, too.
4513 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
4515         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4516         instead of \texttt for the =...= and ~===~ emphasis environments.
4517         (org-export-as-latex): Remove any old :org-license-to-kill text
4518         properties.
4519         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4520         (org-export-latex-make-header): Add some hard space after the
4521         table of contents.
4522         (org-export-latex-first-lines): Accept RBEG argument.  Mark
4523         exported text so that it will be excuded in further steps.
4525         * org-table.el (org-table-get-specials): Make @0 reference the
4526         last line in a table.
4527         (org-table-recalculate): Improve docstring.
4529 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
4531         * org.el (org-log-done): Fix docstring.
4533 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
4535         * org-exp.el (org-export-html-format-image): Fix bugs.
4537         * org-export-latex.el (org-export-latex-tables)
4538         (org-export-latex-links): Implement attribute, label, and caption
4539         handling.
4541         * org-exp.el (org-export-html-style-default): Add style
4542         definitions for the figure div.
4543         (org-export-preprocess-string, org-export-as-html): Implement
4544         attribute, label, and caption handling.
4545         (org-export-attach-captions-and-attributes): New function.
4546         (org-export-html-format-image): New function.
4547         (org-format-org-table-html): Implement attribute, label, and
4548         caption handling.
4550         * org.el (org-find-text-property-in-string): New function.
4551         (org-extract-attributes): Use the property org-attr instead of
4552         org-attrobutes, because this property is now set with the #+ATTR
4553         lines.
4555 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
4557         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
4558         the case that FROM is nil.
4560         * org.el (org-before-first-heading-p): New function.
4562 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4564         * org-exp.el (org-export-as-html): Do not add a space before
4565         enforces line breaks.
4566         (org-export-as-html): Close paragraph before blockquote and verse
4567         tags.
4569 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
4571         * org-id.el (org-id-locations-file): Wrap file name with
4572         `convert-standard-filename'.
4573         (org-id-files): New variable.
4574         (org-id-use-hash): New option.
4575         (org-id-update-id-locations): Also search in all files current
4576         listed in `org-id-files'.  Convert the resulting alist to a hash
4577         if the user customation says so.
4578         (org-id-locations-save): Handle he case if `org-id-locations' is a
4579         hash.
4580         (org-id-locations-load): Convert the alist to a hash.
4581         (org-id-add-location): Handle the hast case.
4582         (kill-emacs-hook): Make sure id locations are saved when Emacs is
4583         exited.
4584         (org-id-hash-to-alist, org-id-alist-to-hash)
4585         (org-id-paste-tracker): New functions.
4587 -------------------------------------------------------------------------
4589 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
4591         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
4592         bindings of calendar variables.
4594         * org-table.el (org-table-find-row-type): Renamed from
4595         `org-find-row-type'.
4596         (org-table-rewrite-old-row-references): Renamed from
4597         `org-rewrite-old-row-references'.
4598         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
4599         (org-table-cleanup-narrow-column-properties): Renamed from
4600         `org-cleanup-narrow-column-properties'.
4602 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
4604         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
4605         for better error messages.
4606         (org-table-get-descriptor-line): Supply the new arguments to
4607         `org-find-row-type'.
4608         (org-table-error-on-row-ref-crossing-hline): New option.
4610         * org.el (org-target-link-regexp): Make buffer-local.
4611         (org-move-subtree-down): Fix bug with trees at beginning of
4612         buffer.
4614 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
4616         * org-faces.el (org-set-tag-faces): New function.
4617         (org-tags-special-faces-re): New variable.
4619         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
4621         * org-faces.el (org-tag-faces): New option.
4622         (org-tag): Mention `org-tag-faces' in the docstring.
4624 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
4626         * org-exp.el (org-export-html-style-default): Implement new
4627         quoting.
4629         * org-jsinfo.el (org-infojs-template): Implement new quoting.
4631         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
4632         command to the `w3m-minor-mode-map'.
4634         * org-archive.el (org-archive-to-archive-sibling): Protect
4635         `this-command' to avoid appending kills during archiving.
4637         * org-exp.el (org-export-with-priority): New variable.
4638         (org-export-add-options-to-plist): Use `org-export-plist-vars'
4639         instead of internal list of strings and properties.
4640         (org-print-icalendar-entries): Retrieve the location property with
4641         inheritance.
4643 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
4645         * org-exp.el (org-export-with-todo-keywords): New option.
4646         (org-export-plist-vars): Include also the keys for the #+OPTIONS
4647         line.
4648         (org-default-export-plist, org-export-add-options-to-plist)
4649         (org-export-as-ascii, org-export-as-html): Use the new structure
4650         of `org-export-plist-vars'.
4652         * org.el (org-map-entries): Return all values.
4654 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
4656         * org.el (org-matcher-time): Recognize more special values.
4658         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
4660 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
4662         * org.el (org-tags-exclude-from-inheritance): New option.
4663         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
4664         `org-tags-exclude-from-inheritance'.
4666         * org-agenda.el (org-agenda-show-inherited-tags): New option.
4667         (org-format-agenda-item): Add inherited tags to the agenda line
4668         string, and make sure that properties are kept when downcasing the
4669         tags list.
4670         (org-agenda-add-inherited-tags): New function.
4671         (org-downcase-keep-props): New function.
4673         * org.el (org-scan-tags): Mark inherited tags with a text
4674         property.
4675         (org-get-tags-at): Mark inherited tags with a text property.
4676         (org-add-prop-inherited): New function.
4678         * org-agenda.el (org-agenda-add-inherited-tags): New function.
4679         (org-agenda-show-inherited-tags): New option.
4681 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
4683         * org.el (org-modules): Add org-w3m to the default modules.
4685         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
4686         orgtbl-mode.
4687         (orgtabl-create-or-convert-from-region): New command.
4689         * org-exp.el (org-export-as-ascii): Remove the handling of
4690         targets.
4691         (org-export-ascii-preprocess): Handle targets already in this
4692         function.
4694 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
4696         * org-timer.el (org-timer-start-time): Define this variable.
4697         (org-timer-item): Make argument optional.
4699         * org-list.el (org-insert-item): Automatically insert a timer item
4700         if the current list is a timer list.
4702         * org-timer.el: New file.
4704         * org-publish.el (org-publish-org-index): Only exclude the index
4705         file in the main directory from being added to the site-map.
4706         (org-publish-get-project-from-filename): If the current project is
4707         a component, start publishing from the parent project.
4709 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
4711         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
4713         * org-publish.el (org-publish-org-index): Improve removal of
4714         temporary buffers.
4716         * org-agenda.el (org-get-closed): Re-apply changes
4717         accidentially overwritten by last commit to Emacs.
4719         * org.el (org-outline-path-complete-in-steps): New option.
4720         (org-refile-get-location): Honor
4721         `org-outline-path-complete-in-steps'.
4722         (org-agenda-change-all-lines, org-tags-sparse-tree)
4723         (org-time-string-to-absolute, org-small-year-to-year)
4724         (org-link-escape): Re-apply changes accidentially overwritten
4725         by last commit to Emacs
4727 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4729         * org-clock.el (org-dblock-write:clocktable): Make sure the
4730         clocktable sees the first line.
4731         (org-clock-in): Warn if the clock cannot be resumed.
4733 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
4735         * org.el (org-open-at-point): Fix mixup about interactive and
4736         non-interactive elisp links.
4738 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4740         * org-exp.el (org-export-preprocess-string): Allow one comment
4741         line before the first headline to always be included.  This is
4742         to not miss a commented target.
4744         * org-mouse.el (org-mouse-insert-item): Call
4745         `org-indent-to-column' instead of `indent-to', for XEmacs
4746         compatibility.
4748         * org.el (org-refile-targets): Fix customize definition so
4749         that it works also in XEmacs.
4750         (org-fixup-indentation): Call `org-indent-to-column' instead
4751         of `indent-to', for XEmacs compatibility.
4753 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
4755         * org-mew.el (org-mew-store-link): Get the correct case folder
4756         for refiled messages.
4758 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4760         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
4761         line break indicators.
4763         * org.el (org-ido-completing-read): Remove the "i:" prefix for
4764         ido-completion propts.
4766 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4768         * org-remember.el (org-remember-apply-template): Use
4769         `org-substring-no-properties'.
4771         * org-compat.el (org-substring-no-properties): New function.
4773         * org-remember.el (org-remember-apply-template): Use
4774         `org-substring-no-properties' for compatibility.
4776         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
4777         option.
4778         (org-fix-bullet-type): respect
4779         `org-list-two-spaces-after-bullet-regexp'.
4781         * org-clock.el (org-clock-load): Clean up the code.
4783         * org.el (org-adaptive-fill-function): Allow two spaces after
4784         "1." as a list bullet.
4786 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
4788         * org-clock.el (org-clock-save, org-clock-load): Check for
4789         live buffers, existing files, and buffer file names to ensure
4790         consistent information.
4791         (org-clock-persist): Make `clock' a special value of this
4792         variable, and improve docstring.
4794         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
4795         (org-get-string-indentation): Adapt indentation when the bullet
4796         width changes.
4798 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
4800         * org-remember.el (org-remember-finalize): Make interactive.
4801         (org-remember-kill): New command.
4802         (org-remember-finish-immediately): Call `org-remember-finalize'
4803         directly.
4804         (org-remember-finalize): Make `org-remember-finalize' an interactive
4805         function.
4807 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
4809         * org-remember.el (org-remember-apply-template): No ido completion
4810         for free prompts in remember templates.
4811         (org-remember-before-finalize-hook): New hook.
4812         (org-remember-mode): New minor mode.
4813         (org-remember-apply-template): Turn on `org-remember-mode'.
4815         * org-id.el (org-id-add-location): Avoid error when no file is
4816         given.
4818         * org-remember.el (org-remember-apply-template): Fix the way how
4819         the list of allowed properties is retrieved from the target file.
4821         * org.el (org-insert-link): Improve file link matching.
4823 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
4825         * org-colview.el (org-columns-display-here): New argument
4826         DATELINE, to trigger using the new face.
4827         (org-agenda-colview-summarize): Call `org-columns-display-here'
4828         with the new argument.
4830         * org-faces.el (org-agenda-column-dateline): New face.
4832         * org-publish.el (org-publish-org-index): Use index-title at page
4833         title, not as section.
4835         * org-exp.el (org-export-html-format-desc): Respect the
4836         org-protect property.
4837         (org-export-as-html): Protect image specifiers that are in the
4838         description part of a link.
4840         * org.el (org-sort-entries-or-items, org-completing-read)
4841         (org-refile-get-location, org-olpath-completing-read, org-todo)
4842         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
4843         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
4844         (org-set-property, org-delete-property)
4845         (org-delete-property-globally): Use `org-ido-completing-read'.
4847         * org-remember.el (org-remember-apply-template): Use
4848         `org-ido-completing-read'.
4850         * org-publish.el (org-publish): Use `org-ido-completing-read'.
4852         * org-colview.el (org-columns-edit-value, org-columns-new)
4853         (org-insert-columns-dblock): Use `org-ido-completing-read'.
4855         * org-colview-xemacs.el (org-columns-edit-value)
4856         (org-columns-new, org-insert-columns-dblock): Use
4857         `org-ido-completing-read'.
4859         * org-attach.el (org-attach-delete-one, org-attach-open): Use
4860         `org-ido-completing-read'.
4862         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
4863         `org-ido-completing-read'.
4865         * org.el (org-time-today): New function.
4866         (org-matcher-time): Use `org-time-today'.  Add special treatment
4867         for "<tomorrow>" and "<yesterday>".
4868         (org-ido-completing-read): New function.
4869         (org-completion-use-ido): New option.
4871         * org-exp.el (org-export-format-source-code): Fix bug in require
4872         htmlize code.
4873         (org-export-target-internal-links): Fix bug in search for text
4874         property.
4876 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
4878         * org-export-latex.el (org-export-latex-subcontent): Interprete
4879         target aliases as additonal labels.
4881         * org-exp.el (org-export-target-aliases): New variable.
4882         (org-export-preprocess-string)
4883         (org-export-handle-invisible-targets): Fill the alias alist.
4884         (org-export-as-html): Remove the &nbsp; from the anchor, and also
4885         assign an id.
4886         (org-html-level-start): Insert the target aliases as additonal
4887         anchors.
4889         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
4890         picture area.
4892 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
4894         * org.el (org-open-at-mouse): Ensure correct link abbreviations
4895         when following a link with the mouse from the agenda.
4897         * org-exp.el (org-export-as-html): Avoid lone </div> when no
4898         headlines are created.
4900 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
4902         * org-exp.el (org-export-preprocess-string): Reorder so that we
4903         can still see ID properties when we collect targets.
4904         (org-export-target-internal-links): Also store targets for ID's.
4906         * org.el (org-link-translation-function): New option.
4907         (org-open-at-point): Call `org-link-translation-function' if
4908         non-nil.
4909         (org-translate-link): New function.
4910         (org-translate-link-from-planner): New function.
4911         (org-open-at-point): Allow interactive commands in elisp links.
4913         * org-exp.el (org-icalendar-cleanup-string): Restore the old
4914         iCalendar quoting.  The new one seems to caus problems with
4915         applications.
4917         * org.el (org-yank): Set `this-command' to `yank', so that
4918         `yank-pop' will work.
4920 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
4922         * org-id.el (org-id-search-archives): New option.
4924         * org.el (org-link-to-org-use-id): New option.
4925         (org-store-link): Use `org-link-to-org-use-id'.
4926         (org-id): Make org-id.el a standard component.
4928 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
4930         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
4931         hexified version of the tag.
4933         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
4934         compliance as far as quoting is concerned.
4936         * org-vm.el (org-vm-follow-link): Require `vm-search'.
4938         * org.el (org-up-heading-safe, org-forward-same-level): Always
4939         call `org-back-to-heading' instead of `outline-back-to-heading'.
4940         (org-back-to-heading): New wrapper around outline-back-to-heading,
4941         with a useful error message telling where the error happened.
4943         * org-list.el (org-update-checkbox-count): Always call
4944         `org-back-to-heading' instead of `outline-back-to-heading'.
4946         * org-exp.el (org-export-as-html): Make sure that each <img> tag
4947         has an `alt' attribute, to ensure XHTML validation.
4949 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4951         * org-publish.el (org-publish-attachment): Allow publishing to
4952         overwrite attachment files.
4954         * org-agenda.el (org-agenda-timerange-leaders): New option.
4955         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
4957         * org.el (org-edit-src-exit): Untabify ASCII image before
4958         returning.
4971 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
4973         * org.el (org-yank): Make any prefix force normal yanking.
4974         Suppress folding if text would be swallowed into a folded
4975         subtree.
4976         (org-yank-folded-subtrees, org-yank): Docstring updates.
4978         * org-agenda.el (org-agenda-compare-effort): Treat no effort
4979         defined as 0.
4981         * org-exp.el (org-export-language-setup): Add Catalan and
4982         Esperanto language entries.
4984 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
4986         * org.el (org-refile): Allow refiling of entire regions.
4988         * org-clock.el (org-clock-time%): New function.
4990         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
4991         retrieve property values.
4993 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
4995         * org-agenda.el (org-agenda-list): Handle the value `only' of
4996         org-agenda-show-log'.
4997         (org-agenda-log-mode): Interpret a double prefix arg.
4999 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5001         * org-exp.el (org-export-html-footnotes-section): New variable.
5002         (org-export-as-html): Use `org-export-html-footnotes-section' to
5003         insert the footnotes.
5004         (org-export-language-setup): Add "Footnotes" to language words.
5006 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5008         * org.el (org-yank): Fix bug when not inserting a subtree.
5010 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5012         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5013         instead of `vm-beginning-of-message'.
5015         * org.el (org-make-link-regexps): Make sure that links to gnus can
5016         contain brackets.
5018 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5020         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5021         code.
5023         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5024         shell output.
5026         * org.el (org-link-abbrev-alist): Improve customization type.
5028         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5029         functions.
5031         * org-agenda.el (org-agenda-get-progress): Renamed from
5032         `org-get-closed'.  Implement searching for state changes as well.
5033         (org-agenda-log-mode-items): New option.
5034         (org-agenda-log-mode): New option prefix argument, interpreted as
5035         request to show all possible progress info.
5036         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5037         `org-get-closed'.
5038         (org-agenda-set-mode-name): Handle the more complex log mode
5039         settings.
5040         (org-get-closed): New alias, pointing to `org-get-progress'.
5042 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5044         * org.el (org-file-apps-defaults-gnu)
5045         (org-file-apps-defaults-macosx)
5046         (org-file-apps-defaults-windowsnt): Add an entry defining the
5047         system command.
5048         (org-file-apps): Allow `system' as key and value.
5049         (org-open-at-point): Explain the effect of a double prefix arg.
5050         (org-open-file): If the argument `in-emacs' is (16),
5051         i.e. corresponding to a double prefix argument, try to open the
5052         file externally.
5054 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5056         * org.el (org-insert-link): Abbreviate absolute files names in
5057         links.  Also, fix a bug in which the double C-u prefix would not
5058         be honored.
5060 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5062         * org.el (org-insert-heading): If buffer does not end with a
5063         newline, add one if necessary to insert headline correctly.
5065         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5066         paragraphs, not inside.
5068         * org.el (org-todo): Quote
5069         `org-agenda-headline-snapshot-before-repeat'.
5071         * org-exp.el (org-export-as-html): Fully process link descriptions.
5072         (org-export-html-format-desc): New function.
5073         (org-export-as-html): Collect footnotes into the correct basket.
5074         (org-html-protect): No longer protect quotations marks here, this
5075         goes wrong.
5077         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5078         BEG.
5080         * org-compat.el (org-fit-window-to-buffer): New function (not
5081         really, a preliminary and incomplete version was present earlier,
5082         but not used).
5084         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5085         `org-fit-window-to-buffer'.
5087         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5089         * org-agenda.el (org-agenda-get-restriction-and-command)
5090         (org-fit-agenda-window, org-agenda-convert-date): Use
5091         `org-fit-window-to-buffer'.
5093         * org-exp.el (org-export-as-html): Process href links through
5094         `org-export-html-format-href'.
5095         (org-export-html-format-href): New function.
5097         * org-agenda.el (org-agenda-todo): Update only the current
5098         headline if this is a repeated TODO, marked done for today.
5099         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5100         only the current line.
5102         * org.el (org-todo): Take a snapshot of the headline if the
5103         repeater might change it.
5105 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5107         * org-publish.el (org-publish-find-title): Remove buffers visited
5108         only for extracting the title.
5110         * org-exp.el (org-export-html-style)
5111         (org-export-html-style-default): Mark style definitions as
5112         unparsed CDATA.
5114         * org-publish.el (org-publish-validate-link): Function
5115         re-introduced.
5117 2008-11-02  Charles Sebold  <csebold@gmail.com>
5119         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5120         property.
5121         (org-plot-quote-timestamp-field): New function.
5122         (org-plot-quote-tsv-field): Call timestamp field function when
5123         necessary rather than just quoting as a string.
5124         (org-plot/gnuplot-to-data): Pass in timefmt property.
5125         (org-plot/gnuplot-script): Supports timefmt property.
5126         (org-plot/gnuplot): Checks for timestamp column before checking
5127         for text index column.
5129 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5131         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5133         * org-publish.el (org-publish-org-index): Create a section in the
5134         index file.
5135         (org-publish-org-index): Stop linking to directories.
5137         * org.el (org-emphasis-alist): Use span instead of <u> to
5138         underline text.
5140         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5141         <pre> sections.
5143 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5145         * org-jsinfo.el (org-infojs-template): Remove language attribute
5146         from script tag.
5148 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5150         * org-agenda.el (org-agenda-remove-marked-text): New function.
5151         (org-agenda-mark-filtered-text)
5152         (org-agenda-unmark-filtered-text): New functions.
5153         (org-write-agenda): Remove fltered text.
5155         * org.el (org-make-tags-matcher): Give access to TODO "property"
5156         without speed penalty.
5158 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
5160         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5161         option.
5162         (org-store-link-props): Make sure adding to the plist works
5163         correctly.
5165         * org-gnus.el (org-gnus-no-new-news): New function.
5166         (org-gnus-follow-link): Allow the article ID to be a message-id,
5167         in addition to allowing article numbers.  Message IDs make much
5168         more roubust links.
5169         (org-gnus-store-link): Use message-id to create link.
5171 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
5173         * org.el (org-emphasize): Reverse the selection array.
5174         (org-emphasis-alist): Set <code> tags for the verbatim
5175         environment.
5177         * org-remember.el (org-remember-handler): Fix bug with
5178         prefix-related changing of the note storage target.
5180         * org-exp.el (org-print-icalendar-entries): Make the exported
5181         priorities compatible with RFC 2445.
5183         * org-clock.el (org-clock-save): Insert time stamp without
5184         dependence on time-stamp.el.
5186 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
5188         * org.el ("saveplace"): If saveplace puts point into an invisible
5189         location, make it visible.
5190         (org-make-tags-matcher): Allow inactive time stamps in time
5191         comparisons.
5192         (org-yank-adjusted-subtrees): New option.
5193         (org-yank): Incorporate adjusting trees.
5194         (org-paste-subtree): New argument FOR-YANK which will cause
5195         insertion at point without backing up over white lines, and leave
5196         point at the end of the inserted text.  Also if the cursor is
5197         at the beginning of a headline, use the same level or the inserted
5198         tree.
5200         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5201         with broken symlinks
5203 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5205         * org-exp.el (org-export-select-tags, org-get-current-options):
5206         Fix typo.
5208 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
5210         * org-agenda.el (org-format-agenda-item)
5211         (org-agenda-filter-make-matcher): Make sure tags are stored and
5212         compared donwcased.
5214 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
5216         * org.el (org-insert-todo-heading): Fix bug with force-heading
5217         argument.
5219 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
5221         * org-clock.el (org-clock-in-resume): Add a custom option to
5222         toggle starting the clock from an open clock line.
5223         (org-clock-in): When clocking in to an entry, if
5224         `org-clock-in-resume' is set, check if the first clock line is
5225         open and if so, start the clock from the time in the clock line.
5226         (org-clock-persist): Add a custom option to toggle clock
5227         persistence.
5228         (org-clock-persist-query-save): Add a custom option to toggle
5229         asking the user if they want to save the running clock when
5230         exiting.
5231         (org-clock-persist-query-resume): Add a custom option to toggle
5232         asking the user if they want to resume the saved clock when Emacs
5233         is restarted.
5234         (org-clock-save): Add a function to save clock data.
5235         This includes the contents of `org-clock-history' and the buffer
5236         and position of the currently clocked task, if any.
5237         (org-clock-load): Add a function to load clock data.
5238         This populates `org-clock-history', and resumes the saved clocked
5239         task if there is one.
5240         (org-clock-persistence-insinuate): Add a method to set up the
5241         hooks for clock persistence.
5243 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
5245         * org-exp.el (org-export-as-ascii): Handle the case that we are
5246         publishing from an indirect buffer.
5248         * org-table.el (org-table-copy-down): Fix bug with time stamp
5249         increment.
5251         * org-mouse.el (org-mouse-features): New option.
5252         (org-mode-hook): Turn on features depending on
5253         `org-mouse-features'.
5255         * org.el (org-insert-heading-respect-content): Force heading
5256         creation.
5257         (org-insert-heading): keep the folding state of the heading before
5258         the inserted one.
5260 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5262         * org-archive.el (org-archive-to-archive-sibling): Handle top
5263         level headlines better.
5265 2008-10-21  Bastien Guerry  <bzg@altern.org>
5267         * org-export-latex.el (org-export-latex-classes): Added
5268         \usepackage{graphicx} to the default list of packages.
5270 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5272         * org-agenda.el (org-agenda-filter): Renamed from
5273         `org-agenda-filter-tags'.
5275 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
5277         * org.el (org-entry-properties): Add CATEGORY property, iven if it
5278         is not defined as a property in this entry.
5279         (org-add-log-note): Mask prefix argument when immediately storing
5280         the note.
5282         * org-agenda.el (org-agenda-filter-effort-default-operator): New
5283         option.
5285 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
5287         * org.el (org-add-log-setup): Bugfix; code to find insertion point
5288         after drawers was skipping ahead one line too many, so notes were
5289         inserted after the first note instead of before it.
5291 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
5293         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5294         New variables.
5295         (org-prepare-agenda): Reset the filter tags.
5296         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5297         Show filter tags in mode line.
5299         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5300         formatter.
5302         * org-export-latex.el (org-latex-entities-regexp): New constant.
5303         (org-export-as-pdf): Use two calls to `shell-command'.
5305 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
5307         * org-export-latex.el (org-export-latex-treat-sub-super-char):
5308         Honor the {} value of the subsuperscript setting.  Make sure that
5309         longer subsuperscripts are typeset in a roman font.
5311         * org.el (org-clock-update-time-maybe): Compute negative clock
5312         intervals correctly.
5314 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
5316         * org.el (org-add-log-setup): Respect
5317         `org-log-state-notes-insert-after-drawers'.
5318         (org-log-state-notes-insert-after-drawers): New option.
5319         (org-todo-trigger-tag-changes): New function.
5320         (org-todo): Call `org-todo-trigger-tag-changes'.
5322 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
5324         * org.el (org-add-log-setup): Only skip drawers if the are
5325         immediately after the scheduling keywords.
5327         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5328         function
5329         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5330         call it with the current todo state to get the state to switch to
5331         when clocking in.
5332         (org-clock-in): Use org-indent-line-function to indent clock lines.
5333         (org-clock-find-position): Fix indentation of empty clock drawers.
5335 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
5337         * org-publish.el (org-publish-org-to): Handle case when
5338         org-export-to-pdf does return a file name, not a buffer.
5339         (org-publish-org-to-pdf): New function.
5341         * org-export-latex.el (org-export-as-pdf)
5342         (org-export-as-pdf-and-open): New commands.
5344         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5345         forms as ranges.
5347         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5348         things in protexted regions.
5350 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
5352         * org-export-latex.el (org-export-latex-preprocess): Improve
5353         quoting of LaTeX environments.
5355 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
5357         * org.el (org-edit-fixed-width-region): Exclude final newline from
5358         picture area.
5360         * org-export-latex.el (org-export-latex-subcontent): Add labels to
5361         sections, to make internal links work.
5362         (org-export-latex-fontify-headline): Do not remove all text
5363         properties, to make sure that target properties survive this
5364         process.
5366         * org-exp.el (org-export-preprocess-string): Change sequence of
5367         modifications, to make sure links are prepared before the LaTeX
5368         conversions do happen.
5370 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
5372         * org-attach.el (org-attach-delete-all): Renamed from
5373         `org-attch-delete'.  Add a security query before deleting the
5374         entire directory.  New optional argument FORCE can overrule the
5375         security query.
5376         (org-attach-delete-one): New command.
5378 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
5380         * org-attach.el (org-attach-file-list): Fix bug with directory.
5382 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
5384         * org.el (org-apps-regexp-alist): New function.
5385         (org-file-apps): Add auto-mode to the default value.
5386         (org-open-file): Use the new structure of org-file-apps.
5388         * org-attach.el (org-attach): Support the new keys.
5389         (org-attach-method): New option.
5391 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
5393         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5394         March.
5396         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5397         of the list value o `org-use-tag-inheritance'.
5399         * org-attach.el (org-attach-auto-tag): New option.
5400         (org-attach-tag, org-attach-untag): New functions.
5401         (org-attach-attach, org-attach-new, org-attach-sync): Call
5402         `org-attach-tag'.
5403         (org-attach-delete): Call `org-attach-untag'.
5405 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
5407         * org-table.el (orgtbl-self-insert-command): Make this work for
5408         the keypad as well.
5410 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
5412         * org.el (org-add-log-setup): Limit searc for drawers to entry
5413         text, not to subtree.
5415         * org-clock.el (org-clock-heading-for-remember): New variable.
5416         (org-clock-in): Set `org-clock-heading-for-remember'.
5418 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
5420         * org-remember.el (org-remember-apply-template): Add new
5421         expansions: %k, %K for currently clocked task and a link to the
5422         currently clocked task, and %< to file notes in the currently
5423         clocked task.
5425 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
5427         * org-export-latex.el (org-export-latex-make-header): Also insert
5428         the content of the property :latex-header-extra.
5430         * org-exp.el (org-infile-export-plist): Put the content of
5431         #+LATEX_HEADER: into the property :latex-header-extra.
5433         * org-colview.el (org-columns-get-format-and-top-level): Remove
5434         resetting the marker.
5436         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5437         Remove resetting the marker.
5439         * org.el (org-entry-property-inherited-from): Improve docstring.
5440         (org-entry-get-with-inheritance): Reset marker before starting the
5441         search.
5443         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5445 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
5447         * org.el (org-entry-get-multivalued-property)
5448         (org-entry-protect-space, org-entry-restore-space): New
5449         functions.
5450         (org-file-apps-defaults-macosx): Let postscript files be opened by
5451         preview.
5452         (org-time-stamp-inactive): Call `org-time-stamp'.
5453         (org-time-stamp): New argument `inactive'.  Also edit inacive
5454         stamps. Convert time stamp type.
5455         (org-open-file): Interpret the `default' value for the `command'
5456         in `org-file-apps'.
5458         * org-id.el (org-id-int-to-b36-one-digit)
5459         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5460         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
5461         b36.
5463 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
5465         * org-id.el (org-id-reverse-string): New function.
5466         (org-id-new): Use `org-id-reverse-string' to make sure the
5467         beginning chars of the ID are mutating fast.  This allows to use a
5468         directory structure to spread things better.
5469         (org-id-prefix): Changed default to nil.
5471         * org-list.el (org-move-item-down, org-move-item-up): Remember and
5472         restore the column of the cursor position.
5474         * org-remember.el (org-remember-apply-template): Remove properties
5475         from `initial'.
5477 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
5479         * org-wl.el (org-wl-open): Remove useless call to
5480         `wl-thread-open-all'.
5482         * org-remember.el (org-remember-handler): Fix bug with `bottom'
5483         location.
5485 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
5487         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5488         `org-bbdb-anniversaries'.
5490         * org.el (org-get-next-sibling, org-forward-same-level): New
5491         functions, similar to the outline versions, but invisible headings
5492         are OK.
5494 2008-09-25  Bastien Guerry  <bzg@altern.org>
5496         * org.el (org-auto-repeat-maybe): Insert a space between
5497         the timestamp's type and the timestamp itself.
5499 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
5501         * org-table.el (org-table-sum): Do not format the result with %g,
5502         it does rounding when there are too many digits.
5504         * org.el (org-map-entries): Protect the keyword-selecting variables.
5506 2008-09-23  Bastien Guerry  <bzg@altern.org>
5508         * org-agenda.el (org-agenda-to-appt): Make sure the function check
5509         against all agenda files.
5511 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
5513         * org-list.el: New file, aggregating list functions from org.el
5514         and org-export-latex.el.
5516         * org.el (org-edit-src-region-extra): New option.
5518 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
5520         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5521         time before 1am.
5523 2008-09-22  Bastien Guerry  <bzg@altern.org>
5525         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5527 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
5529         * org-plot.el (org-plot/gnuplot): Make tables starting with a
5530         hline work correctly.
5531         (org-plot/gnuplot-script): Put commas at the end of each script
5532         line.
5534 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
5536         * org.el (org-get-refile-targets): Replace links with their
5537         descriptions
5538         (org-imenu-get-tree): Replace links with their descriptions.
5540         * org-remember.el (org-remember-apply-template): Add a new
5541         expansion for adding properties to remember items.
5543         * org.el (org-add-log-setup): Skip over drawers (properties,
5544         clocks etc) when adding notes.
5546         * org-agenda.el (org-agenda-get-closed): show durations of clocked
5547         items as well as the start and end times.
5549         * org-compat.el (org-get-x-clipboard-compat): Add a compat
5550         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
5552         * org-remember.el (org-get-x-clipboard): Use the compat
5553         function to get clipboard values when x-selection-value is
5554         unavailable. Use substring-no-properties instead of
5555         set-text-properties to remove text properties from the clipboard
5556         value.
5558         * lisp/org-clock.el (org-update-mode-line): Support limiting the
5559         modeline clock string, and display the full todo value in the
5560         tooltip. Set a local keymap so mouse-3 on the clock string goes to
5561         the currently clocked task.
5562         (org-clock-string-limit): Add a custom value for the maximum
5563         length of the clock string in the modeline.
5564         (org-clock-mode-map): Add a keymap for the modeline string
5566 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
5568         * org-compat.el (org-propertize): New function.
5570 2008-09-20  Bastien Guerry  <bzg@altern.org>
5572         * org-export-latex.el (org-export-latex-tables): protect exported
5573         tables from further special chars conversion.
5574         (org-export-latex-preprocess): Preserve LaTeX environments.
5575         (org-list-parse-list): Parse descriptive lists.
5576         (org-list-to-generic, org-list-to-latex, org-list-to-html)
5577         (org-list-to-texinfo): Export descriptive lists.
5578         (org-quote-chars): Remove.
5579         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
5580         (org-export-latex-list-beginning-re): Rename to
5581         `org-list-beginning-re'
5582         (org-list-item-begin): Rename to `org-list-item-beginning'
5584 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
5586         * org.el (org-refile): Allow refiling to the last entry in the
5587         buffer.
5588         (org-get-tags-at): Fix bug when inheritance is turned off.
5590 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
5592         * org.el (org-indent-line-function): No longer check for src
5593         regions, this is too much overhead.
5595         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
5596         matching.
5598         * org.el (org-scan-tags): Make sure that tags matching is not case
5599         sensitive.  TODO keyword matching is case sensitive, however, to
5600         avoid confusion with similar words that are not meant to be
5601         keywords.
5603 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
5605         * org.el (org-get-local-tags-at): New function.
5606         (org-get-local-tags): New function.
5608         * org-exp.el (org-export-get-categories): New function.
5610         * org-agenda.el (org-sorting-choice)
5611         (org-agenda-sorting-strategy, org-agenda-get-todos)
5612         (org-agenda-get-timestamps, org-agenda-get-deadlines)
5613         (org-agenda-get-scheduled, org-agenda-get-blocks)
5614         (org-entries-lessp): Implement sorting by TODO state.
5615         (org-cmp-todo-state): New defsubst.
5617         * org-colview.el (org-colview-construct-allowed-dates): New
5618         function.
5619         (org-columns-next-allowed-value): Use
5620         `org-colview-construct-allowed-dates'.
5622         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
5623         function.
5624         (org-columns-next-allowed-value): Use
5625         `org-colview-construct-allowed-dates'.
5627 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
5629         * org.el (org-protect-slash): New function.
5630         (org-get-refile-targets): Use `org-protect-slash'.
5632         * org-agenda.el (org-global-tags-completion-table): New variable.
5634         * org-exp.el (org-export-handle-export-tags): New function.
5635         (org-export-preprocess-string): Call
5636         `org-export-handle-export-tags'.
5638         * org-plot.el: New file.
5640         * org-publish.el (org-publish-expand-components): Function removed.
5641         (org-publish-expand-projects): Allow components to have components.
5643 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
5645         * org.el (org-indent-line-function): Do not indent in regions that
5646         are external source code.
5647         (org-yank-and-fold-if-subtree): New function.
5649         * org-agenda.el (org-agenda-todayp): New function.
5650         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
5651         `org-agenda-todayp'.
5653         * org.el (org-insert-heading-respect-content)
5654         (org-insert-todo-heading-respect-content): New commands.
5655         (org-insert-heading-respect-content): New option.
5656         (org-insert-heading): Respect `org-insert-heading-respect-content'.
5658         * org-clock.el (org-clock-find-position): Make sure the note after
5659         the clock line gets moved into the new clock drawer.
5661 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
5663         * org-id.el (org-id-new): New option.
5665 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
5667         * org-table.el (org-table-copy-down): Avoid overflow during
5668         increment.  Use prefix argument 0 to temporarily disable the
5669         increment.
5671 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
5673         * org-exp.el (org-export-as-html): Do not turn on the major mode
5674         if the buffer will be killed anyway.
5675         (org-get-current-options): Exclude the #+TEXT field.
5676         (org-export-as-html): Make sure text before the first headline is
5677         a paragraph.
5679         * org-publish.el (org-publish-org-to): Tell the exporter that this
5680         buffer will be killed, so it is not necessary to do major mode
5681         initialization.
5683         * org-archive.el (org-archive-to-archive-sibling): Show empty
5684         lines after folding the archive sibling.
5686         * org.el (org-log-note-extra): New variable.
5688 2008-09-05  Bastien Guerry  <bzg@altern.org>
5690         * org.el (org-additional-option-like-keywords): Added keywords for
5691         the _QUOTE, _VERSE and _SRC environments.
5693         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
5694         exporting _QUOTE and _VERSE environments.
5696 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
5698         * org-agenda.el (org-agenda-filter-by-tag): New command.
5700         * org-exp.el (org-get-current-options): Remove angular brackets
5701         from the date entry.
5703         * org.el (org-edit-fixed-width-region): New function.
5704         (org-edit-fixed-width-region): Also try
5705         `org-edit-fixed-width-region'.
5706         (org-edit-fixed-width-region-mode): New option.
5707         (org-activate-code): Only interprete lines starting with colon
5708         plus a space as example lines.
5710         * org-remember.el (org-remember-templates): Add nil instead of
5711         empty strings to fix the length of remember templates.
5713         * org-table.el (org-calc-default-modes): Fix the time format for
5714         calc, from 12 hour to 24 hour clock.
5716 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
5718         * org-agenda.el (org-agenda-get-deadlines)
5719         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
5720         entries that are pre-warnings of deadlines or reminders.
5722         * org.el (org-sort-entries-or-items): Make numeric and alpha
5723         comparisons ignore any TODO keyword and priority cookie.
5725         * org-remember.el (org-remember-handler): Reinterpretation of the
5726         prefix argument.
5728 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
5730         * org-agenda.el (org-agenda-get-scheduled): Use new
5731         `org-scheduled' face.
5733         * org-faces.el (org-scheduled): New face.
5735         * org-wl.el (org-wl-open): Remove incorrect declaration.
5737         * org-gnus.el (org-gnus-store-link): Support for :to information
5738         in gnus links.
5740         * org-exp.el (org-export-as-html): Fixed typo in creator
5741         information.
5742         (org-export-protect-examples): New parameter indent.  Insert extra
5743         spaces only when this parameter is specified.
5744         (org-export-preprocess-string): Call `org-export-protect-examples'
5745         with an indentation parameter when exporting to ASCII.
5747         * org-remember.el (org-remember-templates)
5748         (org-remember-apply-template): Allow the file component to be a
5749         function.
5751         * org.el (org-goto-local-search-headings): Renamed from
5752         `org-goto-local-search-forward-headings'.  Added the possibility
5753         to search backwards.
5755 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
5757         * org-export-latex.el (org-export-latex): New customization
5758         group.
5760         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
5762 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
5764         * org-exp.el (org-html-do-expand): Allow {} to terminate
5765         tex macro
5767 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
5769         * org.el (org-buffer-list): Select buffers based on major mode,
5770         not on file name.
5772 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
5774         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
5775         face property.
5777         * org-colview.el (org-columns-display-here): Use
5778         `org-columns-modify-value-for-display-function'.
5780         * org-colview-xemacs.el (org-columns-display-here): Use
5781         `org-columns-modify-value-for-display-function'.
5783 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
5785         * org.el (org-columns-modify-value-for-display-function): New option.
5797         * org-publish.el (org-publish-file): Make sure the directory match
5798         for the publishing directory works correctly.
5800         * org-agenda.el (org-agenda-execute-calendar-command)
5801         (org-agenda-diary-entry): Additional optional argument.
5803 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
5805         * org-exp.el (org-export-as-html): Add attributes also in mailto
5806         and ftp links.
5808         * org.el (org-autoload): Add `org-dblock-write:columnview'.
5817 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
5819         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
5820         sure that calls from `org-export-region-as-html' do not do the
5821         special check for a subtree.
5823 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
5825         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
5827 2008-07-20  Juri Linkov  <juri@jurta.org>
5829         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
5830         new keymap `narrow-map' instead of binding "\C-xns".
5832 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
5834         * org.el (org-open-file): Use
5835         `org-open-directory-means-index-dot-org'.
5836         (org-open-directory-means-index-dot-org): New option.
5838 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
5840         * org.el (org-make-link-string): Remove link attributes from
5841         description.
5842         (org-open-at-point): Remove link attributes bevore using the path.
5844         * org-exp.el (org-export-as-html): Handle link attributes.
5846         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
5848         * org-table.el (org-table-to-lisp): New function.
5850         * org.el (org-narrow-to-subtree): Do not include the final newline
5851         into the narrowed region.
5853         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
5854         bug with user-define skipping condition.
5856 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
5858         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
5860 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
5862         * org-exp.el (org-export-html-style-default): Automatic overflow
5863         handling for pre fields.
5864         (org-export-as-ascii, org-export-as-html): Change default format
5865         for time stamp.
5867         * org-table.el (org-table-export): Offer completion for translator
5868         functions, and do not require a heading above the table.
5870         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
5871         Cater for the case of a list starting in the first line of the
5872         buffer.
5874 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
5876         * org-publish.el (org-publish-find-title): Bug fix.
5877         (org-publish-org-index): Implement new :index-style option.
5879 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
5881         * org-publish.el (org-publish-timestamp-filename): Use
5882         SHA1-encoded file names in the timestamp directory.
5884 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
5886         * org-publish.el (org-publish-needed-p): Be verbose about files
5887         published and files skipped.
5889         * org-exp.el (org-export-preprocess-string): Swap link
5890         normalization and inernal link targeting.
5892         * org-publish.el (org-publish-needed-p): Create timestamp
5893         directory when it does not exist.
5895 2008-07-04  Bastien Guerry  <bzg@altern.org>
5897         * org-clock.el (org-clock-out-when-done): Doc fix.
5899         * org.el (org-agenda-skip-unavailable-files): Doc fix.
5901         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
5902         Ignore case when searching for the COMMENT cookie at export time.
5904 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
5906         * org-exp.el (org-get-file-contents)
5907         (org-get-and-remove-property): New functions.
5908         (org-export-handle-include-files): Handle the new prefix options.
5909         (org-export-as-html): Fix the verse environment.
5911 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
5913         * org.el (org-time=, org-time<, org-time<=, org-time>)
5914         (org-time>=, org-time<>, org-2ft): New functions.
5915         (org-op-to-function): Also provide for the time testing fucntions.
5917 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
5919         * org-exp.el (org-export-html-style-default): New constant.
5921 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
5923         * org-exp.el (org-export-html-style-extra): New variable.
5924         (org-export-splice-style): New function.
5926 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
5928         * org-exp.el (org-export-plist-vars, org-export-as-html):
5929         Implement `org-export-creator-info'.
5930         (org-export-creator-info): New option.
5932 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
5934         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
5935         (org-property-drawer-re, org-clock-drawer-re): New constants.
5937 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
5939         * org-exp.el (org-icalendar-use-deadline)
5940         (org-icalendar-use-scheduled): New options.
5941         (org-icalendar-include-todo): Default changed to t.
5942         (org-print-icalendar-entries): Implement better utilization of
5943         scheduling and deadline time stamps.
5944         (org-export-target-internal-links, org-export-as-html): Allow file
5945         lines without the "file:" prefix if the file path is an absolute
5946         path or starts with ".".
5948         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
5949         lastweek etc.
5950         (org-clock-special-range): Also undertand yesterday, lastweek etc.
5952 2008-06-18  Glenn Morris  <rgm@gnu.org>
5953         * org.el (org-map-entries): Let-bind `file'.
5955 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
5957         * org.el (org-agenda-skip-archived-trees): Docstring now
5958         discourages using this.
5959         (org-scan-tags): Check for org-agenda-archives-mode.
5960         (org-map-entries): Make sure org-agenda-archives-mode is nil.
5961         (org-agenda-files): Functionality of second arg changed.
5963         * org-agenda.el (org-agenda-archives-mode): New variable
5964         (org-write-agenda, org-prepare-agenda, org-agenda-list)
5965         (org-search-view, org-todo-list, org-tags-view)
5966         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
5967         `ifmode' argument.
5968         (org-agenda-quit): Reset the archives mode.
5969         (org-agenda-archives-mode): New command.
5970         (org-agenda-set-mode-name): Include archives info.
5972 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
5974         * org.el (org-paste-subtree): Make sure the yanked headline is
5975         visible if it was yanked at a visible point.
5976         (org-move-item-up): Fix the bug with moving white space at the end
5977         of the item.
5978         (org-show-empty-lines-in-parent): New function.
5980 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
5982         * org-colview.el (org-columns-next-allowed-value): Bug fix.
5984         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
5986         * org-agenda.el (org-agenda-get-closed): Get the end time into the
5987         agenda prefix as well.
5989         * org-publish.el (org-publish-org-index): Make a properly indented
5990         list.
5992         * org.el (org-calendar-agenda-action-key): New option.
5993         (org-get-cursor-date): New function.
5994         (org-mark-entry-for-agenda-action): New command.
5995         (org-overriding-default-time): New variable.
5996         (org-read-date): Respect `org-overriding-default-time'.
5998         * org-remember.el (org-remember-apply-template): Respect the
5999         ovverriding default time.
6001         * org-agenda.el (org-agenda-action-marker): New variable.
6002         (org-agenda-action): New command.
6003         (org-agenda-do-action): New function.
6005 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6007         * org.el (org-schedule, org-deadline): Protect scheduled and
6008         deadline tasks against changes that accidently remove the
6009         repeater.  Also show a message with the new date when done.
6011 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6013         * org.el (org-beginning-of-line): Cater for the case when there
6014         are tags but no headline text.
6015         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6016         it set.
6018 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6020         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6021         the return value is nil instead of "nil" when there is no match.
6023         * org-exp.el (org-insert-centered): Use fill-column instead of
6024         80.
6025         (org-export-as-ascii): Use string-width to measure the width of
6026         the heading.
6028         * org.el (org-diary-to-ical-string): No longer kill buffer
6029         FROMBUF, this is now done by the caller.
6031         * org-exp.el (org-print-icalendar-entries): Move the call to
6032         `org-diary-to-ical-string' out of the loop, and kill the buffer
6033         afterwords.
6035         * org-remember.el (org-remember-visit-immediately): Position
6036         cursor after moving to the note.
6037         (org-remember-apply-template): Use a text property to record the
6038         cursor position.
6039         (org-remember-handler): Align tags after pasting the note.
6041 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6043         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6045         * org-agenda.el (org-agenda-open-link): If there is an
6046         org-bbdb-name property in the current line, jump to that bbdb
6047         entry.
6049         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6050         text property, so that the agenda knows where this entry comes
6051         from.
6053         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6054         interaction between clocking-in from the agenda, and  automatic
6055         task state switching.
6057         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6059         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6060         zmacs-region stays after this command in XEmacs.
6062 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6064         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6066         * org-remember.el (org-remember-templates): Fix bug in
6067         customization type definition.
6069         * org.el (org-map-entries): New function.
6071 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6073         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6074         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6076 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6078         * org-remember.el (org-jump-to-target-location): New variable.
6079         (org-remember-apply-template): Set
6080         `org-remember-apply-template' if requested by template.
6081         (org-remember-handler): Start an idle timer to jump to
6082         remember location.
6084         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6086         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6087         file tags.
6088         (org-get-tags-at): Add the content of `org-file-tags'.
6090         * org-exp.el (org-export-handle-comments): Fix bug with several
6091         comment lines after each other.
6092         (org-number-to-roman, org-number-to-counter): New functions.
6093         (org-export-section-number-format): New option.
6095 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6097         * org-exp.el (org-export-protect-examples): Catch the case of a
6098         missing end_example line.
6100         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6101         `org-file-tags' to nil.
6103         * org-colview.el (org-columns-next-allowed-value): Handle next
6104         argument NTH to directly select a value.
6106         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6107         argument NTH to directly select a value.
6109 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6111         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6113 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6115         * org.el (org-columns-ellipses): New option.
6117 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6119         * org-colview.el (org-columns-add-ellipses): New function.
6120         (org-columns-compact-links): New function.
6121         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6122         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6123         when in agenda.
6124         (org-columns-edit-value): Fixed bug with editing values from
6125         agenda column view.
6126         (org-columns-redo): Also redo the agenda itself.
6128 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6130         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6131         option.
6133         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6135         * org-exp.el (org-export-ascii-preprocess): Renamed from
6136         `org-export-ascii-clean-string'.
6137         (org-export-kill-licensed-text)
6138         (org-export-define-heading-targets)
6139         (org-export-handle-invisible-targets)
6140         (org-export-target-internal-links)
6141         (org-export-remove-or-extract-drawers)
6142         (org-export-remove-archived-trees)
6143         (org-export-protect-quoted-subtrees)
6144         (org-export-protect-verbatim, org-export-protect-examples)
6145         (org-export-select-backend-specific-text)
6146         (org-export-mark-blockquote-and-verse)
6147         (org-export-remove-comment-blocks-and-subtrees)
6148         (org-export-handle-comments, org-export-mark-radio-links)
6149         (org-export-remove-special-table-lines)
6150         (org-export-normalize-links)
6151         (org-export-concatenate-multiline-links)
6152         (org-export-concatenate-multiline-emphasis): New functions,
6153         obtained from spliiting the export preprocessor.
6155         * org-table.el (org-table-recalculate): Improve error message if
6156         the row number is invalid.
6158 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
6160         * org-archive.el (org-archive-save-context-info): Fix bugs in
6161         customization setup and docstring.
6163         * org-exp.el (org-export-html-style): Changed the size of in the
6164         <pre> element to 90%.
6166 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
6168         * org.el (org-find-src-example-start): Function removed.
6169         (org-edit-src-find-region-and-lang): New function.
6171 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
6173         * org.el (org-edit-src-exit): New function.
6174         (org-exit-edit-mode): New minor mode.
6176         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6177         comment-like lines from protected examples.
6179         * org.el (org-edit-src-example, org-find-src-example-start)
6180         (org-protect-source-example, org-edit-special): New functions.
6182 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
6184         * org-publish.el (org-publish-project-alist): Fix typo in
6185         docstring.
6186         (org-publish-project-alist): Handle :index-title property.
6188 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
6190         * org-export-latex.el (org-export-as-latex): Make sure region
6191         bounds are correct.  Parse subtree properties relating to export.
6193         * org-exp.el (org-export-add-options-to-plist): New function.
6194         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6196 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
6198         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6199         EXPORT_TITLE.
6201         * org-exp.el (org-export-get-title-from-subtree)
6202         (org-export-as-ascii, org-export-as-html): Make sure the original
6203         region-beginning and region-end are used, even after moving
6204         point.
6205         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6206         property.
6208         * org-remember.el (org-remember-last-stored-marker): New variable.
6209         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6210         (org-remember-handler): Also use marker to remember
6211         last-stored position.
6213         * org.el (org-goto-marker-or-bmk): New function.
6215 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
6217         * org.el (org-file-properties): Renamed from `org-local-properties'.
6218         (org-scan-tags): Take file tags into account.
6219         (org-tags-match-list-sublevels): Default changed to t.
6221         * org-exp.el (org-export-as-html): Close paragraph after a
6222         footnote.
6224         * org.el (org-update-parent-todo-statistics): New function.
6226         * org-exp.el (org-icalendar-store-UID): New option.
6227         (org-icalendar-force-UID): Option removed.
6228         (org-print-icalendar-entries): IMplement UIDs.
6230 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
6232         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6234 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
6236         * org-faces.el (org-column): Document how this face is being used
6237         and why sometimes the background faces shine through.
6239         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6241         * org-publish.el (org-publish-attachment): Create publishing
6242         directory if it does not yet exist.
6244         * org-table.el (org-calc-default-modes): Change default number
6245         format to (float 8).
6247         * org.el (org-olpath-completing-read): New function.
6248         (org-time-clocksum-format): New option.
6249         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6251         * org-clock.el (org-clock-display, org-clock-out)
6252         (org-update-mode-line): Use `org-time-clocksum-format'.
6254         * org-colview-xemacs.el (org-columns-number-to-string): Use
6255         `org-time-clocksum-format'.
6257         * org-colview.el (org-columns-number-to-string): Use
6258         `org-time-clocksum-format'.
6260 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
6262         * org-id.el: New file, move from contrib to core.
6264         * org-exp.el (org-icalendar-force-UID): New option.
6266 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
6268         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6269         shifted by one day if theere is a date range without an end
6270         time.
6272         * org.el (org-try-structure-completion): New function.
6274 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
6276         * org.el (org-set-font-lock-defaults): Improve fontification of
6277         description lists.
6278         (org-insert-item): Handle description lists.
6279         (org-adaptive-fill-function): Improve auto indentation in
6280         description lists.
6282         * org-exp.el (org-export-as-html, org-export-preprocess-string):
6283         Implement VERSE environment.
6284         (org-export-preprocess-string): Implement the COMMENT
6285         environment.
6287         * org-export-latex.el (org-export-latex-preprocess): Implement
6288         VERSE environment.
6290 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
6292         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6293         option.
6295 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
6297         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6299         * org.el (org-quote-csv-field): New functions.
6301         * org-table.el (org-table-export-default-format): Remove :splice
6302         from default format, we get the same effect by not specifying
6303         :tstart and :tend.
6304         (org-table-export): Improve setup, distinguish better between
6305         interactive and non-interactive use, allow specifying the format
6306         on the fly, better protection against wrong file names.
6307         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
6308         and :tend when :splice is omitted.
6310 2008-05-09  Bernt Hansen  <bernt@norang.ca>
6312         * org-clock.el (org-clock-select-task): Make sure the selection
6313         letters are 1-9 and A-Z, no special characters.
6315 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
6317         * org-exp.el (org-export-htmlize): New group.
6318         (org-export-htmlize-output-type)
6319         (org-export-htmlize-css-font-prefix): New options.
6320         (org-export-htmlize-region-for-paste): New function.
6321         (org-export-htmlize-generate-css): New command.
6323 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
6325         * org/org.el (org-modules, org-format-latex-options):
6326         * org/org-archive.el (org-archive-stamp-time)
6327         (org-archive-save-context-info):
6328         * org/org-faces.el (org-hide):
6329         * org/org-irc.el (org-irc-parse-link):
6330         * org/org-macs.el (org-call-with-arg, org-autoload):
6331         * org/org-mew.el (org-mew-store-link):
6332         * org/org-remember.el (org-remember-store-without-prompt)
6333         (org-remember-templates): Fix typos in docstrings.
6335         * org/org-info.el (org-info-store-link): Remove leftover docstring.
6337         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6338         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6339         (org-bbdb-anniv-split): Fix typos in docstrings.
6341         * org/org-publish.el (org-publish-project-alist): Doc fixes.
6342         (org-publish-use-timestamps-flag): Reflow docstring.
6343         (org-publish-files-alist): Fix typos in docstring.
6345 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
6347         * org.el (org-set-visibility-according-to-property): New function.
6348         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6349         and compute the regular expressions, and update font-lock.
6350         (org-property-re): Allow a dash in property names.
6352         * org-archive.el (org-extract-archive-file): Insert the file name
6353         without the path into the format, to allow the location format to
6354         contain a subdirectory.
6356         * org-agenda.el (org-agenda-post-command-hook): If point is at end
6357         of buffer, and the `org-agenda-type' property undefined, use the
6358         value from the character before.
6360         * org.el (org-add-planning-info): Don't let indentation for
6361         would-be timestamp become extra whitespace at the end of headline.
6363 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
6365         * org.el (org-remove-double-quotes, org-file-contents): New
6366         functions.
6368         * org-exp.el (org-infile-export-plist): Also parse the
6369         contents of #+SETUPFILE files, recursively.
6371         * org.el (org-set-regexps-and-options): Also parse the
6372         contents of #+SETUPFILE files, recursively.
6374         * org-exp.el (org-export-handle-include-files): New function.
6375         (org-export-preprocess-string): Call
6376         `org-export-handle-include-files'.
6378         * org.el (org-delete-property-globally)
6379         (org-delete-property, org-set-property): Ignore case during
6380         completion.
6381         (org-set-property): Use `org-completing-read' instead of
6382         `completing-read'.
6384         * org.el (org-complete-expand-structure-template): New,
6385         experimental function.
6386         (org-structure-template-alist): New, experimental option.
6387         (org-complete): Call `org-complete-expand-structure-template'.
6389 2008-05-06  Bastien Guerry  <bzg@altern.org>
6391         * org-export-latex.el (org-export-latex-preprocess): Added
6392         support for blockquotes.
6394 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
6396         * org.el (org-read-date-analyze): Catch the case where only a
6397         weekday is given.
6399 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
6401         * org.el (org-set-font-lock-defaults): Make the description
6402         tag bold.
6404         * org-exp.el (org-export-as-html, org-close-li): Implement
6405         description lists.
6407 2008-05-04  Jason Riedy  <jason@acm.org>
6409         * org-table.el (*orgtbl-default-fmt*): New variable.
6410         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6411         when there is no other fmt available.
6413         (orgtbl-to-generic): Allow an explicitly nil :tstart or
6414         :tend to suppress the appropriate string.
6416         (orgtbl-to-orgtbl): New function for translating to another orgtbl
6417         table.
6419 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
6421         * org.el (org-read-date-analyze): "." as an alias for "+0" in
6422         read date.
6424         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6425         New function.
6427         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6428         New function.
6430 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
6432         * org-clock.el (org-clock-find-position): Don't include notes
6433         into clock drawer.
6435         * org-archive.el (org-archive-subtree): No longer remove an
6436         extra line after cutting the subtree.  `org-cut-subtree' already
6437         takes care of this.
6439         * org-remember.el (org-remember-handler): Only kill the target
6440         buffer if it does not contain the running clock.
6442         * org.el (org-markers-to-move): New variable.
6443         (org-save-markers-in-region, org-check-and-save-marker)
6444         (org-reinstall-markers-in-region): New function.
6445         (org-move-subtree-down, org-copy-subtree): Remember relative
6446         marker positions before cutting.
6447         (org-move-subtree-down, org-paste-subtree): Restore relative
6448         marker positions after pasting.
6450         * org-remember.el (org-remember-clock-out-on-exit): New option.
6451         (org-remember-finalize): Clock out only if the setting in
6452         `org-remember-clock-out-on-exit' requires it.
6453         (org-remember-handler): Do the cleanup in the buffer, to make sure
6454         that the clock marker remains in tact.
6456 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
6458         * org-clock.el (org-clock-goto): Widen buffer if necessary.
6459         (org-clock-in): Make sure that also tasks outside the narrowed
6460         region will be clocked in correctly.
6461         (org-clock-insert-selection-line): Widen the buffer so that we can
6462         find the correct task heading.
6464         * org.el (org-base-buffer): New function.
6466         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6467         and ";" are escaped.
6468         (org-print-icalendar-entries): Also apply
6469         `org-icalendar-cleanup-string' to the headline, not only to the
6470         summary property.
6472 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
6474         * org-exp.el (org-export-preprocess-hook): New hook.
6475         (org-export-preprocess-string): Call
6476         `org-export-preprocess-hook'.
6478         * org.el (org-font-lock-hook): New variable.
6479         (org-font-lock-hook): New function.
6480         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6482 ;; Local Variables:
6483 ;; coding: utf-8
6484 ;; add-log-time-zone-rule: t
6485 ;; End:
6487     Copyright (C) 2008  Free Software Foundation, Inc.
6489   This file is part of GNU Emacs.
6491   GNU Emacs is free software: you can redistribute it and/or modify
6492   it under the terms of the GNU General Public License as published by
6493   the Free Software Foundation, either version 3 of the License, or
6494   (at your option) any later version.
6496   GNU Emacs is distributed in the hope that it will be useful,
6497   but WITHOUT ANY WARRANTY; without even the implied warranty of
6498   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6499   GNU General Public License for more details.
6501   You should have received a copy of the GNU General Public License
6502   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
6504 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c