Avoid altering window configuration when saving edit buffer.
[rgr-org-mode.git] / lisp / ChangeLog
blobfdfe2c9bd47a99304971e7e305edb5a7d789cbc6
1 2009-11-08  Dan Davison  <davison@stats.ox.ac.uk>
3         * org-src.el (org-edit-src-code): New optional argument context
4         allows calling functions to avoid altering the saved window
5         configuration.
6         (org-edit-src-exit): Do not restore window configuration when this
7         function is used in the context of saving the edit buffer.
9 2009-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
11         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
12         instances to switching to with-current-buffer, because these seem
13         to cause problems - no idea why.
15         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
16         Require diary-lib for (diary-date-display-form).
18         * org.el (org-log-reschedule, org-log-redeadline): New options.
19         (org-log-note-headings): Add templates for rescheduling and
20         deadline changing.
21         (org-startup-options): Add in-buffer settings for logging changing
22         schedule and deadline time stamps.
23         (org-deadline, org-schedule): Check for existing date and arrange
24         for logging if the user requests it.
25         (org-add-log-note): Prepare proper note buffers for rescheduling
26         and deadline changes.
28 2009-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
30         * org-agenda.el (org-agenda-diary-entry-in-org-file)
31         (org-agenda-add-entry-to-org-agenda-diary-file)
32         (org-agenda-insert-diary-make-new-entry): New functions.
33         (org-agenda-diary-entry): Call
34         `org-agenda-diary-entry-in-org-file' when appropriate.
36         * org.el (org-calendar-insert-diary-entry-key): New option.
37         (org-agenda-diary-file): New option.
38         ("calendar"): Install our insertion function in the calendar.
40         * org-remember.el (org-datetree): Require.
41         (org-remember-templates): Add new positioning option.
42         (org-remember-reference-date): New variable.
43         (org-remember-apply-template): Store the reference date in a local
44         variable.
45         (org-remember-handler): Implement date tree positioning of entries.
47         * org-datetree.el: New file.
49         * org-latex.el (org-export-latex-preprocess): Protect targets in
50         verbatim emphasis.
52         * org-html.el (org-export-as-html): Protect targets in verbatim
53         emphasis.
55         * org-docbook.el (org-export-as-docbook): Protect targets in
56         verbatim emphasis.
58 2009-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
60         * org-clock.el (org-show-notification): Handle messages that
61         contain a percent character.
63         * org-remember.el (org-remember-apply-template): Turn of partial
64         completion.
66         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
67         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
69         * org.el (org-indent-mode): Define variable already in org.el.
70         (org-unfontify-region): Remove line-prefix and wrap-prefix
71         properties only if org-indent-mode is active.
73 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
75         * org-icalendar.el (org-print-icalendar-entries): Save match data
76         around call to verify function.
77         (org-print-icalendar-entries): Add a call to the verification
78         function.
80         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
81         save-restrivtion' form.
83 2009-11-05  Dan Davison  <davison@stats.ox.ac.uk>
85         * org-exp.el (org-export-format-source-code-or-example): restrict
86         scope of preserve-indentp to the let binding.
87         (org-src): require org-src, since org-src-preserve-indentation is used.
89 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
91         * org-timer.el (org-timer-set-timer): Set variables
92         org-timer-timer[123] correctly.
95         * org-mobile.el (org-mobile-files-alist): Make it work when
96         `agenda-archives' is included in
97         `org-agenda-text-search-extra-files'.
98         (org-mobile-push): Restore agenda after mobile push.
100 2009-11-05  John Wiegley  <jwiegley@gmail.com>
102         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
103         way the amount of idle time is presented in the minibuffer.
105 2009-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
107         * org-icalendar.el (org-print-icalendar-entries): Use
108         org-icalendar-verify-function only if non-nil.
110         * org.el (org-refile): Refile to clock only if the prefix arg is
111         2.
112         (org-sparse-tree): Fix docstring to be in line with prompt.
113         (org-update-parent-todo-statistics): Call
114         `org-after-todo-statistics-hook' on each level.
116 2009-11-04  Carsten Dominik  <carsten.dominik@gmail.com>
118         * org-remember.el (org-remember-apply-template): Make sure the
119         buffer exists.
121 2009-11-03  Carsten Dominik  <carsten.dominik@gmail.com>
123         * org.el (org-tab-ind-state): New variable.
124         (org-cycle-level): New function.
125         (org-cycle-level-after-item/entry-creation): New option.
126         (org-flag-subtree): New function.
127         (org-hide-archived-subtrees): Call `org-flag-subtree'.
128         (org-set-effort): Indexed access.
130         * org-list.el (org-cycle-item-indentation): New function.
132         * org.el (org-refile): Make prefix argument 2 refile to current
133         clock.
134         (org-priority): Interpret action `remove' as call to remove the
135         priority cookie.
137         * org-remember.el (org-remember-apply-template): Don't depend on
138         buffer name being like file name.
140 2009-11-02  Carsten Dominik  <carsten.dominik@gmail.com>
142         * org-clock.el (org-clock-play-sound): Expand file in
143         org-clock-sound, to allow ~ for home.
145         * org-remember.el (org-remember-handler): Set
146         text-before-node-creation even if this already looks like a node,
147         because the string might be needed on non-org-mode target files.
149         * org-agenda.el (org-agenda-open-link): Make this work in agenda
150         clocktables.
151         (org-agenda-switch-to): Follow a link at point if
152         org-return-follows-link' is set and there is nothing else to do in
153         this line.
155 2009-11-02  James TD Smith  <ahktenzero@mohorovi.cc>
157         * org-colview-xemacs.el: Add in changes from org-colview.el
159 2009-11-01  Dan Davison  <davison@stats.ox.ac.uk>
161         * org-exp-blocks.el: Modify split separator regexp to avoid empty
162         strings.
164 2009-11-01  James TD Smith  <ahktenzero@mohorovi.cc>
166         * org-colview.el (org-columns-new): Make this work with the new
167         operators.
168         (org-columns-store-format): Make this work with the new operators.
170 2009-11-01  Carsten Dominik  <carsten.dominik@gmail.com>
172         * org-src.el (org-src-preserve-indentation): Document that this
173         variable is also used during export.
175         * org-exp.el (org-export-format-source-code-or-example): Preserve
176         indentation if a block has a -i option, or if
177         `org-src-preserve-indentation' is set.
179         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
180         indentation if a block has a -i option, or if
181         `org-src-preserve-indentation' is set.
183 2009-10-31  Carsten Dominik  <carsten.dominik@gmail.com>
185         * org.el (org-mode-map): Define the new archiving keys.
186         (org-speed-commands-default): Define an archiving key in the speed
187         command map.
188         (org-org-menu): Improve the menu structure concerning archiving.
190         * org-archive.el (org-archive-subtree-default-with-confirmation):
191         New command.
193         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
194         (org-agenda-menu): Add the new archiving commands to the menu.
195         (org-agenda-archive-default)
196         (org-agenda-archive-default-with-confirmation): New commands.
197         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
198         call `org-agenda-archive-with'.
199         (org-agenda-archive-with): New function.
201         * org-table.el (org-table-convert-region): Inert spaces around "|"
202         to avoid line beginnings like "|-1" which will be mistaken as
203         hlines.
205 2009-10-30  Carsten Dominik  <carsten.dominik@gmail.com>
207         * org.el (org-offer-links-in-entry): Return nil if there are no
208         links, t if a link has been selected.
209         (org-open-at-point): Open attachment directory when called in the
210         headline and there are no links in the entry body.
211         (org-speed-commands-default): Add "o" for open-at-point as a speed
212         command.
214         * org-attach.el (org-attach-reveal): Optional prefix arg
215         IF-EXISTS, which avoids creating the attachment directory if it
216         does not yet exist.
218         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
219         MATCH.
221 2009-10-29  Carsten Dominik  <carsten.dominik@gmail.com>
223         * org.el ("abbrev"): Work with abbrev tables only after they have
224         been loaded.
226         * org-list.el (org-list-send-list): Fix bug related to match
227         data.
229         * org-latex.el (org-export-latex-fontify): Apply verbatim
230         emphasis.
231         (org-export-latex-make-header): Insert \obeylines if line breaks
232         should be preserved.
234         * org-exp.el (org-export-protect-verbatim): Add an
235         `org-verbatim-emph' property to such text.
237 2009-10-28  Carsten Dominik  <carsten.dominik@gmail.com>
239         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
240         (org-print-icalendar-entries): Skip entries where the timestamp is
241         not a deadline and not scheduled, if the user requests that.
243         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
244         before an opening quote.
246         * org-archive.el (org-archive-subtree): Keep archive after
247         archiving something.
249         * org-id.el (org-id-update-id-locations): Add archive files if
250         that is required by `org-id-extra-files'.
252 2009-10-27  Carsten Dominik  <carsten.dominik@gmail.com>
254         * org-src.el (org-src-window-setup): New option.
255         (org-src-switch-to-buffer): New function.
256         (org-edit-src-exit): Add optional argument CONTEXT and use it to
257         restore window configuration.
258         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
259         Call `org-src-switch-to-buffer'.
261         * org.el (org-default-properties): Add STYLE property.
262         (org-files-list): Use the function call to get the files.
263         (org-additional-option-like-keywords): Add SETUPFILE to completion
264         list.
266 2009-10-26  Carsten Dominik  <carsten.dominik@gmail.com>
268         * org-table.el (org-table-convert-region): Correctly interpret
269         quoting in csv import.
271         * org.el (org-icompleting-read): Make iswitchb completion work
272         with lists and tables.
274         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
275         while pushing the mobile agenda.
277 2009-10-25  John Wiegley  <jwiegley@gmail.com>
279         * org-clock.el
280         (org-clock-auto-clock-resolution): Now takes three values: nil, t
281         and `when-no-clock-is-running'.
282         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
283         whether or not to resolve Org buffers on clock in.
285 2009-10-25  James TD Smith  <ahktenzero@mohorovi.cc>
287         * org-colview.el (org-format-time-period): Function to format
288         times in fractional days for display.
289         (org-columns-display-here): Add support for showing a calculated
290         value in place of the property.
291         (org-columns): Set `org-columns-time' to the current time so time
292         difference calculations will work.
293         (org-columns-time): Use to store the current time when column view
294         is displayed, so all time differences will use the same reference
295         point.
296         (org-columns-compile-map): There is now an extra position in each
297         entry specifying the function to use to calculate the displayed
298         value for the non-calculated properties in the column,
299         (org-columns-compute-all): Set `org-columns-time' to the current
300         time so time difference calculations will work.
301         (org-columns-compute): Handle column operators where the values
302         used are calculated from the underlying property.
303         (org-columns-number-to-string): Handle the 'age' column format
304         (org-columns-string-to-number): Correct the function name (was
305         org-column...). Add support for the 'age' column format.
306         (org-columns-compile-format): Support the additional parameter in
307         org-columns-compile-map.
309 2009-10-26  Bastien Guerry  <bzg@altern.org>
311         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
312         variable.
314 2009-10-25  Carsten Dominik  <carsten.dominik@gmail.com>
316         * org-clock.el (org-clock-has-been-used): New variable.
317         (org-clock-in): Set `org-clock-has-been-used'.
318         (org-clock-save): Save only if clock data has been used or created
319         during this session.
321 2009-10-24  Carsten Dominik  <carsten.dominik@gmail.com>
323         * org-clock.el (org-clock-persist): New value, to store only the
324         clock history.
325         (org-clock-save): Don't save the clock if only the history should
326         be stored.
327         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
328         when restoring a saved clock.
330 2009-10-24  John Wiegley  <jwiegley@gmail.com>
332         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
333         `org-time-clock-use-fractional'.
335         * org.el (org-time-clocksum-use-fractional)
336         (org-time-clocksum-fractional-format): Two new customizable
337         variables which allow the user to select fractional times (1.25
338         instead of 1:25) in the `org-clock-display' report.
340 2009-10-23  John Wiegley  <jwiegley@gmail.com>
342         * org-habit.el (org-habit-build-graph): None of the arguments
343         should be optional.
344         (org-habit-parse-todo, org-habit-deadline)
345         (org-habit-get-priority, org-habit-get-faces)
346         (org-habit-build-graph): Further simplifications by storing all
347         past, scheduled and deadline dates as a number of days past the
348         epoch, and not as times.
350         * org-habit.el (org-habit-warning-face)
351         (org-habit-warning-future-face): Removed because these are no
352         longer used.
353         (org-habit-deadline, org-habit-deadline-repeat): Now always
354         returns a date; computed if there was a scheduled repeater but no
355         deadline repeater.
356         (org-habit-get-priority): Further improvements to the priority
357         algorithm.  In particular, items past due should always appear
358         before items due or not yet due.
359         (org-habit-get-faces): Greatly simplified the logic, now that
360         `org-habit-deadline' always returns a valid time.
362 2009-10-23  Carsten Dominik  <carsten.dominik@gmail.com>
364         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
365         New option.
367         * org.el (org-tag-alist): Fix customization type.
369 2009-10-22  Carsten Dominik  <carsten.dominik@gmail.com>
371         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
372         Make sure the regexp search can fail without throwing an error.
373         (org-mobile-apply): Save the inbox buffer after removing
374         successfully applied changes.
376 2009-10-22  John Wiegley  <jwiegley@gmail.com>
378         * org-habit.el (org-habit-build-graph): Fix to the graph building
379         when last DONE date is earlier than `org-habit-preceding-days'.
381         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
382         time is reported after the user comes back (but before they
383         resolve time).
385         * org.el (org-get-repeat): Change so that this function can be
386         called with either `org-scheduled-string' or
387         `org-deadline-string'.
389         * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
390         to find the scheduled date.
392         * org-clock.el (org-clock-auto-clock-resolution): Renamed
393         `org-clock-disable-clock-resolution', since negatives don't sound
394         good in customization variables.
395         (org-clock-in): Don't use the auto-resolution logic if the user is
396         clocking into a different task while an active clock is running.
397         This then allows the default behavior of clocking out of the open
398         task and then into the new task.
400         * org-habit.el (org-habit-parse-todo): Generate an error if a
401         habit has a scheduled repeat period < 1.
402         (org-habit-get-faces): Fixes to the way that colors are computed.
403         (org-habit-build-graph): The graph wasn't displaying beyond any
404         day that had two completions in it.
406         * org.el (org-modules): Made this variable more consistent, since
407         it was referring to Org, OrgMode and Org-mode, whereas the docs
408         for the variable always refer to Org-mode.
410 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
412         * org.el (org-repeat-re): The changed org-repeat-re no longer
413         matched simple +2d type repeaters. Fix it so it does.
415 2009-10-21  Carsten Dominik  <carsten.dominik@gmail.com>
417         * org-latex.el (org-export-latex-preprocess): Protect the vspace
418         macro in the VERSE environment.
420 2009-10-20  John Wiegley  <jwiegley@gmail.com>
422         * org-habit.el (org-habit-get-priority): A new function that
423         determines the relative priority of a habit, based on how long
424         past its scheduled date it is, and how near the deadline is.
426         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
427         using `org-habit-get-priority'.
429         * org-habit.el (org-habit-build-graph): Start displaying colors
430         from the first scheduled date, if that date is earlier than the
431         first completion date.
433         * org-habit.el: Changed all "color" variables to faces, and made
434         them appropriate for light and dark backgrounds.
436         * org-habit.el (org-habit-duration-to-days): Made this function
437         more general.
438         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
440         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
441         habits, since they don't use DEADLINE anymore.
443         * org.el (org-repeat-re, org-display-custom-time)
444         (org-timestamp-change): Extended to support the new ".+N/N"
445         syntax, used for habits.
447         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
448         variable reference.
450         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
451         modeline when habits are being displayed (if that module is being
452         loaded).
454 2009-10-21  James TD Smith  <ahktenzero@mohorovi.cc>
456         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
457         idle time using the xscreensaver extension.
458         (org-user-idle-seconds): Use X11 idle time if available.
460 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
462         * org-agenda.el (org-agenda-next-line): New command.
463         (org-agenda-previous-line): New commands.
464         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
465         commands.
466         (org-agenda-follow-mode): Do the follow immediately if the mode is
467         turned on here.
468         (previous-line, next-line): Replace keys with the corresponding
469         org functions.
470         (org-agenda-mode-map): Bind backspace and delete to the scrolling
471         command.
473         * org.el (org-icompleting-read): Turn off partial completion mode
474         for the duration of this completion round.
476         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
477         macros in author lines and similar stuff.
479         * org.el (org-file-tags): Fix docstring.
480         (org-get-buffer-tags): Add the #+FILETAGS tags.
481         ("ecb"): Maks ecb show context after jumping into an Org file.
483 2009-10-20  John Wiegley  <johnw@newartisans.com>
485         * org-agenda.el (org-finalize-agenda): Draw habit consistency
486         graphs after everything else in the buffer has been setup.
488 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
490         * org-mobile.el (org-mobile-apply): Count success and failure.
492         * org.el (org-indent-line-function): Fix regexp replace problem.
494 2009-10-19  John Wiegley  <johnw@newartisans.com>
496         * org-clock.el (org-clock-disable-clock-resolution): New
497         customization variable that disable automatic clock resolution on
498         clock in.
499         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
500         not automatically resolve anything.  This is does not affect
501         idle-time resolution, however, if `org-clock-idle-time' is set.
503 2009-10-19  John Wiegley  <johnw@newartisans.com>
505         * org-habit.el: New file, which implements code to build a "habit
506         consistency graph".
508         * org-agenda.el (org-agenda-get-deadlines)
509         (org-agenda-get-scheduled): Display consistency graphs when
510         outputting habits into the agenda.  The graphs are always relative
511         to the current time.
512         (org-format-agenda-item): Added new parameter `habitp', which
513         indicates whether we are formatting a habit or not.  Do not
514         display "extra" leading information if habitp is true.
516         * org.el (org-repeat-re): Improved regexp to include .+ and ++
517         leaders for repeat strings.
518         (org-get-repeat): Now takes a string parameter `tagline', so the
519         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
521 2009-10-19  John Wiegley  <johnw@newartisans.com>
523         * org-agenda.el (org-agenda-auto-exclude-function): New
524         customization variable for allowing the user to create an "auto
525         exclusion" filter for doing context-aware auto tag filtering.
526         (org-agenda-filter-by-tag): Changes to support the use of
527         `org-agenda-auto-exclude-function'.  See the new manual addition,.
529 2009-10-18  John Wiegley  <johnw@newartisans.com>
531         * org.el (org-files-list): Don't attempt to return a file name for
532         Org buffers which have no associated file.
534         * org-agenda.el (org-agenda-do-action): Fixed a typo.
536 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
538         * org-mobile.el (org-mobile-locate-entry): Interpret files
539         relative to org-directory.
540         (org-mobile-inbox-for-pull): Document the best location for this
541         file.
542         (org-mobile-check-setup): Verify `org-directory'.
543         (org-mobile-create-index-file): Sort the files to be listed in
544         index.org.
546 2009-10-17  James TD Smith  <ahktenzero@mohorovi.cc>
548         * org.el (org-fast-tag-selection): Add a way to display a
549         description for a tag group. This is done by adding a string to
550         either the startgroup or endgroup cell.
552 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
554         * org-clock.el (org-clock-resolve, org-resolve-clocks)
555         (org-emacs-idle-seconds): Use `org-float-time' instead of
556         `time-to-seconds'
558 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
560         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
561         type.
563         * org.el (org-pre-cycle-hook): Document that `empty' can also be
564         the value of ARG when doing local cycling.
566 2009-10-17  John Wiegley  <johnw@newartisans.com>
568         * org-clock.el (org-clock-resolve-clock): If keeping or
569         subtracting time results in a clock out at a time in the past, and
570         if the resolution occurred due to idleness or invoking `M-x
571         org-resolve-clocks', remember that past moment in time.  On the
572         next clock in, the user will be prompted to see if they want to
573         back-date their new clock to then.
574         (org-clock-resolve): Do not jump the user to the location of a
575         dangling clock if the resolution is occuring due to an idle
576         timeout.  In that case there is typically only one dangling clock,
577         the active one, and there is no value gained by shuffling their
578         windows around to show it to them.  Being prompted to resolve an
579         idle clock should be as inobtrusive as possible.
580         (org-resolve-clocks-if-idle): New function that resolves only the
581         currently active clock if the user has exceeded the time returned
582         by `org-user-idle-seconds', based on the value of
583         `org-clock-idle-time'.
584         (org-clock-in): If, after resolving clocks,
585         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
587         * org-clock.el (org-clock-resolve-clock): New function that
588         resolves a clock to a specific time, closing or resuming as need
589         be, and possibly even starting a new clock.
590         (org-clock-resolve): New function used by `org-resolve-clocks'
591         that sets up for the call to `org-clock-resolve-clock'.  It
592         determines the time to resolve to based on a single-character
593         selection from the user to either keep time, subtract away time or
594         cancel the clock.
595         (org-resolve-clocks): New user command which resolves dangling
596         clocks -- that is, open but not active -- anywhere in the file
597         list returned by `org-files-list'.
598         (org-clock-in): Automatically resolve dangling clocks whenever a
599         user clocks in.
600         (org-clock-cancel): If the user cancels the solely clock in a
601         LOGBOOK, remove the empty drawer.
603         * org-clock.el (org-clock-idle-time): New user customizable option
604         for detecting whether the user has left a clock idle.  Note: it is
605         only used in this commit to test whether it's worthwhile to check
606         OS X to get the Mac user's current idle time.  If the Emacs idle
607         time is less than the value, the user hasn't been away long enough
608         to be worth checking (a more expensive test than just getting
609         Emacs idle time).
610         (org-user-idle-seconds, org-mac-idle-seconds)
611         (org-emacs-idle-seconds): This three functions, in conjunction
612         with the user customization variable `org-clock-idle-time', return
613         the number of seconds (as a floating point) that the user has been
614         away from their Emacs (or, if running on OS X, their computer).
616         * org-clock.el (org-find-open-clocks): New function that returns a
617         list of all open clocks in the given FILE.  Note that each clock
618         it returns is a cons cell of the format (MARKER . START-TIME).
619         This "clock" value is used by several of the new clock module
620         utility functions.
621         (org-is-active-clock): New inline function which tests whether the
622         given clock value is the same as the currently active clock.
623         Returns non-nil if this is the case.
624         (org-with-clock-position): New macro that evaluates FORMS with
625         point in the buffer and at the position of the given clock.
626         Changes to the current clock are global.
627         (org-with-clock): New macro that evaluates FORMS with point in the
628         buffer and at the position of the given clock.  However, changes
629         to the current clock are local and have no effect on the user's
630         active clock.  This allows, for example, far any clock to be
631         cancelled without cancelling the active clock.
632         (org-clock-clock-in): New inline function that switches the active
633         clock to the given clock.  If either the argument RESUME, or the
634         global `org-clock-in-resume', are non-nil, it will resume a clock
635         that was previously left open.
636         (org-clock-clock-out): New inline function that clocks out the
637         given clock value without affecting the currently active clock.
638         (org-clock-clock-cancel): New inline function that cancels the
639         given clock value without affecting the currently active clock.
641         * org-clock.el (org-clock-in): Before creating
642         `org-clock-mode-line-timer', check to make sure an older timer is
643         not currently running.
644         (org-clock-out): Accept new third parameter `at-time', which
645         permits a clock to be clocked out at a specific time.  Note that
646         no attempt is made to verify that the clock out time is later than
647         the clock in time.
649         * org.el (org-files-list): New utility function for returning a
650         list of all open org-mode buffers, plus all files used to build
651         the agenda buffer.  Note that not all the files will necessarily
652         be visited by a buffer at time of call.
653         (org-entry-beginning-position): Like the function
654         `line-beginning-position', this inline function returns the
655         beginning position of the current heading/entry.
656         (org-entry-end-position): Like the function `line-end-position',
657         this inline function returns the end position of the current
658         heading/entry.
660 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
662         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
663         a header line.
665 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
667         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
669 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
671         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
672         entries that have no tags.
673         (org-agenda-search-view): New customize group.
674         (org-agenda-search-view-search-words-only): New option.
675         (org-search-view): Implement substring search.
677 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
679         * org.el (org-outline-level): Add doc string.
681 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
683         * org-inlinetask.el (org-inlinetask-export): Re-introduce
684         variable.
685         (org-inlinetask-export-handler): Only export inline task if the
686         user option calls for it.
688 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
690         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
691         END if present.
693 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
695         * org-latex.el (org-export-latex-tables): Don't format in
696         protected regions.
698 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
700         * org-src.el (org-edit-src-code)
701         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
702         macro editing.
704         * org-agenda.el (org-prefix-category-max-length): New variable.
705         (org-format-agenda-item): Use `org-prefix-category-max-length'.
706         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
708 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
710         * org-mobile.el (org-mobile-create-index-file): Improve the
711         listing of tags and todo keywords.
713         * org-latex.el (org-export-latex-format-image): New function.
714         (org-export-latex-links): Use `org-export-latex-format-image'.
716 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
718         * org-inlinetask.el (org-inlinetask-get-current-indentation)
719         (org-inlinetask-remove-terminator): New functions.
720         (org-inlinetask-export-handler): Terminate the description list.
722         * org-exp.el (org-export-select-backend-specific-text): Remove the
723         region markers.
725         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
726         tasks without content.
728         * org-clock.el: Make sure the clock-in target position does not
729         move to a different node by widening the buffer.
731         * org-html.el (org-export-html-format-image): Wrap image into
732         figure div only when there is a caption.
734         * org-archive.el (org-archive-mark-done): Change default value to
735         nil.
737 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
739         * org.el (org-context): Call `bobp', not `eobp'.
741         * org-clock.el (org-clock-cancel): Remove quotes from marker
742         variables.
744         * org.el (org-read-date-prefer-future): New allowed value `time'.
745         (org-read-date-analyze): Shift day to tomorrow depending on time
746         entered and value of `org-read-date-prefer-future'.
748 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
750         * org.el (org-set-tags-to): New command.
752         * org-mobile.el (org-mobile-action-alist): Add more options and
753         update the docstring.
754         (org-mobile-apply-flags): Parse for and use the data.
756         * org-latex.el (org-export-latex-set-initial-vars): Also check in
757         the plist.
759         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
760         keyword.
762         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
764 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
766         * org-inlinetask.el (org-inlinetask-export): Option removed.
767         (org-inlinetask-export-handler): Better export.
769         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
770         (org-export-as-xoxo): Run the new hook.
772         * org-html.el (org-export-html-final-hook): New hook.
773         (org-export-as-html): Run the new hook.
775         * org-docbook.el (org-export-docbook-final-hook): New hook.
776         (org-export-as-docbook): Run the new hook.
778         * org-ascii.el (org-export-ascii-final-hook): New hook.
779         (org-export-as-ascii): Run the new hook.
781         * org-mobile.el (org-mobile-create-sumo-agenda): Call
782         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
784         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
785         space character as the character before the ^/_.
786         (org-export-latex-final-hook): New hook.
787         (org-export-as-latex): Run `org-export-latex-final-hook'.
789 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
791         * org-macs.el (org-if-unprotected-at): Fix docstring.
793         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
794         text in the prefix (if category is a link).
796         * org-latex.el (org-export-latex-preprocess): Deal properly with
797         empty lines in verse environments.
799         * org.el (org-format-latex-header): Inline fullpage.sty.
801         * org-footnote.el (org-footnote-create-definition): Reveal context
802         to add a new footnote definition.
804         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
805         the index file.
806         (org-mobile-files): New option.
807         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
808         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
809         functions.
810         (org-mobile-push): Start by creating the files lists.
811         (org-mobile-copy-agenda-files): Move killing the buffer to after
812         the save-excursion has exited.
813         (org-mobile-write-checksums): Write checksums also for files in
814         sub-directories.
816         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
817         org-table-recalculate when cursor is in TBLFM line.
819         * org-list.el (org-renumber-ordered-list): Fix cursor position
820         when bullet length has changed.
822 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
824         * org.el (org-format-latex): Mention `org-format-latex-options' in
825         the docstring.
827 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
829         * org.el (org-agenda-get): New function.
831         * org-agenda.el (org-agenda-post-command-hook): No longer move
832         point away from end of line.
833         (org-agenda-add-entry-text, org-agenda-collect-markers)
834         (org-finalize-agenda, org-agenda-mark-clocking-task)
835         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
836         (org-agenda-entry-text-show, org-agenda-highlight-todo)
837         (org-agenda-compare-effort, org-agenda-filter-apply)
838         (org-agenda-later, org-agenda-change-time-span)
839         (org-agenda-post-command-hook, org-agenda-show-priority)
840         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
841         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
842         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
843         (org-agenda-open-link, org-agenda-copy-local-variable)
844         (org-agenda-switch-to, org-agenda-check-no-diary)
845         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
846         (org-agenda-add-note, org-agenda-change-all-lines)
847         (org-agenda-priority, org-agenda-set-tags)
848         (org-agenda-set-property, org-agenda-set-effort)
849         (org-agenda-toggle-archive-tag, org-agenda-date-later)
850         (org-agenda-show-new-time, org-agenda-date-prompt)
851         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
852         (org-agenda-clock-in, org-agenda-bulk-mark)
853         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
854         `org-get-at-bol'.
856         * org-colview.el (org-columns-display-here)
857         (org-columns-edit-allowed, org-agenda-columns): Use
858         `org-get-at-bol'.
860 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
862         * org.el (org-special-ctrl-a/e): Improve documentation and
863         customize type.
864         (org-end-of-line): Don't jump to after the ellipsis.
865         (org-mode-map): Bind <home> and <end> as well.
867 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
869         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
870         space after #+ as comments.
871         (org-open-at-point): Run `org-follow-link-hook' always.
873         * org-latex.el (org-export-latex-emph-format): Use better commands
874         to insert special characters in verbatim snippets.
876 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
878         * org-faces.el (org-copy-face): New function.  Use it to create
879         various faces formerly created by using `copy-face'.
881         * org-agenda.el (org-prepare-agenda): Don't officially mark this
882         window dedicated.
883         (org-agenda-quit): Kill the frame containing the agenda window if
884         that frame was created for the agenda.
886 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
888         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
889         stamp in the agenda.
891 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
893         * org-mobile.el (org-mobile-create-index-file): Add the list of
894         TODO keywords, and the list of drawers to the index file.
896         * org-agenda.el (org-prepare-agenda): Reset
897         `org-drawers-for-agenda'.
898         (org-prepare-agenda): Uniquify list of drawers.
900         * org.el (org-complex-heading-regexp-format): New variable.
901         (org-set-regexps-and-options): Define
902         `org-complex-heading-regexp-format'.
903         (org-drawers-for-agenda): New variable.
904         (org-map-entries): Bind `org-drawers-for-agenda'.
905         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
907         * org-remember.el (org-go-to-remember-target)
908         (org-remember-handler): Use `org-complex-heading-regexp-format'.
910 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
912         * org-agenda.el (org-agenda-highlight-todo): Fix text property
913         problem.
915         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
916         the capture file, and make it non-configurable.
918         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
919         always with `invisible-ok'.
920         (org-store-link): No error when there is nothing to link to in the
921         agenda.
923         * org-list.el (org-update-checkbox-count): Insert changed cookie
924         before the old, to avoid problems with invisibility at the end of
925         the line.
926         (org-update-checkbox-count): Insert changed cookie before the old,
927         to avoid problems with invisibility at the end of the line.
929         * org.el (org-sort-entries-or-items): Include the final newline.
930         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
931         lines for fontification.
932         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
933         (org-prepare-dblock): Store the current indentation of the BEGIN
934         line.
935         (org-update-dblock): Apply the indentation of the begin line to
936         the rest of the block.
937         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
938         (org-startup-folded): New allowed value `showeverything'.
939         (org-startup-options): Add STARTUP keyword `showeverything'.
940         (org-set-startup-visibility): Respect value `showeverything' in
941         org-startup-folded.
943 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
945         * org.el (org-closest-date): Fix issue with past preference.
947         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
949         * org-archive.el (org-archive-set-tag)
950         (org-archive-subtree-default): New commands.
952         * org-mobile.el (org-mobile-create-index-file): Fix link to
953         capture file.
954         (org-mobile-copy-agenda-files): Create the capture file if it does
955         not exist.
957         * org-clock.el (org-clock-clocktable-default-properties): New
958         option.
959         (org-clock-report): Use
960         `org-clock-clocktable-default-properties'.
962 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
964         * org.el (org-iswitchb-completing-read): Fix typo.
966         * org-crypt.el: New file.
968         * org.el: Add an entry for org-crypt.
970 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
972         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
973         consistency.
974         (org-batch-store-agenda-views): New function.
975         (org-mobile-force-id-on-agenda-items): Mention variable.
976         (org-agenda-title-append): Define variable.
977         (org-write-agenda): New export to Org files.
978         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
979         (org-agenda): Allow to keep the restricted file list if a special
980         variable is bound to t.
981         (org-agenda): Define a special agenda view for working on flagged
982         entries.
983         (org-agenda-get-restriction-and-command): List the new agenda
984         view.
985         (org-agenda-show-the-flagging-note): New command.
986         (org-agenda-mode-map): New key `?' for looking at the flagging
987         note.
989         * org.el (org-autoload): Autoload org-mobile.el.
990         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
992         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
994 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
996         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
997         statements.
998         (org-table-get-remote-range): Match indented #+TBLNAME
999         statements.
1001         * org.el (org-convert-to-odd-levels)
1002         (org-convert-to-oddeven-levels): Work also correctly if the file
1003         is in outline-mode.
1005 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
1007         * org.el (org-store-link): When in agenda buffer, link to
1008         referenced entry.
1009         (org-add-planning-info): Remove spaces at eol.
1011         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1012         property.
1014 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
1016         * org-latex.el (org-export-latex-first-lines): Fix problem with
1017         LaTeX export of first line and selected subtree.
1019         * org.el (org-shifttab): Interpret arg differently when using only
1020         odd levels.
1022 2009-09-09  Bastien Guerry  <bzg@altern.org>
1024         * org.el (org-check-agenda-file): Use a more explicit message
1026 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
1028         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1029         normal lines.
1031 2009-09-08  Bastien Guerry  <bzg@altern.org>
1033         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1034         prompt in the temporary window.
1036         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1037         prefix for marked entries in the agenda view.
1039 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
1041         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1042         a way that prevents any trailing character from being displayed.
1044 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
1046         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1047         menu.
1049         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1050         slow regexp match.
1052 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
1054         * org-latex.el (org-export-latex-preprocess): Do not protect in
1055         the LaTeX header.
1057         * org-src.el (org-edit-src-save): Save window setup while saving.
1058         (org-edit-src-code): Use new buffer name construction scheme.
1060 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
1062         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1063         variable.
1064         (org-agenda-entry-text-cleanup-hook): New hook.
1065         (org-agenda-get-some-entry-text): Remove matches of
1066         `org-agenda-entry-text-exclude-regexps' and run the hook
1067         `org-agenda-entry-text-cleanup-hook'.
1069         * org.el (org-offer-links-in-entry): New argument ZERO to
1070         implement a link with index zero.
1071         (org-cycle-show-empty-lines): Not keep empty line under header
1072         hidden.
1073         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1074         to nil for special completion.
1075         (org-store-link): Don't error before the first heading.
1077         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1078         `org-offer-links-in-entry'.
1080 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
1082         * org-agenda.el (org-agenda-quit): Provide the window argument for
1083         `window-dedicated-p', Emacs 22 needs it.
1084         (org-format-agenda-item): If the category is a link, arrange for
1085         invisible text to replaced with spaces.
1086         (org-compile-prefix-format): Add the extra space.
1087         (org-prefix-category-length): New variable.
1089         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1090         references from TOC lines.
1092         * org.el (org-selected-window): New variable.
1094         * org-table.el (org-table-edit-formulas): Remember the selected
1095         window.
1096         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1097         that was originally selected.
1099         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1100         expansion of a macro for more macro definitions.
1102         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1103         invisibility overlay starts on the newline.
1105 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1107         * org-protocol.el (org-protocol-store-link)
1108         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1110         * org-compat.el (org-float-time): New function.
1112         * org.el (org-clock-update-time-maybe)
1113         (org-sort-entries-or-items, org-do-sort)
1114         (org-evaluate-time-range, org-time-string-to-seconds)
1115         (org-closed-in-range): Use `org-float-time'.
1117         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1118         (org-timer-seconds):  Use `org-float-time'.
1120         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1121         (org-clock-sum, org-dblock-write:clocktable)
1122         (org-clocktable-steps):  Use `org-float-time'.
1124         * org-agenda.el (org-agenda-last-marker-time)
1125         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
1127         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1128         function.
1130         * org-exp.el (org-get-file-contents): Only protect lines that
1131         really need it.
1133         * org-html.el (require): Require cl for compilation.
1135         * org.el:  Avoid using `default-major-mode'.
1137         * org-plot.el (require): Require CL only at compile time.
1139         * org-exp.el (require): Require CL only at compile time.
1141         * org-agenda.el (org-agenda-quit): When the agenda window is
1142         dedicated, remove other windows before exiting, so that the frame
1143         really will be killed.
1145         * org-exp.el (org-export-handle-include-files): Reset START and
1146         END for each loop cycle.
1148 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
1150         * org.el (org-eval-in-calendar): Use
1151         `org-select-frame-set-input-focus'.
1153         * org-compat.el (org-select-frame-set-input-focus): New function.
1155         * org.el (org-update-statistics-cookies): New function.
1156         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1158 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
1160         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1161         after the local variables are set.
1163         * org-latex.el (org-export-latex-protect-amp): New function.
1164         (org-export-latex-links): Protect link ampersands in tables.
1166         * org-exp.el (org-export-select-backend-specific-text): Match in
1167         two steps, to avoid regexp problems.
1169         * org.el (org-offer-links-in-entry): Improve working with many and
1170         duplicate links.
1172         * org-agenda.el (org-agenda-show-1): Make more consistent with
1173         normal cycling.
1174         (org-agenda-cycle-show): Make more consistent with normal cycling.
1176         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1177         website.
1179 2009-08-30  Bastien Guerry  <bzg@altern.org>
1181         * org-latex.el (org-export-latex-first-lines): Bugfix.
1183 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
1185         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1186         about new effort.
1188         * org.el (org-set-effort): New function.
1189         (org-mode-map): New key for effort setting command.
1191         * org-agenda.el (org-agenda): Keep window setup when calling
1192         agenda from within agenda window.
1193         (org-agenda-mode-map): New keys for effort setting commands.
1194         (org-agenda-menu): Add effort setting commands to menu.
1195         (org-agenda-set-property, org-agenda-set-effort): New functions.
1197         * org-latex.el (org-export-latex-tables): Fix
1198         `org-table-last-alignment' and `org-table-last-column-widths' if
1199         the first column has been removed.
1201 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
1203         * org.el (org-remove-timestamp-with-keyword): Only remove in
1204         entry, not in subtree.
1206         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1207         emacs lisp.
1209         * org.el (org-open-at-point): When on headline, offer all strings
1210         in entry.
1212         * org-remember.el (org-remember-templates): Documentation fix.
1214         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1215         `org-get-last-sibling' instead of the outline versions of these
1216         functions.
1217         (org-get-last-sibling): New function.
1218         (org-refile): Use `org-get-next-sibling' instead of the outline
1219         version of this function.
1220         (org-clean-visibility-after-subtree-move): Use
1221         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1222         outline versions of these functions.
1224 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
1226         * org-agenda.el (org-prepare-agenda): When creating a new frame
1227         for the agenda, make the window dedicated.
1229         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1231         * org-table.el (org-table-align): Change the order of reinsertion
1232         and deletion, to avoid problems with overlays following the table.
1234         * org.el (org-parse-time-string): Better error message.
1235         (org-show-subtree): Use org-end-of-subtree.
1237         * org-macs.el (org-goto-line): New defsubst.
1239         * org.el (org-open-file, org-change-tag-in-region)
1240         (org-fast-tag-show-exit): Don't use `goto-line'.
1242         * org-table.el (org-table-align, org-table-insert-column)
1243         (org-table-delete-column, org-table-move-column)
1244         (org-table-sort-lines, org-table-copy-region)
1245         (org-table-paste-rectangle, org-table-wrap-region)
1246         (org-table-get-specials, org-table-rotate-recalc-marks)
1247         (org-table-get-range, org-table-recalculate)
1248         (org-table-edit-formulas, org-table-fedit-convert-buffer)
1249         (org-table-show-reference, org-table-highlight-rectangle): Don't
1250         use `goto-line'.
1252         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1253         (org-edit-src-exit): Don't use `goto-line'.
1255         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1257         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1258         Don't use `goto-line'.
1260         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1262         * org-colview.el (org-columns, org-columns-redo)
1263         (org-agenda-columns): Don't use `goto-line'.
1265         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1266         use `goto-line'.
1268         * org-agenda.el (org-agenda-mode): Force visual line motion off.
1269         (org-agenda-add-entry-text-maxlines): Improve docstring.
1270         (org-agenda-start-with-entry-text-mode): New option.
1271         (org-agenda-entry-text-maxlines): New option.
1272         (org-agenda-entry-text-mode): New variable.
1273         (org-agenda-mode): Set initial value of
1274         `org-agenda-entry-text-mode'.
1275         (org-agenda-mode-map): Add the `E' key.
1276         (org-agenda-menu): Add entry text mode to the menu.
1277         (org-agenda-get-some-entry-text): Fix line count bug.
1278         (org-finalize-agenda): Apply entry text mode if appropriate.
1279         (org-agenda-entry-text-show-here): New function.
1280         (org-agenda-entry-text-show): New function.
1281         (org-agenda-entry-text-hide): New function.
1282         (org-agenda-view-mode-dispatch): Add entry text mode to the view
1283         key menu.
1284         (org-agenda-entry-text-mode): New command.
1285         (org-agenda-set-mode-name): Add entry text mode to the mode line
1286         string.
1287         (org-agenda-undo, org-agenda-get-restriction-and-command)
1288         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1289         `goto-line'.
1291 2009-08-26  Bernt Hansen  <bernt@norang.ca>
1293         * org-clock.el (org-notify): Bugfix.
1295 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
1297         * org-agenda.el (org-agenda-open-link): Handle multiple links and
1298         check for after-string.
1300         * org-gnus.el (org-gnus-store-link): Simplify.
1302         * org.el (org-latex-regexps): Don't add extra empty lines for
1303         display formulas.
1305 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
1307         * org-agenda.el (org-agenda-get-some-entry-text): New function.
1308         (org-agenda-add-entry-text): Use
1309         `org-agenda-get-some-entry-text'.
1311         * org.el (org-cycle-separator-lines): Update docstring.
1312         (org-cycle-show-empty-lines): Handle negative values for
1313         `org-cycle-show-empty-lines'.
1315         * org-exp.el (org-export-protect-sub-super): New function.
1316         (org-export-normalize-links): Protect the url of plain links from
1317         supscript and superscript processing.
1319         * org-remember.el (org-remember-escaped-%): New function.
1320         (org-remember-apply-template): Use `org-remember-escaped-%' to
1321         detect escaped % signs.
1323 2009-08-23  Bastien Guerry  <bzg@altern.org>
1325         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1326         sound when showing the notification.
1328         * org-clock.el (org-notify): New function.
1329         (org-clock-notify-once-if-expired): Use `org-notify'.
1331         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1332         and `gnus-article-mode' separately.
1333         (gnus-summary-article-header): Fix the declare-function.
1335 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
1337         * org-exp.el (org-export-format-source-code-or-example): Translate
1338         language.
1340         * org-src.el (org-src-lang-modes): New variable
1341         (org-edit-src-code): Translate language.
1343         * org-exp.el (org-export-format-source-code-or-example): Deal wit
1344         the new structure of the `org-export-latex-listings-langs'
1345         variable.
1347         * org-latex.el (org-export-latex-listings-langs): Change structure
1348         of the variable from plist to alist.
1350 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
1352         * org.el (org-in-commented-line): New function.
1354 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
1356         * org.el (org-hide-block-toggle): Make folded blocks searchable.
1358 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
1360         * org.el (org-flag-drawer): More useful error.
1362 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
1364         * org-remember.el (org-remember-apply-template): Use
1365         org-icompleting-read.
1367         * org-publish.el (org-publish): Use org-icompleting-read.
1369         * org-colview.el (org-columns-edit-value, org-columns-new)
1370         (org-insert-columns-dblock): Use org-icompleting-read.
1372         * org-colview-xemacs.el (org-columns-edit-value)
1373         (org-columns-new, org-insert-columns-dblock): Use
1374         org-icompleting-read.
1376         * org-attach.el (org-attach-delete-one, org-attach-open): Use
1377         org-icompleting-read.
1379 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
1381         * org.el (org-hierarchical-todo-statistics): Improve docstring.
1382         (org-version): Return the version text.
1383         (org-org-menu): Add a menu entry for the new bug reporter.
1384         (org-submit-bug-report): New command.
1386         * org-list.el (org-hierarchical-checkbox-statistics): Improve
1387         docstring.
1389         * org.el (org-emphasis-regexp-components): Add "`" to set of
1390         pre-emphasis characters.
1392         * org-latex.el (org-export-latex-classes): Always include the soul
1393         package.
1394         (org-export-latex-emphasis-alist): Use \st for strikethough.
1396         * org-exp-blocks.el (org-export-blocks-preprocess): Use
1397         `indent-code-rigidly' to indent.
1399         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1400         properties only if MATCH really is a string.
1402 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
1404         * org-latex.el (org-export-latex-packages-alist): Fix
1405         customization type.
1407         * org.el (org-create-formula-image): Also use
1408         `org-export-latex-packages-alist'.
1410         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1411         (org-export-as-html): Format footnotes correctly.
1413 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
1415         * org.el (org-fast-tag-selection): Avoid text properties on tags
1416         in the alist.
1418         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1419         text properties on the match element.
1421 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
1423         * org.el (org-set-regexps-and-options): Make sure the list of done
1424         keywords is not invalid.
1426         * org-exp.el (org-export-interpolate-newlines): New function.
1428 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
1430         * org.el (org-format-latex): Avoid nested overlays.
1432         * org-latex.el (org-export-latex-listings-langs): Add a few more
1433         languages.
1435         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1436         ignore newlines and space before the first macro argument.
1438         * org-latex.el (org-export-latex-tables): Remove save-excursion
1439         around `org-table-align'.
1441 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
1443         * org.el (org-export-html-special-string-regexps): Definition
1444         moved into org.el
1446         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1447         in macro calls.
1449 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
1451         * org-latex.el (org-export-latex-listings)
1452         (org-export-latex-listings-langs): New options.
1454         * org-exp.el (org-export-format-source-code-or-example): Use
1455         listing package if requested by the user.
1457 2009-08-08  Bastien Guerry  <bzg@altern.org>
1459         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1460         command before actually switching to a buffer.
1462 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
1464         * org-exp.el (org-get-file-contents): Only quote org lines when
1465         the markup is src or example.
1467         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1468         New option
1469         (org-agenda-get-day-entries): Remember deadline results and pass
1470         them on into the function getting the scheduling information.
1471         (org-agenda-get-scheduled): Accept deadline results as parameters
1472         and maybe skip some entries.
1473         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1475         * org.el (org-insert-heading): When respecting content, do not
1476         convert current line to headline.
1478         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1479         cheeeeeck the hd marker
1480         (org-clock-in): Also set the hd marker.
1481         (org-clock-out): Also set the hd marker.
1482         (org-clock-cancel): Reset markers.
1484         * org.el (org-clock-hd-marker): New marker.
1486         * org-faces.el (org-agenda-clocking): New face.
1488         * org-agenda.el (org-agenda-mark-clocking-task): New function.
1489         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1491         * org.el (org-modules): Add org-track.el.
1493         * org-agenda.el (org-agenda-bulk-marked-p): New function.
1494         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1495         `org-agenda-bulk-marked-p'.
1496         (org-agenda-bulk-toggle): New command.
1498 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1500         * org.el (org-move-subtree-down): Hide subtree if it was folded,
1501         not just the body.
1503         * org-remember.el (org-remember-finalize): Avoid buffer-modified
1504         messages.
1506 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
1508         * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
1509         before gnuplot can read it.
1511 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
1513         * org-latex.el (org-export-latex-first-lines): Fix bug with
1514         finding the end of the first lines.
1516         * org.el (org-create-formula-image): Remove the -E option for
1517         dvipng.
1519         * org-exp.el (org-default-export-plist): Respect #+BIND.
1520         (org-export-confirm-letbind): New function.
1522         * org.el (org-paste-subtree): Test the kill ring entry if it is
1523         going to be used.
1524         (org-copy-subtree): Use `org-forward-same-level'.
1525         (org-forward-same-level): Respect the `invisibe-ok' arg for
1526         back-to-heading.
1528 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
1530         * org.el (org-table-map-tables): Make sure cursor is back at table
1531         beginning after funcall.
1533         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1534         handled before children, and do not error if an entry is not
1535         found, probably because it hase been remove when the parent was
1536         archived or refiled.
1538         * org.el (org-ido-completing-read): Accept straight lists for
1539         completion as well as alists.
1541         * org-html.el (org-export-as-html): Fix parenthesis error in
1542         footnore code.
1544         * org-timer.el (org-timer-cancel-timers): Renamed from
1545         `org-timer-cancel-timers'.
1547         * org.el (org-cycle-internal-local): Fix problem with finding next
1548         invisible line.
1550 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
1552         * org-list.el (org-list-send-list): Call
1553         `org-list-goto-true-beginning' instead of
1554         `org-list-find-true-beginning', which does not exist.
1556         * org-timer.el (org-timer-reset-timers): Use `mapc'.
1557         (org-timer-set-timer): Do not assign to heading.
1559         * org-id.el (org-id-open): Quote function name.
1561         * org-macs.el (org-unmodified): Turn off recording undo
1562         information while running inside the macro.
1564         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
1565         variable.
1566         (org-indent-mode): Remember and restore value of
1567         org-hide-leading-stars before `org-indent-mode'.
1569         * org-table.el (org-table-export): Also work in file-less
1570         buffers.
1572         * org.el (org-startup-indented): New option.
1573         (org-startup-options): Add new options indent and noindent.
1574         (org-unfontify-region): Remove line-prefix and wrap-prefix
1575         properties.
1576         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
1577         hooks.
1578         (org-promote, org-demote): Run the new hooks.
1580         * org-table.el (org-table-align): Replace leading \n as well.
1582         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
1583         and `line-wrap' text properties.
1585         * org-compat.el (org-kill-new): New function.
1587         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
1588         `line-wrap' text properties.
1590         * org-indent.el: New file.
1592 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
1594         * org.el (org-provide-todo-statistics): Tweak docstring.
1596         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
1598 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
1600         * org-exp.el (org-export-as-org): Insert the "-source" string
1601         before the extension.
1603         * org.el (org-read-date): Make sure the calendar is in the current
1604         frame.
1605         (org-set-emph-re): Remove the ? from the post-match.
1606         (org-emphasis-regexp-components): Add backslash to the
1607         postmatch class.
1608         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
1609         optional so that also lines at the end of the buffers will still
1610         be matched as headlines.
1612         * org-table.el (org-table-error-on-row-ref-crossing-hline):
1613         Variable made obsolete.
1614         (org-table-relative-ref-may-cross-hline): New option.
1615         (org-table-find-row-type): Honow the new option
1616         `org-table-relative-ref-may-cross-hline'.
1618 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
1620         * org-table.el (org-table-cut-region, org-table-copy-region): Work
1621         on single field if no active region.
1623 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
1625         * org-latex.el (org-export-latex-make-header): Only insert title
1626         if one is defined.
1628         * org.el (org-make-options-regexp): Allow empty values.
1630         * org-html.el (org-export-as-html): Move hrule detection to after
1631         plain list handling.
1633 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
1635         * org-html.el (org-format-org-table-html): Fix colgroup tags.
1637 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
1639         * org.el (org-cycle-internal-local): Improved version of finding
1640         next visible line.
1641         (org-cycle-hide-drawers): Only hide drawers if this is really
1642         necessary.
1643         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
1644         org-version of this function in Org-mode.  We use advice to
1645         implement this change, so that future changes to this function in
1646         outline.el wil be handled properly.
1647         (org-forward-same-level, org-backward-same-level): New commands.
1649 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
1651         * org.el (org-remove-empty-overlays-at)
1652         (org-clean-visibility-after-subtree-move): New functons.
1653         (org-move-subtree-down): Simplify cleanup of display.
1655 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
1657         * org-mac-message.el (org-mac-message-get-links): Improve
1658         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
1659         "s".  Fix the return value.
1660         (org-mac-message-insert-flagged): Simplify.
1662         * org.el (org-refile-get-location): Tamper with refile history o
1663         that history contains compete matches instead of the entered
1664         string.
1666 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
1668         * org.el (org-store-link): Never store a link to an inline task.
1670         * org-inlinetask.el (org-inlinetask-insert-task): New command.
1672         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
1673         inline tasks when positioning footnotes.
1675         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
1676         function.
1678         * org.el (org-refile): Remove the END line when archiving an
1679         inline task that does have an END line.
1681         * org-archive.el (org-archive-subtree): Remove the END line when
1682         archiving an inline task that does have an END line.
1684         * org-macs.el (org-with-limited-levels): New macro.
1685         (org-get-limited-outline-regexp): New function.
1687         * org-exp.el (org-export-format-source-code-or-example): Fix bug
1688         that did not enumerate first line.
1689         (org-export-mark-radio-links): Skip matches in links.
1691 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
1693         * org.el (org-activate-plain-links): Make single-match.
1694         (org-adapt-indentation): Fix docstring.
1696         * org-macs.el (org-unmodified): Turn of modification hooks while
1697         running this macro.
1699 2009-08-02  Bastien Guerry  <bzg@altern.org>
1701         * org.el (org-adapt-indentation): Slightly improve the docstring.
1702         (org-occur): Sends an error when the user inputs an empty string.
1703         (org-priority): Bugfix: the tag alignement should happen within
1704         save-excursion.
1706 2009-07-31  Bastien Guerry  <bzg@altern.org>
1708         * org.el (org-make-link-regexps): Don't exclude parentheses from
1709         `org-plain-link-re'
1710         (org-cycle-internal-local): When locally cycling, switch directly
1711         from CHILDREN to FOLDED if there is no subtree
1712         (org-cycle): Update the docstring to document the new behavior of
1713         `org-cycle-internal-local'.
1715 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
1717         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
1718         an abbreviated format for days.
1720 2009-07-27  Bastien Guerry  <bzg@altern.org>
1722         * org-protocol.el (org-protocol-default-template-key): New
1723         option.
1725         * org.el (org-refile): Bugfix: save-excursion before reading the
1726         refile target, otherwise cursor moves might confuse `org-refile'.
1728         * org-html.el (org-export-as-html): Bugfix: correctly convert the
1729         footnote reference before the footnote itself.
1731         * org.el (org-toggle-heading): Bugfix: correctly convert list
1732         items before the first headline.
1734         * org-html.el (org-export-html-footnote-format): New option for
1735         formatting the footnote reference.
1736         (org-export-as-html): Use the new option.
1738         * org.el (org-provide-todo-statistics): Allow a list of TODO
1739         keywords to compute statistics against headlines containing a
1740         keyword from this list.
1741         (org-update-parent-todo-statistics): Possibly use the new allowed
1742         value of `org-provide-todo-statistics'.
1744 2009-07-26  Bastien Guerry  <bzg@altern.org>
1746         * org-timer.el: Add autoload cookie.
1748         * org.el (org-occur-link-in-agenda-files): New function.
1750         * org-timer.el (org-timer-last-timer): New variable.
1752         * org-agenda.el (org-agenda-mode-map): New key for
1753         org-timer-set-timer called from the agenda.
1755         * org.el (org-mode-map): New key for org-timer-set-timer.
1757         * org-timer.el (org-timer-reset-timers)
1758         (org-timer-show-remaining-time, org-timer-set-timer): New
1759         functions.
1761         * org-clock.el (org-show-notification): Update the docstring.
1763         * org.el (org-provide-todo-statistics): Allow new value
1764         'all-headlines for this option, which includes entries with no
1765         TODO keywords in the todo statistics.
1766         (org-update-parent-todo-statistics): Possibly use the new
1767         'all-headline value from `org-provide-todo-statistics'.
1769 2009-07-25  Bastien Guerry  <bzg@altern.org>
1771         * org-clock.el (org-dblock-write:clocktable): Add a new option
1772         :timestamp which allows display of timestamps in clock reports.
1774         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
1775         list to a subtree, preserving the structure of the list.
1776         (org-set-emph-re): Make the last element optional in the regexp.
1777         This regexp now matches an emphasized string at the end of a line.
1779         * org-list.el (org-list-goto-true-beginning)
1780         (org-list-make-subtree, org-list-make-subtrees): New functions.
1782         * org.el (org-eval-in-calendar): Select the right frame.
1783         (org-save-frame-excursion): Remove this macro.
1785 2009-07-24  Bastien Guerry  <bzg@altern.org>
1787         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
1788         trying to find the beginning of a list.
1790         * org-exp.el (org-get-file-contents): Use a new argument: markup.
1791         When present, tell org-get-file-contents not to protect org-like
1792         lines.
1794         * org-id.el (org-id-uuid-program): New option to set the name of
1795         the uuidgen program.
1796         (org-id-method): Use `org-id-uuid-program'.
1797         (org-id-new): Use `org-id-uuid-program'.
1799 2009-07-23  Bastien Guerry  <bzg@altern.org>
1801         * org-exp.el (org-export-number-lines): Allow whitespace in code
1802         references.  Allow the -r switch to remove the references in the
1803         source code even when the lines are not numbered: the labels can
1804         be explicit enough.
1806         * org.el (org-fontify-whole-heading-line): New option.
1807         (org-set-font-lock-defaults): Use the new option.
1809         * org-clock.el (org-show-notification-handler): New option.
1810         (org-show-notification): Use the new option.
1812 2009-07-21  Bastien Guerry  <bzg@altern.org>
1814         * org.el (org-eval-in-calendar): Fix a bug about calendar
1815         navigation when `calendar-setup' value is 'calendar-only.
1817 2009-07-19  Bastien Guerry  <bzg@altern.org>
1819         * org.el (orgstruct++-mode): Fix typo in docstring.
1820         (org-insert-link): Clean up: (or (...)) => (...)
1821         (org-insert-link): Use TAB for stored links completion.
1823 2009-07-18  Bastien Guerry  <bzg@altern.org>
1825         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
1826         building the list of targets.
1828         * org-remember.el (org-remember-delete-empty-lines-at-end): New
1829         option.
1830         (org-remember-handler): Use the new option.
1832 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
1834         * org.el (org-tags-sort-function): New option for sorting tags.
1835         (org-set-tags): Use the new option to sort tags.
1837         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
1838         premature deletion of the data when using org-plot in a script.
1840 2009-07-17  Bastien Guerry  <bzg@altern.org>
1842         * org-clock.el (org-clock-in-prepare-hook): New hook.
1843         (org-clock-in): Use this new hook.
1845 2009-07-16  Bastien Guerry  <bzg@altern.org>
1847         * org.el (org-special-ctrl-a/e): Explicitely bind the value
1848         'reversed for this option to the "true line boundary first"
1849         behavior.
1850         (org-tags-match-list-sublevels): Document the 'indented value for
1851         this variable.
1853         * org-latex.el (org-export-latex-first-lines): Fix problem with
1854         publishing the region.
1856         * org-exp.el (org-export-format-source-code-or-example): Fix
1857         bad line numbering when exporting examples in HTML.
1859         * org-colview.el (org-format-time-period): Formats a time in
1860         fractional days as days, hours, mins, seconds.
1861         (org-columns-display-here): Add special handling for SINCE and
1862         SINCE_IA to format for display.
1864 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
1866         * org.el (org-tags-sort-function): Add custom declaration for tags
1867         sorting function.
1868         (org-set-tags): Sort tags if org-tags-sort-function is set
1870 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
1872         * org-clock.el (org-clock-goto): Find hidden headlines as well.
1874         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
1876         * org-plot.el (org-plot/add-options-to-plist): Add timeind
1877         option.
1879 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
1881         * org-publish.el (org-publish-remove-all-timestamps): New function.
1882         (org-publish-all): Remove all timestamp files if `org-publish-all'
1883         is called with a prefix argument.
1885         * org-list.el (org-indent-item): Fix typo.
1886         (org-item-indent-positions): Normalize ordered bullet.
1888         * org-html.el (org-export-html-home/up-format): New option.
1889         (org-export-as-html): Insert the up and HOME links.
1891 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
1893         * org-html.el (org-export-as-html): Insert the title into the
1894         option plist.
1895         (org-export-html-insert-plist-item): New function.
1896         (org-export-as-html): Call `org-export-html-insert-plist-item'.
1898         * org-macs.el (org-set-local): Make a local variable, do not make
1899         the variable buffer-local!
1901         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
1903         * org-html.el (org-export-as-html): Call `org-install-letbind'.
1905         * org-docbook.el (org-export-as-docbook): Call
1906         `org-install-letbind'.
1908         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
1910         * org-exp.el (org-infile-export-plist): Read BIND lines.
1911         (org-install-letbind): New function.
1912         (org-export-as-org, org-export-preprocess-string): Call
1913         `org-install-letbind'.
1915         * org-src.el (org-edit-src-exit): Untabify the example before
1916         returning to Org.
1918         * org-list.el (org-list-demote-modify-bullet): New option.
1919         (org-first-list-item-p): Save point.
1920         (org-fix-bullet-type): New optional argument FORCE-BULLET.
1921         (org-indent-item): Honor `org-list-demote-modify-bullet'.
1922         (org-item-indent-positions): Return bullet types along with
1923         indentation.
1925 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
1927         * org.el (org-show-entry): Hide drawers.
1929 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
1931         * org-footnote.el (org-footnote-auto-adjust): New option.
1932         (org-footnote-auto-adjust-maybe): New function.
1933         (org-footnote-new, org-footnote-delete): Call
1934         `org-footnote-auto-adjust-maybe'.
1936         * org.el (org-startup-options): Add new footnote-related
1937         keywords.
1939         * org-publish.el (org-publish-timestamp-filename): Additional
1940         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
1941         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
1942         TRUE-PUB-DIR.  Pass them through to
1943         `org-publish-timestamp-filename'.
1944         (org-publish-update-timestamp): Additional arguments PUB-DIR and
1945         PUB-FUNC, which are included in the hash.
1946         (org-publish-file): Delay timestamp test until the publishing
1947         function is known.
1949 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
1951         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
1952         setting the deadline.
1954         * org.el (org-read-date-final-answer): New variable.
1955         (org-read-date): Store the final answer string, including the date
1956         from the calendar, for reuse by agenda bulk commands.
1958         * org-publish.el (org-publish-attachment): Fix publishing of
1959         attachments.
1961         * org-latex.el (org-export-latex-quotation-marks): Fix export of
1962         quotation makrs in parenthesis.
1963         (org-remove-initial-hash): New function.
1964         (org-export-latex-preprocess): Fix bug with infinite loop if
1965         environment is not properly closed.
1967         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
1968         when indented.
1970         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
1971         highlight also when indented.
1973 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
1975         * org-footnote.el (org-footnote-renumber-fn:N): New command.
1976         (org-footnote-action): Offer renumbering.
1978         * org.el (org-cycle): Honor the `integrate' value of
1979         org-cycle-include-plain-lists'.
1981         * org-list.el (org-cycle-include-plain-lists): New allowed value
1982         `internal'.  Improve the docstring.
1984         * org.el (org-set-autofill-regexps): Improve the paragraph-start
1985         regexp to work better with LaTeX commands.
1987 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
1989         * org-feed.el (org-feed-update): fix problem with non-existing
1990         buffer.
1991         (org-feed-skip-http-headers): New function.
1992         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
1993         (org-feed-get-feed): Fix command line arguments for curl.
1995 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
1997         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
1998         and eps extensions.
2000 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
2002         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2003         loaded.
2005         * org.el (org-map-entries): No longer force
2006         `org-tags-match-list-sublevels' to t during a todo-only tags
2007         search.
2009 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
2011         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2012         environment.
2013         (org-export-latex-subcontent): Handle user-defined environment.
2015         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2016         the View dispatcher.
2018         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2019         `make-overlay'.
2021         * org-latex.el (org-export-as-pdf): Protect match data during call
2022         to shell-quote-argument.
2024         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2025         (org-agenda-view-mode-dispatch): New function.
2027 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
2029         * org-agenda.el (org-agenda-mode): Reset list of marks.
2030         (org-agenda-mode-map): Define new keys for refile and bulk action.
2031         (org-agenda-menu): Add menu itesm for refile and bulk action.
2032         (org-agenda-refile): New function.
2033         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2034         (org-agenda-marked-entries): New variable.
2035         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2036         (org-agenda-remove-all-bulk-action-marks)
2037         (org-agenda-bulk-action): New functions/commands.
2039 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
2041         * org-exp.el (org-get-file-contents): Protect org-like lines in
2042         included files.
2043         (org-export-format-source-code-or-example): Remove newlines.
2045         * org-latex.el (org-export-latex-links): Check for no-description
2046         marking.
2048         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2049         argument separator back to comma.
2050         (org-export-normalize-links): Mark links without description.
2052 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
2054         * org-exp.el (org-infile-export-plist): Fix bug in macro
2055         processing.
2057         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2058         out.
2059         (org-agenda-highlight-todo): Fix bug with highlighting.
2061 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
2063         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2064         new alignment strings.
2066         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2067         command list.
2068         (org-table-align): Check for forced align type.
2070         * org.el (org-self-insert-command): Add yas/expand to command
2071         list.
2073         * org-clock.el (org-clock-in-hook): New hook.
2074         (org-clock-in): Run `org-clock-in-hook.
2075         (org-clock-out-hook): New hook.
2076         (org-clock-out): Run `org-clock-out-hook.
2077         (org-clock-cancel-hook): New hook.
2078         (org-clock-cancel): Run `org-clock-cancel-hook.
2079         (org-clock-goto-hook): New hook.
2080         (org-clock-goto): Run `org-clock-goto-hook.
2082 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
2084         * org.el (org-store-link): Better default description for link to
2085         Org-mode headline.
2087         * org-exp.el (org-export-generic): Autoload the generic exporter
2088         function.
2089         (org-export): Implement the `g' key for the generic exporter.
2091 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
2093         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2094         and for zbacktab'.
2096         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2098         * org-exp.el (org-infile-export-plist): Get macros also from
2099         #+SETUPFILE.
2101 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
2103         * org-colview.el (org-columns-capture-view): Protect vertical bars
2104         in column values.
2105         (org-columns-capture-view): Exclude comment and archived trees.
2107         * org-colview-xemacs.el (org-columns-capture-view): Protect
2108         vertical bars in column values.
2109         (org-columns-capture-view): Exclude comment and archived trees.
2111         * org.el (org-quote-vert): New function.
2113         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2115         * org-exp.el (org-export-format-source-code-or-example): Use
2116         `org-export-latex-verbatim-wrap'.
2118         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2119         time stamps.
2121         * org-html.el (org-export-table-row-tags): New option.
2122         (org-format-org-table-html): Rename `nlines' to `nline', use new
2123         option.
2126 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
2128         * org-exp-blocks.el: Declare functions and variables.
2130         * org-remember.el (org-remember-templates): Allow the headline
2131         element to be a function.
2132         (org-remember-apply-template): If the headline is a function, call
2133         it to get the true function.
2135         * org-clock.el (org-clock-menu): New function.
2136         (org-clock-update-mode-line): Update help string.
2137         (org-clock-modify-effort-estimate): New function.
2138         (org-clock-mark-default-task): New function.
2140         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2141         minutes as input.
2142         (org-org-menu): Add new clocking stuff.
2143         (org-clock-is-active): New function.
2145 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
2147         * org.el (org-open-non-existing-files): Improve docstring.
2149 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
2151         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2152         option.
2153         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2155         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2157         * org-list.el (org-get-checkbox-statistics-face): Use the new
2158         faces.
2160         * org-faces.el (org-checkbox-statistics-todo)
2161         (org-checkbox-statistics-done): New faces.
2163 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
2165         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2166         (org-edit-src-exit): Better cursor positioning when returning from
2167         editing.
2169         * org-latex.el (org-export-latex-use-verb): New variable.
2170         (org-export-latex-emph-format): Prefer \texttt over \verb when
2171         org-export-latex-use-verb is set.
2173 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
2175         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2176         at normal indentation.
2178         * org-html.el (org-export-html-close-lists-maybe): Also look at
2179         normal indentation.
2181         * org-remember.el (org-remember-handler): Abort remember if the
2182         buffer is empty.
2184         * org-src.el (org-edit-src-content-indentation): New option.
2185         (org-edit-src-exit): Apply extra indentation.
2187         * org-exp.el (org-export-format-source-code-or-example): Run
2188         `org-src-mode-hook'.
2190         * org-src.el (org-src-mode-hook): New variable.
2191         (org-edit-src-code): Run `org-src-mode-hook'.
2193 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2195         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2197         * org-src.el (org-edit-src-get-indentation): New function.
2198         (org-edit-src-code): Base indentation on the begin line.
2200 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
2202         * org-gnus.el (org-gnus-store-link): Require message.el in
2203         org-gnus-store-link.
2205 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
2207         * org-src.el: New file, split out of org.el
2209         * org-docbook.el (org-export-as-docbook): Better indentation
2210         treatment.
2212         * org-macs.el (org-replace-match-keep-properties): New function.
2214         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2215         preprocessing of center and quote and verse blocks.
2217         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2218         (org-export-as-docbook): Close lists when original indentation
2219         mandates it.
2221         * org-html.el (org-export-html-close-lists-maybe): New function.
2222         (org-export-as-html): Close lists when original indentation
2223         mandates it.
2225         * org-list.el (org-list-end): Respect the stored "original"
2226         indentation when determining the end of the list.
2228         * org-exp.el (org-export-replace-src-segments-and-examples):
2229         Remember indentation correctly.
2231 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
2233         * org-clock.el (org-clock-update-mode-line): Apply face
2234         org-mode-line-clock.
2236         * org-faces.el (org-mode-line-clock): New face.
2238 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
2240         * org-gnus.el (org-gnus-store-link): Fix bug where
2241         `org-gnus-store-link' used wrong subject when called in an article
2242         buffer.  Patch provided by fengli AT gmail DOT com.
2244 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
2246         * org-exp.el (org-export-format-source-code-or-example): Remember
2247         the original indentation of source code snippets and examples.
2249         * org-latex.el (org-export-as-latex): Relocate the table of
2250         contents.
2252         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2254         * org-agenda.el (org-run-agenda-series): Scope global options also
2255         when creating the agenda buffer.
2257 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
2259         * org.el (org-adapt-indentation): Improve documentation.
2260         (org-insert-property-drawer): Respect org-adapt-indentation when
2261         inserting the drawer.
2262         (org-remove-flyspell-overlays-in): New function.
2263         (org-do-emphasis-faces, org-activate-plain-links)
2264         (org-activate-code, org-fontify-meta-lines-and-blocks)
2265         (org-activate-angle-links, org-activate-footnote-links)
2266         (org-activate-bracket-links, org-activate-dates)
2267         (org-activate-target-links, org-activate-tags): Remove flyspell
2268         overlays.
2270 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
2272         * org.el (org-edit-src-save): New function.
2274         * org-clock.el (org-clock-out-switch-to-state): New option.
2275         (org-clock-out): Honor `org-clock-out-switch-to-state'.
2277         * org-compat.el (org-compatible-face): Improve macro.
2279         * org.el (org-global-properties-fixed): Add default for
2280         CLOCK_MODELINE_TOTAL.
2282         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2283         andd tend.
2284         (org-clock-sum-current-item): Optional argument TSTART, pass it to
2285         org-clock-sum.
2286         (org-clock-get-sum-start): New function.
2288         * org.el (org-startup-options): New keywords blockhide and
2289         blockshow.
2290         (org-mode): Add new invisibility spec.
2291         (org-set-startup-visibility): Hide block on startup if so
2292         desired.
2293         (org-hide-block-startup): New option.
2294         (org-block-regexp): New constant.
2295         (org-hide-block-overlays): New variable.
2296         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2297         (org-show-block-all, org-hide-block-toggle-maybe)
2298         (org-hide-block-toggle): New functions.
2299         (org-edit-src-exit): Do not quote lines starting with # and no +
2300         behind it.
2301         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2302         entry.
2304 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
2306         * org.el (org-buffer-property-keys): Add Effort property for
2307         completion.
2309 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
2311         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2312         when retrieving total clocked time in the subtree.
2314         * org.el (org-quoting-blocks): New variable.
2316 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2318         * org-table.el (org-table-store-formulas)
2319         (org-table-get-stored-formulas, org-table-fix-formulas)
2320         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2321         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2323         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2324         indented #+TBLFM line.
2326         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2327         indented #+TBLFM line.
2329         * org-colview.el (org-dblock-write:columnview): Allow indented
2330         #+TBLFM line.
2332         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2333         indented #+TBLFM line.
2335         * org-clock.el (org-dblock-write:clocktable): Allow indented
2336         #+TBLFM line.
2338 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
2340         * org-exp.el (org-export-format-source-code-or-example): Make
2341         editing indented blocks work correctly.
2343         * org.el (org-edit-src-nindent): New variable.
2344         (org-edit-src-code, org-edit-fixed-width-region)
2345         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2346         editing indented blocks work correctly.
2348 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
2350         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2351         indented blocks.
2352         (org-export-format-source-code-or-example): Fix indentation of
2353         blocks.
2354         (org-export-remove-indentation): New function.
2355         (org-export-select-backend-specific-text): Allow backend-specific
2356         code to be indented.
2357         (org-export-mark-blockquote-verse-center): Allow markers to be
2358         indented.
2360         * org.el (org-fontify-meta-lines): New function.
2361         (org-set-font-lock-defaults): Call the new fontification
2362         function.
2364         * org-faces.el (org-meta-line): New face
2365         (org-block):  New face.
2367 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
2369         * org.el (org-treat-insert-todo-heading-as-state-change)
2370         (org-treat-S-cursor-todo-selection-as-state-change): New
2371         variables.
2372         (org-insert-todo-heading): Honor
2373         `org-treat-insert-todo-heading-as-state-change'.
2374         (org-shiftright, org-shiftleft): Honor
2375         `org-treat-S-cursor-todo-selection-as-state-change'.
2376         (org-inhibit-logging): New variable.
2378 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
2380         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2381         range for marker position checking.
2383         * org-latex.el (org-export-latex-first-lines): Fix bug when
2384         exporting a region.
2386 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
2388         * org-exp.el (org-export-push-to-kill-ring): Protect using
2389         x-set-selection, because that does not always work.
2391         * org-agenda.el (org-agenda-list): Apply the new face
2392         `org-agenda-date-today'.
2394         * org-faces.el (org-agenda-date-today): New face.
2396 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
2398         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2399         creating appointments.
2401         * org-latex.el (org-export-latex-low-levels): Fix customization
2402         type.
2404         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2405         priority commands.
2407         * org-agenda.el (org-agenda-priority): Disable priority commands.
2409         * org.el (org-enable-priority-commands): New option.
2411         * org-colview-xemacs.el (org-columns-compute)
2412         (org-columns-number-to-string): Fix problems with empty fields.
2414         * org-colview.el (org-columns-compute)
2415         (org-columns-number-to-string): Fix problems with empty fields.
2417         * org-exp.el (org-export-push-to-kill-ring): New function.
2418         (org-export-copy-to-kill-ring): New option.
2420         * org-latex.el (org-export-as-latex): Call
2421         `org-export-push-to-kill-ring'.
2423         * org-html.el (org-export-as-html): Call
2424         `org-export-push-to-kill-ring'.
2426         * org-docbook.el (org-export-as-docbook): Call
2427         `org-export-push-to-kill-ring'.
2429         * org-ascii.el (org-export-as-ascii): Call
2430         `org-export-push-to-kill-ring'.
2432         * org-exp.el (org-export-show-temporary-export-buffer): New
2433         option.
2435         * org-latex.el (org-export-as-latex): Use
2436         `org-export-show-temporary-export-buffer'.
2438         * org-html.el (org-export-as-html): Use
2439         `org-export-show-temporary-export-buffer'.
2441         * org-docbook.el (org-export-as-docbook): Use
2442         `org-export-show-temporary-export-buffer'.
2444         * org-ascii.el (org-export-as-ascii-to-buffer): Use
2445         `org-export-show-temporary-export-buffer'.
2447         * org-exp.el (org-export-show-temporary-export-buffer): New
2448         option.
2449         (org-export-push-to-kill-ring): New function.
2451         * org-colview.el (org-columns-compile-map): New variable.
2452         (org-columns-new, org-columns-compute)
2453         (org-columns-number-to-string, org-columns-uncompile-format)
2454         (org-columns-compile-format): Implement new operators.
2456 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
2458         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2460         * org-html.el (org-export-html-xml-declaration): New option.
2461         (org-export-as-html): Use `org-export-html-xml-declaration'.
2463         * org-list.el (org-update-checkbox-count): Make property
2464         dependent.
2466         * org.el (org-hierarchical-todo-statistics): New option.
2467         (org-update-parent-todo-statistics): Modified to handle recursive
2468         statistics.
2470 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
2472         * org-publish.el (org-publish): Make this function behave
2473         correctly in interactive use when called with a prefix argument.
2475         * org.el (org-todo-statistics-hook): New hook.
2476         (org-update-parent-todo-statistics): Use new hook.
2477         (org-log-into-drawer): New function.
2478         (org-add-log-setup): Use the new `org-log-into-drawer' function to
2479         determine if we should be logging into a drawer.
2480         (org-log-into-drawer): Update docstring.
2481         (org-default-properties): Add LOG_INTO_DRAWER as a property.
2483         * org-list.el (org-checkbox-statistics-hook): New hook.
2484         (org-update-checkbox-count-maybe): Use new hook.
2486         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
2487         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
2488         to kill ring.
2490 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
2492         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
2493         a line.
2495 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
2497         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2498         better bufer-generating mechanism.
2499         (org-edit-src-find-buffer): New function.
2501         * org-icalendar.el (org-print-icalendar-entries): Don't check for
2502         archive tag, this is already done by `org-agenda-skip'.
2503         data while constructing lost of tags.
2505 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
2507         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2508         as argument separator in macros.
2510         * org-html.el (org-export-as-html): Add xml declaration.
2512 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
2514         * org.el (org-after-sorting-entries-or-items-hook): New hook.
2515         (org-sort-entries-or-items): Run the new hook.
2516         (org-after-refile-insert-hook): New hook.
2517         (org-refile): Run `org-after-refile-insert-hook'.
2519         * org-agenda.el (org-agenda-get-progress): Never take time of day
2520         from headline when displaying progress.
2522         * org-latex.el (org-export-latex-complex-heading-re): New variable.
2523         (org-export-as-latex): Force the correct regexp in the
2524         preprocessor buffer.
2525         (org-export-latex-set-initial-vars): Set
2526         `org-export-latex-complex-heading-re'.
2528         * org-agenda.el (org-agenda-start-with-log-mode): New option.
2529         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2531 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
2533         * org-latex.el (org-export-latex-tables-centered): New option.
2534         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2536         * org-exp.el (org-export-as-org): New command.
2537         (org-export-as-org): New command.
2539         * org-publish.el (org-publish-org-to-org): New function.
2541 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
2543         * org.el (org-yank): Just call `org-yank-generic'.
2544         (org-yank-generic): New function, containing the formaer
2545         functionality of `org-yank'.
2547         * org-latex.el (org-export-latex-not-done-keywords)
2548         (org-export-latex-done-keywords): New variables.
2549         (org-export-latex-todo-keyword-markup): New option.
2550         (org-export-latex-set-initial-vars): Remember the TODO keywords.
2551         (org-export-latex-keywords-maybe): Apply the TODO markup.
2553 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
2555         * org-exp.el (org-infile-export-plist): Add more default macros.
2556         (org-export-preprocess-apply-macros): Process macro arguments.
2558 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
2560         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
2561         `unblocked'.
2562         (org-print-icalendar-entries): Respect the new value of
2563         `org-icalendar-include-todo'.
2565         * org.el (org-link-try-special-completion)
2566         (org-file-complete-link): New functions.
2567         (org-insert-link): Add special completion support for some link
2568         types.
2570         * org-bbdb.el (org-bbdb-complete-link): New function.
2572 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
2574         * org-list.el (org-update-checkbox-count): Allow recursive
2575         statistics.
2576         (org-hierarchical-checkbox-statistics): New option.
2578         * org.el (org-cycle): Remove erraneous space character.
2580         * org-icalendar.el (org-icalendar-timezone): Initialize from
2581         environment.
2583         * org-html.el (org-format-org-table-html): Specify the scope.
2584         (org-format-table-table-html): Specify the scope.
2585         (org-export-table-header-tags): Prepare the scope parameter.
2587 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
2589         * org-html.el
2590         (org-export-html-table-use-header-tags-for-first-column): New
2591         option.
2593         * org.el (org-autoload): Fix autoloading of ascii export
2594         functions.
2595         (org-modules): Add org-special-blocks.
2597 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
2599         * org-icalendar.el (org-start-icalendar-file): Use the new option.
2600         (org-ical-timezone): New option.
2602         * org-exp.el (org-export-get-coderef-format): Use the description
2603         is present.
2605         * org.el (org-sort-entries-or-items): Improve docstring, and make
2606         better implementation for time sorting.
2608 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
2610         * org.el (org-edit-src-persistent-message): New option.
2611         (org-edit-src-code, org-edit-fixed-width-region): Use the new
2612         option.
2614         * org-clock.el (org-clock-insert-selection-line): Fix prefious
2615         patch.
2617         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
2618         separate buffer instead of indirect buffer to edit source code.
2619         (org-edit-src-exit): Make this function work with the new setup.
2621         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
2622         are properly fontified before shown in the selection menu.
2624         * org.el (org-fontify-like-in-org-mode): New function.
2626         * org-latex.el (org-export-latex-links): Use the property list to
2627         retrieve the default image attributes.
2629         * org-exp.el (org-export-plist-vars): Add a new option.
2631 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
2633         * org-exp.el (org-export, org-export-visible): Support ASCII
2634         export to buffer
2635         (org-export-normalize-links): Do not protect the description if it
2636         is explicitly given.
2638         * org-ascii.el (org-export-as-ascii-to-buffer)
2639         (org-replace-region-by-ascii, org-export-region-as-ascii): New
2640         commands.
2641         (org-export-as-ascii): Add all the same parameters that are also
2642         supported by the other export functions.
2644         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
2645         org-checklist.el.
2646         (org-reset-checkbox-state-subtree): Call
2647         `org-reset-checkbox-state-subtree'.
2649         * org-remember.el (org-select-remember-template): For the
2650         selection of a valid template.
2652         * org-latex.el (org-export-region-as-latex): Supply the
2653         force-no-subtree argument.
2654         (org-export-as-latex): Provide better limits when exporting the
2655         first line.  When exporting to string, we still want the first
2656         lines.
2657         (org-export-latex-first-lines): New argument END, to force the end
2658         of the region.
2659         (org-export-region-as-latex): Use the property list.
2660         (org-export-as-latex):
2662         * org-colview-xemacs.el (org-columns-remove-overlays)
2663         (org-columns): Fix call to `local-variable-p'.
2665 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
2667         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
2668         (org-export-as-html): Run the new hook.
2670         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
2671         (org-export-latex-preprocess): Run the new hook.
2673         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
2674         (org-export-preprocess-string): Run the new hook.
2676 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
2678         * org-macs.el (org-check-external-command): New defsubst.
2680         * org.el (org-mode-map): New key for reload.
2681         (org-format-latex): Better error message when external programs
2682         are not available.
2684         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
2686         * org.el (org-sort-entries-or-items): Explicit sorting function
2687         for priorities, needed for XEmacs compatibility.
2689         * org-remember.el (org-remember-apply-template): Improve auto-save
2690         behavior.
2692 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
2694         * org-latex.el (org-export-latex-preprocess): Also protect
2695         environments ending in a star.
2697         * org-list.el (org-at-item-p): Fix regular expression.
2699 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
2701         * org.el (org-end-of-subtree): Improve speed.
2703         * org-agenda.el (org-agenda-get-timestamps)
2704         (org-agenda-get-progress, org-agenda-get-deadlines)
2705         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
2706         in particular, wait as long as possible to collect the tags.
2707         (org-stuck-projects): Improve docstring.
2709         * org.el (org-store-link): No errors when getting custom id before
2710         first headline.
2711         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
2713 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
2715         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
2717         * org-protocol.el: Remove dependency on url.el.
2718         (org-protocol-unhex-compound, org-protocol-open-source): Remove
2719         dependency on url.el.
2721         * org-latex.el (org-export-as-pdf): Use
2722         `org-latex-to-pdf-process'.
2724 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
2726         * org-latex.el (org-latex-to-pdf-process): New option.
2728         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
2729         New option.
2730         (org-agenda-get-timestamps): Honor
2731         `org-agenda-skip-additional-timestamps-same-entry'.
2733         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
2734         (org-clock-goto): Find recent task only if
2735         `org-clock-goto-may-find-recent-task' allows it.
2737         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
2738         drawers, and drawers that are missing the :END: line.
2740 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
2742         * org-clock.el (org-clock-goto): Go to recently clocked task if no
2743         clock is running.
2745 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
2747         * org.el (org-update-parent-todo-statistics): Check for
2748         STATISTICS_FROM property.
2750         * org-list.el (org-update-checkbox-count): Check for
2751         STATISTICS_FROM property.
2753         * org.el (org-tab-first-hook)
2754         (org-tab-after-check-for-table-hook)
2755         (org-tab-after-check-for-cycling-hook): New hooks.
2756         (org-cycle-internal-global, org-cycle-internal-local): New
2757         functions, split out from `org-cycle'.
2758         (org-cycle): Call the new hooks.
2760 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
2762         * org-exp.el (org-export-preprocess-string): Reset the list of
2763         preferred targets for each run of the preprocessor.
2765         * org.el (org-refile-target-verify-function): Improve
2766         documentation.
2767         (org-get-refile-targets): Respect point being moved by the
2768         verification function.
2770         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
2771         option.
2772         (org-export-latex-keywords): Use new option.
2774         * org.el (org-rear-nonsticky-at): New defsubst.
2775         (org-activate-plain-links, org-activate-angle-links)
2776         (org-activate-footnote-links, org-activate-bracket-links)
2777         (org-activate-dates, org-activate-target-links)
2778         (org-activate-tags): Place the rear-nonsticky properties at the
2779         correct location.
2781 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
2783         * org-protocol.el (server-edit): Declare `server-edit'.
2784         (org-protocol-unhex-string, org-protocol-unhex-compound): New
2785         functions.
2786         (org-protocol-check-filename-for-protocol): Call `server-edit'.
2788         * org.el (org-default-properties): New default properteis for
2789         completion.
2791         * org-exp.el (org-export-add-subtree-options): Add new properties
2792         for subtree export.
2794         * org-docbook.el (org-export-docbook-keywords-markup)
2795         (org-export-docbook-timestamp-markup): New options.
2796         (org-export-docbook-protect-tags): New function.
2798 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
2800         * org-id.el (org-id-get-with-outline-path-completion): Turn off
2801         org-refile-target-verify-function for the duration of the command.
2803         * org.el (org-link-to-org-use-id): New possible value
2804         `create-if-interactive-and-no-custom-id'.
2805         (org-store-link): Use custom IDs.
2806         (org-link-search): Find custom ID properties from #link.
2807         (org-default-properties): Add CUSTOM_ID for property completion.
2808         (org-refile-target-verify-function): New option.
2809         (org-goto): Turn off org-refile-target-verify-function
2810         for the duration of the command.
2812 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
2814         * org-html.el (org-export-as-html): Use custom IDs in the toc.
2816         * org-exp.el (org-export-preferred-target-alist): New variable.
2817         (org-export-define-heading-targets): Find the new CUSTOM_ID
2818         property.
2819         (org-export-target-internal-links): Target the custom ids when
2820         possible.
2822         * org-latex.el (org-export-latex-preprocess): Better regexp for
2823         matching latex macros with arguments.
2825 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
2827         * org-remember.el (org-remember-handler): Allow filing to non-org
2828         files.
2830 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
2832         * org-feed.el (org-feed-alist): New keyword options.
2833         (org-feed-update): Use the new options.
2834         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
2835         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
2836         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
2837         functions.
2839         * org-table.el (org-table-fix-formulas): Do not change references
2840         to remote tables.
2841         (org-table-get-remote-range): Convert standard coordinates to RC
2842         format.
2844         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
2846 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
2848         * org-compat.el (org-sha1-string): Function removed.
2850         * org.el (org-refile-allow-creating-parent-nodes): New option.
2851         (org-refile-get-location): New argument NEW-NODES.
2852         (org-refile): Call `org-refile-get-location' with the new
2853         argument.
2854         (org-refile-get-location): Arrange for adding a new child.
2855         (org-refile-new-child): New function.
2857         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
2858         an additional span element.
2860         * org-clock.el: Fix a number of docstrings.
2861         (org-clock-find-position): New argument
2862         FIND-UNCLOSED to make the function find an unclosed clock in the
2863         entry.
2864         (org-clock-in): Call `org-clock-find-position' with the new
2865         argument if we might be resuming a clock.
2867 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
2869         * org-latex.el (org-export-latex-display-custom-times): New variable.
2870         (org-export-latex-timestamp-markup): New option.
2871         (org-export-latex-set-initial-vars): Remember the local value of
2872         `org-display-custom-times'.
2873         (org-export-latex-content): Process time stamps.
2874         (org-export-latex-time-stamps): New function.
2876         * org-macs.el (org-maybe-intangible): Add intangible property
2877         again to invisible text.
2879 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
2881         * org-exp.el (org-default-export-plist): Handle undefined
2882         variables.
2884 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
2886         * org.el (org-sort-entries-or-items): Match TODO keywrds
2887         case-sensitively, when sorting.
2888         (org-priority): Do not match TODO keywords with wrong case.
2890 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
2892         * org-feed.el (org-feed-update): Bind the variable
2893         `new-formatted'.
2895         * org-html.el (org-export-as-html): Start paragraphs after literal
2896         examples.
2898         * org-docbook.el (org-export-as-docbook): Start paragraphs after
2899         literal examples.
2901 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
2903         * org.el (org-todo): Honor the NOBLOCKING property.
2905         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
2906         NOBLOCKING property.
2908         * org.el (org-scan-tags): Fix bug in tag scanner
2910 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
2912         * org.el (org-modules): Mark obsolete packages.
2914         * org-html.el: New file, split out from org-exp.el.
2916         * org-icalendar.el: New file, split out from org-exp.el.
2918         * org-xoxo.el: New file, split out from org-exp.el.
2920         * org-ascii.el: New file, split out from org-exp.el.
2922 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
2924         * org-compat.el (org-find-library-name): New function.
2926         * org.el (org-pre-cycle-hook): New hook.
2927         (org-cycle): Call the new hook in appropriate places.
2928         (org-reload): Only reload files that have been loaded before.
2930 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
2932         * org.el (org-set-font-lock-defaults): Enforxe space or line end
2933         after todo keyword.
2934         (org-todo): When changing TODO state, do matching
2935         case-sensitively.
2936         (org-map-continue-from): New variable.
2937         (org-scan-tags): Respect values in `org-map-continue-from'.
2938         (org-reload): Make XEmacs compatible.
2940 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
2942         * org-protocol.el (org-protocol-flatten-greedy): New function.
2943         (org-protocol-flatten): New function.
2945         * org.el (org-open-link-from-string): Pass reference buffer to
2946         `org-open-at-point'.
2947         (org-open-at-point): New optional argument `reference-buffer'.
2949 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
2951         * org.el (org-scan-tags): Make tag scan find headline in first
2952         line, 2nd attempt.
2953         (org-get-refile-targets): Add the naked file name.
2954         (org-refile): Store as top-level entry when only file name was
2955         given.
2957         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
2959         * org.el (org-block-todo-from-children-or-siblings-or-parent):
2960         Renamed from org-block-todo-from-children-or-siblings, and
2961         enhanced to look for the parent's status as well.
2963         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
2964         (org-agenda-get-progress): Add first notes line to log entry if so
2965         desired.
2967 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
2969         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
2970         (org-agenda-cleanup-fancy-diary): Call the new hook.
2972         * org-remember.el (org-remember-apply-template): Take the default
2973         for the annotation from the :annotation property.
2975         * org-mac-message.el (org-mac-message-get-link): Remove the
2976         quotes.
2977         (org-mac-message-get-link): Return the result.
2979 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
2981         * org.el (org-refile-get-location): Add file name only if not
2982         already included in outline path.
2984         * org-faces.el (org-n-level-faces): Fix customization type from
2985         number to integer.
2987         * org-exp.el (org-export-headline-levels): Fix customization type
2988         from number to integer.
2990         * org-agenda.el (org-agenda-confirm-kill)
2991         (org-agenda-custom-commands-local-options)
2992         (org-timeline-show-empty-dates, org-agenda-ndays)
2993         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
2994         customization type from number to integer.
2996 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
2998         * org-protocol.el: Declare some functions.
3000         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3001         postion before inserting modified headline.
3003         * org-agenda.el (org-agenda-compare-effort): Honor
3004         `org-sort-agenda-noeffort-is-high'.
3005         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3006         (org-agenda-compare-effort): Implement the "?" operator for
3007         finding entries without effort setting.
3009         * org.el (org-extract-attributes-from-string): New function.
3011         * org-exp.el (org-export-splice-attributes): New function.
3013 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
3015         * org-mouse.el: XEmacs compatibility fixes
3017         * org-docbook.el (org-export-as-docbook): Process footnotes like
3018         normal text.
3020         * org.el (org-modules): Add org-inlinetasks.el
3021         (org-cycle): Implement limiting level on cycling.
3022         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3023         buffer.
3025         * org-inlinetask.el: New file.
3027         * org.el (org-emphasis-regexp-components): Allow braces in
3028         emphasis pre and post match.
3030         * org-footnote.el (org-footnote-normalize): When only dorting, do
3031         not insert inline notes at the end.
3033         * org-docbook.el (org-id-find-id-file): Add function declaration.
3035         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3037         * org-docbook.el: New file.
3039 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
3041         * org.el (org-reftex-citation): New command.
3043 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
3045         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3046         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3047         sorting options.
3048         (org-entries-lessp): Apply the new sorting option.
3050         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3051         blocker code, when an older sibling has children.
3053         * org-mac-message.el (org-mac-message-get-link): Improve getting
3054         links from multiple selected messages.
3056 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
3058         * org-remember.el (org-remember-finalize): Do not set buffer file
3059         name to nil.
3060         (org-remember-handler): Mark buffer as unmodified.
3061         (org-remember-handler): Delete backup file and show message about
3062         remaining backup files.
3063         (org-remember-auto-remove-backup-files): New option.
3065         * org.el (org-store-link): Use buffer name as link description in
3066         w3-mode buffers.
3067         (org-ido-switchb): Fix argument bug for completion.
3069         * org-remember.el (org-remember-apply-template): Set local
3070         variable `auto-save-visited-file-name' instead of global one.
3072 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
3074         * org-feed.el: Re-write.
3076         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3077         (org-agenda-get-todos): Mark file tags as inherited.
3078         (org-agenda-list): Always search diary lines for a time.
3080 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
3082         * org-feed.el (org-feed-assume-stable): New option.
3083         (org-feed-before-adding-hook): New hook.
3085         * org-exp.el (org-export-as-html): Close local lists depending on
3086         indentation, also when starting a table.
3088         * org-remember.el (org-remember-backup-directory)
3089         (org-remember-backup-name): New internal variable.
3091 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
3093         * org-clock.el (org-clock-out-if-current): Make buffer detection
3094         work in indirect buffers as well.
3096         * org.el (org-emphasis-regexp-components): Add the exxclamation
3097         mark to the post-emphasis characters.
3099 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
3101         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3102         (org-read-date): Run the new hook.
3104         * org-mac-message.el (org-mac-flagged-mail): New group.
3105         (org-mac-mail-account): New variable.
3106         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3107         commands.
3109         * org-remember.el (org-remember-backup-directory): New variable.
3110         (org-remember-apply-template): Write file to backup directory.
3112 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
3114         * org-mouse.el (org-mouse-todo-menu): New function.
3115         (org-mouse-todo-keywords): Function removed.
3116         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3118         * org-table.el (org-table-beginning-of-field)
3119         (org-table-end-of-field): New commands
3120         (org-table-previous-field, org-table-beginning-of-field): Better
3121         error messages.
3122         (orgtbl-setup): Include `M-a' and `M-e'.
3124         * org.el (org-backward-sentence, org-forward-sentence): New
3125         commands.
3127         * org-colview.el (org-colview-initial-truncate-line-value): New
3128         variable.
3129         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3130         (org-columns): Remember the value of `truncate-lines'.
3132         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3133         New variable.
3134         (org-columns-remove-overlays): Restore the value of
3135         `truncate-lines'.
3136         (org-columns): Remember the value of `truncate-lines'.
3138         * org.el (org-columns-skip-arrchived-trees): New option.
3140         * org-agenda.el (org-agenda-export-html-style): Define color for
3141         org-agenda-done face.
3142         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3143         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3145         * org.el (org-scan-tags): Use the new face.
3147         * org-faces.el (org-agenda-done): New face.
3149         * org.el (org-scan-tags): Test the value org
3150         `org-tags-match-list-sublevels'.
3151         (org-tags-match-list-sublevels): New allowed value: indented.
3153         * org-export-latex.el (org-export-latex-make-header): Apply macros
3154         in header.
3156         * org-exp.el (org-export-apply-macros-in-string): New function.
3158         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3159         with the definition of a checked box.
3161         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3163         * org-export-latex.el (org-export-latex-low-levels): More options
3164         for how to process lower levels in LaTeX.
3165         (org-export-latex-subcontent): Better treatment for lists as a
3166         means of publishing lower levels.
3168 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
3170         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3172         * org-faces.el (org-checkbox): New face.
3174         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3175         fragement images if there is an export file.
3177 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
3179         * org-agenda.el (org-stuck-projects): Document that the subtree of
3180         projects that are not stuck will now be searched for stuck
3181         sub-projects.
3182         (org-agenda-skip-entry-when-regexp-matches)
3183         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3184         (org-agenda-list-stuck-projects): Use
3185         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3187         * org-export-latex.el (org-export-latex-preprocess): Improve
3188         export of verses.
3190         * org-exp.el (org-export-as-html): Implement centering as a div
3191         rather than a paragraph.  Do a better job with line-end in verse
3192         environments.
3194 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
3196         * org.el (org-open-at-point): Fix tags searches by mouse click.
3198 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
3200         * org-export-latex.el (org-export-latex-preprocess): Implement the
3201         centering markup.
3203         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3204         from `org-export-mark-blockquote-and-verse'.
3205         (org-export-as-html): Implement the centering markup.
3207         * org-export-latex.el (org-export-latex-tables): Fix vertical
3208         lines in tables.
3210 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
3212         * org.el (org-read-date-history): New variable.
3213         (org-read-date): Use new history variable.
3214         (org-toggle-heading): Fix bug when used before first headline.
3215         (org-store-log-note): Remove drawer if empty while note is
3216         aborted.
3217         (org-remove-empty-drawer-at): New function.
3218         (org-check-after-date): New command.
3219         (org-sparse-tree): New sparse tree command "a".
3221         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3223 2009-03-14  Bastien Guerry  <bzg@altern.org>
3225         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3226         column and a space, not only a column.
3228 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
3230         * org-export-latex.el (org-export-latex-emphasis-alist): Better
3231         defaults for verbose emphasis.
3232         (org-export-latex-emph-format): New function.
3233         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3235         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3236         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3237         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3238         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3239         commands.
3241         * org.el (org-timestamp-change): Move end-time along with start
3242         time.
3244 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
3246         * org-exp.el (org-export-target-internal-links)
3247         (org-export-as-html): Protect links specified as #name.
3249 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
3251         * org.el (org-clone-subtree-with-time-shift): New command.
3253         * org-export-latex.el (org-export-latex-special-chars)
3254         (org-export-latex-treat-sub-super-char): Fix subscript export.
3256         * org-exp.el (org-create-multibrace-regexp): Do not add
3257         backslashes to the class.
3259 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
3261         * org-colview.el (org-columns-map): Better functions for moving up
3262         and down a row, even if `truncate-line' is nil.
3264         * org.el (org-insert-todo-heading): Make sure the keyword is
3265         inserted at the correct position.
3267         * org-publish.el (org-publish-project-alist)
3268         (org-publish-projects, org-publish-org-index): Change default anme
3269         for the index of file names to "sitemap.org".
3271         * org-export-latex.el (org-export-latex-tables): Use
3272         `org-split-string', for Emacs 21 compatibility.
3274 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
3276         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3278 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
3280         * org-exp.el (org-export-page-description)
3281         (org-export-page-keywords): New variables.
3282         (org-export-plist-vars): Add entries for :keywords and
3283         :description.
3284         (org-infile-export-plist): Parse for new keywords.
3285         (org-get-current-options): Add new keywords
3286         (org-export-as-html): Publish description and keywords.
3288         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3289         option.
3290         (org-agenda-add-entry-text): Honor
3291         `org-agenda-add-entry-text-descriptive-links'.
3293         * org-export-latex.el (org-export-latex-preprocess): Make all
3294         external preprocess functions use a PARAMETER arg.
3296         * org-exp.el (org-export-preprocess-string)
3297         (org-export-select-backend-specific-text)
3298         (org-export-format-source-code-or-example)
3299         (org-format-org-table-html): Support docbook export.
3300         (org-export-preprocess-string): Make all external preprocess
3301         functions use a PARAMETER arg.
3303 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
3305         * org-exp.el (org-export-html-style-include-scripts): New option.
3306         (org-export-plist-vars): Add new option
3307         `org-export-html-style-include-scripts'.
3308         (org-export-as-html): Honor new option
3309         `org-export-html-style-include-scripts'.
3310         (org-export-html-scripts, org-export-html-style-default): Fix
3311         xml issues with the Safari browser.
3313 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
3315         * org-publish.el (org-publish-attachment): Only copy file when the
3316         directories differ.
3318 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
3320         * org-clock.el (org-clocktable-steps): Use inactive time stamps
3321         for clocktable steps.
3323         * org.el (org-additional-option-like-keywords): Add two more
3324         keywords.
3326 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
3328         * org-exp.el (org-export-format-source-code-or-example): Mark
3329         temporary buffer unmodified, so that it will be killed even if
3330         mode like message mode has decided to assign a file name.
3332         * org.el (org-scan-tags): Improve tag inheritance.
3333         (org-scan-tags, org-make-tags-matcher): Make tag comparison
3334         case-sensitive.
3335         (org-scan-tags): Use the internal tags list instead of creating it
3336         from scratch.
3337         (org-trust-scanner-tags, org-scanner-tags): New variables.
3338         (org-scan-tags): Set `org-scanner-tags'.
3339         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3340         (org-map-entries): Document the possible speedup using scanner
3341         tags.
3343 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
3345         * org.el (org-add-planning-info): Fix bug with looking for keyword
3346         only at column 0.
3348         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3349         option for tags filter preset.
3350         (org-prepare-agenda): Store filter preset as a property on the
3351         filter variable.
3352         (org-finalize-agenda): Call the filter, if there is a preset.
3353         (org-agenda-filter-by-tag): Filter again after clearing the
3354         filter, when there still is a preset.
3355         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3356         Include the preset filter.
3357         (org-agenda-redo): Apply the filter again, also the preset filter.
3359         * org-exp.el (org-export-as-html): Use IDs in the correct way.
3361         * org.el (org-uuidgen-p): New funtion.
3363         * org-agenda.el (org-agenda-fontify-priorities): New default value
3364         `cookies'.
3365         (org-agenda-fontify-priorities): Renamed from
3366         org-fontify-priorities.
3368         * org.el (org-set-font-lock-defaults): Call
3369         `org-font-lock-add-priority-faces'.
3370         (org-font-lock-add-priority-faces): New function.
3372         * org-faces.el: (org-set-tag-faces): New option.
3373         (org-priority-faces): New variable.
3375         * org-exp.el (org-export-as-html): Add a "content" div around the
3376         entire content of the body tag.
3377         (org-export-html-get-bibliography): New function.
3378         (org-export-html-validation-link): New variable.
3379         (org-export-as-html): Add validation link to exported page.
3381         * org.el (org-match-sparse-tree): Renamed from
3382         `org-tags-sparse-tree'.
3383         (org-tags-sparse-tree): New alias.
3385 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
3387         * org.el (org-get-valid-level): Catch the case where the level
3388         change is nil.
3390         * org-clock.el (org-clock-find-position): Better indentation of
3391         new clock drawers.
3393 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
3395         * org-agenda.el (org-agenda-quit): Delete window only when the
3396         frame-setup was not `current-window'.
3398         * org.el (org-tag-persistent-alist): New option.
3399         (org-startup-options): Add keyword `noptag'.
3400         (org-fast-todo-selection): Handle :newline correctly.
3401         (org-set-tags): Handle :newline correctly.
3402         (org-fast-tag-selection): Handle :newline correctly.
3404 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
3406         * org-exp.el (org-export-as-ascii): Reverse link buffer before
3407         outputting it.
3408         (org-export-ascii-push-links): Fix bug with pussing links into the
3409         export buffer.
3411 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
3413         * org-archive.el (org-archive-subtree): Do not add 1 to level if
3414         pasting at top level.
3416         * org-bbdb.el: Improve documentation.
3418 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
3420         * org-list.el (org-insert-item): Only consider insert empty lines
3421         is `org-empty-line-terminates-plain-lists' is not nil.
3423         * org.el (org-blank-before-new-entry): Mention the dependence on
3424         `org-empty-line-terminates-plain-lists' in the docstring.
3426         * org-publish.el (org-publish-get-project-from-filename): New
3427         optional argument UP.  Only find the top project if UP is set.
3428         (org-publish-current-project): Find the top encloding project.
3430         * org-agenda.el (org-agenda-before-write-hook)
3431         (org-agenda-add-entry-text-maxlines): New options.
3432         (org-write-agenda): Run the new hook in the temporary buffer.
3433         (org-agenda-add-entry-text): New function.
3434         (org-write-agenda): Implement PDF export, using ps2pdf.
3436         * org.el (org-global-properties-fixed, org-global-properties):
3437         Improve documentation string.
3439         * org-exp.el (org-export-ascii-links-to-notes): New option.
3440         (org-export-as-ascii): Handle links better.
3441         (org-export-ascii-wrap, org-export-ascii-push-links): New
3442         functions.
3444 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
3446         * org-agenda.el (org-agenda): Make prefix arg optional.
3447         (org-agenda-search-headline-for-time): New option.
3448         (org-format-agenda-item): Honor
3449         `org-agenda-search-headline-for-time'.
3451         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3452         characters.
3454         * org.el (org-self-insert-cluster-for-undo): New option.
3455         (org-self-insert-command): Cluster undo for 20 characters.
3456         (org-self-insert-command-undo-counter): New variable.
3458 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
3460         * org-exp.el (org-export-as-html): Fix problem with closing colone
3461         example.
3463 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
3465         * org-export-latex.el (org-export-as-latex)
3466         (org-export-latex-first-lines): Avoid modification flag when
3467         adding or removing text properties.
3468         (org-export-latex-fontify): Catch error when org-emph-alist has
3469         entries that are not defined for LaTeX export.
3471         * org.el (orgstruct++-mode): New function.
3472         (turn-on-orgstruct++): Call `orgstruct++-mode'.
3473         (org-context-p): Allow detecting item context after the first line
3474         of an item.
3475         (orgstruct-make-binding): Detect if item-body context should be
3476         seen.
3477         (orgstruct-is-++): New variable.
3478         (org-add-planning-info): Catch the case when there is no planning
3479         info yet and the call does not want to add anything, only maybe
3480         tries to remove something.
3481         (org-special-ctrl-a/e): All value to be a cons cell with separate
3482         settings for `C-a. and `C-e'.
3483         (org-beginning-of-line, org-end-of-line): Honor separate values
3484         for `C-a' and `C-e'.
3486 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
3488         * org.el (org-reload): New command.
3490 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
3492         * org-exp.el (org-export-htm-get-tag-class-name)
3493         (org-export-htm-get-todo-kwd-class-name): New functions.
3494         (org-export-html-tag-class-prefix)
3495         (org-export-html-todo-kwd-class-prefix): New options.
3496         (org-export-as-html): Call
3497         `org-export-html-get-todo-kwd-class-name'.
3498         (org-html-level-start): Wrap tags into classes.
3499         (org-export-html-get-tag-class-name)
3500         (org-export-html-get-todo-kwd-class-name): New functions.
3502         * org-export-latex.el (org-export-latex-collect-header-macros):
3503         Remove fields that are used anyway.
3504         (org-export-latex-make-header): Insert the options earlier.
3506         * org-agenda.el (org-agenda-get-progress): Fix bug with state
3507         matching.
3509         * org-list.el (org-indent-item): Allow point to be at the end of
3510         the region.
3512         * org.el (org-metaleft, org-metaright): Be more accurate about
3513         detecting a region where commands apply.
3515         * org-compat.el (org-cursor-to-region-beginning): New function.
3517         * org.el (org-priority): Also find invisible heading.
3519         * org-colview-xemacs.el (org-columns-edit-value): No special
3520         treatment for `org-todo' prefix.
3522         * org-colview.el (org-columns-edit-value): No special treatment
3523         for `org-todo' prefix.
3525         * org-remember.el (org-remember-apply-template): Use
3526         `org-completing-read-no-ido'.
3528         * org.el (org-completing-read-no-ido): New function.
3529         (org-make-tags-matcher, org-set-property): Use
3530         `org-completing-read-no-ido'.
3532         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
3533         New option.
3534         (org-export-as-latex): Import in-buffer settings as TeX macros.
3535         (org-export-latex-make-header): Additional parameter OPT-DEFS.
3536         (org-export-latex-collect-header-macros): New function.
3538         * org.el (org-refile-get-location): Turn off
3539         `partial-completion-mode'.
3541 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
3543         * org.el (org-block-todo-from-checkboxes): Announce that
3544         checkboxes are the culprit.
3545         (org-block-todo-from-children-or-siblings): Call
3546         `org-up-heading-all instead' of `outline-up-heading'.
3548         * org-agenda.el (org-agenda-show-1): Renamed from
3549         `org-agenda-show'.
3550         (org-agenda-show): Re-install the old version for now.
3551         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
3552         variable into the blokker hook, so that the checkbox checker can
3553         anounce that it caused the blocking.
3555         * org.el (org-track-ordered-property-with-tag): New option.
3556         (org-toggle-ordered-property): Honor
3557         `org-track-ordered-property-with-tag'.
3558         (org-tag-alist): Add newline options.
3559         (org-set-regexps-and-options): Separate option lines imply a
3560         newline.
3561         (org-set-regexps-and-options, org-assign-fast-keys)
3562         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
3563         option.
3564         (org-indent-line-function): Make sure this works even if there is
3565         not `org-drawer-regexp' defined.  This can happen when
3566         orgstruct-mode is used in a non-org buffer.
3568         * org-list.el (org-checkbox-blocked-p): New function.
3569         (org-toggle-checkbox): Check for blocking.
3571         * org.el (org-modules): Add an entry for org-R.el.
3573         * org-agenda.el (org-agenda-todo-ignore-with-date)
3574         (org-agenda-todo-ignore-scheduled)
3575         (org-agenda-todo-ignore-deadlines): Mention the variable
3576         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
3578         * org.el (org-get-wdays): Find the warning period also if it is in
3579         the wrong place.
3580         (org-ido-completing-read): Provide the correct arguments to
3581         ido-completing-read and bind `ido-enter-matching-directory' to
3582         nil.
3584 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
3586         * org.el (org-olpath-completing-read): Never use ido for this
3587         one.
3589         * org-exp.el (org-export-normalize-links): Use new macro.
3591         * org-macs.el (org-if-unprotected-at): New macro.
3593         * org-agenda.el (org-agenda-show): Allow numerical prefix
3594         arguments to specify how much context should be shown.
3595         (org-agenda-cycle-show): New command, could be bound to SPC in
3596         org-agenda-mode-map.
3598         * org-exp.el (org-html-level-start): Space after section number.
3600 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
3602         * org-agenda.el (org-agenda-get-sexps): Add todo state as
3603         property, for sorting.
3604         (org-cmp-todo-state): Get the applicable TODO keywords directly
3605         from the buffer.
3606         (org-run-agenda-series, org-agenda-list, org-search-view)
3607         (org-todo-list, org-tags-view): Only fit agenda window when the
3608         whole series is done.
3610         * org.el (org-scan-tags): Add todo state as property, for sorting.
3612         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3613         `org-agenda-overriding-header' as an option.
3614         (org-agenda-list): Honor org-agenda-overriding-header'.
3616 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
3618         * org-list.el (org-toggle-checkbox): Improve cursor positioning
3619         after removing a checkbox.
3621         * org.el (org-show-entry): Make this work correctly also if it is
3622         the last entry in the file.
3623         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
3624         falling back to normal, default command.
3625         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
3626         item, call the checkbox toggler to get a box.
3628         * org-list.el (org-toggle-checkbox): Make double prefix set the
3629         checkbox to "[-]".
3630         (org-fix-bullet-type): Only replace bullet if it is changed.
3631         (org-renumber-ordered-list): Handle case when first item does not
3632         have a number.
3634         * org.el (org-add-log-setup): Fix positioning when
3635         `org-log-states-order-reversed' is nil.
3637         * org-clock.el (org-clock-in): Fix positioning when
3638         `org-log-states-order-reversed' is nil.
3639         (org-clock-find-position): Fix positioning when
3640         `org-log-states-order-reversed' is nil.
3642 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
3644         * org-clock.el (org-clock-into-drawer): Take default from
3645         `org-log-into-drawer'.
3646         (org-clock-find-position): Look for the correct drawer.
3648         * org.el (org-log-into-drawer): Renamed from
3649         `org-log-state-notes-into-drawer'.
3650         (org-log-state-notes-into-drawer): New variable alias.
3651         (org-add-log-setup): Make drawer name default to LOGBOOK, not
3652         CLOCK.
3653         (org-insert-property-drawer): Also skip LOGBOOK drawers.
3655 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
3657         * org-agenda.el (org-agenda): Fix docstring.
3659         * org.el ("org-plot"): Help loading org-plot.
3660         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
3661         (org-metadown-hook, org-shiftmetaleft-hook)
3662         (org-shiftmetaright-hook, org-shiftmetaup-hook)
3663         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
3664         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3665         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
3666         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
3668         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
3669         for selecting files with any (and even without) extension.
3671         * org.el (org-save-all-org-buffers): Also save id locations.
3672         (org-revert-all-org-buffers): Also load id locations.
3674 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
3675         * org.el (org-drawers): Add LOGBOOK to the default drawers.
3676         (org-log-state-notes-into-drawer): New option.
3677         (org-add-log-setup): Place the sate note marker into the drawer,
3678         create drawer when necessary.
3679         (org-refile-targets): Document special interpretation of LEVEL
3680         when odd-levels are used.
3682 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
3684         * org.el (org-store-log-note): Fix note indentation when adding
3685         notes to end of list.
3687         * org-exp.el (org-export-as-html): Add TODO keyword as extra
3688         class, so that each keyword can get special colors through CSS.
3690         * org-clock.el (org-clock-out): Add another nil for the previous
3691         state into the call to `org-add-log-setup'.
3693         * org.el (org-log-note-previous-state): New variable.
3694         (org-log-note-headings): New %S escape for old state.
3695         (org-todo): Call the note setup with the old state as an
3696         argument.
3697         (org-add-note): Add another nil for the previous state into the
3698         call to `org-add-log-setup'.
3699         (org-add-log-setup): New argument PREV-STATE.
3700         (org-add-log-note): Handle new %S escape.
3701         (org-store-log-note): Handle new %S escape.
3703 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
3705         * org-clock.el (org-clock-find-position): Do not swallow an item
3706         less indented than the CLOCK line itself.
3707         (org-clock-in): Push markers to lin after the clock line.
3708         (org-clock-find-position): Handle values of
3709         `org-clock-into-drawer' smaller than 2.
3711         * org-exp.el (org-html-level-start): Add a CSS class to section
3712         numbers.
3713         (org-export-html-toplevel-hlevel): Better documentation of the
3714         influence of this variables on H levels and css classes in
3715         export.
3717 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
3719         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3720         timestamp and nottimestamp to the chooe menu.
3722         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
3723         (org-revert-all-org-buffers): New command.
3725 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
3727         * org.el (org-return): Implement `org-return-follows-link' in the
3728         function org-return.  This is more robust than using the mouse
3729         map, I think.
3730         (org-set-regexps-and-options): Match more general #+TODO lines.
3731         (org-make-options-regexp): New optional argument EXTRA, for an
3732         extra regexp.
3733         (org-tab-follows-link): Mark as deprecated.
3735 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
3737         * org-exp.el (org-export-preprocess-string): Remove clock lines
3738         earlier, so that they cannot cotribute to verbatim snippets.
3740 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
3742         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
3743         for finding drawers.
3744         (org-export-as-ascii, org-export-as-html): Count levels relative
3745         to the subtree header.
3746         (org-get-min-level): New optional argument OFFSET.
3747         (org-export): Make sure point is restored after popping up that
3748         window.
3750         * org.el (org-do-sort): Also take an inactive timestamp if no
3751         active one is found.
3753         * org-colview-xemacs.el (org-columns-capture-view): Copy before
3754         deleting duplicates.
3756         * org-colview.el (org-columns-capture-view): Copy before
3757         deleting duplicates.
3759         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
3760         text before first headline.
3762         * org.el (org-format-latex): Do not convert LaTeX fragments in
3763         protected examples.
3765 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
3767         * org-exp.el (org-export-html-style-default): Use color values
3768         instead of names for XHTML validation.
3770         * org.el (org-get-scheduled-time, org-get-deadline-time): New
3771         functions.
3772         (org-return-follows-link): Revert making this the default untile
3773         issues are resolved.
3775         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
3776         nottimestamp.
3778 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
3780         * org.el (org-mode): Make dependence stuff work more reliably.
3781         (org-update-parent-todo-statistics): Fix bug with updating
3782         statistics cookie.
3784         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
3785         ~ as verbatim delimiters.
3787         * org-exp.el (org-export-html-format-image): New argument
3788         PAR-OPEN.
3789         (org-export-as-html): Pass par-open to
3790         `org-export-html-format-image'.
3792 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
3794         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
3795         (org-use-fast-todo-selection, org-tags-column): New default
3796         setting for variables, based on a poll what typical uses use.
3798         * org-agenda.el (org-agenda-sorting-strategy)
3799         (org-agenda-tags-column): New default setting for variables, based
3800         on a poll what typical uses use.
3802 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
3804         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
3805         blocked entries from setting the blocked tag.
3807         * org-exp.el (org-export-html-footnotes-section): Use a more
3808         consistent id for footnotes.
3810         * org-export-latex.el (org-export-latex-classes): Remove the
3811         a4paper option from the default styles.
3813 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
3815         * org.el (org-enforce-todo-checkbox-dependencies): New option.
3816         (org-block-todo-from-checkboxes): New function.
3817         (org-todo): Make tripple prefix arg circumvent blocking.
3819         * org-timer.el (org-timer): Provide the timer feature.
3821         * org.el (org-require-autoloaded-modules): Add a few more files to
3822         the list of autoloaded modules.
3824         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
3826 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
3828         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
3829         drawers that are unprotected.
3830         (org-export-html-format-image): Make sure inlined LaTeX fragment
3831         images remain inlined.
3833         * org.el (org-toggle-ordered-property): New function.
3834         (org-mode-map): Add a key for `org-toggle-ordered-property'.
3835         (org-org-menu): Add menu entries for TODO dependencies.
3837 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
3839         * org.el (org-default-properties): Add ORDERED to the default
3840         properties, to get completion support for it.
3842         * org-list.el (org-update-checkbox-count): Update more than one cookie.
3844         * org.el (org-update-parent-todo-statistics): Update more than one
3845         cookie.
3847         * org-agenda.el (org-agenda-get-todos): Start search from correct
3848         position.
3850         * org.el (org-fast-todo-selection): Make sure TODO selection does
3851         not change buffer position.
3853         * org-list.el (org-toggle-checkbox): Implement adding or removing
3854         checkboxes from line or region when called with a prefix
3855         argument.
3857         * org-rmail.el (org-rmail-store-link): Protect the call to
3858         `rmail-narrow-to-non-pruned-header'.
3860         * org-clock.el (org-clock-special-range): Fix week display in
3861         clock tables.
3863         * org-exp.el (org-get-current-options): Fix bug when in indirect
3864         buffer.
3866 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
3868         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
3869         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
3870         (org-agenda-dim-blocked-tasks): New function.
3872         * org.el (org-enforce-todo-dependencies): New option.
3873         (org-block-todo-from-children-or-siblings): New function.
3875         * org-faces.el (org-agenda-dimmed-todo-face): New face.
3877         * org.el (org-todo): Return correct state type even if the blocker
3878         throws an error.
3879         (org-modifier-cursor-error): Renamed from
3880         `org-shiftcursor-error'.
3881         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3882         (org-shiftmetadown): Call `org-modifier-cursor-error'.
3884         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
3885         to get real errors from the blocker hook.
3887         * org.el (org-shiftselect-error, org-call-for-shift-select): New
3888         functions.
3889         (org-set-visibility-according-to-property): Turn off the setting
3890         of `org-show-entry-below', to avoid overruling a FOLDED visibility
3891         property.
3893 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
3895         * org.el (org-support-shift-select): New option.
3896         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
3897         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
3898         selection outside contexts.
3900         * org-list.el (org-at-item-bullet-p): New function.
3902         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
3903         variables.
3905         * org-footnote.el (org-footnote-normalize): Remove unnecessary
3906         variable.
3907         (org-insert-footnote-reference-near-definition): Remove
3908         unnecessary let form.
3910         * org-export-latex.el (org-export-latex-first-lines): Add
3911         OPT-PLIST parameter.
3912         (org-export-as-latex): Call `org-export-latex-first-lines' with
3913         opt-plits parameter.
3914         (org-export-latex-preprocess): Remove unnecessary variables.
3916         * org-exp.el (org-infile-export-plist)
3917         (org-export-add-options-to-plist, org-export-kill-licensed-text)
3918         (org-export-remove-headline-metadata)
3919         (org-export-get-title-from-subtree, org-get-min-level)
3920         (org-html-do-expand): Remove innecessary let form.
3922         * org-colview-xemacs.el (org-columns-display-here): Remove
3923         unnecessary variables.
3925         * org-colview.el (org-columns-display-here): Remove unnecessary
3926         variables.
3928         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
3929         variables.
3931         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
3932         unnecessary variables.
3934         * org-agenda.el (org-search-view, org-agenda-get-blocks)
3935         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
3936         variables.
3938         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
3939         (org-compact-display-after-subtree-move): Remove unnecessary
3940         variables.
3941         (org-edit-fixed-width-region): Remove unnecessary variables.
3942         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
3943         (org-olpath-completing-read): Remove unnecessary variable.
3944         (org-auto-repeat-maybe): Remove unnecessary variable.
3945         (org-map-entries): Remove unnecessary variable.
3946         (org-buffer-property-keys, org-imenu-get-tree)
3947         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
3949 -----------------------------------------------------------------
3951 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
3952         * org-exp.el (org-export-remove-timestamps): Never remove
3953         timestamps from tables.
3955         * org-export-latex.el (org-export-latex-first-lines): Add more
3956         options to the preprocessing of the text before the first
3957         headline.
3959 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3961         * org-faces.el (org-clock-overlay): Make face compatible with
3962         XEmacs.
3964         * org.el (org-yank): Add property for delete-selection mode.
3966         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
3968         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
3969         variable.
3971         * org-table.el (org-table-insert-hline): Fix typo in fuction call
3972         to `backward-char'.
3974         * org-exp.el (org-export-as-html): Remove the initial space from
3975         colon examples.
3977         * org.el (org-scan-tags): Call
3978         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3980         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
3981         customization groups.
3982         (org-agenda-tags-todo-honor-ignore-options): New option.
3983         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3984         New function.
3985         (org-agenda-get-todos): Use
3986         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3988 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
3990         * org-exp.el (org-export-format-source-code-or-example): Escape
3991         HTML characters also in examples that anre not treated with
3992         htmlize.  Also, just switch to EXAMPLE processing if we do not
3993         have a good version of htmlize.
3995         * org-rmail.el: Fix copyright notice.
3997         * org.el (org-activate-footnote-links): Improve footnote link
3998         highlighting.
4000         * org-footnote.el (org-footnote-normalize): Fix finding the end of
4001         a footnote definition at the end of the file.
4003         * org-table.el (org-table-get-specials): Add an imagined hline at
4004         the end of the table.  This can be useful for references that want
4005         to go to the end of the table.  Also fix bug when computing last
4006         row constants, in tables that do not start right at the right
4007         margin.
4008         (org-table-eval-formula): Match and replace remove references.
4009         (org-table-formula-substitute-names): Make sure that names inside
4010         a "remote" call are left alone, the will be replaced later when
4011         the remote call is handled.
4012         (org-table-convert-refs-to-rc): Do not convert things that might
4013         look like a reference, but are really part of an ID or namei n a
4014         remote reference.
4015         (org-table-get-remote-range): New function.
4017 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
4019         * org-faces.el (org-clock-overlay): Fix bug in face definition.
4021         * org-clock.el (org-clock-put-overlay): Use new face instead of
4022         `secondary-selection'.
4024         * org-faces.el (org-clock-overlay): New face.
4026 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
4028         * org-exp.el (org-get-current-options): Include the option for
4029         publishing time stamps.
4031         * org.el (org-toggle-heading): Renamed from
4032         `org-toggel-region-headings'.
4033         No longer needs a region defined, but will use it if there is one.
4034         (org-ctrl-c-star): Simplified, relying more on the internal
4035         workings of `org-toggle-heading'.
4036         (org-toggle-item): Renamed from `org-toggle-region-items'.
4037         No longer needs a region defined, but will use it if there is one.
4038         (org-ctrl-c-minus): Simplified, relying more on the inernal
4039         workings of `org-toggle-item'.
4041         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4042         environment detection.  Also, do real changes only in unprotected
4043         places.
4045 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
4047         * org-export-latex.el (org-export-latex-quotation-marks): Use
4048         `org-if-unprotected-1'.
4049         (org-export-latex-set-initial-vars): Check for class definition in
4050         property.
4052         * org-macs.el (org-if-unprotected-1): New macro.
4054 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
4056         * org-compat.el (org-count-lines): New function.
4058         * org-exp.el (org-export-format-source-code-or-example): Handle
4059         switches related to text areas.
4061         * org.el (org-activate-footnote-links): Don't allow match inside a
4062         link.
4064         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4066         * org-export-latex.el (org-export-latex-links): Keep a relative
4067         path relative also after export.
4069         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4071         * org.el (org-make-tags-matcher): Never use IDO for completing the
4072         tags matcher match string.
4073         (org-completing-read): Also remove the special biding for "?".
4075         * org-attach.el (org-attach-allow-inheritance): New option.
4076         (org-attach-inherited): New variable.
4077         (org-attach-dir): Handle properties related to the attachment
4078         directory.
4079         (org-attach-check-absolute-path): New function.
4080         (org-attach-set-directory, org-attach-set-inherit): New commands.
4081         (org-attach): Accommodate the new commands in the dispatcher.
4083 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
4085         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4086         `window-full-width-p'.
4088         * org-exp.el (org-export-as-html): Only check for images files
4089         that really can be inlined
4091         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4092         list of extensions to be a parameter.
4094         * org-exp.el (org-export-html-inline-image-extensions): New
4095         variable.
4097         * org-agenda.el (org-prepare-agenda): Use
4098         `org-agenda-block-separator'.
4099         (org-agenda-block-separator): New option.
4101 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
4103         * org-export-latex.el (org-export-latex-tables): Call
4104         `org-table-clean-before-export' with the new optional argument.
4106         * org-exp.el (org-table-clean-before-export): New optional
4107         parameter MAYBE-QUOTED, allows for quoted characters like \# in
4108         first column.
4110 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
4112         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4113         histograms.
4115         * org-colview.el (org-colview-construct-allowed-dates): Better
4116         error catching when a date/time property does not have allowed
4117         values defined.
4119         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4120         Better error catching when a date/time property does not have
4121         allowed values defined.
4123 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
4125         * org.el (org-map-entries): Restore point and restriction after
4126         `org-map-entries'.
4128 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
4130         * org.el (org-time=, org-time<, org-time<=, org-time>)
4131         (org-time>=, org-time<>): Make sure both values are dates.
4133 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
4135         * org-archive.el (org-extract-archive-heading): Allow %s for file
4136         name also in achive location heading.
4138 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
4140         * org-archive.el (org-add-archive-files): Uniquify the list before
4141         returning it.
4143 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
4145         * org-compat.el (org-fit-window-to-buffer): Use
4146         `window-full-width-p'.
4148         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4149         space after the colon in short examples.
4151         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4152         enforce a space after the colon.  However, we also allow lines
4153         that are *only* a colon.
4154         (org-export-as-html): Enforce the space after the colon in short
4155         examples.
4156         (org-export-preprocess-string): Do the colon example protection
4157         earlier.
4158         (org-export-remove-timestamps): Do not check for protection at the
4159         end of the line.
4161 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
4163         * org.el (org-format-latex-options): Add new matcher for single
4164         letters between dollars.
4165         (org-get-header): Function removed.
4166         (org-heading-components): New function.
4168         * org-exp.el (org-export-define-heading-targets): Record ID's also
4169         as alternative targets.
4170         (org-export-as-html): Interpret "id:" links to other files by
4171         preserving the relative path.
4173         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4174         is nil.
4176         * org-exp.el (org-export-normalize-links): Protect the main link,
4177         to avoid special character processing.
4179         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4180         New variable.
4181         (org-export-latex-special-string-regexps): Variable removed.
4182         (org-export-latex-keywords): Use the new regexp.
4184         * org-exp.el (org-export-handle-include-files): Fetch switches and
4185         put them into the BEGIN statement.
4187         * org-timer.el (org-timer-mode-line-string): New variable.
4189         * org-clock.el (org-clock-mode-line-map): Renamed from
4190         `org-clock-mode-map'.
4191         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4192         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4193         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4194         (org-clock-remove-overlays): Renamed from
4195         `org-remove-clock-overlays'.
4197         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4198         and mode line display.
4199         (org-timer-stop): New command.
4200         (org-timer-seconds): Return correct time when timer is paused.
4201         (org-timer-mode-line-timer): New variable.
4202         (org-timer-set-mode-line, org-timer-update-mode-line): New
4203         functions.
4205         * org.el (org-insert-heading):  Handle new value `auto' for
4206         `org-blank-before-new-entry'.
4207         (org-org-menu): Add new items for timer functions.
4209         * org-list.el (org-insert-item): Handle new value `auto' for
4210         `org-blank-before-new-entry'.
4212         * org.el (org-blank-before-new-entry): New value `auto', made
4213         default.
4215 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
4217         * org-exp.el (org-export-normalize-links): If the link is also
4218         used as the description, protect the description.
4220 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
4222         * org.el (org-closest-date): Fix bug with yearly repeats, in
4223         combination with preference of the past as it is used for deadline
4224         and scheduling search.
4226         * org-exp.el (org-html-handle-time-stamps): No longer check for
4227         the `org-export-with-timestamps' option, because the preprocesser
4228         has taken care of this already.
4230         * org.el (org-entry-properties): Catch the case when this is
4231         called in a non-org-mode file.
4233         * org-export-latex.el (org-export-latex-remove-from-headlines):
4234         Variable made obsolete, also LaTeX export now uses the standard
4235         variables.
4236         (org-export-as-latex): Add the timestamps parameter to the
4237         preprocessor parameter list.
4238         (org-export-latex-content): Export the remaining keywords without
4239         considering to remove them.
4240         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4241         Use bold font instead of tt font for the keywords.
4242         (org-export-latex-fontify-headline): Format headlines, assuming
4243         that all keywords still present should be published.
4244         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4245         publish what ever remains of the time stamps.
4246         (org-export-latex-list-parameters): New option.
4247         (org-export-latex-lists): Pass additional parameters to the list
4248         converter.
4250         * org-exp.el (org-export-preprocess-string): Remove clock lines
4251         and timestamps already in the preprocesor.
4252         (org-export-remove-timestamps, org-export-remove-clock-lines): New
4253         functions.
4254         (org-export-as-ascii, org-export-as-html): Add the timestamps
4255         parameter to the preprocessor parameter list.
4257         * org-list.el (org-list-parse-list): Parse for checkboxes.
4258         (org-list-to-generic): Introduce and handle new parameters :cbon
4259         and :cboff.
4260         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4261         optional parameter PARAMS.
4263         * org-export-latex.el (org-export-latex-special-chars): Fix
4264         problems with interpreting dollar signs.
4265         (org-inside-latex-math-p): New function.
4266         (org-export-latex-preprocess): Protect all the math fragments.
4268         * org.el (org-latex-regexps): Allow a dash after a dollar.
4270         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4271         mark after copying.
4273         * org-agenda.el (org-run-agenda-series): Have series options set
4274         when finalizing the agenda.
4276         * org-exp.el (org-export-format-source-code-or-example): Protect
4277         the converted examples.
4279         * org.el (org-set-regexps-and-options): Fix the regexp
4280         `org-complex-heading-regexp'.
4282 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
4284         * org.el (org-edit-src-get-label-format): New function.
4285         (org-coderef-label-format): New option.
4286         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4287         a label format specification and make sure it is used in the edit
4288         buffer.
4289         (org-edit-src-get-label-format): New function.
4290         (org-store-link): Handle new coderef formats.
4291         (org-link-search): Handle new coderef formats.
4293         * org-footnote.el (org-footnote-create-definition)
4294         (org-footnote-goto-local-insertion-point): Make footnote insertion
4295         work correctly when the "Footnotes" headline is the last line in
4296         the buffer.
4298         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4299         the location.
4301 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
4303         * org-w3m.el (org-w3m): New customization group.
4304         (org-w3m-deactivate-mark): New option.
4305         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4306         option say not to.
4308 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
4310         * org.el (org-set-font-lock-defaults): Trigger footnote
4311         fontification.
4312         (org-activate-footnote-links): New function.
4313         (org-activate-links): New entry `footnote'.
4315         * org-faces.el (org-footnote): New face.
4317 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
4319         * org-macs.el (org-re): Handle the [:word:] class.
4321         * org-exp.el (org-export-preprocess-string): Call
4322         `org-export-protect-colon-examples'.
4323         (org-export-protect-colon-examples): Renamed from
4324         `org-export-protect-examples', and scope limited to lines starting
4325         with a colon.
4327 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
4329         * org-exp.el (org-export-preprocess-string): Move the preprocess
4330         hook to after turning on Org-mode.
4331         (org-export-preprocess-after-include-files-hook)
4332         (org-export-preprocess-after-tree-selection-hook)
4333         (org-export-preprocess-before-backend-specifics-hook)
4334         (org-export-preprocess-final-hook): New hooks.
4335         (org-export-preprocess-string): Run the new hooks.
4337         * org.el (org-ctrl-c-minus): Fix indentation for new items.
4339         * org-footnote.el: New file.
4341         * org.el (org-footnote): Require footnote code.
4342         (org-startup-options): Add new footnote options.
4343         (org-mode-map): New keybindig for footnotes.
4344         (org-ctrl-c-ctrl-c): Add function at footnotes.
4345         (org-org-menu): New menu entries for footnotes.
4347         * org-export-latex.el (org-export-as-latex): Pass footnote
4348         variable to preprocessor.
4349         (org-export-latex-preprocess): Treat multiple references to a
4350         footnote.
4352         * org-exp.el (org-export-preprocess-string): Call
4353         `org-footnote-normalize'.
4354         (org-export-as-ascii, org-export-as-html): Pass footnote variable
4355         to preprocessor.
4356         (org-export-as-html): Treat multiple references to a footnote.
4358 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
4360         * org-export-latex.el (org-export-latex-links): Handle coderef
4361         links.
4363         * org.el (org-bracket-link-analytic-regexp++): New variable.
4364         (org-make-link-regexps): Initialize
4365         `org-bracket-link-analytic-regexp++'.
4366         (org-store-link): Implement special case in edit-src buffer.
4367         (org-insert-link): No use of ide to insert stored links.
4368         (org-link-search): Implement special case for coderefs.
4370         * org-exp.el (org-export-html-scripts): New constant.
4371         (org-export-html-style-default): Add a new style for highlighted
4372         code.
4373         (org-export-code-refs): New variable.
4374         (org-export-preprocess-string): Initialize `org-export-code-refs'.
4375         Call `org-export-replace-src-segments-and-examples'
4376         No longer call `org-export-protect-examples'.
4377         (org-export-target-internal-links): Take care of coderef targets.
4378         (org-export-last-code-line-counter-value): New variable.
4379         (org-export-replace-src-segments-and-examples): Renamed from
4380         `org-export-replace-src-segments', and modified.
4381         (org-export-format-source-code-or-example): Renamed from
4382         `org-export-format-source-code'.
4383         (org-export-number-lines): New function.
4384         (org-export-as-ascii, org-export-as-html): Handle coderef links.
4386 --------------------------------------------------------------------------
4388 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
4390         * org-remember.el (org-remember-handler): Safer way to get a new
4391         buffer accessing the target file.
4393         * org.el (org-refile-get-location): Handle case of current buffer
4394         not having a file associated with it.
4396 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
4398         * org-table.el (org-table-get-formula): Only ask to overwrite
4399         field formula if there really is one.
4401         * org-id.el (org-id-find): Allow the ID to be a symbol or a
4402         number, by converting these to a string.
4404         * org-colview.el (org-dblock-write:columnview): Allow ID to be
4405         located in a different file.
4407         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
4408         org-colview.el.
4410 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
4412         * org.el (org-completion-use-ido): Enhance docstring of
4413         `org-completion-use-ido'.
4415         * org-export-latex.el (org-export-latex-make-header): Double the %
4416         in the time stamp format.
4417         (org-export-latex-special-chars): Handle case where there is no
4418         match group 3.
4420 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
4422         * org.el (org-get-refile-targets, org-refile-get-location): Use
4423         expanded file name to improve comparison.
4425 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
4427         * org.el (org-scan-tags): Rescan for tags, to get the correct
4428         upcase/downcase stuff.  This slows things down for now, but it
4429         works.
4430         (org-mode): Make sure the tag-faces regexp is initialized.
4432         * org-export-latex.el (org-export-latex-links): Fix bug with
4433         undefined label.
4435         * org-table.el (org-table-get-specials): Set
4436         `org-table-current-last-data-line'.
4437         (org-table-current-last-data-line): New variable.
4438         (org-table-insert-column, org-table-delete-column)
4439         (org-table-move-column, org-table-fix-formulas): Call
4440         `org-table-fix-formulas' a second time to fix the $LR references.
4441         (org-table-get-specials): Add the $LR references to the tables.
4442         (org-table-get-formula): Do not offer last-row names as LHS of
4443         formulas.
4445         * org.el (org-store-link): Capture link description from
4446         `org-id-store-link'.
4448         * org-exp.el (org-export-html-format-image): Add the / to the end
4449         of the <img> tag.
4450         (org-export-format-source-code): Surround example by empty lines,
4451         to make sure it will not be inside a paragraph.
4453         * org.el (org-ido-switchb): New function.
4455 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
4457         * org-agenda.el (org-agenda-show): New prefix argument
4458         FULL-ENTRY.
4460         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4461         argument.
4463         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
4464         `org-agenda-change-all-lines'.
4465         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
4466         tags are now retrieved locally.
4468 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
4470         * org.el (org-get-outline-path): Fix bug if level is not given.
4471         (org-org-menu): Do not quote function in menu vector.
4473         * org-agenda.el (org-finalize-agenda): Fix typo with variable
4474         name.
4476 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4478         * org.el (org-refile): Avoid refiling to within the region to be
4479         refiled.
4481         * org-export-latex.el (org-export-latex-special-chars): Replace
4482         special characters also in tables.
4484         * org-agenda.el (org-agenda-change-all-lines): New argument
4485         FORCE-TAGS.
4486         (org-agenda-set-tags): Cet the new tags and pass them to
4487         `org-format-agenda-item'.
4489 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
4491         * org-export-latex.el (org-export-latex-classes): Add longable as
4492         a default package to all classes.
4493         (org-export-latex-tables): Handle the longtable attribute and the
4494         align attribute.
4496         * org-table.el (orgtbl-to-generic): Handle tables that start with
4497         a hline.
4499         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4500         \verb for colde-like snippets.
4501         (org-export-as-latex): Fix issues with region export.
4503         * org.el (org-up-heading-safe): Speed up function by using a
4504         direct regexp search.
4505         (org-olpa): New variable.
4506         (org-get-outline-path): Speed-up path constructions in cases where
4507         this is possible because the entire hierarchy is scanned anyway.
4508         (org-refile-get-location): Don't compare the truenames of files,
4509         this is too slow.
4510         (org-goto-max-level): New option.
4511         (org-goto): Use `org-goto-max-level'.
4513 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
4515         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4516         Strip angle brackets from message-ids in the former and don't do
4517         it in the latter.
4518         (org-gnus-follow-link): Open summary reliable, even if the last
4519         messages were deleted, and handle empty groups, too.
4521 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
4523         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4524         instead of \texttt for the =...= and ~===~ emphasis environments.
4525         (org-export-as-latex): Remove any old :org-license-to-kill text
4526         properties.
4527         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4528         (org-export-latex-make-header): Add some hard space after the
4529         table of contents.
4530         (org-export-latex-first-lines): Accept RBEG argument.  Mark
4531         exported text so that it will be excuded in further steps.
4533         * org-table.el (org-table-get-specials): Make @0 reference the
4534         last line in a table.
4535         (org-table-recalculate): Improve docstring.
4537 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
4539         * org.el (org-log-done): Fix docstring.
4541 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
4543         * org-exp.el (org-export-html-format-image): Fix bugs.
4545         * org-export-latex.el (org-export-latex-tables)
4546         (org-export-latex-links): Implement attribute, label, and caption
4547         handling.
4549         * org-exp.el (org-export-html-style-default): Add style
4550         definitions for the figure div.
4551         (org-export-preprocess-string, org-export-as-html): Implement
4552         attribute, label, and caption handling.
4553         (org-export-attach-captions-and-attributes): New function.
4554         (org-export-html-format-image): New function.
4555         (org-format-org-table-html): Implement attribute, label, and
4556         caption handling.
4558         * org.el (org-find-text-property-in-string): New function.
4559         (org-extract-attributes): Use the property org-attr instead of
4560         org-attrobutes, because this property is now set with the #+ATTR
4561         lines.
4563 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
4565         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
4566         the case that FROM is nil.
4568         * org.el (org-before-first-heading-p): New function.
4570 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4572         * org-exp.el (org-export-as-html): Do not add a space before
4573         enforces line breaks.
4574         (org-export-as-html): Close paragraph before blockquote and verse
4575         tags.
4577 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
4579         * org-id.el (org-id-locations-file): Wrap file name with
4580         `convert-standard-filename'.
4581         (org-id-files): New variable.
4582         (org-id-use-hash): New option.
4583         (org-id-update-id-locations): Also search in all files current
4584         listed in `org-id-files'.  Convert the resulting alist to a hash
4585         if the user customation says so.
4586         (org-id-locations-save): Handle he case if `org-id-locations' is a
4587         hash.
4588         (org-id-locations-load): Convert the alist to a hash.
4589         (org-id-add-location): Handle the hast case.
4590         (kill-emacs-hook): Make sure id locations are saved when Emacs is
4591         exited.
4592         (org-id-hash-to-alist, org-id-alist-to-hash)
4593         (org-id-paste-tracker): New functions.
4595 -------------------------------------------------------------------------
4597 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
4599         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
4600         bindings of calendar variables.
4602         * org-table.el (org-table-find-row-type): Renamed from
4603         `org-find-row-type'.
4604         (org-table-rewrite-old-row-references): Renamed from
4605         `org-rewrite-old-row-references'.
4606         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
4607         (org-table-cleanup-narrow-column-properties): Renamed from
4608         `org-cleanup-narrow-column-properties'.
4610 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
4612         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
4613         for better error messages.
4614         (org-table-get-descriptor-line): Supply the new arguments to
4615         `org-find-row-type'.
4616         (org-table-error-on-row-ref-crossing-hline): New option.
4618         * org.el (org-target-link-regexp): Make buffer-local.
4619         (org-move-subtree-down): Fix bug with trees at beginning of
4620         buffer.
4622 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
4624         * org-faces.el (org-set-tag-faces): New function.
4625         (org-tags-special-faces-re): New variable.
4627         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
4629         * org-faces.el (org-tag-faces): New option.
4630         (org-tag): Mention `org-tag-faces' in the docstring.
4632 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
4634         * org-exp.el (org-export-html-style-default): Implement new
4635         quoting.
4637         * org-jsinfo.el (org-infojs-template): Implement new quoting.
4639         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
4640         command to the `w3m-minor-mode-map'.
4642         * org-archive.el (org-archive-to-archive-sibling): Protect
4643         `this-command' to avoid appending kills during archiving.
4645         * org-exp.el (org-export-with-priority): New variable.
4646         (org-export-add-options-to-plist): Use `org-export-plist-vars'
4647         instead of internal list of strings and properties.
4648         (org-print-icalendar-entries): Retrieve the location property with
4649         inheritance.
4651 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
4653         * org-exp.el (org-export-with-todo-keywords): New option.
4654         (org-export-plist-vars): Include also the keys for the #+OPTIONS
4655         line.
4656         (org-default-export-plist, org-export-add-options-to-plist)
4657         (org-export-as-ascii, org-export-as-html): Use the new structure
4658         of `org-export-plist-vars'.
4660         * org.el (org-map-entries): Return all values.
4662 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
4664         * org.el (org-matcher-time): Recognize more special values.
4666         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
4668 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
4670         * org.el (org-tags-exclude-from-inheritance): New option.
4671         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
4672         `org-tags-exclude-from-inheritance'.
4674         * org-agenda.el (org-agenda-show-inherited-tags): New option.
4675         (org-format-agenda-item): Add inherited tags to the agenda line
4676         string, and make sure that properties are kept when downcasing the
4677         tags list.
4678         (org-agenda-add-inherited-tags): New function.
4679         (org-downcase-keep-props): New function.
4681         * org.el (org-scan-tags): Mark inherited tags with a text
4682         property.
4683         (org-get-tags-at): Mark inherited tags with a text property.
4684         (org-add-prop-inherited): New function.
4686         * org-agenda.el (org-agenda-add-inherited-tags): New function.
4687         (org-agenda-show-inherited-tags): New option.
4689 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
4691         * org.el (org-modules): Add org-w3m to the default modules.
4693         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
4694         orgtbl-mode.
4695         (orgtabl-create-or-convert-from-region): New command.
4697         * org-exp.el (org-export-as-ascii): Remove the handling of
4698         targets.
4699         (org-export-ascii-preprocess): Handle targets already in this
4700         function.
4702 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
4704         * org-timer.el (org-timer-start-time): Define this variable.
4705         (org-timer-item): Make argument optional.
4707         * org-list.el (org-insert-item): Automatically insert a timer item
4708         if the current list is a timer list.
4710         * org-timer.el: New file.
4712         * org-publish.el (org-publish-org-index): Only exclude the index
4713         file in the main directory from being added to the site-map.
4714         (org-publish-get-project-from-filename): If the current project is
4715         a component, start publishing from the parent project.
4717 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
4719         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
4721         * org-publish.el (org-publish-org-index): Improve removal of
4722         temporary buffers.
4724         * org-agenda.el (org-get-closed): Re-apply changes
4725         accidentially overwritten by last commit to Emacs.
4727         * org.el (org-outline-path-complete-in-steps): New option.
4728         (org-refile-get-location): Honor
4729         `org-outline-path-complete-in-steps'.
4730         (org-agenda-change-all-lines, org-tags-sparse-tree)
4731         (org-time-string-to-absolute, org-small-year-to-year)
4732         (org-link-escape): Re-apply changes accidentially overwritten
4733         by last commit to Emacs
4735 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4737         * org-clock.el (org-dblock-write:clocktable): Make sure the
4738         clocktable sees the first line.
4739         (org-clock-in): Warn if the clock cannot be resumed.
4741 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
4743         * org.el (org-open-at-point): Fix mixup about interactive and
4744         non-interactive elisp links.
4746 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4748         * org-exp.el (org-export-preprocess-string): Allow one comment
4749         line before the first headline to always be included.  This is
4750         to not miss a commented target.
4752         * org-mouse.el (org-mouse-insert-item): Call
4753         `org-indent-to-column' instead of `indent-to', for XEmacs
4754         compatibility.
4756         * org.el (org-refile-targets): Fix customize definition so
4757         that it works also in XEmacs.
4758         (org-fixup-indentation): Call `org-indent-to-column' instead
4759         of `indent-to', for XEmacs compatibility.
4761 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
4763         * org-mew.el (org-mew-store-link): Get the correct case folder
4764         for refiled messages.
4766 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4768         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
4769         line break indicators.
4771         * org.el (org-ido-completing-read): Remove the "i:" prefix for
4772         ido-completion propts.
4774 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4776         * org-remember.el (org-remember-apply-template): Use
4777         `org-substring-no-properties'.
4779         * org-compat.el (org-substring-no-properties): New function.
4781         * org-remember.el (org-remember-apply-template): Use
4782         `org-substring-no-properties' for compatibility.
4784         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
4785         option.
4786         (org-fix-bullet-type): respect
4787         `org-list-two-spaces-after-bullet-regexp'.
4789         * org-clock.el (org-clock-load): Clean up the code.
4791         * org.el (org-adaptive-fill-function): Allow two spaces after
4792         "1." as a list bullet.
4794 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
4796         * org-clock.el (org-clock-save, org-clock-load): Check for
4797         live buffers, existing files, and buffer file names to ensure
4798         consistent information.
4799         (org-clock-persist): Make `clock' a special value of this
4800         variable, and improve docstring.
4802         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
4803         (org-get-string-indentation): Adapt indentation when the bullet
4804         width changes.
4806 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
4808         * org-remember.el (org-remember-finalize): Make interactive.
4809         (org-remember-kill): New command.
4810         (org-remember-finish-immediately): Call `org-remember-finalize'
4811         directly.
4812         (org-remember-finalize): Make `org-remember-finalize' an interactive
4813         function.
4815 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
4817         * org-remember.el (org-remember-apply-template): No ido completion
4818         for free prompts in remember templates.
4819         (org-remember-before-finalize-hook): New hook.
4820         (org-remember-mode): New minor mode.
4821         (org-remember-apply-template): Turn on `org-remember-mode'.
4823         * org-id.el (org-id-add-location): Avoid error when no file is
4824         given.
4826         * org-remember.el (org-remember-apply-template): Fix the way how
4827         the list of allowed properties is retrieved from the target file.
4829         * org.el (org-insert-link): Improve file link matching.
4831 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
4833         * org-colview.el (org-columns-display-here): New argument
4834         DATELINE, to trigger using the new face.
4835         (org-agenda-colview-summarize): Call `org-columns-display-here'
4836         with the new argument.
4838         * org-faces.el (org-agenda-column-dateline): New face.
4840         * org-publish.el (org-publish-org-index): Use index-title at page
4841         title, not as section.
4843         * org-exp.el (org-export-html-format-desc): Respect the
4844         org-protect property.
4845         (org-export-as-html): Protect image specifiers that are in the
4846         description part of a link.
4848         * org.el (org-sort-entries-or-items, org-completing-read)
4849         (org-refile-get-location, org-olpath-completing-read, org-todo)
4850         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
4851         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
4852         (org-set-property, org-delete-property)
4853         (org-delete-property-globally): Use `org-ido-completing-read'.
4855         * org-remember.el (org-remember-apply-template): Use
4856         `org-ido-completing-read'.
4858         * org-publish.el (org-publish): Use `org-ido-completing-read'.
4860         * org-colview.el (org-columns-edit-value, org-columns-new)
4861         (org-insert-columns-dblock): Use `org-ido-completing-read'.
4863         * org-colview-xemacs.el (org-columns-edit-value)
4864         (org-columns-new, org-insert-columns-dblock): Use
4865         `org-ido-completing-read'.
4867         * org-attach.el (org-attach-delete-one, org-attach-open): Use
4868         `org-ido-completing-read'.
4870         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
4871         `org-ido-completing-read'.
4873         * org.el (org-time-today): New function.
4874         (org-matcher-time): Use `org-time-today'.  Add special treatment
4875         for "<tomorrow>" and "<yesterday>".
4876         (org-ido-completing-read): New function.
4877         (org-completion-use-ido): New option.
4879         * org-exp.el (org-export-format-source-code): Fix bug in require
4880         htmlize code.
4881         (org-export-target-internal-links): Fix bug in search for text
4882         property.
4884 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
4886         * org-export-latex.el (org-export-latex-subcontent): Interprete
4887         target aliases as additonal labels.
4889         * org-exp.el (org-export-target-aliases): New variable.
4890         (org-export-preprocess-string)
4891         (org-export-handle-invisible-targets): Fill the alias alist.
4892         (org-export-as-html): Remove the &nbsp; from the anchor, and also
4893         assign an id.
4894         (org-html-level-start): Insert the target aliases as additonal
4895         anchors.
4897         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
4898         picture area.
4900 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
4902         * org.el (org-open-at-mouse): Ensure correct link abbreviations
4903         when following a link with the mouse from the agenda.
4905         * org-exp.el (org-export-as-html): Avoid lone </div> when no
4906         headlines are created.
4908 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
4910         * org-exp.el (org-export-preprocess-string): Reorder so that we
4911         can still see ID properties when we collect targets.
4912         (org-export-target-internal-links): Also store targets for ID's.
4914         * org.el (org-link-translation-function): New option.
4915         (org-open-at-point): Call `org-link-translation-function' if
4916         non-nil.
4917         (org-translate-link): New function.
4918         (org-translate-link-from-planner): New function.
4919         (org-open-at-point): Allow interactive commands in elisp links.
4921         * org-exp.el (org-icalendar-cleanup-string): Restore the old
4922         iCalendar quoting.  The new one seems to caus problems with
4923         applications.
4925         * org.el (org-yank): Set `this-command' to `yank', so that
4926         `yank-pop' will work.
4928 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
4930         * org-id.el (org-id-search-archives): New option.
4932         * org.el (org-link-to-org-use-id): New option.
4933         (org-store-link): Use `org-link-to-org-use-id'.
4934         (org-id): Make org-id.el a standard component.
4936 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
4938         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
4939         hexified version of the tag.
4941         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
4942         compliance as far as quoting is concerned.
4944         * org-vm.el (org-vm-follow-link): Require `vm-search'.
4946         * org.el (org-up-heading-safe, org-forward-same-level): Always
4947         call `org-back-to-heading' instead of `outline-back-to-heading'.
4948         (org-back-to-heading): New wrapper around outline-back-to-heading,
4949         with a useful error message telling where the error happened.
4951         * org-list.el (org-update-checkbox-count): Always call
4952         `org-back-to-heading' instead of `outline-back-to-heading'.
4954         * org-exp.el (org-export-as-html): Make sure that each <img> tag
4955         has an `alt' attribute, to ensure XHTML validation.
4957 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4959         * org-publish.el (org-publish-attachment): Allow publishing to
4960         overwrite attachment files.
4962         * org-agenda.el (org-agenda-timerange-leaders): New option.
4963         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
4965         * org.el (org-edit-src-exit): Untabify ASCII image before
4966         returning.
4979 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
4981         * org.el (org-yank): Make any prefix force normal yanking.
4982         Suppress folding if text would be swallowed into a folded
4983         subtree.
4984         (org-yank-folded-subtrees, org-yank): Docstring updates.
4986         * org-agenda.el (org-agenda-compare-effort): Treat no effort
4987         defined as 0.
4989         * org-exp.el (org-export-language-setup): Add Catalan and
4990         Esperanto language entries.
4992 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
4994         * org.el (org-refile): Allow refiling of entire regions.
4996         * org-clock.el (org-clock-time%): New function.
4998         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
4999         retrieve property values.
5001 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
5003         * org-agenda.el (org-agenda-list): Handle the value `only' of
5004         org-agenda-show-log'.
5005         (org-agenda-log-mode): Interpret a double prefix arg.
5007 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
5009         * org-exp.el (org-export-html-footnotes-section): New variable.
5010         (org-export-as-html): Use `org-export-html-footnotes-section' to
5011         insert the footnotes.
5012         (org-export-language-setup): Add "Footnotes" to language words.
5014 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
5016         * org.el (org-yank): Fix bug when not inserting a subtree.
5018 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
5020         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5021         instead of `vm-beginning-of-message'.
5023         * org.el (org-make-link-regexps): Make sure that links to gnus can
5024         contain brackets.
5026 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
5028         * org-attach.el (org-attach-dir): Remove duplicate ID creation
5029         code.
5031         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5032         shell output.
5034         * org.el (org-link-abbrev-alist): Improve customization type.
5036         * org-attach.el (org-attach-expand-link, org-attach-expand): New
5037         functions.
5039         * org-agenda.el (org-agenda-get-progress): Renamed from
5040         `org-get-closed'.  Implement searching for state changes as well.
5041         (org-agenda-log-mode-items): New option.
5042         (org-agenda-log-mode): New option prefix argument, interpreted as
5043         request to show all possible progress info.
5044         (org-agenda-get-day-entries): Call `org-get-progress' instead of
5045         `org-get-closed'.
5046         (org-agenda-set-mode-name): Handle the more complex log mode
5047         settings.
5048         (org-get-closed): New alias, pointing to `org-get-progress'.
5050 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
5052         * org.el (org-file-apps-defaults-gnu)
5053         (org-file-apps-defaults-macosx)
5054         (org-file-apps-defaults-windowsnt): Add an entry defining the
5055         system command.
5056         (org-file-apps): Allow `system' as key and value.
5057         (org-open-at-point): Explain the effect of a double prefix arg.
5058         (org-open-file): If the argument `in-emacs' is (16),
5059         i.e. corresponding to a double prefix argument, try to open the
5060         file externally.
5062 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
5064         * org.el (org-insert-link): Abbreviate absolute files names in
5065         links.  Also, fix a bug in which the double C-u prefix would not
5066         be honored.
5068 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
5070         * org.el (org-insert-heading): If buffer does not end with a
5071         newline, add one if necessary to insert headline correctly.
5073         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5074         paragraphs, not inside.
5076         * org.el (org-todo): Quote
5077         `org-agenda-headline-snapshot-before-repeat'.
5079         * org-exp.el (org-export-as-html): Fully process link descriptions.
5080         (org-export-html-format-desc): New function.
5081         (org-export-as-html): Collect footnotes into the correct basket.
5082         (org-html-protect): No longer protect quotations marks here, this
5083         goes wrong.
5085         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5086         BEG.
5088         * org-compat.el (org-fit-window-to-buffer): New function (not
5089         really, a preliminary and incomplete version was present earlier,
5090         but not used).
5092         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5093         `org-fit-window-to-buffer'.
5095         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5097         * org-agenda.el (org-agenda-get-restriction-and-command)
5098         (org-fit-agenda-window, org-agenda-convert-date): Use
5099         `org-fit-window-to-buffer'.
5101         * org-exp.el (org-export-as-html): Process href links through
5102         `org-export-html-format-href'.
5103         (org-export-html-format-href): New function.
5105         * org-agenda.el (org-agenda-todo): Update only the current
5106         headline if this is a repeated TODO, marked done for today.
5107         (org-agenda-change-all-lines): New argument JUST-THIS, to change
5108         only the current line.
5110         * org.el (org-todo): Take a snapshot of the headline if the
5111         repeater might change it.
5113 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5115         * org-publish.el (org-publish-find-title): Remove buffers visited
5116         only for extracting the title.
5118         * org-exp.el (org-export-html-style)
5119         (org-export-html-style-default): Mark style definitions as
5120         unparsed CDATA.
5122         * org-publish.el (org-publish-validate-link): Function
5123         re-introduced.
5125 2008-11-02  Charles Sebold  <csebold@gmail.com>
5127         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5128         property.
5129         (org-plot-quote-timestamp-field): New function.
5130         (org-plot-quote-tsv-field): Call timestamp field function when
5131         necessary rather than just quoting as a string.
5132         (org-plot/gnuplot-to-data): Pass in timefmt property.
5133         (org-plot/gnuplot-script): Supports timefmt property.
5134         (org-plot/gnuplot): Checks for timestamp column before checking
5135         for text index column.
5137 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
5139         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5141         * org-publish.el (org-publish-org-index): Create a section in the
5142         index file.
5143         (org-publish-org-index): Stop linking to directories.
5145         * org.el (org-emphasis-alist): Use span instead of <u> to
5146         underline text.
5148         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5149         <pre> sections.
5151 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
5153         * org-jsinfo.el (org-infojs-template): Remove language attribute
5154         from script tag.
5156 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
5158         * org-agenda.el (org-agenda-remove-marked-text): New function.
5159         (org-agenda-mark-filtered-text)
5160         (org-agenda-unmark-filtered-text): New functions.
5161         (org-write-agenda): Remove fltered text.
5163         * org.el (org-make-tags-matcher): Give access to TODO "property"
5164         without speed penalty.
5166 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
5168         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5169         option.
5170         (org-store-link-props): Make sure adding to the plist works
5171         correctly.
5173         * org-gnus.el (org-gnus-no-new-news): New function.
5174         (org-gnus-follow-link): Allow the article ID to be a message-id,
5175         in addition to allowing article numbers.  Message IDs make much
5176         more roubust links.
5177         (org-gnus-store-link): Use message-id to create link.
5179 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
5181         * org.el (org-emphasize): Reverse the selection array.
5182         (org-emphasis-alist): Set <code> tags for the verbatim
5183         environment.
5185         * org-remember.el (org-remember-handler): Fix bug with
5186         prefix-related changing of the note storage target.
5188         * org-exp.el (org-print-icalendar-entries): Make the exported
5189         priorities compatible with RFC 2445.
5191         * org-clock.el (org-clock-save): Insert time stamp without
5192         dependence on time-stamp.el.
5194 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
5196         * org.el ("saveplace"): If saveplace puts point into an invisible
5197         location, make it visible.
5198         (org-make-tags-matcher): Allow inactive time stamps in time
5199         comparisons.
5200         (org-yank-adjusted-subtrees): New option.
5201         (org-yank): Incorporate adjusting trees.
5202         (org-paste-subtree): New argument FOR-YANK which will cause
5203         insertion at point without backing up over white lines, and leave
5204         point at the end of the inserted text.  Also if the cursor is
5205         at the beginning of a headline, use the same level or the inserted
5206         tree.
5208         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5209         with broken symlinks
5211 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5213         * org-exp.el (org-export-select-tags, org-get-current-options):
5214         Fix typo.
5216 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
5218         * org-agenda.el (org-format-agenda-item)
5219         (org-agenda-filter-make-matcher): Make sure tags are stored and
5220         compared donwcased.
5222 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
5224         * org.el (org-insert-todo-heading): Fix bug with force-heading
5225         argument.
5227 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
5229         * org-clock.el (org-clock-in-resume): Add a custom option to
5230         toggle starting the clock from an open clock line.
5231         (org-clock-in): When clocking in to an entry, if
5232         `org-clock-in-resume' is set, check if the first clock line is
5233         open and if so, start the clock from the time in the clock line.
5234         (org-clock-persist): Add a custom option to toggle clock
5235         persistence.
5236         (org-clock-persist-query-save): Add a custom option to toggle
5237         asking the user if they want to save the running clock when
5238         exiting.
5239         (org-clock-persist-query-resume): Add a custom option to toggle
5240         asking the user if they want to resume the saved clock when Emacs
5241         is restarted.
5242         (org-clock-save): Add a function to save clock data.
5243         This includes the contents of `org-clock-history' and the buffer
5244         and position of the currently clocked task, if any.
5245         (org-clock-load): Add a function to load clock data.
5246         This populates `org-clock-history', and resumes the saved clocked
5247         task if there is one.
5248         (org-clock-persistence-insinuate): Add a method to set up the
5249         hooks for clock persistence.
5251 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
5253         * org-exp.el (org-export-as-ascii): Handle the case that we are
5254         publishing from an indirect buffer.
5256         * org-table.el (org-table-copy-down): Fix bug with time stamp
5257         increment.
5259         * org-mouse.el (org-mouse-features): New option.
5260         (org-mode-hook): Turn on features depending on
5261         `org-mouse-features'.
5263         * org.el (org-insert-heading-respect-content): Force heading
5264         creation.
5265         (org-insert-heading): keep the folding state of the heading before
5266         the inserted one.
5268 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5270         * org-archive.el (org-archive-to-archive-sibling): Handle top
5271         level headlines better.
5273 2008-10-21  Bastien Guerry  <bzg@altern.org>
5275         * org-export-latex.el (org-export-latex-classes): Added
5276         \usepackage{graphicx} to the default list of packages.
5278 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
5280         * org-agenda.el (org-agenda-filter): Renamed from
5281         `org-agenda-filter-tags'.
5283 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
5285         * org.el (org-entry-properties): Add CATEGORY property, iven if it
5286         is not defined as a property in this entry.
5287         (org-add-log-note): Mask prefix argument when immediately storing
5288         the note.
5290         * org-agenda.el (org-agenda-filter-effort-default-operator): New
5291         option.
5293 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
5295         * org.el (org-add-log-setup): Bugfix; code to find insertion point
5296         after drawers was skipping ahead one line too many, so notes were
5297         inserted after the first note instead of before it.
5299 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
5301         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5302         New variables.
5303         (org-prepare-agenda): Reset the filter tags.
5304         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5305         Show filter tags in mode line.
5307         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5308         formatter.
5310         * org-export-latex.el (org-latex-entities-regexp): New constant.
5311         (org-export-as-pdf): Use two calls to `shell-command'.
5313 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
5315         * org-export-latex.el (org-export-latex-treat-sub-super-char):
5316         Honor the {} value of the subsuperscript setting.  Make sure that
5317         longer subsuperscripts are typeset in a roman font.
5319         * org.el (org-clock-update-time-maybe): Compute negative clock
5320         intervals correctly.
5322 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
5324         * org.el (org-add-log-setup): Respect
5325         `org-log-state-notes-insert-after-drawers'.
5326         (org-log-state-notes-insert-after-drawers): New option.
5327         (org-todo-trigger-tag-changes): New function.
5328         (org-todo): Call `org-todo-trigger-tag-changes'.
5330 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
5332         * org.el (org-add-log-setup): Only skip drawers if the are
5333         immediately after the scheduling keywords.
5335         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5336         function
5337         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5338         call it with the current todo state to get the state to switch to
5339         when clocking in.
5340         (org-clock-in): Use org-indent-line-function to indent clock lines.
5341         (org-clock-find-position): Fix indentation of empty clock drawers.
5343 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
5345         * org-publish.el (org-publish-org-to): Handle case when
5346         org-export-to-pdf does return a file name, not a buffer.
5347         (org-publish-org-to-pdf): New function.
5349         * org-export-latex.el (org-export-as-pdf)
5350         (org-export-as-pdf-and-open): New commands.
5352         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5353         forms as ranges.
5355         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5356         things in protexted regions.
5358 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
5360         * org-export-latex.el (org-export-latex-preprocess): Improve
5361         quoting of LaTeX environments.
5363 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
5365         * org.el (org-edit-fixed-width-region): Exclude final newline from
5366         picture area.
5368         * org-export-latex.el (org-export-latex-subcontent): Add labels to
5369         sections, to make internal links work.
5370         (org-export-latex-fontify-headline): Do not remove all text
5371         properties, to make sure that target properties survive this
5372         process.
5374         * org-exp.el (org-export-preprocess-string): Change sequence of
5375         modifications, to make sure links are prepared before the LaTeX
5376         conversions do happen.
5378 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
5380         * org-attach.el (org-attach-delete-all): Renamed from
5381         `org-attch-delete'.  Add a security query before deleting the
5382         entire directory.  New optional argument FORCE can overrule the
5383         security query.
5384         (org-attach-delete-one): New command.
5386 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
5388         * org-attach.el (org-attach-file-list): Fix bug with directory.
5390 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
5392         * org.el (org-apps-regexp-alist): New function.
5393         (org-file-apps): Add auto-mode to the default value.
5394         (org-open-file): Use the new structure of org-file-apps.
5396         * org-attach.el (org-attach): Support the new keys.
5397         (org-attach-method): New option.
5399 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
5401         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5402         March.
5404         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5405         of the list value o `org-use-tag-inheritance'.
5407         * org-attach.el (org-attach-auto-tag): New option.
5408         (org-attach-tag, org-attach-untag): New functions.
5409         (org-attach-attach, org-attach-new, org-attach-sync): Call
5410         `org-attach-tag'.
5411         (org-attach-delete): Call `org-attach-untag'.
5413 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
5415         * org-table.el (orgtbl-self-insert-command): Make this work for
5416         the keypad as well.
5418 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
5420         * org.el (org-add-log-setup): Limit searc for drawers to entry
5421         text, not to subtree.
5423         * org-clock.el (org-clock-heading-for-remember): New variable.
5424         (org-clock-in): Set `org-clock-heading-for-remember'.
5426 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
5428         * org-remember.el (org-remember-apply-template): Add new
5429         expansions: %k, %K for currently clocked task and a link to the
5430         currently clocked task, and %< to file notes in the currently
5431         clocked task.
5433 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
5435         * org-export-latex.el (org-export-latex-make-header): Also insert
5436         the content of the property :latex-header-extra.
5438         * org-exp.el (org-infile-export-plist): Put the content of
5439         #+LATEX_HEADER: into the property :latex-header-extra.
5441         * org-colview.el (org-columns-get-format-and-top-level): Remove
5442         resetting the marker.
5444         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5445         Remove resetting the marker.
5447         * org.el (org-entry-property-inherited-from): Improve docstring.
5448         (org-entry-get-with-inheritance): Reset marker before starting the
5449         search.
5451         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5453 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
5455         * org.el (org-entry-get-multivalued-property)
5456         (org-entry-protect-space, org-entry-restore-space): New
5457         functions.
5458         (org-file-apps-defaults-macosx): Let postscript files be opened by
5459         preview.
5460         (org-time-stamp-inactive): Call `org-time-stamp'.
5461         (org-time-stamp): New argument `inactive'.  Also edit inacive
5462         stamps. Convert time stamp type.
5463         (org-open-file): Interpret the `default' value for the `command'
5464         in `org-file-apps'.
5466         * org-id.el (org-id-int-to-b36-one-digit)
5467         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5468         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
5469         b36.
5471 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
5473         * org-id.el (org-id-reverse-string): New function.
5474         (org-id-new): Use `org-id-reverse-string' to make sure the
5475         beginning chars of the ID are mutating fast.  This allows to use a
5476         directory structure to spread things better.
5477         (org-id-prefix): Changed default to nil.
5479         * org-list.el (org-move-item-down, org-move-item-up): Remember and
5480         restore the column of the cursor position.
5482         * org-remember.el (org-remember-apply-template): Remove properties
5483         from `initial'.
5485 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
5487         * org-wl.el (org-wl-open): Remove useless call to
5488         `wl-thread-open-all'.
5490         * org-remember.el (org-remember-handler): Fix bug with `bottom'
5491         location.
5493 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
5495         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5496         `org-bbdb-anniversaries'.
5498         * org.el (org-get-next-sibling, org-forward-same-level): New
5499         functions, similar to the outline versions, but invisible headings
5500         are OK.
5502 2008-09-25  Bastien Guerry  <bzg@altern.org>
5504         * org.el (org-auto-repeat-maybe): Insert a space between
5505         the timestamp's type and the timestamp itself.
5507 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
5509         * org-table.el (org-table-sum): Do not format the result with %g,
5510         it does rounding when there are too many digits.
5512         * org.el (org-map-entries): Protect the keyword-selecting variables.
5514 2008-09-23  Bastien Guerry  <bzg@altern.org>
5516         * org-agenda.el (org-agenda-to-appt): Make sure the function check
5517         against all agenda files.
5519 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
5521         * org-list.el: New file, aggregating list functions from org.el
5522         and org-export-latex.el.
5524         * org.el (org-edit-src-region-extra): New option.
5526 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
5528         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5529         time before 1am.
5531 2008-09-22  Bastien Guerry  <bzg@altern.org>
5533         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5535 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
5537         * org-plot.el (org-plot/gnuplot): Make tables starting with a
5538         hline work correctly.
5539         (org-plot/gnuplot-script): Put commas at the end of each script
5540         line.
5542 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
5544         * org.el (org-get-refile-targets): Replace links with their
5545         descriptions
5546         (org-imenu-get-tree): Replace links with their descriptions.
5548         * org-remember.el (org-remember-apply-template): Add a new
5549         expansion for adding properties to remember items.
5551         * org.el (org-add-log-setup): Skip over drawers (properties,
5552         clocks etc) when adding notes.
5554         * org-agenda.el (org-agenda-get-closed): show durations of clocked
5555         items as well as the start and end times.
5557         * org-compat.el (org-get-x-clipboard-compat): Add a compat
5558         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
5560         * org-remember.el (org-get-x-clipboard): Use the compat
5561         function to get clipboard values when x-selection-value is
5562         unavailable. Use substring-no-properties instead of
5563         set-text-properties to remove text properties from the clipboard
5564         value.
5566         * lisp/org-clock.el (org-update-mode-line): Support limiting the
5567         modeline clock string, and display the full todo value in the
5568         tooltip. Set a local keymap so mouse-3 on the clock string goes to
5569         the currently clocked task.
5570         (org-clock-string-limit): Add a custom value for the maximum
5571         length of the clock string in the modeline.
5572         (org-clock-mode-map): Add a keymap for the modeline string
5574 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
5576         * org-compat.el (org-propertize): New function.
5578 2008-09-20  Bastien Guerry  <bzg@altern.org>
5580         * org-export-latex.el (org-export-latex-tables): protect exported
5581         tables from further special chars conversion.
5582         (org-export-latex-preprocess): Preserve LaTeX environments.
5583         (org-list-parse-list): Parse descriptive lists.
5584         (org-list-to-generic, org-list-to-latex, org-list-to-html)
5585         (org-list-to-texinfo): Export descriptive lists.
5586         (org-quote-chars): Remove.
5587         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
5588         (org-export-latex-list-beginning-re): Rename to
5589         `org-list-beginning-re'
5590         (org-list-item-begin): Rename to `org-list-item-beginning'
5592 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
5594         * org.el (org-refile): Allow refiling to the last entry in the
5595         buffer.
5596         (org-get-tags-at): Fix bug when inheritance is turned off.
5598 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
5600         * org.el (org-indent-line-function): No longer check for src
5601         regions, this is too much overhead.
5603         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
5604         matching.
5606         * org.el (org-scan-tags): Make sure that tags matching is not case
5607         sensitive.  TODO keyword matching is case sensitive, however, to
5608         avoid confusion with similar words that are not meant to be
5609         keywords.
5611 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
5613         * org.el (org-get-local-tags-at): New function.
5614         (org-get-local-tags): New function.
5616         * org-exp.el (org-export-get-categories): New function.
5618         * org-agenda.el (org-sorting-choice)
5619         (org-agenda-sorting-strategy, org-agenda-get-todos)
5620         (org-agenda-get-timestamps, org-agenda-get-deadlines)
5621         (org-agenda-get-scheduled, org-agenda-get-blocks)
5622         (org-entries-lessp): Implement sorting by TODO state.
5623         (org-cmp-todo-state): New defsubst.
5625         * org-colview.el (org-colview-construct-allowed-dates): New
5626         function.
5627         (org-columns-next-allowed-value): Use
5628         `org-colview-construct-allowed-dates'.
5630         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
5631         function.
5632         (org-columns-next-allowed-value): Use
5633         `org-colview-construct-allowed-dates'.
5635 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
5637         * org.el (org-protect-slash): New function.
5638         (org-get-refile-targets): Use `org-protect-slash'.
5640         * org-agenda.el (org-global-tags-completion-table): New variable.
5642         * org-exp.el (org-export-handle-export-tags): New function.
5643         (org-export-preprocess-string): Call
5644         `org-export-handle-export-tags'.
5646         * org-plot.el: New file.
5648         * org-publish.el (org-publish-expand-components): Function removed.
5649         (org-publish-expand-projects): Allow components to have components.
5651 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
5653         * org.el (org-indent-line-function): Do not indent in regions that
5654         are external source code.
5655         (org-yank-and-fold-if-subtree): New function.
5657         * org-agenda.el (org-agenda-todayp): New function.
5658         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
5659         `org-agenda-todayp'.
5661         * org.el (org-insert-heading-respect-content)
5662         (org-insert-todo-heading-respect-content): New commands.
5663         (org-insert-heading-respect-content): New option.
5664         (org-insert-heading): Respect `org-insert-heading-respect-content'.
5666         * org-clock.el (org-clock-find-position): Make sure the note after
5667         the clock line gets moved into the new clock drawer.
5669 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
5671         * org-id.el (org-id-new): New option.
5673 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
5675         * org-table.el (org-table-copy-down): Avoid overflow during
5676         increment.  Use prefix argument 0 to temporarily disable the
5677         increment.
5679 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
5681         * org-exp.el (org-export-as-html): Do not turn on the major mode
5682         if the buffer will be killed anyway.
5683         (org-get-current-options): Exclude the #+TEXT field.
5684         (org-export-as-html): Make sure text before the first headline is
5685         a paragraph.
5687         * org-publish.el (org-publish-org-to): Tell the exporter that this
5688         buffer will be killed, so it is not necessary to do major mode
5689         initialization.
5691         * org-archive.el (org-archive-to-archive-sibling): Show empty
5692         lines after folding the archive sibling.
5694         * org.el (org-log-note-extra): New variable.
5696 2008-09-05  Bastien Guerry  <bzg@altern.org>
5698         * org.el (org-additional-option-like-keywords): Added keywords for
5699         the _QUOTE, _VERSE and _SRC environments.
5701         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
5702         exporting _QUOTE and _VERSE environments.
5704 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
5706         * org-agenda.el (org-agenda-filter-by-tag): New command.
5708         * org-exp.el (org-get-current-options): Remove angular brackets
5709         from the date entry.
5711         * org.el (org-edit-fixed-width-region): New function.
5712         (org-edit-fixed-width-region): Also try
5713         `org-edit-fixed-width-region'.
5714         (org-edit-fixed-width-region-mode): New option.
5715         (org-activate-code): Only interprete lines starting with colon
5716         plus a space as example lines.
5718         * org-remember.el (org-remember-templates): Add nil instead of
5719         empty strings to fix the length of remember templates.
5721         * org-table.el (org-calc-default-modes): Fix the time format for
5722         calc, from 12 hour to 24 hour clock.
5724 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
5726         * org-agenda.el (org-agenda-get-deadlines)
5727         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
5728         entries that are pre-warnings of deadlines or reminders.
5730         * org.el (org-sort-entries-or-items): Make numeric and alpha
5731         comparisons ignore any TODO keyword and priority cookie.
5733         * org-remember.el (org-remember-handler): Reinterpretation of the
5734         prefix argument.
5736 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
5738         * org-agenda.el (org-agenda-get-scheduled): Use new
5739         `org-scheduled' face.
5741         * org-faces.el (org-scheduled): New face.
5743         * org-wl.el (org-wl-open): Remove incorrect declaration.
5745         * org-gnus.el (org-gnus-store-link): Support for :to information
5746         in gnus links.
5748         * org-exp.el (org-export-as-html): Fixed typo in creator
5749         information.
5750         (org-export-protect-examples): New parameter indent.  Insert extra
5751         spaces only when this parameter is specified.
5752         (org-export-preprocess-string): Call `org-export-protect-examples'
5753         with an indentation parameter when exporting to ASCII.
5755         * org-remember.el (org-remember-templates)
5756         (org-remember-apply-template): Allow the file component to be a
5757         function.
5759         * org.el (org-goto-local-search-headings): Renamed from
5760         `org-goto-local-search-forward-headings'.  Added the possibility
5761         to search backwards.
5763 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
5765         * org-export-latex.el (org-export-latex): New customization
5766         group.
5768         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
5770 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
5772         * org-exp.el (org-html-do-expand): Allow {} to terminate
5773         tex macro
5775 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
5777         * org.el (org-buffer-list): Select buffers based on major mode,
5778         not on file name.
5780 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
5782         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
5783         face property.
5785         * org-colview.el (org-columns-display-here): Use
5786         `org-columns-modify-value-for-display-function'.
5788         * org-colview-xemacs.el (org-columns-display-here): Use
5789         `org-columns-modify-value-for-display-function'.
5791 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
5793         * org.el (org-columns-modify-value-for-display-function): New option.
5805         * org-publish.el (org-publish-file): Make sure the directory match
5806         for the publishing directory works correctly.
5808         * org-agenda.el (org-agenda-execute-calendar-command)
5809         (org-agenda-diary-entry): Additional optional argument.
5811 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
5813         * org-exp.el (org-export-as-html): Add attributes also in mailto
5814         and ftp links.
5816         * org.el (org-autoload): Add `org-dblock-write:columnview'.
5825 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
5827         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
5828         sure that calls from `org-export-region-as-html' do not do the
5829         special check for a subtree.
5831 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
5833         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
5835 2008-07-20  Juri Linkov  <juri@jurta.org>
5837         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
5838         new keymap `narrow-map' instead of binding "\C-xns".
5840 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
5842         * org.el (org-open-file): Use
5843         `org-open-directory-means-index-dot-org'.
5844         (org-open-directory-means-index-dot-org): New option.
5846 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
5848         * org.el (org-make-link-string): Remove link attributes from
5849         description.
5850         (org-open-at-point): Remove link attributes bevore using the path.
5852         * org-exp.el (org-export-as-html): Handle link attributes.
5854         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
5856         * org-table.el (org-table-to-lisp): New function.
5858         * org.el (org-narrow-to-subtree): Do not include the final newline
5859         into the narrowed region.
5861         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
5862         bug with user-define skipping condition.
5864 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
5866         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
5868 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
5870         * org-exp.el (org-export-html-style-default): Automatic overflow
5871         handling for pre fields.
5872         (org-export-as-ascii, org-export-as-html): Change default format
5873         for time stamp.
5875         * org-table.el (org-table-export): Offer completion for translator
5876         functions, and do not require a heading above the table.
5878         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
5879         Cater for the case of a list starting in the first line of the
5880         buffer.
5882 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
5884         * org-publish.el (org-publish-find-title): Bug fix.
5885         (org-publish-org-index): Implement new :index-style option.
5887 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
5889         * org-publish.el (org-publish-timestamp-filename): Use
5890         SHA1-encoded file names in the timestamp directory.
5892 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
5894         * org-publish.el (org-publish-needed-p): Be verbose about files
5895         published and files skipped.
5897         * org-exp.el (org-export-preprocess-string): Swap link
5898         normalization and inernal link targeting.
5900         * org-publish.el (org-publish-needed-p): Create timestamp
5901         directory when it does not exist.
5903 2008-07-04  Bastien Guerry  <bzg@altern.org>
5905         * org-clock.el (org-clock-out-when-done): Doc fix.
5907         * org.el (org-agenda-skip-unavailable-files): Doc fix.
5909         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
5910         Ignore case when searching for the COMMENT cookie at export time.
5912 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
5914         * org-exp.el (org-get-file-contents)
5915         (org-get-and-remove-property): New functions.
5916         (org-export-handle-include-files): Handle the new prefix options.
5917         (org-export-as-html): Fix the verse environment.
5919 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
5921         * org.el (org-time=, org-time<, org-time<=, org-time>)
5922         (org-time>=, org-time<>, org-2ft): New functions.
5923         (org-op-to-function): Also provide for the time testing fucntions.
5925 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
5927         * org-exp.el (org-export-html-style-default): New constant.
5929 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
5931         * org-exp.el (org-export-html-style-extra): New variable.
5932         (org-export-splice-style): New function.
5934 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
5936         * org-exp.el (org-export-plist-vars, org-export-as-html):
5937         Implement `org-export-creator-info'.
5938         (org-export-creator-info): New option.
5940 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
5942         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
5943         (org-property-drawer-re, org-clock-drawer-re): New constants.
5945 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
5947         * org-exp.el (org-icalendar-use-deadline)
5948         (org-icalendar-use-scheduled): New options.
5949         (org-icalendar-include-todo): Default changed to t.
5950         (org-print-icalendar-entries): Implement better utilization of
5951         scheduling and deadline time stamps.
5952         (org-export-target-internal-links, org-export-as-html): Allow file
5953         lines without the "file:" prefix if the file path is an absolute
5954         path or starts with ".".
5956         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
5957         lastweek etc.
5958         (org-clock-special-range): Also undertand yesterday, lastweek etc.
5960 2008-06-18  Glenn Morris  <rgm@gnu.org>
5961         * org.el (org-map-entries): Let-bind `file'.
5963 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
5965         * org.el (org-agenda-skip-archived-trees): Docstring now
5966         discourages using this.
5967         (org-scan-tags): Check for org-agenda-archives-mode.
5968         (org-map-entries): Make sure org-agenda-archives-mode is nil.
5969         (org-agenda-files): Functionality of second arg changed.
5971         * org-agenda.el (org-agenda-archives-mode): New variable
5972         (org-write-agenda, org-prepare-agenda, org-agenda-list)
5973         (org-search-view, org-todo-list, org-tags-view)
5974         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
5975         `ifmode' argument.
5976         (org-agenda-quit): Reset the archives mode.
5977         (org-agenda-archives-mode): New command.
5978         (org-agenda-set-mode-name): Include archives info.
5980 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
5982         * org.el (org-paste-subtree): Make sure the yanked headline is
5983         visible if it was yanked at a visible point.
5984         (org-move-item-up): Fix the bug with moving white space at the end
5985         of the item.
5986         (org-show-empty-lines-in-parent): New function.
5988 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
5990         * org-colview.el (org-columns-next-allowed-value): Bug fix.
5992         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
5994         * org-agenda.el (org-agenda-get-closed): Get the end time into the
5995         agenda prefix as well.
5997         * org-publish.el (org-publish-org-index): Make a properly indented
5998         list.
6000         * org.el (org-calendar-agenda-action-key): New option.
6001         (org-get-cursor-date): New function.
6002         (org-mark-entry-for-agenda-action): New command.
6003         (org-overriding-default-time): New variable.
6004         (org-read-date): Respect `org-overriding-default-time'.
6006         * org-remember.el (org-remember-apply-template): Respect the
6007         ovverriding default time.
6009         * org-agenda.el (org-agenda-action-marker): New variable.
6010         (org-agenda-action): New command.
6011         (org-agenda-do-action): New function.
6013 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6015         * org.el (org-schedule, org-deadline): Protect scheduled and
6016         deadline tasks against changes that accidently remove the
6017         repeater.  Also show a message with the new date when done.
6019 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
6021         * org.el (org-beginning-of-line): Cater for the case when there
6022         are tags but no headline text.
6023         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6024         it set.
6026 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
6028         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6029         the return value is nil instead of "nil" when there is no match.
6031         * org-exp.el (org-insert-centered): Use fill-column instead of
6032         80.
6033         (org-export-as-ascii): Use string-width to measure the width of
6034         the heading.
6036         * org.el (org-diary-to-ical-string): No longer kill buffer
6037         FROMBUF, this is now done by the caller.
6039         * org-exp.el (org-print-icalendar-entries): Move the call to
6040         `org-diary-to-ical-string' out of the loop, and kill the buffer
6041         afterwords.
6043         * org-remember.el (org-remember-visit-immediately): Position
6044         cursor after moving to the note.
6045         (org-remember-apply-template): Use a text property to record the
6046         cursor position.
6047         (org-remember-handler): Align tags after pasting the note.
6049 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
6051         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6053         * org-agenda.el (org-agenda-open-link): If there is an
6054         org-bbdb-name property in the current line, jump to that bbdb
6055         entry.
6057         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6058         text property, so that the agenda knows where this entry comes
6059         from.
6061         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6062         interaction between clocking-in from the agenda, and  automatic
6063         task state switching.
6065         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6067         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6068         zmacs-region stays after this command in XEmacs.
6070 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
6072         * org.el (org-scan-tags): Allow new values for ACTION parameter.
6074         * org-remember.el (org-remember-templates): Fix bug in
6075         customization type definition.
6077         * org.el (org-map-entries): New function.
6079 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
6081         * org-agenda.el (org-agenda-skip-comment-trees): New option.
6082         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6084 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
6086         * org-remember.el (org-jump-to-target-location): New variable.
6087         (org-remember-apply-template): Set
6088         `org-remember-apply-template' if requested by template.
6089         (org-remember-handler): Start an idle timer to jump to
6090         remember location.
6092         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6094         * org.el (org-set-regexps-and-options): Fix bug with parsing of
6095         file tags.
6096         (org-get-tags-at): Add the content of `org-file-tags'.
6098         * org-exp.el (org-export-handle-comments): Fix bug with several
6099         comment lines after each other.
6100         (org-number-to-roman, org-number-to-counter): New functions.
6101         (org-export-section-number-format): New option.
6103 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
6105         * org-exp.el (org-export-protect-examples): Catch the case of a
6106         missing end_example line.
6108         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6109         `org-file-tags' to nil.
6111         * org-colview.el (org-columns-next-allowed-value): Handle next
6112         argument NTH to directly select a value.
6114         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6115         argument NTH to directly select a value.
6117 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
6119         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6121 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
6123         * org.el (org-columns-ellipses): New option.
6125 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
6127         * org-colview.el (org-columns-add-ellipses): New function.
6128         (org-columns-compact-links): New function.
6129         (org-columns-cleanup-item): Call `org-columns-compact-links'.
6130         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6131         when in agenda.
6132         (org-columns-edit-value): Fixed bug with editing values from
6133         agenda column view.
6134         (org-columns-redo): Also redo the agenda itself.
6136 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
6138         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6139         option.
6141         * org-colview.el (org-agenda-columns-cleanup-item): New function.
6143         * org-exp.el (org-export-ascii-preprocess): Renamed from
6144         `org-export-ascii-clean-string'.
6145         (org-export-kill-licensed-text)
6146         (org-export-define-heading-targets)
6147         (org-export-handle-invisible-targets)
6148         (org-export-target-internal-links)
6149         (org-export-remove-or-extract-drawers)
6150         (org-export-remove-archived-trees)
6151         (org-export-protect-quoted-subtrees)
6152         (org-export-protect-verbatim, org-export-protect-examples)
6153         (org-export-select-backend-specific-text)
6154         (org-export-mark-blockquote-and-verse)
6155         (org-export-remove-comment-blocks-and-subtrees)
6156         (org-export-handle-comments, org-export-mark-radio-links)
6157         (org-export-remove-special-table-lines)
6158         (org-export-normalize-links)
6159         (org-export-concatenate-multiline-links)
6160         (org-export-concatenate-multiline-emphasis): New functions,
6161         obtained from spliiting the export preprocessor.
6163         * org-table.el (org-table-recalculate): Improve error message if
6164         the row number is invalid.
6166 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
6168         * org-archive.el (org-archive-save-context-info): Fix bugs in
6169         customization setup and docstring.
6171         * org-exp.el (org-export-html-style): Changed the size of in the
6172         <pre> element to 90%.
6174 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
6176         * org.el (org-find-src-example-start): Function removed.
6177         (org-edit-src-find-region-and-lang): New function.
6179 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
6181         * org.el (org-edit-src-exit): New function.
6182         (org-exit-edit-mode): New minor mode.
6184         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6185         comment-like lines from protected examples.
6187         * org.el (org-edit-src-example, org-find-src-example-start)
6188         (org-protect-source-example, org-edit-special): New functions.
6190 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
6192         * org-publish.el (org-publish-project-alist): Fix typo in
6193         docstring.
6194         (org-publish-project-alist): Handle :index-title property.
6196 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
6198         * org-export-latex.el (org-export-as-latex): Make sure region
6199         bounds are correct.  Parse subtree properties relating to export.
6201         * org-exp.el (org-export-add-options-to-plist): New function.
6202         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6204 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
6206         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6207         EXPORT_TITLE.
6209         * org-exp.el (org-export-get-title-from-subtree)
6210         (org-export-as-ascii, org-export-as-html): Make sure the original
6211         region-beginning and region-end are used, even after moving
6212         point.
6213         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6214         property.
6216         * org-remember.el (org-remember-last-stored-marker): New variable.
6217         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6218         (org-remember-handler): Also use marker to remember
6219         last-stored position.
6221         * org.el (org-goto-marker-or-bmk): New function.
6223 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
6225         * org.el (org-file-properties): Renamed from `org-local-properties'.
6226         (org-scan-tags): Take file tags into account.
6227         (org-tags-match-list-sublevels): Default changed to t.
6229         * org-exp.el (org-export-as-html): Close paragraph after a
6230         footnote.
6232         * org.el (org-update-parent-todo-statistics): New function.
6234         * org-exp.el (org-icalendar-store-UID): New option.
6235         (org-icalendar-force-UID): Option removed.
6236         (org-print-icalendar-entries): IMplement UIDs.
6238 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
6240         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6242 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
6244         * org-faces.el (org-column): Document how this face is being used
6245         and why sometimes the background faces shine through.
6247         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6249         * org-publish.el (org-publish-attachment): Create publishing
6250         directory if it does not yet exist.
6252         * org-table.el (org-calc-default-modes): Change default number
6253         format to (float 8).
6255         * org.el (org-olpath-completing-read): New function.
6256         (org-time-clocksum-format): New option.
6257         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6259         * org-clock.el (org-clock-display, org-clock-out)
6260         (org-update-mode-line): Use `org-time-clocksum-format'.
6262         * org-colview-xemacs.el (org-columns-number-to-string): Use
6263         `org-time-clocksum-format'.
6265         * org-colview.el (org-columns-number-to-string): Use
6266         `org-time-clocksum-format'.
6268 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
6270         * org-id.el: New file, move from contrib to core.
6272         * org-exp.el (org-icalendar-force-UID): New option.
6274 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
6276         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6277         shifted by one day if theere is a date range without an end
6278         time.
6280         * org.el (org-try-structure-completion): New function.
6282 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
6284         * org.el (org-set-font-lock-defaults): Improve fontification of
6285         description lists.
6286         (org-insert-item): Handle description lists.
6287         (org-adaptive-fill-function): Improve auto indentation in
6288         description lists.
6290         * org-exp.el (org-export-as-html, org-export-preprocess-string):
6291         Implement VERSE environment.
6292         (org-export-preprocess-string): Implement the COMMENT
6293         environment.
6295         * org-export-latex.el (org-export-latex-preprocess): Implement
6296         VERSE environment.
6298 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
6300         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6301         option.
6303 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
6305         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6307         * org.el (org-quote-csv-field): New functions.
6309         * org-table.el (org-table-export-default-format): Remove :splice
6310         from default format, we get the same effect by not specifying
6311         :tstart and :tend.
6312         (org-table-export): Improve setup, distinguish better between
6313         interactive and non-interactive use, allow specifying the format
6314         on the fly, better protection against wrong file names.
6315         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
6316         and :tend when :splice is omitted.
6318 2008-05-09  Bernt Hansen  <bernt@norang.ca>
6320         * org-clock.el (org-clock-select-task): Make sure the selection
6321         letters are 1-9 and A-Z, no special characters.
6323 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
6325         * org-exp.el (org-export-htmlize): New group.
6326         (org-export-htmlize-output-type)
6327         (org-export-htmlize-css-font-prefix): New options.
6328         (org-export-htmlize-region-for-paste): New function.
6329         (org-export-htmlize-generate-css): New command.
6331 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
6333         * org/org.el (org-modules, org-format-latex-options):
6334         * org/org-archive.el (org-archive-stamp-time)
6335         (org-archive-save-context-info):
6336         * org/org-faces.el (org-hide):
6337         * org/org-irc.el (org-irc-parse-link):
6338         * org/org-macs.el (org-call-with-arg, org-autoload):
6339         * org/org-mew.el (org-mew-store-link):
6340         * org/org-remember.el (org-remember-store-without-prompt)
6341         (org-remember-templates): Fix typos in docstrings.
6343         * org/org-info.el (org-info-store-link): Remove leftover docstring.
6345         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6346         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6347         (org-bbdb-anniv-split): Fix typos in docstrings.
6349         * org/org-publish.el (org-publish-project-alist): Doc fixes.
6350         (org-publish-use-timestamps-flag): Reflow docstring.
6351         (org-publish-files-alist): Fix typos in docstring.
6353 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
6355         * org.el (org-set-visibility-according-to-property): New function.
6356         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6357         and compute the regular expressions, and update font-lock.
6358         (org-property-re): Allow a dash in property names.
6360         * org-archive.el (org-extract-archive-file): Insert the file name
6361         without the path into the format, to allow the location format to
6362         contain a subdirectory.
6364         * org-agenda.el (org-agenda-post-command-hook): If point is at end
6365         of buffer, and the `org-agenda-type' property undefined, use the
6366         value from the character before.
6368         * org.el (org-add-planning-info): Don't let indentation for
6369         would-be timestamp become extra whitespace at the end of headline.
6371 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
6373         * org.el (org-remove-double-quotes, org-file-contents): New
6374         functions.
6376         * org-exp.el (org-infile-export-plist): Also parse the
6377         contents of #+SETUPFILE files, recursively.
6379         * org.el (org-set-regexps-and-options): Also parse the
6380         contents of #+SETUPFILE files, recursively.
6382         * org-exp.el (org-export-handle-include-files): New function.
6383         (org-export-preprocess-string): Call
6384         `org-export-handle-include-files'.
6386         * org.el (org-delete-property-globally)
6387         (org-delete-property, org-set-property): Ignore case during
6388         completion.
6389         (org-set-property): Use `org-completing-read' instead of
6390         `completing-read'.
6392         * org.el (org-complete-expand-structure-template): New,
6393         experimental function.
6394         (org-structure-template-alist): New, experimental option.
6395         (org-complete): Call `org-complete-expand-structure-template'.
6397 2008-05-06  Bastien Guerry  <bzg@altern.org>
6399         * org-export-latex.el (org-export-latex-preprocess): Added
6400         support for blockquotes.
6402 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
6404         * org.el (org-read-date-analyze): Catch the case where only a
6405         weekday is given.
6407 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
6409         * org.el (org-set-font-lock-defaults): Make the description
6410         tag bold.
6412         * org-exp.el (org-export-as-html, org-close-li): Implement
6413         description lists.
6415 2008-05-04  Jason Riedy  <jason@acm.org>
6417         * org-table.el (*orgtbl-default-fmt*): New variable.
6418         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6419         when there is no other fmt available.
6421         (orgtbl-to-generic): Allow an explicitly nil :tstart or
6422         :tend to suppress the appropriate string.
6424         (orgtbl-to-orgtbl): New function for translating to another orgtbl
6425         table.
6427 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
6429         * org.el (org-read-date-analyze): "." as an alias for "+0" in
6430         read date.
6432         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6433         New function.
6435         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6436         New function.
6438 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
6440         * org-clock.el (org-clock-find-position): Don't include notes
6441         into clock drawer.
6443         * org-archive.el (org-archive-subtree): No longer remove an
6444         extra line after cutting the subtree.  `org-cut-subtree' already
6445         takes care of this.
6447         * org-remember.el (org-remember-handler): Only kill the target
6448         buffer if it does not contain the running clock.
6450         * org.el (org-markers-to-move): New variable.
6451         (org-save-markers-in-region, org-check-and-save-marker)
6452         (org-reinstall-markers-in-region): New function.
6453         (org-move-subtree-down, org-copy-subtree): Remember relative
6454         marker positions before cutting.
6455         (org-move-subtree-down, org-paste-subtree): Restore relative
6456         marker positions after pasting.
6458         * org-remember.el (org-remember-clock-out-on-exit): New option.
6459         (org-remember-finalize): Clock out only if the setting in
6460         `org-remember-clock-out-on-exit' requires it.
6461         (org-remember-handler): Do the cleanup in the buffer, to make sure
6462         that the clock marker remains in tact.
6464 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
6466         * org-clock.el (org-clock-goto): Widen buffer if necessary.
6467         (org-clock-in): Make sure that also tasks outside the narrowed
6468         region will be clocked in correctly.
6469         (org-clock-insert-selection-line): Widen the buffer so that we can
6470         find the correct task heading.
6472         * org.el (org-base-buffer): New function.
6474         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6475         and ";" are escaped.
6476         (org-print-icalendar-entries): Also apply
6477         `org-icalendar-cleanup-string' to the headline, not only to the
6478         summary property.
6480 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
6482         * org-exp.el (org-export-preprocess-hook): New hook.
6483         (org-export-preprocess-string): Call
6484         `org-export-preprocess-hook'.
6486         * org.el (org-font-lock-hook): New variable.
6487         (org-font-lock-hook): New function.
6488         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6490 ;; Local Variables:
6491 ;; coding: utf-8
6492 ;; add-log-time-zone-rule: t
6493 ;; End:
6495     Copyright (C) 2008  Free Software Foundation, Inc.
6497   This file is part of GNU Emacs.
6499   GNU Emacs is free software: you can redistribute it and/or modify
6500   it under the terms of the GNU General Public License as published by
6501   the Free Software Foundation, either version 3 of the License, or
6502   (at your option) any later version.
6504   GNU Emacs is distributed in the hope that it will be useful,
6505   but WITHOUT ANY WARRANTY; without even the implied warranty of
6506   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6507   GNU General Public License for more details.
6509   You should have received a copy of the GNU General Public License
6510   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
6512 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c