Fix drawer export to LaTeX
[org-mode/org-tableheadings.git] / lisp / ChangeLog
blob098daa11f570e711e314e4b5ee904556e33b3e57
1 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
3         * org-latex.el (org-export-as-latex): Add the :drawers property.
5 2009-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
7         * org.el (org-speed-commands-user): Allow documentation headlines.
8         (org-speed-commands-default): Organize the value of this constant
9         with descriptive headlines.
10         (org-print-speed-command): Output the headlines.
12 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
14         * org-agenda.el (org-agenda-show-outline-path): New option.
15         (org-agenda-do-context-action): New function.
16         (org-agenda-next-line, org-agenda-previous-line): Use
17         `org-agenda-do-context-action'.
19         * org.el (org-use-speed-commands): Allow function value.
20         (org-speed-commands-default): Make headline motion safe, so that
21         these commands always end on a headline.
22         (org-speed-commands-default): New key `v' for `org-agenda'.
23         (org-speed-move-safe): New function.
24         (org-self-insert-command): Use the function value of
25         `org-use-speed-commands'.
26         (org-get-outline-path): Improve docstring.
27         (org-format-outline-path): New function.
28         (org-display-outline-path): New function.
30 2009-11-12  John Wiegley  <jwiegley@gmail.com>
32         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
33         a string, use that to find the LOGBOOK drawer.
35 2009-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
37         * org.el (org-clone-subtree-with-time-shift): Make it work at the
38         end of the buffer.
40         * org-mobile.el (org-mobile-write-checksums): Specify coding
41         system.
42         (org-mobile-timestamp-buffer): Keep local variable/mode line at
43         beginning of buffer.
45         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
47         * org.el (org-block-todo-from-children-or-siblings-or-parent)
48         (org-block-todo-from-checkboxes): Do not block changes to a nil
49         TODO state.
51 2009-11-12  James TD Smith  <ahktenzero@mohorovi.cc>
53         * org-habit.el (org-habit-parse-todo): Indicate which habit is
54         wrongly set up in the error messages.
56         * org-colview.el (org-columns-display-here): Don't try to
57         calculate values if the underlying property is not set.
58         (org-columns-string-to-number): Convert age strings back into
59         fractional days.
60         (org-agenda-colview-summarize): Handle extended summary types
61         properly.
63         * org-colview-xemacs.el (org-columns-display-here): Don't try to
64         calculate values if the underlying property is not set.
65         (org-columns-string-to-number): Convert age strings back into
66         fractional days.
67         (org-agenda-colview-summarize): Handle extended summary types
68         properly.
70 2009-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
72         * org-exp.el (org-export-format-drawer-function): New variable.
73         (org-export-format-drawer): New function.
74         (org-export-preprocess-string): Pass the backend as a parameter to
75         `org-export-remove-or-extract-drawers'.
76         (org-export-remove-or-extract-drawers): New parameter BACKEND.
78         * org-protocol.el (org-protocol-char-to-string): New defsubst.
80 2009-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
82         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
83         message when no block is selected.
85         * org-latex.el (org-export-latex-links): Check for protectedness
86         in the last matched character, not after the match.
88         * org-datetree.el (org-datetree-find-date-create): Respect
89         restriction when KEEP-RESTRICTION is set.
90         (org-datetree-file-entry-under): New function.
91         (org-datetree-cleanup): New command.
93 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
95         * org-src.el (org-edit-src-code): New optional argument context
96         allows calling functions to avoid altering the saved window
97         configuration.
98         (org-edit-src-exit): Do not restore window configuration when this
99         function is used in the context of saving the edit buffer.
101 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
103         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
104         instances to switching to with-current-buffer, because these seem
105         to cause problems - no idea why.
107         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
108         Require diary-lib for (diary-date-display-form).
110         * org.el (org-log-reschedule, org-log-redeadline): New options.
111         (org-log-note-headings): Add templates for rescheduling and
112         deadline changing.
113         (org-startup-options): Add in-buffer settings for logging changing
114         schedule and deadline time stamps.
115         (org-deadline, org-schedule): Check for existing date and arrange
116         for logging if the user requests it.
117         (org-add-log-note): Prepare proper note buffers for rescheduling
118         and deadline changes.
120 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
122         * org-agenda.el (org-agenda-diary-entry-in-org-file)
123         (org-agenda-add-entry-to-org-agenda-diary-file)
124         (org-agenda-insert-diary-make-new-entry): New functions.
125         (org-agenda-diary-entry): Call
126         `org-agenda-diary-entry-in-org-file' when appropriate.
128         * org.el (org-calendar-insert-diary-entry-key): New option.
129         (org-agenda-diary-file): New option.
130         ("calendar"): Install our insertion function in the calendar.
132         * org-remember.el (org-datetree): Require.
133         (org-remember-templates): Add new positioning option.
134         (org-remember-reference-date): New variable.
135         (org-remember-apply-template): Store the reference date in a local
136         variable.
137         (org-remember-handler): Implement date tree positioning of entries.
139         * org-datetree.el: New file.
141         * org-latex.el (org-export-latex-preprocess): Protect targets in
142         verbatim emphasis.
144         * org-html.el (org-export-as-html): Protect targets in verbatim
145         emphasis.
147         * org-docbook.el (org-export-as-docbook): Protect targets in
148         verbatim emphasis.
150 2009-11-07  James TD Smith  <ahktenzero@mohorovi.cc>
152         * org.el (org-link-display-format): Should be literal replacement.
154 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
156         * org-clock.el (org-show-notification): Handle messages that
157         contain a percent character.
159         * org-remember.el (org-remember-apply-template): Turn of partial
160         completion.
162         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
163         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
165         * org.el (org-indent-mode): Define variable already in org.el.
166         (org-unfontify-region): Remove line-prefix and wrap-prefix
167         properties only if org-indent-mode is active.
169 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
171         * org-icalendar.el (org-print-icalendar-entries): Save match data
172         around call to verify function.
173         (org-print-icalendar-entries): Add a call to the verification
174         function.
176         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
177         save-restrivtion' form.
179 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
181         * org-exp.el (org-export-format-source-code-or-example): restrict
182         scope of preserve-indentp to the let binding.
183         (org-src): require org-src, since org-src-preserve-indentation is used.
185 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
187         * org-timer.el (org-timer-set-timer): Set variables
188         org-timer-timer[123] correctly.
191         * org-mobile.el (org-mobile-files-alist): Make it work when
192         `agenda-archives' is included in
193         `org-agenda-text-search-extra-files'.
194         (org-mobile-push): Restore agenda after mobile push.
196 2009-11-05  John Wiegley  <jwiegley@gmail.com>
198         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
199         way the amount of idle time is presented in the minibuffer.
201 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
203         * org-icalendar.el (org-print-icalendar-entries): Use
204         org-icalendar-verify-function only if non-nil.
206         * org.el (org-refile): Refile to clock only if the prefix arg is
207         2.
208         (org-sparse-tree): Fix docstring to be in line with prompt.
209         (org-update-parent-todo-statistics): Call
210         `org-after-todo-statistics-hook' on each level.
212 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
214         * org-remember.el (org-remember-apply-template): Make sure the
215         buffer exists.
217 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
219         * org.el (org-tab-ind-state): New variable.
220         (org-cycle-level): New function.
221         (org-cycle-level-after-item/entry-creation): New option.
222         (org-flag-subtree): New function.
223         (org-hide-archived-subtrees): Call `org-flag-subtree'.
224         (org-set-effort): Indexed access.
226         * org-list.el (org-cycle-item-indentation): New function.
228         * org.el (org-refile): Make prefix argument 2 refile to current
229         clock.
230         (org-priority): Interpret action `remove' as call to remove the
231         priority cookie.
233         * org-remember.el (org-remember-apply-template): Don't depend on
234         buffer name being like file name.
236 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
238         * org-clock.el (org-clock-play-sound): Expand file in
239         org-clock-sound, to allow ~ for home.
241         * org-remember.el (org-remember-handler): Set
242         text-before-node-creation even if this already looks like a node,
243         because the string might be needed on non-org-mode target files.
245         * org-agenda.el (org-agenda-open-link): Make this work in agenda
246         clocktables.
247         (org-agenda-switch-to): Follow a link at point if
248         org-return-follows-link' is set and there is nothing else to do in
249         this line.
251 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
253         * org-colview-xemacs.el: Add in changes from org-colview.el
255 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
257         * org-exp-blocks.el: Modify split separator regexp to avoid empty
258         strings.
260 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
262         * org-colview.el (org-columns-new): Make this work with the new
263         operators.
264         (org-columns-store-format): Make this work with the new operators.
266 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
268         * org-src.el (org-src-preserve-indentation): Document that this
269         variable is also used during export.
271         * org-exp.el (org-export-format-source-code-or-example): Preserve
272         indentation if a block has a -i option, or if
273         `org-src-preserve-indentation' is set.
275         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
276         indentation if a block has a -i option, or if
277         `org-src-preserve-indentation' is set.
279 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
281         * org.el (org-mode-map): Define the new archiving keys.
282         (org-speed-commands-default): Define an archiving key in the speed
283         command map.
284         (org-org-menu): Improve the menu structure concerning archiving.
286         * org-archive.el (org-archive-subtree-default-with-confirmation):
287         New command.
289         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
290         (org-agenda-menu): Add the new archiving commands to the menu.
291         (org-agenda-archive-default)
292         (org-agenda-archive-default-with-confirmation): New commands.
293         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
294         call `org-agenda-archive-with'.
295         (org-agenda-archive-with): New function.
297         * org-table.el (org-table-convert-region): Inert spaces around "|"
298         to avoid line beginnings like "|-1" which will be mistaken as
299         hlines.
301 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
303         * org.el (org-offer-links-in-entry): Return nil if there are no
304         links, t if a link has been selected.
305         (org-open-at-point): Open attachment directory when called in the
306         headline and there are no links in the entry body.
307         (org-speed-commands-default): Add "o" for open-at-point as a speed
308         command.
310         * org-attach.el (org-attach-reveal): Optional prefix arg
311         IF-EXISTS, which avoids creating the attachment directory if it
312         does not yet exist.
314         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
315         MATCH.
317 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
319         * org.el ("abbrev"): Work with abbrev tables only after they have
320         been loaded.
322         * org-list.el (org-list-send-list): Fix bug related to match
323         data.
325         * org-latex.el (org-export-latex-fontify): Apply verbatim
326         emphasis.
327         (org-export-latex-make-header): Insert \obeylines if line breaks
328         should be preserved.
330         * org-exp.el (org-export-protect-verbatim): Add an
331         `org-verbatim-emph' property to such text.
333 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
335         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
336         (org-print-icalendar-entries): Skip entries where the timestamp is
337         not a deadline and not scheduled, if the user requests that.
339         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
340         before an opening quote.
342         * org-archive.el (org-archive-subtree): Keep archive after
343         archiving something.
345         * org-id.el (org-id-update-id-locations): Add archive files if
346         that is required by `org-id-extra-files'.
348 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
350         * org-src.el (org-src-window-setup): New option.
351         (org-src-switch-to-buffer): New function.
352         (org-edit-src-exit): Add optional argument CONTEXT and use it to
353         restore window configuration.
354         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
355         Call `org-src-switch-to-buffer'.
357         * org.el (org-default-properties): Add STYLE property.
358         (org-files-list): Use the function call to get the files.
359         (org-additional-option-like-keywords): Add SETUPFILE to completion
360         list.
362 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
364         * org-table.el (org-table-convert-region): Correctly interpret
365         quoting in csv import.
367         * org.el (org-icompleting-read): Make iswitchb completion work
368         with lists and tables.
370         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
371         while pushing the mobile agenda.
373 2009-10-25  John Wiegley  <jwiegley@gmail.com>
375         * org-clock.el
376         (org-clock-auto-clock-resolution): Now takes three values: nil, t
377         and `when-no-clock-is-running'.
378         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
379         whether or not to resolve Org buffers on clock in.
381 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
383         * org-colview.el (org-format-time-period): Function to format
384         times in fractional days for display.
385         (org-columns-display-here): Add support for showing a calculated
386         value in place of the property.
387         (org-columns): Set `org-columns-time' to the current time so time
388         difference calculations will work.
389         (org-columns-time): Use to store the current time when column view
390         is displayed, so all time differences will use the same reference
391         point.
392         (org-columns-compile-map): There is now an extra position in each
393         entry specifying the function to use to calculate the displayed
394         value for the non-calculated properties in the column,
395         (org-columns-compute-all): Set `org-columns-time' to the current
396         time so time difference calculations will work.
397         (org-columns-compute): Handle column operators where the values
398         used are calculated from the underlying property.
399         (org-columns-number-to-string): Handle the 'age' column format
400         (org-columns-string-to-number): Correct the function name (was
401         org-column...). Add support for the 'age' column format.
402         (org-columns-compile-format): Support the additional parameter in
403         org-columns-compile-map.
405 2009-10-26  Bastien Guerry  <bzg@altern.org>
407         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
408         variable.
410 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
412         * org-clock.el (org-clock-has-been-used): New variable.
413         (org-clock-in): Set `org-clock-has-been-used'.
414         (org-clock-save): Save only if clock data has been used or created
415         during this session.
417 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
419         * org-clock.el (org-clock-persist): New value, to store only the
420         clock history.
421         (org-clock-save): Don't save the clock if only the history should
422         be stored.
423         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
424         when restoring a saved clock.
426 2009-10-24  John Wiegley  <jwiegley@gmail.com>
428         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
429         `org-time-clock-use-fractional'.
431         * org.el (org-time-clocksum-use-fractional)
432         (org-time-clocksum-fractional-format): Two new customizable
433         variables which allow the user to select fractional times (1.25
434         instead of 1:25) in the `org-clock-display' report.
436 2009-10-23  John Wiegley  <jwiegley@gmail.com>
438         * org-habit.el (org-habit-build-graph): None of the arguments
439         should be optional.
440         (org-habit-parse-todo, org-habit-deadline)
441         (org-habit-get-priority, org-habit-get-faces)
442         (org-habit-build-graph): Further simplifications by storing all
443         past, scheduled and deadline dates as a number of days past the
444         epoch, and not as times.
446         * org-habit.el (org-habit-warning-face)
447         (org-habit-warning-future-face): Removed because these are no
448         longer used.
449         (org-habit-deadline, org-habit-deadline-repeat): Now always
450         returns a date; computed if there was a scheduled repeater but no
451         deadline repeater.
452         (org-habit-get-priority): Further improvements to the priority
453         algorithm.  In particular, items past due should always appear
454         before items due or not yet due.
455         (org-habit-get-faces): Greatly simplified the logic, now that
456         `org-habit-deadline' always returns a valid time.
458 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
460         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
461         New option.
463         * org.el (org-tag-alist): Fix customization type.
465 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
467         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
468         Make sure the regexp search can fail without throwing an error.
469         (org-mobile-apply): Save the inbox buffer after removing
470         successfully applied changes.
472 2009-10-22  John Wiegley  <jwiegley@gmail.com>
474         * org-habit.el (org-habit-build-graph): Fix to the graph building
475         when last DONE date is earlier than `org-habit-preceding-days'.
477         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
478         time is reported after the user comes back (but before they
479         resolve time).
481         * org.el (org-get-repeat): Change so that this function can be
482         called with either `org-scheduled-string' or
483         `org-deadline-string'.
485         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
486         to find the scheduled date.
488         * org-clock.el (org-clock-auto-clock-resolution): Renamed
489         `org-clock-disable-clock-resolution', since negatives don't sound
490         good in customization variables.
491         (org-clock-in): Don't use the auto-resolution logic if the user is
492         clocking into a different task while an active clock is running.
493         This then allows the default behavior of clocking out of the open
494         task and then into the new task.
496         * org-habit.el (org-habit-parse-todo): Generate an error if a
497         habit has a scheduled repeat period < 1.
498         (org-habit-get-faces): Fixes to the way that colors are computed.
499         (org-habit-build-graph): The graph wasn't displaying beyond any
500         day that had two completions in it.
502         * org.el (org-modules): Made this variable more consistent, since
503         it was referring to Org, OrgMode and Org-mode, whereas the docs
504         for the variable always refer to Org-mode.
506 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
508         * org.el (org-repeat-re): The changed org-repeat-re no longer
509         matched simple +2d type repeaters. Fix it so it does.
511 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
513         * org-latex.el (org-export-latex-preprocess): Protect the vspace
514         macro in the VERSE environment.
516 2009-10-20  John Wiegley  <jwiegley@gmail.com>
518         * org-habit.el (org-habit-get-priority): A new function that
519         determines the relative priority of a habit, based on how long
520         past its scheduled date it is, and how near the deadline is.
522         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
523         using `org-habit-get-priority'.
525         * org-habit.el (org-habit-build-graph): Start displaying colors
526         from the first scheduled date, if that date is earlier than the
527         first completion date.
529         * org-habit.el: Changed all "color" variables to faces, and made
530         them appropriate for light and dark backgrounds.
532         * org-habit.el (org-habit-duration-to-days): Made this function
533         more general.
534         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
536         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
537         habits, since they don't use DEADLINE anymore.
539         * org.el (org-repeat-re, org-display-custom-time)
540         (org-timestamp-change): Extended to support the new ".+N/N"
541         syntax, used for habits.
543         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
544         variable reference.
546         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
547         modeline when habits are being displayed (if that module is being
548         loaded).
550 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
552         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
553         idle time using the xscreensaver extension.
554         (org-user-idle-seconds): Use X11 idle time if available.
556 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
558         * org-agenda.el (org-agenda-next-line): New command.
559         (org-agenda-previous-line): New commands.
560         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
561         commands.
562         (org-agenda-follow-mode): Do the follow immediately if the mode is
563         turned on here.
564         (previous-line, next-line): Replace keys with the corresponding
565         org functions.
566         (org-agenda-mode-map): Bind backspace and delete to the scrolling
567         command.
569         * org.el (org-icompleting-read): Turn off partial completion mode
570         for the duration of this completion round.
572         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
573         macros in author lines and similar stuff.
575         * org.el (org-file-tags): Fix docstring.
576         (org-get-buffer-tags): Add the #+FILETAGS tags.
577         ("ecb"): Maks ecb show context after jumping into an Org file.
579 2009-10-20  John Wiegley  <johnw@newartisans.com>
581         * org-agenda.el (org-finalize-agenda): Draw habit consistency
582         graphs after everything else in the buffer has been setup.
584 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
586         * org-mobile.el (org-mobile-apply): Count success and failure.
588         * org.el (org-indent-line-function): Fix regexp replace problem.
590 2009-10-19  John Wiegley  <johnw@newartisans.com>
592         * org-clock.el (org-clock-disable-clock-resolution): New
593         customization variable that disable automatic clock resolution on
594         clock in.
595         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
596         not automatically resolve anything.  This is does not affect
597         idle-time resolution, however, if `org-clock-idle-time' is set.
599 2009-10-19  John Wiegley  <johnw@newartisans.com>
601         * org-habit.el: New file, which implements code to build a "habit
602         consistency graph".
604         * org-agenda.el (org-agenda-get-deadlines)
605         (org-agenda-get-scheduled): Display consistency graphs when
606         outputting habits into the agenda.  The graphs are always relative
607         to the current time.
608         (org-format-agenda-item): Added new parameter `habitp', which
609         indicates whether we are formatting a habit or not.  Do not
610         display "extra" leading information if habitp is true.
612         * org.el (org-repeat-re): Improved regexp to include .+ and ++
613         leaders for repeat strings.
614         (org-get-repeat): Now takes a string parameter `tagline', so the
615         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
617 2009-10-19  John Wiegley  <johnw@newartisans.com>
619         * org-agenda.el (org-agenda-auto-exclude-function): New
620         customization variable for allowing the user to create an "auto
621         exclusion" filter for doing context-aware auto tag filtering.
622         (org-agenda-filter-by-tag): Changes to support the use of
623         `org-agenda-auto-exclude-function'.  See the new manual addition,.
625 2009-10-18  John Wiegley  <johnw@newartisans.com>
627         * org.el (org-files-list): Don't attempt to return a file name for
628         Org buffers which have no associated file.
630         * org-agenda.el (org-agenda-do-action): Fixed a typo.
632 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
634         * org-mobile.el (org-mobile-locate-entry): Interpret files
635         relative to org-directory.
636         (org-mobile-inbox-for-pull): Document the best location for this
637         file.
638         (org-mobile-check-setup): Verify `org-directory'.
639         (org-mobile-create-index-file): Sort the files to be listed in
640         index.org.
642 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
644         * org.el (org-fast-tag-selection): Add a way to display a
645         description for a tag group. This is done by adding a string to
646         either the startgroup or endgroup cell.
648 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
650         * org-clock.el (org-clock-resolve, org-resolve-clocks)
651         (org-emacs-idle-seconds): Use `org-float-time' instead of
652         `time-to-seconds'
654 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
656         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
657         type.
659         * org.el (org-pre-cycle-hook): Document that `empty' can also be
660         the value of ARG when doing local cycling.
662 2009-10-17  John Wiegley  <johnw@newartisans.com>
664         * org-clock.el (org-clock-resolve-clock): If keeping or
665         subtracting time results in a clock out at a time in the past, and
666         if the resolution occurred due to idleness or invoking `M-x
667         org-resolve-clocks', remember that past moment in time.  On the
668         next clock in, the user will be prompted to see if they want to
669         back-date their new clock to then.
670         (org-clock-resolve): Do not jump the user to the location of a
671         dangling clock if the resolution is occuring due to an idle
672         timeout.  In that case there is typically only one dangling clock,
673         the active one, and there is no value gained by shuffling their
674         windows around to show it to them.  Being prompted to resolve an
675         idle clock should be as inobtrusive as possible.
676         (org-resolve-clocks-if-idle): New function that resolves only the
677         currently active clock if the user has exceeded the time returned
678         by `org-user-idle-seconds', based on the value of
679         `org-clock-idle-time'.
680         (org-clock-in): If, after resolving clocks,
681         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
683         * org-clock.el (org-clock-resolve-clock): New function that
684         resolves a clock to a specific time, closing or resuming as need
685         be, and possibly even starting a new clock.
686         (org-clock-resolve): New function used by `org-resolve-clocks'
687         that sets up for the call to `org-clock-resolve-clock'.  It
688         determines the time to resolve to based on a single-character
689         selection from the user to either keep time, subtract away time or
690         cancel the clock.
691         (org-resolve-clocks): New user command which resolves dangling
692         clocks -- that is, open but not active -- anywhere in the file
693         list returned by `org-files-list'.
694         (org-clock-in): Automatically resolve dangling clocks whenever a
695         user clocks in.
696         (org-clock-cancel): If the user cancels the solely clock in a
697         LOGBOOK, remove the empty drawer.
699         * org-clock.el (org-clock-idle-time): New user customizable option
700         for detecting whether the user has left a clock idle.  Note: it is
701         only used in this commit to test whether it's worthwhile to check
702         OS X to get the Mac user's current idle time.  If the Emacs idle
703         time is less than the value, the user hasn't been away long enough
704         to be worth checking (a more expensive test than just getting
705         Emacs idle time).
706         (org-user-idle-seconds, org-mac-idle-seconds)
707         (org-emacs-idle-seconds): This three functions, in conjunction
708         with the user customization variable `org-clock-idle-time', return
709         the number of seconds (as a floating point) that the user has been
710         away from their Emacs (or, if running on OS X, their computer).
712         * org-clock.el (org-find-open-clocks): New function that returns a
713         list of all open clocks in the given FILE.  Note that each clock
714         it returns is a cons cell of the format (MARKER . START-TIME).
715         This "clock" value is used by several of the new clock module
716         utility functions.
717         (org-is-active-clock): New inline function which tests whether the
718         given clock value is the same as the currently active clock.
719         Returns non-nil if this is the case.
720         (org-with-clock-position): New macro that evaluates FORMS with
721         point in the buffer and at the position of the given clock.
722         Changes to the current clock are global.
723         (org-with-clock): New macro that evaluates FORMS with point in the
724         buffer and at the position of the given clock.  However, changes
725         to the current clock are local and have no effect on the user's
726         active clock.  This allows, for example, far any clock to be
727         cancelled without cancelling the active clock.
728         (org-clock-clock-in): New inline function that switches the active
729         clock to the given clock.  If either the argument RESUME, or the
730         global `org-clock-in-resume', are non-nil, it will resume a clock
731         that was previously left open.
732         (org-clock-clock-out): New inline function that clocks out the
733         given clock value without affecting the currently active clock.
734         (org-clock-clock-cancel): New inline function that cancels the
735         given clock value without affecting the currently active clock.
737         * org-clock.el (org-clock-in): Before creating
738         `org-clock-mode-line-timer', check to make sure an older timer is
739         not currently running.
740         (org-clock-out): Accept new third parameter `at-time', which
741         permits a clock to be clocked out at a specific time.  Note that
742         no attempt is made to verify that the clock out time is later than
743         the clock in time.
745         * org.el (org-files-list): New utility function for returning a
746         list of all open org-mode buffers, plus all files used to build
747         the agenda buffer.  Note that not all the files will necessarily
748         be visited by a buffer at time of call.
749         (org-entry-beginning-position): Like the function
750         `line-beginning-position', this inline function returns the
751         beginning position of the current heading/entry.
752         (org-entry-end-position): Like the function `line-end-position',
753         this inline function returns the end position of the current
754         heading/entry.
756 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
758         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
759         a header line.
761 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
763         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
765 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
767         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
768         entries that have no tags.
769         (org-agenda-search-view): New customize group.
770         (org-agenda-search-view-search-words-only): New option.
771         (org-search-view): Implement substring search.
773 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
775         * org.el (org-outline-level): Add doc string.
777 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
779         * org-inlinetask.el (org-inlinetask-export): Re-introduce
780         variable.
781         (org-inlinetask-export-handler): Only export inline task if the
782         user option calls for it.
784 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
786         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
787         END if present.
789 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
791         * org-latex.el (org-export-latex-tables): Don't format in
792         protected regions.
794 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
796         * org-src.el (org-edit-src-code)
797         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
798         macro editing.
800         * org-agenda.el (org-prefix-category-max-length): New variable.
801         (org-format-agenda-item): Use `org-prefix-category-max-length'.
802         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
804 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
806         * org-mobile.el (org-mobile-create-index-file): Improve the
807         listing of tags and todo keywords.
809         * org-latex.el (org-export-latex-format-image): New function.
810         (org-export-latex-links): Use `org-export-latex-format-image'.
812 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
814         * org-inlinetask.el (org-inlinetask-get-current-indentation)
815         (org-inlinetask-remove-terminator): New functions.
816         (org-inlinetask-export-handler): Terminate the description list.
818         * org-exp.el (org-export-select-backend-specific-text): Remove the
819         region markers.
821         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
822         tasks without content.
824         * org-clock.el: Make sure the clock-in target position does not
825         move to a different node by widening the buffer.
827         * org-html.el (org-export-html-format-image): Wrap image into
828         figure div only when there is a caption.
830         * org-archive.el (org-archive-mark-done): Change default value to
831         nil.
833 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
835         * org.el (org-context): Call `bobp', not `eobp'.
837         * org-clock.el (org-clock-cancel): Remove quotes from marker
838         variables.
840         * org.el (org-read-date-prefer-future): New allowed value `time'.
841         (org-read-date-analyze): Shift day to tomorrow depending on time
842         entered and value of `org-read-date-prefer-future'.
844 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
846         * org.el (org-set-tags-to): New command.
848         * org-mobile.el (org-mobile-action-alist): Add more options and
849         update the docstring.
850         (org-mobile-apply-flags): Parse for and use the data.
852         * org-latex.el (org-export-latex-set-initial-vars): Also check in
853         the plist.
855         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
856         keyword.
858         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
860 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
862         * org-inlinetask.el (org-inlinetask-export): Option removed.
863         (org-inlinetask-export-handler): Better export.
865         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
866         (org-export-as-xoxo): Run the new hook.
868         * org-html.el (org-export-html-final-hook): New hook.
869         (org-export-as-html): Run the new hook.
871         * org-docbook.el (org-export-docbook-final-hook): New hook.
872         (org-export-as-docbook): Run the new hook.
874         * org-ascii.el (org-export-ascii-final-hook): New hook.
875         (org-export-as-ascii): Run the new hook.
877         * org-mobile.el (org-mobile-create-sumo-agenda): Call
878         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
880         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
881         space character as the character before the ^/_.
882         (org-export-latex-final-hook): New hook.
883         (org-export-as-latex): Run `org-export-latex-final-hook'.
885 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
887         * org-macs.el (org-if-unprotected-at): Fix docstring.
889         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
890         text in the prefix (if category is a link).
892         * org-latex.el (org-export-latex-preprocess): Deal properly with
893         empty lines in verse environments.
895         * org.el (org-format-latex-header): Inline fullpage.sty.
897         * org-footnote.el (org-footnote-create-definition): Reveal context
898         to add a new footnote definition.
900         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
901         the index file.
902         (org-mobile-files): New option.
903         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
904         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
905         functions.
906         (org-mobile-push): Start by creating the files lists.
907         (org-mobile-copy-agenda-files): Move killing the buffer to after
908         the save-excursion has exited.
909         (org-mobile-write-checksums): Write checksums also for files in
910         sub-directories.
912         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
913         org-table-recalculate when cursor is in TBLFM line.
915         * org-list.el (org-renumber-ordered-list): Fix cursor position
916         when bullet length has changed.
918 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
920         * org.el (org-format-latex): Mention `org-format-latex-options' in
921         the docstring.
923 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
925         * org.el (org-agenda-get): New function.
927         * org-agenda.el (org-agenda-post-command-hook): No longer move
928         point away from end of line.
929         (org-agenda-add-entry-text, org-agenda-collect-markers)
930         (org-finalize-agenda, org-agenda-mark-clocking-task)
931         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
932         (org-agenda-entry-text-show, org-agenda-highlight-todo)
933         (org-agenda-compare-effort, org-agenda-filter-apply)
934         (org-agenda-later, org-agenda-change-time-span)
935         (org-agenda-post-command-hook, org-agenda-show-priority)
936         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
937         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
938         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
939         (org-agenda-open-link, org-agenda-copy-local-variable)
940         (org-agenda-switch-to, org-agenda-check-no-diary)
941         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
942         (org-agenda-add-note, org-agenda-change-all-lines)
943         (org-agenda-priority, org-agenda-set-tags)
944         (org-agenda-set-property, org-agenda-set-effort)
945         (org-agenda-toggle-archive-tag, org-agenda-date-later)
946         (org-agenda-show-new-time, org-agenda-date-prompt)
947         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
948         (org-agenda-clock-in, org-agenda-bulk-mark)
949         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
950         `org-get-at-bol'.
952         * org-colview.el (org-columns-display-here)
953         (org-columns-edit-allowed, org-agenda-columns): Use
954         `org-get-at-bol'.
956 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
958         * org.el (org-special-ctrl-a/e): Improve documentation and
959         customize type.
960         (org-end-of-line): Don't jump to after the ellipsis.
961         (org-mode-map): Bind <home> and <end> as well.
963 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
965         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
966         space after #+ as comments.
967         (org-open-at-point): Run `org-follow-link-hook' always.
969         * org-latex.el (org-export-latex-emph-format): Use better commands
970         to insert special characters in verbatim snippets.
972 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
974         * org-faces.el (org-copy-face): New function.  Use it to create
975         various faces formerly created by using `copy-face'.
977         * org-agenda.el (org-prepare-agenda): Don't officially mark this
978         window dedicated.
979         (org-agenda-quit): Kill the frame containing the agenda window if
980         that frame was created for the agenda.
982 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
984         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
985         stamp in the agenda.
987 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
989         * org-mobile.el (org-mobile-create-index-file): Add the list of
990         TODO keywords, and the list of drawers to the index file.
992         * org-agenda.el (org-prepare-agenda): Reset
993         `org-drawers-for-agenda'.
994         (org-prepare-agenda): Uniquify list of drawers.
996         * org.el (org-complex-heading-regexp-format): New variable.
997         (org-set-regexps-and-options): Define
998         `org-complex-heading-regexp-format'.
999         (org-drawers-for-agenda): New variable.
1000         (org-map-entries): Bind `org-drawers-for-agenda'.
1001         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1003         * org-remember.el (org-go-to-remember-target)
1004         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1006 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
1008         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1009         problem.
1011         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1012         the capture file, and make it non-configurable.
1014         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1015         always with `invisible-ok'.
1016         (org-store-link): No error when there is nothing to link to in the
1017         agenda.
1019         * org-list.el (org-update-checkbox-count): Insert changed cookie
1020         before the old, to avoid problems with invisibility at the end of
1021         the line.
1022         (org-update-checkbox-count): Insert changed cookie before the old,
1023         to avoid problems with invisibility at the end of the line.
1025         * org.el (org-sort-entries-or-items): Include the final newline.
1026         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1027         lines for fontification.
1028         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1029         (org-prepare-dblock): Store the current indentation of the BEGIN
1030         line.
1031         (org-update-dblock): Apply the indentation of the begin line to
1032         the rest of the block.
1033         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1034         (org-startup-folded): New allowed value `showeverything'.
1035         (org-startup-options): Add STARTUP keyword `showeverything'.
1036         (org-set-startup-visibility): Respect value `showeverything' in
1037         org-startup-folded.
1039 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
1041         * org.el (org-closest-date): Fix issue with past preference.
1043         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1045         * org-archive.el (org-archive-set-tag)
1046         (org-archive-subtree-default): New commands.
1048         * org-mobile.el (org-mobile-create-index-file): Fix link to
1049         capture file.
1050         (org-mobile-copy-agenda-files): Create the capture file if it does
1051         not exist.
1053         * org-clock.el (org-clock-clocktable-default-properties): New
1054         option.
1055         (org-clock-report): Use
1056         `org-clock-clocktable-default-properties'.
1058 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
1060         * org.el (org-iswitchb-completing-read): Fix typo.
1062         * org-crypt.el: New file.
1064         * org.el: Add an entry for org-crypt.
1066 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1068         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1069         consistency.
1070         (org-batch-store-agenda-views): New function.
1071         (org-mobile-force-id-on-agenda-items): Mention variable.
1072         (org-agenda-title-append): Define variable.
1073         (org-write-agenda): New export to Org files.
1074         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1075         (org-agenda): Allow to keep the restricted file list if a special
1076         variable is bound to t.
1077         (org-agenda): Define a special agenda view for working on flagged
1078         entries.
1079         (org-agenda-get-restriction-and-command): List the new agenda
1080         view.
1081         (org-agenda-show-the-flagging-note): New command.
1082         (org-agenda-mode-map): New key `?' for looking at the flagging
1083         note.
1085         * org.el (org-autoload): Autoload org-mobile.el.
1086         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1088         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1090 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
1092         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1093         statements.
1094         (org-table-get-remote-range): Match indented #+TBLNAME
1095         statements.
1097         * org.el (org-convert-to-odd-levels)
1098         (org-convert-to-oddeven-levels): Work also correctly if the file
1099         is in outline-mode.
1101 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1103         * org.el (org-store-link): When in agenda buffer, link to
1104         referenced entry.
1105         (org-add-planning-info): Remove spaces at eol.
1107         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1108         property.
1110 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1112         * org-latex.el (org-export-latex-first-lines): Fix problem with
1113         LaTeX export of first line and selected subtree.
1115         * org.el (org-shifttab): Interpret arg differently when using only
1116         odd levels.
1118 2009-09-09  Bastien Guerry  <bzg@altern.org>
1120         * org.el (org-check-agenda-file): Use a more explicit message
1122 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1124         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1125         normal lines.
1127 2009-09-08  Bastien Guerry  <bzg@altern.org>
1129         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1130         prompt in the temporary window.
1132         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1133         prefix for marked entries in the agenda view.
1135 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1137         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1138         a way that prevents any trailing character from being displayed.
1140 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1142         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1143         menu.
1145         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1146         slow regexp match.
1148 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1150         * org-latex.el (org-export-latex-preprocess): Do not protect in
1151         the LaTeX header.
1153         * org-src.el (org-edit-src-save): Save window setup while saving.
1154         (org-edit-src-code): Use new buffer name construction scheme.
1156 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1158         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1159         variable.
1160         (org-agenda-entry-text-cleanup-hook): New hook.
1161         (org-agenda-get-some-entry-text): Remove matches of
1162         `org-agenda-entry-text-exclude-regexps' and run the hook
1163         `org-agenda-entry-text-cleanup-hook'.
1165         * org.el (org-offer-links-in-entry): New argument ZERO to
1166         implement a link with index zero.
1167         (org-cycle-show-empty-lines): Not keep empty line under header
1168         hidden.
1169         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1170         to nil for special completion.
1171         (org-store-link): Don't error before the first heading.
1173         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1174         `org-offer-links-in-entry'.
1176 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1178         * org-agenda.el (org-agenda-quit): Provide the window argument for
1179         `window-dedicated-p', Emacs 22 needs it.
1180         (org-format-agenda-item): If the category is a link, arrange for
1181         invisible text to replaced with spaces.
1182         (org-compile-prefix-format): Add the extra space.
1183         (org-prefix-category-length): New variable.
1185         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1186         references from TOC lines.
1188         * org.el (org-selected-window): New variable.
1190         * org-table.el (org-table-edit-formulas): Remember the selected
1191         window.
1192         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1193         that was originally selected.
1195         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1196         expansion of a macro for more macro definitions.
1198         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1199         invisibility overlay starts on the newline.
1201 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1203         * org-protocol.el (org-protocol-store-link)
1204         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1206         * org-compat.el (org-float-time): New function.
1208         * org.el (org-clock-update-time-maybe)
1209         (org-sort-entries-or-items, org-do-sort)
1210         (org-evaluate-time-range, org-time-string-to-seconds)
1211         (org-closed-in-range): Use `org-float-time'.
1213         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1214         (org-timer-seconds):  Use `org-float-time'.
1216         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1217         (org-clock-sum, org-dblock-write:clocktable)
1218         (org-clocktable-steps):  Use `org-float-time'.
1220         * org-agenda.el (org-agenda-last-marker-time)
1221         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1223         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1224         function.
1226         * org-exp.el (org-get-file-contents): Only protect lines that
1227         really need it.
1229         * org-html.el (require): Require cl for compilation.
1231         * org.el:  Avoid using `default-major-mode'.
1233         * org-plot.el (require): Require CL only at compile time.
1235         * org-exp.el (require): Require CL only at compile time.
1237         * org-agenda.el (org-agenda-quit): When the agenda window is
1238         dedicated, remove other windows before exiting, so that the frame
1239         really will be killed.
1241         * org-exp.el (org-export-handle-include-files): Reset START and
1242         END for each loop cycle.
1244 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1246         * org.el (org-eval-in-calendar): Use
1247         `org-select-frame-set-input-focus'.
1249         * org-compat.el (org-select-frame-set-input-focus): New function.
1251         * org.el (org-update-statistics-cookies): New function.
1252         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1254 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1256         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1257         after the local variables are set.
1259         * org-latex.el (org-export-latex-protect-amp): New function.
1260         (org-export-latex-links): Protect link ampersands in tables.
1262         * org-exp.el (org-export-select-backend-specific-text): Match in
1263         two steps, to avoid regexp problems.
1265         * org.el (org-offer-links-in-entry): Improve working with many and
1266         duplicate links.
1268         * org-agenda.el (org-agenda-show-1): Make more consistent with
1269         normal cycling.
1270         (org-agenda-cycle-show): Make more consistent with normal cycling.
1272         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1273         website.
1275 2009-08-30  Bastien Guerry  <bzg@altern.org>
1277         * org-latex.el (org-export-latex-first-lines): Bugfix.
1279 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
1281         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1282         about new effort.
1284         * org.el (org-set-effort): New function.
1285         (org-mode-map): New key for effort setting command.
1287         * org-agenda.el (org-agenda): Keep window setup when calling
1288         agenda from within agenda window.
1289         (org-agenda-mode-map): New keys for effort setting commands.
1290         (org-agenda-menu): Add effort setting commands to menu.
1291         (org-agenda-set-property, org-agenda-set-effort): New functions.
1293         * org-latex.el (org-export-latex-tables): Fix
1294         `org-table-last-alignment' and `org-table-last-column-widths' if
1295         the first column has been removed.
1297 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
1299         * org.el (org-remove-timestamp-with-keyword): Only remove in
1300         entry, not in subtree.
1302         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1303         emacs lisp.
1305         * org.el (org-open-at-point): When on headline, offer all strings
1306         in entry.
1308         * org-remember.el (org-remember-templates): Documentation fix.
1310         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1311         `org-get-last-sibling' instead of the outline versions of these
1312         functions.
1313         (org-get-last-sibling): New function.
1314         (org-refile): Use `org-get-next-sibling' instead of the outline
1315         version of this function.
1316         (org-clean-visibility-after-subtree-move): Use
1317         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1318         outline versions of these functions.
1320 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
1322         * org-agenda.el (org-prepare-agenda): When creating a new frame
1323         for the agenda, make the window dedicated.
1325         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1327         * org-table.el (org-table-align): Change the order of reinsertion
1328         and deletion, to avoid problems with overlays following the table.
1330         * org.el (org-parse-time-string): Better error message.
1331         (org-show-subtree): Use org-end-of-subtree.
1333         * org-macs.el (org-goto-line): New defsubst.
1335         * org.el (org-open-file, org-change-tag-in-region)
1336         (org-fast-tag-show-exit): Don't use `goto-line'.
1338         * org-table.el (org-table-align, org-table-insert-column)
1339         (org-table-delete-column, org-table-move-column)
1340         (org-table-sort-lines, org-table-copy-region)
1341         (org-table-paste-rectangle, org-table-wrap-region)
1342         (org-table-get-specials, org-table-rotate-recalc-marks)
1343         (org-table-get-range, org-table-recalculate)
1344         (org-table-edit-formulas, org-table-fedit-convert-buffer)
1345         (org-table-show-reference, org-table-highlight-rectangle): Don't
1346         use `goto-line'.
1348         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1349         (org-edit-src-exit): Don't use `goto-line'.
1351         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1353         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1354         Don't use `goto-line'.
1356         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1358         * org-colview.el (org-columns, org-columns-redo)
1359         (org-agenda-columns): Don't use `goto-line'.
1361         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1362         use `goto-line'.
1364         * org-agenda.el (org-agenda-mode): Force visual line motion off.
1365         (org-agenda-add-entry-text-maxlines): Improve docstring.
1366         (org-agenda-start-with-entry-text-mode): New option.
1367         (org-agenda-entry-text-maxlines): New option.
1368         (org-agenda-entry-text-mode): New variable.
1369         (org-agenda-mode): Set initial value of
1370         `org-agenda-entry-text-mode'.
1371         (org-agenda-mode-map): Add the `E' key.
1372         (org-agenda-menu): Add entry text mode to the menu.
1373         (org-agenda-get-some-entry-text): Fix line count bug.
1374         (org-finalize-agenda): Apply entry text mode if appropriate.
1375         (org-agenda-entry-text-show-here): New function.
1376         (org-agenda-entry-text-show): New function.
1377         (org-agenda-entry-text-hide): New function.
1378         (org-agenda-view-mode-dispatch): Add entry text mode to the view
1379         key menu.
1380         (org-agenda-entry-text-mode): New command.
1381         (org-agenda-set-mode-name): Add entry text mode to the mode line
1382         string.
1383         (org-agenda-undo, org-agenda-get-restriction-and-command)
1384         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1385         `goto-line'.
1387 2009-08-26  Bernt Hansen  <bernt@norang.ca>
1389         * org-clock.el (org-notify): Bugfix.
1391 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
1393         * org-agenda.el (org-agenda-open-link): Handle multiple links and
1394         check for after-string.
1396         * org-gnus.el (org-gnus-store-link): Simplify.
1398         * org.el (org-latex-regexps): Don't add extra empty lines for
1399         display formulas.
1401 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
1403         * org-agenda.el (org-agenda-get-some-entry-text): New function.
1404         (org-agenda-add-entry-text): Use
1405         `org-agenda-get-some-entry-text'.
1407         * org.el (org-cycle-separator-lines): Update docstring.
1408         (org-cycle-show-empty-lines): Handle negative values for
1409         `org-cycle-show-empty-lines'.
1411         * org-exp.el (org-export-protect-sub-super): New function.
1412         (org-export-normalize-links): Protect the url of plain links from
1413         supscript and superscript processing.
1415         * org-remember.el (org-remember-escaped-%): New function.
1416         (org-remember-apply-template): Use `org-remember-escaped-%' to
1417         detect escaped % signs.
1419 2009-08-23  Bastien Guerry  <bzg@altern.org>
1421         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1422         sound when showing the notification.
1424         * org-clock.el (org-notify): New function.
1425         (org-clock-notify-once-if-expired): Use `org-notify'.
1427         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1428         and `gnus-article-mode' separately.
1429         (gnus-summary-article-header): Fix the declare-function.
1431 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
1433         * org-exp.el (org-export-format-source-code-or-example): Translate
1434         language.
1436         * org-src.el (org-src-lang-modes): New variable
1437         (org-edit-src-code): Translate language.
1439         * org-exp.el (org-export-format-source-code-or-example): Deal wit
1440         the new structure of the `org-export-latex-listings-langs'
1441         variable.
1443         * org-latex.el (org-export-latex-listings-langs): Change structure
1444         of the variable from plist to alist.
1446 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
1448         * org.el (org-in-commented-line): New function.
1450 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
1452         * org.el (org-hide-block-toggle): Make folded blocks searchable.
1454 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
1456         * org.el (org-flag-drawer): More useful error.
1458 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
1460         * org-remember.el (org-remember-apply-template): Use
1461         org-icompleting-read.
1463         * org-publish.el (org-publish): Use org-icompleting-read.
1465         * org-colview.el (org-columns-edit-value, org-columns-new)
1466         (org-insert-columns-dblock): Use org-icompleting-read.
1468         * org-colview-xemacs.el (org-columns-edit-value)
1469         (org-columns-new, org-insert-columns-dblock): Use
1470         org-icompleting-read.
1472         * org-attach.el (org-attach-delete-one, org-attach-open): Use
1473         org-icompleting-read.
1475 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
1477         * org.el (org-hierarchical-todo-statistics): Improve docstring.
1478         (org-version): Return the version text.
1479         (org-org-menu): Add a menu entry for the new bug reporter.
1480         (org-submit-bug-report): New command.
1482         * org-list.el (org-hierarchical-checkbox-statistics): Improve
1483         docstring.
1485         * org.el (org-emphasis-regexp-components): Add "`" to set of
1486         pre-emphasis characters.
1488         * org-latex.el (org-export-latex-classes): Always include the soul
1489         package.
1490         (org-export-latex-emphasis-alist): Use \st for strikethough.
1492         * org-exp-blocks.el (org-export-blocks-preprocess): Use
1493         `indent-code-rigidly' to indent.
1495         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1496         properties only if MATCH really is a string.
1498 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
1500         * org-latex.el (org-export-latex-packages-alist): Fix
1501         customization type.
1503         * org.el (org-create-formula-image): Also use
1504         `org-export-latex-packages-alist'.
1506         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1507         (org-export-as-html): Format footnotes correctly.
1509 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
1511         * org.el (org-fast-tag-selection): Avoid text properties on tags
1512         in the alist.
1514         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1515         text properties on the match element.
1517 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
1519         * org.el (org-set-regexps-and-options): Make sure the list of done
1520         keywords is not invalid.
1522         * org-exp.el (org-export-interpolate-newlines): New function.
1524 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
1526         * org.el (org-format-latex): Avoid nested overlays.
1528         * org-latex.el (org-export-latex-listings-langs): Add a few more
1529         languages.
1531         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1532         ignore newlines and space before the first macro argument.
1534         * org-latex.el (org-export-latex-tables): Remove save-excursion
1535         around `org-table-align'.
1537 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
1539         * org.el (org-export-html-special-string-regexps): Definition
1540         moved into org.el
1542         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1543         in macro calls.
1545 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
1547         * org-latex.el (org-export-latex-listings)
1548         (org-export-latex-listings-langs): New options.
1550         * org-exp.el (org-export-format-source-code-or-example): Use
1551         listing package if requested by the user.
1553 2009-08-08  Bastien Guerry  <bzg@altern.org>
1555         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1556         command before actually switching to a buffer.
1558 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
1560         * org-exp.el (org-get-file-contents): Only quote org lines when
1561         the markup is src or example.
1563         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1564         New option
1565         (org-agenda-get-day-entries): Remember deadline results and pass
1566         them on into the function getting the scheduling information.
1567         (org-agenda-get-scheduled): Accept deadline results as parameters
1568         and maybe skip some entries.
1569         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1571         * org.el (org-insert-heading): When respecting content, do not
1572         convert current line to headline.
1574         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1575         cheeeeeck the hd marker
1576         (org-clock-in): Also set the hd marker.
1577         (org-clock-out): Also set the hd marker.
1578         (org-clock-cancel): Reset markers.
1580         * org.el (org-clock-hd-marker): New marker.
1582         * org-faces.el (org-agenda-clocking): New face.
1584         * org-agenda.el (org-agenda-mark-clocking-task): New function.
1585         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1587         * org.el (org-modules): Add org-track.el.
1589         * org-agenda.el (org-agenda-bulk-marked-p): New function.
1590         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1591         `org-agenda-bulk-marked-p'.
1592         (org-agenda-bulk-toggle): New command.
1594 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1596         * org.el (org-move-subtree-down): Hide subtree if it was folded,
1597         not just the body.
1599         * org-remember.el (org-remember-finalize): Avoid buffer-modified
1600         messages.
1602 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
1604         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
1605         before gnuplot can read it.
1607 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
1609         * org-latex.el (org-export-latex-first-lines): Fix bug with
1610         finding the end of the first lines.
1612         * org.el (org-create-formula-image): Remove the -E option for
1613         dvipng.
1615         * org-exp.el (org-default-export-plist): Respect #+BIND.
1616         (org-export-confirm-letbind): New function.
1618         * org.el (org-paste-subtree): Test the kill ring entry if it is
1619         going to be used.
1620         (org-copy-subtree): Use `org-forward-same-level'.
1621         (org-forward-same-level): Respect the `invisibe-ok' arg for
1622         back-to-heading.
1624 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
1626         * org.el (org-table-map-tables): Make sure cursor is back at table
1627         beginning after funcall.
1629         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1630         handled before children, and do not error if an entry is not
1631         found, probably because it hase been remove when the parent was
1632         archived or refiled.
1634         * org.el (org-ido-completing-read): Accept straight lists for
1635         completion as well as alists.
1637         * org-html.el (org-export-as-html): Fix parenthesis error in
1638         footnore code.
1640         * org-timer.el (org-timer-cancel-timers): Renamed from
1641         `org-timer-cancel-timers'.
1643         * org.el (org-cycle-internal-local): Fix problem with finding next
1644         invisible line.
1646 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
1648         * org-list.el (org-list-send-list): Call
1649         `org-list-goto-true-beginning' instead of
1650         `org-list-find-true-beginning', which does not exist.
1652         * org-timer.el (org-timer-reset-timers): Use `mapc'.
1653         (org-timer-set-timer): Do not assign to heading.
1655         * org-id.el (org-id-open): Quote function name.
1657         * org-macs.el (org-unmodified): Turn off recording undo
1658         information while running inside the macro.
1660         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
1661         variable.
1662         (org-indent-mode): Remember and restore value of
1663         org-hide-leading-stars before `org-indent-mode'.
1665         * org-table.el (org-table-export): Also work in file-less
1666         buffers.
1668         * org.el (org-startup-indented): New option.
1669         (org-startup-options): Add new options indent and noindent.
1670         (org-unfontify-region): Remove line-prefix and wrap-prefix
1671         properties.
1672         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
1673         hooks.
1674         (org-promote, org-demote): Run the new hooks.
1676         * org-table.el (org-table-align): Replace leading \n as well.
1678         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
1679         and `line-wrap' text properties.
1681         * org-compat.el (org-kill-new): New function.
1683         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
1684         `line-wrap' text properties.
1686         * org-indent.el: New file.
1688 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
1690         * org.el (org-provide-todo-statistics): Tweak docstring.
1692         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
1694 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
1696         * org-exp.el (org-export-as-org): Insert the "-source" string
1697         before the extension.
1699         * org.el (org-read-date): Make sure the calendar is in the current
1700         frame.
1701         (org-set-emph-re): Remove the ? from the post-match.
1702         (org-emphasis-regexp-components): Add backslash to the
1703         postmatch class.
1704         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
1705         optional so that also lines at the end of the buffers will still
1706         be matched as headlines.
1708         * org-table.el (org-table-error-on-row-ref-crossing-hline):
1709         Variable made obsolete.
1710         (org-table-relative-ref-may-cross-hline): New option.
1711         (org-table-find-row-type): Honow the new option
1712         `org-table-relative-ref-may-cross-hline'.
1714 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
1716         * org-table.el (org-table-cut-region, org-table-copy-region): Work
1717         on single field if no active region.
1719 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
1721         * org-latex.el (org-export-latex-make-header): Only insert title
1722         if one is defined.
1724         * org.el (org-make-options-regexp): Allow empty values.
1726         * org-html.el (org-export-as-html): Move hrule detection to after
1727         plain list handling.
1729 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
1731         * org-html.el (org-format-org-table-html): Fix colgroup tags.
1733 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
1735         * org.el (org-cycle-internal-local): Improved version of finding
1736         next visible line.
1737         (org-cycle-hide-drawers): Only hide drawers if this is really
1738         necessary.
1739         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
1740         org-version of this function in Org-mode.  We use advice to
1741         implement this change, so that future changes to this function in
1742         outline.el wil be handled properly.
1743         (org-forward-same-level, org-backward-same-level): New commands.
1745 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
1747         * org.el (org-remove-empty-overlays-at)
1748         (org-clean-visibility-after-subtree-move): New functons.
1749         (org-move-subtree-down): Simplify cleanup of display.
1751 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
1753         * org-mac-message.el (org-mac-message-get-links): Improve
1754         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
1755         "s".  Fix the return value.
1756         (org-mac-message-insert-flagged): Simplify.
1758         * org.el (org-refile-get-location): Tamper with refile history o
1759         that history contains compete matches instead of the entered
1760         string.
1762 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
1764         * org.el (org-store-link): Never store a link to an inline task.
1766         * org-inlinetask.el (org-inlinetask-insert-task): New command.
1768         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
1769         inline tasks when positioning footnotes.
1771         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
1772         function.
1774         * org.el (org-refile): Remove the END line when archiving an
1775         inline task that does have an END line.
1777         * org-archive.el (org-archive-subtree): Remove the END line when
1778         archiving an inline task that does have an END line.
1780         * org-macs.el (org-with-limited-levels): New macro.
1781         (org-get-limited-outline-regexp): New function.
1783         * org-exp.el (org-export-format-source-code-or-example): Fix bug
1784         that did not enumerate first line.
1785         (org-export-mark-radio-links): Skip matches in links.
1787 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
1789         * org.el (org-activate-plain-links): Make single-match.
1790         (org-adapt-indentation): Fix docstring.
1792         * org-macs.el (org-unmodified): Turn of modification hooks while
1793         running this macro.
1795 2009-08-02  Bastien Guerry  <bzg@altern.org>
1797         * org.el (org-adapt-indentation): Slightly improve the docstring.
1798         (org-occur): Sends an error when the user inputs an empty string.
1799         (org-priority): Bugfix: the tag alignement should happen within
1800         save-excursion.
1802 2009-07-31  Bastien Guerry  <bzg@altern.org>
1804         * org.el (org-make-link-regexps): Don't exclude parentheses from
1805         `org-plain-link-re'
1806         (org-cycle-internal-local): When locally cycling, switch directly
1807         from CHILDREN to FOLDED if there is no subtree
1808         (org-cycle): Update the docstring to document the new behavior of
1809         `org-cycle-internal-local'.
1811 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
1813         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
1814         an abbreviated format for days.
1816 2009-07-27  Bastien Guerry  <bzg@altern.org>
1818         * org-protocol.el (org-protocol-default-template-key): New
1819         option.
1821         * org.el (org-refile): Bugfix: save-excursion before reading the
1822         refile target, otherwise cursor moves might confuse `org-refile'.
1824         * org-html.el (org-export-as-html): Bugfix: correctly convert the
1825         footnote reference before the footnote itself.
1827         * org.el (org-toggle-heading): Bugfix: correctly convert list
1828         items before the first headline.
1830         * org-html.el (org-export-html-footnote-format): New option for
1831         formatting the footnote reference.
1832         (org-export-as-html): Use the new option.
1834         * org.el (org-provide-todo-statistics): Allow a list of TODO
1835         keywords to compute statistics against headlines containing a
1836         keyword from this list.
1837         (org-update-parent-todo-statistics): Possibly use the new allowed
1838         value of `org-provide-todo-statistics'.
1840 2009-07-26  Bastien Guerry  <bzg@altern.org>
1842         * org-timer.el: Add autoload cookie.
1844         * org.el (org-occur-link-in-agenda-files): New function.
1846         * org-timer.el (org-timer-last-timer): New variable.
1848         * org-agenda.el (org-agenda-mode-map): New key for
1849         org-timer-set-timer called from the agenda.
1851         * org.el (org-mode-map): New key for org-timer-set-timer.
1853         * org-timer.el (org-timer-reset-timers)
1854         (org-timer-show-remaining-time, org-timer-set-timer): New
1855         functions.
1857         * org-clock.el (org-show-notification): Update the docstring.
1859         * org.el (org-provide-todo-statistics): Allow new value
1860         'all-headlines for this option, which includes entries with no
1861         TODO keywords in the todo statistics.
1862         (org-update-parent-todo-statistics): Possibly use the new
1863         'all-headline value from `org-provide-todo-statistics'.
1865 2009-07-25  Bastien Guerry  <bzg@altern.org>
1867         * org-clock.el (org-dblock-write:clocktable): Add a new option
1868         :timestamp which allows display of timestamps in clock reports.
1870         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
1871         list to a subtree, preserving the structure of the list.
1872         (org-set-emph-re): Make the last element optional in the regexp.
1873         This regexp now matches an emphasized string at the end of a line.
1875         * org-list.el (org-list-goto-true-beginning)
1876         (org-list-make-subtree, org-list-make-subtrees): New functions.
1878         * org.el (org-eval-in-calendar): Select the right frame.
1879         (org-save-frame-excursion): Remove this macro.
1881 2009-07-24  Bastien Guerry  <bzg@altern.org>
1883         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
1884         trying to find the beginning of a list.
1886         * org-exp.el (org-get-file-contents): Use a new argument: markup.
1887         When present, tell org-get-file-contents not to protect org-like
1888         lines.
1890         * org-id.el (org-id-uuid-program): New option to set the name of
1891         the uuidgen program.
1892         (org-id-method): Use `org-id-uuid-program'.
1893         (org-id-new): Use `org-id-uuid-program'.
1895 2009-07-23  Bastien Guerry  <bzg@altern.org>
1897         * org-exp.el (org-export-number-lines): Allow whitespace in code
1898         references.  Allow the -r switch to remove the references in the
1899         source code even when the lines are not numbered: the labels can
1900         be explicit enough.
1902         * org.el (org-fontify-whole-heading-line): New option.
1903         (org-set-font-lock-defaults): Use the new option.
1905         * org-clock.el (org-show-notification-handler): New option.
1906         (org-show-notification): Use the new option.
1908 2009-07-21  Bastien Guerry  <bzg@altern.org>
1910         * org.el (org-eval-in-calendar): Fix a bug about calendar
1911         navigation when `calendar-setup' value is 'calendar-only.
1913 2009-07-19  Bastien Guerry  <bzg@altern.org>
1915         * org.el (orgstruct++-mode): Fix typo in docstring.
1916         (org-insert-link): Clean up: (or (...)) => (...)
1917         (org-insert-link): Use TAB for stored links completion.
1919 2009-07-18  Bastien Guerry  <bzg@altern.org>
1921         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
1922         building the list of targets.
1924         * org-remember.el (org-remember-delete-empty-lines-at-end): New
1925         option.
1926         (org-remember-handler): Use the new option.
1928 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
1930         * org.el (org-tags-sort-function): New option for sorting tags.
1931         (org-set-tags): Use the new option to sort tags.
1933         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
1934         premature deletion of the data when using org-plot in a script.
1936 2009-07-17  Bastien Guerry  <bzg@altern.org>
1938         * org-clock.el (org-clock-in-prepare-hook): New hook.
1939         (org-clock-in): Use this new hook.
1941 2009-07-16  Bastien Guerry  <bzg@altern.org>
1943         * org.el (org-special-ctrl-a/e): Explicitely bind the value
1944         'reversed for this option to the "true line boundary first"
1945         behavior.
1946         (org-tags-match-list-sublevels): Document the 'indented value for
1947         this variable.
1949         * org-latex.el (org-export-latex-first-lines): Fix problem with
1950         publishing the region.
1952         * org-exp.el (org-export-format-source-code-or-example): Fix
1953         bad line numbering when exporting examples in HTML.
1955         * org-colview.el (org-format-time-period): Formats a time in
1956         fractional days as days, hours, mins, seconds.
1957         (org-columns-display-here): Add special handling for SINCE and
1958         SINCE_IA to format for display.
1960 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
1962         * org.el (org-tags-sort-function): Add custom declaration for tags
1963         sorting function.
1964         (org-set-tags): Sort tags if org-tags-sort-function is set
1966 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
1968         * org-clock.el (org-clock-goto): Find hidden headlines as well.
1970         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
1972         * org-plot.el (org-plot/add-options-to-plist): Add timeind
1973         option.
1975 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
1977         * org-publish.el (org-publish-remove-all-timestamps): New function.
1978         (org-publish-all): Remove all timestamp files if `org-publish-all'
1979         is called with a prefix argument.
1981         * org-list.el (org-indent-item): Fix typo.
1982         (org-item-indent-positions): Normalize ordered bullet.
1984         * org-html.el (org-export-html-home/up-format): New option.
1985         (org-export-as-html): Insert the up and HOME links.
1987 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
1989         * org-html.el (org-export-as-html): Insert the title into the
1990         option plist.
1991         (org-export-html-insert-plist-item): New function.
1992         (org-export-as-html): Call `org-export-html-insert-plist-item'.
1994         * org-macs.el (org-set-local): Make a local variable, do not make
1995         the variable buffer-local!
1997         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
1999         * org-html.el (org-export-as-html): Call `org-install-letbind'.
2001         * org-docbook.el (org-export-as-docbook): Call
2002         `org-install-letbind'.
2004         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2006         * org-exp.el (org-infile-export-plist): Read BIND lines.
2007         (org-install-letbind): New function.
2008         (org-export-as-org, org-export-preprocess-string): Call
2009         `org-install-letbind'.
2011         * org-src.el (org-edit-src-exit): Untabify the example before
2012         returning to Org.
2014         * org-list.el (org-list-demote-modify-bullet): New option.
2015         (org-first-list-item-p): Save point.
2016         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2017         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2018         (org-item-indent-positions): Return bullet types along with
2019         indentation.
2021 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
2023         * org.el (org-show-entry): Hide drawers.
2025 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
2027         * org-footnote.el (org-footnote-auto-adjust): New option.
2028         (org-footnote-auto-adjust-maybe): New function.
2029         (org-footnote-new, org-footnote-delete): Call
2030         `org-footnote-auto-adjust-maybe'.
2032         * org.el (org-startup-options): Add new footnote-related
2033         keywords.
2035         * org-publish.el (org-publish-timestamp-filename): Additional
2036         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2037         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2038         TRUE-PUB-DIR.  Pass them through to
2039         `org-publish-timestamp-filename'.
2040         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2041         PUB-FUNC, which are included in the hash.
2042         (org-publish-file): Delay timestamp test until the publishing
2043         function is known.
2045 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
2047         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2048         setting the deadline.
2050         * org.el (org-read-date-final-answer): New variable.
2051         (org-read-date): Store the final answer string, including the date
2052         from the calendar, for reuse by agenda bulk commands.
2054         * org-publish.el (org-publish-attachment): Fix publishing of
2055         attachments.
2057         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2058         quotation makrs in parenthesis.
2059         (org-remove-initial-hash): New function.
2060         (org-export-latex-preprocess): Fix bug with infinite loop if
2061         environment is not properly closed.
2063         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2064         when indented.
2066         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2067         highlight also when indented.
2069 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
2071         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2072         (org-footnote-action): Offer renumbering.
2074         * org.el (org-cycle): Honor the `integrate' value of
2075         org-cycle-include-plain-lists'.
2077         * org-list.el (org-cycle-include-plain-lists): New allowed value
2078         `internal'.  Improve the docstring.
2080         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2081         regexp to work better with LaTeX commands.
2083 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
2085         * org-feed.el (org-feed-update): fix problem with non-existing
2086         buffer.
2087         (org-feed-skip-http-headers): New function.
2088         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2089         (org-feed-get-feed): Fix command line arguments for curl.
2091 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
2093         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2094         and eps extensions.
2096 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2098         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2099         loaded.
2101         * org.el (org-map-entries): No longer force
2102         `org-tags-match-list-sublevels' to t during a todo-only tags
2103         search.
2105 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2107         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2108         environment.
2109         (org-export-latex-subcontent): Handle user-defined environment.
2111         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2112         the View dispatcher.
2114         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2115         `make-overlay'.
2117         * org-latex.el (org-export-as-pdf): Protect match data during call
2118         to shell-quote-argument.
2120         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2121         (org-agenda-view-mode-dispatch): New function.
2123 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2125         * org-agenda.el (org-agenda-mode): Reset list of marks.
2126         (org-agenda-mode-map): Define new keys for refile and bulk action.
2127         (org-agenda-menu): Add menu itesm for refile and bulk action.
2128         (org-agenda-refile): New function.
2129         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2130         (org-agenda-marked-entries): New variable.
2131         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2132         (org-agenda-remove-all-bulk-action-marks)
2133         (org-agenda-bulk-action): New functions/commands.
2135 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2137         * org-exp.el (org-get-file-contents): Protect org-like lines in
2138         included files.
2139         (org-export-format-source-code-or-example): Remove newlines.
2141         * org-latex.el (org-export-latex-links): Check for no-description
2142         marking.
2144         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2145         argument separator back to comma.
2146         (org-export-normalize-links): Mark links without description.
2148 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2150         * org-exp.el (org-infile-export-plist): Fix bug in macro
2151         processing.
2153         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2154         out.
2155         (org-agenda-highlight-todo): Fix bug with highlighting.
2157 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2159         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2160         new alignment strings.
2162         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2163         command list.
2164         (org-table-align): Check for forced align type.
2166         * org.el (org-self-insert-command): Add yas/expand to command
2167         list.
2169         * org-clock.el (org-clock-in-hook): New hook.
2170         (org-clock-in): Run `org-clock-in-hook.
2171         (org-clock-out-hook): New hook.
2172         (org-clock-out): Run `org-clock-out-hook.
2173         (org-clock-cancel-hook): New hook.
2174         (org-clock-cancel): Run `org-clock-cancel-hook.
2175         (org-clock-goto-hook): New hook.
2176         (org-clock-goto): Run `org-clock-goto-hook.
2178 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2180         * org.el (org-store-link): Better default description for link to
2181         Org-mode headline.
2183         * org-exp.el (org-export-generic): Autoload the generic exporter
2184         function.
2185         (org-export): Implement the `g' key for the generic exporter.
2187 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2189         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2190         and for zbacktab'.
2192         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2194         * org-exp.el (org-infile-export-plist): Get macros also from
2195         #+SETUPFILE.
2197 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2199         * org-colview.el (org-columns-capture-view): Protect vertical bars
2200         in column values.
2201         (org-columns-capture-view): Exclude comment and archived trees.
2203         * org-colview-xemacs.el (org-columns-capture-view): Protect
2204         vertical bars in column values.
2205         (org-columns-capture-view): Exclude comment and archived trees.
2207         * org.el (org-quote-vert): New function.
2209         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2211         * org-exp.el (org-export-format-source-code-or-example): Use
2212         `org-export-latex-verbatim-wrap'.
2214         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2215         time stamps.
2217         * org-html.el (org-export-table-row-tags): New option.
2218         (org-format-org-table-html): Rename `nlines' to `nline', use new
2219         option.
2222 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2224         * org-exp-blocks.el: Declare functions and variables.
2226         * org-remember.el (org-remember-templates): Allow the headline
2227         element to be a function.
2228         (org-remember-apply-template): If the headline is a function, call
2229         it to get the true function.
2231         * org-clock.el (org-clock-menu): New function.
2232         (org-clock-update-mode-line): Update help string.
2233         (org-clock-modify-effort-estimate): New function.
2234         (org-clock-mark-default-task): New function.
2236         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2237         minutes as input.
2238         (org-org-menu): Add new clocking stuff.
2239         (org-clock-is-active): New function.
2241 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2243         * org.el (org-open-non-existing-files): Improve docstring.
2245 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2247         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2248         option.
2249         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2251         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2253         * org-list.el (org-get-checkbox-statistics-face): Use the new
2254         faces.
2256         * org-faces.el (org-checkbox-statistics-todo)
2257         (org-checkbox-statistics-done): New faces.
2259 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
2261         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2262         (org-edit-src-exit): Better cursor positioning when returning from
2263         editing.
2265         * org-latex.el (org-export-latex-use-verb): New variable.
2266         (org-export-latex-emph-format): Prefer \texttt over \verb when
2267         org-export-latex-use-verb is set.
2269 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
2271         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2272         at normal indentation.
2274         * org-html.el (org-export-html-close-lists-maybe): Also look at
2275         normal indentation.
2277         * org-remember.el (org-remember-handler): Abort remember if the
2278         buffer is empty.
2280         * org-src.el (org-edit-src-content-indentation): New option.
2281         (org-edit-src-exit): Apply extra indentation.
2283         * org-exp.el (org-export-format-source-code-or-example): Run
2284         `org-src-mode-hook'.
2286         * org-src.el (org-src-mode-hook): New variable.
2287         (org-edit-src-code): Run `org-src-mode-hook'.
2289 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2291         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2293         * org-src.el (org-edit-src-get-indentation): New function.
2294         (org-edit-src-code): Base indentation on the begin line.
2296 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
2298         * org-gnus.el (org-gnus-store-link): Require message.el in
2299         org-gnus-store-link.
2301 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2303         * org-src.el: New file, split out of org.el
2305         * org-docbook.el (org-export-as-docbook): Better indentation
2306         treatment.
2308         * org-macs.el (org-replace-match-keep-properties): New function.
2310         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2311         preprocessing of center and quote and verse blocks.
2313         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2314         (org-export-as-docbook): Close lists when original indentation
2315         mandates it.
2317         * org-html.el (org-export-html-close-lists-maybe): New function.
2318         (org-export-as-html): Close lists when original indentation
2319         mandates it.
2321         * org-list.el (org-list-end): Respect the stored "original"
2322         indentation when determining the end of the list.
2324         * org-exp.el (org-export-replace-src-segments-and-examples):
2325         Remember indentation correctly.
2327 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
2329         * org-clock.el (org-clock-update-mode-line): Apply face
2330         org-mode-line-clock.
2332         * org-faces.el (org-mode-line-clock): New face.
2334 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
2336         * org-gnus.el (org-gnus-store-link): Fix bug where
2337         `org-gnus-store-link' used wrong subject when called in an article
2338         buffer.  Patch provided by fengli AT gmail DOT com.
2340 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
2342         * org-exp.el (org-export-format-source-code-or-example): Remember
2343         the original indentation of source code snippets and examples.
2345         * org-latex.el (org-export-as-latex): Relocate the table of
2346         contents.
2348         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2350         * org-agenda.el (org-run-agenda-series): Scope global options also
2351         when creating the agenda buffer.
2353 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
2355         * org.el (org-adapt-indentation): Improve documentation.
2356         (org-insert-property-drawer): Respect org-adapt-indentation when
2357         inserting the drawer.
2358         (org-remove-flyspell-overlays-in): New function.
2359         (org-do-emphasis-faces, org-activate-plain-links)
2360         (org-activate-code, org-fontify-meta-lines-and-blocks)
2361         (org-activate-angle-links, org-activate-footnote-links)
2362         (org-activate-bracket-links, org-activate-dates)
2363         (org-activate-target-links, org-activate-tags): Remove flyspell
2364         overlays.
2366 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
2368         * org.el (org-edit-src-save): New function.
2370         * org-clock.el (org-clock-out-switch-to-state): New option.
2371         (org-clock-out): Honor `org-clock-out-switch-to-state'.
2373         * org-compat.el (org-compatible-face): Improve macro.
2375         * org.el (org-global-properties-fixed): Add default for
2376         CLOCK_MODELINE_TOTAL.
2378         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2379         andd tend.
2380         (org-clock-sum-current-item): Optional argument TSTART, pass it to
2381         org-clock-sum.
2382         (org-clock-get-sum-start): New function.
2384         * org.el (org-startup-options): New keywords blockhide and
2385         blockshow.
2386         (org-mode): Add new invisibility spec.
2387         (org-set-startup-visibility): Hide block on startup if so
2388         desired.
2389         (org-hide-block-startup): New option.
2390         (org-block-regexp): New constant.
2391         (org-hide-block-overlays): New variable.
2392         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2393         (org-show-block-all, org-hide-block-toggle-maybe)
2394         (org-hide-block-toggle): New functions.
2395         (org-edit-src-exit): Do not quote lines starting with # and no +
2396         behind it.
2397         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2398         entry.
2400 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
2402         * org.el (org-buffer-property-keys): Add Effort property for
2403         completion.
2405 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
2407         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2408         when retrieving total clocked time in the subtree.
2410         * org.el (org-quoting-blocks): New variable.
2412 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2414         * org-table.el (org-table-store-formulas)
2415         (org-table-get-stored-formulas, org-table-fix-formulas)
2416         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2417         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2419         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2420         indented #+TBLFM line.
2422         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2423         indented #+TBLFM line.
2425         * org-colview.el (org-dblock-write:columnview): Allow indented
2426         #+TBLFM line.
2428         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2429         indented #+TBLFM line.
2431         * org-clock.el (org-dblock-write:clocktable): Allow indented
2432         #+TBLFM line.
2434 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
2436         * org-exp.el (org-export-format-source-code-or-example): Make
2437         editing indented blocks work correctly.
2439         * org.el (org-edit-src-nindent): New variable.
2440         (org-edit-src-code, org-edit-fixed-width-region)
2441         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2442         editing indented blocks work correctly.
2444 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
2446         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2447         indented blocks.
2448         (org-export-format-source-code-or-example): Fix indentation of
2449         blocks.
2450         (org-export-remove-indentation): New function.
2451         (org-export-select-backend-specific-text): Allow backend-specific
2452         code to be indented.
2453         (org-export-mark-blockquote-verse-center): Allow markers to be
2454         indented.
2456         * org.el (org-fontify-meta-lines): New function.
2457         (org-set-font-lock-defaults): Call the new fontification
2458         function.
2460         * org-faces.el (org-meta-line): New face
2461         (org-block):  New face.
2463 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2465         * org.el (org-treat-insert-todo-heading-as-state-change)
2466         (org-treat-S-cursor-todo-selection-as-state-change): New
2467         variables.
2468         (org-insert-todo-heading): Honor
2469         `org-treat-insert-todo-heading-as-state-change'.
2470         (org-shiftright, org-shiftleft): Honor
2471         `org-treat-S-cursor-todo-selection-as-state-change'.
2472         (org-inhibit-logging): New variable.
2474 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
2476         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2477         range for marker position checking.
2479         * org-latex.el (org-export-latex-first-lines): Fix bug when
2480         exporting a region.
2482 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
2484         * org-exp.el (org-export-push-to-kill-ring): Protect using
2485         x-set-selection, because that does not always work.
2487         * org-agenda.el (org-agenda-list): Apply the new face
2488         `org-agenda-date-today'.
2490         * org-faces.el (org-agenda-date-today): New face.
2492 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
2494         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2495         creating appointments.
2497         * org-latex.el (org-export-latex-low-levels): Fix customization
2498         type.
2500         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2501         priority commands.
2503         * org-agenda.el (org-agenda-priority): Disable priority commands.
2505         * org.el (org-enable-priority-commands): New option.
2507         * org-colview-xemacs.el (org-columns-compute)
2508         (org-columns-number-to-string): Fix problems with empty fields.
2510         * org-colview.el (org-columns-compute)
2511         (org-columns-number-to-string): Fix problems with empty fields.
2513         * org-exp.el (org-export-push-to-kill-ring): New function.
2514         (org-export-copy-to-kill-ring): New option.
2516         * org-latex.el (org-export-as-latex): Call
2517         `org-export-push-to-kill-ring'.
2519         * org-html.el (org-export-as-html): Call
2520         `org-export-push-to-kill-ring'.
2522         * org-docbook.el (org-export-as-docbook): Call
2523         `org-export-push-to-kill-ring'.
2525         * org-ascii.el (org-export-as-ascii): Call
2526         `org-export-push-to-kill-ring'.
2528         * org-exp.el (org-export-show-temporary-export-buffer): New
2529         option.
2531         * org-latex.el (org-export-as-latex): Use
2532         `org-export-show-temporary-export-buffer'.
2534         * org-html.el (org-export-as-html): Use
2535         `org-export-show-temporary-export-buffer'.
2537         * org-docbook.el (org-export-as-docbook): Use
2538         `org-export-show-temporary-export-buffer'.
2540         * org-ascii.el (org-export-as-ascii-to-buffer): Use
2541         `org-export-show-temporary-export-buffer'.
2543         * org-exp.el (org-export-show-temporary-export-buffer): New
2544         option.
2545         (org-export-push-to-kill-ring): New function.
2547         * org-colview.el (org-columns-compile-map): New variable.
2548         (org-columns-new, org-columns-compute)
2549         (org-columns-number-to-string, org-columns-uncompile-format)
2550         (org-columns-compile-format): Implement new operators.
2552 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
2554         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2556         * org-html.el (org-export-html-xml-declaration): New option.
2557         (org-export-as-html): Use `org-export-html-xml-declaration'.
2559         * org-list.el (org-update-checkbox-count): Make property
2560         dependent.
2562         * org.el (org-hierarchical-todo-statistics): New option.
2563         (org-update-parent-todo-statistics): Modified to handle recursive
2564         statistics.
2566 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
2568         * org-publish.el (org-publish): Make this function behave
2569         correctly in interactive use when called with a prefix argument.
2571         * org.el (org-todo-statistics-hook): New hook.
2572         (org-update-parent-todo-statistics): Use new hook.
2573         (org-log-into-drawer): New function.
2574         (org-add-log-setup): Use the new `org-log-into-drawer' function to
2575         determine if we should be logging into a drawer.
2576         (org-log-into-drawer): Update docstring.
2577         (org-default-properties): Add LOG_INTO_DRAWER as a property.
2579         * org-list.el (org-checkbox-statistics-hook): New hook.
2580         (org-update-checkbox-count-maybe): Use new hook.
2582         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
2583         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
2584         to kill ring.
2586 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
2588         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
2589         a line.
2591 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
2593         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2594         better bufer-generating mechanism.
2595         (org-edit-src-find-buffer): New function.
2597         * org-icalendar.el (org-print-icalendar-entries): Don't check for
2598         archive tag, this is already done by `org-agenda-skip'.
2599         data while constructing lost of tags.
2601 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
2603         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2604         as argument separator in macros.
2606         * org-html.el (org-export-as-html): Add xml declaration.
2608 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
2610         * org.el (org-after-sorting-entries-or-items-hook): New hook.
2611         (org-sort-entries-or-items): Run the new hook.
2612         (org-after-refile-insert-hook): New hook.
2613         (org-refile): Run `org-after-refile-insert-hook'.
2615         * org-agenda.el (org-agenda-get-progress): Never take time of day
2616         from headline when displaying progress.
2618         * org-latex.el (org-export-latex-complex-heading-re): New variable.
2619         (org-export-as-latex): Force the correct regexp in the
2620         preprocessor buffer.
2621         (org-export-latex-set-initial-vars): Set
2622         `org-export-latex-complex-heading-re'.
2624         * org-agenda.el (org-agenda-start-with-log-mode): New option.
2625         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2627 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
2629         * org-latex.el (org-export-latex-tables-centered): New option.
2630         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2632         * org-exp.el (org-export-as-org): New command.
2633         (org-export-as-org): New command.
2635         * org-publish.el (org-publish-org-to-org): New function.
2637 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
2639         * org.el (org-yank): Just call `org-yank-generic'.
2640         (org-yank-generic): New function, containing the formaer
2641         functionality of `org-yank'.
2643         * org-latex.el (org-export-latex-not-done-keywords)
2644         (org-export-latex-done-keywords): New variables.
2645         (org-export-latex-todo-keyword-markup): New option.
2646         (org-export-latex-set-initial-vars): Remember the TODO keywords.
2647         (org-export-latex-keywords-maybe): Apply the TODO markup.
2649 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
2651         * org-exp.el (org-infile-export-plist): Add more default macros.
2652         (org-export-preprocess-apply-macros): Process macro arguments.
2654 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
2656         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
2657         `unblocked'.
2658         (org-print-icalendar-entries): Respect the new value of
2659         `org-icalendar-include-todo'.
2661         * org.el (org-link-try-special-completion)
2662         (org-file-complete-link): New functions.
2663         (org-insert-link): Add special completion support for some link
2664         types.
2666         * org-bbdb.el (org-bbdb-complete-link): New function.
2668 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
2670         * org-list.el (org-update-checkbox-count): Allow recursive
2671         statistics.
2672         (org-hierarchical-checkbox-statistics): New option.
2674         * org.el (org-cycle): Remove erraneous space character.
2676         * org-icalendar.el (org-icalendar-timezone): Initialize from
2677         environment.
2679         * org-html.el (org-format-org-table-html): Specify the scope.
2680         (org-format-table-table-html): Specify the scope.
2681         (org-export-table-header-tags): Prepare the scope parameter.
2683 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
2685         * org-html.el
2686         (org-export-html-table-use-header-tags-for-first-column): New
2687         option.
2689         * org.el (org-autoload): Fix autoloading of ascii export
2690         functions.
2691         (org-modules): Add org-special-blocks.
2693 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
2695         * org-icalendar.el (org-start-icalendar-file): Use the new option.
2696         (org-ical-timezone): New option.
2698         * org-exp.el (org-export-get-coderef-format): Use the description
2699         is present.
2701         * org.el (org-sort-entries-or-items): Improve docstring, and make
2702         better implementation for time sorting.
2704 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
2706         * org.el (org-edit-src-persistent-message): New option.
2707         (org-edit-src-code, org-edit-fixed-width-region): Use the new
2708         option.
2710         * org-clock.el (org-clock-insert-selection-line): Fix prefious
2711         patch.
2713         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
2714         separate buffer instead of indirect buffer to edit source code.
2715         (org-edit-src-exit): Make this function work with the new setup.
2717         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
2718         are properly fontified before shown in the selection menu.
2720         * org.el (org-fontify-like-in-org-mode): New function.
2722         * org-latex.el (org-export-latex-links): Use the property list to
2723         retrieve the default image attributes.
2725         * org-exp.el (org-export-plist-vars): Add a new option.
2727 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
2729         * org-exp.el (org-export, org-export-visible): Support ASCII
2730         export to buffer
2731         (org-export-normalize-links): Do not protect the description if it
2732         is explicitly given.
2734         * org-ascii.el (org-export-as-ascii-to-buffer)
2735         (org-replace-region-by-ascii, org-export-region-as-ascii): New
2736         commands.
2737         (org-export-as-ascii): Add all the same parameters that are also
2738         supported by the other export functions.
2740         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
2741         org-checklist.el.
2742         (org-reset-checkbox-state-subtree): Call
2743         `org-reset-checkbox-state-subtree'.
2745         * org-remember.el (org-select-remember-template): For the
2746         selection of a valid template.
2748         * org-latex.el (org-export-region-as-latex): Supply the
2749         force-no-subtree argument.
2750         (org-export-as-latex): Provide better limits when exporting the
2751         first line.  When exporting to string, we still want the first
2752         lines.
2753         (org-export-latex-first-lines): New argument END, to force the end
2754         of the region.
2755         (org-export-region-as-latex): Use the property list.
2756         (org-export-as-latex):
2758         * org-colview-xemacs.el (org-columns-remove-overlays)
2759         (org-columns): Fix call to `local-variable-p'.
2761 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
2763         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
2764         (org-export-as-html): Run the new hook.
2766         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
2767         (org-export-latex-preprocess): Run the new hook.
2769         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
2770         (org-export-preprocess-string): Run the new hook.
2772 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
2774         * org-macs.el (org-check-external-command): New defsubst.
2776         * org.el (org-mode-map): New key for reload.
2777         (org-format-latex): Better error message when external programs
2778         are not available.
2780         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
2782         * org.el (org-sort-entries-or-items): Explicit sorting function
2783         for priorities, needed for XEmacs compatibility.
2785         * org-remember.el (org-remember-apply-template): Improve auto-save
2786         behavior.
2788 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
2790         * org-latex.el (org-export-latex-preprocess): Also protect
2791         environments ending in a star.
2793         * org-list.el (org-at-item-p): Fix regular expression.
2795 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
2797         * org.el (org-end-of-subtree): Improve speed.
2799         * org-agenda.el (org-agenda-get-timestamps)
2800         (org-agenda-get-progress, org-agenda-get-deadlines)
2801         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
2802         in particular, wait as long as possible to collect the tags.
2803         (org-stuck-projects): Improve docstring.
2805         * org.el (org-store-link): No errors when getting custom id before
2806         first headline.
2807         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
2809 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
2811         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
2813         * org-protocol.el: Remove dependency on url.el.
2814         (org-protocol-unhex-compound, org-protocol-open-source): Remove
2815         dependency on url.el.
2817         * org-latex.el (org-export-as-pdf): Use
2818         `org-latex-to-pdf-process'.
2820 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
2822         * org-latex.el (org-latex-to-pdf-process): New option.
2824         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
2825         New option.
2826         (org-agenda-get-timestamps): Honor
2827         `org-agenda-skip-additional-timestamps-same-entry'.
2829         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
2830         (org-clock-goto): Find recent task only if
2831         `org-clock-goto-may-find-recent-task' allows it.
2833         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
2834         drawers, and drawers that are missing the :END: line.
2836 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
2838         * org-clock.el (org-clock-goto): Go to recently clocked task if no
2839         clock is running.
2841 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
2843         * org.el (org-update-parent-todo-statistics): Check for
2844         STATISTICS_FROM property.
2846         * org-list.el (org-update-checkbox-count): Check for
2847         STATISTICS_FROM property.
2849         * org.el (org-tab-first-hook)
2850         (org-tab-after-check-for-table-hook)
2851         (org-tab-after-check-for-cycling-hook): New hooks.
2852         (org-cycle-internal-global, org-cycle-internal-local): New
2853         functions, split out from `org-cycle'.
2854         (org-cycle): Call the new hooks.
2856 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
2858         * org-exp.el (org-export-preprocess-string): Reset the list of
2859         preferred targets for each run of the preprocessor.
2861         * org.el (org-refile-target-verify-function): Improve
2862         documentation.
2863         (org-get-refile-targets): Respect point being moved by the
2864         verification function.
2866         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
2867         option.
2868         (org-export-latex-keywords): Use new option.
2870         * org.el (org-rear-nonsticky-at): New defsubst.
2871         (org-activate-plain-links, org-activate-angle-links)
2872         (org-activate-footnote-links, org-activate-bracket-links)
2873         (org-activate-dates, org-activate-target-links)
2874         (org-activate-tags): Place the rear-nonsticky properties at the
2875         correct location.
2877 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
2879         * org-protocol.el (server-edit): Declare `server-edit'.
2880         (org-protocol-unhex-string, org-protocol-unhex-compound): New
2881         functions.
2882         (org-protocol-check-filename-for-protocol): Call `server-edit'.
2884         * org.el (org-default-properties): New default properteis for
2885         completion.
2887         * org-exp.el (org-export-add-subtree-options): Add new properties
2888         for subtree export.
2890         * org-docbook.el (org-export-docbook-keywords-markup)
2891         (org-export-docbook-timestamp-markup): New options.
2892         (org-export-docbook-protect-tags): New function.
2894 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
2896         * org-id.el (org-id-get-with-outline-path-completion): Turn off
2897         org-refile-target-verify-function for the duration of the command.
2899         * org.el (org-link-to-org-use-id): New possible value
2900         `create-if-interactive-and-no-custom-id'.
2901         (org-store-link): Use custom IDs.
2902         (org-link-search): Find custom ID properties from #link.
2903         (org-default-properties): Add CUSTOM_ID for property completion.
2904         (org-refile-target-verify-function): New option.
2905         (org-goto): Turn off org-refile-target-verify-function
2906         for the duration of the command.
2908 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
2910         * org-html.el (org-export-as-html): Use custom IDs in the toc.
2912         * org-exp.el (org-export-preferred-target-alist): New variable.
2913         (org-export-define-heading-targets): Find the new CUSTOM_ID
2914         property.
2915         (org-export-target-internal-links): Target the custom ids when
2916         possible.
2918         * org-latex.el (org-export-latex-preprocess): Better regexp for
2919         matching latex macros with arguments.
2921 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
2923         * org-remember.el (org-remember-handler): Allow filing to non-org
2924         files.
2926 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
2928         * org-feed.el (org-feed-alist): New keyword options.
2929         (org-feed-update): Use the new options.
2930         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
2931         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
2932         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
2933         functions.
2935         * org-table.el (org-table-fix-formulas): Do not change references
2936         to remote tables.
2937         (org-table-get-remote-range): Convert standard coordinates to RC
2938         format.
2940         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
2942 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
2944         * org-compat.el (org-sha1-string): Function removed.
2946         * org.el (org-refile-allow-creating-parent-nodes): New option.
2947         (org-refile-get-location): New argument NEW-NODES.
2948         (org-refile): Call `org-refile-get-location' with the new
2949         argument.
2950         (org-refile-get-location): Arrange for adding a new child.
2951         (org-refile-new-child): New function.
2953         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
2954         an additional span element.
2956         * org-clock.el: Fix a number of docstrings.
2957         (org-clock-find-position): New argument
2958         FIND-UNCLOSED to make the function find an unclosed clock in the
2959         entry.
2960         (org-clock-in): Call `org-clock-find-position' with the new
2961         argument if we might be resuming a clock.
2963 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
2965         * org-latex.el (org-export-latex-display-custom-times): New variable.
2966         (org-export-latex-timestamp-markup): New option.
2967         (org-export-latex-set-initial-vars): Remember the local value of
2968         `org-display-custom-times'.
2969         (org-export-latex-content): Process time stamps.
2970         (org-export-latex-time-stamps): New function.
2972         * org-macs.el (org-maybe-intangible): Add intangible property
2973         again to invisible text.
2975 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
2977         * org-exp.el (org-default-export-plist): Handle undefined
2978         variables.
2980 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
2982         * org.el (org-sort-entries-or-items): Match TODO keywrds
2983         case-sensitively, when sorting.
2984         (org-priority): Do not match TODO keywords with wrong case.
2986 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
2988         * org-feed.el (org-feed-update): Bind the variable
2989         `new-formatted'.
2991         * org-html.el (org-export-as-html): Start paragraphs after literal
2992         examples.
2994         * org-docbook.el (org-export-as-docbook): Start paragraphs after
2995         literal examples.
2997 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
2999         * org.el (org-todo): Honor the NOBLOCKING property.
3001         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3002         NOBLOCKING property.
3004         * org.el (org-scan-tags): Fix bug in tag scanner
3006 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
3008         * org.el (org-modules): Mark obsolete packages.
3010         * org-html.el: New file, split out from org-exp.el.
3012         * org-icalendar.el: New file, split out from org-exp.el.
3014         * org-xoxo.el: New file, split out from org-exp.el.
3016         * org-ascii.el: New file, split out from org-exp.el.
3018 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
3020         * org-compat.el (org-find-library-name): New function.
3022         * org.el (org-pre-cycle-hook): New hook.
3023         (org-cycle): Call the new hook in appropriate places.
3024         (org-reload): Only reload files that have been loaded before.
3026 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
3028         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3029         after todo keyword.
3030         (org-todo): When changing TODO state, do matching
3031         case-sensitively.
3032         (org-map-continue-from): New variable.
3033         (org-scan-tags): Respect values in `org-map-continue-from'.
3034         (org-reload): Make XEmacs compatible.
3036 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
3038         * org-protocol.el (org-protocol-flatten-greedy): New function.
3039         (org-protocol-flatten): New function.
3041         * org.el (org-open-link-from-string): Pass reference buffer to
3042         `org-open-at-point'.
3043         (org-open-at-point): New optional argument `reference-buffer'.
3045 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
3047         * org.el (org-scan-tags): Make tag scan find headline in first
3048         line, 2nd attempt.
3049         (org-get-refile-targets): Add the naked file name.
3050         (org-refile): Store as top-level entry when only file name was
3051         given.
3053         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3055         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3056         Renamed from org-block-todo-from-children-or-siblings, and
3057         enhanced to look for the parent's status as well.
3059         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3060         (org-agenda-get-progress): Add first notes line to log entry if so
3061         desired.
3063 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
3065         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3066         (org-agenda-cleanup-fancy-diary): Call the new hook.
3068         * org-remember.el (org-remember-apply-template): Take the default
3069         for the annotation from the :annotation property.
3071         * org-mac-message.el (org-mac-message-get-link): Remove the
3072         quotes.
3073         (org-mac-message-get-link): Return the result.
3075 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
3077         * org.el (org-refile-get-location): Add file name only if not
3078         already included in outline path.
3080         * org-faces.el (org-n-level-faces): Fix customization type from
3081         number to integer.
3083         * org-exp.el (org-export-headline-levels): Fix customization type
3084         from number to integer.
3086         * org-agenda.el (org-agenda-confirm-kill)
3087         (org-agenda-custom-commands-local-options)
3088         (org-timeline-show-empty-dates, org-agenda-ndays)
3089         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3090         customization type from number to integer.
3092 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
3094         * org-protocol.el: Declare some functions.
3096         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3097         postion before inserting modified headline.
3099         * org-agenda.el (org-agenda-compare-effort): Honor
3100         `org-sort-agenda-noeffort-is-high'.
3101         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3102         (org-agenda-compare-effort): Implement the "?" operator for
3103         finding entries without effort setting.
3105         * org.el (org-extract-attributes-from-string): New function.
3107         * org-exp.el (org-export-splice-attributes): New function.
3109 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3111         * org-mouse.el: XEmacs compatibility fixes
3113         * org-docbook.el (org-export-as-docbook): Process footnotes like
3114         normal text.
3116         * org.el (org-modules): Add org-inlinetasks.el
3117         (org-cycle): Implement limiting level on cycling.
3118         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3119         buffer.
3121         * org-inlinetask.el: New file.
3123         * org.el (org-emphasis-regexp-components): Allow braces in
3124         emphasis pre and post match.
3126         * org-footnote.el (org-footnote-normalize): When only dorting, do
3127         not insert inline notes at the end.
3129         * org-docbook.el (org-id-find-id-file): Add function declaration.
3131         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3133         * org-docbook.el: New file.
3135 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3137         * org.el (org-reftex-citation): New command.
3139 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3141         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3142         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3143         sorting options.
3144         (org-entries-lessp): Apply the new sorting option.
3146         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3147         blocker code, when an older sibling has children.
3149         * org-mac-message.el (org-mac-message-get-link): Improve getting
3150         links from multiple selected messages.
3152 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3154         * org-remember.el (org-remember-finalize): Do not set buffer file
3155         name to nil.
3156         (org-remember-handler): Mark buffer as unmodified.
3157         (org-remember-handler): Delete backup file and show message about
3158         remaining backup files.
3159         (org-remember-auto-remove-backup-files): New option.
3161         * org.el (org-store-link): Use buffer name as link description in
3162         w3-mode buffers.
3163         (org-ido-switchb): Fix argument bug for completion.
3165         * org-remember.el (org-remember-apply-template): Set local
3166         variable `auto-save-visited-file-name' instead of global one.
3168 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3170         * org-feed.el: Re-write.
3172         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3173         (org-agenda-get-todos): Mark file tags as inherited.
3174         (org-agenda-list): Always search diary lines for a time.
3176 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3178         * org-feed.el (org-feed-assume-stable): New option.
3179         (org-feed-before-adding-hook): New hook.
3181         * org-exp.el (org-export-as-html): Close local lists depending on
3182         indentation, also when starting a table.
3184         * org-remember.el (org-remember-backup-directory)
3185         (org-remember-backup-name): New internal variable.
3187 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3189         * org-clock.el (org-clock-out-if-current): Make buffer detection
3190         work in indirect buffers as well.
3192         * org.el (org-emphasis-regexp-components): Add the exxclamation
3193         mark to the post-emphasis characters.
3195 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3197         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3198         (org-read-date): Run the new hook.
3200         * org-mac-message.el (org-mac-flagged-mail): New group.
3201         (org-mac-mail-account): New variable.
3202         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3203         commands.
3205         * org-remember.el (org-remember-backup-directory): New variable.
3206         (org-remember-apply-template): Write file to backup directory.
3208 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3210         * org-mouse.el (org-mouse-todo-menu): New function.
3211         (org-mouse-todo-keywords): Function removed.
3212         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3214         * org-table.el (org-table-beginning-of-field)
3215         (org-table-end-of-field): New commands
3216         (org-table-previous-field, org-table-beginning-of-field): Better
3217         error messages.
3218         (orgtbl-setup): Include `M-a' and `M-e'.
3220         * org.el (org-backward-sentence, org-forward-sentence): New
3221         commands.
3223         * org-colview.el (org-colview-initial-truncate-line-value): New
3224         variable.
3225         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3226         (org-columns): Remember the value of `truncate-lines'.
3228         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3229         New variable.
3230         (org-columns-remove-overlays): Restore the value of
3231         `truncate-lines'.
3232         (org-columns): Remember the value of `truncate-lines'.
3234         * org.el (org-columns-skip-arrchived-trees): New option.
3236         * org-agenda.el (org-agenda-export-html-style): Define color for
3237         org-agenda-done face.
3238         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3239         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3241         * org.el (org-scan-tags): Use the new face.
3243         * org-faces.el (org-agenda-done): New face.
3245         * org.el (org-scan-tags): Test the value org
3246         `org-tags-match-list-sublevels'.
3247         (org-tags-match-list-sublevels): New allowed value: indented.
3249         * org-export-latex.el (org-export-latex-make-header): Apply macros
3250         in header.
3252         * org-exp.el (org-export-apply-macros-in-string): New function.
3254         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3255         with the definition of a checked box.
3257         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3259         * org-export-latex.el (org-export-latex-low-levels): More options
3260         for how to process lower levels in LaTeX.
3261         (org-export-latex-subcontent): Better treatment for lists as a
3262         means of publishing lower levels.
3264 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
3266         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3268         * org-faces.el (org-checkbox): New face.
3270         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3271         fragement images if there is an export file.
3273 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3275         * org-agenda.el (org-stuck-projects): Document that the subtree of
3276         projects that are not stuck will now be searched for stuck
3277         sub-projects.
3278         (org-agenda-skip-entry-when-regexp-matches)
3279         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3280         (org-agenda-list-stuck-projects): Use
3281         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3283         * org-export-latex.el (org-export-latex-preprocess): Improve
3284         export of verses.
3286         * org-exp.el (org-export-as-html): Implement centering as a div
3287         rather than a paragraph.  Do a better job with line-end in verse
3288         environments.
3290 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
3292         * org.el (org-open-at-point): Fix tags searches by mouse click.
3294 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
3296         * org-export-latex.el (org-export-latex-preprocess): Implement the
3297         centering markup.
3299         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3300         from `org-export-mark-blockquote-and-verse'.
3301         (org-export-as-html): Implement the centering markup.
3303         * org-export-latex.el (org-export-latex-tables): Fix vertical
3304         lines in tables.
3306 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
3308         * org.el (org-read-date-history): New variable.
3309         (org-read-date): Use new history variable.
3310         (org-toggle-heading): Fix bug when used before first headline.
3311         (org-store-log-note): Remove drawer if empty while note is
3312         aborted.
3313         (org-remove-empty-drawer-at): New function.
3314         (org-check-after-date): New command.
3315         (org-sparse-tree): New sparse tree command "a".
3317         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3319 2009-03-14  Bastien Guerry  <bzg@altern.org>
3321         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3322         column and a space, not only a column.
3324 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
3326         * org-export-latex.el (org-export-latex-emphasis-alist): Better
3327         defaults for verbose emphasis.
3328         (org-export-latex-emph-format): New function.
3329         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3331         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3332         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3333         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3334         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3335         commands.
3337         * org.el (org-timestamp-change): Move end-time along with start
3338         time.
3340 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
3342         * org-exp.el (org-export-target-internal-links)
3343         (org-export-as-html): Protect links specified as #name.
3345 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
3347         * org.el (org-clone-subtree-with-time-shift): New command.
3349         * org-export-latex.el (org-export-latex-special-chars)
3350         (org-export-latex-treat-sub-super-char): Fix subscript export.
3352         * org-exp.el (org-create-multibrace-regexp): Do not add
3353         backslashes to the class.
3355 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
3357         * org-colview.el (org-columns-map): Better functions for moving up
3358         and down a row, even if `truncate-line' is nil.
3360         * org.el (org-insert-todo-heading): Make sure the keyword is
3361         inserted at the correct position.
3363         * org-publish.el (org-publish-project-alist)
3364         (org-publish-projects, org-publish-org-index): Change default anme
3365         for the index of file names to "sitemap.org".
3367         * org-export-latex.el (org-export-latex-tables): Use
3368         `org-split-string', for Emacs 21 compatibility.
3370 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
3372         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3374 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
3376         * org-exp.el (org-export-page-description)
3377         (org-export-page-keywords): New variables.
3378         (org-export-plist-vars): Add entries for :keywords and
3379         :description.
3380         (org-infile-export-plist): Parse for new keywords.
3381         (org-get-current-options): Add new keywords
3382         (org-export-as-html): Publish description and keywords.
3384         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3385         option.
3386         (org-agenda-add-entry-text): Honor
3387         `org-agenda-add-entry-text-descriptive-links'.
3389         * org-export-latex.el (org-export-latex-preprocess): Make all
3390         external preprocess functions use a PARAMETER arg.
3392         * org-exp.el (org-export-preprocess-string)
3393         (org-export-select-backend-specific-text)
3394         (org-export-format-source-code-or-example)
3395         (org-format-org-table-html): Support docbook export.
3396         (org-export-preprocess-string): Make all external preprocess
3397         functions use a PARAMETER arg.
3399 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
3401         * org-exp.el (org-export-html-style-include-scripts): New option.
3402         (org-export-plist-vars): Add new option
3403         `org-export-html-style-include-scripts'.
3404         (org-export-as-html): Honor new option
3405         `org-export-html-style-include-scripts'.
3406         (org-export-html-scripts, org-export-html-style-default): Fix
3407         xml issues with the Safari browser.
3409 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
3411         * org-publish.el (org-publish-attachment): Only copy file when the
3412         directories differ.
3414 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
3416         * org-clock.el (org-clocktable-steps): Use inactive time stamps
3417         for clocktable steps.
3419         * org.el (org-additional-option-like-keywords): Add two more
3420         keywords.
3422 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
3424         * org-exp.el (org-export-format-source-code-or-example): Mark
3425         temporary buffer unmodified, so that it will be killed even if
3426         mode like message mode has decided to assign a file name.
3428         * org.el (org-scan-tags): Improve tag inheritance.
3429         (org-scan-tags, org-make-tags-matcher): Make tag comparison
3430         case-sensitive.
3431         (org-scan-tags): Use the internal tags list instead of creating it
3432         from scratch.
3433         (org-trust-scanner-tags, org-scanner-tags): New variables.
3434         (org-scan-tags): Set `org-scanner-tags'.
3435         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3436         (org-map-entries): Document the possible speedup using scanner
3437         tags.
3439 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
3441         * org.el (org-add-planning-info): Fix bug with looking for keyword
3442         only at column 0.
3444         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3445         option for tags filter preset.
3446         (org-prepare-agenda): Store filter preset as a property on the
3447         filter variable.
3448         (org-finalize-agenda): Call the filter, if there is a preset.
3449         (org-agenda-filter-by-tag): Filter again after clearing the
3450         filter, when there still is a preset.
3451         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3452         Include the preset filter.
3453         (org-agenda-redo): Apply the filter again, also the preset filter.
3455         * org-exp.el (org-export-as-html): Use IDs in the correct way.
3457         * org.el (org-uuidgen-p): New funtion.
3459         * org-agenda.el (org-agenda-fontify-priorities): New default value
3460         `cookies'.
3461         (org-agenda-fontify-priorities): Renamed from
3462         org-fontify-priorities.
3464         * org.el (org-set-font-lock-defaults): Call
3465         `org-font-lock-add-priority-faces'.
3466         (org-font-lock-add-priority-faces): New function.
3468         * org-faces.el: (org-set-tag-faces): New option.
3469         (org-priority-faces): New variable.
3471         * org-exp.el (org-export-as-html): Add a "content" div around the
3472         entire content of the body tag.
3473         (org-export-html-get-bibliography): New function.
3474         (org-export-html-validation-link): New variable.
3475         (org-export-as-html): Add validation link to exported page.
3477         * org.el (org-match-sparse-tree): Renamed from
3478         `org-tags-sparse-tree'.
3479         (org-tags-sparse-tree): New alias.
3481 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
3483         * org.el (org-get-valid-level): Catch the case where the level
3484         change is nil.
3486         * org-clock.el (org-clock-find-position): Better indentation of
3487         new clock drawers.
3489 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
3491         * org-agenda.el (org-agenda-quit): Delete window only when the
3492         frame-setup was not `current-window'.
3494         * org.el (org-tag-persistent-alist): New option.
3495         (org-startup-options): Add keyword `noptag'.
3496         (org-fast-todo-selection): Handle :newline correctly.
3497         (org-set-tags): Handle :newline correctly.
3498         (org-fast-tag-selection): Handle :newline correctly.
3500 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
3502         * org-exp.el (org-export-as-ascii): Reverse link buffer before
3503         outputting it.
3504         (org-export-ascii-push-links): Fix bug with pussing links into the
3505         export buffer.
3507 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
3509         * org-archive.el (org-archive-subtree): Do not add 1 to level if
3510         pasting at top level.
3512         * org-bbdb.el: Improve documentation.
3514 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
3516         * org-list.el (org-insert-item): Only consider insert empty lines
3517         is `org-empty-line-terminates-plain-lists' is not nil.
3519         * org.el (org-blank-before-new-entry): Mention the dependence on
3520         `org-empty-line-terminates-plain-lists' in the docstring.
3522         * org-publish.el (org-publish-get-project-from-filename): New
3523         optional argument UP.  Only find the top project if UP is set.
3524         (org-publish-current-project): Find the top encloding project.
3526         * org-agenda.el (org-agenda-before-write-hook)
3527         (org-agenda-add-entry-text-maxlines): New options.
3528         (org-write-agenda): Run the new hook in the temporary buffer.
3529         (org-agenda-add-entry-text): New function.
3530         (org-write-agenda): Implement PDF export, using ps2pdf.
3532         * org.el (org-global-properties-fixed, org-global-properties):
3533         Improve documentation string.
3535         * org-exp.el (org-export-ascii-links-to-notes): New option.
3536         (org-export-as-ascii): Handle links better.
3537         (org-export-ascii-wrap, org-export-ascii-push-links): New
3538         functions.
3540 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
3542         * org-agenda.el (org-agenda): Make prefix arg optional.
3543         (org-agenda-search-headline-for-time): New option.
3544         (org-format-agenda-item): Honor
3545         `org-agenda-search-headline-for-time'.
3547         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3548         characters.
3550         * org.el (org-self-insert-cluster-for-undo): New option.
3551         (org-self-insert-command): Cluster undo for 20 characters.
3552         (org-self-insert-command-undo-counter): New variable.
3554 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
3556         * org-exp.el (org-export-as-html): Fix problem with closing colone
3557         example.
3559 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
3561         * org-export-latex.el (org-export-as-latex)
3562         (org-export-latex-first-lines): Avoid modification flag when
3563         adding or removing text properties.
3564         (org-export-latex-fontify): Catch error when org-emph-alist has
3565         entries that are not defined for LaTeX export.
3567         * org.el (orgstruct++-mode): New function.
3568         (turn-on-orgstruct++): Call `orgstruct++-mode'.
3569         (org-context-p): Allow detecting item context after the first line
3570         of an item.
3571         (orgstruct-make-binding): Detect if item-body context should be
3572         seen.
3573         (orgstruct-is-++): New variable.
3574         (org-add-planning-info): Catch the case when there is no planning
3575         info yet and the call does not want to add anything, only maybe
3576         tries to remove something.
3577         (org-special-ctrl-a/e): All value to be a cons cell with separate
3578         settings for `C-a. and `C-e'.
3579         (org-beginning-of-line, org-end-of-line): Honor separate values
3580         for `C-a' and `C-e'.
3582 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
3584         * org.el (org-reload): New command.
3586 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
3588         * org-exp.el (org-export-htm-get-tag-class-name)
3589         (org-export-htm-get-todo-kwd-class-name): New functions.
3590         (org-export-html-tag-class-prefix)
3591         (org-export-html-todo-kwd-class-prefix): New options.
3592         (org-export-as-html): Call
3593         `org-export-html-get-todo-kwd-class-name'.
3594         (org-html-level-start): Wrap tags into classes.
3595         (org-export-html-get-tag-class-name)
3596         (org-export-html-get-todo-kwd-class-name): New functions.
3598         * org-export-latex.el (org-export-latex-collect-header-macros):
3599         Remove fields that are used anyway.
3600         (org-export-latex-make-header): Insert the options earlier.
3602         * org-agenda.el (org-agenda-get-progress): Fix bug with state
3603         matching.
3605         * org-list.el (org-indent-item): Allow point to be at the end of
3606         the region.
3608         * org.el (org-metaleft, org-metaright): Be more accurate about
3609         detecting a region where commands apply.
3611         * org-compat.el (org-cursor-to-region-beginning): New function.
3613         * org.el (org-priority): Also find invisible heading.
3615         * org-colview-xemacs.el (org-columns-edit-value): No special
3616         treatment for `org-todo' prefix.
3618         * org-colview.el (org-columns-edit-value): No special treatment
3619         for `org-todo' prefix.
3621         * org-remember.el (org-remember-apply-template): Use
3622         `org-completing-read-no-ido'.
3624         * org.el (org-completing-read-no-ido): New function.
3625         (org-make-tags-matcher, org-set-property): Use
3626         `org-completing-read-no-ido'.
3628         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
3629         New option.
3630         (org-export-as-latex): Import in-buffer settings as TeX macros.
3631         (org-export-latex-make-header): Additional parameter OPT-DEFS.
3632         (org-export-latex-collect-header-macros): New function.
3634         * org.el (org-refile-get-location): Turn off
3635         `partial-completion-mode'.
3637 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
3639         * org.el (org-block-todo-from-checkboxes): Announce that
3640         checkboxes are the culprit.
3641         (org-block-todo-from-children-or-siblings): Call
3642         `org-up-heading-all instead' of `outline-up-heading'.
3644         * org-agenda.el (org-agenda-show-1): Renamed from
3645         `org-agenda-show'.
3646         (org-agenda-show): Re-install the old version for now.
3647         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
3648         variable into the blokker hook, so that the checkbox checker can
3649         anounce that it caused the blocking.
3651         * org.el (org-track-ordered-property-with-tag): New option.
3652         (org-toggle-ordered-property): Honor
3653         `org-track-ordered-property-with-tag'.
3654         (org-tag-alist): Add newline options.
3655         (org-set-regexps-and-options): Separate option lines imply a
3656         newline.
3657         (org-set-regexps-and-options, org-assign-fast-keys)
3658         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
3659         option.
3660         (org-indent-line-function): Make sure this works even if there is
3661         not `org-drawer-regexp' defined.  This can happen when
3662         orgstruct-mode is used in a non-org buffer.
3664         * org-list.el (org-checkbox-blocked-p): New function.
3665         (org-toggle-checkbox): Check for blocking.
3667         * org.el (org-modules): Add an entry for org-R.el.
3669         * org-agenda.el (org-agenda-todo-ignore-with-date)
3670         (org-agenda-todo-ignore-scheduled)
3671         (org-agenda-todo-ignore-deadlines): Mention the variable
3672         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
3674         * org.el (org-get-wdays): Find the warning period also if it is in
3675         the wrong place.
3676         (org-ido-completing-read): Provide the correct arguments to
3677         ido-completing-read and bind `ido-enter-matching-directory' to
3678         nil.
3680 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
3682         * org.el (org-olpath-completing-read): Never use ido for this
3683         one.
3685         * org-exp.el (org-export-normalize-links): Use new macro.
3687         * org-macs.el (org-if-unprotected-at): New macro.
3689         * org-agenda.el (org-agenda-show): Allow numerical prefix
3690         arguments to specify how much context should be shown.
3691         (org-agenda-cycle-show): New command, could be bound to SPC in
3692         org-agenda-mode-map.
3694         * org-exp.el (org-html-level-start): Space after section number.
3696 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
3698         * org-agenda.el (org-agenda-get-sexps): Add todo state as
3699         property, for sorting.
3700         (org-cmp-todo-state): Get the applicable TODO keywords directly
3701         from the buffer.
3702         (org-run-agenda-series, org-agenda-list, org-search-view)
3703         (org-todo-list, org-tags-view): Only fit agenda window when the
3704         whole series is done.
3706         * org.el (org-scan-tags): Add todo state as property, for sorting.
3708         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3709         `org-agenda-overriding-header' as an option.
3710         (org-agenda-list): Honor org-agenda-overriding-header'.
3712 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
3714         * org-list.el (org-toggle-checkbox): Improve cursor positioning
3715         after removing a checkbox.
3717         * org.el (org-show-entry): Make this work correctly also if it is
3718         the last entry in the file.
3719         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
3720         falling back to normal, default command.
3721         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
3722         item, call the checkbox toggler to get a box.
3724         * org-list.el (org-toggle-checkbox): Make double prefix set the
3725         checkbox to "[-]".
3726         (org-fix-bullet-type): Only replace bullet if it is changed.
3727         (org-renumber-ordered-list): Handle case when first item does not
3728         have a number.
3730         * org.el (org-add-log-setup): Fix positioning when
3731         `org-log-states-order-reversed' is nil.
3733         * org-clock.el (org-clock-in): Fix positioning when
3734         `org-log-states-order-reversed' is nil.
3735         (org-clock-find-position): Fix positioning when
3736         `org-log-states-order-reversed' is nil.
3738 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
3740         * org-clock.el (org-clock-into-drawer): Take default from
3741         `org-log-into-drawer'.
3742         (org-clock-find-position): Look for the correct drawer.
3744         * org.el (org-log-into-drawer): Renamed from
3745         `org-log-state-notes-into-drawer'.
3746         (org-log-state-notes-into-drawer): New variable alias.
3747         (org-add-log-setup): Make drawer name default to LOGBOOK, not
3748         CLOCK.
3749         (org-insert-property-drawer): Also skip LOGBOOK drawers.
3751 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
3753         * org-agenda.el (org-agenda): Fix docstring.
3755         * org.el ("org-plot"): Help loading org-plot.
3756         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
3757         (org-metadown-hook, org-shiftmetaleft-hook)
3758         (org-shiftmetaright-hook, org-shiftmetaup-hook)
3759         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
3760         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3761         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
3762         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
3764         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
3765         for selecting files with any (and even without) extension.
3767         * org.el (org-save-all-org-buffers): Also save id locations.
3768         (org-revert-all-org-buffers): Also load id locations.
3770 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
3771         * org.el (org-drawers): Add LOGBOOK to the default drawers.
3772         (org-log-state-notes-into-drawer): New option.
3773         (org-add-log-setup): Place the sate note marker into the drawer,
3774         create drawer when necessary.
3775         (org-refile-targets): Document special interpretation of LEVEL
3776         when odd-levels are used.
3778 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
3780         * org.el (org-store-log-note): Fix note indentation when adding
3781         notes to end of list.
3783         * org-exp.el (org-export-as-html): Add TODO keyword as extra
3784         class, so that each keyword can get special colors through CSS.
3786         * org-clock.el (org-clock-out): Add another nil for the previous
3787         state into the call to `org-add-log-setup'.
3789         * org.el (org-log-note-previous-state): New variable.
3790         (org-log-note-headings): New %S escape for old state.
3791         (org-todo): Call the note setup with the old state as an
3792         argument.
3793         (org-add-note): Add another nil for the previous state into the
3794         call to `org-add-log-setup'.
3795         (org-add-log-setup): New argument PREV-STATE.
3796         (org-add-log-note): Handle new %S escape.
3797         (org-store-log-note): Handle new %S escape.
3799 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
3801         * org-clock.el (org-clock-find-position): Do not swallow an item
3802         less indented than the CLOCK line itself.
3803         (org-clock-in): Push markers to lin after the clock line.
3804         (org-clock-find-position): Handle values of
3805         `org-clock-into-drawer' smaller than 2.
3807         * org-exp.el (org-html-level-start): Add a CSS class to section
3808         numbers.
3809         (org-export-html-toplevel-hlevel): Better documentation of the
3810         influence of this variables on H levels and css classes in
3811         export.
3813 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
3815         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3816         timestamp and nottimestamp to the chooe menu.
3818         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
3819         (org-revert-all-org-buffers): New command.
3821 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
3823         * org.el (org-return): Implement `org-return-follows-link' in the
3824         function org-return.  This is more robust than using the mouse
3825         map, I think.
3826         (org-set-regexps-and-options): Match more general #+TODO lines.
3827         (org-make-options-regexp): New optional argument EXTRA, for an
3828         extra regexp.
3829         (org-tab-follows-link): Mark as deprecated.
3831 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
3833         * org-exp.el (org-export-preprocess-string): Remove clock lines
3834         earlier, so that they cannot cotribute to verbatim snippets.
3836 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
3838         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
3839         for finding drawers.
3840         (org-export-as-ascii, org-export-as-html): Count levels relative
3841         to the subtree header.
3842         (org-get-min-level): New optional argument OFFSET.
3843         (org-export): Make sure point is restored after popping up that
3844         window.
3846         * org.el (org-do-sort): Also take an inactive timestamp if no
3847         active one is found.
3849         * org-colview-xemacs.el (org-columns-capture-view): Copy before
3850         deleting duplicates.
3852         * org-colview.el (org-columns-capture-view): Copy before
3853         deleting duplicates.
3855         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
3856         text before first headline.
3858         * org.el (org-format-latex): Do not convert LaTeX fragments in
3859         protected examples.
3861 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
3863         * org-exp.el (org-export-html-style-default): Use color values
3864         instead of names for XHTML validation.
3866         * org.el (org-get-scheduled-time, org-get-deadline-time): New
3867         functions.
3868         (org-return-follows-link): Revert making this the default untile
3869         issues are resolved.
3871         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
3872         nottimestamp.
3874 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
3876         * org.el (org-mode): Make dependence stuff work more reliably.
3877         (org-update-parent-todo-statistics): Fix bug with updating
3878         statistics cookie.
3880         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
3881         ~ as verbatim delimiters.
3883         * org-exp.el (org-export-html-format-image): New argument
3884         PAR-OPEN.
3885         (org-export-as-html): Pass par-open to
3886         `org-export-html-format-image'.
3888 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
3890         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
3891         (org-use-fast-todo-selection, org-tags-column): New default
3892         setting for variables, based on a poll what typical uses use.
3894         * org-agenda.el (org-agenda-sorting-strategy)
3895         (org-agenda-tags-column): New default setting for variables, based
3896         on a poll what typical uses use.
3898 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
3900         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
3901         blocked entries from setting the blocked tag.
3903         * org-exp.el (org-export-html-footnotes-section): Use a more
3904         consistent id for footnotes.
3906         * org-export-latex.el (org-export-latex-classes): Remove the
3907         a4paper option from the default styles.
3909 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
3911         * org.el (org-enforce-todo-checkbox-dependencies): New option.
3912         (org-block-todo-from-checkboxes): New function.
3913         (org-todo): Make tripple prefix arg circumvent blocking.
3915         * org-timer.el (org-timer): Provide the timer feature.
3917         * org.el (org-require-autoloaded-modules): Add a few more files to
3918         the list of autoloaded modules.
3920         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
3922 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
3924         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
3925         drawers that are unprotected.
3926         (org-export-html-format-image): Make sure inlined LaTeX fragment
3927         images remain inlined.
3929         * org.el (org-toggle-ordered-property): New function.
3930         (org-mode-map): Add a key for `org-toggle-ordered-property'.
3931         (org-org-menu): Add menu entries for TODO dependencies.
3933 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
3935         * org.el (org-default-properties): Add ORDERED to the default
3936         properties, to get completion support for it.
3938         * org-list.el (org-update-checkbox-count): Update more than one cookie.
3940         * org.el (org-update-parent-todo-statistics): Update more than one
3941         cookie.
3943         * org-agenda.el (org-agenda-get-todos): Start search from correct
3944         position.
3946         * org.el (org-fast-todo-selection): Make sure TODO selection does
3947         not change buffer position.
3949         * org-list.el (org-toggle-checkbox): Implement adding or removing
3950         checkboxes from line or region when called with a prefix
3951         argument.
3953         * org-rmail.el (org-rmail-store-link): Protect the call to
3954         `rmail-narrow-to-non-pruned-header'.
3956         * org-clock.el (org-clock-special-range): Fix week display in
3957         clock tables.
3959         * org-exp.el (org-get-current-options): Fix bug when in indirect
3960         buffer.
3962 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
3964         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
3965         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
3966         (org-agenda-dim-blocked-tasks): New function.
3968         * org.el (org-enforce-todo-dependencies): New option.
3969         (org-block-todo-from-children-or-siblings): New function.
3971         * org-faces.el (org-agenda-dimmed-todo-face): New face.
3973         * org.el (org-todo): Return correct state type even if the blocker
3974         throws an error.
3975         (org-modifier-cursor-error): Renamed from
3976         `org-shiftcursor-error'.
3977         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3978         (org-shiftmetadown): Call `org-modifier-cursor-error'.
3980         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
3981         to get real errors from the blocker hook.
3983         * org.el (org-shiftselect-error, org-call-for-shift-select): New
3984         functions.
3985         (org-set-visibility-according-to-property): Turn off the setting
3986         of `org-show-entry-below', to avoid overruling a FOLDED visibility
3987         property.
3989 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
3991         * org.el (org-support-shift-select): New option.
3992         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
3993         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
3994         selection outside contexts.
3996         * org-list.el (org-at-item-bullet-p): New function.
3998         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
3999         variables.
4001         * org-footnote.el (org-footnote-normalize): Remove unnecessary
4002         variable.
4003         (org-insert-footnote-reference-near-definition): Remove
4004         unnecessary let form.
4006         * org-export-latex.el (org-export-latex-first-lines): Add
4007         OPT-PLIST parameter.
4008         (org-export-as-latex): Call `org-export-latex-first-lines' with
4009         opt-plits parameter.
4010         (org-export-latex-preprocess): Remove unnecessary variables.
4012         * org-exp.el (org-infile-export-plist)
4013         (org-export-add-options-to-plist, org-export-kill-licensed-text)
4014         (org-export-remove-headline-metadata)
4015         (org-export-get-title-from-subtree, org-get-min-level)
4016         (org-html-do-expand): Remove innecessary let form.
4018         * org-colview-xemacs.el (org-columns-display-here): Remove
4019         unnecessary variables.
4021         * org-colview.el (org-columns-display-here): Remove unnecessary
4022         variables.
4024         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4025         variables.
4027         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4028         unnecessary variables.
4030         * org-agenda.el (org-search-view, org-agenda-get-blocks)
4031         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4032         variables.
4034         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4035         (org-compact-display-after-subtree-move): Remove unnecessary
4036         variables.
4037         (org-edit-fixed-width-region): Remove unnecessary variables.
4038         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4039         (org-olpath-completing-read): Remove unnecessary variable.
4040         (org-auto-repeat-maybe): Remove unnecessary variable.
4041         (org-map-entries): Remove unnecessary variable.
4042         (org-buffer-property-keys, org-imenu-get-tree)
4043         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4045 -----------------------------------------------------------------
4047 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
4048         * org-exp.el (org-export-remove-timestamps): Never remove
4049         timestamps from tables.
4051         * org-export-latex.el (org-export-latex-first-lines): Add more
4052         options to the preprocessing of the text before the first
4053         headline.
4055 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4057         * org-faces.el (org-clock-overlay): Make face compatible with
4058         XEmacs.
4060         * org.el (org-yank): Add property for delete-selection mode.
4062         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4064         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4065         variable.
4067         * org-table.el (org-table-insert-hline): Fix typo in fuction call
4068         to `backward-char'.
4070         * org-exp.el (org-export-as-html): Remove the initial space from
4071         colon examples.
4073         * org.el (org-scan-tags): Call
4074         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4076         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4077         customization groups.
4078         (org-agenda-tags-todo-honor-ignore-options): New option.
4079         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4080         New function.
4081         (org-agenda-get-todos): Use
4082         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4084 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
4086         * org-exp.el (org-export-format-source-code-or-example): Escape
4087         HTML characters also in examples that anre not treated with
4088         htmlize.  Also, just switch to EXAMPLE processing if we do not
4089         have a good version of htmlize.
4091         * org-rmail.el: Fix copyright notice.
4093         * org.el (org-activate-footnote-links): Improve footnote link
4094         highlighting.
4096         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4097         a footnote definition at the end of the file.
4099         * org-table.el (org-table-get-specials): Add an imagined hline at
4100         the end of the table.  This can be useful for references that want
4101         to go to the end of the table.  Also fix bug when computing last
4102         row constants, in tables that do not start right at the right
4103         margin.
4104         (org-table-eval-formula): Match and replace remove references.
4105         (org-table-formula-substitute-names): Make sure that names inside
4106         a "remote" call are left alone, the will be replaced later when
4107         the remote call is handled.
4108         (org-table-convert-refs-to-rc): Do not convert things that might
4109         look like a reference, but are really part of an ID or namei n a
4110         remote reference.
4111         (org-table-get-remote-range): New function.
4113 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4115         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4117         * org-clock.el (org-clock-put-overlay): Use new face instead of
4118         `secondary-selection'.
4120         * org-faces.el (org-clock-overlay): New face.
4122 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4124         * org-exp.el (org-get-current-options): Include the option for
4125         publishing time stamps.
4127         * org.el (org-toggle-heading): Renamed from
4128         `org-toggel-region-headings'.
4129         No longer needs a region defined, but will use it if there is one.
4130         (org-ctrl-c-star): Simplified, relying more on the internal
4131         workings of `org-toggle-heading'.
4132         (org-toggle-item): Renamed from `org-toggle-region-items'.
4133         No longer needs a region defined, but will use it if there is one.
4134         (org-ctrl-c-minus): Simplified, relying more on the inernal
4135         workings of `org-toggle-item'.
4137         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4138         environment detection.  Also, do real changes only in unprotected
4139         places.
4141 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4143         * org-export-latex.el (org-export-latex-quotation-marks): Use
4144         `org-if-unprotected-1'.
4145         (org-export-latex-set-initial-vars): Check for class definition in
4146         property.
4148         * org-macs.el (org-if-unprotected-1): New macro.
4150 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4152         * org-compat.el (org-count-lines): New function.
4154         * org-exp.el (org-export-format-source-code-or-example): Handle
4155         switches related to text areas.
4157         * org.el (org-activate-footnote-links): Don't allow match inside a
4158         link.
4160         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4162         * org-export-latex.el (org-export-latex-links): Keep a relative
4163         path relative also after export.
4165         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4167         * org.el (org-make-tags-matcher): Never use IDO for completing the
4168         tags matcher match string.
4169         (org-completing-read): Also remove the special biding for "?".
4171         * org-attach.el (org-attach-allow-inheritance): New option.
4172         (org-attach-inherited): New variable.
4173         (org-attach-dir): Handle properties related to the attachment
4174         directory.
4175         (org-attach-check-absolute-path): New function.
4176         (org-attach-set-directory, org-attach-set-inherit): New commands.
4177         (org-attach): Accommodate the new commands in the dispatcher.
4179 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4181         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4182         `window-full-width-p'.
4184         * org-exp.el (org-export-as-html): Only check for images files
4185         that really can be inlined
4187         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4188         list of extensions to be a parameter.
4190         * org-exp.el (org-export-html-inline-image-extensions): New
4191         variable.
4193         * org-agenda.el (org-prepare-agenda): Use
4194         `org-agenda-block-separator'.
4195         (org-agenda-block-separator): New option.
4197 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4199         * org-export-latex.el (org-export-latex-tables): Call
4200         `org-table-clean-before-export' with the new optional argument.
4202         * org-exp.el (org-table-clean-before-export): New optional
4203         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4204         first column.
4206 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4208         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4209         histograms.
4211         * org-colview.el (org-colview-construct-allowed-dates): Better
4212         error catching when a date/time property does not have allowed
4213         values defined.
4215         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4216         Better error catching when a date/time property does not have
4217         allowed values defined.
4219 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4221         * org.el (org-map-entries): Restore point and restriction after
4222         `org-map-entries'.
4224 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4226         * org.el (org-time=, org-time<, org-time<=, org-time>)
4227         (org-time>=, org-time<>): Make sure both values are dates.
4229 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4231         * org-archive.el (org-extract-archive-heading): Allow %s for file
4232         name also in achive location heading.
4234 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4236         * org-archive.el (org-add-archive-files): Uniquify the list before
4237         returning it.
4239 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4241         * org-compat.el (org-fit-window-to-buffer): Use
4242         `window-full-width-p'.
4244         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4245         space after the colon in short examples.
4247         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4248         enforce a space after the colon.  However, we also allow lines
4249         that are *only* a colon.
4250         (org-export-as-html): Enforce the space after the colon in short
4251         examples.
4252         (org-export-preprocess-string): Do the colon example protection
4253         earlier.
4254         (org-export-remove-timestamps): Do not check for protection at the
4255         end of the line.
4257 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
4259         * org.el (org-format-latex-options): Add new matcher for single
4260         letters between dollars.
4261         (org-get-header): Function removed.
4262         (org-heading-components): New function.
4264         * org-exp.el (org-export-define-heading-targets): Record ID's also
4265         as alternative targets.
4266         (org-export-as-html): Interpret "id:" links to other files by
4267         preserving the relative path.
4269         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4270         is nil.
4272         * org-exp.el (org-export-normalize-links): Protect the main link,
4273         to avoid special character processing.
4275         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4276         New variable.
4277         (org-export-latex-special-string-regexps): Variable removed.
4278         (org-export-latex-keywords): Use the new regexp.
4280         * org-exp.el (org-export-handle-include-files): Fetch switches and
4281         put them into the BEGIN statement.
4283         * org-timer.el (org-timer-mode-line-string): New variable.
4285         * org-clock.el (org-clock-mode-line-map): Renamed from
4286         `org-clock-mode-map'.
4287         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4288         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4289         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4290         (org-clock-remove-overlays): Renamed from
4291         `org-remove-clock-overlays'.
4293         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4294         and mode line display.
4295         (org-timer-stop): New command.
4296         (org-timer-seconds): Return correct time when timer is paused.
4297         (org-timer-mode-line-timer): New variable.
4298         (org-timer-set-mode-line, org-timer-update-mode-line): New
4299         functions.
4301         * org.el (org-insert-heading):  Handle new value `auto' for
4302         `org-blank-before-new-entry'.
4303         (org-org-menu): Add new items for timer functions.
4305         * org-list.el (org-insert-item): Handle new value `auto' for
4306         `org-blank-before-new-entry'.
4308         * org.el (org-blank-before-new-entry): New value `auto', made
4309         default.
4311 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
4313         * org-exp.el (org-export-normalize-links): If the link is also
4314         used as the description, protect the description.
4316 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
4318         * org.el (org-closest-date): Fix bug with yearly repeats, in
4319         combination with preference of the past as it is used for deadline
4320         and scheduling search.
4322         * org-exp.el (org-html-handle-time-stamps): No longer check for
4323         the `org-export-with-timestamps' option, because the preprocesser
4324         has taken care of this already.
4326         * org.el (org-entry-properties): Catch the case when this is
4327         called in a non-org-mode file.
4329         * org-export-latex.el (org-export-latex-remove-from-headlines):
4330         Variable made obsolete, also LaTeX export now uses the standard
4331         variables.
4332         (org-export-as-latex): Add the timestamps parameter to the
4333         preprocessor parameter list.
4334         (org-export-latex-content): Export the remaining keywords without
4335         considering to remove them.
4336         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4337         Use bold font instead of tt font for the keywords.
4338         (org-export-latex-fontify-headline): Format headlines, assuming
4339         that all keywords still present should be published.
4340         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4341         publish what ever remains of the time stamps.
4342         (org-export-latex-list-parameters): New option.
4343         (org-export-latex-lists): Pass additional parameters to the list
4344         converter.
4346         * org-exp.el (org-export-preprocess-string): Remove clock lines
4347         and timestamps already in the preprocesor.
4348         (org-export-remove-timestamps, org-export-remove-clock-lines): New
4349         functions.
4350         (org-export-as-ascii, org-export-as-html): Add the timestamps
4351         parameter to the preprocessor parameter list.
4353         * org-list.el (org-list-parse-list): Parse for checkboxes.
4354         (org-list-to-generic): Introduce and handle new parameters :cbon
4355         and :cboff.
4356         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4357         optional parameter PARAMS.
4359         * org-export-latex.el (org-export-latex-special-chars): Fix
4360         problems with interpreting dollar signs.
4361         (org-inside-latex-math-p): New function.
4362         (org-export-latex-preprocess): Protect all the math fragments.
4364         * org.el (org-latex-regexps): Allow a dash after a dollar.
4366         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4367         mark after copying.
4369         * org-agenda.el (org-run-agenda-series): Have series options set
4370         when finalizing the agenda.
4372         * org-exp.el (org-export-format-source-code-or-example): Protect
4373         the converted examples.
4375         * org.el (org-set-regexps-and-options): Fix the regexp
4376         `org-complex-heading-regexp'.
4378 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
4380         * org.el (org-edit-src-get-label-format): New function.
4381         (org-coderef-label-format): New option.
4382         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4383         a label format specification and make sure it is used in the edit
4384         buffer.
4385         (org-edit-src-get-label-format): New function.
4386         (org-store-link): Handle new coderef formats.
4387         (org-link-search): Handle new coderef formats.
4389         * org-footnote.el (org-footnote-create-definition)
4390         (org-footnote-goto-local-insertion-point): Make footnote insertion
4391         work correctly when the "Footnotes" headline is the last line in
4392         the buffer.
4394         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4395         the location.
4397 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
4399         * org-w3m.el (org-w3m): New customization group.
4400         (org-w3m-deactivate-mark): New option.
4401         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4402         option say not to.
4404 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
4406         * org.el (org-set-font-lock-defaults): Trigger footnote
4407         fontification.
4408         (org-activate-footnote-links): New function.
4409         (org-activate-links): New entry `footnote'.
4411         * org-faces.el (org-footnote): New face.
4413 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
4415         * org-macs.el (org-re): Handle the [:word:] class.
4417         * org-exp.el (org-export-preprocess-string): Call
4418         `org-export-protect-colon-examples'.
4419         (org-export-protect-colon-examples): Renamed from
4420         `org-export-protect-examples', and scope limited to lines starting
4421         with a colon.
4423 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
4425         * org-exp.el (org-export-preprocess-string): Move the preprocess
4426         hook to after turning on Org-mode.
4427         (org-export-preprocess-after-include-files-hook)
4428         (org-export-preprocess-after-tree-selection-hook)
4429         (org-export-preprocess-before-backend-specifics-hook)
4430         (org-export-preprocess-final-hook): New hooks.
4431         (org-export-preprocess-string): Run the new hooks.
4433         * org.el (org-ctrl-c-minus): Fix indentation for new items.
4435         * org-footnote.el: New file.
4437         * org.el (org-footnote): Require footnote code.
4438         (org-startup-options): Add new footnote options.
4439         (org-mode-map): New keybindig for footnotes.
4440         (org-ctrl-c-ctrl-c): Add function at footnotes.
4441         (org-org-menu): New menu entries for footnotes.
4443         * org-export-latex.el (org-export-as-latex): Pass footnote
4444         variable to preprocessor.
4445         (org-export-latex-preprocess): Treat multiple references to a
4446         footnote.
4448         * org-exp.el (org-export-preprocess-string): Call
4449         `org-footnote-normalize'.
4450         (org-export-as-ascii, org-export-as-html): Pass footnote variable
4451         to preprocessor.
4452         (org-export-as-html): Treat multiple references to a footnote.
4454 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
4456         * org-export-latex.el (org-export-latex-links): Handle coderef
4457         links.
4459         * org.el (org-bracket-link-analytic-regexp++): New variable.
4460         (org-make-link-regexps): Initialize
4461         `org-bracket-link-analytic-regexp++'.
4462         (org-store-link): Implement special case in edit-src buffer.
4463         (org-insert-link): No use of ide to insert stored links.
4464         (org-link-search): Implement special case for coderefs.
4466         * org-exp.el (org-export-html-scripts): New constant.
4467         (org-export-html-style-default): Add a new style for highlighted
4468         code.
4469         (org-export-code-refs): New variable.
4470         (org-export-preprocess-string): Initialize `org-export-code-refs'.
4471         Call `org-export-replace-src-segments-and-examples'
4472         No longer call `org-export-protect-examples'.
4473         (org-export-target-internal-links): Take care of coderef targets.
4474         (org-export-last-code-line-counter-value): New variable.
4475         (org-export-replace-src-segments-and-examples): Renamed from
4476         `org-export-replace-src-segments', and modified.
4477         (org-export-format-source-code-or-example): Renamed from
4478         `org-export-format-source-code'.
4479         (org-export-number-lines): New function.
4480         (org-export-as-ascii, org-export-as-html): Handle coderef links.
4482 --------------------------------------------------------------------------
4484 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
4486         * org-remember.el (org-remember-handler): Safer way to get a new
4487         buffer accessing the target file.
4489         * org.el (org-refile-get-location): Handle case of current buffer
4490         not having a file associated with it.
4492 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
4494         * org-table.el (org-table-get-formula): Only ask to overwrite
4495         field formula if there really is one.
4497         * org-id.el (org-id-find): Allow the ID to be a symbol or a
4498         number, by converting these to a string.
4500         * org-colview.el (org-dblock-write:columnview): Allow ID to be
4501         located in a different file.
4503         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
4504         org-colview.el.
4506 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
4508         * org.el (org-completion-use-ido): Enhance docstring of
4509         `org-completion-use-ido'.
4511         * org-export-latex.el (org-export-latex-make-header): Double the %
4512         in the time stamp format.
4513         (org-export-latex-special-chars): Handle case where there is no
4514         match group 3.
4516 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
4518         * org.el (org-get-refile-targets, org-refile-get-location): Use
4519         expanded file name to improve comparison.
4521 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
4523         * org.el (org-scan-tags): Rescan for tags, to get the correct
4524         upcase/downcase stuff.  This slows things down for now, but it
4525         works.
4526         (org-mode): Make sure the tag-faces regexp is initialized.
4528         * org-export-latex.el (org-export-latex-links): Fix bug with
4529         undefined label.
4531         * org-table.el (org-table-get-specials): Set
4532         `org-table-current-last-data-line'.
4533         (org-table-current-last-data-line): New variable.
4534         (org-table-insert-column, org-table-delete-column)
4535         (org-table-move-column, org-table-fix-formulas): Call
4536         `org-table-fix-formulas' a second time to fix the $LR references.
4537         (org-table-get-specials): Add the $LR references to the tables.
4538         (org-table-get-formula): Do not offer last-row names as LHS of
4539         formulas.
4541         * org.el (org-store-link): Capture link description from
4542         `org-id-store-link'.
4544         * org-exp.el (org-export-html-format-image): Add the / to the end
4545         of the <img> tag.
4546         (org-export-format-source-code): Surround example by empty lines,
4547         to make sure it will not be inside a paragraph.
4549         * org.el (org-ido-switchb): New function.
4551 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
4553         * org-agenda.el (org-agenda-show): New prefix argument
4554         FULL-ENTRY.
4556         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4557         argument.
4559         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
4560         `org-agenda-change-all-lines'.
4561         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
4562         tags are now retrieved locally.
4564 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
4566         * org.el (org-get-outline-path): Fix bug if level is not given.
4567         (org-org-menu): Do not quote function in menu vector.
4569         * org-agenda.el (org-finalize-agenda): Fix typo with variable
4570         name.
4572 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4574         * org.el (org-refile): Avoid refiling to within the region to be
4575         refiled.
4577         * org-export-latex.el (org-export-latex-special-chars): Replace
4578         special characters also in tables.
4580         * org-agenda.el (org-agenda-change-all-lines): New argument
4581         FORCE-TAGS.
4582         (org-agenda-set-tags): Cet the new tags and pass them to
4583         `org-format-agenda-item'.
4585 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
4587         * org-export-latex.el (org-export-latex-classes): Add longable as
4588         a default package to all classes.
4589         (org-export-latex-tables): Handle the longtable attribute and the
4590         align attribute.
4592         * org-table.el (orgtbl-to-generic): Handle tables that start with
4593         a hline.
4595         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4596         \verb for colde-like snippets.
4597         (org-export-as-latex): Fix issues with region export.
4599         * org.el (org-up-heading-safe): Speed up function by using a
4600         direct regexp search.
4601         (org-olpa): New variable.
4602         (org-get-outline-path): Speed-up path constructions in cases where
4603         this is possible because the entire hierarchy is scanned anyway.
4604         (org-refile-get-location): Don't compare the truenames of files,
4605         this is too slow.
4606         (org-goto-max-level): New option.
4607         (org-goto): Use `org-goto-max-level'.
4609 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
4611         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4612         Strip angle brackets from message-ids in the former and don't do
4613         it in the latter.
4614         (org-gnus-follow-link): Open summary reliable, even if the last
4615         messages were deleted, and handle empty groups, too.
4617 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
4619         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4620         instead of \texttt for the =...= and ~===~ emphasis environments.
4621         (org-export-as-latex): Remove any old :org-license-to-kill text
4622         properties.
4623         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4624         (org-export-latex-make-header): Add some hard space after the
4625         table of contents.
4626         (org-export-latex-first-lines): Accept RBEG argument.  Mark
4627         exported text so that it will be excuded in further steps.
4629         * org-table.el (org-table-get-specials): Make @0 reference the
4630         last line in a table.
4631         (org-table-recalculate): Improve docstring.
4633 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
4635         * org.el (org-log-done): Fix docstring.
4637 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
4639         * org-exp.el (org-export-html-format-image): Fix bugs.
4641         * org-export-latex.el (org-export-latex-tables)
4642         (org-export-latex-links): Implement attribute, label, and caption
4643         handling.
4645         * org-exp.el (org-export-html-style-default): Add style
4646         definitions for the figure div.
4647         (org-export-preprocess-string, org-export-as-html): Implement
4648         attribute, label, and caption handling.
4649         (org-export-attach-captions-and-attributes): New function.
4650         (org-export-html-format-image): New function.
4651         (org-format-org-table-html): Implement attribute, label, and
4652         caption handling.
4654         * org.el (org-find-text-property-in-string): New function.
4655         (org-extract-attributes): Use the property org-attr instead of
4656         org-attrobutes, because this property is now set with the #+ATTR
4657         lines.
4659 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
4661         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
4662         the case that FROM is nil.
4664         * org.el (org-before-first-heading-p): New function.
4666 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4668         * org-exp.el (org-export-as-html): Do not add a space before
4669         enforces line breaks.
4670         (org-export-as-html): Close paragraph before blockquote and verse
4671         tags.
4673 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
4675         * org-id.el (org-id-locations-file): Wrap file name with
4676         `convert-standard-filename'.
4677         (org-id-files): New variable.
4678         (org-id-use-hash): New option.
4679         (org-id-update-id-locations): Also search in all files current
4680         listed in `org-id-files'.  Convert the resulting alist to a hash
4681         if the user customation says so.
4682         (org-id-locations-save): Handle he case if `org-id-locations' is a
4683         hash.
4684         (org-id-locations-load): Convert the alist to a hash.
4685         (org-id-add-location): Handle the hast case.
4686         (kill-emacs-hook): Make sure id locations are saved when Emacs is
4687         exited.
4688         (org-id-hash-to-alist, org-id-alist-to-hash)
4689         (org-id-paste-tracker): New functions.
4691 -------------------------------------------------------------------------
4693 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
4695         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
4696         bindings of calendar variables.
4698         * org-table.el (org-table-find-row-type): Renamed from
4699         `org-find-row-type'.
4700         (org-table-rewrite-old-row-references): Renamed from
4701         `org-rewrite-old-row-references'.
4702         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
4703         (org-table-cleanup-narrow-column-properties): Renamed from
4704         `org-cleanup-narrow-column-properties'.
4706 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
4708         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
4709         for better error messages.
4710         (org-table-get-descriptor-line): Supply the new arguments to
4711         `org-find-row-type'.
4712         (org-table-error-on-row-ref-crossing-hline): New option.
4714         * org.el (org-target-link-regexp): Make buffer-local.
4715         (org-move-subtree-down): Fix bug with trees at beginning of
4716         buffer.
4718 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
4720         * org-faces.el (org-set-tag-faces): New function.
4721         (org-tags-special-faces-re): New variable.
4723         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
4725         * org-faces.el (org-tag-faces): New option.
4726         (org-tag): Mention `org-tag-faces' in the docstring.
4728 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
4730         * org-exp.el (org-export-html-style-default): Implement new
4731         quoting.
4733         * org-jsinfo.el (org-infojs-template): Implement new quoting.
4735         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
4736         command to the `w3m-minor-mode-map'.
4738         * org-archive.el (org-archive-to-archive-sibling): Protect
4739         `this-command' to avoid appending kills during archiving.
4741         * org-exp.el (org-export-with-priority): New variable.
4742         (org-export-add-options-to-plist): Use `org-export-plist-vars'
4743         instead of internal list of strings and properties.
4744         (org-print-icalendar-entries): Retrieve the location property with
4745         inheritance.
4747 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
4749         * org-exp.el (org-export-with-todo-keywords): New option.
4750         (org-export-plist-vars): Include also the keys for the #+OPTIONS
4751         line.
4752         (org-default-export-plist, org-export-add-options-to-plist)
4753         (org-export-as-ascii, org-export-as-html): Use the new structure
4754         of `org-export-plist-vars'.
4756         * org.el (org-map-entries): Return all values.
4758 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
4760         * org.el (org-matcher-time): Recognize more special values.
4762         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
4764 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
4766         * org.el (org-tags-exclude-from-inheritance): New option.
4767         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
4768         `org-tags-exclude-from-inheritance'.
4770         * org-agenda.el (org-agenda-show-inherited-tags): New option.
4771         (org-format-agenda-item): Add inherited tags to the agenda line
4772         string, and make sure that properties are kept when downcasing the
4773         tags list.
4774         (org-agenda-add-inherited-tags): New function.
4775         (org-downcase-keep-props): New function.
4777         * org.el (org-scan-tags): Mark inherited tags with a text
4778         property.
4779         (org-get-tags-at): Mark inherited tags with a text property.
4780         (org-add-prop-inherited): New function.
4782         * org-agenda.el (org-agenda-add-inherited-tags): New function.
4783         (org-agenda-show-inherited-tags): New option.
4785 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
4787         * org.el (org-modules): Add org-w3m to the default modules.
4789         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
4790         orgtbl-mode.
4791         (orgtabl-create-or-convert-from-region): New command.
4793         * org-exp.el (org-export-as-ascii): Remove the handling of
4794         targets.
4795         (org-export-ascii-preprocess): Handle targets already in this
4796         function.
4798 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
4800         * org-timer.el (org-timer-start-time): Define this variable.
4801         (org-timer-item): Make argument optional.
4803         * org-list.el (org-insert-item): Automatically insert a timer item
4804         if the current list is a timer list.
4806         * org-timer.el: New file.
4808         * org-publish.el (org-publish-org-index): Only exclude the index
4809         file in the main directory from being added to the site-map.
4810         (org-publish-get-project-from-filename): If the current project is
4811         a component, start publishing from the parent project.
4813 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
4815         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
4817         * org-publish.el (org-publish-org-index): Improve removal of
4818         temporary buffers.
4820         * org-agenda.el (org-get-closed): Re-apply changes
4821         accidentially overwritten by last commit to Emacs.
4823         * org.el (org-outline-path-complete-in-steps): New option.
4824         (org-refile-get-location): Honor
4825         `org-outline-path-complete-in-steps'.
4826         (org-agenda-change-all-lines, org-tags-sparse-tree)
4827         (org-time-string-to-absolute, org-small-year-to-year)
4828         (org-link-escape): Re-apply changes accidentially overwritten
4829         by last commit to Emacs
4831 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4833         * org-clock.el (org-dblock-write:clocktable): Make sure the
4834         clocktable sees the first line.
4835         (org-clock-in): Warn if the clock cannot be resumed.
4837 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
4839         * org.el (org-open-at-point): Fix mixup about interactive and
4840         non-interactive elisp links.
4842 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4844         * org-exp.el (org-export-preprocess-string): Allow one comment
4845         line before the first headline to always be included.  This is
4846         to not miss a commented target.
4848         * org-mouse.el (org-mouse-insert-item): Call
4849         `org-indent-to-column' instead of `indent-to', for XEmacs
4850         compatibility.
4852         * org.el (org-refile-targets): Fix customize definition so
4853         that it works also in XEmacs.
4854         (org-fixup-indentation): Call `org-indent-to-column' instead
4855         of `indent-to', for XEmacs compatibility.
4857 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
4859         * org-mew.el (org-mew-store-link): Get the correct case folder
4860         for refiled messages.
4862 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4864         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
4865         line break indicators.
4867         * org.el (org-ido-completing-read): Remove the "i:" prefix for
4868         ido-completion propts.
4870 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4872         * org-remember.el (org-remember-apply-template): Use
4873         `org-substring-no-properties'.
4875         * org-compat.el (org-substring-no-properties): New function.
4877         * org-remember.el (org-remember-apply-template): Use
4878         `org-substring-no-properties' for compatibility.
4880         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
4881         option.
4882         (org-fix-bullet-type): respect
4883         `org-list-two-spaces-after-bullet-regexp'.
4885         * org-clock.el (org-clock-load): Clean up the code.
4887         * org.el (org-adaptive-fill-function): Allow two spaces after
4888         "1." as a list bullet.
4890 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
4892         * org-clock.el (org-clock-save, org-clock-load): Check for
4893         live buffers, existing files, and buffer file names to ensure
4894         consistent information.
4895         (org-clock-persist): Make `clock' a special value of this
4896         variable, and improve docstring.
4898         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
4899         (org-get-string-indentation): Adapt indentation when the bullet
4900         width changes.
4902 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
4904         * org-remember.el (org-remember-finalize): Make interactive.
4905         (org-remember-kill): New command.
4906         (org-remember-finish-immediately): Call `org-remember-finalize'
4907         directly.
4908         (org-remember-finalize): Make `org-remember-finalize' an interactive
4909         function.
4911 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
4913         * org-remember.el (org-remember-apply-template): No ido completion
4914         for free prompts in remember templates.
4915         (org-remember-before-finalize-hook): New hook.
4916         (org-remember-mode): New minor mode.
4917         (org-remember-apply-template): Turn on `org-remember-mode'.
4919         * org-id.el (org-id-add-location): Avoid error when no file is
4920         given.
4922         * org-remember.el (org-remember-apply-template): Fix the way how
4923         the list of allowed properties is retrieved from the target file.
4925         * org.el (org-insert-link): Improve file link matching.
4927 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
4929         * org-colview.el (org-columns-display-here): New argument
4930         DATELINE, to trigger using the new face.
4931         (org-agenda-colview-summarize): Call `org-columns-display-here'
4932         with the new argument.
4934         * org-faces.el (org-agenda-column-dateline): New face.
4936         * org-publish.el (org-publish-org-index): Use index-title at page
4937         title, not as section.
4939         * org-exp.el (org-export-html-format-desc): Respect the
4940         org-protect property.
4941         (org-export-as-html): Protect image specifiers that are in the
4942         description part of a link.
4944         * org.el (org-sort-entries-or-items, org-completing-read)
4945         (org-refile-get-location, org-olpath-completing-read, org-todo)
4946         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
4947         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
4948         (org-set-property, org-delete-property)
4949         (org-delete-property-globally): Use `org-ido-completing-read'.
4951         * org-remember.el (org-remember-apply-template): Use
4952         `org-ido-completing-read'.
4954         * org-publish.el (org-publish): Use `org-ido-completing-read'.
4956         * org-colview.el (org-columns-edit-value, org-columns-new)
4957         (org-insert-columns-dblock): Use `org-ido-completing-read'.
4959         * org-colview-xemacs.el (org-columns-edit-value)
4960         (org-columns-new, org-insert-columns-dblock): Use
4961         `org-ido-completing-read'.
4963         * org-attach.el (org-attach-delete-one, org-attach-open): Use
4964         `org-ido-completing-read'.
4966         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
4967         `org-ido-completing-read'.
4969         * org.el (org-time-today): New function.
4970         (org-matcher-time): Use `org-time-today'.  Add special treatment
4971         for "<tomorrow>" and "<yesterday>".
4972         (org-ido-completing-read): New function.
4973         (org-completion-use-ido): New option.
4975         * org-exp.el (org-export-format-source-code): Fix bug in require
4976         htmlize code.
4977         (org-export-target-internal-links): Fix bug in search for text
4978         property.
4980 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
4982         * org-export-latex.el (org-export-latex-subcontent): Interprete
4983         target aliases as additonal labels.
4985         * org-exp.el (org-export-target-aliases): New variable.
4986         (org-export-preprocess-string)
4987         (org-export-handle-invisible-targets): Fill the alias alist.
4988         (org-export-as-html): Remove the &nbsp; from the anchor, and also
4989         assign an id.
4990         (org-html-level-start): Insert the target aliases as additonal
4991         anchors.
4993         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
4994         picture area.
4996 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
4998         * org.el (org-open-at-mouse): Ensure correct link abbreviations
4999         when following a link with the mouse from the agenda.
5001         * org-exp.el (org-export-as-html): Avoid lone </div> when no
5002         headlines are created.
5004 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
5006         * org-exp.el (org-export-preprocess-string): Reorder so that we
5007         can still see ID properties when we collect targets.
5008         (org-export-target-internal-links): Also store targets for ID's.
5010         * org.el (org-link-translation-function): New option.
5011         (org-open-at-point): Call `org-link-translation-function' if
5012         non-nil.
5013         (org-translate-link): New function.
5014         (org-translate-link-from-planner): New function.
5015         (org-open-at-point): Allow interactive commands in elisp links.
5017         * org-exp.el (org-icalendar-cleanup-string): Restore the old
5018         iCalendar quoting.  The new one seems to caus problems with
5019         applications.
5021         * org.el (org-yank): Set `this-command' to `yank', so that
5022         `yank-pop' will work.
5024 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5026         * org-id.el (org-id-search-archives): New option.
5028         * org.el (org-link-to-org-use-id): New option.
5029         (org-store-link): Use `org-link-to-org-use-id'.
5030         (org-id): Make org-id.el a standard component.
5032 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
5034         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5035         hexified version of the tag.
5037         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5038         compliance as far as quoting is concerned.
5040         * org-vm.el (org-vm-follow-link): Require `vm-search'.
5042         * org.el (org-up-heading-safe, org-forward-same-level): Always
5043         call `org-back-to-heading' instead of `outline-back-to-heading'.
5044         (org-back-to-heading): New wrapper around outline-back-to-heading,
5045         with a useful error message telling where the error happened.
5047         * org-list.el (org-update-checkbox-count): Always call
5048         `org-back-to-heading' instead of `outline-back-to-heading'.
5050         * org-exp.el (org-export-as-html): Make sure that each <img> tag
5051         has an `alt' attribute, to ensure XHTML validation.
5053 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
5055         * org-publish.el (org-publish-attachment): Allow publishing to
5056         overwrite attachment files.
5058         * org-agenda.el (org-agenda-timerange-leaders): New option.
5059         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5061         * org.el (org-edit-src-exit): Untabify ASCII image before
5062         returning.
5075 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
5077         * org.el (org-yank): Make any prefix force normal yanking.
5078         Suppress folding if text would be swallowed into a folded
5079         subtree.
5080         (org-yank-folded-subtrees, org-yank): Docstring updates.
5082         * org-agenda.el (org-agenda-compare-effort): Treat no effort
5083         defined as 0.
5085         * org-exp.el (org-export-language-setup): Add Catalan and
5086         Esperanto language entries.
5088 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
5090         * org.el (org-refile): Allow refiling of entire regions.
5092         * org-clock.el (org-clock-time%): New function.
5094         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5095         retrieve property values.
5097 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5099         * org-agenda.el (org-agenda-list): Handle the value `only' of
5100         org-agenda-show-log'.
5101         (org-agenda-log-mode): Interpret a double prefix arg.
5103 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5105         * org-exp.el (org-export-html-footnotes-section): New variable.
5106         (org-export-as-html): Use `org-export-html-footnotes-section' to
5107         insert the footnotes.
5108         (org-export-language-setup): Add "Footnotes" to language words.
5110 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5112         * org.el (org-yank): Fix bug when not inserting a subtree.
5114 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5116         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5117         instead of `vm-beginning-of-message'.
5119         * org.el (org-make-link-regexps): Make sure that links to gnus can
5120         contain brackets.
5122 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5124         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5125         code.
5127         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5128         shell output.
5130         * org.el (org-link-abbrev-alist): Improve customization type.
5132         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5133         functions.
5135         * org-agenda.el (org-agenda-get-progress): Renamed from
5136         `org-get-closed'.  Implement searching for state changes as well.
5137         (org-agenda-log-mode-items): New option.
5138         (org-agenda-log-mode): New option prefix argument, interpreted as
5139         request to show all possible progress info.
5140         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5141         `org-get-closed'.
5142         (org-agenda-set-mode-name): Handle the more complex log mode
5143         settings.
5144         (org-get-closed): New alias, pointing to `org-get-progress'.
5146 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5148         * org.el (org-file-apps-defaults-gnu)
5149         (org-file-apps-defaults-macosx)
5150         (org-file-apps-defaults-windowsnt): Add an entry defining the
5151         system command.
5152         (org-file-apps): Allow `system' as key and value.
5153         (org-open-at-point): Explain the effect of a double prefix arg.
5154         (org-open-file): If the argument `in-emacs' is (16),
5155         i.e. corresponding to a double prefix argument, try to open the
5156         file externally.
5158 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5160         * org.el (org-insert-link): Abbreviate absolute files names in
5161         links.  Also, fix a bug in which the double C-u prefix would not
5162         be honored.
5164 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5166         * org.el (org-insert-heading): If buffer does not end with a
5167         newline, add one if necessary to insert headline correctly.
5169         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5170         paragraphs, not inside.
5172         * org.el (org-todo): Quote
5173         `org-agenda-headline-snapshot-before-repeat'.
5175         * org-exp.el (org-export-as-html): Fully process link descriptions.
5176         (org-export-html-format-desc): New function.
5177         (org-export-as-html): Collect footnotes into the correct basket.
5178         (org-html-protect): No longer protect quotations marks here, this
5179         goes wrong.
5181         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5182         BEG.
5184         * org-compat.el (org-fit-window-to-buffer): New function (not
5185         really, a preliminary and incomplete version was present earlier,
5186         but not used).
5188         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5189         `org-fit-window-to-buffer'.
5191         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5193         * org-agenda.el (org-agenda-get-restriction-and-command)
5194         (org-fit-agenda-window, org-agenda-convert-date): Use
5195         `org-fit-window-to-buffer'.
5197         * org-exp.el (org-export-as-html): Process href links through
5198         `org-export-html-format-href'.
5199         (org-export-html-format-href): New function.
5201         * org-agenda.el (org-agenda-todo): Update only the current
5202         headline if this is a repeated TODO, marked done for today.
5203         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5204         only the current line.
5206         * org.el (org-todo): Take a snapshot of the headline if the
5207         repeater might change it.
5209 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5211         * org-publish.el (org-publish-find-title): Remove buffers visited
5212         only for extracting the title.
5214         * org-exp.el (org-export-html-style)
5215         (org-export-html-style-default): Mark style definitions as
5216         unparsed CDATA.
5218         * org-publish.el (org-publish-validate-link): Function
5219         re-introduced.
5221 2008-11-02  Charles Sebold  <csebold@gmail.com>
5223         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5224         property.
5225         (org-plot-quote-timestamp-field): New function.
5226         (org-plot-quote-tsv-field): Call timestamp field function when
5227         necessary rather than just quoting as a string.
5228         (org-plot/gnuplot-to-data): Pass in timefmt property.
5229         (org-plot/gnuplot-script): Supports timefmt property.
5230         (org-plot/gnuplot): Checks for timestamp column before checking
5231         for text index column.
5233 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5235         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5237         * org-publish.el (org-publish-org-index): Create a section in the
5238         index file.
5239         (org-publish-org-index): Stop linking to directories.
5241         * org.el (org-emphasis-alist): Use span instead of <u> to
5242         underline text.
5244         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5245         <pre> sections.
5247 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5249         * org-jsinfo.el (org-infojs-template): Remove language attribute
5250         from script tag.
5252 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5254         * org-agenda.el (org-agenda-remove-marked-text): New function.
5255         (org-agenda-mark-filtered-text)
5256         (org-agenda-unmark-filtered-text): New functions.
5257         (org-write-agenda): Remove fltered text.
5259         * org.el (org-make-tags-matcher): Give access to TODO "property"
5260         without speed penalty.
5262 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
5264         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5265         option.
5266         (org-store-link-props): Make sure adding to the plist works
5267         correctly.
5269         * org-gnus.el (org-gnus-no-new-news): New function.
5270         (org-gnus-follow-link): Allow the article ID to be a message-id,
5271         in addition to allowing article numbers.  Message IDs make much
5272         more roubust links.
5273         (org-gnus-store-link): Use message-id to create link.
5275 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
5277         * org.el (org-emphasize): Reverse the selection array.
5278         (org-emphasis-alist): Set <code> tags for the verbatim
5279         environment.
5281         * org-remember.el (org-remember-handler): Fix bug with
5282         prefix-related changing of the note storage target.
5284         * org-exp.el (org-print-icalendar-entries): Make the exported
5285         priorities compatible with RFC 2445.
5287         * org-clock.el (org-clock-save): Insert time stamp without
5288         dependence on time-stamp.el.
5290 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
5292         * org.el ("saveplace"): If saveplace puts point into an invisible
5293         location, make it visible.
5294         (org-make-tags-matcher): Allow inactive time stamps in time
5295         comparisons.
5296         (org-yank-adjusted-subtrees): New option.
5297         (org-yank): Incorporate adjusting trees.
5298         (org-paste-subtree): New argument FOR-YANK which will cause
5299         insertion at point without backing up over white lines, and leave
5300         point at the end of the inserted text.  Also if the cursor is
5301         at the beginning of a headline, use the same level or the inserted
5302         tree.
5304         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5305         with broken symlinks
5307 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5309         * org-exp.el (org-export-select-tags, org-get-current-options):
5310         Fix typo.
5312 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
5314         * org-agenda.el (org-format-agenda-item)
5315         (org-agenda-filter-make-matcher): Make sure tags are stored and
5316         compared donwcased.
5318 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
5320         * org.el (org-insert-todo-heading): Fix bug with force-heading
5321         argument.
5323 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
5325         * org-clock.el (org-clock-in-resume): Add a custom option to
5326         toggle starting the clock from an open clock line.
5327         (org-clock-in): When clocking in to an entry, if
5328         `org-clock-in-resume' is set, check if the first clock line is
5329         open and if so, start the clock from the time in the clock line.
5330         (org-clock-persist): Add a custom option to toggle clock
5331         persistence.
5332         (org-clock-persist-query-save): Add a custom option to toggle
5333         asking the user if they want to save the running clock when
5334         exiting.
5335         (org-clock-persist-query-resume): Add a custom option to toggle
5336         asking the user if they want to resume the saved clock when Emacs
5337         is restarted.
5338         (org-clock-save): Add a function to save clock data.
5339         This includes the contents of `org-clock-history' and the buffer
5340         and position of the currently clocked task, if any.
5341         (org-clock-load): Add a function to load clock data.
5342         This populates `org-clock-history', and resumes the saved clocked
5343         task if there is one.
5344         (org-clock-persistence-insinuate): Add a method to set up the
5345         hooks for clock persistence.
5347 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
5349         * org-exp.el (org-export-as-ascii): Handle the case that we are
5350         publishing from an indirect buffer.
5352         * org-table.el (org-table-copy-down): Fix bug with time stamp
5353         increment.
5355         * org-mouse.el (org-mouse-features): New option.
5356         (org-mode-hook): Turn on features depending on
5357         `org-mouse-features'.
5359         * org.el (org-insert-heading-respect-content): Force heading
5360         creation.
5361         (org-insert-heading): keep the folding state of the heading before
5362         the inserted one.
5364 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5366         * org-archive.el (org-archive-to-archive-sibling): Handle top
5367         level headlines better.
5369 2008-10-21  Bastien Guerry  <bzg@altern.org>
5371         * org-export-latex.el (org-export-latex-classes): Added
5372         \usepackage{graphicx} to the default list of packages.
5374 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5376         * org-agenda.el (org-agenda-filter): Renamed from
5377         `org-agenda-filter-tags'.
5379 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
5381         * org.el (org-entry-properties): Add CATEGORY property, iven if it
5382         is not defined as a property in this entry.
5383         (org-add-log-note): Mask prefix argument when immediately storing
5384         the note.
5386         * org-agenda.el (org-agenda-filter-effort-default-operator): New
5387         option.
5389 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
5391         * org.el (org-add-log-setup): Bugfix; code to find insertion point
5392         after drawers was skipping ahead one line too many, so notes were
5393         inserted after the first note instead of before it.
5395 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
5397         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5398         New variables.
5399         (org-prepare-agenda): Reset the filter tags.
5400         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5401         Show filter tags in mode line.
5403         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5404         formatter.
5406         * org-export-latex.el (org-latex-entities-regexp): New constant.
5407         (org-export-as-pdf): Use two calls to `shell-command'.
5409 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
5411         * org-export-latex.el (org-export-latex-treat-sub-super-char):
5412         Honor the {} value of the subsuperscript setting.  Make sure that
5413         longer subsuperscripts are typeset in a roman font.
5415         * org.el (org-clock-update-time-maybe): Compute negative clock
5416         intervals correctly.
5418 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
5420         * org.el (org-add-log-setup): Respect
5421         `org-log-state-notes-insert-after-drawers'.
5422         (org-log-state-notes-insert-after-drawers): New option.
5423         (org-todo-trigger-tag-changes): New function.
5424         (org-todo): Call `org-todo-trigger-tag-changes'.
5426 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
5428         * org.el (org-add-log-setup): Only skip drawers if the are
5429         immediately after the scheduling keywords.
5431         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5432         function
5433         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5434         call it with the current todo state to get the state to switch to
5435         when clocking in.
5436         (org-clock-in): Use org-indent-line-function to indent clock lines.
5437         (org-clock-find-position): Fix indentation of empty clock drawers.
5439 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
5441         * org-publish.el (org-publish-org-to): Handle case when
5442         org-export-to-pdf does return a file name, not a buffer.
5443         (org-publish-org-to-pdf): New function.
5445         * org-export-latex.el (org-export-as-pdf)
5446         (org-export-as-pdf-and-open): New commands.
5448         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5449         forms as ranges.
5451         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5452         things in protexted regions.
5454 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
5456         * org-export-latex.el (org-export-latex-preprocess): Improve
5457         quoting of LaTeX environments.
5459 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
5461         * org.el (org-edit-fixed-width-region): Exclude final newline from
5462         picture area.
5464         * org-export-latex.el (org-export-latex-subcontent): Add labels to
5465         sections, to make internal links work.
5466         (org-export-latex-fontify-headline): Do not remove all text
5467         properties, to make sure that target properties survive this
5468         process.
5470         * org-exp.el (org-export-preprocess-string): Change sequence of
5471         modifications, to make sure links are prepared before the LaTeX
5472         conversions do happen.
5474 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
5476         * org-attach.el (org-attach-delete-all): Renamed from
5477         `org-attch-delete'.  Add a security query before deleting the
5478         entire directory.  New optional argument FORCE can overrule the
5479         security query.
5480         (org-attach-delete-one): New command.
5482 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
5484         * org-attach.el (org-attach-file-list): Fix bug with directory.
5486 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
5488         * org.el (org-apps-regexp-alist): New function.
5489         (org-file-apps): Add auto-mode to the default value.
5490         (org-open-file): Use the new structure of org-file-apps.
5492         * org-attach.el (org-attach): Support the new keys.
5493         (org-attach-method): New option.
5495 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
5497         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5498         March.
5500         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5501         of the list value o `org-use-tag-inheritance'.
5503         * org-attach.el (org-attach-auto-tag): New option.
5504         (org-attach-tag, org-attach-untag): New functions.
5505         (org-attach-attach, org-attach-new, org-attach-sync): Call
5506         `org-attach-tag'.
5507         (org-attach-delete): Call `org-attach-untag'.
5509 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
5511         * org-table.el (orgtbl-self-insert-command): Make this work for
5512         the keypad as well.
5514 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
5516         * org.el (org-add-log-setup): Limit searc for drawers to entry
5517         text, not to subtree.
5519         * org-clock.el (org-clock-heading-for-remember): New variable.
5520         (org-clock-in): Set `org-clock-heading-for-remember'.
5522 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
5524         * org-remember.el (org-remember-apply-template): Add new
5525         expansions: %k, %K for currently clocked task and a link to the
5526         currently clocked task, and %< to file notes in the currently
5527         clocked task.
5529 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
5531         * org-export-latex.el (org-export-latex-make-header): Also insert
5532         the content of the property :latex-header-extra.
5534         * org-exp.el (org-infile-export-plist): Put the content of
5535         #+LATEX_HEADER: into the property :latex-header-extra.
5537         * org-colview.el (org-columns-get-format-and-top-level): Remove
5538         resetting the marker.
5540         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5541         Remove resetting the marker.
5543         * org.el (org-entry-property-inherited-from): Improve docstring.
5544         (org-entry-get-with-inheritance): Reset marker before starting the
5545         search.
5547         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5549 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
5551         * org.el (org-entry-get-multivalued-property)
5552         (org-entry-protect-space, org-entry-restore-space): New
5553         functions.
5554         (org-file-apps-defaults-macosx): Let postscript files be opened by
5555         preview.
5556         (org-time-stamp-inactive): Call `org-time-stamp'.
5557         (org-time-stamp): New argument `inactive'.  Also edit inacive
5558         stamps. Convert time stamp type.
5559         (org-open-file): Interpret the `default' value for the `command'
5560         in `org-file-apps'.
5562         * org-id.el (org-id-int-to-b36-one-digit)
5563         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5564         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
5565         b36.
5567 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
5569         * org-id.el (org-id-reverse-string): New function.
5570         (org-id-new): Use `org-id-reverse-string' to make sure the
5571         beginning chars of the ID are mutating fast.  This allows to use a
5572         directory structure to spread things better.
5573         (org-id-prefix): Changed default to nil.
5575         * org-list.el (org-move-item-down, org-move-item-up): Remember and
5576         restore the column of the cursor position.
5578         * org-remember.el (org-remember-apply-template): Remove properties
5579         from `initial'.
5581 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
5583         * org-wl.el (org-wl-open): Remove useless call to
5584         `wl-thread-open-all'.
5586         * org-remember.el (org-remember-handler): Fix bug with `bottom'
5587         location.
5589 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
5591         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5592         `org-bbdb-anniversaries'.
5594         * org.el (org-get-next-sibling, org-forward-same-level): New
5595         functions, similar to the outline versions, but invisible headings
5596         are OK.
5598 2008-09-25  Bastien Guerry  <bzg@altern.org>
5600         * org.el (org-auto-repeat-maybe): Insert a space between
5601         the timestamp's type and the timestamp itself.
5603 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
5605         * org-table.el (org-table-sum): Do not format the result with %g,
5606         it does rounding when there are too many digits.
5608         * org.el (org-map-entries): Protect the keyword-selecting variables.
5610 2008-09-23  Bastien Guerry  <bzg@altern.org>
5612         * org-agenda.el (org-agenda-to-appt): Make sure the function check
5613         against all agenda files.
5615 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
5617         * org-list.el: New file, aggregating list functions from org.el
5618         and org-export-latex.el.
5620         * org.el (org-edit-src-region-extra): New option.
5622 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
5624         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5625         time before 1am.
5627 2008-09-22  Bastien Guerry  <bzg@altern.org>
5629         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5631 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
5633         * org-plot.el (org-plot/gnuplot): Make tables starting with a
5634         hline work correctly.
5635         (org-plot/gnuplot-script): Put commas at the end of each script
5636         line.
5638 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
5640         * org.el (org-get-refile-targets): Replace links with their
5641         descriptions
5642         (org-imenu-get-tree): Replace links with their descriptions.
5644         * org-remember.el (org-remember-apply-template): Add a new
5645         expansion for adding properties to remember items.
5647         * org.el (org-add-log-setup): Skip over drawers (properties,
5648         clocks etc) when adding notes.
5650         * org-agenda.el (org-agenda-get-closed): show durations of clocked
5651         items as well as the start and end times.
5653         * org-compat.el (org-get-x-clipboard-compat): Add a compat
5654         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
5656         * org-remember.el (org-get-x-clipboard): Use the compat
5657         function to get clipboard values when x-selection-value is
5658         unavailable. Use substring-no-properties instead of
5659         set-text-properties to remove text properties from the clipboard
5660         value.
5662         * lisp/org-clock.el (org-update-mode-line): Support limiting the
5663         modeline clock string, and display the full todo value in the
5664         tooltip. Set a local keymap so mouse-3 on the clock string goes to
5665         the currently clocked task.
5666         (org-clock-string-limit): Add a custom value for the maximum
5667         length of the clock string in the modeline.
5668         (org-clock-mode-map): Add a keymap for the modeline string
5670 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
5672         * org-compat.el (org-propertize): New function.
5674 2008-09-20  Bastien Guerry  <bzg@altern.org>
5676         * org-export-latex.el (org-export-latex-tables): protect exported
5677         tables from further special chars conversion.
5678         (org-export-latex-preprocess): Preserve LaTeX environments.
5679         (org-list-parse-list): Parse descriptive lists.
5680         (org-list-to-generic, org-list-to-latex, org-list-to-html)
5681         (org-list-to-texinfo): Export descriptive lists.
5682         (org-quote-chars): Remove.
5683         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
5684         (org-export-latex-list-beginning-re): Rename to
5685         `org-list-beginning-re'
5686         (org-list-item-begin): Rename to `org-list-item-beginning'
5688 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
5690         * org.el (org-refile): Allow refiling to the last entry in the
5691         buffer.
5692         (org-get-tags-at): Fix bug when inheritance is turned off.
5694 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
5696         * org.el (org-indent-line-function): No longer check for src
5697         regions, this is too much overhead.
5699         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
5700         matching.
5702         * org.el (org-scan-tags): Make sure that tags matching is not case
5703         sensitive.  TODO keyword matching is case sensitive, however, to
5704         avoid confusion with similar words that are not meant to be
5705         keywords.
5707 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
5709         * org.el (org-get-local-tags-at): New function.
5710         (org-get-local-tags): New function.
5712         * org-exp.el (org-export-get-categories): New function.
5714         * org-agenda.el (org-sorting-choice)
5715         (org-agenda-sorting-strategy, org-agenda-get-todos)
5716         (org-agenda-get-timestamps, org-agenda-get-deadlines)
5717         (org-agenda-get-scheduled, org-agenda-get-blocks)
5718         (org-entries-lessp): Implement sorting by TODO state.
5719         (org-cmp-todo-state): New defsubst.
5721         * org-colview.el (org-colview-construct-allowed-dates): New
5722         function.
5723         (org-columns-next-allowed-value): Use
5724         `org-colview-construct-allowed-dates'.
5726         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
5727         function.
5728         (org-columns-next-allowed-value): Use
5729         `org-colview-construct-allowed-dates'.
5731 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
5733         * org.el (org-protect-slash): New function.
5734         (org-get-refile-targets): Use `org-protect-slash'.
5736         * org-agenda.el (org-global-tags-completion-table): New variable.
5738         * org-exp.el (org-export-handle-export-tags): New function.
5739         (org-export-preprocess-string): Call
5740         `org-export-handle-export-tags'.
5742         * org-plot.el: New file.
5744         * org-publish.el (org-publish-expand-components): Function removed.
5745         (org-publish-expand-projects): Allow components to have components.
5747 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
5749         * org.el (org-indent-line-function): Do not indent in regions that
5750         are external source code.
5751         (org-yank-and-fold-if-subtree): New function.
5753         * org-agenda.el (org-agenda-todayp): New function.
5754         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
5755         `org-agenda-todayp'.
5757         * org.el (org-insert-heading-respect-content)
5758         (org-insert-todo-heading-respect-content): New commands.
5759         (org-insert-heading-respect-content): New option.
5760         (org-insert-heading): Respect `org-insert-heading-respect-content'.
5762         * org-clock.el (org-clock-find-position): Make sure the note after
5763         the clock line gets moved into the new clock drawer.
5765 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
5767         * org-id.el (org-id-new): New option.
5769 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
5771         * org-table.el (org-table-copy-down): Avoid overflow during
5772         increment.  Use prefix argument 0 to temporarily disable the
5773         increment.
5775 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
5777         * org-exp.el (org-export-as-html): Do not turn on the major mode
5778         if the buffer will be killed anyway.
5779         (org-get-current-options): Exclude the #+TEXT field.
5780         (org-export-as-html): Make sure text before the first headline is
5781         a paragraph.
5783         * org-publish.el (org-publish-org-to): Tell the exporter that this
5784         buffer will be killed, so it is not necessary to do major mode
5785         initialization.
5787         * org-archive.el (org-archive-to-archive-sibling): Show empty
5788         lines after folding the archive sibling.
5790         * org.el (org-log-note-extra): New variable.
5792 2008-09-05  Bastien Guerry  <bzg@altern.org>
5794         * org.el (org-additional-option-like-keywords): Added keywords for
5795         the _QUOTE, _VERSE and _SRC environments.
5797         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
5798         exporting _QUOTE and _VERSE environments.
5800 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
5802         * org-agenda.el (org-agenda-filter-by-tag): New command.
5804         * org-exp.el (org-get-current-options): Remove angular brackets
5805         from the date entry.
5807         * org.el (org-edit-fixed-width-region): New function.
5808         (org-edit-fixed-width-region): Also try
5809         `org-edit-fixed-width-region'.
5810         (org-edit-fixed-width-region-mode): New option.
5811         (org-activate-code): Only interprete lines starting with colon
5812         plus a space as example lines.
5814         * org-remember.el (org-remember-templates): Add nil instead of
5815         empty strings to fix the length of remember templates.
5817         * org-table.el (org-calc-default-modes): Fix the time format for
5818         calc, from 12 hour to 24 hour clock.
5820 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
5822         * org-agenda.el (org-agenda-get-deadlines)
5823         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
5824         entries that are pre-warnings of deadlines or reminders.
5826         * org.el (org-sort-entries-or-items): Make numeric and alpha
5827         comparisons ignore any TODO keyword and priority cookie.
5829         * org-remember.el (org-remember-handler): Reinterpretation of the
5830         prefix argument.
5832 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
5834         * org-agenda.el (org-agenda-get-scheduled): Use new
5835         `org-scheduled' face.
5837         * org-faces.el (org-scheduled): New face.
5839         * org-wl.el (org-wl-open): Remove incorrect declaration.
5841         * org-gnus.el (org-gnus-store-link): Support for :to information
5842         in gnus links.
5844         * org-exp.el (org-export-as-html): Fixed typo in creator
5845         information.
5846         (org-export-protect-examples): New parameter indent.  Insert extra
5847         spaces only when this parameter is specified.
5848         (org-export-preprocess-string): Call `org-export-protect-examples'
5849         with an indentation parameter when exporting to ASCII.
5851         * org-remember.el (org-remember-templates)
5852         (org-remember-apply-template): Allow the file component to be a
5853         function.
5855         * org.el (org-goto-local-search-headings): Renamed from
5856         `org-goto-local-search-forward-headings'.  Added the possibility
5857         to search backwards.
5859 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
5861         * org-export-latex.el (org-export-latex): New customization
5862         group.
5864         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
5866 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
5868         * org-exp.el (org-html-do-expand): Allow {} to terminate
5869         tex macro
5871 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
5873         * org.el (org-buffer-list): Select buffers based on major mode,
5874         not on file name.
5876 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
5878         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
5879         face property.
5881         * org-colview.el (org-columns-display-here): Use
5882         `org-columns-modify-value-for-display-function'.
5884         * org-colview-xemacs.el (org-columns-display-here): Use
5885         `org-columns-modify-value-for-display-function'.
5887 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
5889         * org.el (org-columns-modify-value-for-display-function): New option.
5901         * org-publish.el (org-publish-file): Make sure the directory match
5902         for the publishing directory works correctly.
5904         * org-agenda.el (org-agenda-execute-calendar-command)
5905         (org-agenda-diary-entry): Additional optional argument.
5907 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
5909         * org-exp.el (org-export-as-html): Add attributes also in mailto
5910         and ftp links.
5912         * org.el (org-autoload): Add `org-dblock-write:columnview'.
5921 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
5923         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
5924         sure that calls from `org-export-region-as-html' do not do the
5925         special check for a subtree.
5927 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
5929         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
5931 2008-07-20  Juri Linkov  <juri@jurta.org>
5933         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
5934         new keymap `narrow-map' instead of binding "\C-xns".
5936 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
5938         * org.el (org-open-file): Use
5939         `org-open-directory-means-index-dot-org'.
5940         (org-open-directory-means-index-dot-org): New option.
5942 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
5944         * org.el (org-make-link-string): Remove link attributes from
5945         description.
5946         (org-open-at-point): Remove link attributes bevore using the path.
5948         * org-exp.el (org-export-as-html): Handle link attributes.
5950         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
5952         * org-table.el (org-table-to-lisp): New function.
5954         * org.el (org-narrow-to-subtree): Do not include the final newline
5955         into the narrowed region.
5957         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
5958         bug with user-define skipping condition.
5960 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
5962         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
5964 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
5966         * org-exp.el (org-export-html-style-default): Automatic overflow
5967         handling for pre fields.
5968         (org-export-as-ascii, org-export-as-html): Change default format
5969         for time stamp.
5971         * org-table.el (org-table-export): Offer completion for translator
5972         functions, and do not require a heading above the table.
5974         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
5975         Cater for the case of a list starting in the first line of the
5976         buffer.
5978 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
5980         * org-publish.el (org-publish-find-title): Bug fix.
5981         (org-publish-org-index): Implement new :index-style option.
5983 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
5985         * org-publish.el (org-publish-timestamp-filename): Use
5986         SHA1-encoded file names in the timestamp directory.
5988 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
5990         * org-publish.el (org-publish-needed-p): Be verbose about files
5991         published and files skipped.
5993         * org-exp.el (org-export-preprocess-string): Swap link
5994         normalization and inernal link targeting.
5996         * org-publish.el (org-publish-needed-p): Create timestamp
5997         directory when it does not exist.
5999 2008-07-04  Bastien Guerry  <bzg@altern.org>
6001         * org-clock.el (org-clock-out-when-done): Doc fix.
6003         * org.el (org-agenda-skip-unavailable-files): Doc fix.
6005         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6006         Ignore case when searching for the COMMENT cookie at export time.
6008 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
6010         * org-exp.el (org-get-file-contents)
6011         (org-get-and-remove-property): New functions.
6012         (org-export-handle-include-files): Handle the new prefix options.
6013         (org-export-as-html): Fix the verse environment.
6015 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
6017         * org.el (org-time=, org-time<, org-time<=, org-time>)
6018         (org-time>=, org-time<>, org-2ft): New functions.
6019         (org-op-to-function): Also provide for the time testing fucntions.
6021 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
6023         * org-exp.el (org-export-html-style-default): New constant.
6025 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
6027         * org-exp.el (org-export-html-style-extra): New variable.
6028         (org-export-splice-style): New function.
6030 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
6032         * org-exp.el (org-export-plist-vars, org-export-as-html):
6033         Implement `org-export-creator-info'.
6034         (org-export-creator-info): New option.
6036 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
6038         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6039         (org-property-drawer-re, org-clock-drawer-re): New constants.
6041 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
6043         * org-exp.el (org-icalendar-use-deadline)
6044         (org-icalendar-use-scheduled): New options.
6045         (org-icalendar-include-todo): Default changed to t.
6046         (org-print-icalendar-entries): Implement better utilization of
6047         scheduling and deadline time stamps.
6048         (org-export-target-internal-links, org-export-as-html): Allow file
6049         lines without the "file:" prefix if the file path is an absolute
6050         path or starts with ".".
6052         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6053         lastweek etc.
6054         (org-clock-special-range): Also undertand yesterday, lastweek etc.
6056 2008-06-18  Glenn Morris  <rgm@gnu.org>
6057         * org.el (org-map-entries): Let-bind `file'.
6059 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
6061         * org.el (org-agenda-skip-archived-trees): Docstring now
6062         discourages using this.
6063         (org-scan-tags): Check for org-agenda-archives-mode.
6064         (org-map-entries): Make sure org-agenda-archives-mode is nil.
6065         (org-agenda-files): Functionality of second arg changed.
6067         * org-agenda.el (org-agenda-archives-mode): New variable
6068         (org-write-agenda, org-prepare-agenda, org-agenda-list)
6069         (org-search-view, org-todo-list, org-tags-view)
6070         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6071         `ifmode' argument.
6072         (org-agenda-quit): Reset the archives mode.
6073         (org-agenda-archives-mode): New command.
6074         (org-agenda-set-mode-name): Include archives info.
6076 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
6078         * org.el (org-paste-subtree): Make sure the yanked headline is
6079         visible if it was yanked at a visible point.
6080         (org-move-item-up): Fix the bug with moving white space at the end
6081         of the item.
6082         (org-show-empty-lines-in-parent): New function.
6084 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
6086         * org-colview.el (org-columns-next-allowed-value): Bug fix.
6088         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6090         * org-agenda.el (org-agenda-get-closed): Get the end time into the
6091         agenda prefix as well.
6093         * org-publish.el (org-publish-org-index): Make a properly indented
6094         list.
6096         * org.el (org-calendar-agenda-action-key): New option.
6097         (org-get-cursor-date): New function.
6098         (org-mark-entry-for-agenda-action): New command.
6099         (org-overriding-default-time): New variable.
6100         (org-read-date): Respect `org-overriding-default-time'.
6102         * org-remember.el (org-remember-apply-template): Respect the
6103         ovverriding default time.
6105         * org-agenda.el (org-agenda-action-marker): New variable.
6106         (org-agenda-action): New command.
6107         (org-agenda-do-action): New function.
6109 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6111         * org.el (org-schedule, org-deadline): Protect scheduled and
6112         deadline tasks against changes that accidently remove the
6113         repeater.  Also show a message with the new date when done.
6115 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6117         * org.el (org-beginning-of-line): Cater for the case when there
6118         are tags but no headline text.
6119         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6120         it set.
6122 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6124         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6125         the return value is nil instead of "nil" when there is no match.
6127         * org-exp.el (org-insert-centered): Use fill-column instead of
6128         80.
6129         (org-export-as-ascii): Use string-width to measure the width of
6130         the heading.
6132         * org.el (org-diary-to-ical-string): No longer kill buffer
6133         FROMBUF, this is now done by the caller.
6135         * org-exp.el (org-print-icalendar-entries): Move the call to
6136         `org-diary-to-ical-string' out of the loop, and kill the buffer
6137         afterwords.
6139         * org-remember.el (org-remember-visit-immediately): Position
6140         cursor after moving to the note.
6141         (org-remember-apply-template): Use a text property to record the
6142         cursor position.
6143         (org-remember-handler): Align tags after pasting the note.
6145 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6147         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6149         * org-agenda.el (org-agenda-open-link): If there is an
6150         org-bbdb-name property in the current line, jump to that bbdb
6151         entry.
6153         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6154         text property, so that the agenda knows where this entry comes
6155         from.
6157         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6158         interaction between clocking-in from the agenda, and  automatic
6159         task state switching.
6161         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6163         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6164         zmacs-region stays after this command in XEmacs.
6166 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6168         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6170         * org-remember.el (org-remember-templates): Fix bug in
6171         customization type definition.
6173         * org.el (org-map-entries): New function.
6175 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6177         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6178         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6180 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6182         * org-remember.el (org-jump-to-target-location): New variable.
6183         (org-remember-apply-template): Set
6184         `org-remember-apply-template' if requested by template.
6185         (org-remember-handler): Start an idle timer to jump to
6186         remember location.
6188         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6190         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6191         file tags.
6192         (org-get-tags-at): Add the content of `org-file-tags'.
6194         * org-exp.el (org-export-handle-comments): Fix bug with several
6195         comment lines after each other.
6196         (org-number-to-roman, org-number-to-counter): New functions.
6197         (org-export-section-number-format): New option.
6199 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6201         * org-exp.el (org-export-protect-examples): Catch the case of a
6202         missing end_example line.
6204         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6205         `org-file-tags' to nil.
6207         * org-colview.el (org-columns-next-allowed-value): Handle next
6208         argument NTH to directly select a value.
6210         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6211         argument NTH to directly select a value.
6213 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6215         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6217 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6219         * org.el (org-columns-ellipses): New option.
6221 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6223         * org-colview.el (org-columns-add-ellipses): New function.
6224         (org-columns-compact-links): New function.
6225         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6226         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6227         when in agenda.
6228         (org-columns-edit-value): Fixed bug with editing values from
6229         agenda column view.
6230         (org-columns-redo): Also redo the agenda itself.
6232 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6234         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6235         option.
6237         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6239         * org-exp.el (org-export-ascii-preprocess): Renamed from
6240         `org-export-ascii-clean-string'.
6241         (org-export-kill-licensed-text)
6242         (org-export-define-heading-targets)
6243         (org-export-handle-invisible-targets)
6244         (org-export-target-internal-links)
6245         (org-export-remove-or-extract-drawers)
6246         (org-export-remove-archived-trees)
6247         (org-export-protect-quoted-subtrees)
6248         (org-export-protect-verbatim, org-export-protect-examples)
6249         (org-export-select-backend-specific-text)
6250         (org-export-mark-blockquote-and-verse)
6251         (org-export-remove-comment-blocks-and-subtrees)
6252         (org-export-handle-comments, org-export-mark-radio-links)
6253         (org-export-remove-special-table-lines)
6254         (org-export-normalize-links)
6255         (org-export-concatenate-multiline-links)
6256         (org-export-concatenate-multiline-emphasis): New functions,
6257         obtained from spliiting the export preprocessor.
6259         * org-table.el (org-table-recalculate): Improve error message if
6260         the row number is invalid.
6262 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
6264         * org-archive.el (org-archive-save-context-info): Fix bugs in
6265         customization setup and docstring.
6267         * org-exp.el (org-export-html-style): Changed the size of in the
6268         <pre> element to 90%.
6270 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
6272         * org.el (org-find-src-example-start): Function removed.
6273         (org-edit-src-find-region-and-lang): New function.
6275 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
6277         * org.el (org-edit-src-exit): New function.
6278         (org-exit-edit-mode): New minor mode.
6280         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6281         comment-like lines from protected examples.
6283         * org.el (org-edit-src-example, org-find-src-example-start)
6284         (org-protect-source-example, org-edit-special): New functions.
6286 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
6288         * org-publish.el (org-publish-project-alist): Fix typo in
6289         docstring.
6290         (org-publish-project-alist): Handle :index-title property.
6292 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
6294         * org-export-latex.el (org-export-as-latex): Make sure region
6295         bounds are correct.  Parse subtree properties relating to export.
6297         * org-exp.el (org-export-add-options-to-plist): New function.
6298         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6300 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
6302         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6303         EXPORT_TITLE.
6305         * org-exp.el (org-export-get-title-from-subtree)
6306         (org-export-as-ascii, org-export-as-html): Make sure the original
6307         region-beginning and region-end are used, even after moving
6308         point.
6309         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6310         property.
6312         * org-remember.el (org-remember-last-stored-marker): New variable.
6313         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6314         (org-remember-handler): Also use marker to remember
6315         last-stored position.
6317         * org.el (org-goto-marker-or-bmk): New function.
6319 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
6321         * org.el (org-file-properties): Renamed from `org-local-properties'.
6322         (org-scan-tags): Take file tags into account.
6323         (org-tags-match-list-sublevels): Default changed to t.
6325         * org-exp.el (org-export-as-html): Close paragraph after a
6326         footnote.
6328         * org.el (org-update-parent-todo-statistics): New function.
6330         * org-exp.el (org-icalendar-store-UID): New option.
6331         (org-icalendar-force-UID): Option removed.
6332         (org-print-icalendar-entries): IMplement UIDs.
6334 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
6336         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6338 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
6340         * org-faces.el (org-column): Document how this face is being used
6341         and why sometimes the background faces shine through.
6343         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6345         * org-publish.el (org-publish-attachment): Create publishing
6346         directory if it does not yet exist.
6348         * org-table.el (org-calc-default-modes): Change default number
6349         format to (float 8).
6351         * org.el (org-olpath-completing-read): New function.
6352         (org-time-clocksum-format): New option.
6353         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6355         * org-clock.el (org-clock-display, org-clock-out)
6356         (org-update-mode-line): Use `org-time-clocksum-format'.
6358         * org-colview-xemacs.el (org-columns-number-to-string): Use
6359         `org-time-clocksum-format'.
6361         * org-colview.el (org-columns-number-to-string): Use
6362         `org-time-clocksum-format'.
6364 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
6366         * org-id.el: New file, move from contrib to core.
6368         * org-exp.el (org-icalendar-force-UID): New option.
6370 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
6372         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6373         shifted by one day if theere is a date range without an end
6374         time.
6376         * org.el (org-try-structure-completion): New function.
6378 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
6380         * org.el (org-set-font-lock-defaults): Improve fontification of
6381         description lists.
6382         (org-insert-item): Handle description lists.
6383         (org-adaptive-fill-function): Improve auto indentation in
6384         description lists.
6386         * org-exp.el (org-export-as-html, org-export-preprocess-string):
6387         Implement VERSE environment.
6388         (org-export-preprocess-string): Implement the COMMENT
6389         environment.
6391         * org-export-latex.el (org-export-latex-preprocess): Implement
6392         VERSE environment.
6394 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
6396         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6397         option.
6399 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
6401         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6403         * org.el (org-quote-csv-field): New functions.
6405         * org-table.el (org-table-export-default-format): Remove :splice
6406         from default format, we get the same effect by not specifying
6407         :tstart and :tend.
6408         (org-table-export): Improve setup, distinguish better between
6409         interactive and non-interactive use, allow specifying the format
6410         on the fly, better protection against wrong file names.
6411         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
6412         and :tend when :splice is omitted.
6414 2008-05-09  Bernt Hansen  <bernt@norang.ca>
6416         * org-clock.el (org-clock-select-task): Make sure the selection
6417         letters are 1-9 and A-Z, no special characters.
6419 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
6421         * org-exp.el (org-export-htmlize): New group.
6422         (org-export-htmlize-output-type)
6423         (org-export-htmlize-css-font-prefix): New options.
6424         (org-export-htmlize-region-for-paste): New function.
6425         (org-export-htmlize-generate-css): New command.
6427 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
6429         * org/org.el (org-modules, org-format-latex-options):
6430         * org/org-archive.el (org-archive-stamp-time)
6431         (org-archive-save-context-info):
6432         * org/org-faces.el (org-hide):
6433         * org/org-irc.el (org-irc-parse-link):
6434         * org/org-macs.el (org-call-with-arg, org-autoload):
6435         * org/org-mew.el (org-mew-store-link):
6436         * org/org-remember.el (org-remember-store-without-prompt)
6437         (org-remember-templates): Fix typos in docstrings.
6439         * org/org-info.el (org-info-store-link): Remove leftover docstring.
6441         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6442         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6443         (org-bbdb-anniv-split): Fix typos in docstrings.
6445         * org/org-publish.el (org-publish-project-alist): Doc fixes.
6446         (org-publish-use-timestamps-flag): Reflow docstring.
6447         (org-publish-files-alist): Fix typos in docstring.
6449 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
6451         * org.el (org-set-visibility-according-to-property): New function.
6452         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6453         and compute the regular expressions, and update font-lock.
6454         (org-property-re): Allow a dash in property names.
6456         * org-archive.el (org-extract-archive-file): Insert the file name
6457         without the path into the format, to allow the location format to
6458         contain a subdirectory.
6460         * org-agenda.el (org-agenda-post-command-hook): If point is at end
6461         of buffer, and the `org-agenda-type' property undefined, use the
6462         value from the character before.
6464         * org.el (org-add-planning-info): Don't let indentation for
6465         would-be timestamp become extra whitespace at the end of headline.
6467 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
6469         * org.el (org-remove-double-quotes, org-file-contents): New
6470         functions.
6472         * org-exp.el (org-infile-export-plist): Also parse the
6473         contents of #+SETUPFILE files, recursively.
6475         * org.el (org-set-regexps-and-options): Also parse the
6476         contents of #+SETUPFILE files, recursively.
6478         * org-exp.el (org-export-handle-include-files): New function.
6479         (org-export-preprocess-string): Call
6480         `org-export-handle-include-files'.
6482         * org.el (org-delete-property-globally)
6483         (org-delete-property, org-set-property): Ignore case during
6484         completion.
6485         (org-set-property): Use `org-completing-read' instead of
6486         `completing-read'.
6488         * org.el (org-complete-expand-structure-template): New,
6489         experimental function.
6490         (org-structure-template-alist): New, experimental option.
6491         (org-complete): Call `org-complete-expand-structure-template'.
6493 2008-05-06  Bastien Guerry  <bzg@altern.org>
6495         * org-export-latex.el (org-export-latex-preprocess): Added
6496         support for blockquotes.
6498 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
6500         * org.el (org-read-date-analyze): Catch the case where only a
6501         weekday is given.
6503 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
6505         * org.el (org-set-font-lock-defaults): Make the description
6506         tag bold.
6508         * org-exp.el (org-export-as-html, org-close-li): Implement
6509         description lists.
6511 2008-05-04  Jason Riedy  <jason@acm.org>
6513         * org-table.el (*orgtbl-default-fmt*): New variable.
6514         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6515         when there is no other fmt available.
6517         (orgtbl-to-generic): Allow an explicitly nil :tstart or
6518         :tend to suppress the appropriate string.
6520         (orgtbl-to-orgtbl): New function for translating to another orgtbl
6521         table.
6523 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
6525         * org.el (org-read-date-analyze): "." as an alias for "+0" in
6526         read date.
6528         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6529         New function.
6531         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6532         New function.
6534 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
6536         * org-clock.el (org-clock-find-position): Don't include notes
6537         into clock drawer.
6539         * org-archive.el (org-archive-subtree): No longer remove an
6540         extra line after cutting the subtree.  `org-cut-subtree' already
6541         takes care of this.
6543         * org-remember.el (org-remember-handler): Only kill the target
6544         buffer if it does not contain the running clock.
6546         * org.el (org-markers-to-move): New variable.
6547         (org-save-markers-in-region, org-check-and-save-marker)
6548         (org-reinstall-markers-in-region): New function.
6549         (org-move-subtree-down, org-copy-subtree): Remember relative
6550         marker positions before cutting.
6551         (org-move-subtree-down, org-paste-subtree): Restore relative
6552         marker positions after pasting.
6554         * org-remember.el (org-remember-clock-out-on-exit): New option.
6555         (org-remember-finalize): Clock out only if the setting in
6556         `org-remember-clock-out-on-exit' requires it.
6557         (org-remember-handler): Do the cleanup in the buffer, to make sure
6558         that the clock marker remains in tact.
6560 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
6562         * org-clock.el (org-clock-goto): Widen buffer if necessary.
6563         (org-clock-in): Make sure that also tasks outside the narrowed
6564         region will be clocked in correctly.
6565         (org-clock-insert-selection-line): Widen the buffer so that we can
6566         find the correct task heading.
6568         * org.el (org-base-buffer): New function.
6570         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6571         and ";" are escaped.
6572         (org-print-icalendar-entries): Also apply
6573         `org-icalendar-cleanup-string' to the headline, not only to the
6574         summary property.
6576 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
6578         * org-exp.el (org-export-preprocess-hook): New hook.
6579         (org-export-preprocess-string): Call
6580         `org-export-preprocess-hook'.
6582         * org.el (org-font-lock-hook): New variable.
6583         (org-font-lock-hook): New function.
6584         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6586 ;; Local Variables:
6587 ;; coding: utf-8
6588 ;; add-log-time-zone-rule: t
6589 ;; End:
6591     Copyright (C) 2008  Free Software Foundation, Inc.
6593   This file is part of GNU Emacs.
6595   GNU Emacs is free software: you can redistribute it and/or modify
6596   it under the terms of the GNU General Public License as published by
6597   the Free Software Foundation, either version 3 of the License, or
6598   (at your option) any later version.
6600   GNU Emacs is distributed in the hope that it will be useful,
6601   but WITHOUT ANY WARRANTY; without even the implied warranty of
6602   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6603   GNU General Public License for more details.
6605   You should have received a copy of the GNU General Public License
6606   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
6608 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c