Fix typos in docstrings.
[emacs.git] / lisp / org / ChangeLog
blobc1eff5a0d25c2bef2a872a2bce920f6f680d837c
1 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
3         * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
4         Fix typos in docstrings.
6 2010-01-01  Juanma Barranquero  <lekktu@gmail.com>
8         * org.el (org-get-outline-path, org-speed-command-help):
9         Fix typos in error messages.
11 2009-12-14  Juri Linkov  <juri@jurta.org>
13         * org-html.el (org-export-html-style-include-default):
14         Put `safe-local-variable booleanp' on
15         `org-export-html-style-include-default' instead of mistakenly
16         duplicate `org-export-html-style'.
18 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
20         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
21         agenda after adding new entry.
23         * org-datetree.el (org-datetree-find-day-create): Fix regular
24         expression.
26         * org.el (org-display-outline-path): Use a format specifier for
27         message, to avoid problems with heading containing `%'.
29         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
30         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
31         (org-agenda-fix-displayed-tags): New function.
32         (org-agenda-do-context-action): Just call
33         `org-display-outline-path', without piping the result through
34         `message'.
36         * org-latex.el (org-export-latex-preprocess): Protect secondary
37         footnote references.
39         * org-indent.el (org-indent-initialize): Avoid empty strings as
40         line prefixes.
42         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
43         hat checking for the mark does not throw an error.
44         (org-agenda-diary-entry-in-org-file): Catch the case that there is
45         not `day' text property in the cursor line.
47         * org.el (org-sort-entries-or-items): Make sure that the final
48         entry has a newline before doing the sorting.
50         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
51         property at the beginning of the line.
53         * org.el (org-make-link-string): Don't allow a description with
54         only white space.
56         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
57         (org-agenda-insert-diary-as-top-level): New function.
58         (org-agenda-add-entry-to-org-agenda-diary-file): Call
59         `org-agenda-insert-diary-as-top-level'.
61         * org.el (org-occur-in-agenda-files): Make sure none of the
62         buffers is narrowed.
63         (org-activate-plain-links): Add the face property here.
64         (org-set-font-lock-defaults): Do not add the face to plain links,
65         the activator function does this.
67         * org-habit.el (org-is-habit-p): Add doc string.
69         * org-archive.el (org-archive-subtree-default-with-confirmation):
70         Autoload.
72         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
73         after match optional (happens at the end of a line...).
75         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
76         for special blocks.
78         * org-faces.el (org-copy-face): Set lisp indentation.
79         (org-quote, org-verse): New faces.
81         * org-agenda.el (org-agenda-remove-date): Remove variable.
83         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
85         * org-html.el (org-export-as-html): Move the home/up link into
86         the content div.
88         * org.el (org-export-latex-packages-alist): Option definition
89         moved here from org-latex.el.
91         * org-html.el (org-export-html-home/up-format): Add an ID to the
92         up/home div.
94         * org-wl.el (org-wl-store-link): Handle the case that
95         `wl-use-petname' is set.
97         * org.el (org-set-effort): Improve prompt.
98         (org-get-outline-path): Widen to get full path.
99         (org-compact-display-after-subtree-move): Function removed.
101 2009-11-20  Eric Schulte  <schulte.eric@gmail.com>
103         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
104         hash keys to cache and re-use images generated by the
105         org-exp-blocks interface to ditaa and dot.
107         * org.el (org-format-latex): Latex images are now saved to files
108         named by the sha1 hash of the latex source text avoiding
109         regeneration of identical images.
111 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
113         * org-latex.el (org-export-as-latex): Add the :drawers property.
115 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
117         * org.el (org-speed-commands-user): Allow documentation headlines.
118         (org-speed-commands-default): Organize the value of this constant
119         with descriptive headlines.
120         (org-print-speed-command): Output the headlines.
122 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
124         * org-agenda.el (org-agenda-show-outline-path): New option.
125         (org-agenda-do-context-action): New function.
126         (org-agenda-next-line, org-agenda-previous-line): Use
127         `org-agenda-do-context-action'.
129         * org.el (org-use-speed-commands): Allow function value.
130         (org-speed-commands-default): Make headline motion safe, so that
131         these commands always end on a headline.
132         (org-speed-commands-default): New key `v' for `org-agenda'.
133         (org-speed-move-safe): New function.
134         (org-self-insert-command): Use the function value of
135         `org-use-speed-commands'.
136         (org-get-outline-path): Improve docstring.
137         (org-format-outline-path): New function.
138         (org-display-outline-path): New function.
140 2009-11-15  John Wiegley  <jwiegley@gmail.com>
142         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
143         a string, use that to find the LOGBOOK drawer.
145 2009-11-15  Glenn Morris  <rgm@gnu.org>
147         * org-agenda.el (org-datetree-find-date-create)
148         (org-habit-get-priority):
149         * org.el (org-format-agenda-item): Fix declarations.
151 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
153         * org.el (org-clone-subtree-with-time-shift): Make it work at the
154         end of the buffer.
156         * org-mobile.el (org-mobile-write-checksums): Specify coding
157         system.
158         (org-mobile-timestamp-buffer): Keep local variable/mode line at
159         beginning of buffer.
161         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
163         * org.el (org-block-todo-from-children-or-siblings-or-parent)
164         (org-block-todo-from-checkboxes): Do not block changes to a nil
165         TODO state.
167 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
169         * org-habit.el (org-habit-parse-todo): Indicate which habit is
170         wrongly set up in the error messages.
172         * org-colview.el (org-columns-display-here): Don't try to
173         calculate values if the underlying property is not set.
174         (org-columns-string-to-number): Convert age strings back into
175         fractional days.
176         (org-agenda-colview-summarize): Handle extended summary types
177         properly.
179         * org-colview-xemacs.el (org-columns-display-here): Don't try to
180         calculate values if the underlying property is not set.
181         (org-columns-string-to-number): Convert age strings back into
182         fractional days.
183         (org-agenda-colview-summarize): Handle extended summary types
184         properly.
186 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
188         * org-exp.el (org-export-format-drawer-function): New variable.
189         (org-export-format-drawer): New function.
190         (org-export-preprocess-string): Pass the backend as a parameter to
191         `org-export-remove-or-extract-drawers'.
192         (org-export-remove-or-extract-drawers): New parameter BACKEND.
194         * org-protocol.el (org-protocol-char-to-string): New defsubst.
196 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
198         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
199         message when no block is selected.
201         * org-latex.el (org-export-latex-links): Check for protectedness
202         in the last matched character, not after the match.
204         * org-datetree.el (org-datetree-find-date-create): Respect
205         restriction when KEEP-RESTRICTION is set.
206         (org-datetree-file-entry-under): New function.
207         (org-datetree-cleanup): New command.
209 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
211         * org-src.el (org-edit-src-code): New optional argument context
212         allows calling functions to avoid altering the saved window
213         configuration.
214         (org-edit-src-exit): Do not restore window configuration when this
215         function is used in the context of saving the edit buffer.
217 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
219         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
220         instances to switching to with-current-buffer, because these seem
221         to cause problems - no idea why.
223         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
224         Require diary-lib for (diary-date-display-form).
226 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
228         * org.el (org-log-reschedule, org-log-redeadline): New options.
229         (org-log-note-headings): Add templates for rescheduling and
230         deadline changing.
231         (org-startup-options): Add in-buffer settings for logging changing
232         schedule and deadline time stamps.
233         (org-deadline, org-schedule): Check for existing date and arrange
234         for logging if the user requests it.
235         (org-add-log-note): Prepare proper note buffers for rescheduling
236         and deadline changes.
238 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
240         * org-agenda.el (org-agenda-diary-entry-in-org-file)
241         (org-agenda-add-entry-to-org-agenda-diary-file)
242         (org-agenda-insert-diary-make-new-entry): New functions.
243         (org-agenda-diary-entry): Call
244         `org-agenda-diary-entry-in-org-file' when appropriate.
246         * org.el (org-calendar-insert-diary-entry-key): New option.
247         (org-agenda-diary-file): New option.
248         ("calendar"): Install our insertion function in the calendar.
250         * org-remember.el (org-datetree): Require.
251         (org-remember-templates): Add new positioning option.
252         (org-remember-reference-date): New variable.
253         (org-remember-apply-template): Store the reference date in a local
254         variable.
255         (org-remember-handler): Implement date tree positioning of entries.
257         * org-datetree.el: New file.
259         * org-latex.el (org-export-latex-preprocess): Protect targets in
260         verbatim emphasis.
262         * org-html.el (org-export-as-html): Protect targets in verbatim
263         emphasis.
265         * org-docbook.el (org-export-as-docbook): Protect targets in
266         verbatim emphasis.
268 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
270         * org-clock.el (org-show-notification): Handle messages that
271         contain a percent character.
273         * org-remember.el (org-remember-apply-template): Turn of partial
274         completion.
276         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
277         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
279         * org.el (org-indent-mode): Define variable already in org.el.
280         (org-unfontify-region): Remove line-prefix and wrap-prefix
281         properties only if org-indent-mode is active.
283 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
285         * org-icalendar.el (org-print-icalendar-entries): Save match data
286         around call to verify function.
287         (org-print-icalendar-entries): Add a call to the verification
288         function.
290         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
291         save-restrivtion' form.
293 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
295         * org-exp.el (org-export-format-source-code-or-example): restrict
296         scope of preserve-indentp to the let binding.
297         (org-src): require org-src, since org-src-preserve-indentation is used.
299 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
301         * org-timer.el (org-timer-set-timer): Set variables
302         org-timer-timer[123] correctly.
305         * org-mobile.el (org-mobile-files-alist): Make it work when
306         `agenda-archives' is included in
307         `org-agenda-text-search-extra-files'.
308         (org-mobile-push): Restore agenda after mobile push.
310 2009-11-13  John Wiegley  <jwiegley@gmail.com>
312         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
313         way the amount of idle time is presented in the minibuffer.
315 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
317         * org-icalendar.el (org-print-icalendar-entries): Use
318         org-icalendar-verify-function only if non-nil.
320         * org.el (org-refile): Refile to clock only if the prefix arg is
321         2.
322         (org-sparse-tree): Fix docstring to be in line with prompt.
323         (org-update-parent-todo-statistics): Call
324         `org-after-todo-statistics-hook' on each level.
326 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
328         * org-remember.el (org-remember-apply-template): Make sure the
329         buffer exists.
331 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
333         * org.el (org-tab-ind-state): New variable.
334         (org-cycle-level): New function.
335         (org-cycle-level-after-item/entry-creation): New option.
336         (org-flag-subtree): New function.
337         (org-hide-archived-subtrees): Call `org-flag-subtree'.
338         (org-set-effort): Indexed access.
340         * org-list.el (org-cycle-item-indentation): New function.
342         * org.el (org-refile): Make prefix argument 2 refile to current
343         clock.
344         (org-priority): Interpret action `remove' as call to remove the
345         priority cookie.
347         * org-remember.el (org-remember-apply-template): Don't depend on
348         buffer name being like file name.
350 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
352         * org-clock.el (org-clock-play-sound): Expand file in
353         org-clock-sound, to allow ~ for home.
355         * org-remember.el (org-remember-handler): Set
356         text-before-node-creation even if this already looks like a node,
357         because the string might be needed on non-org-mode target files.
359         * org-agenda.el (org-agenda-open-link): Make this work in agenda
360         clocktables.
361         (org-agenda-switch-to): Follow a link at point if
362         org-return-follows-link' is set and there is nothing else to do in
363         this line.
365 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
367         * org-colview-xemacs.el: Add in changes from org-colview.el
369 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
371         * org-exp-blocks.el: Modify split separator regexp to avoid empty
372         strings.
374 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
376         * org-colview.el (org-columns-new): Make this work with the new
377         operators.
378         (org-columns-store-format): Make this work with the new operators.
380 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
382         * org-src.el (org-src-preserve-indentation): Document that this
383         variable is also used during export.
385         * org-exp.el (org-export-format-source-code-or-example): Preserve
386         indentation if a block has a -i option, or if
387         `org-src-preserve-indentation' is set.
389         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
390         indentation if a block has a -i option, or if
391         `org-src-preserve-indentation' is set.
393 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
395         * org.el (org-mode-map): Define the new archiving keys.
396         (org-speed-commands-default): Define an archiving key in the speed
397         command map.
398         (org-org-menu): Improve the menu structure concerning archiving.
400         * org-archive.el (org-archive-subtree-default-with-confirmation):
401         New command.
403         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
404         (org-agenda-menu): Add the new archiving commands to the menu.
405         (org-agenda-archive-default)
406         (org-agenda-archive-default-with-confirmation): New commands.
407         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
408         call `org-agenda-archive-with'.
409         (org-agenda-archive-with): New function.
411         * org-table.el (org-table-convert-region): Inert spaces around "|"
412         to avoid line beginnings like "|-1" which will be mistaken as
413         hlines.
415 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
417         * org.el (org-offer-links-in-entry): Return nil if there are no
418         links, t if a link has been selected.
419         (org-open-at-point): Open attachment directory when called in the
420         headline and there are no links in the entry body.
421         (org-speed-commands-default): Add "o" for open-at-point as a speed
422         command.
424         * org-attach.el (org-attach-reveal): Optional prefix arg
425         IF-EXISTS, which avoids creating the attachment directory if it
426         does not yet exist.
428         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
429         MATCH.
431 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
433         * org.el ("abbrev"): Work with abbrev tables only after they have
434         been loaded.
436         * org-list.el (org-list-send-list): Fix bug related to match
437         data.
439         * org-latex.el (org-export-latex-fontify): Apply verbatim
440         emphasis.
441         (org-export-latex-make-header): Insert \obeylines if line breaks
442         should be preserved.
444         * org-exp.el (org-export-protect-verbatim): Add an
445         `org-verbatim-emph' property to such text.
447 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
449         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
450         (org-print-icalendar-entries): Skip entries where the timestamp is
451         not a deadline and not scheduled, if the user requests that.
453         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
454         before an opening quote.
456         * org-archive.el (org-archive-subtree): Keep archive after
457         archiving something.
459         * org-id.el (org-id-update-id-locations): Add archive files if
460         that is required by `org-id-extra-files'.
462 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
464         * org-src.el (org-src-window-setup): New option.
465         (org-src-switch-to-buffer): New function.
466         (org-edit-src-exit): Add optional argument CONTEXT and use it to
467         restore window configuration.
468         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
469         Call `org-src-switch-to-buffer'.
471         * org.el (org-default-properties): Add STYLE property.
472         (org-files-list): Use the function call to get the files.
473         (org-additional-option-like-keywords): Add SETUPFILE to completion
474         list.
476 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
478         * org-table.el (org-table-convert-region): Correctly interpret
479         quoting in csv import.
481         * org.el (org-icompleting-read): Make iswitchb completion work
482         with lists and tables.
484         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
485         while pushing the mobile agenda.
487 2009-11-13  John Wiegley  <jwiegley@gmail.com>
489         * org-clock.el
490         (org-clock-auto-clock-resolution): Now takes three values: nil, t
491         and `when-no-clock-is-running'.
492         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
493         whether or not to resolve Org buffers on clock in.
495 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
497         * org-colview.el (org-format-time-period): Function to format
498         times in fractional days for display.
499         (org-columns-display-here): Add support for showing a calculated
500         value in place of the property.
501         (org-columns): Set `org-columns-time' to the current time so time
502         difference calculations will work.
503         (org-columns-time): Use to store the current time when column view
504         is displayed, so all time differences will use the same reference
505         point.
506         (org-columns-compile-map): There is now an extra position in each
507         entry specifying the function to use to calculate the displayed
508         value for the non-calculated properties in the column,
509         (org-columns-compute-all): Set `org-columns-time' to the current
510         time so time difference calculations will work.
511         (org-columns-compute): Handle column operators where the values
512         used are calculated from the underlying property.
513         (org-columns-number-to-string): Handle the 'age' column format
514         (org-columns-string-to-number): Correct the function name (was
515         org-column...).  Add support for the 'age' column format.
516         (org-columns-compile-format): Support the additional parameter in
517         org-columns-compile-map.
519 2009-11-13  Bastien Guerry  <bzg@altern.org>
521         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
522         variable.
524 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
526         * org-clock.el (org-clock-has-been-used): New variable.
527         (org-clock-in): Set `org-clock-has-been-used'.
528         (org-clock-save): Save only if clock data has been used or created
529         during this session.
531 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
533         * org-clock.el (org-clock-persist): New value, to store only the
534         clock history.
535         (org-clock-save): Don't save the clock if only the history should
536         be stored.
537         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
538         when restoring a saved clock.
540 2009-11-13  John Wiegley  <jwiegley@gmail.com>
542         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
543         `org-time-clock-use-fractional'.
545         * org.el (org-time-clocksum-use-fractional)
546         (org-time-clocksum-fractional-format): Two new customizable
547         variables which allow the user to select fractional times (1.25
548         instead of 1:25) in the `org-clock-display' report.
550 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
552         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
553         New option.
555         * org.el (org-tag-alist): Fix customization type.
557 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
559         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
560         Make sure the regexp search can fail without throwing an error.
561         (org-mobile-apply): Save the inbox buffer after removing
562         successfully applied changes.
564 2009-11-13  John Wiegley  <jwiegley@gmail.com>
566         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
567         time is reported after the user comes back (but before they
568         resolve time).
570         * org.el (org-get-repeat): Change so that this function can be
571         called with either `org-scheduled-string' or
572         `org-deadline-string'.
574         * org-clock.el (org-clock-auto-clock-resolution): Renamed
575         `org-clock-disable-clock-resolution', since negatives don't sound
576         good in customization variables.
577         (org-clock-in): Don't use the auto-resolution logic if the user is
578         clocking into a different task while an active clock is running.
579         This then allows the default behavior of clocking out of the open
580         task and then into the new task.
582         * org.el (org-modules): Made this variable more consistent, since
583         it was referring to Org, OrgMode and Org-mode, whereas the docs
584         for the variable always refer to Org-mode.
586 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
588         * org.el (org-repeat-re): The changed org-repeat-re no longer
589         matched simple +2d type repeaters.  Fix it so it does.
591 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
593         * org-latex.el (org-export-latex-preprocess): Protect the vspace
594         macro in the VERSE environment.
596 2009-11-13  John Wiegley  <jwiegley@gmail.com>
598         * org-habit.el (org-habit-get-priority): A new function that
599         determines the relative priority of a habit, based on how long
600         past its scheduled date it is, and how near the deadline is.
602         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
603         using `org-habit-get-priority'.
605         * org-habit.el (org-habit-build-graph): Start displaying colors
606         from the first scheduled date, if that date is earlier than the
607         first completion date.
609         * org-habit.el: Changed all "color" variables to faces, and made
610         them appropriate for light and dark backgrounds.
612         * org-habit.el (org-habit-duration-to-days): Made this function
613         more general.
614         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
616         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
617         habits, since they don't use DEADLINE anymore.
619         * org.el (org-repeat-re, org-display-custom-time)
620         (org-timestamp-change): Extended to support the new ".+N/N"
621         syntax, used for habits.
623         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
624         variable reference.
626         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
627         modeline when habits are being displayed (if that module is being
628         loaded).
630 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
632         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
633         idle time using the xscreensaver extension.
634         (org-user-idle-seconds): Use X11 idle time if available.
636 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
638         * org-agenda.el (org-agenda-next-line): New command.
639         (org-agenda-previous-line): New commands.
640         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
641         commands.
642         (org-agenda-follow-mode): Do the follow immediately if the mode is
643         turned on here.
644         (previous-line, next-line): Replace keys with the corresponding
645         org functions.
646         (org-agenda-mode-map): Bind backspace and delete to the scrolling
647         command.
649         * org.el (org-icompleting-read): Turn off partial completion mode
650         for the duration of this completion round.
652         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
653         macros in author lines and similar stuff.
655         * org.el (org-file-tags): Fix docstring.
656         (org-get-buffer-tags): Add the #+FILETAGS tags.
657         ("ecb"): Maks ecb show context after jumping into an Org file.
659 2009-11-13  John Wiegley  <johnw@newartisans.com>
661         * org-agenda.el (org-finalize-agenda): Draw habit consistency
662         graphs after everything else in the buffer has been setup.
664 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
666         * org-mobile.el (org-mobile-apply): Count success and failure.
668         * org.el (org-indent-line-function): Fix regexp replace problem.
670 2009-11-13  John Wiegley  <johnw@newartisans.com>
672         * org-clock.el (org-clock-disable-clock-resolution): New
673         customization variable that disable automatic clock resolution on
674         clock in.
675         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
676         not automatically resolve anything.  This is does not affect
677         idle-time resolution, however, if `org-clock-idle-time' is set.
679 2009-11-13  John Wiegley  <johnw@newartisans.com>
681         * org-habit.el: New file, which implements code to build a "habit
682         consistency graph".
684         * org-agenda.el (org-agenda-get-deadlines)
685         (org-agenda-get-scheduled): Display consistency graphs when
686         outputting habits into the agenda.  The graphs are always relative
687         to the current time.
688         (org-format-agenda-item): Added new parameter `habitp', which
689         indicates whether we are formatting a habit or not.  Do not
690         display "extra" leading information if habitp is true.
692         * org.el (org-repeat-re): Improved regexp to include .+ and ++
693         leaders for repeat strings.
694         (org-get-repeat): Now takes a string parameter `tagline', so the
695         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
697 2009-11-13  John Wiegley  <johnw@newartisans.com>
699         * org-agenda.el (org-agenda-auto-exclude-function): New
700         customization variable for allowing the user to create an "auto
701         exclusion" filter for doing context-aware auto tag filtering.
702         (org-agenda-filter-by-tag): Changes to support the use of
703         `org-agenda-auto-exclude-function'.  See the new manual addition,.
705 2009-11-13  John Wiegley  <johnw@newartisans.com>
707         * org.el (org-files-list): Don't attempt to return a file name for
708         Org buffers which have no associated file.
710         * org-agenda.el (org-agenda-do-action): Fixed a typo.
712 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
714         * org-mobile.el (org-mobile-locate-entry): Interpret files
715         relative to org-directory.
716         (org-mobile-inbox-for-pull): Document the best location for this
717         file.
718         (org-mobile-check-setup): Verify `org-directory'.
719         (org-mobile-create-index-file): Sort the files to be listed in
720         index.org.
722 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
724         * org.el (org-fast-tag-selection): Add a way to display a
725         description for a tag group.  This is done by adding a string to
726         either the startgroup or endgroup cell.
728 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
730         * org-clock.el (org-clock-resolve, org-resolve-clocks)
731         (org-emacs-idle-seconds): Use `org-float-time' instead of
732         `time-to-seconds'
734 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
736         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
737         type.
739         * org.el (org-pre-cycle-hook): Document that `empty' can also be
740         the value of ARG when doing local cycling.
742 2009-11-13  John Wiegley  <johnw@newartisans.com>
744         * org-clock.el (org-clock-resolve-clock): If keeping or
745         subtracting time results in a clock out at a time in the past, and
746         if the resolution occurred due to idleness or invoking `M-x
747         org-resolve-clocks', remember that past moment in time.  On the
748         next clock in, the user will be prompted to see if they want to
749         back-date their new clock to then.
750         (org-clock-resolve): Do not jump the user to the location of a
751         dangling clock if the resolution is occuring due to an idle
752         timeout.  In that case there is typically only one dangling clock,
753         the active one, and there is no value gained by shuffling their
754         windows around to show it to them.  Being prompted to resolve an
755         idle clock should be as inobtrusive as possible.
756         (org-resolve-clocks-if-idle): New function that resolves only the
757         currently active clock if the user has exceeded the time returned
758         by `org-user-idle-seconds', based on the value of
759         `org-clock-idle-time'.
760         (org-clock-in): If, after resolving clocks,
761         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
763         * org-clock.el (org-clock-resolve-clock): New function that
764         resolves a clock to a specific time, closing or resuming as need
765         be, and possibly even starting a new clock.
766         (org-clock-resolve): New function used by `org-resolve-clocks'
767         that sets up for the call to `org-clock-resolve-clock'.  It
768         determines the time to resolve to based on a single-character
769         selection from the user to either keep time, subtract away time or
770         cancel the clock.
771         (org-resolve-clocks): New user command which resolves dangling
772         clocks -- that is, open but not active -- anywhere in the file
773         list returned by `org-files-list'.
774         (org-clock-in): Automatically resolve dangling clocks whenever a
775         user clocks in.
776         (org-clock-cancel): If the user cancels the solely clock in a
777         LOGBOOK, remove the empty drawer.
779         * org-clock.el (org-clock-idle-time): New user customizable option
780         for detecting whether the user has left a clock idle.  Note: it is
781         only used in this commit to test whether it's worthwhile to check
782         OS X to get the Mac user's current idle time.  If the Emacs idle
783         time is less than the value, the user hasn't been away long enough
784         to be worth checking (a more expensive test than just getting
785         Emacs idle time).
786         (org-user-idle-seconds, org-mac-idle-seconds)
787         (org-emacs-idle-seconds): This three functions, in conjunction
788         with the user customization variable `org-clock-idle-time', return
789         the number of seconds (as a floating point) that the user has been
790         away from their Emacs (or, if running on OS X, their computer).
792         * org-clock.el (org-find-open-clocks): New function that returns a
793         list of all open clocks in the given FILE.  Note that each clock
794         it returns is a cons cell of the format (MARKER . START-TIME).
795         This "clock" value is used by several of the new clock module
796         utility functions.
797         (org-is-active-clock): New inline function which tests whether the
798         given clock value is the same as the currently active clock.
799         Returns non-nil if this is the case.
800         (org-with-clock-position): New macro that evaluates FORMS with
801         point in the buffer and at the position of the given clock.
802         Changes to the current clock are global.
803         (org-with-clock): New macro that evaluates FORMS with point in the
804         buffer and at the position of the given clock.  However, changes
805         to the current clock are local and have no effect on the user's
806         active clock.  This allows, for example, far any clock to be
807         cancelled without cancelling the active clock.
808         (org-clock-clock-in): New inline function that switches the active
809         clock to the given clock.  If either the argument RESUME, or the
810         global `org-clock-in-resume', are non-nil, it will resume a clock
811         that was previously left open.
812         (org-clock-clock-out): New inline function that clocks out the
813         given clock value without affecting the currently active clock.
814         (org-clock-clock-cancel): New inline function that cancels the
815         given clock value without affecting the currently active clock.
817         * org-clock.el (org-clock-in): Before creating
818         `org-clock-mode-line-timer', check to make sure an older timer is
819         not currently running.
820         (org-clock-out): Accept new third parameter `at-time', which
821         permits a clock to be clocked out at a specific time.  Note that
822         no attempt is made to verify that the clock out time is later than
823         the clock in time.
825         * org.el (org-files-list): New utility function for returning a
826         list of all open org-mode buffers, plus all files used to build
827         the agenda buffer.  Note that not all the files will necessarily
828         be visited by a buffer at time of call.
829         (org-entry-beginning-position): Like the function
830         `line-beginning-position', this inline function returns the
831         beginning position of the current heading/entry.
832         (org-entry-end-position): Like the function `line-end-position',
833         this inline function returns the end position of the current
834         heading/entry.
836 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
838         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
839         a header line.
841 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
843         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
845 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
847         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
848         entries that have no tags.
849         (org-agenda-search-view): New customize group.
850         (org-agenda-search-view-search-words-only): New option.
851         (org-search-view): Implement substring search.
853 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
855         * org.el (org-outline-level): Add doc string.
857 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
859         * org-inlinetask.el (org-inlinetask-export): Re-introduce
860         variable.
861         (org-inlinetask-export-handler): Only export inline task if the
862         user option calls for it.
864 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
866         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
867         END if present.
869 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
871         * org-latex.el (org-export-latex-tables): Don't format in
872         protected regions.
874 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
876         * org-src.el (org-edit-src-code)
877         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
878         macro editing.
880         * org-agenda.el (org-prefix-category-max-length): New variable.
881         (org-format-agenda-item): Use `org-prefix-category-max-length'.
882         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
884 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
886         * org-mobile.el (org-mobile-create-index-file): Improve the
887         listing of tags and todo keywords.
889         * org-latex.el (org-export-latex-format-image): New function.
890         (org-export-latex-links): Use `org-export-latex-format-image'.
892 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
894         * org-inlinetask.el (org-inlinetask-get-current-indentation)
895         (org-inlinetask-remove-terminator): New functions.
896         (org-inlinetask-export-handler): Terminate the description list.
898         * org-exp.el (org-export-select-backend-specific-text): Remove the
899         region markers.
901         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
902         tasks without content.
904         * org-clock.el: Make sure the clock-in target position does not
905         move to a different node by widening the buffer.
907         * org-html.el (org-export-html-format-image): Wrap image into
908         figure div only when there is a caption.
910         * org-archive.el (org-archive-mark-done): Change default value to
911         nil.
913 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
915         * org.el (org-context): Call `bobp', not `eobp'.
917         * org-clock.el (org-clock-cancel): Remove quotes from marker
918         variables.
920         * org.el (org-read-date-prefer-future): New allowed value `time'.
921         (org-read-date-analyze): Shift day to tomorrow depending on time
922         entered and value of `org-read-date-prefer-future'.
924 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
926         * org.el (org-version, org-get-refile-targets, org-refile)
927         (org-store-log-note, org-diary-to-ical-string)
928         (org-speedbar-set-agenda-restriction):
929         * org-publish.el (org-publish-find-title):
930         * org-plot.el (org-plot/gnuplot):
931         * org-mouse.el (org-mouse-do-remotely):
932         * org-mobile.el (org-mobile-move-capture):
933         * org-mac-message.el (org-mac-message-insert-flagged):
934         * org-latex.el (org-replace-region-by-latex):
935         * org-docbook.el (org-replace-region-by-docbook):
936         * org-clock.el (org-clock-out, org-clock-cancel):
937         * org-bibtex.el (org-execute-file-search-in-bibtex):
938         Use with-current-buffer.
940 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
942         * org.el (org-directory, org-map-entries):
943         * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
945 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
947         * org.el (org-set-tags-to): New command.
949         * org-latex.el (org-export-latex-set-initial-vars): Also check in
950         the plist.
952         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
953         keyword.
955         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
957 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
959         * org-inlinetask.el (org-inlinetask-export): Option removed.
960         (org-inlinetask-export-handler): Better export.
962         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
963         (org-export-as-xoxo): Run the new hook.
965         * org-html.el (org-export-html-final-hook): New hook.
966         (org-export-as-html): Run the new hook.
968         * org-docbook.el (org-export-docbook-final-hook): New hook.
969         (org-export-as-docbook): Run the new hook.
971         * org-ascii.el (org-export-ascii-final-hook): New hook.
972         (org-export-as-ascii): Run the new hook.
974         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
975         space character as the character before the ^/_.
976         (org-export-latex-final-hook): New hook.
977         (org-export-as-latex): Run `org-export-latex-final-hook'.
979 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
981         * org-macs.el (org-if-unprotected-at): Fix docstring.
983         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
984         text in the prefix (if category is a link).
986         * org-latex.el (org-export-latex-preprocess): Deal properly with
987         empty lines in verse environments.
989         * org.el (org-format-latex-header): Inline fullpage.sty.
991         * org-footnote.el (org-footnote-create-definition): Reveal context
992         to add a new footnote definition.
994         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
995         org-table-recalculate when cursor is in TBLFM line.
997         * org-list.el (org-renumber-ordered-list): Fix cursor position
998         when bullet length has changed.
1000 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1002         * org.el (org-format-latex): Mention `org-format-latex-options' in
1003         the docstring.
1005 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1007         * org.el (org-agenda-get): New function.
1009         * org-agenda.el (org-agenda-post-command-hook): No longer move
1010         point away from end of line.
1011         (org-agenda-add-entry-text, org-agenda-collect-markers)
1012         (org-finalize-agenda, org-agenda-mark-clocking-task)
1013         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1014         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1015         (org-agenda-compare-effort, org-agenda-filter-apply)
1016         (org-agenda-later, org-agenda-change-time-span)
1017         (org-agenda-post-command-hook, org-agenda-show-priority)
1018         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1019         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1020         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1021         (org-agenda-open-link, org-agenda-copy-local-variable)
1022         (org-agenda-switch-to, org-agenda-check-no-diary)
1023         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1024         (org-agenda-add-note, org-agenda-change-all-lines)
1025         (org-agenda-priority, org-agenda-set-tags)
1026         (org-agenda-set-property, org-agenda-set-effort)
1027         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1028         (org-agenda-show-new-time, org-agenda-date-prompt)
1029         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1030         (org-agenda-clock-in, org-agenda-bulk-mark)
1031         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1032         `org-get-at-bol'.
1034         * org-colview.el (org-columns-display-here)
1035         (org-columns-edit-allowed, org-agenda-columns): Use
1036         `org-get-at-bol'.
1038 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1040         * org.el (org-special-ctrl-a/e): Improve documentation and
1041         customize type.
1042         (org-end-of-line): Don't jump to after the ellipsis.
1043         (org-mode-map): Bind <home> and <end> as well.
1045 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1047         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1048         space after #+ as comments.
1049         (org-open-at-point): Run `org-follow-link-hook' always.
1051         * org-latex.el (org-export-latex-emph-format): Use better commands
1052         to insert special characters in verbatim snippets.
1054 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1056         * org-faces.el (org-copy-face): New function.  Use it to create
1057         various faces formerly created by using `copy-face'.
1059         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1060         window dedicated.
1061         (org-agenda-quit): Kill the frame containing the agenda window if
1062         that frame was created for the agenda.
1064 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1066         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1067         stamp in the agenda.
1069 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1071         * org-agenda.el (org-prepare-agenda): Reset
1072         `org-drawers-for-agenda'.
1073         (org-prepare-agenda): Uniquify list of drawers.
1075         * org.el (org-complex-heading-regexp-format): New variable.
1076         (org-set-regexps-and-options): Define
1077         `org-complex-heading-regexp-format'.
1078         (org-drawers-for-agenda): New variable.
1079         (org-map-entries): Bind `org-drawers-for-agenda'.
1080         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1082         * org-remember.el (org-go-to-remember-target)
1083         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1085 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1087         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1088         problem.
1090         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1091         always with `invisible-ok'.
1092         (org-store-link): No error when there is nothing to link to in the
1093         agenda.
1095         * org-list.el (org-update-checkbox-count): Insert changed cookie
1096         before the old, to avoid problems with invisibility at the end of
1097         the line.
1098         (org-update-checkbox-count): Insert changed cookie before the old,
1099         to avoid problems with invisibility at the end of the line.
1101         * org.el (org-sort-entries-or-items): Include the final newline.
1102         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1103         lines for fontification.
1104         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1105         (org-prepare-dblock): Store the current indentation of the BEGIN
1106         line.
1107         (org-update-dblock): Apply the indentation of the begin line to
1108         the rest of the block.
1109         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1110         (org-startup-folded): New allowed value `showeverything'.
1111         (org-startup-options): Add STARTUP keyword `showeverything'.
1112         (org-set-startup-visibility): Respect value `showeverything' in
1113         org-startup-folded.
1115 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1117         * org.el (org-closest-date): Fix issue with past preference.
1119         * org-archive.el (org-archive-set-tag)
1120         (org-archive-subtree-default): New commands.
1122         * org-clock.el (org-clock-clocktable-default-properties): New
1123         option.
1124         (org-clock-report): Use
1125         `org-clock-clocktable-default-properties'.
1127 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1129         * org.el (org-iswitchb-completing-read): Fix typo.
1131         * org-crypt.el: New file.
1133         * org.el: Add an entry for org-crypt.
1135 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1137         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1138         consistency.
1139         (org-batch-store-agenda-views): New function.
1140         (org-agenda-title-append): Define variable.
1141         (org-write-agenda): New export to Org files.
1142         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1143         (org-agenda): Allow to keep the restricted file list if a special
1144         variable is bound to t.
1145         (org-agenda): Define a special agenda view for working on flagged
1146         entries.
1147         (org-agenda-get-restriction-and-command): List the new agenda
1148         view.
1149         (org-agenda-show-the-flagging-note): New command.
1150         (org-agenda-mode-map): New key `?' for looking at the flagging
1151         note.
1153         * org.el (org-autoload): Autoload org-mobile.el.
1154         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1156         * org-mobile.el: New file.
1158         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1160 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1162         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1163         statements.
1164         (org-table-get-remote-range): Match indented #+TBLNAME
1165         statements.
1167         * org.el (org-convert-to-odd-levels)
1168         (org-convert-to-oddeven-levels): Work also correctly if the file
1169         is in outline-mode.
1171 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1173         * org.el (org-store-link): When in agenda buffer, link to
1174         referenced entry.
1175         (org-add-planning-info): Remove spaces at eol.
1177         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1178         property.
1180 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1182         * org-latex.el (org-export-latex-first-lines): Fix problem with
1183         LaTeX export of first line and selected subtree.
1185         * org.el (org-shifttab): Interpret arg differently when using only
1186         odd levels.
1188 2009-10-01  Bastien Guerry  <bzg@altern.org>
1190         * org.el (org-check-agenda-file): Use a more explicit message
1192 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1194         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1195         normal lines.
1197 2009-10-01  Bastien Guerry  <bzg@altern.org>
1199         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1200         prompt in the temporary window.
1202         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1203         prefix for marked entries in the agenda view.
1205 2009-10-01  Andreas Burtzlaff  <andy13@gmx.net>  (tiny change)
1207         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1208         a way that prevents any trailing character from being displayed.
1210 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1212         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1213         menu.
1215         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1216         slow regexp match.
1218 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1220         * org-latex.el (org-export-latex-preprocess): Do not protect in
1221         the LaTeX header.
1223         * org-src.el (org-edit-src-save): Save window setup while saving.
1224         (org-edit-src-code): Use new buffer name construction scheme.
1226 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1228         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1229         variable.
1230         (org-agenda-entry-text-cleanup-hook): New hook.
1231         (org-agenda-get-some-entry-text): Remove matches of
1232         `org-agenda-entry-text-exclude-regexps' and run the hook
1233         `org-agenda-entry-text-cleanup-hook'.
1235         * org.el (org-offer-links-in-entry): New argument ZERO to
1236         implement a link with index zero.
1237         (org-cycle-show-empty-lines): Not keep empty line under header
1238         hidden.
1239         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1240         to nil for special completion.
1241         (org-store-link): Don't error before the first heading.
1243         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1244         `org-offer-links-in-entry'.
1246 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1248         * org-agenda.el (org-agenda-quit): Provide the window argument for
1249         `window-dedicated-p', Emacs 22 needs it.
1250         (org-format-agenda-item): If the category is a link, arrange for
1251         invisible text to replaced with spaces.
1252         (org-compile-prefix-format): Add the extra space.
1253         (org-prefix-category-length): New variable.
1255         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1256         references from TOC lines.
1258         * org.el (org-selected-window): New variable.
1260         * org-table.el (org-table-edit-formulas): Remember the selected
1261         window.
1262         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1263         that was originally selected.
1265         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1266         expansion of a macro for more macro definitions.
1268         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1269         invisibility overlay starts on the newline.
1271 2009-10-01  Glenn Morris  <rgm@gnu.org>
1273         * org-agenda.el (calendar-check-holidays):
1274         * org-exp.el (org-agenda-skip):
1275         * org-list.el (outline-back-to-heading):
1276         * org-wl.el (wl-summary-goto-folder-subr):
1277         * org.el (iswitchb-mode, remember, remember-buffer-desc)
1278         (remember-finalize, remember-save-after-remembering, remember-register)
1279         (remember-buffer, remember-handler-functions)
1280         (remember-annotation-functions): Remove unused declarations.
1282         * org.el (iswitchb-read-buffer): Fix declaration.
1284 2009-09-30  Glenn Morris  <rgm@gnu.org>
1286         * org-compat.el (w32-focus-frame):
1287         * org-exp-blocks.el (R):
1288         * org-exp.el (htmlize-buffer):
1289         * org-protocol.el (server-edit):
1290         * org-table.el (org-format-org-table-html):
1291         * org.el (org-indent-mode): Fix declarations.
1293         * org-colview.el (org-columns-uncompile-format): Avoid assignment to
1294         free variable `fun'.
1296 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
1298         * org-agenda.el (org-agenda-restore-windows-after-quit):
1299         Fix typo in docstring.
1301 2009-09-23  Juanma Barranquero  <lekktu@gmail.com>
1303         * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
1304         (org-shiftselect-error, org-ctrl-c-ctrl-c):
1305         * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
1306         * org-attach.el (org-attach-check-absolute-path):
1307         * org-docbook.el (org-export-as-docbook):
1308         * org-html.el (org-export-as-html):
1309         * org-id.el (org-id-update-id-locations):
1310         * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
1311         Fix typos in error messages.
1313 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1315         * org-ascii.el: Require CL for the `loop' macro.
1317 2009-09-05  Carsten Dominik  <dominik@u016822.science.uva.nl>
1319         * org-gnus.el (require): Wrap (require gnus-sum) into
1320         eval-when-compile.
1322 2009-09-03  Carsten Dominik  <dominik@u016822.science.uva.nl>
1324         * org-protocol.el (org-protocol-store-link)
1325         (org-protocol-remember, org-protocol-open-source): Remove autoload
1326         cookies again.
1328         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
1329         referencing the start of the line.
1331         * org-gnus.el: Remove unnecessary declare-function forms.
1332         (gnus-sum): Always require gnus-sum.
1334 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1336         * org-protocol.el (org-protocol-store-link)
1337         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1339         * org-compat.el (org-float-time): New function.
1341         * org.el (org-clock-update-time-maybe)
1342         (org-sort-entries-or-items, org-do-sort)
1343         (org-evaluate-time-range, org-time-string-to-seconds)
1344         (org-closed-in-range): Use `org-float-time'.
1346         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1347         (org-timer-seconds): Use `org-float-time'.
1349         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1350         (org-clock-sum, org-dblock-write:clocktable)
1351         (org-clocktable-steps): Use `org-float-time'.
1353         * org-agenda.el (org-agenda-last-marker-time)
1354         (org-agenda-new-marker, org-diary): Use `org-float-time'.
1356         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1357         function.
1359         * org-exp.el (org-get-file-contents): Only protect lines that
1360         really need it.
1362         * org-html.el (require): Require cl for compilation.
1364         * org.el: Avoid using `default-major-mode'.
1366         * org-plot.el (require): Require CL only at compile time.
1368         * org-exp.el (require): Require CL only at compile time.
1370         * org-agenda.el (org-agenda-quit): When the agenda window is
1371         dedicated, remove other windows before exiting, so that the frame
1372         really will be killed.
1374         * org-exp.el (org-export-handle-include-files): Reset START and
1375         END for each loop cycle.
1377 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1379         * org.el (org-eval-in-calendar): Use
1380         `org-select-frame-set-input-focus'.
1382         * org-compat.el (org-select-frame-set-input-focus): New function.
1384         * org.el (org-update-statistics-cookies): New function.
1385         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1387 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1389         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1390         after the local variables are set.
1392         * org-latex.el (org-export-latex-protect-amp): New function.
1393         (org-export-latex-links): Protect link ampersands in tables.
1395         * org-exp.el (org-export-select-backend-specific-text): Match in
1396         two steps, to avoid regexp problems.
1398         * org.el (org-offer-links-in-entry): Improve working with many and
1399         duplicate links.
1401         * org-agenda.el (org-agenda-show-1): Make more consistent with
1402         normal cycling.
1403         (org-agenda-cycle-show): Make more consistent with normal cycling.
1405         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1406         website.
1408 2009-09-02  Bastien Guerry  <bzg@altern.org>
1410         * org-latex.el (org-export-latex-first-lines): Bugfix.
1412 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1414         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1415         about new effort.
1417         * org.el (org-set-effort): New function.
1418         (org-mode-map): New key for effort setting command.
1420         * org-agenda.el (org-agenda): Keep window setup when calling
1421         agenda from within agenda window.
1422         (org-agenda-mode-map): New keys for effort setting commands.
1423         (org-agenda-menu): Add effort setting commands to menu.
1424         (org-agenda-set-property, org-agenda-set-effort): New functions.
1426         * org-latex.el (org-export-latex-tables): Fix
1427         `org-table-last-alignment' and `org-table-last-column-widths' if
1428         the first column has been removed.
1430 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1432         * org.el (org-remove-timestamp-with-keyword): Only remove in
1433         entry, not in subtree.
1435         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1436         emacs lisp.
1438         * org.el (org-open-at-point): When on headline, offer all strings
1439         in entry.
1441         * org-remember.el (org-remember-templates): Documentation fix.
1443         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1444         `org-get-last-sibling' instead of the outline versions of these
1445         functions.
1446         (org-get-last-sibling): New function.
1447         (org-refile): Use `org-get-next-sibling' instead of the outline
1448         version of this function.
1449         (org-clean-visibility-after-subtree-move): Use
1450         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1451         outline versions of these functions.
1453 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1455         * org-agenda.el (org-prepare-agenda): When creating a new frame
1456         for the agenda, make the window dedicated.
1458         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1460         * org-table.el (org-table-align): Change the order of reinsertion
1461         and deletion, to avoid problems with overlays following the table.
1463         * org.el (org-parse-time-string): Better error message.
1464         (org-show-subtree): Use org-end-of-subtree.
1466         * org-macs.el (org-goto-line): New defsubst.
1468         * org.el (org-open-file, org-change-tag-in-region)
1469         (org-fast-tag-show-exit): Don't use `goto-line'.
1471         * org-table.el (org-table-align, org-table-insert-column)
1472         (org-table-delete-column, org-table-move-column)
1473         (org-table-sort-lines, org-table-copy-region)
1474         (org-table-paste-rectangle, org-table-wrap-region)
1475         (org-table-get-specials, org-table-rotate-recalc-marks)
1476         (org-table-get-range, org-table-recalculate)
1477         (org-table-edit-formulas, org-table-fedit-convert-buffer)
1478         (org-table-show-reference, org-table-highlight-rectangle): Don't
1479         use `goto-line'.
1481         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1482         (org-edit-src-exit): Don't use `goto-line'.
1484         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1486         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1487         Don't use `goto-line'.
1489         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1491         * org-colview.el (org-columns, org-columns-redo)
1492         (org-agenda-columns): Don't use `goto-line'.
1494         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1495         use `goto-line'.
1497         * org-agenda.el (org-agenda-mode): Force visual line motion off.
1498         (org-agenda-add-entry-text-maxlines): Improve docstring.
1499         (org-agenda-start-with-entry-text-mode): New option.
1500         (org-agenda-entry-text-maxlines): New option.
1501         (org-agenda-entry-text-mode): New variable.
1502         (org-agenda-mode): Set initial value of
1503         `org-agenda-entry-text-mode'.
1504         (org-agenda-mode-map): Add the `E' key.
1505         (org-agenda-menu): Add entry text mode to the menu.
1506         (org-agenda-get-some-entry-text): Fix line count bug.
1507         (org-finalize-agenda): Apply entry text mode if appropriate.
1508         (org-agenda-entry-text-show-here): New function.
1509         (org-agenda-entry-text-show): New function.
1510         (org-agenda-entry-text-hide): New function.
1511         (org-agenda-view-mode-dispatch): Add entry text mode to the view
1512         key menu.
1513         (org-agenda-entry-text-mode): New command.
1514         (org-agenda-set-mode-name): Add entry text mode to the mode line
1515         string.
1516         (org-agenda-undo, org-agenda-get-restriction-and-command)
1517         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1518         `goto-line'.
1520 2009-09-02  Bernt Hansen  <bernt@norang.ca>
1522         * org-clock.el (org-notify): Bugfix.
1524 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1526         * org-agenda.el (org-agenda-open-link): Handle multiple links and
1527         check for after-string.
1529         * org-gnus.el (org-gnus-store-link): Simplify.
1531         * org.el (org-latex-regexps): Don't add extra empty lines for
1532         display formulas.
1534 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1536         * org-agenda.el (org-agenda-get-some-entry-text): New function.
1537         (org-agenda-add-entry-text): Use
1538         `org-agenda-get-some-entry-text'.
1540         * org.el (org-cycle-separator-lines): Update docstring.
1541         (org-cycle-show-empty-lines): Handle negative values for
1542         `org-cycle-show-empty-lines'.
1544         * org-exp.el (org-export-protect-sub-super): New function.
1545         (org-export-normalize-links): Protect the url of plain links from
1546         supscript and superscript processing.
1548         * org-remember.el (org-remember-escaped-%): New function.
1549         (org-remember-apply-template): Use `org-remember-escaped-%' to
1550         detect escaped % signs.
1552 2009-09-02  Bastien Guerry  <bzg@altern.org>
1554         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1555         sound when showing the notification.
1557         * org-clock.el (org-notify): New function.
1558         (org-clock-notify-once-if-expired): Use `org-notify'.
1560         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1561         and `gnus-article-mode' separately.
1562         (gnus-summary-article-header): Fix the declare-function.
1564 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1566         * org-exp.el (org-export-format-source-code-or-example): Translate
1567         language.
1569         * org-src.el (org-src-lang-modes): New variable
1570         (org-edit-src-code): Translate language.
1572         * org-exp.el (org-export-format-source-code-or-example): Deal wit
1573         the new structure of the `org-export-latex-listings-langs'
1574         variable.
1576         * org-latex.el (org-export-latex-listings-langs): Change structure
1577         of the variable from plist to alist.
1579 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1581         * org.el (org-in-commented-line): New function.
1583 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1585         * org.el (org-hide-block-toggle): Make folded blocks searchable.
1587 2009-09-02  Friedrich Delgado Friedrichs  <friedel@nomaden.org>  (tiny change)
1589         * org.el (org-flag-drawer): More useful error.
1591 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1593         * org-remember.el (org-remember-apply-template): Use
1594         org-icompleting-read.
1596         * org-publish.el (org-publish): Use org-icompleting-read.
1598         * org-colview.el (org-columns-edit-value, org-columns-new)
1599         (org-insert-columns-dblock): Use org-icompleting-read.
1601         * org-colview-xemacs.el (org-columns-edit-value)
1602         (org-columns-new, org-insert-columns-dblock): Use
1603         org-icompleting-read.
1605         * org-attach.el (org-attach-delete-one, org-attach-open): Use
1606         org-icompleting-read.
1608 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1610         * org.el (org-hierarchical-todo-statistics): Improve docstring.
1611         (org-version): Return the version text.
1612         (org-org-menu): Add a menu entry for the new bug reporter.
1613         (org-submit-bug-report): New command.
1615         * org-list.el (org-hierarchical-checkbox-statistics): Improve
1616         docstring.
1618         * org.el (org-emphasis-regexp-components): Add "`" to set of
1619         pre-emphasis characters.
1621         * org-latex.el (org-export-latex-classes): Always include the soul
1622         package.
1623         (org-export-latex-emphasis-alist): Use \st for strikethough.
1625         * org-exp-blocks.el (org-export-blocks-preprocess): Use
1626         `indent-code-rigidly' to indent.
1628         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1629         properties only if MATCH really is a string.
1631 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1633         * org-latex.el (org-export-latex-packages-alist): Fix
1634         customization type.
1636         * org.el (org-create-formula-image): Also use
1637         `org-export-latex-packages-alist'.
1639         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1640         (org-export-as-html): Format footnotes correctly.
1642 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1644         * org.el (org-fast-tag-selection): Avoid text properties on tags
1645         in the alist.
1647         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1648         text properties on the match element.
1650 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1652         * org.el (org-set-regexps-and-options): Make sure the list of done
1653         keywords is not invalid.
1655         * org-exp.el (org-export-interpolate-newlines): New function.
1657 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1659         * org.el (org-format-latex): Avoid nested overlays.
1661         * org-latex.el (org-export-latex-listings-langs): Add a few more
1662         languages.
1664         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1665         ignore newlines and space before the first macro argument.
1667         * org-latex.el (org-export-latex-tables): Remove save-excursion
1668         around `org-table-align'.
1670 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1672         * org.el (org-export-html-special-string-regexps): Definition
1673         moved into org.el.
1675         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1676         in macro calls.
1678 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1680         * org-latex.el (org-export-latex-listings)
1681         (org-export-latex-listings-langs): New options.
1683         * org-exp.el (org-export-format-source-code-or-example): Use
1684         listing package if requested by the user.
1686 2009-09-02  Bastien Guerry  <bzg@altern.org>
1688         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1689         command before actually switching to a buffer.
1691 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1693         * org-exp.el (org-get-file-contents): Only quote org lines when
1694         the markup is src or example.
1696         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1697         New option
1698         (org-agenda-get-day-entries): Remember deadline results and pass
1699         them on into the function getting the scheduling information.
1700         (org-agenda-get-scheduled): Accept deadline results as parameters
1701         and maybe skip some entries.
1702         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1704         * org.el (org-insert-heading): When respecting content, do not
1705         convert current line to headline.
1707         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1708         cheeeeeck the hd marker
1709         (org-clock-in): Also set the hd marker.
1710         (org-clock-out): Also set the hd marker.
1711         (org-clock-cancel): Reset markers.
1713         * org.el (org-clock-hd-marker): New marker.
1715         * org-faces.el (org-agenda-clocking): New face.
1717         * org-agenda.el (org-agenda-mark-clocking-task): New function.
1718         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1720         * org.el (org-modules): Add org-track.el.
1722         * org-agenda.el (org-agenda-bulk-marked-p): New function.
1723         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1724         `org-agenda-bulk-marked-p'.
1725         (org-agenda-bulk-toggle): New command.
1727 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1729         * org.el (org-move-subtree-down): Hide subtree if it was folded,
1730         not just the body.
1732         * org-remember.el (org-remember-finalize): Avoid buffer-modified
1733         messages.
1735 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1737         * org-html.el (org-export-as-html):
1738         * org-docbook.el (org-export-as-docbook):
1739         Use (default-value 'major-mode) instead of default-major-mode.
1741 2009-08-08  Carsten Dominik  <carsten.dominik@gmail.com>
1743         * org-docbook.el: Add arch-tag.
1745         * org-exp-blocks.el: Add arch-tag.
1747         * org-id.el: Add arch-tag.
1749         * org-indent.el: Add arch-tag.
1751         * org-inlinetask.el: Add arch-tag.
1753         * org-protocol.el: Add arch-tag.
1755 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1757         * org.el (org-create-formula-image): Remove the -E option for
1758         dvipng.
1760         * org-exp.el (org-default-export-plist): Respect #+BIND.
1761         (org-export-confirm-letbind): New function.
1763         * org.el (org-paste-subtree): Test the kill ring entry if it is
1764         going to be used.
1765         (org-copy-subtree): Use `org-forward-same-level'.
1766         (org-forward-same-level): Respect the `invisibe-ok' arg for
1767         back-to-heading.
1769 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1771         * org.el (org-table-map-tables): Make sure cursor is back at table
1772         beginning after funcall.
1774         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1775         handled before children, and do not error if an entry is not
1776         found, probably because it hase been remove when the parent was
1777         archived or refiled.
1779         * org.el (org-ido-completing-read): Accept straight lists for
1780         completion as well as alists.
1782         * org-timer.el (org-timer-cancel-timers): Rename from
1783         `org-timer-cancel-timers'.
1785         * org.el (org-cycle-internal-local): Fix problem with finding next
1786         invisible line.
1788 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1790         * org-list.el (org-list-send-list): Call
1791         `org-list-goto-true-beginning' instead of
1792         `org-list-find-true-beginning', which does not exist.
1794         * org-timer.el (org-timer-reset-timers): Use `mapc'.
1795         (org-timer-set-timer): Do not assign to heading.
1797         * org-id.el (org-id-open): Quote function name.
1799         * org-macs.el (org-unmodified): Turn off recording undo
1800         information while running inside the macro.
1802         * org-table.el (org-table-export): Also work in file-less
1803         buffers.
1805         * org.el (org-startup-indented): New option.
1806         (org-startup-options): Add new options indent and noindent.
1807         (org-unfontify-region): Remove line-prefix and wrap-prefix
1808         properties.
1809         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
1810         hooks.
1811         (org-promote, org-demote): Run the new hooks.
1813         * org-table.el (org-table-align): Replace leading \n as well.
1815         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
1816         and `line-wrap' text properties.
1818         * org-compat.el (org-kill-new): New function.
1820         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
1821         `line-wrap' text properties.
1823         * org-indent.el: New file.
1825 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1827         * org.el (org-provide-todo-statistics): Tweak docstring.
1829         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
1831 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1833         * org-exp.el (org-export-as-org): Insert the "-source" string
1834         before the extension.
1836         * org.el (org-read-date): Make sure the calendar is in the current
1837         frame.
1838         (org-set-emph-re): Remove the ? from the post-match.
1839         (org-emphasis-regexp-components): Add backslash to the
1840         postmatch class.
1841         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
1842         optional so that also lines at the end of the buffers will still
1843         be matched as headlines.
1845         * org-table.el (org-table-error-on-row-ref-crossing-hline):
1846         Variable made obsolete.
1847         (org-table-relative-ref-may-cross-hline): New option.
1848         (org-table-find-row-type): Honow the new option
1849         `org-table-relative-ref-may-cross-hline'.
1851 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1853         * org-table.el (org-table-cut-region, org-table-copy-region): Work
1854         on single field if no active region.
1856 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1858         * org-latex.el (org-export-latex-make-header): Only insert title
1859         if one is defined.
1861         * org.el (org-make-options-regexp): Allow empty values.
1863 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1865         * org.el (org-cycle-internal-local): Improved version of finding
1866         next visible line.
1867         (org-cycle-hide-drawers): Only hide drawers if this is really
1868         necessary.
1869         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
1870         org-version of this function in Org-mode.  We use advice to
1871         implement this change, so that future changes to this function in
1872         outline.el wil be handled properly.
1873         (org-forward-same-level, org-backward-same-level): New commands.
1875 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1877         * org.el (org-remove-empty-overlays-at)
1878         (org-clean-visibility-after-subtree-move): New functons.
1879         (org-move-subtree-down): Simplify cleanup of display.
1881 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1883         * org-mac-message.el (org-mac-message-get-links): Improve
1884         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
1885         "s".  Fix the return value.
1886         (org-mac-message-insert-flagged): Simplify.
1888         * org.el (org-refile-get-location): Tamper with refile history o
1889         that history contains compete matches instead of the entered
1890         string.
1892 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1894         * org.el (org-store-link): Never store a link to an inline task.
1896         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
1897         inline tasks when positioning footnotes.
1899         * org.el (org-refile): Remove the END line when archiving an
1900         inline task that does have an END line.
1902         * org-archive.el (org-archive-subtree): Remove the END line when
1903         archiving an inline task that does have an END line.
1905         * org-macs.el (org-with-limited-levels): New macro.
1906         (org-get-limited-outline-regexp): New function.
1908         * org-exp.el (org-export-format-source-code-or-example): Fix bug
1909         that did not enumerate first line.
1910         (org-export-mark-radio-links): Skip matches in links.
1912 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1914         * org.el (org-activate-plain-links): Make single-match.
1915         (org-adapt-indentation): Fix docstring.
1917         * org-macs.el (org-unmodified): Turn of modification hooks while
1918         running this macro.
1920 2009-08-06  Bastien Guerry  <bzg@altern.org>
1922         * org.el (org-adapt-indentation): Slightly improve the docstring.
1923         (org-occur): Sends an error when the user inputs an empty string.
1924         (org-priority): Bugfix: the tag alignement should happen within
1925         save-excursion.
1927 2009-08-06  Bastien Guerry  <bzg@altern.org>
1929         * org.el (org-make-link-regexps): Don't exclude parentheses from
1930         `org-plain-link-re'
1931         (org-cycle-internal-local): When locally cycling, switch directly
1932         from CHILDREN to FOLDED if there is no subtree
1933         (org-cycle): Update the docstring to document the new behavior of
1934         `org-cycle-internal-local'.
1936 2009-08-06  Nicolas Goaziou  <n.goaziou@neuf.fr>  (tiny change)
1938         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
1939         an abbreviated format for days.
1941 2009-08-06  Bastien Guerry  <bzg@altern.org>
1943         * org-protocol.el (org-protocol-default-template-key): New
1944         option.
1946         * org.el (org-refile): Bugfix: save-excursion before reading the
1947         refile target, otherwise cursor moves might confuse `org-refile'.
1949         * org.el (org-toggle-heading): Bugfix: correctly convert list
1950         items before the first headline.
1952         * org.el (org-provide-todo-statistics): Allow a list of TODO
1953         keywords to compute statistics against headlines containing a
1954         keyword from this list.
1955         (org-update-parent-todo-statistics): Possibly use the new allowed
1956         value of `org-provide-todo-statistics'.
1958 2009-08-06  Bastien Guerry  <bzg@altern.org>
1960         * org-timer.el: Add autoload cookie.
1962         * org.el (org-occur-link-in-agenda-files): New function.
1964         * org-timer.el (org-timer-last-timer): New variable.
1966         * org-agenda.el (org-agenda-mode-map): New key for
1967         org-timer-set-timer called from the agenda.
1969         * org.el (org-mode-map): New key for org-timer-set-timer.
1971         * org-timer.el (org-timer-reset-timers)
1972         (org-timer-show-remaining-time, org-timer-set-timer): New
1973         functions.
1975         * org-clock.el (org-show-notification): Update the docstring.
1977         * org.el (org-provide-todo-statistics): Allow new value
1978         'all-headlines for this option, which includes entries with no
1979         TODO keywords in the todo statistics.
1980         (org-update-parent-todo-statistics): Possibly use the new
1981         'all-headline value from `org-provide-todo-statistics'.
1983 2009-08-06  Bastien Guerry  <bzg@altern.org>
1985         * org-clock.el (org-dblock-write:clocktable): Add a new option
1986         :timestamp which allows display of timestamps in clock reports.
1988         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
1989         list to a subtree, preserving the structure of the list.
1990         (org-set-emph-re): Make the last element optional in the regexp.
1991         This regexp now matches an emphasized string at the end of a line.
1993         * org-list.el (org-list-goto-true-beginning)
1994         (org-list-make-subtree, org-list-make-subtrees): New functions.
1996         * org.el (org-eval-in-calendar): Select the right frame.
1997         (org-save-frame-excursion): Remove this macro.
1999 2009-08-06  Bastien Guerry  <bzg@altern.org>
2001         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2002         trying to find the beginning of a list.
2004         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2005         When present, tell org-get-file-contents not to protect org-like
2006         lines.
2008         * org-id.el (org-id-uuid-program): New option to set the name of
2009         the uuidgen program.
2010         (org-id-method): Use `org-id-uuid-program'.
2011         (org-id-new): Use `org-id-uuid-program'.
2013 2009-08-06  Bastien Guerry  <bzg@altern.org>
2015         * org-exp.el (org-export-number-lines): Allow whitespace in code
2016         references.  Allow the -r switch to remove the references in the
2017         source code even when the lines are not numbered: the labels can
2018         be explicit enough.
2020         * org.el (org-fontify-whole-heading-line): New option.
2021         (org-set-font-lock-defaults): Use the new option.
2023         * org-clock.el (org-show-notification-handler): New option.
2024         (org-show-notification): Use the new option.
2026 2009-08-06  Bastien Guerry  <bzg@altern.org>
2028         * org.el (org-eval-in-calendar): Fix a bug about calendar
2029         navigation when `calendar-setup' value is 'calendar-only.
2031 2009-08-06  Bastien Guerry  <bzg@altern.org>
2033         * org.el (orgstruct++-mode): Fix typo in docstring.
2034         (org-insert-link): Clean up: (or (...)) => (...)
2035         (org-insert-link): Use TAB for stored links completion.
2037 2009-08-06  Bastien Guerry  <bzg@altern.org>
2039         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2040         building the list of targets.
2042         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2043         option.
2044         (org-remember-handler): Use the new option.
2046 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2048         * org.el (org-tags-sort-function): New option for sorting tags.
2049         (org-set-tags): Use the new option to sort tags.
2051         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2052         premature deletion of the data when using org-plot in a script.
2054 2009-08-06  Bastien Guerry  <bzg@altern.org>
2056         * org-clock.el (org-clock-in-prepare-hook): New hook.
2057         (org-clock-in): Use this new hook.
2059 2009-08-06  Bastien Guerry  <bzg@altern.org>
2061         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2062         'reversed for this option to the "true line boundary first"
2063         behavior.
2064         (org-tags-match-list-sublevels): Document the 'indented value for
2065         this variable.
2067         * org-latex.el (org-export-latex-first-lines): Fix problem with
2068         publishing the region.
2070         * org-exp.el (org-export-format-source-code-or-example): Fix
2071         bad line numbering when exporting examples in HTML.
2073 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2075         * org-colview.el (org-format-time-period): Formats a time in
2076         fractional days as days, hours, mins, seconds.
2077         (org-columns-display-here): Add special handling for SINCE and
2078         SINCE_IA to format for display.
2080         * org.el (org-time-since): Add a function to get the time since an
2081         org timestamp.
2082         (org-entry-properties): Add two new special properties: SINCE and
2083         SINCE_IA.  These give the time since any active or inactive
2084         timestamp in an entry.
2085         (org-special-properties): Add SINCE, SINCE_IA.
2086         (org-tags-sort-function): Add custom declaration for tags
2087         sorting function.
2088         (org-set-tags): Sort tags if org-tags-sort-function is set.
2090 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2092         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2094         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2096         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2097         option.
2099 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2101         * org-publish.el (org-publish-remove-all-timestamps): New function.
2102         (org-publish-all): Remove all timestamp files if `org-publish-all'
2103         is called with a prefix argument.
2105         * org-list.el (org-indent-item): Fix typo.
2106         (org-item-indent-positions): Normalize ordered bullet.
2108 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2110         * org-macs.el (org-set-local): Make a local variable, do not make
2111         the variable buffer-local!
2113         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2115         * org-exp.el (org-infile-export-plist): Read BIND lines.
2116         (org-install-letbind): New function.
2117         (org-export-as-org, org-export-preprocess-string): Call
2118         `org-install-letbind'.
2120         * org-list.el (org-list-demote-modify-bullet): New option.
2121         (org-first-list-item-p): Save point.
2122         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2123         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2124         (org-item-indent-positions): Return bullet types along with
2125         indentation.
2127 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2129         * org.el (org-show-entry): Hide drawers.
2131 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2133         * org-footnote.el (org-footnote-auto-adjust): New option.
2134         (org-footnote-auto-adjust-maybe): New function.
2135         (org-footnote-new, org-footnote-delete): Call
2136         `org-footnote-auto-adjust-maybe'.
2138         * org.el (org-startup-options): Add new footnote-related
2139         keywords.
2141         * org-publish.el (org-publish-timestamp-filename): Additional
2142         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2143         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2144         TRUE-PUB-DIR.  Pass them through to
2145         `org-publish-timestamp-filename'.
2146         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2147         PUB-FUNC, which are included in the hash.
2148         (org-publish-file): Delay timestamp test until the publishing
2149         function is known.
2151 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2153         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2154         setting the deadline.
2156         * org.el (org-read-date-final-answer): New variable.
2157         (org-read-date): Store the final answer string, including the date
2158         from the calendar, for reuse by agenda bulk commands.
2160         * org-publish.el (org-publish-attachment): Fix publishing of
2161         attachments.
2163         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2164         quotation makrs in parenthesis.
2165         (org-remove-initial-hash): New function.
2166         (org-export-latex-preprocess): Fix bug with infinite loop if
2167         environment is not properly closed.
2169         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2170         when indented.
2172         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2173         highlight also when indented.
2175 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2177         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2178         (org-footnote-action): Offer renumbering.
2180         * org.el (org-cycle): Honor the `integrate' value of
2181         org-cycle-include-plain-lists'.
2183         * org-list.el (org-cycle-include-plain-lists): New allowed value
2184         `internal'.  Improve the docstring.
2186         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2187         regexp to work better with LaTeX commands.
2189 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2191         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2192         and eps extensions.
2194 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2196         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2197         loaded.
2199         * org.el (org-map-entries): No longer force
2200         `org-tags-match-list-sublevels' to t during a todo-only tags
2201         search.
2203 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2205         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2206         environment.
2207         (org-export-latex-subcontent): Handle user-defined environment.
2209         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2210         the View dispatcher.
2212         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2213         `make-overlay'.
2215         * org-latex.el (org-export-as-pdf): Protect match data during call
2216         to shell-quote-argument.
2218         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2219         (org-agenda-view-mode-dispatch): New function.
2221 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2223         * org-agenda.el (org-agenda-mode): Reset list of marks.
2224         (org-agenda-mode-map): Define new keys for refile and bulk action.
2225         (org-agenda-menu): Add menu itesm for refile and bulk action.
2226         (org-agenda-refile): New function.
2227         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2228         (org-agenda-marked-entries): New variable.
2229         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2230         (org-agenda-remove-all-bulk-action-marks)
2231         (org-agenda-bulk-action): New functions/commands.
2233 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2235         * org-exp.el (org-get-file-contents): Protect org-like lines in
2236         included files.
2237         (org-export-format-source-code-or-example): Remove newlines.
2239         * org-latex.el (org-export-latex-links): Check for no-description
2240         marking.
2242         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2243         argument separator back to comma.
2244         (org-export-normalize-links): Mark links without description.
2246 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2248         * org-exp.el (org-infile-export-plist): Fix bug in macro
2249         processing.
2251         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2252         out.
2253         (org-agenda-highlight-todo): Fix bug with highlighting.
2255 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2257         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2258         new alignment strings.
2260         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2261         command list.
2262         (org-table-align): Check for forced align type.
2264         * org.el (org-self-insert-command): Add yas/expand to command
2265         list.
2267         * org-clock.el (org-clock-in-hook): New hook.
2268         (org-clock-in): Run `org-clock-in-hook.
2269         (org-clock-out-hook): New hook.
2270         (org-clock-out): Run `org-clock-out-hook.
2271         (org-clock-cancel-hook): New hook.
2272         (org-clock-cancel): Run `org-clock-cancel-hook.
2273         (org-clock-goto-hook): New hook.
2274         (org-clock-goto): Run `org-clock-goto-hook.
2276 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2278         * org.el (org-store-link): Better default description for link to
2279         Org-mode headline.
2281         * org-exp.el (org-export-generic): Autoload the generic exporter
2282         function.
2283         (org-export): Implement the `g' key for the generic exporter.
2285 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2287         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2288         and for zbacktab'.
2290         * org-exp.el (org-infile-export-plist): Get macros also from
2291         #+SETUPFILE.
2293 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2295         * org-colview.el (org-columns-capture-view): Protect vertical bars
2296         in column values.
2297         (org-columns-capture-view): Exclude comment and archived trees.
2299         * org-colview-xemacs.el (org-columns-capture-view): Protect
2300         vertical bars in column values.
2301         (org-columns-capture-view): Exclude comment and archived trees.
2303         * org.el (org-quote-vert): New function.
2305         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2307         * org-exp.el (org-export-format-source-code-or-example): Use
2308         `org-export-latex-verbatim-wrap'.
2310         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2311         time stamps.
2313 2009-08-06  Eric Schulte  <schulte.eric@gmail.com>
2315         * org-exp-blocks.el: New file.
2317 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2319         * org-remember.el (org-remember-templates): Allow the headline
2320         element to be a function.
2321         (org-remember-apply-template): If the headline is a function, call
2322         it to get the true function.
2324         * org-clock.el (org-clock-menu): New function.
2325         (org-clock-update-mode-line): Update help string.
2326         (org-clock-modify-effort-estimate): New function.
2327         (org-clock-mark-default-task): New function.
2329         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2330         minutes as input.
2331         (org-org-menu): Add new clocking stuff.
2332         (org-clock-is-active): New function.
2334 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2336         * org.el (org-open-non-existing-files): Improve docstring.
2338 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2340         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2341         option.
2342         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2344         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2346         * org-list.el (org-get-checkbox-statistics-face): Use the new
2347         faces.
2349         * org-faces.el (org-checkbox-statistics-todo)
2350         (org-checkbox-statistics-done): New faces.
2352 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2354         * org-latex.el (org-export-latex-use-verb): New variable.
2355         (org-export-latex-emph-format): Prefer \texttt over \verb when
2356         org-export-latex-use-verb is set.
2358 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2360         * org-remember.el (org-remember-handler): Abort remember if the
2361         buffer is empty.
2363         * org-exp.el (org-export-format-source-code-or-example): Run
2364         `org-src-mode-hook'.
2366 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2368         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2370 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
2372         * org-gnus.el (org-gnus-store-link): Require message.el in
2373         org-gnus-store-link.
2375 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2377         * org-src.el: New file, split out of org.el.
2379         * org-macs.el (org-replace-match-keep-properties): New function.
2381         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2382         preprocessing of center and quote and verse blocks.
2384         * org-list.el (org-list-end): Respect the stored "original"
2385         indentation when determining the end of the list.
2387         * org-exp.el (org-export-replace-src-segments-and-examples):
2388         Remember indentation correctly.
2390 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2392         * org-clock.el (org-clock-update-mode-line): Apply face
2393         org-mode-line-clock.
2395         * org-faces.el (org-mode-line-clock): New face.
2397 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
2399         * org-gnus.el (org-gnus-store-link): Fix bug where
2400         `org-gnus-store-link' used wrong subject when called in an article
2401         buffer.  Patch provided by fengli AT gmail DOT com.
2403 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2405         * org-exp.el (org-export-format-source-code-or-example): Remember
2406         the original indentation of source code snippets and examples.
2408         * org-latex.el (org-export-as-latex): Relocate the table of
2409         contents.
2411         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2413         * org-agenda.el (org-run-agenda-series): Scope global options also
2414         when creating the agenda buffer.
2416 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2418         * org.el (org-adapt-indentation): Improve documentation.
2419         (org-insert-property-drawer): Respect org-adapt-indentation when
2420         inserting the drawer.
2421         (org-remove-flyspell-overlays-in): New function.
2422         (org-do-emphasis-faces, org-activate-plain-links)
2423         (org-activate-code, org-fontify-meta-lines-and-blocks)
2424         (org-activate-angle-links, org-activate-footnote-links)
2425         (org-activate-bracket-links, org-activate-dates)
2426         (org-activate-target-links, org-activate-tags): Remove flyspell
2427         overlays.
2429 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2431         * org.el (org-edit-src-save): New function.
2433         * org-clock.el (org-clock-out-switch-to-state): New option.
2434         (org-clock-out): Honor `org-clock-out-switch-to-state'.
2436         * org-compat.el (org-compatible-face): Improve macro.
2438         * org.el (org-global-properties-fixed): Add default for
2439         CLOCK_MODELINE_TOTAL.
2441         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2442         andd tend.
2443         (org-clock-sum-current-item): Optional argument TSTART, pass it to
2444         org-clock-sum.
2445         (org-clock-get-sum-start): New function.
2447         * org.el (org-startup-options): New keywords blockhide and
2448         blockshow.
2449         (org-mode): Add new invisibility spec.
2450         (org-set-startup-visibility): Hide block on startup if so
2451         desired.
2452         (org-hide-block-startup): New option.
2453         (org-block-regexp): New constant.
2454         (org-hide-block-overlays): New variable.
2455         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2456         (org-show-block-all, org-hide-block-toggle-maybe)
2457         (org-hide-block-toggle): New functions.
2458         (org-edit-src-exit): Do not quote lines starting with # and no +
2459         behind it.
2460         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2461         entry.
2463 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2465         * org.el (org-buffer-property-keys): Add Effort property for
2466         completion.
2468 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2470         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2471         when retrieving total clocked time in the subtree.
2473         * org.el (org-quoting-blocks): New variable.
2475 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2477         * org-table.el (org-table-store-formulas)
2478         (org-table-get-stored-formulas, org-table-fix-formulas)
2479         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2480         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2482         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2483         indented #+TBLFM line.
2485         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2486         indented #+TBLFM line.
2488         * org-colview.el (org-dblock-write:columnview): Allow indented
2489         #+TBLFM line.
2491         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2492         indented #+TBLFM line.
2494         * org-clock.el (org-dblock-write:clocktable): Allow indented
2495         #+TBLFM line.
2497 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2499         * org-exp.el (org-export-format-source-code-or-example): Make
2500         editing indented blocks work correctly.
2502         * org.el (org-edit-src-nindent): New variable.
2503         (org-edit-src-code, org-edit-fixed-width-region)
2504         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2505         editing indented blocks work correctly.
2507 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2509         * org-exp.el (org-export-replace-src-segments-and-examples): Find
2510         indented blocks.
2511         (org-export-format-source-code-or-example): Fix indentation of
2512         blocks.
2513         (org-export-remove-indentation): New function.
2514         (org-export-select-backend-specific-text): Allow backend-specific
2515         code to be indented.
2516         (org-export-mark-blockquote-verse-center): Allow markers to be
2517         indented.
2519         * org.el (org-fontify-meta-lines): New function.
2520         (org-set-font-lock-defaults): Call the new fontification
2521         function.
2523         * org-faces.el (org-meta-line): New face
2524         (org-block): New face.
2526 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2528         * org.el (org-treat-insert-todo-heading-as-state-change)
2529         (org-treat-S-cursor-todo-selection-as-state-change): New
2530         variables.
2531         (org-insert-todo-heading): Honor
2532         `org-treat-insert-todo-heading-as-state-change'.
2533         (org-shiftright, org-shiftleft): Honor
2534         `org-treat-S-cursor-todo-selection-as-state-change'.
2535         (org-inhibit-logging): New variable.
2537 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2539         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2540         range for marker position checking.
2542         * org-latex.el (org-export-latex-first-lines): Fix bug when
2543         exporting a region.
2545 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2547         * org-exp.el (org-export-push-to-kill-ring): Protect using
2548         x-set-selection, because that does not always work.
2550         * org-agenda.el (org-agenda-list): Apply the new face
2551         `org-agenda-date-today'.
2553         * org-faces.el (org-agenda-date-today): New face.
2555 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2557         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2558         creating appointments.
2560         * org-latex.el (org-export-latex-low-levels): Fix customization
2561         type.
2563         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2564         priority commands.
2566         * org-agenda.el (org-agenda-priority): Disable priority commands.
2568         * org.el (org-enable-priority-commands): New option.
2570         * org-colview-xemacs.el (org-columns-compute)
2571         (org-columns-number-to-string): Fix problems with empty fields.
2573         * org-colview.el (org-columns-compute)
2574         (org-columns-number-to-string): Fix problems with empty fields.
2576         * org-exp.el (org-export-push-to-kill-ring): New function.
2577         (org-export-copy-to-kill-ring): New option.
2579         * org-latex.el (org-export-as-latex): Call
2580         `org-export-push-to-kill-ring'.
2582         * org-exp.el (org-export-show-temporary-export-buffer): New
2583         option.
2585         * org-latex.el (org-export-as-latex): Use
2586         `org-export-show-temporary-export-buffer'.
2588         * org-exp.el (org-export-show-temporary-export-buffer): New
2589         option.
2590         (org-export-push-to-kill-ring): New function.
2592         * org-colview.el (org-columns-compile-map): New variable.
2593         (org-columns-new, org-columns-compute)
2594         (org-columns-number-to-string, org-columns-uncompile-format)
2595         (org-columns-compile-format): Implement new operators.
2597 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2599         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2601         * org-list.el (org-update-checkbox-count): Make property
2602         dependent.
2604         * org.el (org-hierarchical-todo-statistics): New option.
2605         (org-update-parent-todo-statistics): Modify to handle recursive
2606         statistics.
2608 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2610         * org-publish.el (org-publish): Make this function behave
2611         correctly in interactive use when called with a prefix argument.
2613         * org.el (org-todo-statistics-hook): New hook.
2614         (org-update-parent-todo-statistics): Use new hook.
2615         (org-log-into-drawer): New function.
2616         (org-add-log-setup): Use the new `org-log-into-drawer' function to
2617         determine if we should be logging into a drawer.
2618         (org-log-into-drawer): Update docstring.
2619         (org-default-properties): Add LOG_INTO_DRAWER as a property.
2621         * org-list.el (org-checkbox-statistics-hook): New hook.
2622         (org-update-checkbox-count-maybe): Use new hook.
2624 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2626         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2627         better bufer-generating mechanism.
2628         (org-edit-src-find-buffer): New function.
2630         * org-icalendar.el (org-print-icalendar-entries): Don't check for
2631         archive tag, this is already done by `org-agenda-skip'.
2632         data while constructing lost of tags.
2634 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2636         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2637         as argument separator in macros.
2639 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2641         * org.el (org-after-sorting-entries-or-items-hook): New hook.
2642         (org-sort-entries-or-items): Run the new hook.
2643         (org-after-refile-insert-hook): New hook.
2644         (org-refile): Run `org-after-refile-insert-hook'.
2646         * org-agenda.el (org-agenda-get-progress): Never take time of day
2647         from headline when displaying progress.
2649         * org-latex.el (org-export-latex-complex-heading-re): New variable.
2650         (org-export-as-latex): Force the correct regexp in the
2651         preprocessor buffer.
2652         (org-export-latex-set-initial-vars): Set
2653         `org-export-latex-complex-heading-re'.
2655         * org-agenda.el (org-agenda-start-with-log-mode): New option.
2656         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2658 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2660         * org-latex.el (org-export-latex-tables-centered): New option.
2661         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2663         * org-exp.el (org-export-as-org): New command.
2664         (org-export-as-org): New command.
2666         * org-publish.el (org-publish-org-to-org): New function.
2668 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2670         * org.el (org-yank): Just call `org-yank-generic'.
2671         (org-yank-generic): New function, containing the formaer
2672         functionality of `org-yank'.
2674         * org-latex.el (org-export-latex-not-done-keywords)
2675         (org-export-latex-done-keywords): New variables.
2676         (org-export-latex-todo-keyword-markup): New option.
2677         (org-export-latex-set-initial-vars): Remember the TODO keywords.
2678         (org-export-latex-keywords-maybe): Apply the TODO markup.
2680 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2682         * org-exp.el (org-infile-export-plist): Add more default macros.
2683         (org-export-preprocess-apply-macros): Process macro arguments.
2685 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2687         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
2688         `unblocked'.
2689         (org-print-icalendar-entries): Respect the new value of
2690         `org-icalendar-include-todo'.
2692         * org.el (org-link-try-special-completion)
2693         (org-file-complete-link): New functions.
2694         (org-insert-link): Add special completion support for some link
2695         types.
2697         * org-bbdb.el (org-bbdb-complete-link): New function.
2699 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2701         * org-list.el (org-update-checkbox-count): Allow recursive
2702         statistics.
2703         (org-hierarchical-checkbox-statistics): New option.
2705         * org.el (org-cycle): Remove erraneous space character.
2707         * org-icalendar.el (org-icalendar-timezone): Initialize from
2708         environment.
2710 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2712         * org.el (org-autoload): Fix autoloading of ascii export
2713         functions.
2714         (org-modules): Add org-special-blocks.
2716 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2718         * org-icalendar.el (org-start-icalendar-file): Use the new option.
2719         (org-ical-timezone): New option.
2721         * org-exp.el (org-export-get-coderef-format): Use the description
2722         is present.
2724         * org.el (org-sort-entries-or-items): Improve docstring, and make
2725         better implementation for time sorting.
2727 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2729         * org.el (org-edit-src-persistent-message): New option.
2730         (org-edit-src-code, org-edit-fixed-width-region): Use the new
2731         option.
2733         * org-clock.el (org-clock-insert-selection-line): Fix prefious
2734         patch.
2736         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
2737         separate buffer instead of indirect buffer to edit source code.
2738         (org-edit-src-exit): Make this function work with the new setup.
2740         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
2741         are properly fontified before shown in the selection menu.
2743         * org.el (org-fontify-like-in-org-mode): New function.
2745         * org-latex.el (org-export-latex-links): Use the property list to
2746         retrieve the default image attributes.
2748         * org-exp.el (org-export-plist-vars): Add a new option.
2750 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2752         * org-exp.el (org-export, org-export-visible): Support ASCII
2753         export to buffer
2754         (org-export-normalize-links): Do not protect the description if it
2755         is explicitly given.
2757         * org-list.el (org-reset-checkbox-state-subtree): Move here from
2758         org-checklist.el.
2759         (org-reset-checkbox-state-subtree): Call
2760         `org-reset-checkbox-state-subtree'.
2762         * org-remember.el (org-select-remember-template): For the
2763         selection of a valid template.
2765         * org-latex.el (org-export-region-as-latex): Supply the
2766         force-no-subtree argument.
2767         (org-export-as-latex): Provide better limits when exporting the
2768         first line.  When exporting to string, we still want the first
2769         lines.
2770         (org-export-latex-first-lines): New argument END, to force the end
2771         of the region.
2772         (org-export-region-as-latex): Use the property list.
2773         (org-export-as-latex):
2775         * org-colview-xemacs.el (org-columns-remove-overlays)
2776         (org-columns): Fix call to `local-variable-p'.
2778 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2780         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
2781         (org-export-latex-preprocess): Run the new hook.
2783         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
2784         (org-export-preprocess-string): Run the new hook.
2786 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2788         * org-macs.el (org-check-external-command): New defsubst.
2790         * org.el (org-mode-map): New key for reload.
2791         (org-format-latex): Better error message when external programs
2792         are not available.
2794         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
2796         * org.el (org-sort-entries-or-items): Explicit sorting function
2797         for priorities, needed for XEmacs compatibility.
2799         * org-remember.el (org-remember-apply-template): Improve auto-save
2800         behavior.
2802 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2804         * org-latex.el (org-export-latex-preprocess): Also protect
2805         environments ending in a star.
2807         * org-list.el (org-at-item-p): Fix regular expression.
2809 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2811         * org.el (org-end-of-subtree): Improve speed.
2813         * org-agenda.el (org-agenda-get-timestamps)
2814         (org-agenda-get-progress, org-agenda-get-deadlines)
2815         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
2816         in particular, wait as long as possible to collect the tags.
2817         (org-stuck-projects): Improve docstring.
2819         * org.el (org-store-link): No errors when getting custom id before
2820         first headline.
2821         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
2823 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2825         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
2827         * org-protocol.el: Remove dependency on url.el.
2828         (org-protocol-unhex-compound, org-protocol-open-source): Remove
2829         dependency on url.el.
2831         * org-latex.el (org-export-as-pdf): Use
2832         `org-latex-to-pdf-process'.
2834 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2836         * org-latex.el (org-latex-to-pdf-process): New option.
2838         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
2839         New option.
2840         (org-agenda-get-timestamps): Honor
2841         `org-agenda-skip-additional-timestamps-same-entry'.
2843         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
2844         (org-clock-goto): Find recent task only if
2845         `org-clock-goto-may-find-recent-task' allows it.
2847         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
2848         drawers, and drawers that are missing the :END: line.
2850 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2852         * org-clock.el (org-clock-goto): Go to recently clocked task if no
2853         clock is running.
2855 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2857         * org.el (org-update-parent-todo-statistics): Check for
2858         STATISTICS_FROM property.
2860         * org-list.el (org-update-checkbox-count): Check for
2861         STATISTICS_FROM property.
2863         * org.el (org-tab-first-hook)
2864         (org-tab-after-check-for-table-hook)
2865         (org-tab-after-check-for-cycling-hook): New hooks.
2866         (org-cycle-internal-global, org-cycle-internal-local): New
2867         functions, split out from `org-cycle'.
2868         (org-cycle): Call the new hooks.
2870 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2872         * org-exp.el (org-export-preprocess-string): Reset the list of
2873         preferred targets for each run of the preprocessor.
2875         * org.el (org-refile-target-verify-function): Improve
2876         documentation.
2877         (org-get-refile-targets): Respect point being moved by the
2878         verification function.
2880         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
2881         option.
2882         (org-export-latex-keywords): Use new option.
2884         * org.el (org-rear-nonsticky-at): New defsubst.
2885         (org-activate-plain-links, org-activate-angle-links)
2886         (org-activate-footnote-links, org-activate-bracket-links)
2887         (org-activate-dates, org-activate-target-links)
2888         (org-activate-tags): Place the rear-nonsticky properties at the
2889         correct location.
2891 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2893         * org-protocol.el (server-edit): Declare `server-edit'.
2894         (org-protocol-unhex-string, org-protocol-unhex-compound): New
2895         functions.
2896         (org-protocol-check-filename-for-protocol): Call `server-edit'.
2898         * org.el (org-default-properties): New default properteis for
2899         completion.
2901         * org-exp.el (org-export-add-subtree-options): Add new properties
2902         for subtree export.
2904 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2906         * org-id.el (org-id-get-with-outline-path-completion): Turn off
2907         org-refile-target-verify-function for the duration of the command.
2909         * org.el (org-link-to-org-use-id): New possible value
2910         `create-if-interactive-and-no-custom-id'.
2911         (org-store-link): Use custom IDs.
2912         (org-link-search): Find custom ID properties from #link.
2913         (org-default-properties): Add CUSTOM_ID for property completion.
2914         (org-refile-target-verify-function): New option.
2915         (org-goto): Turn off org-refile-target-verify-function
2916         for the duration of the command.
2918 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2920         * org-exp.el (org-export-preferred-target-alist): New variable.
2921         (org-export-define-heading-targets): Find the new CUSTOM_ID
2922         property.
2923         (org-export-target-internal-links): Target the custom ids when
2924         possible.
2926         * org-latex.el (org-export-latex-preprocess): Better regexp for
2927         matching latex macros with arguments.
2929 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2931         * org-remember.el (org-remember-handler): Allow filing to non-org
2932         files.
2934 2009-08-06  Magnus Henoch  <magnus.henoch@gmail.com>
2936         * org-table.el (org-table-fix-formulas): Do not change references
2937         to remote tables.
2938         (org-table-get-remote-range): Convert standard coordinates to RC
2939         format.
2941         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
2943 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2945         * org-compat.el (org-sha1-string): Function removed.
2947         * org.el (org-refile-allow-creating-parent-nodes): New option.
2948         (org-refile-get-location): New argument NEW-NODES.
2949         (org-refile): Call `org-refile-get-location' with the new
2950         argument.
2951         (org-refile-get-location): Arrange for adding a new child.
2952         (org-refile-new-child): New function.
2954         * org-clock.el: Fix a number of docstrings.
2955         (org-clock-find-position): New argument
2956         FIND-UNCLOSED to make the function find an unclosed clock in the
2957         entry.
2958         (org-clock-in): Call `org-clock-find-position' with the new
2959         argument if we might be resuming a clock.
2961 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2963         * org-latex.el (org-export-latex-display-custom-times): New variable.
2964         (org-export-latex-timestamp-markup): New option.
2965         (org-export-latex-set-initial-vars): Remember the local value of
2966         `org-display-custom-times'.
2967         (org-export-latex-content): Process time stamps.
2968         (org-export-latex-time-stamps): New function.
2970         * org-macs.el (org-maybe-intangible): Add intangible property
2971         again to invisible text.
2973 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2975         * org-exp.el (org-default-export-plist): Handle undefined
2976         variables.
2978 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2980         * org.el (org-sort-entries-or-items): Match TODO keywrds
2981         case-sensitively, when sorting.
2982         (org-priority): Do not match TODO keywords with wrong case.
2984 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2986         * org.el (org-todo): Honor the NOBLOCKING property.
2988         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
2989         NOBLOCKING property.
2991         * org.el (org-scan-tags): Fix bug in tag scanner.
2993 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2995         * org.el (org-modules): Mark obsolete packages.
2997         * org-html.el: New file, split out from org-exp.el.
2999         * org-icalendar.el: New file, split out from org-exp.el.
3001         * org-xoxo.el: New file, split out from org-exp.el.
3003         * org-ascii.el: New file, split out from org-exp.el.
3005 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3007         * org-compat.el (org-find-library-name): New function.
3009         * org.el (org-pre-cycle-hook): New hook.
3010         (org-cycle): Call the new hook in appropriate places.
3011         (org-reload): Only reload files that have been loaded before.
3013 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3015         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3016         after todo keyword.
3017         (org-todo): When changing TODO state, do matching
3018         case-sensitively.
3019         (org-map-continue-from): New variable.
3020         (org-scan-tags): Respect values in `org-map-continue-from'.
3021         (org-reload): Make XEmacs compatible.
3023 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3025         * org-protocol.el (org-protocol-flatten-greedy): New function.
3026         (org-protocol-flatten): New function.
3028         * org.el (org-open-link-from-string): Pass reference buffer to
3029         `org-open-at-point'.
3030         (org-open-at-point): New optional argument `reference-buffer'.
3032 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3034         * org.el (org-scan-tags): Make tag scan find headline in first
3035         line, 2nd attempt.
3036         (org-get-refile-targets): Add the naked file name.
3037         (org-refile): Store as top-level entry when only file name was
3038         given.
3040         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3042         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3043         Rename from org-block-todo-from-children-or-siblings, and
3044         enhanced to look for the parent's status as well.
3046         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3047         (org-agenda-get-progress): Add first notes line to log entry if so
3048         desired.
3050 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3052         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3053         (org-agenda-cleanup-fancy-diary): Call the new hook.
3055         * org-remember.el (org-remember-apply-template): Take the default
3056         for the annotation from the :annotation property.
3058         * org-mac-message.el (org-mac-message-get-link): Remove the
3059         quotes.
3060         (org-mac-message-get-link): Return the result.
3062 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3064         * org.el (org-refile-get-location): Add file name only if not
3065         already included in outline path.
3067         * org-faces.el (org-n-level-faces): Fix customization type from
3068         number to integer.
3070         * org-exp.el (org-export-headline-levels): Fix customization type
3071         from number to integer.
3073         * org-agenda.el (org-agenda-confirm-kill)
3074         (org-agenda-custom-commands-local-options)
3075         (org-timeline-show-empty-dates, org-agenda-ndays)
3076         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3077         customization type from number to integer.
3079 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3081         * org-protocol.el: Declare some functions.
3083         * org-agenda.el (org-agenda-compare-effort): Honor
3084         `org-sort-agenda-noeffort-is-high'.
3085         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3086         (org-agenda-compare-effort): Implement the "?" operator for
3087         finding entries without effort setting.
3089         * org.el (org-extract-attributes-from-string): New function.
3091         * org-exp.el (org-export-splice-attributes): New function.
3093 2009-08-06  Bastien Guerry  <bzg@altern.org>
3094         Daniel M German  <dmg@uvic.org>
3095         Sebastian Rose  <sebastian_rose@gmx.de>
3096         Ross Patterson  <me@rpatterson.net>
3098         * org-protocol.el: New file.
3100 2009-08-06  Baoqiu Cui  <cbaoqiu@yahoo.com>
3102         * org-docbook.el: New file.
3104 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3106         * org-mouse.el: XEmacs compatibility fixes.
3108         * org.el (org-modules): Add org-inlinetasks.el
3109         (org-cycle): Implement limiting level on cycling.
3110         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3111         buffer.
3113         * org-inlinetask.el: New file.
3115         * org.el (org-emphasis-regexp-components): Allow braces in
3116         emphasis pre and post match.
3118         * org-footnote.el (org-footnote-normalize): When only dorting, do
3119         not insert inline notes at the end.
3121         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3123 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3125         * org.el (org-reftex-citation): New command.
3127 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3129         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3130         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3131         sorting options.
3132         (org-entries-lessp): Apply the new sorting option.
3134         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3135         blocker code, when an older sibling has children.
3137         * org-mac-message.el (org-mac-message-get-link): Improve getting
3138         links from multiple selected messages.
3140 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3142         * org-remember.el (org-remember-finalize): Do not set buffer file
3143         name to nil.
3144         (org-remember-handler): Mark buffer as unmodified.
3145         (org-remember-handler): Delete backup file and show message about
3146         remaining backup files.
3147         (org-remember-auto-remove-backup-files): New option.
3149         * org.el (org-store-link): Use buffer name as link description in
3150         w3-mode buffers.
3151         (org-ido-switchb): Fix argument bug for completion.
3153         * org-remember.el (org-remember-apply-template): Set local
3154         variable `auto-save-visited-file-name' instead of global one.
3156 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3158         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3159         (org-agenda-get-todos): Mark file tags as inherited.
3160         (org-agenda-list): Always search diary lines for a time.
3162 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3164         * org-feed.el: New file.
3166         * org-exp.el (org-export-as-html): Close local lists depending on
3167         indentation, also when starting a table.
3169         * org-remember.el (org-remember-backup-directory)
3170         (org-remember-backup-name): New internal variable.
3172 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3174         * org-clock.el (org-clock-out-if-current): Make buffer detection
3175         work in indirect buffers as well.
3177         * org.el (org-emphasis-regexp-components): Add the exxclamation
3178         mark to the post-emphasis characters.
3180 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3182         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3183         (org-read-date): Run the new hook.
3185         * org-mac-message.el (org-mac-flagged-mail): New group.
3186         (org-mac-mail-account): New variable.
3187         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3188         commands.
3190         * org-remember.el (org-remember-backup-directory): New variable.
3191         (org-remember-apply-template): Write file to backup directory.
3193 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3195         * org-mouse.el (org-mouse-todo-menu): New function.
3196         (org-mouse-todo-keywords): Function removed.
3197         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3199         * org-table.el (org-table-beginning-of-field)
3200         (org-table-end-of-field): New commands
3201         (org-table-previous-field, org-table-beginning-of-field): Better
3202         error messages.
3203         (orgtbl-setup): Include `M-a' and `M-e'.
3205         * org.el (org-backward-sentence, org-forward-sentence): New
3206         commands.
3208         * org-colview.el (org-colview-initial-truncate-line-value): New
3209         variable.
3210         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3211         (org-columns): Remember the value of `truncate-lines'.
3213         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3214         New variable.
3215         (org-columns-remove-overlays): Restore the value of
3216         `truncate-lines'.
3217         (org-columns): Remember the value of `truncate-lines'.
3219         * org.el (org-columns-skip-arrchived-trees): New option.
3221         * org-agenda.el (org-agenda-export-html-style): Define color for
3222         org-agenda-done face.
3223         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3224         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3226         * org.el (org-scan-tags): Use the new face.
3228         * org-faces.el (org-agenda-done): New face.
3230         * org.el (org-scan-tags): Test the value org
3231         `org-tags-match-list-sublevels'.
3232         (org-tags-match-list-sublevels): New allowed value: indented.
3234         * org-latex.el (org-export-latex-make-header): Apply macros
3235         in header.
3237         * org-exp.el (org-export-apply-macros-in-string): New function.
3239         * org-latex.el (org-export-latex-list-parameters): Fix bug
3240         with the definition of a checked box.
3242         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3244         * org-latex.el (org-export-latex-low-levels): More options
3245         for how to process lower levels in LaTeX.
3246         (org-export-latex-subcontent): Better treatment for lists as a
3247         means of publishing lower levels.
3249 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3251         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3253         * org-faces.el (org-checkbox): New face.
3255         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3256         fragement images if there is an export file.
3258 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3260         * org-agenda.el (org-stuck-projects): Document that the subtree of
3261         projects that are not stuck will now be searched for stuck
3262         sub-projects.
3263         (org-agenda-skip-entry-when-regexp-matches)
3264         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3265         (org-agenda-list-stuck-projects): Use
3266         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3268         * org-latex.el (org-export-latex-preprocess): Improve
3269         export of verses.
3271         * org-exp.el (org-export-as-html): Implement centering as a div
3272         rather than a paragraph.  Do a better job with line-end in verse
3273         environments.
3275 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3277         * org.el (org-open-at-point): Fix tags searches by mouse click.
3279 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3281         * org-latex.el (org-export-latex-preprocess): Implement the
3282         centering markup.
3284         * org-exp.el (org-export-mark-blockquote-verse-center): Rename
3285         from `org-export-mark-blockquote-and-verse'.
3286         (org-export-as-html): Implement the centering markup.
3288         * org-latex.el (org-export-latex-tables): Fix vertical
3289         lines in tables.
3291 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3293         * org.el (org-read-date-history): New variable.
3294         (org-read-date): Use new history variable.
3295         (org-toggle-heading): Fix bug when used before first headline.
3296         (org-store-log-note): Remove drawer if empty while note is
3297         aborted.
3298         (org-remove-empty-drawer-at): New function.
3299         (org-check-after-date): New command.
3300         (org-sparse-tree): New sparse tree command "a".
3302         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3304 2009-08-06  Bastien Guerry  <bzg@altern.org>
3306         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3307         column and a space, not only a column.
3309 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3311         * org-latex.el (org-export-latex-emphasis-alist): Better
3312         defaults for verbose emphasis.
3313         (org-export-latex-emph-format): New function.
3314         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3316         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3317         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3318         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3319         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3320         commands.
3322         * org.el (org-timestamp-change): Move end-time along with start
3323         time.
3325 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3327         * org-exp.el (org-export-target-internal-links)
3328         (org-export-as-html): Protect links specified as #name.
3330 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3332         * org.el (org-clone-subtree-with-time-shift): New command.
3334         * org-latex.el (org-export-latex-special-chars)
3335         (org-export-latex-treat-sub-super-char): Fix subscript export.
3337         * org-exp.el (org-create-multibrace-regexp): Do not add
3338         backslashes to the class.
3340 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3342         * org-colview.el (org-columns-map): Better functions for moving up
3343         and down a row, even if `truncate-line' is nil.
3345         * org.el (org-insert-todo-heading): Make sure the keyword is
3346         inserted at the correct position.
3348         * org-publish.el (org-publish-project-alist)
3349         (org-publish-projects, org-publish-org-index): Change default anme
3350         for the index of file names to "sitemap.org".
3352         * org-latex.el (org-export-latex-tables): Use
3353         `org-split-string', for Emacs 21 compatibility.
3355 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3357         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3359 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3361         * org-exp.el (org-export-page-description)
3362         (org-export-page-keywords): New variables.
3363         (org-export-plist-vars): Add entries for :keywords and
3364         :description.
3365         (org-infile-export-plist): Parse for new keywords.
3366         (org-get-current-options): Add new keywords
3367         (org-export-as-html): Publish description and keywords.
3369         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3370         option.
3371         (org-agenda-add-entry-text): Honor
3372         `org-agenda-add-entry-text-descriptive-links'.
3374         * org-latex.el (org-export-latex-preprocess): Make all
3375         external preprocess functions use a PARAMETER arg.
3377         * org-exp.el (org-export-preprocess-string)
3378         (org-export-select-backend-specific-text)
3379         (org-export-format-source-code-or-example)
3380         (org-format-org-table-html): Support docbook export.
3381         (org-export-preprocess-string): Make all external preprocess
3382         functions use a PARAMETER arg.
3384 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3386         * org-exp.el (org-export-html-style-include-scripts): New option.
3387         (org-export-plist-vars): Add new option
3388         `org-export-html-style-include-scripts'.
3389         (org-export-as-html): Honor new option
3390         `org-export-html-style-include-scripts'.
3391         (org-export-html-scripts, org-export-html-style-default): Fix
3392         xml issues with the Safari browser.
3394 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3396         * org-publish.el (org-publish-attachment): Only copy file when the
3397         directories differ.
3399 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3401         * org-clock.el (org-clocktable-steps): Use inactive time stamps
3402         for clocktable steps.
3404         * org.el (org-additional-option-like-keywords): Add two more
3405         keywords.
3407 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3409         * org-exp.el (org-export-format-source-code-or-example): Mark
3410         temporary buffer unmodified, so that it will be killed even if
3411         mode like message mode has decided to assign a file name.
3413         * org.el (org-scan-tags): Improve tag inheritance.
3414         (org-scan-tags, org-make-tags-matcher): Make tag comparison
3415         case-sensitive.
3416         (org-scan-tags): Use the internal tags list instead of creating it
3417         from scratch.
3418         (org-trust-scanner-tags, org-scanner-tags): New variables.
3419         (org-scan-tags): Set `org-scanner-tags'.
3420         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3421         (org-map-entries): Document the possible speedup using scanner
3422         tags.
3424 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3426         * org.el (org-add-planning-info): Fix bug with looking for keyword
3427         only at column 0.
3429         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3430         option for tags filter preset.
3431         (org-prepare-agenda): Store filter preset as a property on the
3432         filter variable.
3433         (org-finalize-agenda): Call the filter, if there is a preset.
3434         (org-agenda-filter-by-tag): Filter again after clearing the
3435         filter, when there still is a preset.
3436         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3437         Include the preset filter.
3438         (org-agenda-redo): Apply the filter again, also the preset filter.
3440         * org-exp.el (org-export-as-html): Use IDs in the correct way.
3442         * org.el (org-uuidgen-p): New funtion.
3444         * org-agenda.el (org-agenda-fontify-priorities): New default value
3445         `cookies'.
3446         (org-agenda-fontify-priorities): Rename from
3447         org-fontify-priorities.
3449         * org.el (org-set-font-lock-defaults): Call
3450         `org-font-lock-add-priority-faces'.
3451         (org-font-lock-add-priority-faces): New function.
3453         * org-faces.el (org-set-tag-faces): New option.
3454         (org-priority-faces): New variable.
3456         * org-exp.el (org-export-as-html): Add a "content" div around the
3457         entire content of the body tag.
3458         (org-export-html-get-bibliography): New function.
3459         (org-export-html-validation-link): New variable.
3460         (org-export-as-html): Add validation link to exported page.
3462         * org.el (org-match-sparse-tree): Rename from
3463         `org-tags-sparse-tree'.
3464         (org-tags-sparse-tree): New alias.
3466 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3468         * org.el (org-get-valid-level): Catch the case where the level
3469         change is nil.
3471         * org-clock.el (org-clock-find-position): Better indentation of
3472         new clock drawers.
3474 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3476         * org-agenda.el (org-agenda-quit): Delete window only when the
3477         frame-setup was not `current-window'.
3479         * org.el (org-tag-persistent-alist): New option.
3480         (org-startup-options): Add keyword `noptag'.
3481         (org-fast-todo-selection): Handle :newline correctly.
3482         (org-set-tags): Handle :newline correctly.
3483         (org-fast-tag-selection): Handle :newline correctly.
3485 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3487         * org-exp.el (org-export-as-ascii): Reverse link buffer before
3488         outputting it.
3489         (org-export-ascii-push-links): Fix bug with pussing links into the
3490         export buffer.
3492 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3494         * org-archive.el (org-archive-subtree): Do not add 1 to level if
3495         pasting at top level.
3497         * org-bbdb.el: Improve documentation.
3499 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3501         * org-list.el (org-insert-item): Only consider insert empty lines
3502         is `org-empty-line-terminates-plain-lists' is not nil.
3504         * org.el (org-blank-before-new-entry): Mention the dependence on
3505         `org-empty-line-terminates-plain-lists' in the docstring.
3507         * org-publish.el (org-publish-get-project-from-filename): New
3508         optional argument UP.  Only find the top project if UP is set.
3509         (org-publish-current-project): Find the top encloding project.
3511         * org-agenda.el (org-agenda-before-write-hook)
3512         (org-agenda-add-entry-text-maxlines): New options.
3513         (org-write-agenda): Run the new hook in the temporary buffer.
3514         (org-agenda-add-entry-text): New function.
3515         (org-write-agenda): Implement PDF export, using ps2pdf.
3517         * org.el (org-global-properties-fixed, org-global-properties):
3518         Improve documentation string.
3520         * org-exp.el (org-export-ascii-links-to-notes): New option.
3521         (org-export-as-ascii): Handle links better.
3522         (org-export-ascii-wrap, org-export-ascii-push-links): New
3523         functions.
3525 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3527         * org-agenda.el (org-agenda): Make prefix arg optional.
3528         (org-agenda-search-headline-for-time): New option.
3529         (org-format-agenda-item): Honor
3530         `org-agenda-search-headline-for-time'.
3532         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3533         characters.
3535         * org.el (org-self-insert-cluster-for-undo): New option.
3536         (org-self-insert-command): Cluster undo for 20 characters.
3537         (org-self-insert-command-undo-counter): New variable.
3539 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3541         * org-exp.el (org-export-as-html): Fix problem with closing colone
3542         example.
3544 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3546         * org-latex.el (org-export-as-latex)
3547         (org-export-latex-first-lines): Avoid modification flag when
3548         adding or removing text properties.
3549         (org-export-latex-fontify): Catch error when org-emph-alist has
3550         entries that are not defined for LaTeX export.
3552         * org-export-latex.el: renamed to org-latex.el.
3554         * org-latex.el: renamed from org-export-latex.el.
3556         * org.el (orgstruct++-mode): New function.
3557         (turn-on-orgstruct++): Call `orgstruct++-mode'.
3558         (org-context-p): Allow detecting item context after the first line
3559         of an item.
3560         (orgstruct-make-binding): Detect if item-body context should be
3561         seen.
3562         (orgstruct-is-++): New variable.
3563         (org-add-planning-info): Catch the case when there is no planning
3564         info yet and the call does not want to add anything, only maybe
3565         tries to remove something.
3566         (org-special-ctrl-a/e): All value to be a cons cell with separate
3567         settings for `C-a' and `C-e'.
3568         (org-beginning-of-line, org-end-of-line): Honor separate values
3569         for `C-a' and `C-e'.
3571 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3573         * org.el (org-reload): New command.
3575 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
3577         * org-gnus.el (org-gnus-store-link): Fix bug where
3578         org-gnus-store-link used wrong subject when called in an article
3579         buffer.  Patch provided by fengli AT gmail DOT com.
3581 2009-03-13  D. Goel  <deego3@gmail.com>
3583         * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
3584         replace ls by (values-list ls).
3586 2009-02-20  Carsten Dominik  <dominik@science.uva.nl>
3588         * org-remember.el (org-remember-apply-template): Turn off ido for
3589         this completion.
3591         * org.el (org-priority): Also find invisible headings, for remote
3592         editing.
3593         (org-completing-read-no-ido): New function.
3594         (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
3596         * org-colview.el (org-columns-edit-value): No special treatment of
3597         prefix arg.
3599 2009-02-19  Carsten Dominik  <dominik@science.uva.nl>
3601         * org.el (org-block-todo-from-children-or-siblings): Use
3602         `org-up-heading-all' so that this will work correctly with hidden
3603         property drawers and entries.
3604         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
3605         falling back to normal, default command.
3606         (org-get-location): Temporarily turn off special behavior.
3608 2009-02-13  Glenn Morris  <rgm@gnu.org>
3610         * org-rmail.el (rmail-show-message): Restore argument list to the
3611         declaration now that this functions behaves in Emacs 23 as in 22.
3613 2009-02-12  Glenn Morris  <rgm@gnu.org>
3615         * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
3617 2009-02-12  Joachim Reiter  <Reiter.Joachim@web.de>  (tiny change)
3619         * org-footnote.el (org-footnote-action): Fix doc typo.
3621 2009-02-06  Carsten Dominik  <dominik@science.uva.nl>
3623         * org-exp.el (org-export-preprocess-string): Fix bug with skipping
3624         text before first headline.
3625         (org-export-remove-or-extract-drawers): Fix regular expression for
3626         extracting drawers.
3628         * org.el (org-format-latex): Stop LaTeX fragment processing in
3629         protected examples.
3631 2009-02-05  Glenn Morris  <rgm@gnu.org>
3633         * org-rmail.el (rmail-show-message): Update declaration.
3634         (rmail-buffer, rmail-view-buffer): Declare.
3635         (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
3637 2009-02-04  Carsten Dominik  <dominik@science.uva.nl>
3639         * org.el (org-return-follows-link): Revert setting
3640         `org-return-follows-link' to t by default.
3642 2009-02-02  Carsten Dominik  <dominik@science.uva.nl>
3644         * org.el (org-cycle-global-at-bob): Fix typo.
3646         * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
3648 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
3650         * org.el (org-mode): Make dependence stuff work more reliably.
3651         (org-update-parent-todo-statistics): Fix bug with updating
3652         statistics cookie.
3653         (org-yank-adjusted-subtrees, org-return-follows-link)
3654         (org-use-fast-todo-selection, org-tags-column): New default
3655         setting for variables.
3657         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
3658         ~ as verbatim delimiters, to avoid table bug.
3659         (org-export-latex-classes): Remove the a4paper option from the
3660         default styles.
3662         * org-exp.el (org-export-html-format-image): New argument
3663         PAR-OPEN, to fix XHTM validation bug.
3664         (org-export-as-html): Pass par-open to
3665         `org-export-html-format-image'.
3666         (org-export-html-footnotes-section): Use a more consistent id for
3667         footnotes.
3669         * org-agenda.el (org-agenda-sorting-strategy)
3670         (org-agenda-tags-column): New default setting for variables, based
3671         on a poll what typical uses use.
3672         (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
3673         setting the blocked tag.
3675 2009-01-31  Carsten Dominik  <dominik@science.uva.nl>
3677         * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
3678         only checking for blocks.
3680         * org-exp.el (org-export-html-footnotes-section): Make the div id
3681         consistent.
3683         * org-export-latex.el (org-export-latex-classes): Remove
3684         paper size option from LaTeX classes.
3686 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
3688         * org.el (org-enforce-todo-checkbox-dependencies): New option.
3689         (org-block-todo-from-checkboxes): New function.
3690         (org-todo): Make tripple prefix arg circumvent blocking.
3692 2009-01-30  Glenn Morris  <rgm@gnu.org>
3694         * org-list.el (org-empty-line-terminates-plain-lists)
3695         (org-toggle-checkbox): Doc fixes.
3697         * org-table.el (org-table-clean-before-export): Fix declaration.
3699 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
3701         * org-timer.el (org-timer): Provide the timer feature.
3703         * org.el (org-require-autoloaded-modules): Add a few more files to
3704         the list of autoloaded modules.
3706         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
3708         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
3709         drawers that are unprotected.
3710         (org-export-html-format-image): Make sure inlined LaTeX fragment
3711         images remain inlined.
3713         * org.el (org-toggle-ordered-property): New function.
3714         (org-mode-map): Add a key for `org-toggle-ordered-property'.
3715         (org-org-menu): Add menu entries for TODO dependencies.
3717         * org.el (org-default-properties): Add ORDERED to the default
3718         properties, to get completion support for it.
3720         * org-list.el (org-update-checkbox-count): Update more than one cookie.
3722         * org.el (org-update-parent-todo-statistics): Update more than one
3723         cookie.
3725 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
3727         * org-agenda.el (org-agenda-get-todos): Start search from correct
3728         position.
3730         * org.el (org-fast-todo-selection): Make sure TODO selection does
3731         not change buffer position.
3733         * org-list.el (org-toggle-checkbox): Implement adding or removing
3734         checkboxes from line or region when called with a prefix
3735         argument.
3737         * org-rmail.el (org-rmail-store-link): Protect the call to
3738         `rmail-narrow-to-non-pruned-header'.
3740         * org-clock.el (org-clock-special-range): Fix week display in
3741         clock tables.
3743         * org-exp.el (org-get-current-options): Fix bug when in indirect
3744         buffer.
3746         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
3747         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
3748         (org-agenda-dim-blocked-tasks): New function.
3750         * org.el (org-enforce-todo-dependencies): New option.
3751         (org-block-todo-from-children-or-siblings): New function.
3753         * org-faces.el (org-agenda-dimmed-todo-face): New face.
3755 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
3757         * org.el (org-todo): Return correct state type even if the blocker
3758         throws an error.
3759         (org-modifier-cursor-error): Rename from
3760         `org-shiftcursor-error'.
3761         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3762         (org-shiftmetadown): Call `org-modifier-cursor-error'.
3764         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
3765         to get real errors from the blocker hook.
3767         * org.el (org-shiftselect-error, org-call-for-shift-select): New
3768         functions.
3769         (org-set-visibility-according-to-property): Turn off the setting
3770         of `org-show-entry-below', to avoid overruling a FOLDED visibility
3771         property.
3773         * org.el (org-support-shift-select): New option.
3774         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
3775         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
3776         selection outside contexts.
3778         * org-list.el (org-at-item-bullet-p): New function.
3780         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
3781         variables.
3783         * org-footnote.el (org-footnote-normalize): Remove unnecessary
3784         variable.
3785         (org-insert-footnote-reference-near-definition): Remove
3786         unnecessary let form.
3788 2009-01-26  Carsten Dominik  <dominik@science.uva.nl>
3790         * org-export-latex.el (org-export-as-latex): Call
3791         `org-export-latex-first-lines' with OPT-PLIST as a parameter.
3792         (org-export-latex-first-lines): New parameter OPT-PLIST.
3794         * org.el (org-yank): Tell `delete-selection-mode' about
3795         `org-yank'.
3797         * org-faces.el (org-clock-overlay): Fix face definition.
3799         * org-export-latex.el (org-export-latex-first-lines): Pass
3800         timestamp and footnote parameters to the preprocessor.
3802         * org-exp.el (org-export-remove-timestamps): Do not remove time
3803         stamps inside tables.
3805 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3807         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
3809         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
3810         variable.
3812         * org-table.el (org-table-insert-hline): Fix typo in fuction call
3813         to `backward-char'.
3815         * org-exp.el (org-export-as-html): Remove the initial space from
3816         colon examples.
3818         * org.el (org-scan-tags): Call
3819         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3821         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
3822         customization groups.
3823         (org-agenda-tags-todo-honor-ignore-options): New option.
3824         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3825         New function.
3826         (org-agenda-get-todos): Use
3827         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3829 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3831         * org-exp.el (org-export-format-source-code-or-example): Escape
3832         HTML characters also in examples that anre not treated with
3833         htmlize.  Also, just switch to EXAMPLE processing if we do not
3834         have a good version of htmlize.
3836         * org-rmail.el: Fix copyright notice.
3838         * org.el (org-activate-footnote-links): Improve footnote link
3839         highlighting.
3841         * org-footnote.el (org-footnote-normalize): Fix finding the end of
3842         a footnote definition at the end of the file.
3844         * org-table.el (org-table-get-specials): Add an imagined hline at
3845         the end of the table.  This can be useful for references that want
3846         to go to the end of the table.  Also fix bug when computing last
3847         row constants, in tables that do not start right at the right
3848         margin.
3849         (org-table-eval-formula): Match and replace remove references.
3850         (org-table-formula-substitute-names): Make sure that names inside
3851         a "remote" call are left alone, the will be replaced later when
3852         the remote call is handled.
3853         (org-table-convert-refs-to-rc): Do not convert things that might
3854         look like a reference, but are really part of an ID or namei n a
3855         remote reference.
3856         (org-table-get-remote-range): New function.
3858 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3860         * org-faces.el (org-clock-overlay): Fix bug in face definition.
3862         * org-clock.el (org-clock-put-overlay): Use new face instead of
3863         `secondary-selection'.
3865         * org-faces.el (org-clock-overlay): New face.
3867 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3869         * org-exp.el (org-get-current-options): Include the option for
3870         publishing time stamps.
3872         * org.el (org-toggle-heading): Rename from
3873         `org-toggel-region-headings'.
3874         No longer needs a region defined, but will use it if there is one.
3875         (org-ctrl-c-star): Simplify, relying more on the internal
3876         workings of `org-toggle-heading'.
3877         (org-toggle-item): Rename from `org-toggle-region-items'.
3878         No longer needs a region defined, but will use it if there is one.
3879         (org-ctrl-c-minus): Simplify, relying more on the inernal
3880         workings of `org-toggle-item'.
3882         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
3883         environment detection.  Also, do real changes only in unprotected
3884         places.
3886 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3888         * org-export-latex.el (org-export-latex-quotation-marks): Use
3889         `org-if-unprotected-1'.
3890         (org-export-latex-set-initial-vars): Check for class definition in
3891         property.
3893         * org-macs.el (org-if-unprotected-1): New macro.
3895 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3897         * org-compat.el (org-count-lines): New function.
3899         * org-exp.el (org-export-format-source-code-or-example): Handle
3900         switches related to text areas.
3902         * org.el (org-activate-footnote-links): Don't allow match inside a
3903         link.
3905         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
3907         * org-export-latex.el (org-export-latex-links): Keep a relative
3908         path relative also after export.
3910         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
3912         * org.el (org-make-tags-matcher): Never use IDO for completing the
3913         tags matcher match string.
3914         (org-completing-read): Also remove the special biding for "?".
3916         * org-attach.el (org-attach-allow-inheritance): New option.
3917         (org-attach-inherited): New variable.
3918         (org-attach-dir): Handle properties related to the attachment
3919         directory.
3920         (org-attach-check-absolute-path): New function.
3921         (org-attach-set-directory, org-attach-set-inherit): New commands.
3922         (org-attach): Accommodate the new commands in the dispatcher.
3924 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3926         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
3927         `window-full-width-p'.
3929         * org-exp.el (org-export-as-html): Only check for images files
3930         that really can be inlined.
3932         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
3933         list of extensions to be a parameter.
3935         * org-exp.el (org-export-html-inline-image-extensions): New
3936         variable.
3938         * org-agenda.el (org-prepare-agenda): Use
3939         `org-agenda-block-separator'.
3940         (org-agenda-block-separator): New option.
3942 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3944         * org-export-latex.el (org-export-latex-tables): Call
3945         `org-table-clean-before-export' with the new optional argument.
3947         * org-exp.el (org-table-clean-before-export): New optional
3948         parameter MAYBE-QUOTED, allows for quoted characters like \# in
3949         first column.
3951 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3953         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
3954         histograms.
3956         * org-colview.el (org-colview-construct-allowed-dates): Better
3957         error catching when a date/time property does not have allowed
3958         values defined.
3960         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
3961         Better error catching when a date/time property does not have
3962         allowed values defined.
3964 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3966         * org.el (org-map-entries): Restore point and restriction after
3967         `org-map-entries'.
3969 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3971         * org.el (org-time=, org-time<, org-time<=, org-time>)
3972         (org-time>=, org-time<>): Make sure both values are dates.
3974 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3976         * org-archive.el (org-extract-archive-heading): Allow %s for file
3977         name also in achive location heading.
3979 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3981         * org-archive.el (org-add-archive-files): Uniquify the list before
3982         returning it.
3984 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3986         * org-compat.el (org-fit-window-to-buffer): Use
3987         `window-full-width-p'.
3989         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
3990         space after the colon in short examples.
3992         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
3993         enforce a space after the colon.  However, we also allow lines
3994         that are *only* a colon.
3995         (org-export-as-html): Enforce the space after the colon in short
3996         examples.
3997         (org-export-preprocess-string): Do the colon example protection
3998         earlier.
3999         (org-export-remove-timestamps): Do not check for protection at the
4000         end of the line.
4002 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4004         * org.el (org-format-latex-options): Add new matcher for single
4005         letters between dollars.
4006         (org-get-header): Function removed.
4007         (org-heading-components): New function.
4009         * org-exp.el (org-export-define-heading-targets): Record ID's also
4010         as alternative targets.
4011         (org-export-as-html): Interpret "id:" links to other files by
4012         preserving the relative path.
4014         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4015         is nil.
4017         * org-exp.el (org-export-normalize-links): Protect the main link,
4018         to avoid special character processing.
4020         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4021         New variable.
4022         (org-export-latex-special-string-regexps): Variable removed.
4023         (org-export-latex-keywords): Use the new regexp.
4025         * org-exp.el (org-export-handle-include-files): Fetch switches and
4026         put them into the BEGIN statement.
4028         * org-timer.el (org-timer-mode-line-string): New variable.
4030         * org-clock.el (org-clock-mode-line-map): Rename from
4031         `org-clock-mode-map'.
4032         (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
4033         (org-clock-update-mode-line): Rename from `org-update-mode-line'.
4034         (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
4035         (org-clock-remove-overlays): Rename from
4036         `org-remove-clock-overlays'.
4038         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4039         and mode line display.
4040         (org-timer-stop): New command.
4041         (org-timer-seconds): Return correct time when timer is paused.
4042         (org-timer-mode-line-timer): New variable.
4043         (org-timer-set-mode-line, org-timer-update-mode-line): New
4044         functions.
4046         * org.el (org-insert-heading): Handle new value `auto' for
4047         `org-blank-before-new-entry'.
4048         (org-org-menu): Add new items for timer functions.
4050         * org-list.el (org-insert-item): Handle new value `auto' for
4051         `org-blank-before-new-entry'.
4053         * org.el (org-blank-before-new-entry): New value `auto', made
4054         default.
4056 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4058         * org-exp.el (org-export-normalize-links): If the link is also
4059         used as the description, protect the description.
4061 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4063         * org.el (org-closest-date): Fix bug with yearly repeats, in
4064         combination with preference of the past as it is used for deadline
4065         and scheduling search.
4067         * org-exp.el (org-html-handle-time-stamps): No longer check for
4068         the `org-export-with-timestamps' option, because the preprocesser
4069         has taken care of this already.
4071         * org.el (org-entry-properties): Catch the case when this is
4072         called in a non-org-mode file.
4074         * org-export-latex.el (org-export-latex-remove-from-headlines):
4075         Variable made obsolete, also LaTeX export now uses the standard
4076         variables.
4077         (org-export-as-latex): Add the timestamps parameter to the
4078         preprocessor parameter list.
4079         (org-export-latex-content): Export the remaining keywords without
4080         considering to remove them.
4081         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4082         Use bold font instead of tt font for the keywords.
4083         (org-export-latex-fontify-headline): Format headlines, assuming
4084         that all keywords still present should be published.
4085         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4086         publish what ever remains of the time stamps.
4087         (org-export-latex-list-parameters): New option.
4088         (org-export-latex-lists): Pass additional parameters to the list
4089         converter.
4091         * org-exp.el (org-export-preprocess-string): Remove clock lines
4092         and timestamps already in the preprocesor.
4093         (org-export-remove-timestamps, org-export-remove-clock-lines): New
4094         functions.
4095         (org-export-as-ascii, org-export-as-html): Add the timestamps
4096         parameter to the preprocessor parameter list.
4098         * org-list.el (org-list-parse-list): Parse for checkboxes.
4099         (org-list-to-generic): Introduce and handle new parameters :cbon
4100         and :cboff.
4101         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4102         optional parameter PARAMS.
4104         * org-export-latex.el (org-export-latex-special-chars): Fix
4105         problems with interpreting dollar signs.
4106         (org-inside-latex-math-p): New function.
4107         (org-export-latex-preprocess): Protect all the math fragments.
4109         * org.el (org-latex-regexps): Allow a dash after a dollar.
4111         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4112         mark after copying.
4114         * org-agenda.el (org-run-agenda-series): Have series options set
4115         when finalizing the agenda.
4117         * org-exp.el (org-export-format-source-code-or-example): Protect
4118         the converted examples.
4120         * org.el (org-set-regexps-and-options): Fix the regexp
4121         `org-complex-heading-regexp'.
4123 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4125         * org.el (org-edit-src-get-label-format): New function.
4126         (org-coderef-label-format): New option.
4127         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4128         a label format specification and make sure it is used in the edit
4129         buffer.
4130         (org-edit-src-get-label-format): New function.
4131         (org-store-link): Handle new coderef formats.
4132         (org-link-search): Handle new coderef formats.
4134         * org-footnote.el (org-footnote-create-definition)
4135         (org-footnote-goto-local-insertion-point): Make footnote insertion
4136         work correctly when the "Footnotes" headline is the last line in
4137         the buffer.
4139         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4140         the location.
4142 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4144         * org-w3m.el (org-w3m): New customization group.
4145         (org-w3m-deactivate-mark): New option.
4146         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4147         option say not to.
4149 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4151         * org.el (org-set-font-lock-defaults): Trigger footnote
4152         fontification.
4153         (org-activate-footnote-links): New function.
4154         (org-activate-links): New entry `footnote'.
4156         * org-faces.el (org-footnote): New face.
4158 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4160         * org-macs.el (org-re): Handle the [:word:] class.
4162         * org-exp.el (org-export-preprocess-string): Call
4163         `org-export-protect-colon-examples'.
4164         (org-export-protect-colon-examples): Rename from
4165         `org-export-protect-examples', and scope limited to lines starting
4166         with a colon.
4168 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4170         * org-exp.el (org-export-preprocess-string): Move the preprocess
4171         hook to after turning on Org-mode.
4172         (org-export-preprocess-after-include-files-hook)
4173         (org-export-preprocess-after-tree-selection-hook)
4174         (org-export-preprocess-before-backend-specifics-hook)
4175         (org-export-preprocess-final-hook): New hooks.
4176         (org-export-preprocess-string): Run the new hooks.
4178         * org.el (org-ctrl-c-minus): Fix indentation for new items.
4180         * org-footnote.el: New file.
4182         * org.el (org-footnote): Require footnote code.
4183         (org-startup-options): Add new footnote options.
4184         (org-mode-map): New keybindig for footnotes.
4185         (org-ctrl-c-ctrl-c): Add function at footnotes.
4186         (org-org-menu): New menu entries for footnotes.
4188         * org-export-latex.el (org-export-as-latex): Pass footnote
4189         variable to preprocessor.
4190         (org-export-latex-preprocess): Treat multiple references to a
4191         footnote.
4193         * org-exp.el (org-export-preprocess-string): Call
4194         `org-footnote-normalize'.
4195         (org-export-as-ascii, org-export-as-html): Pass footnote variable
4196         to preprocessor.
4197         (org-export-as-html): Treat multiple references to a footnote.
4199 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4201         * org-export-latex.el (org-export-latex-links): Handle coderef
4202         links.
4204         * org.el (org-bracket-link-analytic-regexp++): New variable.
4205         (org-make-link-regexps): Initialize
4206         `org-bracket-link-analytic-regexp++'.
4207         (org-store-link): Implement special case in edit-src buffer.
4208         (org-insert-link): No use of ide to insert stored links.
4209         (org-link-search): Implement special case for coderefs.
4211         * org-exp.el (org-export-html-scripts): New constant.
4212         (org-export-html-style-default): Add a new style for highlighted
4213         code.
4214         (org-export-code-refs): New variable.
4215         (org-export-preprocess-string): Initialize `org-export-code-refs'.
4216         Call `org-export-replace-src-segments-and-examples'
4217         No longer call `org-export-protect-examples'.
4218         (org-export-target-internal-links): Take care of coderef targets.
4219         (org-export-last-code-line-counter-value): New variable.
4220         (org-export-replace-src-segments-and-examples): Rename from
4221         `org-export-replace-src-segments', and modified.
4222         (org-export-format-source-code-or-example): Rename from
4223         `org-export-format-source-code'.
4224         (org-export-number-lines): New function.
4225         (org-export-as-ascii, org-export-as-html): Handle coderef links.
4227 2009-01-23  Glenn Morris  <rgm@gnu.org>
4229         * org-rmail.el (rmail-narrow-to-non-pruned-header):
4230         Remove declaration of deleted function.
4232 2009-01-16  Glenn Morris  <rgm@gnu.org>
4234         * org-mouse.el (org-mouse-show-context-menu): Use
4235         mouse-menu-major-mode-map, if defined, rather than the obsolete
4236         mouse-major-mode-menu.
4238 2008-12-23  Carsten Dominik  <dominik@science.uva.nl>
4240         * org-remember.el (org-remember-handler): Safer way to get a new
4241         buffer accessing the target file.
4243         * org.el (org-refile-get-location): Handle case of current buffer
4244         not having a file associated with it.
4246 2008-12-22  Carsten Dominik  <dominik@science.uva.nl>
4248         * org-table.el (org-table-get-formula): Only ask to overwrite
4249         field formula if there really is one.
4251 2008-12-21  Carsten Dominik  <dominik@science.uva.nl>
4253         * org-export-latex.el (org-export-latex-make-header): Double the
4254         commenting % in the time stamp format.
4255         (org-export-latex-special-chars): Handle case where there is no
4256         match group 3.
4258 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
4260         * org.el (org-get-refile-targets, org-refile-get-location): Use
4261         expanded file name to improve comparison.
4263 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
4265         * org.el (org-scan-tags): Rescan for tags, to get the correct
4266         upcase/downcase stuff.  This slows things down for now, but it
4267         works.
4268         (org-mode): Make sure the tag-faces regexp is initialized.
4270         * org-export-latex.el (org-export-latex-links): Fix bug with
4271         undefined label.
4273         * org-table.el (org-table-get-specials): Set
4274         `org-table-current-last-data-line'.
4275         (org-table-current-last-data-line): New variable.
4276         (org-table-insert-column, org-table-delete-column)
4277         (org-table-move-column, org-table-fix-formulas): Call
4278         `org-table-fix-formulas' a second time to fix the $LR references.
4279         (org-table-get-specials): Add the $LR references to the tables.
4280         (org-table-get-formula): Do not offer last-row names as LHS of
4281         formulas.
4283         * org.el (org-store-link): Capture link description from
4284         `org-id-store-link'.
4286         * org-exp.el (org-export-html-format-image): Add the / to the end
4287         of the <img> tag.
4288         (org-export-format-source-code): Surround example by empty lines,
4289         to make sure it will not be inside a paragraph.
4291         * org.el (org-ido-switchb): New function.
4293 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
4295         * org-agenda.el (org-agenda-show): New prefix argument
4296         FULL-ENTRY.
4298         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4299         argument.
4301 2008-12-20  Glenn Morris  <rgm@gnu.org>
4303         * org.el (org-org-menu): Fix some more menu entries.
4305 2008-12-18  Carsten Dominik  <dominik@science.uva.nl>
4307         * org-table.el (org-table-get-specials): Revert introduction of @0
4308         as reference of the last table row, because of conflicts.
4310         * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
4311         argument, get the current tags directly.
4312         (org-agenda-set-tags): Leave getting current tags to
4313         `org-agenda-change-all-lines'.
4315 2008-12-17  Carsten Dominik  <dominik@science.uva.nl>
4317         * org.el (org-org-menu): Do not quote the set-tags command.
4319 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
4321         * Fix typos in comments and docstrings throughout Org-mode.
4323         * org.el (org-get-outline-path): Fix bug if level is not given.
4325         * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
4327 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4329         * org.el (org-refile): Avoid refiling to within the region to be
4330         refiled.
4332         * org-export-latex.el (org-export-latex-special-chars): Replace
4333         special characters also in tables.
4335         * org-agenda.el (org-agenda-change-all-lines): New argument
4336         FORCE-TAGS.
4337         (org-agenda-set-tags): Get the new tags and pass them to
4338         `org-format-agenda-item'.
4340 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4342         * org-export-latex.el (org-export-latex-classes): Add longable as
4343         a default package to all classes.
4344         (org-export-latex-tables): Handle the longtable attribute and the
4345         align attribute.
4347         * org-table.el (orgtbl-to-generic): Handle tables that start with
4348         a hline.
4350         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4351         \verb for colde-like snippets.
4352         (org-export-as-latex): Fix issues with region export.
4354         * org.el (org-up-heading-safe): Speed up function by using a
4355         direct regexp search.
4356         (org-olpa): New variable.
4357         (org-get-outline-path): Speed-up path constructions in cases where
4358         this is possible because the entire hierarchy is scanned anyway.
4359         (org-refile-get-location): Don't compare the truenames of files,
4360         this is too slow.
4361         (org-goto-max-level): New option.
4362         (org-goto): Use `org-goto-max-level'.
4364 2008-12-16  Tassilo Horn  <tassilo@member.fsf.org>
4366         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4367         Strip angle brackets from message-ids in the former and don't do
4368         it in the latter.
4369         (org-gnus-follow-link): Open summary reliable, even if the last
4370         messages were deleted, and handle empty groups, too.
4372 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4374         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4375         instead of \texttt for the =...= and ~===~ emphasis environments.
4376         (org-export-as-latex): Remove any old :org-license-to-kill text
4377         properties.
4378         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4379         (org-export-latex-make-header): Add some hard space after the
4380         table of contents.
4381         (org-export-latex-first-lines): Accept RBEG argument.  Mark
4382         exported text so that it will be excuded in further steps.
4384         * org-table.el (org-table-get-specials): Make @0 reference the
4385         last line in a table.
4386         (org-table-recalculate): Improve docstring.
4388 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4390         * org.el (org-log-done): Fix docstring.
4392 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4394         * org-exp.el (org-export-html-format-image): Fix bugs.
4396         * org-export-latex.el (org-export-latex-tables)
4397         (org-export-latex-links): Implement attribute, label, and caption
4398         handling.
4400         * org-exp.el (org-export-html-style-default): Add style
4401         definitions for the figure div.
4402         (org-export-preprocess-string, org-export-as-html): Implement
4403         attribute, label, and caption handling.
4404         (org-export-attach-captions-and-attributes): New function.
4405         (org-export-html-format-image): New function.
4406         (org-format-org-table-html): Implement attribute, label, and
4407         caption handling.
4409         * org.el (org-find-text-property-in-string): New function.
4410         (org-extract-attributes): Use the property org-attr instead of
4411         org-attrobutes, because this property is now set with the #+ATTR
4412         lines.
4414 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4416         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
4417         the case that FROM is nil.
4419         * org.el (org-before-first-heading-p): New function.
4421 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4423         * org-exp.el (org-export-as-html): Do not add a space before
4424         enforces line breaks.
4425         (org-export-as-html): Close paragraph before blockquote and verse
4426         tags.
4428 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4430         * org-id.el (org-id-locations-file): Wrap file name with
4431         `convert-standard-filename'.
4432         (org-id-files): New variable.
4433         (org-id-use-hash): New option.
4434         (org-id-update-id-locations): Also search in all files current
4435         listed in `org-id-files'.  Convert the resulting alist to a hash
4436         if the user customation says so.
4437         (org-id-locations-save): Handle he case if `org-id-locations' is a
4438         hash.
4439         (org-id-locations-load): Convert the alist to a hash.
4440         (org-id-add-location): Handle the hast case.
4441         (kill-emacs-hook): Make sure id locations are saved when Emacs is
4442         exited.
4443         (org-id-hash-to-alist, org-id-alist-to-hash)
4444         (org-id-paste-tracker): New functions.
4446 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4448         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
4449         bindings of calendar variables.
4451         * org-table.el (org-table-find-row-type): Rename from
4452         `org-find-row-type'.
4453         (org-table-rewrite-old-row-references): Rename from
4454         `org-rewrite-old-row-references'.
4455         (org-table-shift-refpart): Rename from `org-shift-refpart'.
4456         (org-table-cleanup-narrow-column-properties): Rename from
4457         `org-cleanup-narrow-column-properties'.
4459 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4461         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
4462         for better error messages.
4463         (org-table-get-descriptor-line): Supply the new arguments to
4464         `org-find-row-type'.
4465         (org-table-error-on-row-ref-crossing-hline): New option.
4467         * org.el (org-target-link-regexp): Make buffer-local.
4468         (org-move-subtree-down): Fix bug with trees at beginning of
4469         buffer.
4471 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4473         * org-faces.el (org-set-tag-faces): New function.
4474         (org-tags-special-faces-re): New variable.
4476         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
4478         * org-faces.el (org-tag-faces): New option.
4479         (org-tag): Mention `org-tag-faces' in the docstring.
4481 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4483         * org-exp.el (org-export-html-style-default): Implement new
4484         quoting.
4486         * org-jsinfo.el (org-infojs-template): Implement new quoting.
4488         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
4489         command to the `w3m-minor-mode-map'.
4491         * org-archive.el (org-archive-to-archive-sibling): Protect
4492         `this-command' to avoid appending kills during archiving.
4494         * org-exp.el (org-export-with-priority): New variable.
4495         (org-export-add-options-to-plist): Use `org-export-plist-vars'
4496         instead of internal list of strings and properties.
4497         (org-print-icalendar-entries): Retrieve the location property with
4498         inheritance.
4500 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4502         * org-exp.el (org-export-with-todo-keywords): New option.
4503         (org-export-plist-vars): Include also the keys for the #+OPTIONS
4504         line.
4505         (org-default-export-plist, org-export-add-options-to-plist)
4506         (org-export-as-ascii, org-export-as-html): Use the new structure
4507         of `org-export-plist-vars'.
4509         * org.el (org-map-entries): Return all values.
4511 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4513         * org.el (org-matcher-time): Recognize more special values.
4515         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
4517 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4519         * org.el (org-tags-exclude-from-inheritance): New option.
4520         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
4521         `org-tags-exclude-from-inheritance'.
4523         * org-agenda.el (org-agenda-show-inherited-tags): New option.
4524         (org-format-agenda-item): Add inherited tags to the agenda line
4525         string, and make sure that properties are kept when downcasing the
4526         tags list.
4527         (org-agenda-add-inherited-tags): New function.
4528         (org-downcase-keep-props): New function.
4530         * org.el (org-scan-tags): Mark inherited tags with a text
4531         property.
4532         (org-get-tags-at): Mark inherited tags with a text property.
4533         (org-add-prop-inherited): New function.
4535         * org-agenda.el (org-agenda-add-inherited-tags): New function.
4536         (org-agenda-show-inherited-tags): New option.
4538 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4540         * org.el (org-modules): Add org-w3m to the default modules.
4542         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
4543         orgtbl-mode.
4544         (orgtabl-create-or-convert-from-region): New command.
4546         * org-exp.el (org-export-as-ascii): Remove the handling of
4547         targets.
4548         (org-export-ascii-preprocess): Handle targets already in this
4549         function.
4551 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4553         * org-timer.el (org-timer-start-time): Define this variable.
4554         (org-timer-item): Make argument optional.
4556         * org-list.el (org-insert-item): Automatically insert a timer item
4557         if the current list is a timer list.
4559         * org-timer.el: New file.
4561         * org-publish.el (org-publish-org-index): Only exclude the index
4562         file in the main directory from being added to the site-map.
4563         (org-publish-get-project-from-filename): If the current project is
4564         a component, start publishing from the parent project.
4566 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4568         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
4570         * org-publish.el (org-publish-org-index): Improve removal of
4571         temporary buffers.
4573 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
4575         * org-agenda.el (org-get-closed): Re-apply changes
4576         accidentially overwritten by last commit to Emacs.
4578         * org.el (org-outline-path-complete-in-steps): New option.
4579         (org-refile-get-location): Honor
4580         `org-outline-path-complete-in-steps'.
4581         (org-agenda-change-all-lines, org-tags-sparse-tree)
4582         (org-time-string-to-absolute, org-small-year-to-year)
4583         (org-link-escape): Re-apply changes accidentially overwritten
4584         by last commit to Emacs.
4586 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4588         * org-clock.el (org-dblock-write:clocktable): Make sure the
4589         clocktable sees the first line.
4590         (org-clock-in): Warn if the clock cannot be resumed.
4592 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4594         * org.el (org-open-at-point): Fix mixup about interactive and
4595         non-interactive elisp links.
4597 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4599         * org-exp.el (org-export-preprocess-string): Allow one comment
4600         line before the first headline to always be included.  This is
4601         to not miss a commented target.
4603         * org-mouse.el (org-mouse-insert-item): Call
4604         `org-indent-to-column' instead of `indent-to', for XEmacs
4605         compatibility.
4607         * org.el (org-refile-targets): Fix customize definition so
4608         that it works also in XEmacs.
4609         (org-fixup-indentation): Call `org-indent-to-column' instead
4610         of `indent-to', for XEmacs compatibility.
4612 2008-11-23  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
4614         * org-mew.el (org-mew-store-link): Get the correct case folder
4615         for refiled messages.
4617 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4619         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
4620         line break indicators.
4622         * org.el (org-ido-completing-read): Remove the "i:" prefix for
4623         ido-completion propts.
4625 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4627         * org-remember.el (org-remember-apply-template): Use
4628         `org-substring-no-properties'.
4630         * org-compat.el (org-substring-no-properties): New function.
4632         * org-remember.el (org-remember-apply-template): Use
4633         `org-substring-no-properties' for compatibility.
4635         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
4636         option.
4637         (org-fix-bullet-type): respect
4638         `org-list-two-spaces-after-bullet-regexp'.
4640         * org-clock.el (org-clock-load): Clean up the code.
4642         * org.el (org-adaptive-fill-function): Allow two spaces after
4643         "1." as a list bullet.
4645 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4647         * org-clock.el (org-clock-save, org-clock-load): Check for
4648         live buffers, existing files, and buffer file names to ensure
4649         consistent information.
4650         (org-clock-persist): Make `clock' a special value of this
4651         variable, and improve docstring.
4653         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
4654         (org-get-string-indentation): Adapt indentation when the bullet
4655         width changes.
4657 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4659         * org-remember.el (org-remember-finalize): Make interactive.
4660         (org-remember-kill): New command.
4661         (org-remember-finish-immediately): Call `org-remember-finalize'
4662         directly.
4663         (org-remember-finalize): Make `org-remember-finalize' an interactive
4664         function.
4666 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4668         * org-remember.el (org-remember-apply-template): No ido completion
4669         for free prompts in remember templates.
4670         (org-remember-before-finalize-hook): New hook.
4671         (org-remember-mode): New minor mode.
4672         (org-remember-apply-template): Turn on `org-remember-mode'.
4674         * org-remember.el (org-remember-apply-template): Fix the way how
4675         the list of allowed properties is retrieved from the target file.
4677         * org.el (org-insert-link): Improve file link matching.
4679 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4681         * org-colview.el (org-columns-display-here): New argument
4682         DATELINE, to trigger using the new face.
4683         (org-agenda-colview-summarize): Call `org-columns-display-here'
4684         with the new argument.
4686         * org-faces.el (org-agenda-column-dateline): New face.
4688         * org-publish.el (org-publish-org-index): Use index-title at page
4689         title, not as section.
4691         * org-exp.el (org-export-html-format-desc): Respect the
4692         org-protect property.
4693         (org-export-as-html): Protect image specifiers that are in the
4694         description part of a link.
4696         * org.el (org-sort-entries-or-items, org-completing-read)
4697         (org-refile-get-location, org-olpath-completing-read, org-todo)
4698         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
4699         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
4700         (org-set-property, org-delete-property)
4701         (org-delete-property-globally): Use `org-ido-completing-read'.
4703         * org-remember.el (org-remember-apply-template): Use
4704         `org-ido-completing-read'.
4706         * org-publish.el (org-publish): Use `org-ido-completing-read'.
4708         * org-colview.el (org-columns-edit-value, org-columns-new)
4709         (org-insert-columns-dblock): Use `org-ido-completing-read'.
4711         * org-colview-xemacs.el (org-columns-edit-value)
4712         (org-columns-new, org-insert-columns-dblock): Use
4713         `org-ido-completing-read'.
4715         * org-attach.el (org-attach-delete-one, org-attach-open): Use
4716         `org-ido-completing-read'.
4718         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
4719         `org-ido-completing-read'.
4721         * org.el (org-time-today): New function.
4722         (org-matcher-time): Use `org-time-today'.  Add special treatment
4723         for "<tomorrow>" and "<yesterday>".
4724         (org-ido-completing-read): New function.
4725         (org-completion-use-ido): New option.
4727         * org-exp.el (org-export-format-source-code): Fix bug in require
4728         htmlize code.
4729         (org-export-target-internal-links): Fix bug in search for text
4730         property.
4732 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4734         * org-export-latex.el (org-export-latex-subcontent): Interprete
4735         target aliases as additonal labels.
4737         * org-exp.el (org-export-target-aliases): New variable.
4738         (org-export-preprocess-string)
4739         (org-export-handle-invisible-targets): Fill the alias alist.
4740         (org-export-as-html): Remove the &nbsp; from the anchor, and also
4741         assign an id.
4742         (org-html-level-start): Insert the target aliases as additonal
4743         anchors.
4745         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
4746         picture area.
4748 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4750         * org.el (org-open-at-mouse): Ensure correct link abbreviations
4751         when following a link with the mouse from the agenda.
4753         * org-exp.el (org-export-as-html): Avoid lone </div> when no
4754         headlines are created.
4756 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4758         * org.el (org-link-translation-function): New option.
4759         (org-open-at-point): Call `org-link-translation-function' if
4760         non-nil.
4761         (org-translate-link): New function.
4762         (org-translate-link-from-planner): New function.
4763         (org-open-at-point): Allow interactive commands in elisp links.
4765         * org-exp.el (org-icalendar-cleanup-string): Restore the old
4766         iCalendar quoting.  The new one seems to caus problems with
4767         applications.
4769         * org.el (org-yank): Set `this-command' to `yank', so that
4770         `yank-pop' will work.
4772 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4774         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
4775         compliance as far as quoting is concerned.
4777         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
4778         hexified version of the tag.
4780         * org-vm.el (org-vm-follow-link): Require `vm-search'.
4782         * org.el (org-up-heading-safe, org-forward-same-level): Always
4783         call `org-back-to-heading' instead of `outline-back-to-heading'.
4784         (org-back-to-heading): New wrapper around outline-back-to-heading,
4785         with a useful error message telling where the error happened.
4787         * org-list.el (org-update-checkbox-count): Always call
4788         `org-back-to-heading' instead of `outline-back-to-heading'.
4790         * org-exp.el (org-export-as-html): Make sure that each <img> tag
4791         has an `alt' attribute, to ensure XHTML validation.
4793 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4795         * org-publish.el (org-publish-attachment): Allow publishing to
4796         overwrite attachment files.
4798         * org-agenda.el (org-agenda-timerange-leaders): New option.
4799         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
4801         * org.el (org-edit-src-exit): Untabify ASCII image before
4802         returning.
4804 2008-11-19  Glenn Morris  <rgm@gnu.org>
4806         * org.el, org-mouse.el (org-agenda-change-all-lines):
4807         Fix declaration.
4809 2008-11-18  Carsten Dominik  <dominik@science.uva.nl>
4811         * org.el ("speedbar"): Only show context if the file really is an
4812         org-mode buffer.
4814 2008-11-17  Juanma Barranquero  <lekktu@gmail.com>
4816         * org.el (org-time-string-to-absolute, org-small-year-to-year)
4817         (org-tags-sparse-tree): Fix typos in docstrings.
4819 2008-11-15  Carsten Dominik  <dominik@science.uva.nl>
4821         * org-publish.el (org-publish-attachment): Allow copy-file to
4822         overwrite files.
4824 2008-11-13  Glenn Morris  <rgm@gnu.org>
4826         * org-agenda.el (org-get-closed): Fix alias.
4828 2008-11-12  Juanma Barranquero  <lekktu@gmail.com>
4830         * org.el (org-link-escape): Fix typo in docstring.
4832 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4834         * org.el (org-yank): Make any prefix force normal yanking.
4835         Suppress folding if text would be swallowed into a folded
4836         subtree.
4837         (org-yank-folded-subtrees, org-yank): Docstring updates.
4839         * org-agenda.el (org-agenda-compare-effort): Treat no effort
4840         defined as 0.
4842         * org-exp.el (org-export-language-setup): Add Catalan and
4843         Esperanto language entries.
4845 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4847         * org.el (org-refile): Allow refiling of entire regions.
4849         * org-clock.el (org-clock-time%): New function.
4851         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
4852         retrieve property values.
4854 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4856         * org-agenda.el (org-agenda-list): Handle the value `only' of
4857         org-agenda-show-log'.
4858         (org-agenda-log-mode): Interpret a double prefix arg.
4860 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4862         * org-exp.el (org-export-html-footnotes-section): New variable.
4863         (org-export-as-html): Use `org-export-html-footnotes-section' to
4864         insert the footnotes.
4865         (org-export-language-setup): Add "Footnotes" to language words.
4867 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4869         * org.el (org-yank): Fix bug when not inserting a subtree.
4871 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4873         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
4874         instead of `vm-beginning-of-message'.
4876         * org.el (org-make-link-regexps): Make sure that links to gnus can
4877         contain brackets.
4879 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4881         * org-attach.el (org-attach-dir): Remove duplicate ID creation
4882         code.
4884         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
4885         shell output.
4887         * org.el (org-link-abbrev-alist): Improve customization type.
4889         * org-attach.el (org-attach-expand-link, org-attach-expand): New
4890         functions.
4892         * org-agenda.el (org-agenda-get-progress): Rename from
4893         `org-get-closed'.  Implement searching for state changes as well.
4894         (org-agenda-log-mode-items): New option.
4895         (org-agenda-log-mode): New option prefix argument, interpreted as
4896         request to show all possible progress info.
4897         (org-agenda-get-day-entries): Call `org-get-progress' instead of
4898         `org-get-closed'.
4899         (org-agenda-set-mode-name): Handle the more complex log mode
4900         settings.
4901         (org-get-closed): New alias, pointing to `org-get-progress'.
4903 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
4905         * org.el (org-file-apps-defaults-gnu)
4906         (org-file-apps-defaults-macosx)
4907         (org-file-apps-defaults-windowsnt): Add an entry defining the
4908         system command.
4909         (org-file-apps): Allow `system' as key and value.
4910         (org-open-at-point): Explain the effect of a double prefix arg.
4911         (org-open-file): If the argument `in-emacs' is (16),
4912         i.e. corresponding to a double prefix argument, try to open the
4913         file externally.
4915 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
4917         * org.el (org-insert-link): Abbreviate absolute files names in
4918         links.  Also, fix a bug in which the double C-u prefix would not
4919         be honored.
4921 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
4923         * org.el (org-insert-heading): If buffer does not end with a
4924         newline, add one if necessary to insert headline correctly.
4926         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
4927         paragraphs, not inside.
4929         * org.el (org-todo): Quote
4930         `org-agenda-headline-snapshot-before-repeat'.
4932         * org-exp.el (org-export-as-html): Fully process link descriptions.
4933         (org-export-html-format-desc): New function.
4934         (org-export-as-html): Collect footnotes into the correct basket.
4935         (org-html-protect): No longer protect quotations marks here, this
4936         goes wrong.
4938         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
4939         BEG.
4941         * org-compat.el (org-fit-window-to-buffer): New function (not
4942         really, a preliminary and incomplete version was present earlier,
4943         but not used).
4945         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
4946         `org-fit-window-to-buffer'.
4948         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
4950         * org-agenda.el (org-agenda-get-restriction-and-command)
4951         (org-fit-agenda-window, org-agenda-convert-date): Use
4952         `org-fit-window-to-buffer'.
4954         * org-exp.el (org-export-as-html): Process href links through
4955         `org-export-html-format-href'.
4956         (org-export-html-format-href): New function.
4958         * org-agenda.el (org-agenda-todo): Update only the current
4959         headline if this is a repeated TODO, marked done for today.
4960         (org-agenda-change-all-lines): New argument JUST-THIS, to change
4961         only the current line.
4963         * org.el (org-todo): Take a snapshot of the headline if the
4964         repeater might change it.
4966 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
4968         * org-publish.el (org-publish-find-title): Remove buffers visited
4969         only for extracting the title.
4971         * org-exp.el (org-export-html-style)
4972         (org-export-html-style-default): Mark style definitions as
4973         unparsed CDATA.
4975         * org-publish.el (org-publish-validate-link): Function
4976         re-introduced.
4978 2008-11-12  Charles Sebold  <csebold@gmail.com>
4980         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
4981         property.
4982         (org-plot-quote-timestamp-field): New function.
4983         (org-plot-quote-tsv-field): Call timestamp field function when
4984         necessary rather than just quoting as a string.
4985         (org-plot/gnuplot-to-data): Pass in timefmt property.
4986         (org-plot/gnuplot-script): Supports timefmt property.
4987         (org-plot/gnuplot): Checks for timestamp column before checking
4988         for text index column.
4990 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
4992         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
4994         * org-publish.el (org-publish-org-index): Create a section in the
4995         index file.
4996         (org-publish-org-index): Stop linking to directories.
4998         * org.el (org-emphasis-alist): Use span instead of <u> to
4999         underline text.
5001         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5002         <pre> sections.
5004 2008-11-12  Sebastian Rose  <sebastian_rose@gmx.de>
5006         * org-jsinfo.el (org-infojs-template): Remove language attribute
5007         from script tag.
5009 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
5011         * org-agenda.el (org-agenda-remove-marked-text): New function.
5012         (org-agenda-mark-filtered-text)
5013         (org-agenda-unmark-filtered-text): New functions.
5014         (org-write-agenda): Remove fltered text.
5016         * org.el (org-make-tags-matcher): Give access to TODO "property"
5017         without speed penalty.
5019 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
5021         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5022         option.
5023         (org-store-link-props): Make sure adding to the plist works
5024         correctly.
5026         * org-gnus.el (org-gnus-no-new-news): New function.
5027         (org-gnus-follow-link): Allow the article ID to be a message-id,
5028         in addition to allowing article numbers.  Message IDs make much
5029         more roubust links.
5030         (org-gnus-store-link): Use message-id to create link.
5032 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
5034         * org.el (org-emphasize): Reverse the selection array.
5035         (org-emphasis-alist): Set <code> tags for the verbatim
5036         environment.
5038         * org-remember.el (org-remember-handler): Fix bug with
5039         prefix-related changing of the note storage target.
5041         * org-exp.el (org-print-icalendar-entries): Make the exported
5042         priorities compatible with RFC 2445.
5044         * org-clock.el (org-clock-save): Insert time stamp without
5045         dependence on time-stamp.el.
5047 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
5049         * org.el ("saveplace"): If saveplace puts point into an invisible
5050         location, make it visible.
5051         (org-make-tags-matcher): Allow inactive time stamps in time
5052         comparisons.
5053         (org-yank-adjusted-subtrees): New option.
5054         (org-yank): Incorporate adjusting trees.
5055         (org-paste-subtree): New argument FOR-YANK which will cause
5056         insertion at point without backing up over white lines, and leave
5057         point at the end of the inserted text.  Also if the cursor is
5058         at the beginning of a headline, use the same level or the inserted
5059         tree.
5061         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5062         with broken symlinks.
5064 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
5066         * org-exp.el (org-export-select-tags, org-get-current-options):
5067         Fix typo.
5069 2008-11-06  Glenn Morris  <rgm@gnu.org>
5071         * org-publish.el (org-publish-attachment): Use copy-file rather than
5072         eshell/cp.
5074 2008-11-04  Juanma Barranquero  <lekktu@gmail.com>
5076         * org.el (org-columns-modify-value-for-display-function):
5077         * org-table.el (org-table-convert-region): Fix typos in docstrings.
5079 2008-10-28  Glenn Morris  <rgm@gnu.org>
5081         * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
5083         * org-list.el (outline-next-heading, outline-back-to-heading):
5084         Fix declarations.
5086 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5088         * org-agenda.el (org-format-agenda-item)
5089         (org-agenda-filter-make-matcher): Make sure tags are stored and
5090         compared donwcased.
5092 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5094         * org.el (org-insert-todo-heading): Fix bug with force-heading
5095         argument.
5097 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5099         * org-exp.el (org-export-as-ascii): Handle the case that we are
5100         bulishing from an indirect buffer.
5102         * org-table.el (org-table-copy-down): Fix bug with time stamp
5103         increment.
5105         * org-mouse.el (org-mouse-features): New option.
5106         (org-mode-hook): Turn on features depending on
5107         `org-mouse-features'.
5109         * org.el (org-insert-heading-respect-content): Force heading
5110         creation.
5111         (org-insert-heading): keep the folding state of the heading before
5112         the inserted one.
5114 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5116         * org-archive.el (org-archive-to-archive-sibling): Handle top
5117         level headlines better.
5119 2008-10-26  Bastien Guerry  <bzg@altern.org>
5121         * org-export-latex.el (org-export-latex-classes): Add
5122         \usepackage{graphicx} to the default list of packages.
5124 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5126         * org-agenda.el (org-agenda-filter): Rename from
5127         `org-agenda-filter-tags'.
5129 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5131         * org.el (org-entry-properties): Add CATEGORY property, iven if it
5132         is not defined as a property in this entry.
5133         (org-add-log-note): Mask prefix argument when immediately storing
5134         the note.
5136         * org-agenda.el (org-agenda-filter-effort-default-operator): New
5137         option.
5139 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
5141         * org.el (org-add-log-setup): Bugfix; code to find insertion point
5142         after drawers was skipping ahead one line too many, so notes were
5143         inserted after the first note instead of before it.
5145 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5147         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5148         New variables.
5149         (org-prepare-agenda): Reset the filter tags.
5150         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5151         Show filter tags in mode line.
5153         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5154         formatter.
5156         * org-export-latex.el (org-latex-entities-regexp): New constant.
5157         (org-export-as-pdf): Use two calls to `shell-command'.
5159 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5161         * org-export-latex.el (org-export-latex-treat-sub-super-char):
5162         Honor the {} value of the subsuperscript setting.  Make sure that
5163         longer subsuperscripts are typeset in a roman font.
5165         * org.el (org-clock-update-time-maybe): Compute negative clock
5166         intervals correctly.
5168 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5170         * org.el (org-add-log-setup): Respect
5171         `org-log-state-notes-insert-after-drawers'.
5172         (org-log-state-notes-insert-after-drawers): New option.
5173         (org-todo-trigger-tag-changes): New function.
5174         (org-todo): Call `org-todo-trigger-tag-changes'.
5176 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
5178         * org.el (org-add-log-setup): Only skip drawers if the are
5179         immediately after the scheduling keywords.
5181         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5182         function
5183         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5184         call it with the current todo state to get the state to switch to
5185         when clocking in.
5186         (org-clock-in): Use org-indent-line-function to indent clock lines.
5187         (org-clock-find-position): Fix indentation of empty clock drawers.
5189 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5191         * org-publish.el (org-publish-org-to): Handle case when
5192         org-export-to-pdf does return a file name, not a buffer.
5193         (org-publish-org-to-pdf): New function.
5195         * org-export-latex.el (org-export-as-pdf)
5196         (org-export-as-pdf-and-open): New commands.
5198         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5199         forms as ranges.
5201         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5202         things in protexted regions.
5204 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5206         * org-export-latex.el (org-export-latex-preprocess): Improve
5207         quoting of LaTeX environments.
5209 2008-10-19  Eli Zaretskii  <eliz@gnu.org>
5211         * org.el (org-default-notes-file):
5212         * org-publish.el (org-publish-timestamp-directory):
5213         * org-id.el (org-id-locations-file): Run file names that begin
5214         with a period thru `convert-standard-filename'.
5216 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
5218         * org-plot.el: Switch coding system to unix.
5220 2008-10-12  John Wiegley  <johnw@newartisans.com>
5222         * org-attach.el: New file.
5224 2008-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
5226         * org.el (org-edit-fixed-width-region): Exclude final newline from
5227         picture area.
5229         * org-export-latex.el (org-export-latex-subcontent): Add labels to
5230         sections, to make internal links work.
5231         (org-export-latex-fontify-headline): Do not remove all text
5232         properties, to make sure that target properties survive this
5233         process.
5235         * org-exp.el (org-export-preprocess-string): Change sequence of
5236         modifications, to make sure links are prepared before the LaTeX
5237         conversions do happen.
5239         * org-attach.el (org-attach-delete-all): Rename from
5240         `org-attch-delete'.  Add a security query before deleting the
5241         entire directory.  New optional argument FORCE can overrule the
5242         security query.
5243         (org-attach-delete-one): New command.
5245         * org-attach.el (org-attach-file-list): Fix bug with directory.
5247         * org.el (org-apps-regexp-alist): New function.
5248         (org-file-apps): Add auto-mode to the default value.
5249         (org-open-file): Use the new structure of org-file-apps.
5251         * org-attach.el (org-attach): Support the new keys.
5252         (org-attach-method): New option.
5254         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5255         March.
5257         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5258         of the list value o `org-use-tag-inheritance'.
5260         * org-attach.el (org-attach-auto-tag): New option.
5261         (org-attach-tag, org-attach-untag): New functions.
5262         (org-attach-attach, org-attach-new, org-attach-sync): Call
5263         `org-attach-tag'.
5264         (org-attach-delete): Call `org-attach-untag'.
5266         * org-table.el (orgtbl-self-insert-command): Make this work for
5267         the keypad as well.
5269         * org.el (org-add-log-setup): Limit searc for drawers to entry
5270         text, not to subtree.
5272         * org-clock.el (org-clock-heading-for-remember): New variable.
5273         (org-clock-in): Set `org-clock-heading-for-remember'.
5275 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
5277         * org-remember.el (org-remember-apply-template): Add new
5278         expansions: %k, %K for currently clocked task and a link to the
5279         currently clocked task, and %< to file notes in the currently
5280         clocked task.
5282 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
5284         * org-export-latex.el (org-export-latex-make-header): Also insert
5285         the content of the property :latex-header-extra.
5287         * org-exp.el (org-infile-export-plist): Put the content of
5288         #+LATEX_HEADER: into the property :latex-header-extra.
5290         * org-colview.el (org-columns-get-format-and-top-level): Remove
5291         resetting the marker.
5293         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5294         Remove resetting the marker.
5296         * org.el (org-entry-property-inherited-from): Improve docstring.
5297         (org-entry-get-with-inheritance): Reset marker before starting the
5298         search.
5300         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5302         * org.el (org-entry-get-multivalued-property)
5303         (org-entry-protect-space, org-entry-restore-space): New
5304         functions.
5305         (org-file-apps-defaults-macosx): Let postscript files be opened by
5306         preview.
5307         (org-time-stamp-inactive): Call `org-time-stamp'.
5308         (org-time-stamp): New argument `inactive'.  Also edit inacive
5309         stamps.  Convert time stamp type.
5310         (org-open-file): Interpret the `default' value for the `command'
5311         in `org-file-apps'.
5313         * org-id.el (org-id-int-to-b36-one-digit)
5314         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5315         (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
5316         b36.
5318         * org-id.el (org-id-reverse-string): New function.
5319         (org-id-new): Use `org-id-reverse-string' to make sure the
5320         beginning chars of the ID are mutating fast.  This allows to use a
5321         directory structure to spread things better.
5322         (org-id-prefix): Change default to nil.
5324         * org-list.el (org-move-item-down, org-move-item-up): Remember and
5325         restore the column of the cursor position.
5327         * org-remember.el (org-remember-apply-template): Remove properties
5328         from `initial'.
5330         * org-wl.el (org-wl-open): Remove useless call to
5331         `wl-thread-open-all'.
5333         * org-remember.el (org-remember-handler): Fix bug with `bottom'
5334         location.
5336         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5337         `org-bbdb-anniversaries'.
5339         * org.el (org-get-next-sibling, org-forward-same-level): New
5340         functions, similar to the outline versions, but invisible headings
5341         are OK.
5343 2008-10-12  Bastien Guerry  <bzg@altern.org>
5345         * org.el (org-auto-repeat-maybe): Insert a space between
5346         the timestamp's type and the timestamp itself.
5348 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
5350         * org-table.el (org-table-sum): Do not format the result with %g,
5351         it does rounding when there are too many digits.
5353         * org.el (org-map-entries): Protect the keyword-selecting variables.
5355 2008-10-12  Bastien Guerry  <bzg@altern.org>
5357         * org-agenda.el (org-agenda-to-appt): Make sure the function check
5358         against all agenda files.
5360 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
5361         Bastien Guerry  <bzg@altern.org>
5363         * org-list.el: New file, aggregating list functions from org.el
5364         and org-export-latex.el.
5366 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
5368         * org.el (org-edit-src-region-extra): New option.
5370         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5371         time before 1am.
5373 2008-10-12  Bastien Guerry  <bzg@altern.org>
5375         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5377 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
5379         * org-plot.el (org-plot/gnuplot): Make tables starting with a
5380         hline work correctly.
5381         (org-plot/gnuplot-script): Put commas at the end of each script
5382         line.
5384         * org.el (org-get-refile-targets): Replace links with their
5385         descriptions
5386         (org-imenu-get-tree): Replace links with their descriptions.
5388         * org-remember.el (org-remember-apply-template): Add a new
5389         expansion for adding properties to remember items.
5391         * org.el (org-add-log-setup): Skip over drawers (properties,
5392         clocks etc) when adding notes.
5394         * org-agenda.el (org-agenda-get-closed): show durations of clocked
5395         items as well as the start and end times.
5397         * org-compat.el (org-get-x-clipboard-compat): Add a compat
5398         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
5400         * org-remember.el (org-get-x-clipboard): Use the compat
5401         function to get clipboard values when x-selection-value is
5402         unavailable.  Use substring-no-properties instead of
5403         set-text-properties to remove text properties from the clipboard
5404         value.
5406         * lisp/org-clock.el (org-update-mode-line): Support limiting the
5407         modeline clock string, and display the full todo value in the
5408         tooltip.  Set a local keymap so mouse-3 on the clock string goes to
5409         the currently clocked task.
5410         (org-clock-string-limit): Add a custom value for the maximum
5411         length of the clock string in the modeline.
5412         (org-clock-mode-map): Add a keymap for the modeline string.
5414 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
5416         * org-compat.el (org-propertize): New function.
5418 2008-10-12  Bastien Guerry  <bzg@altern.org>
5420         * org-export-latex.el (org-export-latex-tables): protect exported
5421         tables from further special chars conversion.
5422         (org-export-latex-preprocess): Preserve LaTeX environments.
5423         (org-list-parse-list): Parse descriptive lists.
5424         (org-list-to-generic, org-list-to-latex, org-list-to-html)
5425         (org-list-to-texinfo): Export descriptive lists.
5426         (org-quote-chars): Remove.
5427         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
5428         (org-export-latex-list-beginning-re): Rename to
5429         `org-list-beginning-re'
5430         (org-list-item-begin): Rename to `org-list-item-beginning'.
5432 2008-10-12  Eric Schulte  <schulte.eric@gmail.com>
5434         * org-plot.el: New file.
5436 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
5438         * org.el (org-refile): Allow refiling to the last entry in the
5439         buffer.
5440         (org-get-tags-at): Fix bug when inheritance is turned off.
5442         * org.el (org-indent-line-function): No longer check for src
5443         regions, this is too much overhead.
5445         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
5446         matching.
5448         * org.el (org-scan-tags): Make sure that tags matching is not case
5449         sensitive.  TODO keyword matching is case sensitive, however, to
5450         avoid confusion with similar words that are not meant to be
5451         keywords.
5453         * org.el (org-get-local-tags-at): New function.
5454         (org-get-local-tags): New function.
5456         * org-exp.el (org-export-get-categories): New function.
5458         * org-agenda.el (org-sorting-choice)
5459         (org-agenda-sorting-strategy, org-agenda-get-todos)
5460         (org-agenda-get-timestamps, org-agenda-get-deadlines)
5461         (org-agenda-get-scheduled, org-agenda-get-blocks)
5462         (org-entries-lessp): Implement sorting by TODO state.
5463         (org-cmp-todo-state): New defsubst.
5465         * org-colview.el (org-colview-construct-allowed-dates): New
5466         function.
5467         (org-columns-next-allowed-value): Use
5468         `org-colview-construct-allowed-dates'.
5470         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
5471         function.
5472         (org-columns-next-allowed-value): Use
5473         `org-colview-construct-allowed-dates'.
5475         * org.el (org-protect-slash): New function.
5476         (org-get-refile-targets): Use `org-protect-slash'.
5478         * org-agenda.el (org-global-tags-completion-table): New variable.
5480         * org-exp.el (org-export-handle-export-tags): New function.
5481         (org-export-preprocess-string): Call
5482         `org-export-handle-export-tags'.
5484         * org-publish.el (org-publish-expand-components): Function removed.
5485         (org-publish-expand-projects): Allow components to have components.
5487         * org.el (org-indent-line-function): Do not indent in regions that
5488         are external source code.
5489         (org-yank-and-fold-if-subtree): New function.
5491         * org-agenda.el (org-agenda-todayp): New function.
5492         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
5493         `org-agenda-todayp'.
5495         * org.el (org-insert-heading-respect-content)
5496         (org-insert-todo-heading-respect-content): New commands.
5497         (org-insert-heading-respect-content): New option.
5498         (org-insert-heading): Respect `org-insert-heading-respect-content'.
5500         * org-clock.el (org-clock-find-position): Make sure the note after
5501         the clock line gets moved into the new clock drawer.
5503         * org-id.el (org-id-new): New option.
5505         * org-table.el (org-table-copy-down): Avoid overflow during
5506         increment.  Use prefix argument 0 to temporarily disable the
5507         increment.
5509         * org-exp.el (org-export-as-html): Do not turn on the major mode
5510         if the buffer will be killed anyway.
5511         (org-get-current-options): Exclude the #+TEXT field.
5512         (org-export-as-html): Make sure text before the first headline is
5513         a paragraph.
5515         * org-publish.el (org-publish-org-to): Tell the exporter that this
5516         buffer will be killed, so it is not necessary to do major mode
5517         initialization.
5519         * org-archive.el (org-archive-to-archive-sibling): Show empty
5520         lines after folding the archive sibling.
5522         * org.el (org-log-note-extra): New variable.
5524 2008-10-12  Bastien Guerry  <bzg@altern.org>
5526         * org.el (org-additional-option-like-keywords): Add keywords for
5527         the _QUOTE, _VERSE and _SRC environments.
5529         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
5530         exporting _QUOTE and _VERSE environments.
5532 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
5534         * org-agenda.el (org-agenda-filter-by-tag): New command.
5536         * org-exp.el (org-get-current-options): Remove angular brackets
5537         from the date entry.
5539         * org.el (org-edit-fixed-width-region): New function.
5540         (org-edit-fixed-width-region): Also try
5541         `org-edit-fixed-width-region'.
5542         (org-edit-fixed-width-region-mode): New option.
5543         (org-activate-code): Only interprete lines starting with colon
5544         plus a space as example lines.
5546         * org-remember.el (org-remember-templates): Add nil instead of
5547         empty strings to fix the length of remember templates.
5549         * org-table.el (org-calc-default-modes): Fix the time format for
5550         calc, from 12 hour to 24 hour clock.
5552         * org-agenda.el (org-agenda-get-deadlines)
5553         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
5554         entries that are pre-warnings of deadlines or reminders.
5556         * org.el (org-sort-entries-or-items): Make numeric and alpha
5557         comparisons ignore any TODO keyword and priority cookie.
5559         * org-remember.el (org-remember-handler): Reinterpretation of the
5560         prefix argument.
5562         * org-agenda.el (org-agenda-get-scheduled): Use new
5563         `org-scheduled' face.
5565         * org-faces.el (org-scheduled): New face.
5567         * org-wl.el (org-wl-open): Remove incorrect declaration.
5569         * org-gnus.el (org-gnus-store-link): Support for :to information
5570         in gnus links.
5572         * org-exp.el (org-export-as-html): Fix typo in creator
5573         information.
5574         (org-export-protect-examples): New parameter indent.  Insert extra
5575         spaces only when this parameter is specified.
5576         (org-export-preprocess-string): Call `org-export-protect-examples'
5577         with an indentation parameter when exporting to ASCII.
5579         * org-remember.el (org-remember-templates)
5580         (org-remember-apply-template): Allow the file component to be a
5581         function.
5583         * org.el (org-goto-local-search-headings): Rename from
5584         `org-goto-local-search-forward-headings'.  Added the possibility
5585         to search backwards.
5587         * org-export-latex.el (org-export-latex): New customization
5588         group.
5590         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
5592         * org-exp.el (org-html-do-expand): Allow {} to terminate
5593         tex macro.
5595         * org.el (org-buffer-list): Select buffers based on major mode,
5596         not on file name.
5598         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
5599         face property.
5601         * org-colview.el (org-columns-display-here): Use
5602         `org-columns-modify-value-for-display-function'.
5604         * org-colview-xemacs.el (org-columns-display-here): Use
5605         `org-columns-modify-value-for-display-function'.
5607         * org.el (org-columns-modify-value-for-display-function): New option.
5609         * org-publish.el (org-publish-file): Make sure the directory match
5610         for the publishing directory works correctly.
5612         * org-agenda.el (org-agenda-execute-calendar-command)
5613         (org-agenda-diary-entry): Additional optional argument.
5615 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
5617         * org-exp.el (org-export-as-html): Add attributes also in mailto
5618         and ftp links.
5620         * org.el (org-autoload): Add `org-dblock-write:columnview'.
5622 2008-08-11  Glenn Morris  <rgm@gnu.org>
5624         * org-mac-message.el (do-applescript): Fix declaration.
5626 2008-08-10  Glenn Morris  <rgm@gnu.org>
5628         * org-exp.el (org-export-as-html): Let-bind `i'.
5630         * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
5631         (org-extract-attributes): Let-bind `key', `value'.
5632         (org-make-tags-matcher): Let-bind `time-p'.
5634 2008-07-27  Carsten Dominik  <dominik@science.uva.nl>
5636         * org-install.el: New file.
5638 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
5640         * org-exp.el (org-export-html-style)
5641         (org-export-html-style-extra): Declare as safe-local-variable.
5643 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
5645         * org-publish.el (org-publish-file): Use the true name of the
5646         file.
5648         * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
5649         instead of :style.
5651         * org-exp.el (org-export-plist-vars)
5652         (org-export-add-options-to-plist): Handle creator setting flag.
5653         (org-export-as-html): Handle attributes also for ftp and mailto
5654         links.
5656         * org-agenda.el (org-agenda-diary-entry)
5657         (org-agenda-execute-calendar-command): Cater for the second
5658         argument of `calendar-cursor-to-date'.
5660 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
5662         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
5663         sure that calls from `org-export-region-as-html' do not do the
5664         special check for a subtree.
5666         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
5668         * org.el (org-open-file): Use
5669         `org-open-directory-means-index-dot-org'.
5670         (org-open-directory-means-index-dot-org): New option.
5672         * org.el (org-make-link-string): Remove link attributes from
5673         description.
5674         (org-open-at-point): Remove link attributes before using the path.
5676         * org-exp.el (org-export-as-html): Handle link attributes.
5678         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
5680         * org-table.el (org-table-to-lisp): New function.
5682         * org.el (org-narrow-to-subtree): Do not include the final newline
5683         into the narrowed region.
5685         * org-agenda.el (org-agenda-custom-commands-local-options): Fix
5686         bug with user-define skipping condition.
5688         * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
5690         * org-exp.el (org-export-html-style-default): Automatic overflow
5691         handling for pre fields.
5692         (org-export-as-ascii, org-export-as-html): Change default format
5693         for time stamp.
5695         * org-table.el (org-table-export): Offer completion for translator
5696         functions, and do not require a heading above the table.
5698         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
5699         Cater for the case of a list starting in the first line of the
5700         buffer.
5702         * org-publish.el (org-publish-find-title): Bug fix.
5703         (org-publish-org-index): Implement new :index-style option.
5705         * org-publish.el (org-publish-timestamp-filename): Use
5706         SHA1-encoded file names in the timestamp directory.
5708         * org-publish.el (org-publish-needed-p): Be verbose about files
5709         published and files skipped.
5711         * org-exp.el (org-export-preprocess-string): Swap link
5712         normalization and internal link targeting.
5714         * org-publish.el (org-publish-needed-p): Create timestamp
5715         directory when it does not exist.
5717         * org-clock.el (org-clock-out-when-done): Doc fix.
5719         * org.el (org-agenda-skip-unavailable-files): Doc fix.
5721         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
5722         Ignore case when searching for the COMMENT cookie at export time.
5724         * org-exp.el (org-get-file-contents)
5725         (org-get-and-remove-property): New functions.
5726         (org-export-handle-include-files): Handle the new prefix options.
5727         (org-export-as-html): Fix the verse environment.
5729         * org.el (org-time=, org-time<, org-time<=, org-time>)
5730         (org-time>=, org-time<>, org-2ft): New functions.
5731         (org-op-to-function): Also provide for the time testing functions.
5733         * org-exp.el (org-export-html-style-default): New constant.
5735         * org-exp.el (org-export-html-style-extra): New variable.
5736         (org-export-splice-style): New function.
5738         * org-exp.el (org-export-plist-vars, org-export-as-html):
5739         Implement `org-export-creator-info'.
5740         (org-export-creator-info): New option.
5742         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
5743         (org-property-drawer-re, org-clock-drawer-re): New constants.
5745         * org-exp.el (org-icalendar-use-deadline)
5746         (org-icalendar-use-scheduled): New options.
5747         (org-icalendar-include-todo): Default changed to t.
5748         (org-print-icalendar-entries): Implement better utilization of
5749         scheduling and deadline time stamps.
5750         (org-export-target-internal-links, org-export-as-html): Allow file
5751         lines without the "file:" prefix if the file path is an absolute
5752         path or starts with ".".
5754         * org-clock.el (org-clocktable-shift): Also understand yesterday,
5755         lastweek etc.
5756         (org-clock-special-range): Also understand yesterday, lastweek etc.
5758         * org.el (org-agenda-skip-archived-trees): Docstring now
5759         discourages using this.
5760         (org-scan-tags): Check for org-agenda-archives-mode.
5761         (org-map-entries): Make sure org-agenda-archives-mode is nil.
5762         (org-agenda-files): Functionality of second arg changed.
5764         * org-agenda.el (org-agenda-archives-mode): New variable
5765         (org-write-agenda, org-prepare-agenda, org-agenda-list)
5766         (org-search-view, org-todo-list, org-tags-view)
5767         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
5768         `ifmode' argument.
5769         (org-agenda-quit): Reset the archives mode.
5770         (org-agenda-archives-mode): New command.
5771         (org-agenda-set-mode-name): Include archives info.
5773         * org.el (org-paste-subtree): Make sure the yanked headline is
5774         visible if it was yanked at a visible point.
5775         (org-move-item-up): Fix the bug with moving white space at the end
5776         of the item.
5777         (org-show-empty-lines-in-parent): New function.
5779 2008-07-19  Juri Linkov  <juri@jurta.org>
5781         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
5782         new keymap `narrow-map' instead of binding "\C-xns".
5784 2008-07-02  Juanma Barranquero  <lekktu@gmail.com>
5786         * org.el (org-agenda-skip-unavailable-files):
5787         * org-clock.el (org-clock-out-when-done): Doc fixes.
5789 2008-06-18  Glenn Morris  <rgm@gnu.org>
5791         * org.el (org-map-entries): Let-bind `file'.
5793 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5795         * org-colview.el (org-columns-next-allowed-value): Bug fix.
5797         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
5799         * org-agenda.el (org-agenda-get-closed): Get the end time into the
5800         agenda prefix as well.
5802         * org-publish.el (org-publish-org-index): Make a properly indented
5803         list.
5805         * org.el (org-calendar-agenda-action-key): New option.
5806         (org-get-cursor-date): New function.
5807         (org-mark-entry-for-agenda-action): New command.
5808         (org-overriding-default-time): New variable.
5809         (org-read-date): Respect `org-overriding-default-time'.
5811         * org-remember.el (org-remember-apply-template): Respect the
5812         overriding default time.
5814         * org-agenda.el (org-agenda-action-marker): New variable.
5815         (org-agenda-action): New command.
5816         (org-agenda-do-action): New function.
5818 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5820         * org.el (org-schedule, org-deadline): Protect scheduled and
5821         deadline tasks against changes that accidently remove the
5822         repeater.  Also show a message with the new date when done.
5824 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5826         * org.el (org-beginning-of-line): Cater for the case when there
5827         are tags but no headline text.
5828         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
5829         it set.
5831 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5833         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
5834         the return value is nil instead of "nil" when there is no match.
5836         * org-exp.el (org-insert-centered): Use fill-column instead of
5837         80.
5838         (org-export-as-ascii): Use string-width to measure the width of
5839         the heading.
5841         * org.el (org-diary-to-ical-string): No longer kill buffer
5842         FROMBUF, this is now done by the caller.
5844         * org-exp.el (org-print-icalendar-entries): Move the call to
5845         `org-diary-to-ical-string' out of the loop, and kill the buffer
5846         afterwords.
5848         * org-remember.el (org-remember-visit-immediately): Position
5849         cursor after moving to the note.
5850         (org-remember-apply-template): Use a text property to record the
5851         cursor position.
5852         (org-remember-handler): Align tags after pasting the note.
5854 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5856         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
5858         * org-agenda.el (org-agenda-open-link): If there is an
5859         org-bbdb-name property in the current line, jump to that bbdb
5860         entry.
5862         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
5863         text property, so that the agenda knows where this entry comes
5864         from.
5866         * org-agenda.el (org-agenda-clock-in): Fix bug in the
5867         interaction between clocking-in from the agenda, and  automatic
5868         task state switching.
5870         * org-macs.el (org-with-point-at): Bug fix in macro definition.
5872         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
5873         zmacs-region stays after this command in XEmacs.
5875 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5877         * org.el (org-scan-tags): Allow new values for ACTION parameter.
5879         * org-remember.el (org-remember-templates): Fix bug in
5880         customization type definition.
5882         * org.el (org-map-entries): New function.
5884 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5886         * org-agenda.el (org-agenda-skip-comment-trees): New option.
5887         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
5889 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5891         * org-remember.el (org-jump-to-target-location): New variable.
5892         (org-remember-apply-template): Set
5893         `org-remember-apply-template' if requested by template.
5894         (org-remember-handler): Start an idle timer to jump to
5895         remember location.
5897         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
5899         * org.el (org-set-regexps-and-options): Fix bug with parsing of
5900         file tags.
5901         (org-get-tags-at): Add the content of `org-file-tags'.
5903         * org-exp.el (org-export-handle-comments): Fix bug with several
5904         comment lines after each other.
5905         (org-number-to-roman, org-number-to-counter): New functions.
5906         (org-export-section-number-format): New option.
5908 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5910         * org-exp.el (org-export-protect-examples): Catch the case of a
5911         missing end_example line.
5913         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
5914         `org-file-tags' to nil.
5916         * org-colview.el (org-columns-next-allowed-value): Handle next
5917         argument NTH to directly select a value.
5919         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
5920         argument NTH to directly select a value.
5922 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5924         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
5926 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5928         * org.el (org-columns-ellipses): New option.
5930 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5932         * org-colview.el (org-columns-add-ellipses): New function.
5933         (org-columns-compact-links): New function.
5934         (org-columns-cleanup-item): Call `org-columns-compact-links'.
5935         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
5936         when in agenda.
5937         (org-columns-edit-value): Fix bug with editing values from
5938         agenda column view.
5939         (org-columns-redo): Also redo the agenda itself.
5941 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5943         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
5944         option.
5946         * org-colview.el (org-agenda-columns-cleanup-item): New function.
5948         * org-exp.el (org-export-ascii-preprocess): Rename from
5949         `org-export-ascii-clean-string'.
5950         (org-export-kill-licensed-text)
5951         (org-export-define-heading-targets)
5952         (org-export-handle-invisible-targets)
5953         (org-export-target-internal-links)
5954         (org-export-remove-or-extract-drawers)
5955         (org-export-remove-archived-trees)
5956         (org-export-protect-quoted-subtrees)
5957         (org-export-protect-verbatim, org-export-protect-examples)
5958         (org-export-select-backend-specific-text)
5959         (org-export-mark-blockquote-and-verse)
5960         (org-export-remove-comment-blocks-and-subtrees)
5961         (org-export-handle-comments, org-export-mark-radio-links)
5962         (org-export-remove-special-table-lines)
5963         (org-export-normalize-links)
5964         (org-export-concatenate-multiline-links)
5965         (org-export-concatenate-multiline-emphasis): New functions,
5966         obtained from spliting the export preprocessor.
5968         * org-table.el (org-table-recalculate): Improve error message if
5969         the row number is invalid.
5971 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5973         * org-archive.el (org-archive-save-context-info): Fix bugs in
5974         customization setup and docstring.
5976         * org-exp.el (org-export-html-style): Change the size of in the
5977         <pre> element to 90%.
5979 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5981         * org.el (org-find-src-example-start): Function removed.
5982         (org-edit-src-find-region-and-lang): New function.
5984 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5986         * org.el (org-edit-src-exit): New function.
5987         (org-exit-edit-mode): New minor mode.
5989         * org-exp.el (org-export-preprocess-string): Fix bug with removing
5990         comment-like lines from protected examples.
5992         * org.el (org-edit-src-example, org-find-src-example-start)
5993         (org-protect-source-example, org-edit-special): New functions.
5995 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5997         * org-publish.el (org-publish-project-alist): Fix typo in
5998         docstring.
5999         (org-publish-project-alist): Handle :index-title property.
6001 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6003         * org-export-latex.el (org-export-as-latex): Make sure region
6004         bounds are correct.  Parse subtree properties relating to export.
6006         * org-exp.el (org-export-add-options-to-plist): New function.
6007         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6009 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6011         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6012         EXPORT_TITLE.
6014         * org-exp.el (org-export-get-title-from-subtree)
6015         (org-export-as-ascii, org-export-as-html): Make sure the original
6016         region-beginning and region-end are used, even after moving point.
6017         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6018         property.
6020         * org-remember.el (org-remember-last-stored-marker): New variable.
6021         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6022         (org-remember-handler): Also use marker to remember
6023         last-stored position.
6025         * org.el (org-goto-marker-or-bmk): New function.
6027 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6029         * org.el (org-file-properties): Rename from `org-local-properties'.
6030         (org-scan-tags): Take file tags into account.
6031         (org-tags-match-list-sublevels): Default changed to t.
6033         * org-exp.el (org-export-as-html): Close paragraph after a footnote.
6035         * org.el (org-update-parent-todo-statistics): New function.
6037         * org-exp.el (org-icalendar-store-UID): New option.
6038         (org-icalendar-force-UID): Option removed.
6039         (org-print-icalendar-entries): IMplement UIDs.
6041 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6043         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6045 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6047         * org-faces.el (org-column): Document how this face is being used
6048         and why sometimes the background faces shine through.
6050         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6052         * org-publish.el (org-publish-attachment): Create publishing
6053         directory if it does not yet exist.
6055         * org-table.el (org-calc-default-modes): Change default number
6056         format to (float 8).
6058         * org.el (org-olpath-completing-read): New function.
6059         (org-time-clocksum-format): New option.
6060         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6062         * org-clock.el (org-clock-display, org-clock-out)
6063         (org-update-mode-line): Use `org-time-clocksum-format'.
6065         * org-colview-xemacs.el (org-columns-number-to-string): Use
6066         `org-time-clocksum-format'.
6068         * org-colview.el (org-columns-number-to-string): Use
6069         `org-time-clocksum-format'.
6071 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6073         * org-id.el: New file, move from contrib to core.
6075         * org-exp.el (org-icalendar-force-UID): New option.
6077 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6079         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6080         shifted by one day if there is a date range without an end time.
6082         * org.el (org-try-structure-completion): New function.
6084 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6086         * org.el (org-set-font-lock-defaults): Improve fontification of
6087         description lists.
6088         (org-insert-item): Handle description lists.
6089         (org-adaptive-fill-function): Improve auto indentation in
6090         description lists.
6092         * org-exp.el (org-export-as-html, org-export-preprocess-string):
6093         Implement VERSE environment.
6094         (org-export-preprocess-string): Implement the COMMENT
6095         environment.
6097         * org-export-latex.el (org-export-latex-preprocess): Implement
6098         VERSE environment.
6100 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6102         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6103         option.
6105 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6107         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6109         * org.el (org-quote-csv-field): New functions.
6111         * org-table.el (org-table-export-default-format): Remove :splice
6112         from default format, we get the same effect by not specifying
6113         :tstart and :tend.
6114         (org-table-export): Improve setup, distinguish better between
6115         interactive and non-interactive use, allow specifying the format
6116         on the fly, better protection against wrong file names.
6117         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
6118         and :tend when :splice is omitted.
6120 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6122         * org-clock.el (org-clock-select-task): Make sure the selection
6123         letters are 1-9 and A-Z, no special characters.
6125 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6127         * org-exp.el (org-export-htmlize): New group.
6128         (org-export-htmlize-output-type)
6129         (org-export-htmlize-css-font-prefix): New options.
6130         (org-export-htmlize-region-for-paste): New function.
6131         (org-export-htmlize-generate-css): New command.
6133 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6135         * org.el (org-set-visibility-according-to-property): New function.
6136         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6137         and compute the regular expressions, and update font-lock.
6138         (org-property-re): Allow a dash in property names.
6140         * org-archive.el (org-extract-archive-file): Insert the file name
6141         without the path into the format, to allow the location format to
6142         contain a subdirectory.
6144         * org-agenda.el (org-agenda-post-command-hook): If point is at end
6145         of buffer, and the `org-agenda-type' property undefined, use the
6146         value from the character before.
6148         * org.el (org-add-planning-info): Don't let indentation for
6149         would-be timestamp become extra whitespace at the end of headline.
6151 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6153         * org.el (org-remove-double-quotes, org-file-contents): New
6154         functions.
6156         * org-exp.el (org-infile-export-plist): Also parse the
6157         contents of #+SETUPFILE files, recursively.
6159         * org.el (org-set-regexps-and-options): Also parse the
6160         contents of #+SETUPFILE files, recursively.
6162         * org-exp.el (org-export-handle-include-files): New function.
6163         (org-export-preprocess-string): Call
6164         `org-export-handle-include-files'.
6166         * org.el (org-delete-property-globally)
6167         (org-delete-property, org-set-property): Ignore case during
6168         completion.
6169         (org-set-property): Use `org-completing-read' instead of
6170         `completing-read'.
6172         * org.el (org-complete-expand-structure-template): New,
6173         experimental function.
6174         (org-structure-template-alist): New, experimental option.
6175         (org-complete): Call `org-complete-expand-structure-template'.
6177 2008-06-17  Bastien Guerry  <bzg@altern.org>
6179         * org-export-latex.el (org-export-latex-preprocess):
6180         Add support for blockquotes.
6182 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6184         * org.el (org-read-date-analyze): Catch the case where only a
6185         weekday is given.
6187 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6189         * org.el (org-set-font-lock-defaults): Make the description
6190         tag bold.
6192         * org-exp.el (org-export-as-html, org-close-li): Implement
6193         description lists.
6195 2008-06-17  Jason Riedy  <jason@acm.org>
6197         * org-table.el (*orgtbl-default-fmt*): New variable.
6198         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6199         when there is no other fmt available.
6201         (orgtbl-to-generic): Allow an explicitly nil :tstart or
6202         :tend to suppress the appropriate string.
6204         (orgtbl-to-orgtbl): New function for translating to another orgtbl
6205         table.
6207 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6209         * org.el (org-read-date-analyze): "." as an alias for "+0" in
6210         read date.
6212         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6213         New function.
6215         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6216         New function.
6218 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6220         * org-clock.el (org-clock-find-position): Don't include notes
6221         into clock drawer.
6223         * org-archive.el (org-archive-subtree): No longer remove an
6224         extra line after cutting the subtree.  `org-cut-subtree' already
6225         takes care of this.
6227         * org-remember.el (org-remember-handler): Only kill the target
6228         buffer if it does not contain the running clock.
6230         * org.el (org-markers-to-move): New variable.
6231         (org-save-markers-in-region, org-check-and-save-marker)
6232         (org-reinstall-markers-in-region): New function.
6233         (org-move-subtree-down, org-copy-subtree): Remember relative
6234         marker positions before cutting.
6235         (org-move-subtree-down, org-paste-subtree): Restore relative
6236         marker positions after pasting.
6238         * org-remember.el (org-remember-clock-out-on-exit): New option.
6239         (org-remember-finalize): Clock out only if the setting in
6240         `org-remember-clock-out-on-exit' requires it.
6241         (org-remember-handler): Do the cleanup in the buffer, to make sure
6242         that the clock marker remains in tact.
6244 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6246         * org-clock.el (org-clock-goto): Widen buffer if necessary.
6247         (org-clock-in): Make sure that also tasks outside the narrowed
6248         region will be clocked in correctly.
6249         (org-clock-insert-selection-line): Widen the buffer so that we can
6250         find the correct task heading.
6252         * org.el (org-base-buffer): New function.
6254         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6255         and ";" are escaped.
6256         (org-print-icalendar-entries): Also apply
6257         `org-icalendar-cleanup-string' to the headline, not only to the
6258         summary property.
6260 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6262         * org-exp.el (org-export-preprocess-hook): New hook.
6263         (org-export-preprocess-string): Call `org-export-preprocess-hook'.
6265         * org.el (org-font-lock-hook): New variable.
6266         (org-font-lock-hook): New function.
6267         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6269 ;; Local Variables:
6270 ;; coding: utf-8
6271 ;; add-log-time-zone-rule: t
6272 ;; End:
6274     Copyright (C) 2008, 2009, 2010  Free Software Foundation, Inc.
6276   This file is part of GNU Emacs.
6278   GNU Emacs is free software: you can redistribute it and/or modify
6279   it under the terms of the GNU General Public License as published by
6280   the Free Software Foundation, either version 3 of the License, or
6281   (at your option) any later version.
6283   GNU Emacs is distributed in the hope that it will be useful,
6284   but WITHOUT ANY WARRANTY; without even the implied warranty of
6285   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6286   GNU General Public License for more details.
6288   You should have received a copy of the GNU General Public License
6289   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
6291 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c