1 2009-11-17 Carsten Dominik <carsten.dominik@gmail.com>
3 * org.el (org-export-latex-packages-alist): Option definition
4 moved here from org-latex.el.
6 2009-11-17 Eric Schulte <schulte.eric@gmail.com>
8 * org.el (org-format-latex): Latex images are now saved to files
9 named by the sha1 hash of the latex source text avoiding
10 regeneration of identical images.
12 2009-11-16 Carsten Dominik <carsten.dominik@gmail.com>
14 * org-html.el (org-export-html-home/up-format): Add an ID to the
17 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
19 * org-wl.el (org-wl-store-link): Handle the case that
20 `wl-use-petname' is set.
22 * org.el (org-set-effort): Improve prompt.
23 (org-get-outline-path): Widen to get full path.
24 (org-compact-display-after-subtree-move): Function removed.
26 * org-latex.el (org-export-as-latex): Add the :drawers property.
28 2009-11-14 Carsten Dominik <carsten.dominik@gmail.com>
30 * org.el (org-speed-commands-user): Allow documentation headlines.
31 (org-speed-commands-default): Organize the value of this constant
32 with descriptive headlines.
33 (org-print-speed-command): Output the headlines.
35 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
37 * org-agenda.el (org-agenda-show-outline-path): New option.
38 (org-agenda-do-context-action): New function.
39 (org-agenda-next-line, org-agenda-previous-line): Use
40 `org-agenda-do-context-action'.
42 * org.el (org-use-speed-commands): Allow function value.
43 (org-speed-commands-default): Make headline motion safe, so that
44 these commands always end on a headline.
45 (org-speed-commands-default): New key `v' for `org-agenda'.
46 (org-speed-move-safe): New function.
47 (org-self-insert-command): Use the function value of
48 `org-use-speed-commands'.
49 (org-get-outline-path): Improve docstring.
50 (org-format-outline-path): New function.
51 (org-display-outline-path): New function.
53 2009-11-12 John Wiegley <jwiegley@gmail.com>
55 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
56 a string, use that to find the LOGBOOK drawer.
58 2009-11-12 Carsten Dominik <carsten.dominik@gmail.com>
60 * org.el (org-clone-subtree-with-time-shift): Make it work at the
63 * org-mobile.el (org-mobile-write-checksums): Specify coding
65 (org-mobile-timestamp-buffer): Keep local variable/mode line at
68 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
70 * org.el (org-block-todo-from-children-or-siblings-or-parent)
71 (org-block-todo-from-checkboxes): Do not block changes to a nil
74 2009-11-12 James TD Smith <ahktenzero@mohorovi.cc>
76 * org-habit.el (org-habit-parse-todo): Indicate which habit is
77 wrongly set up in the error messages.
79 * org-colview.el (org-columns-display-here): Don't try to
80 calculate values if the underlying property is not set.
81 (org-columns-string-to-number): Convert age strings back into
83 (org-agenda-colview-summarize): Handle extended summary types
86 * org-colview-xemacs.el (org-columns-display-here): Don't try to
87 calculate values if the underlying property is not set.
88 (org-columns-string-to-number): Convert age strings back into
90 (org-agenda-colview-summarize): Handle extended summary types
93 2009-11-11 Carsten Dominik <carsten.dominik@gmail.com>
95 * org-exp.el (org-export-format-drawer-function): New variable.
96 (org-export-format-drawer): New function.
97 (org-export-preprocess-string): Pass the backend as a parameter to
98 `org-export-remove-or-extract-drawers'.
99 (org-export-remove-or-extract-drawers): New parameter BACKEND.
101 * org-protocol.el (org-protocol-char-to-string): New defsubst.
103 2009-11-10 Carsten Dominik <carsten.dominik@gmail.com>
105 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
106 message when no block is selected.
108 * org-latex.el (org-export-latex-links): Check for protectedness
109 in the last matched character, not after the match.
111 * org-datetree.el (org-datetree-find-date-create): Respect
112 restriction when KEEP-RESTRICTION is set.
113 (org-datetree-file-entry-under): New function.
114 (org-datetree-cleanup): New command.
116 2009-11-08 Dan Davison <davison@stats.ox.ac.uk>
118 * org-src.el (org-edit-src-code): New optional argument context
119 allows calling functions to avoid altering the saved window
121 (org-edit-src-exit): Do not restore window configuration when this
122 function is used in the context of saving the edit buffer.
124 2009-11-09 Carsten Dominik <carsten.dominik@gmail.com>
126 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
127 instances to switching to with-current-buffer, because these seem
128 to cause problems - no idea why.
130 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
131 Require diary-lib for (diary-date-display-form).
133 * org.el (org-log-reschedule, org-log-redeadline): New options.
134 (org-log-note-headings): Add templates for rescheduling and
136 (org-startup-options): Add in-buffer settings for logging changing
137 schedule and deadline time stamps.
138 (org-deadline, org-schedule): Check for existing date and arrange
139 for logging if the user requests it.
140 (org-add-log-note): Prepare proper note buffers for rescheduling
141 and deadline changes.
143 2009-11-08 Carsten Dominik <carsten.dominik@gmail.com>
145 * org-agenda.el (org-agenda-diary-entry-in-org-file)
146 (org-agenda-add-entry-to-org-agenda-diary-file)
147 (org-agenda-insert-diary-make-new-entry): New functions.
148 (org-agenda-diary-entry): Call
149 `org-agenda-diary-entry-in-org-file' when appropriate.
151 * org.el (org-calendar-insert-diary-entry-key): New option.
152 (org-agenda-diary-file): New option.
153 ("calendar"): Install our insertion function in the calendar.
155 * org-remember.el (org-datetree): Require.
156 (org-remember-templates): Add new positioning option.
157 (org-remember-reference-date): New variable.
158 (org-remember-apply-template): Store the reference date in a local
160 (org-remember-handler): Implement date tree positioning of entries.
162 * org-datetree.el: New file.
164 * org-latex.el (org-export-latex-preprocess): Protect targets in
167 * org-html.el (org-export-as-html): Protect targets in verbatim
170 * org-docbook.el (org-export-as-docbook): Protect targets in
173 2009-11-07 James TD Smith <ahktenzero@mohorovi.cc>
175 * org.el (org-link-display-format): Should be literal replacement.
177 2009-11-06 Carsten Dominik <carsten.dominik@gmail.com>
179 * org-clock.el (org-show-notification): Handle messages that
180 contain a percent character.
182 * org-remember.el (org-remember-apply-template): Turn of partial
185 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
186 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
188 * org.el (org-indent-mode): Define variable already in org.el.
189 (org-unfontify-region): Remove line-prefix and wrap-prefix
190 properties only if org-indent-mode is active.
192 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
194 * org-icalendar.el (org-print-icalendar-entries): Save match data
195 around call to verify function.
196 (org-print-icalendar-entries): Add a call to the verification
199 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
200 save-restrivtion' form.
202 2009-11-05 Dan Davison <davison@stats.ox.ac.uk>
204 * org-exp.el (org-export-format-source-code-or-example): restrict
205 scope of preserve-indentp to the let binding.
206 (org-src): require org-src, since org-src-preserve-indentation is used.
208 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
210 * org-timer.el (org-timer-set-timer): Set variables
211 org-timer-timer[123] correctly.
214 * org-mobile.el (org-mobile-files-alist): Make it work when
215 `agenda-archives' is included in
216 `org-agenda-text-search-extra-files'.
217 (org-mobile-push): Restore agenda after mobile push.
219 2009-11-05 John Wiegley <jwiegley@gmail.com>
221 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
222 way the amount of idle time is presented in the minibuffer.
224 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
226 * org-icalendar.el (org-print-icalendar-entries): Use
227 org-icalendar-verify-function only if non-nil.
229 * org.el (org-refile): Refile to clock only if the prefix arg is
231 (org-sparse-tree): Fix docstring to be in line with prompt.
232 (org-update-parent-todo-statistics): Call
233 `org-after-todo-statistics-hook' on each level.
235 2009-11-04 Carsten Dominik <carsten.dominik@gmail.com>
237 * org-remember.el (org-remember-apply-template): Make sure the
240 2009-11-03 Carsten Dominik <carsten.dominik@gmail.com>
242 * org.el (org-tab-ind-state): New variable.
243 (org-cycle-level): New function.
244 (org-cycle-level-after-item/entry-creation): New option.
245 (org-flag-subtree): New function.
246 (org-hide-archived-subtrees): Call `org-flag-subtree'.
247 (org-set-effort): Indexed access.
249 * org-list.el (org-cycle-item-indentation): New function.
251 * org.el (org-refile): Make prefix argument 2 refile to current
253 (org-priority): Interpret action `remove' as call to remove the
256 * org-remember.el (org-remember-apply-template): Don't depend on
257 buffer name being like file name.
259 2009-11-02 Carsten Dominik <carsten.dominik@gmail.com>
261 * org-clock.el (org-clock-play-sound): Expand file in
262 org-clock-sound, to allow ~ for home.
264 * org-remember.el (org-remember-handler): Set
265 text-before-node-creation even if this already looks like a node,
266 because the string might be needed on non-org-mode target files.
268 * org-agenda.el (org-agenda-open-link): Make this work in agenda
270 (org-agenda-switch-to): Follow a link at point if
271 org-return-follows-link' is set and there is nothing else to do in
274 2009-11-02 James TD Smith <ahktenzero@mohorovi.cc>
276 * org-colview-xemacs.el: Add in changes from org-colview.el
278 2009-11-01 Dan Davison <davison@stats.ox.ac.uk>
280 * org-exp-blocks.el: Modify split separator regexp to avoid empty
283 2009-11-01 James TD Smith <ahktenzero@mohorovi.cc>
285 * org-colview.el (org-columns-new): Make this work with the new
287 (org-columns-store-format): Make this work with the new operators.
289 2009-11-01 Carsten Dominik <carsten.dominik@gmail.com>
291 * org-src.el (org-src-preserve-indentation): Document that this
292 variable is also used during export.
294 * org-exp.el (org-export-format-source-code-or-example): Preserve
295 indentation if a block has a -i option, or if
296 `org-src-preserve-indentation' is set.
298 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
299 indentation if a block has a -i option, or if
300 `org-src-preserve-indentation' is set.
302 2009-10-31 Carsten Dominik <carsten.dominik@gmail.com>
304 * org.el (org-mode-map): Define the new archiving keys.
305 (org-speed-commands-default): Define an archiving key in the speed
307 (org-org-menu): Improve the menu structure concerning archiving.
309 * org-archive.el (org-archive-subtree-default-with-confirmation):
312 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
313 (org-agenda-menu): Add the new archiving commands to the menu.
314 (org-agenda-archive-default)
315 (org-agenda-archive-default-with-confirmation): New commands.
316 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
317 call `org-agenda-archive-with'.
318 (org-agenda-archive-with): New function.
320 * org-table.el (org-table-convert-region): Inert spaces around "|"
321 to avoid line beginnings like "|-1" which will be mistaken as
324 2009-10-30 Carsten Dominik <carsten.dominik@gmail.com>
326 * org.el (org-offer-links-in-entry): Return nil if there are no
327 links, t if a link has been selected.
328 (org-open-at-point): Open attachment directory when called in the
329 headline and there are no links in the entry body.
330 (org-speed-commands-default): Add "o" for open-at-point as a speed
333 * org-attach.el (org-attach-reveal): Optional prefix arg
334 IF-EXISTS, which avoids creating the attachment directory if it
337 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
340 2009-10-29 Carsten Dominik <carsten.dominik@gmail.com>
342 * org.el ("abbrev"): Work with abbrev tables only after they have
345 * org-list.el (org-list-send-list): Fix bug related to match
348 * org-latex.el (org-export-latex-fontify): Apply verbatim
350 (org-export-latex-make-header): Insert \obeylines if line breaks
353 * org-exp.el (org-export-protect-verbatim): Add an
354 `org-verbatim-emph' property to such text.
356 2009-10-28 Carsten Dominik <carsten.dominik@gmail.com>
358 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
359 (org-print-icalendar-entries): Skip entries where the timestamp is
360 not a deadline and not scheduled, if the user requests that.
362 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
363 before an opening quote.
365 * org-archive.el (org-archive-subtree): Keep archive after
368 * org-id.el (org-id-update-id-locations): Add archive files if
369 that is required by `org-id-extra-files'.
371 2009-10-27 Carsten Dominik <carsten.dominik@gmail.com>
373 * org-src.el (org-src-window-setup): New option.
374 (org-src-switch-to-buffer): New function.
375 (org-edit-src-exit): Add optional argument CONTEXT and use it to
376 restore window configuration.
377 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
378 Call `org-src-switch-to-buffer'.
380 * org.el (org-default-properties): Add STYLE property.
381 (org-files-list): Use the function call to get the files.
382 (org-additional-option-like-keywords): Add SETUPFILE to completion
385 2009-10-26 Carsten Dominik <carsten.dominik@gmail.com>
387 * org-table.el (org-table-convert-region): Correctly interpret
388 quoting in csv import.
390 * org.el (org-icompleting-read): Make iswitchb completion work
391 with lists and tables.
393 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
394 while pushing the mobile agenda.
396 2009-10-25 John Wiegley <jwiegley@gmail.com>
399 (org-clock-auto-clock-resolution): Now takes three values: nil, t
400 and `when-no-clock-is-running'.
401 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
402 whether or not to resolve Org buffers on clock in.
404 2009-10-25 James TD Smith <ahktenzero@mohorovi.cc>
406 * org-colview.el (org-format-time-period): Function to format
407 times in fractional days for display.
408 (org-columns-display-here): Add support for showing a calculated
409 value in place of the property.
410 (org-columns): Set `org-columns-time' to the current time so time
411 difference calculations will work.
412 (org-columns-time): Use to store the current time when column view
413 is displayed, so all time differences will use the same reference
415 (org-columns-compile-map): There is now an extra position in each
416 entry specifying the function to use to calculate the displayed
417 value for the non-calculated properties in the column,
418 (org-columns-compute-all): Set `org-columns-time' to the current
419 time so time difference calculations will work.
420 (org-columns-compute): Handle column operators where the values
421 used are calculated from the underlying property.
422 (org-columns-number-to-string): Handle the 'age' column format
423 (org-columns-string-to-number): Correct the function name (was
424 org-column...). Add support for the 'age' column format.
425 (org-columns-compile-format): Support the additional parameter in
426 org-columns-compile-map.
428 2009-10-26 Bastien Guerry <bzg@altern.org>
430 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
433 2009-10-25 Carsten Dominik <carsten.dominik@gmail.com>
435 * org-clock.el (org-clock-has-been-used): New variable.
436 (org-clock-in): Set `org-clock-has-been-used'.
437 (org-clock-save): Save only if clock data has been used or created
440 2009-10-24 Carsten Dominik <carsten.dominik@gmail.com>
442 * org-clock.el (org-clock-persist): New value, to store only the
444 (org-clock-save): Don't save the clock if only the history should
446 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
447 when restoring a saved clock.
449 2009-10-24 John Wiegley <jwiegley@gmail.com>
451 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
452 `org-time-clock-use-fractional'.
454 * org.el (org-time-clocksum-use-fractional)
455 (org-time-clocksum-fractional-format): Two new customizable
456 variables which allow the user to select fractional times (1.25
457 instead of 1:25) in the `org-clock-display' report.
459 2009-10-23 John Wiegley <jwiegley@gmail.com>
461 * org-habit.el (org-habit-build-graph): None of the arguments
463 (org-habit-parse-todo, org-habit-deadline)
464 (org-habit-get-priority, org-habit-get-faces)
465 (org-habit-build-graph): Further simplifications by storing all
466 past, scheduled and deadline dates as a number of days past the
467 epoch, and not as times.
469 * org-habit.el (org-habit-warning-face)
470 (org-habit-warning-future-face): Removed because these are no
472 (org-habit-deadline, org-habit-deadline-repeat): Now always
473 returns a date; computed if there was a scheduled repeater but no
475 (org-habit-get-priority): Further improvements to the priority
476 algorithm. In particular, items past due should always appear
477 before items due or not yet due.
478 (org-habit-get-faces): Greatly simplified the logic, now that
479 `org-habit-deadline' always returns a valid time.
481 2009-10-23 Carsten Dominik <carsten.dominik@gmail.com>
483 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
486 * org.el (org-tag-alist): Fix customization type.
488 2009-10-22 Carsten Dominik <carsten.dominik@gmail.com>
490 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
491 Make sure the regexp search can fail without throwing an error.
492 (org-mobile-apply): Save the inbox buffer after removing
493 successfully applied changes.
495 2009-10-22 John Wiegley <jwiegley@gmail.com>
497 * org-habit.el (org-habit-build-graph): Fix to the graph building
498 when last DONE date is earlier than `org-habit-preceding-days'.
500 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
501 time is reported after the user comes back (but before they
504 * org.el (org-get-repeat): Change so that this function can be
505 called with either `org-scheduled-string' or
506 `org-deadline-string'.
508 * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
509 to find the scheduled date.
511 * org-clock.el (org-clock-auto-clock-resolution): Renamed
512 `org-clock-disable-clock-resolution', since negatives don't sound
513 good in customization variables.
514 (org-clock-in): Don't use the auto-resolution logic if the user is
515 clocking into a different task while an active clock is running.
516 This then allows the default behavior of clocking out of the open
517 task and then into the new task.
519 * org-habit.el (org-habit-parse-todo): Generate an error if a
520 habit has a scheduled repeat period < 1.
521 (org-habit-get-faces): Fixes to the way that colors are computed.
522 (org-habit-build-graph): The graph wasn't displaying beyond any
523 day that had two completions in it.
525 * org.el (org-modules): Made this variable more consistent, since
526 it was referring to Org, OrgMode and Org-mode, whereas the docs
527 for the variable always refer to Org-mode.
529 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
531 * org.el (org-repeat-re): The changed org-repeat-re no longer
532 matched simple +2d type repeaters. Fix it so it does.
534 2009-10-21 Carsten Dominik <carsten.dominik@gmail.com>
536 * org-latex.el (org-export-latex-preprocess): Protect the vspace
537 macro in the VERSE environment.
539 2009-10-20 John Wiegley <jwiegley@gmail.com>
541 * org-habit.el (org-habit-get-priority): A new function that
542 determines the relative priority of a habit, based on how long
543 past its scheduled date it is, and how near the deadline is.
545 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
546 using `org-habit-get-priority'.
548 * org-habit.el (org-habit-build-graph): Start displaying colors
549 from the first scheduled date, if that date is earlier than the
550 first completion date.
552 * org-habit.el: Changed all "color" variables to faces, and made
553 them appropriate for light and dark backgrounds.
555 * org-habit.el (org-habit-duration-to-days): Made this function
557 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
559 * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
560 habits, since they don't use DEADLINE anymore.
562 * org.el (org-repeat-re, org-display-custom-time)
563 (org-timestamp-change): Extended to support the new ".+N/N"
564 syntax, used for habits.
566 * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
569 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
570 modeline when habits are being displayed (if that module is being
573 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
575 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
576 idle time using the xscreensaver extension.
577 (org-user-idle-seconds): Use X11 idle time if available.
579 2009-10-20 Carsten Dominik <carsten.dominik@gmail.com>
581 * org-agenda.el (org-agenda-next-line): New command.
582 (org-agenda-previous-line): New commands.
583 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
585 (org-agenda-follow-mode): Do the follow immediately if the mode is
587 (previous-line, next-line): Replace keys with the corresponding
589 (org-agenda-mode-map): Bind backspace and delete to the scrolling
592 * org.el (org-icompleting-read): Turn off partial completion mode
593 for the duration of this completion round.
595 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
596 macros in author lines and similar stuff.
598 * org.el (org-file-tags): Fix docstring.
599 (org-get-buffer-tags): Add the #+FILETAGS tags.
600 ("ecb"): Maks ecb show context after jumping into an Org file.
602 2009-10-20 John Wiegley <johnw@newartisans.com>
604 * org-agenda.el (org-finalize-agenda): Draw habit consistency
605 graphs after everything else in the buffer has been setup.
607 2009-10-19 Carsten Dominik <carsten.dominik@gmail.com>
609 * org-mobile.el (org-mobile-apply): Count success and failure.
611 * org.el (org-indent-line-function): Fix regexp replace problem.
613 2009-10-19 John Wiegley <johnw@newartisans.com>
615 * org-clock.el (org-clock-disable-clock-resolution): New
616 customization variable that disable automatic clock resolution on
618 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
619 not automatically resolve anything. This is does not affect
620 idle-time resolution, however, if `org-clock-idle-time' is set.
622 2009-10-19 John Wiegley <johnw@newartisans.com>
624 * org-habit.el: New file, which implements code to build a "habit
627 * org-agenda.el (org-agenda-get-deadlines)
628 (org-agenda-get-scheduled): Display consistency graphs when
629 outputting habits into the agenda. The graphs are always relative
631 (org-format-agenda-item): Added new parameter `habitp', which
632 indicates whether we are formatting a habit or not. Do not
633 display "extra" leading information if habitp is true.
635 * org.el (org-repeat-re): Improved regexp to include .+ and ++
636 leaders for repeat strings.
637 (org-get-repeat): Now takes a string parameter `tagline', so the
638 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
640 2009-10-19 John Wiegley <johnw@newartisans.com>
642 * org-agenda.el (org-agenda-auto-exclude-function): New
643 customization variable for allowing the user to create an "auto
644 exclusion" filter for doing context-aware auto tag filtering.
645 (org-agenda-filter-by-tag): Changes to support the use of
646 `org-agenda-auto-exclude-function'. See the new manual addition,.
648 2009-10-18 John Wiegley <johnw@newartisans.com>
650 * org.el (org-files-list): Don't attempt to return a file name for
651 Org buffers which have no associated file.
653 * org-agenda.el (org-agenda-do-action): Fixed a typo.
655 2009-10-18 Carsten Dominik <carsten.dominik@gmail.com>
657 * org-mobile.el (org-mobile-locate-entry): Interpret files
658 relative to org-directory.
659 (org-mobile-inbox-for-pull): Document the best location for this
661 (org-mobile-check-setup): Verify `org-directory'.
662 (org-mobile-create-index-file): Sort the files to be listed in
665 2009-10-17 James TD Smith <ahktenzero@mohorovi.cc>
667 * org.el (org-fast-tag-selection): Add a way to display a
668 description for a tag group. This is done by adding a string to
669 either the startgroup or endgroup cell.
671 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
673 * org-clock.el (org-clock-resolve, org-resolve-clocks)
674 (org-emacs-idle-seconds): Use `org-float-time' instead of
677 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
679 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
682 * org.el (org-pre-cycle-hook): Document that `empty' can also be
683 the value of ARG when doing local cycling.
685 2009-10-17 John Wiegley <johnw@newartisans.com>
687 * org-clock.el (org-clock-resolve-clock): If keeping or
688 subtracting time results in a clock out at a time in the past, and
689 if the resolution occurred due to idleness or invoking `M-x
690 org-resolve-clocks', remember that past moment in time. On the
691 next clock in, the user will be prompted to see if they want to
692 back-date their new clock to then.
693 (org-clock-resolve): Do not jump the user to the location of a
694 dangling clock if the resolution is occuring due to an idle
695 timeout. In that case there is typically only one dangling clock,
696 the active one, and there is no value gained by shuffling their
697 windows around to show it to them. Being prompted to resolve an
698 idle clock should be as inobtrusive as possible.
699 (org-resolve-clocks-if-idle): New function that resolves only the
700 currently active clock if the user has exceeded the time returned
701 by `org-user-idle-seconds', based on the value of
702 `org-clock-idle-time'.
703 (org-clock-in): If, after resolving clocks,
704 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
706 * org-clock.el (org-clock-resolve-clock): New function that
707 resolves a clock to a specific time, closing or resuming as need
708 be, and possibly even starting a new clock.
709 (org-clock-resolve): New function used by `org-resolve-clocks'
710 that sets up for the call to `org-clock-resolve-clock'. It
711 determines the time to resolve to based on a single-character
712 selection from the user to either keep time, subtract away time or
714 (org-resolve-clocks): New user command which resolves dangling
715 clocks -- that is, open but not active -- anywhere in the file
716 list returned by `org-files-list'.
717 (org-clock-in): Automatically resolve dangling clocks whenever a
719 (org-clock-cancel): If the user cancels the solely clock in a
720 LOGBOOK, remove the empty drawer.
722 * org-clock.el (org-clock-idle-time): New user customizable option
723 for detecting whether the user has left a clock idle. Note: it is
724 only used in this commit to test whether it's worthwhile to check
725 OS X to get the Mac user's current idle time. If the Emacs idle
726 time is less than the value, the user hasn't been away long enough
727 to be worth checking (a more expensive test than just getting
729 (org-user-idle-seconds, org-mac-idle-seconds)
730 (org-emacs-idle-seconds): This three functions, in conjunction
731 with the user customization variable `org-clock-idle-time', return
732 the number of seconds (as a floating point) that the user has been
733 away from their Emacs (or, if running on OS X, their computer).
735 * org-clock.el (org-find-open-clocks): New function that returns a
736 list of all open clocks in the given FILE. Note that each clock
737 it returns is a cons cell of the format (MARKER . START-TIME).
738 This "clock" value is used by several of the new clock module
740 (org-is-active-clock): New inline function which tests whether the
741 given clock value is the same as the currently active clock.
742 Returns non-nil if this is the case.
743 (org-with-clock-position): New macro that evaluates FORMS with
744 point in the buffer and at the position of the given clock.
745 Changes to the current clock are global.
746 (org-with-clock): New macro that evaluates FORMS with point in the
747 buffer and at the position of the given clock. However, changes
748 to the current clock are local and have no effect on the user's
749 active clock. This allows, for example, far any clock to be
750 cancelled without cancelling the active clock.
751 (org-clock-clock-in): New inline function that switches the active
752 clock to the given clock. If either the argument RESUME, or the
753 global `org-clock-in-resume', are non-nil, it will resume a clock
754 that was previously left open.
755 (org-clock-clock-out): New inline function that clocks out the
756 given clock value without affecting the currently active clock.
757 (org-clock-clock-cancel): New inline function that cancels the
758 given clock value without affecting the currently active clock.
760 * org-clock.el (org-clock-in): Before creating
761 `org-clock-mode-line-timer', check to make sure an older timer is
762 not currently running.
763 (org-clock-out): Accept new third parameter `at-time', which
764 permits a clock to be clocked out at a specific time. Note that
765 no attempt is made to verify that the clock out time is later than
768 * org.el (org-files-list): New utility function for returning a
769 list of all open org-mode buffers, plus all files used to build
770 the agenda buffer. Note that not all the files will necessarily
771 be visited by a buffer at time of call.
772 (org-entry-beginning-position): Like the function
773 `line-beginning-position', this inline function returns the
774 beginning position of the current heading/entry.
775 (org-entry-end-position): Like the function `line-end-position',
776 this inline function returns the end position of the current
779 2009-10-16 Carsten Dominik <carsten.dominik@gmail.com>
781 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
784 2009-10-15 Carsten Dominik <carsten.dominik@gmail.com>
786 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
788 2009-10-14 Carsten Dominik <carsten.dominik@gmail.com>
790 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
791 entries that have no tags.
792 (org-agenda-search-view): New customize group.
793 (org-agenda-search-view-search-words-only): New option.
794 (org-search-view): Implement substring search.
796 2009-10-13 Carsten Dominik <carsten.dominik@gmail.com>
798 * org.el (org-outline-level): Add doc string.
800 2009-10-12 Carsten Dominik <carsten.dominik@gmail.com>
802 * org-inlinetask.el (org-inlinetask-export): Re-introduce
804 (org-inlinetask-export-handler): Only export inline task if the
805 user option calls for it.
807 2009-10-10 Carsten Dominik <carsten.dominik@gmail.com>
809 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
812 2009-10-07 Carsten Dominik <carsten.dominik@gmail.com>
814 * org-latex.el (org-export-latex-tables): Don't format in
817 2009-10-06 Carsten Dominik <carsten.dominik@gmail.com>
819 * org-src.el (org-edit-src-code)
820 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
823 * org-agenda.el (org-prefix-category-max-length): New variable.
824 (org-format-agenda-item): Use `org-prefix-category-max-length'.
825 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
827 2009-10-03 Carsten Dominik <carsten.dominik@gmail.com>
829 * org-mobile.el (org-mobile-create-index-file): Improve the
830 listing of tags and todo keywords.
832 * org-latex.el (org-export-latex-format-image): New function.
833 (org-export-latex-links): Use `org-export-latex-format-image'.
835 2009-10-02 Carsten Dominik <carsten.dominik@gmail.com>
837 * org-inlinetask.el (org-inlinetask-get-current-indentation)
838 (org-inlinetask-remove-terminator): New functions.
839 (org-inlinetask-export-handler): Terminate the description list.
841 * org-exp.el (org-export-select-backend-specific-text): Remove the
844 * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
845 tasks without content.
847 * org-clock.el: Make sure the clock-in target position does not
848 move to a different node by widening the buffer.
850 * org-html.el (org-export-html-format-image): Wrap image into
851 figure div only when there is a caption.
853 * org-archive.el (org-archive-mark-done): Change default value to
856 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
858 * org.el (org-context): Call `bobp', not `eobp'.
860 * org-clock.el (org-clock-cancel): Remove quotes from marker
863 * org.el (org-read-date-prefer-future): New allowed value `time'.
864 (org-read-date-analyze): Shift day to tomorrow depending on time
865 entered and value of `org-read-date-prefer-future'.
867 2009-09-30 Carsten Dominik <carsten.dominik@gmail.com>
869 * org.el (org-set-tags-to): New command.
871 * org-mobile.el (org-mobile-action-alist): Add more options and
872 update the docstring.
873 (org-mobile-apply-flags): Parse for and use the data.
875 * org-latex.el (org-export-latex-set-initial-vars): Also check in
878 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
881 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
883 2009-09-29 Carsten Dominik <carsten.dominik@gmail.com>
885 * org-inlinetask.el (org-inlinetask-export): Option removed.
886 (org-inlinetask-export-handler): Better export.
888 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
889 (org-export-as-xoxo): Run the new hook.
891 * org-html.el (org-export-html-final-hook): New hook.
892 (org-export-as-html): Run the new hook.
894 * org-docbook.el (org-export-docbook-final-hook): New hook.
895 (org-export-as-docbook): Run the new hook.
897 * org-ascii.el (org-export-ascii-final-hook): New hook.
898 (org-export-as-ascii): Run the new hook.
900 * org-mobile.el (org-mobile-create-sumo-agenda): Call
901 `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
903 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
904 space character as the character before the ^/_.
905 (org-export-latex-final-hook): New hook.
906 (org-export-as-latex): Run `org-export-latex-final-hook'.
908 2009-09-28 Carsten Dominik <carsten.dominik@gmail.com>
910 * org-macs.el (org-if-unprotected-at): Fix docstring.
912 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
913 text in the prefix (if category is a link).
915 * org-latex.el (org-export-latex-preprocess): Deal properly with
916 empty lines in verse environments.
918 * org.el (org-format-latex-header): Inline fullpage.sty.
920 * org-footnote.el (org-footnote-create-definition): Reveal context
921 to add a new footnote definition.
923 * org-mobile.el (org-mobile-files-alist): Add the list of tags to
925 (org-mobile-files): New option.
926 (org-mobile-files-alist, org-mobile-checksum-files): New variable.
927 (org-mobile-prepare-file-lists, org-mobile-files-alist): New
929 (org-mobile-push): Start by creating the files lists.
930 (org-mobile-copy-agenda-files): Move killing the buffer to after
931 the save-excursion has exited.
932 (org-mobile-write-checksums): Write checksums also for files in
935 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
936 org-table-recalculate when cursor is in TBLFM line.
938 * org-list.el (org-renumber-ordered-list): Fix cursor position
939 when bullet length has changed.
941 2009-09-26 Carsten Dominik <carsten.dominik@gmail.com>
943 * org.el (org-format-latex): Mention `org-format-latex-options' in
946 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
948 * org.el (org-agenda-get): New function.
950 * org-agenda.el (org-agenda-post-command-hook): No longer move
951 point away from end of line.
952 (org-agenda-add-entry-text, org-agenda-collect-markers)
953 (org-finalize-agenda, org-agenda-mark-clocking-task)
954 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
955 (org-agenda-entry-text-show, org-agenda-highlight-todo)
956 (org-agenda-compare-effort, org-agenda-filter-apply)
957 (org-agenda-later, org-agenda-change-time-span)
958 (org-agenda-post-command-hook, org-agenda-show-priority)
959 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
960 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
961 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
962 (org-agenda-open-link, org-agenda-copy-local-variable)
963 (org-agenda-switch-to, org-agenda-check-no-diary)
964 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
965 (org-agenda-add-note, org-agenda-change-all-lines)
966 (org-agenda-priority, org-agenda-set-tags)
967 (org-agenda-set-property, org-agenda-set-effort)
968 (org-agenda-toggle-archive-tag, org-agenda-date-later)
969 (org-agenda-show-new-time, org-agenda-date-prompt)
970 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
971 (org-agenda-clock-in, org-agenda-bulk-mark)
972 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
975 * org-colview.el (org-columns-display-here)
976 (org-columns-edit-allowed, org-agenda-columns): Use
979 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
981 * org.el (org-special-ctrl-a/e): Improve documentation and
983 (org-end-of-line): Don't jump to after the ellipsis.
984 (org-mode-map): Bind <home> and <end> as well.
986 2009-09-24 Carsten Dominik <carsten.dominik@gmail.com>
988 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
989 space after #+ as comments.
990 (org-open-at-point): Run `org-follow-link-hook' always.
992 * org-latex.el (org-export-latex-emph-format): Use better commands
993 to insert special characters in verbatim snippets.
995 2009-09-22 Carsten Dominik <carsten.dominik@gmail.com>
997 * org-faces.el (org-copy-face): New function. Use it to create
998 various faces formerly created by using `copy-face'.
1000 * org-agenda.el (org-prepare-agenda): Don't officially mark this
1002 (org-agenda-quit): Kill the frame containing the agenda window if
1003 that frame was created for the agenda.
1005 2009-09-21 Carsten Dominik <carsten.dominik@gmail.com>
1007 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1008 stamp in the agenda.
1010 2009-09-19 Carsten Dominik <carsten.dominik@gmail.com>
1012 * org-mobile.el (org-mobile-create-index-file): Add the list of
1013 TODO keywords, and the list of drawers to the index file.
1015 * org-agenda.el (org-prepare-agenda): Reset
1016 `org-drawers-for-agenda'.
1017 (org-prepare-agenda): Uniquify list of drawers.
1019 * org.el (org-complex-heading-regexp-format): New variable.
1020 (org-set-regexps-and-options): Define
1021 `org-complex-heading-regexp-format'.
1022 (org-drawers-for-agenda): New variable.
1023 (org-map-entries): Bind `org-drawers-for-agenda'.
1024 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1026 * org-remember.el (org-go-to-remember-target)
1027 (org-remember-handler): Use `org-complex-heading-regexp-format'.
1029 2009-09-18 Carsten Dominik <carsten.dominik@gmail.com>
1031 * org-agenda.el (org-agenda-highlight-todo): Fix text property
1034 * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1035 the capture file, and make it non-configurable.
1037 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1038 always with `invisible-ok'.
1039 (org-store-link): No error when there is nothing to link to in the
1042 * org-list.el (org-update-checkbox-count): Insert changed cookie
1043 before the old, to avoid problems with invisibility at the end of
1045 (org-update-checkbox-count): Insert changed cookie before the old,
1046 to avoid problems with invisibility at the end of the line.
1048 * org.el (org-sort-entries-or-items): Include the final newline.
1049 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1050 lines for fontification.
1051 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1052 (org-prepare-dblock): Store the current indentation of the BEGIN
1054 (org-update-dblock): Apply the indentation of the begin line to
1055 the rest of the block.
1056 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1057 (org-startup-folded): New allowed value `showeverything'.
1058 (org-startup-options): Add STARTUP keyword `showeverything'.
1059 (org-set-startup-visibility): Respect value `showeverything' in
1062 2009-09-17 Carsten Dominik <carsten.dominik@gmail.com>
1064 * org.el (org-closest-date): Fix issue with past preference.
1066 * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1068 * org-archive.el (org-archive-set-tag)
1069 (org-archive-subtree-default): New commands.
1071 * org-mobile.el (org-mobile-create-index-file): Fix link to
1073 (org-mobile-copy-agenda-files): Create the capture file if it does
1076 * org-clock.el (org-clock-clocktable-default-properties): New
1078 (org-clock-report): Use
1079 `org-clock-clocktable-default-properties'.
1081 2009-09-16 Carsten Dominik <carsten.dominik@gmail.com>
1083 * org.el (org-iswitchb-completing-read): Fix typo.
1085 * org-crypt.el: New file.
1087 * org.el: Add an entry for org-crypt.
1089 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
1091 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1093 (org-batch-store-agenda-views): New function.
1094 (org-mobile-force-id-on-agenda-items): Mention variable.
1095 (org-agenda-title-append): Define variable.
1096 (org-write-agenda): New export to Org files.
1097 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1098 (org-agenda): Allow to keep the restricted file list if a special
1099 variable is bound to t.
1100 (org-agenda): Define a special agenda view for working on flagged
1102 (org-agenda-get-restriction-and-command): List the new agenda
1104 (org-agenda-show-the-flagging-note): New command.
1105 (org-agenda-mode-map): New key `?' for looking at the flagging
1108 * org.el (org-autoload): Autoload org-mobile.el.
1109 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1111 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1113 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
1115 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1117 (org-table-get-remote-range): Match indented #+TBLNAME
1120 * org.el (org-convert-to-odd-levels)
1121 (org-convert-to-oddeven-levels): Work also correctly if the file
1124 2009-09-12 Carsten Dominik <carsten.dominik@gmail.com>
1126 * org.el (org-store-link): When in agenda buffer, link to
1128 (org-add-planning-info): Remove spaces at eol.
1130 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1133 2009-09-10 Carsten Dominik <carsten.dominik@gmail.com>
1135 * org-latex.el (org-export-latex-first-lines): Fix problem with
1136 LaTeX export of first line and selected subtree.
1138 * org.el (org-shifttab): Interpret arg differently when using only
1141 2009-09-09 Bastien Guerry <bzg@altern.org>
1143 * org.el (org-check-agenda-file): Use a more explicit message
1145 2009-09-08 Carsten Dominik <carsten.dominik@gmail.com>
1147 * org-exp.el (org-export-remove-special-table-lines): Don't remove
1150 2009-09-08 Bastien Guerry <bzg@altern.org>
1152 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1153 prompt in the temporary window.
1155 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1156 prefix for marked entries in the agenda view.
1158 2009-09-07 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
1160 * org.el (outline-end-of-subtree): Bugfix: advise this function in
1161 a way that prevents any trailing character from being displayed.
1163 2009-09-07 Carsten Dominik <carsten.dominik@gmail.com>
1165 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1168 * org-exp.el (org-export-remove-special-table-lines): Remove bad
1171 2009-09-06 Carsten Dominik <carsten.dominik@gmail.com>
1173 * org-latex.el (org-export-latex-preprocess): Do not protect in
1176 * org-src.el (org-edit-src-save): Save window setup while saving.
1177 (org-edit-src-code): Use new buffer name construction scheme.
1179 2009-09-04 Carsten Dominik <carsten.dominik@gmail.com>
1181 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1183 (org-agenda-entry-text-cleanup-hook): New hook.
1184 (org-agenda-get-some-entry-text): Remove matches of
1185 `org-agenda-entry-text-exclude-regexps' and run the hook
1186 `org-agenda-entry-text-cleanup-hook'.
1188 * org.el (org-offer-links-in-entry): New argument ZERO to
1189 implement a link with index zero.
1190 (org-cycle-show-empty-lines): Not keep empty line under header
1192 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1193 to nil for special completion.
1194 (org-store-link): Don't error before the first heading.
1196 * org-agenda.el (org-agenda-open-link): Pass the prefix to
1197 `org-offer-links-in-entry'.
1199 2009-09-03 Carsten Dominik <carsten.dominik@gmail.com>
1201 * org-agenda.el (org-agenda-quit): Provide the window argument for
1202 `window-dedicated-p', Emacs 22 needs it.
1203 (org-format-agenda-item): If the category is a link, arrange for
1204 invisible text to replaced with spaces.
1205 (org-compile-prefix-format): Add the extra space.
1206 (org-prefix-category-length): New variable.
1208 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1209 references from TOC lines.
1211 * org.el (org-selected-window): New variable.
1213 * org-table.el (org-table-edit-formulas): Remember the selected
1215 (org-table-fedit-finish, org-table-fedit-abort): Select the window
1216 that was originally selected.
1218 * org-exp.el (org-export-preprocess-apply-macros): Scan the
1219 expansion of a macro for more macro definitions.
1221 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1222 invisibility overlay starts on the newline.
1224 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1226 * org-protocol.el (org-protocol-store-link)
1227 (org-protocol-remember, org-protocol-open-source): Add autoloads.
1229 * org-compat.el (org-float-time): New function.
1231 * org.el (org-clock-update-time-maybe)
1232 (org-sort-entries-or-items, org-do-sort)
1233 (org-evaluate-time-range, org-time-string-to-seconds)
1234 (org-closed-in-range): Use `org-float-time'.
1236 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1237 (org-timer-seconds): Use `org-float-time'.
1239 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1240 (org-clock-sum, org-dblock-write:clocktable)
1241 (org-clocktable-steps): Use `org-float-time'.
1243 * org-agenda.el (org-agenda-last-marker-time)
1244 (org-agenda-new-marker, org-diary): Use `org-float-time'.
1246 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1249 * org-exp.el (org-get-file-contents): Only protect lines that
1252 * org-html.el (require): Require cl for compilation.
1254 * org.el: Avoid using `default-major-mode'.
1256 * org-plot.el (require): Require CL only at compile time.
1258 * org-exp.el (require): Require CL only at compile time.
1260 * org-agenda.el (org-agenda-quit): When the agenda window is
1261 dedicated, remove other windows before exiting, so that the frame
1262 really will be killed.
1264 * org-exp.el (org-export-handle-include-files): Reset START and
1265 END for each loop cycle.
1267 2009-09-01 Carsten Dominik <carsten.dominik@gmail.com>
1269 * org.el (org-eval-in-calendar): Use
1270 `org-select-frame-set-input-focus'.
1272 * org-compat.el (org-select-frame-set-input-focus): New function.
1274 * org.el (org-update-statistics-cookies): New function.
1275 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1277 2009-08-31 Carsten Dominik <carsten.dominik@gmail.com>
1279 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1280 after the local variables are set.
1282 * org-latex.el (org-export-latex-protect-amp): New function.
1283 (org-export-latex-links): Protect link ampersands in tables.
1285 * org-exp.el (org-export-select-backend-specific-text): Match in
1286 two steps, to avoid regexp problems.
1288 * org.el (org-offer-links-in-entry): Improve working with many and
1291 * org-agenda.el (org-agenda-show-1): Make more consistent with
1293 (org-agenda-cycle-show): Make more consistent with normal cycling.
1295 * org-gnus.el (org-gnus-store-link): Restore the linking to a
1298 2009-08-30 Bastien Guerry <bzg@altern.org>
1300 * org-latex.el (org-export-latex-first-lines): Bugfix.
1302 2009-08-29 Carsten Dominik <carsten.dominik@gmail.com>
1304 * org-clock.el (org-clock-modify-effort-estimate): Emit message
1307 * org.el (org-set-effort): New function.
1308 (org-mode-map): New key for effort setting command.
1310 * org-agenda.el (org-agenda): Keep window setup when calling
1311 agenda from within agenda window.
1312 (org-agenda-mode-map): New keys for effort setting commands.
1313 (org-agenda-menu): Add effort setting commands to menu.
1314 (org-agenda-set-property, org-agenda-set-effort): New functions.
1316 * org-latex.el (org-export-latex-tables): Fix
1317 `org-table-last-alignment' and `org-table-last-column-widths' if
1318 the first column has been removed.
1320 2009-08-28 Carsten Dominik <carsten.dominik@gmail.com>
1322 * org.el (org-remove-timestamp-with-keyword): Only remove in
1323 entry, not in subtree.
1325 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1328 * org.el (org-open-at-point): When on headline, offer all strings
1331 * org-remember.el (org-remember-templates): Documentation fix.
1333 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1334 `org-get-last-sibling' instead of the outline versions of these
1336 (org-get-last-sibling): New function.
1337 (org-refile): Use `org-get-next-sibling' instead of the outline
1338 version of this function.
1339 (org-clean-visibility-after-subtree-move): Use
1340 `org-get-next-sibling' and `org-get-last-sibling' instead of the
1341 outline versions of these functions.
1343 2009-08-27 Carsten Dominik <carsten.dominik@gmail.com>
1345 * org-agenda.el (org-prepare-agenda): When creating a new frame
1346 for the agenda, make the window dedicated.
1348 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1350 * org-table.el (org-table-align): Change the order of reinsertion
1351 and deletion, to avoid problems with overlays following the table.
1353 * org.el (org-parse-time-string): Better error message.
1354 (org-show-subtree): Use org-end-of-subtree.
1356 * org-macs.el (org-goto-line): New defsubst.
1358 * org.el (org-open-file, org-change-tag-in-region)
1359 (org-fast-tag-show-exit): Don't use `goto-line'.
1361 * org-table.el (org-table-align, org-table-insert-column)
1362 (org-table-delete-column, org-table-move-column)
1363 (org-table-sort-lines, org-table-copy-region)
1364 (org-table-paste-rectangle, org-table-wrap-region)
1365 (org-table-get-specials, org-table-rotate-recalc-marks)
1366 (org-table-get-range, org-table-recalculate)
1367 (org-table-edit-formulas, org-table-fedit-convert-buffer)
1368 (org-table-show-reference, org-table-highlight-rectangle): Don't
1371 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1372 (org-edit-src-exit): Don't use `goto-line'.
1374 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1376 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1377 Don't use `goto-line'.
1379 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1381 * org-colview.el (org-columns, org-columns-redo)
1382 (org-agenda-columns): Don't use `goto-line'.
1384 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1387 * org-agenda.el (org-agenda-mode): Force visual line motion off.
1388 (org-agenda-add-entry-text-maxlines): Improve docstring.
1389 (org-agenda-start-with-entry-text-mode): New option.
1390 (org-agenda-entry-text-maxlines): New option.
1391 (org-agenda-entry-text-mode): New variable.
1392 (org-agenda-mode): Set initial value of
1393 `org-agenda-entry-text-mode'.
1394 (org-agenda-mode-map): Add the `E' key.
1395 (org-agenda-menu): Add entry text mode to the menu.
1396 (org-agenda-get-some-entry-text): Fix line count bug.
1397 (org-finalize-agenda): Apply entry text mode if appropriate.
1398 (org-agenda-entry-text-show-here): New function.
1399 (org-agenda-entry-text-show): New function.
1400 (org-agenda-entry-text-hide): New function.
1401 (org-agenda-view-mode-dispatch): Add entry text mode to the view
1403 (org-agenda-entry-text-mode): New command.
1404 (org-agenda-set-mode-name): Add entry text mode to the mode line
1406 (org-agenda-undo, org-agenda-get-restriction-and-command)
1407 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1410 2009-08-26 Bernt Hansen <bernt@norang.ca>
1412 * org-clock.el (org-notify): Bugfix.
1414 2009-08-25 Carsten Dominik <carsten.dominik@gmail.com>
1416 * org-agenda.el (org-agenda-open-link): Handle multiple links and
1417 check for after-string.
1419 * org-gnus.el (org-gnus-store-link): Simplify.
1421 * org.el (org-latex-regexps): Don't add extra empty lines for
1424 2009-08-24 Carsten Dominik <carsten.dominik@gmail.com>
1426 * org-agenda.el (org-agenda-get-some-entry-text): New function.
1427 (org-agenda-add-entry-text): Use
1428 `org-agenda-get-some-entry-text'.
1430 * org.el (org-cycle-separator-lines): Update docstring.
1431 (org-cycle-show-empty-lines): Handle negative values for
1432 `org-cycle-show-empty-lines'.
1434 * org-exp.el (org-export-protect-sub-super): New function.
1435 (org-export-normalize-links): Protect the url of plain links from
1436 supscript and superscript processing.
1438 * org-remember.el (org-remember-escaped-%): New function.
1439 (org-remember-apply-template): Use `org-remember-escaped-%' to
1440 detect escaped % signs.
1442 2009-08-23 Bastien Guerry <bzg@altern.org>
1444 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1445 sound when showing the notification.
1447 * org-clock.el (org-notify): New function.
1448 (org-clock-notify-once-if-expired): Use `org-notify'.
1450 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1451 and `gnus-article-mode' separately.
1452 (gnus-summary-article-header): Fix the declare-function.
1454 2009-08-23 Carsten Dominik <carsten.dominik@gmail.com>
1456 * org-exp.el (org-export-format-source-code-or-example): Translate
1459 * org-src.el (org-src-lang-modes): New variable
1460 (org-edit-src-code): Translate language.
1462 * org-exp.el (org-export-format-source-code-or-example): Deal wit
1463 the new structure of the `org-export-latex-listings-langs'
1466 * org-latex.el (org-export-latex-listings-langs): Change structure
1467 of the variable from plist to alist.
1469 2009-08-21 Carsten Dominik <carsten.dominik@gmail.com>
1471 * org.el (org-in-commented-line): New function.
1473 2009-08-20 Carsten Dominik <carsten.dominik@gmail.com>
1475 * org.el (org-hide-block-toggle): Make folded blocks searchable.
1477 2009-08-19 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
1479 * org.el (org-flag-drawer): More useful error.
1481 2009-08-19 Carsten Dominik <carsten.dominik@gmail.com>
1483 * org-remember.el (org-remember-apply-template): Use
1484 org-icompleting-read.
1486 * org-publish.el (org-publish): Use org-icompleting-read.
1488 * org-colview.el (org-columns-edit-value, org-columns-new)
1489 (org-insert-columns-dblock): Use org-icompleting-read.
1491 * org-colview-xemacs.el (org-columns-edit-value)
1492 (org-columns-new, org-insert-columns-dblock): Use
1493 org-icompleting-read.
1495 * org-attach.el (org-attach-delete-one, org-attach-open): Use
1496 org-icompleting-read.
1498 2009-08-18 Carsten Dominik <carsten.dominik@gmail.com>
1500 * org.el (org-hierarchical-todo-statistics): Improve docstring.
1501 (org-version): Return the version text.
1502 (org-org-menu): Add a menu entry for the new bug reporter.
1503 (org-submit-bug-report): New command.
1505 * org-list.el (org-hierarchical-checkbox-statistics): Improve
1508 * org.el (org-emphasis-regexp-components): Add "`" to set of
1509 pre-emphasis characters.
1511 * org-latex.el (org-export-latex-classes): Always include the soul
1513 (org-export-latex-emphasis-alist): Use \st for strikethough.
1515 * org-exp-blocks.el (org-export-blocks-preprocess): Use
1516 `indent-code-rigidly' to indent.
1518 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1519 properties only if MATCH really is a string.
1521 2009-08-16 Carsten Dominik <carsten.dominik@gmail.com>
1523 * org-latex.el (org-export-latex-packages-alist): Fix
1526 * org.el (org-create-formula-image): Also use
1527 `org-export-latex-packages-alist'.
1529 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1530 (org-export-as-html): Format footnotes correctly.
1532 2009-08-14 Carsten Dominik <carsten.dominik@gmail.com>
1534 * org.el (org-fast-tag-selection): Avoid text properties on tags
1537 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1538 text properties on the match element.
1540 2009-08-12 Carsten Dominik <carsten.dominik@gmail.com>
1542 * org.el (org-set-regexps-and-options): Make sure the list of done
1543 keywords is not invalid.
1545 * org-exp.el (org-export-interpolate-newlines): New function.
1547 2009-08-11 Carsten Dominik <carsten.dominik@gmail.com>
1549 * org.el (org-format-latex): Avoid nested overlays.
1551 * org-latex.el (org-export-latex-listings-langs): Add a few more
1554 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1555 ignore newlines and space before the first macro argument.
1557 * org-latex.el (org-export-latex-tables): Remove save-excursion
1558 around `org-table-align'.
1560 2009-08-10 Carsten Dominik <carsten.dominik@gmail.com>
1562 * org.el (org-export-html-special-string-regexps): Definition
1565 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1568 2009-08-09 Carsten Dominik <carsten.dominik@gmail.com>
1570 * org-latex.el (org-export-latex-listings)
1571 (org-export-latex-listings-langs): New options.
1573 * org-exp.el (org-export-format-source-code-or-example): Use
1574 listing package if requested by the user.
1576 2009-08-08 Bastien Guerry <bzg@altern.org>
1578 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1579 command before actually switching to a buffer.
1581 2009-08-07 Carsten Dominik <carsten.dominik@gmail.com>
1583 * org-exp.el (org-get-file-contents): Only quote org lines when
1584 the markup is src or example.
1586 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1588 (org-agenda-get-day-entries): Remember deadline results and pass
1589 them on into the function getting the scheduling information.
1590 (org-agenda-get-scheduled): Accept deadline results as parameters
1591 and maybe skip some entries.
1592 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1594 * org.el (org-insert-heading): When respecting content, do not
1595 convert current line to headline.
1597 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1598 cheeeeeck the hd marker
1599 (org-clock-in): Also set the hd marker.
1600 (org-clock-out): Also set the hd marker.
1601 (org-clock-cancel): Reset markers.
1603 * org.el (org-clock-hd-marker): New marker.
1605 * org-faces.el (org-agenda-clocking): New face.
1607 * org-agenda.el (org-agenda-mark-clocking-task): New function.
1608 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1610 * org.el (org-modules): Add org-track.el.
1612 * org-agenda.el (org-agenda-bulk-marked-p): New function.
1613 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1614 `org-agenda-bulk-marked-p'.
1615 (org-agenda-bulk-toggle): New command.
1617 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1619 * org.el (org-move-subtree-down): Hide subtree if it was folded,
1622 * org-remember.el (org-remember-finalize): Avoid buffer-modified
1625 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
1627 * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
1628 before gnuplot can read it.
1630 2009-08-05 Carsten Dominik <carsten.dominik@gmail.com>
1632 * org-latex.el (org-export-latex-first-lines): Fix bug with
1633 finding the end of the first lines.
1635 * org.el (org-create-formula-image): Remove the -E option for
1638 * org-exp.el (org-default-export-plist): Respect #+BIND.
1639 (org-export-confirm-letbind): New function.
1641 * org.el (org-paste-subtree): Test the kill ring entry if it is
1643 (org-copy-subtree): Use `org-forward-same-level'.
1644 (org-forward-same-level): Respect the `invisibe-ok' arg for
1647 2009-08-04 Carsten Dominik <carsten.dominik@gmail.com>
1649 * org.el (org-table-map-tables): Make sure cursor is back at table
1650 beginning after funcall.
1652 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1653 handled before children, and do not error if an entry is not
1654 found, probably because it hase been remove when the parent was
1655 archived or refiled.
1657 * org.el (org-ido-completing-read): Accept straight lists for
1658 completion as well as alists.
1660 * org-html.el (org-export-as-html): Fix parenthesis error in
1663 * org-timer.el (org-timer-cancel-timers): Renamed from
1664 `org-timer-cancel-timers'.
1666 * org.el (org-cycle-internal-local): Fix problem with finding next
1669 2009-08-03 Carsten Dominik <carsten.dominik@gmail.com>
1671 * org-list.el (org-list-send-list): Call
1672 `org-list-goto-true-beginning' instead of
1673 `org-list-find-true-beginning', which does not exist.
1675 * org-timer.el (org-timer-reset-timers): Use `mapc'.
1676 (org-timer-set-timer): Do not assign to heading.
1678 * org-id.el (org-id-open): Quote function name.
1680 * org-macs.el (org-unmodified): Turn off recording undo
1681 information while running inside the macro.
1683 * org-indent.el (org-hide-leading-stars-before-indent-mode): New
1685 (org-indent-mode): Remember and restore value of
1686 org-hide-leading-stars before `org-indent-mode'.
1688 * org-table.el (org-table-export): Also work in file-less
1691 * org.el (org-startup-indented): New option.
1692 (org-startup-options): Add new options indent and noindent.
1693 (org-unfontify-region): Remove line-prefix and wrap-prefix
1695 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
1697 (org-promote, org-demote): Run the new hooks.
1699 * org-table.el (org-table-align): Replace leading \n as well.
1701 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
1702 and `line-wrap' text properties.
1704 * org-compat.el (org-kill-new): New function.
1706 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
1707 `line-wrap' text properties.
1709 * org-indent.el: New file.
1711 2009-08-02 Carsten Dominik <carsten.dominik@gmail.com>
1713 * org.el (org-provide-todo-statistics): Tweak docstring.
1715 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
1717 2009-08-01 Carsten Dominik <carsten.dominik@gmail.com>
1719 * org-exp.el (org-export-as-org): Insert the "-source" string
1720 before the extension.
1722 * org.el (org-read-date): Make sure the calendar is in the current
1724 (org-set-emph-re): Remove the ? from the post-match.
1725 (org-emphasis-regexp-components): Add backslash to the
1727 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
1728 optional so that also lines at the end of the buffers will still
1729 be matched as headlines.
1731 * org-table.el (org-table-error-on-row-ref-crossing-hline):
1732 Variable made obsolete.
1733 (org-table-relative-ref-may-cross-hline): New option.
1734 (org-table-find-row-type): Honow the new option
1735 `org-table-relative-ref-may-cross-hline'.
1737 2009-07-31 Carsten Dominik <carsten.dominik@gmail.com>
1739 * org-table.el (org-table-cut-region, org-table-copy-region): Work
1740 on single field if no active region.
1742 2009-07-27 Carsten Dominik <carsten.dominik@gmail.com>
1744 * org-latex.el (org-export-latex-make-header): Only insert title
1747 * org.el (org-make-options-regexp): Allow empty values.
1749 * org-html.el (org-export-as-html): Move hrule detection to after
1750 plain list handling.
1752 2009-07-26 Carsten Dominik <carsten.dominik@gmail.com>
1754 * org-html.el (org-format-org-table-html): Fix colgroup tags.
1756 2009-07-23 Carsten Dominik <carsten.dominik@gmail.com>
1758 * org.el (org-cycle-internal-local): Improved version of finding
1760 (org-cycle-hide-drawers): Only hide drawers if this is really
1762 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
1763 org-version of this function in Org-mode. We use advice to
1764 implement this change, so that future changes to this function in
1765 outline.el wil be handled properly.
1766 (org-forward-same-level, org-backward-same-level): New commands.
1768 2009-07-21 Carsten Dominik <carsten.dominik@gmail.com>
1770 * org.el (org-remove-empty-overlays-at)
1771 (org-clean-visibility-after-subtree-move): New functons.
1772 (org-move-subtree-down): Simplify cleanup of display.
1774 2009-07-20 Carsten Dominik <carsten.dominik@gmail.com>
1776 * org-mac-message.el (org-mac-message-get-links): Improve
1777 docstring. Make argument SELECT-OR-FLAGGED optional, default to
1778 "s". Fix the return value.
1779 (org-mac-message-insert-flagged): Simplify.
1781 * org.el (org-refile-get-location): Tamper with refile history o
1782 that history contains compete matches instead of the entered
1785 2009-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1787 * org.el (org-store-link): Never store a link to an inline task.
1789 * org-inlinetask.el (org-inlinetask-insert-task): New command.
1791 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
1792 inline tasks when positioning footnotes.
1794 * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
1797 * org.el (org-refile): Remove the END line when archiving an
1798 inline task that does have an END line.
1800 * org-archive.el (org-archive-subtree): Remove the END line when
1801 archiving an inline task that does have an END line.
1803 * org-macs.el (org-with-limited-levels): New macro.
1804 (org-get-limited-outline-regexp): New function.
1806 * org-exp.el (org-export-format-source-code-or-example): Fix bug
1807 that did not enumerate first line.
1808 (org-export-mark-radio-links): Skip matches in links.
1810 2009-07-18 Carsten Dominik <carsten.dominik@gmail.com>
1812 * org.el (org-activate-plain-links): Make single-match.
1813 (org-adapt-indentation): Fix docstring.
1815 * org-macs.el (org-unmodified): Turn of modification hooks while
1818 2009-08-02 Bastien Guerry <bzg@altern.org>
1820 * org.el (org-adapt-indentation): Slightly improve the docstring.
1821 (org-occur): Sends an error when the user inputs an empty string.
1822 (org-priority): Bugfix: the tag alignement should happen within
1825 2009-07-31 Bastien Guerry <bzg@altern.org>
1827 * org.el (org-make-link-regexps): Don't exclude parentheses from
1829 (org-cycle-internal-local): When locally cycling, switch directly
1830 from CHILDREN to FOLDED if there is no subtree
1831 (org-cycle): Update the docstring to document the new behavior of
1832 `org-cycle-internal-local'.
1834 2009-07-29 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
1836 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
1837 an abbreviated format for days.
1839 2009-07-27 Bastien Guerry <bzg@altern.org>
1841 * org-protocol.el (org-protocol-default-template-key): New
1844 * org.el (org-refile): Bugfix: save-excursion before reading the
1845 refile target, otherwise cursor moves might confuse `org-refile'.
1847 * org-html.el (org-export-as-html): Bugfix: correctly convert the
1848 footnote reference before the footnote itself.
1850 * org.el (org-toggle-heading): Bugfix: correctly convert list
1851 items before the first headline.
1853 * org-html.el (org-export-html-footnote-format): New option for
1854 formatting the footnote reference.
1855 (org-export-as-html): Use the new option.
1857 * org.el (org-provide-todo-statistics): Allow a list of TODO
1858 keywords to compute statistics against headlines containing a
1859 keyword from this list.
1860 (org-update-parent-todo-statistics): Possibly use the new allowed
1861 value of `org-provide-todo-statistics'.
1863 2009-07-26 Bastien Guerry <bzg@altern.org>
1865 * org-timer.el: Add autoload cookie.
1867 * org.el (org-occur-link-in-agenda-files): New function.
1869 * org-timer.el (org-timer-last-timer): New variable.
1871 * org-agenda.el (org-agenda-mode-map): New key for
1872 org-timer-set-timer called from the agenda.
1874 * org.el (org-mode-map): New key for org-timer-set-timer.
1876 * org-timer.el (org-timer-reset-timers)
1877 (org-timer-show-remaining-time, org-timer-set-timer): New
1880 * org-clock.el (org-show-notification): Update the docstring.
1882 * org.el (org-provide-todo-statistics): Allow new value
1883 'all-headlines for this option, which includes entries with no
1884 TODO keywords in the todo statistics.
1885 (org-update-parent-todo-statistics): Possibly use the new
1886 'all-headline value from `org-provide-todo-statistics'.
1888 2009-07-25 Bastien Guerry <bzg@altern.org>
1890 * org-clock.el (org-dblock-write:clocktable): Add a new option
1891 :timestamp which allows display of timestamps in clock reports.
1893 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
1894 list to a subtree, preserving the structure of the list.
1895 (org-set-emph-re): Make the last element optional in the regexp.
1896 This regexp now matches an emphasized string at the end of a line.
1898 * org-list.el (org-list-goto-true-beginning)
1899 (org-list-make-subtree, org-list-make-subtrees): New functions.
1901 * org.el (org-eval-in-calendar): Select the right frame.
1902 (org-save-frame-excursion): Remove this macro.
1904 2009-07-24 Bastien Guerry <bzg@altern.org>
1906 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
1907 trying to find the beginning of a list.
1909 * org-exp.el (org-get-file-contents): Use a new argument: markup.
1910 When present, tell org-get-file-contents not to protect org-like
1913 * org-id.el (org-id-uuid-program): New option to set the name of
1914 the uuidgen program.
1915 (org-id-method): Use `org-id-uuid-program'.
1916 (org-id-new): Use `org-id-uuid-program'.
1918 2009-07-23 Bastien Guerry <bzg@altern.org>
1920 * org-exp.el (org-export-number-lines): Allow whitespace in code
1921 references. Allow the -r switch to remove the references in the
1922 source code even when the lines are not numbered: the labels can
1925 * org.el (org-fontify-whole-heading-line): New option.
1926 (org-set-font-lock-defaults): Use the new option.
1928 * org-clock.el (org-show-notification-handler): New option.
1929 (org-show-notification): Use the new option.
1931 2009-07-21 Bastien Guerry <bzg@altern.org>
1933 * org.el (org-eval-in-calendar): Fix a bug about calendar
1934 navigation when `calendar-setup' value is 'calendar-only.
1936 2009-07-19 Bastien Guerry <bzg@altern.org>
1938 * org.el (orgstruct++-mode): Fix typo in docstring.
1939 (org-insert-link): Clean up: (or (...)) => (...)
1940 (org-insert-link): Use TAB for stored links completion.
1942 2009-07-18 Bastien Guerry <bzg@altern.org>
1944 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
1945 building the list of targets.
1947 * org-remember.el (org-remember-delete-empty-lines-at-end): New
1949 (org-remember-handler): Use the new option.
1951 2009-07-17 James TD Smith <ahktenzero@mohorovi.cc>
1953 * org.el (org-tags-sort-function): New option for sorting tags.
1954 (org-set-tags): Use the new option to sort tags.
1956 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
1957 premature deletion of the data when using org-plot in a script.
1959 2009-07-17 Bastien Guerry <bzg@altern.org>
1961 * org-clock.el (org-clock-in-prepare-hook): New hook.
1962 (org-clock-in): Use this new hook.
1964 2009-07-16 Bastien Guerry <bzg@altern.org>
1966 * org.el (org-special-ctrl-a/e): Explicitely bind the value
1967 'reversed for this option to the "true line boundary first"
1969 (org-tags-match-list-sublevels): Document the 'indented value for
1972 * org-latex.el (org-export-latex-first-lines): Fix problem with
1973 publishing the region.
1975 * org-exp.el (org-export-format-source-code-or-example): Fix
1976 bad line numbering when exporting examples in HTML.
1978 * org-colview.el (org-format-time-period): Formats a time in
1979 fractional days as days, hours, mins, seconds.
1980 (org-columns-display-here): Add special handling for SINCE and
1981 SINCE_IA to format for display.
1983 2009-07-12 James TD Smith <ahktenzero@mohorovi.cc>
1985 * org.el (org-tags-sort-function): Add custom declaration for tags
1987 (org-set-tags): Sort tags if org-tags-sort-function is set
1989 2009-07-08 Carsten Dominik <carsten.dominik@gmail.com>
1991 * org-clock.el (org-clock-goto): Find hidden headlines as well.
1993 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
1995 * org-plot.el (org-plot/add-options-to-plist): Add timeind
1998 2009-07-07 Carsten Dominik <carsten.dominik@gmail.com>
2000 * org-publish.el (org-publish-remove-all-timestamps): New function.
2001 (org-publish-all): Remove all timestamp files if `org-publish-all'
2002 is called with a prefix argument.
2004 * org-list.el (org-indent-item): Fix typo.
2005 (org-item-indent-positions): Normalize ordered bullet.
2007 * org-html.el (org-export-html-home/up-format): New option.
2008 (org-export-as-html): Insert the up and HOME links.
2010 2009-07-06 Carsten Dominik <carsten.dominik@gmail.com>
2012 * org-html.el (org-export-as-html): Insert the title into the
2014 (org-export-html-insert-plist-item): New function.
2015 (org-export-as-html): Call `org-export-html-insert-plist-item'.
2017 * org-macs.el (org-set-local): Make a local variable, do not make
2018 the variable buffer-local!
2020 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2022 * org-html.el (org-export-as-html): Call `org-install-letbind'.
2024 * org-docbook.el (org-export-as-docbook): Call
2025 `org-install-letbind'.
2027 * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2029 * org-exp.el (org-infile-export-plist): Read BIND lines.
2030 (org-install-letbind): New function.
2031 (org-export-as-org, org-export-preprocess-string): Call
2032 `org-install-letbind'.
2034 * org-src.el (org-edit-src-exit): Untabify the example before
2037 * org-list.el (org-list-demote-modify-bullet): New option.
2038 (org-first-list-item-p): Save point.
2039 (org-fix-bullet-type): New optional argument FORCE-BULLET.
2040 (org-indent-item): Honor `org-list-demote-modify-bullet'.
2041 (org-item-indent-positions): Return bullet types along with
2044 2009-07-05 Carsten Dominik <carsten.dominik@gmail.com>
2046 * org.el (org-show-entry): Hide drawers.
2048 2009-07-03 Carsten Dominik <carsten.dominik@gmail.com>
2050 * org-footnote.el (org-footnote-auto-adjust): New option.
2051 (org-footnote-auto-adjust-maybe): New function.
2052 (org-footnote-new, org-footnote-delete): Call
2053 `org-footnote-auto-adjust-maybe'.
2055 * org.el (org-startup-options): Add new footnote-related
2058 * org-publish.el (org-publish-timestamp-filename): Additional
2059 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2060 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2061 TRUE-PUB-DIR. Pass them through to
2062 `org-publish-timestamp-filename'.
2063 (org-publish-update-timestamp): Additional arguments PUB-DIR and
2064 PUB-FUNC, which are included in the hash.
2065 (org-publish-file): Delay timestamp test until the publishing
2068 2009-07-02 Carsten Dominik <carsten.dominik@gmail.com>
2070 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2071 setting the deadline.
2073 * org.el (org-read-date-final-answer): New variable.
2074 (org-read-date): Store the final answer string, including the date
2075 from the calendar, for reuse by agenda bulk commands.
2077 * org-publish.el (org-publish-attachment): Fix publishing of
2080 * org-latex.el (org-export-latex-quotation-marks): Fix export of
2081 quotation makrs in parenthesis.
2082 (org-remove-initial-hash): New function.
2083 (org-export-latex-preprocess): Fix bug with infinite loop if
2084 environment is not properly closed.
2086 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2089 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2090 highlight also when indented.
2092 2009-07-01 Carsten Dominik <carsten.dominik@gmail.com>
2094 * org-footnote.el (org-footnote-renumber-fn:N): New command.
2095 (org-footnote-action): Offer renumbering.
2097 * org.el (org-cycle): Honor the `integrate' value of
2098 org-cycle-include-plain-lists'.
2100 * org-list.el (org-cycle-include-plain-lists): New allowed value
2101 `internal'. Improve the docstring.
2103 * org.el (org-set-autofill-regexps): Improve the paragraph-start
2104 regexp to work better with LaTeX commands.
2106 2009-06-30 Carsten Dominik <carsten.dominik@gmail.com>
2108 * org-feed.el (org-feed-update): fix problem with non-existing
2110 (org-feed-skip-http-headers): New function.
2111 (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2112 (org-feed-get-feed): Fix command line arguments for curl.
2114 2009-06-28 Carsten Dominik <carsten.dominik@gmail.com>
2116 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2119 2009-06-27 Carsten Dominik <carsten.dominik@gmail.com>
2121 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2124 * org.el (org-map-entries): No longer force
2125 `org-tags-match-list-sublevels' to t during a todo-only tags
2128 2009-06-26 Carsten Dominik <carsten.dominik@gmail.com>
2130 * org-latex.el (org-export-latex-low-levels): Allow user-defined
2132 (org-export-latex-subcontent): Handle user-defined environment.
2134 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2135 the View dispatcher.
2137 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2140 * org-latex.el (org-export-as-pdf): Protect match data during call
2141 to shell-quote-argument.
2143 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2144 (org-agenda-view-mode-dispatch): New function.
2146 2009-06-24 Carsten Dominik <carsten.dominik@gmail.com>
2148 * org-agenda.el (org-agenda-mode): Reset list of marks.
2149 (org-agenda-mode-map): Define new keys for refile and bulk action.
2150 (org-agenda-menu): Add menu itesm for refile and bulk action.
2151 (org-agenda-refile): New function.
2152 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2153 (org-agenda-marked-entries): New variable.
2154 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2155 (org-agenda-remove-all-bulk-action-marks)
2156 (org-agenda-bulk-action): New functions/commands.
2158 2009-06-23 Carsten Dominik <carsten.dominik@gmail.com>
2160 * org-exp.el (org-get-file-contents): Protect org-like lines in
2162 (org-export-format-source-code-or-example): Remove newlines.
2164 * org-latex.el (org-export-latex-links): Check for no-description
2167 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2168 argument separator back to comma.
2169 (org-export-normalize-links): Mark links without description.
2171 2009-06-22 Carsten Dominik <carsten.dominik@gmail.com>
2173 * org-exp.el (org-infile-export-plist): Fix bug in macro
2176 * org-agenda.el (org-agenda-clock-out): Update line after clocking
2178 (org-agenda-highlight-todo): Fix bug with highlighting.
2180 2009-06-21 Carsten Dominik <carsten.dominik@gmail.com>
2182 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2183 new alignment strings.
2185 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2187 (org-table-align): Check for forced align type.
2189 * org.el (org-self-insert-command): Add yas/expand to command
2192 * org-clock.el (org-clock-in-hook): New hook.
2193 (org-clock-in): Run `org-clock-in-hook.
2194 (org-clock-out-hook): New hook.
2195 (org-clock-out): Run `org-clock-out-hook.
2196 (org-clock-cancel-hook): New hook.
2197 (org-clock-cancel): Run `org-clock-cancel-hook.
2198 (org-clock-goto-hook): New hook.
2199 (org-clock-goto): Run `org-clock-goto-hook.
2201 2009-06-20 Carsten Dominik <carsten.dominik@gmail.com>
2203 * org.el (org-store-link): Better default description for link to
2206 * org-exp.el (org-export-generic): Autoload the generic exporter
2208 (org-export): Implement the `g' key for the generic exporter.
2210 2009-06-19 Carsten Dominik <carsten.dominik@gmail.com>
2212 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2215 * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2217 * org-exp.el (org-infile-export-plist): Get macros also from
2220 2009-06-18 Carsten Dominik <carsten.dominik@gmail.com>
2222 * org-colview.el (org-columns-capture-view): Protect vertical bars
2224 (org-columns-capture-view): Exclude comment and archived trees.
2226 * org-colview-xemacs.el (org-columns-capture-view): Protect
2227 vertical bars in column values.
2228 (org-columns-capture-view): Exclude comment and archived trees.
2230 * org.el (org-quote-vert): New function.
2232 * org-latex.el (org-export-latex-verbatim-wrap): New option.
2234 * org-exp.el (org-export-format-source-code-or-example): Use
2235 `org-export-latex-verbatim-wrap'.
2237 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2240 * org-html.el (org-export-table-row-tags): New option.
2241 (org-format-org-table-html): Rename `nlines' to `nline', use new
2245 2009-06-17 Carsten Dominik <carsten.dominik@gmail.com>
2247 * org-exp-blocks.el: Declare functions and variables.
2249 * org-remember.el (org-remember-templates): Allow the headline
2250 element to be a function.
2251 (org-remember-apply-template): If the headline is a function, call
2252 it to get the true function.
2254 * org-clock.el (org-clock-menu): New function.
2255 (org-clock-update-mode-line): Update help string.
2256 (org-clock-modify-effort-estimate): New function.
2257 (org-clock-mark-default-task): New function.
2259 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2261 (org-org-menu): Add new clocking stuff.
2262 (org-clock-is-active): New function.
2264 2009-06-14 Carsten Dominik <carsten.dominik@gmail.com>
2266 * org.el (org-open-non-existing-files): Improve docstring.
2268 2009-06-11 Carsten Dominik <carsten.dominik@gmail.com>
2270 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2272 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2274 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2276 * org-list.el (org-get-checkbox-statistics-face): Use the new
2279 * org-faces.el (org-checkbox-statistics-todo)
2280 (org-checkbox-statistics-done): New faces.
2282 2009-06-09 Carsten Dominik <carsten.dominik@gmail.com>
2284 * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2285 (org-edit-src-exit): Better cursor positioning when returning from
2288 * org-latex.el (org-export-latex-use-verb): New variable.
2289 (org-export-latex-emph-format): Prefer \texttt over \verb when
2290 org-export-latex-use-verb is set.
2292 2009-06-08 Carsten Dominik <carsten.dominik@gmail.com>
2294 * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2295 at normal indentation.
2297 * org-html.el (org-export-html-close-lists-maybe): Also look at
2300 * org-remember.el (org-remember-handler): Abort remember if the
2303 * org-src.el (org-edit-src-content-indentation): New option.
2304 (org-edit-src-exit): Apply extra indentation.
2306 * org-exp.el (org-export-format-source-code-or-example): Run
2307 `org-src-mode-hook'.
2309 * org-src.el (org-src-mode-hook): New variable.
2310 (org-edit-src-code): Run `org-src-mode-hook'.
2312 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
2314 * org.el (org-indent-line-function): Fix indentation of +#end lines.
2316 * org-src.el (org-edit-src-get-indentation): New function.
2317 (org-edit-src-code): Base indentation on the begin line.
2319 2009-06-07 Tassilo Horn <tassilo@member.fsf.org>
2321 * org-gnus.el (org-gnus-store-link): Require message.el in
2322 org-gnus-store-link.
2324 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
2326 * org-src.el: New file, split out of org.el
2328 * org-docbook.el (org-export-as-docbook): Better indentation
2331 * org-macs.el (org-replace-match-keep-properties): New function.
2333 * org-exp.el (org-export-mark-blockquote-verse-center): Better
2334 preprocessing of center and quote and verse blocks.
2336 * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2337 (org-export-as-docbook): Close lists when original indentation
2340 * org-html.el (org-export-html-close-lists-maybe): New function.
2341 (org-export-as-html): Close lists when original indentation
2344 * org-list.el (org-list-end): Respect the stored "original"
2345 indentation when determining the end of the list.
2347 * org-exp.el (org-export-replace-src-segments-and-examples):
2348 Remember indentation correctly.
2350 2009-06-06 Carsten Dominik <carsten.dominik@gmail.com>
2352 * org-clock.el (org-clock-update-mode-line): Apply face
2353 org-mode-line-clock.
2355 * org-faces.el (org-mode-line-clock): New face.
2357 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
2359 * org-gnus.el (org-gnus-store-link): Fix bug where
2360 `org-gnus-store-link' used wrong subject when called in an article
2361 buffer. Patch provided by fengli AT gmail DOT com.
2363 2009-06-04 Carsten Dominik <carsten.dominik@gmail.com>
2365 * org-exp.el (org-export-format-source-code-or-example): Remember
2366 the original indentation of source code snippets and examples.
2368 * org-latex.el (org-export-as-latex): Relocate the table of
2371 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2373 * org-agenda.el (org-run-agenda-series): Scope global options also
2374 when creating the agenda buffer.
2376 2009-06-03 Carsten Dominik <carsten.dominik@gmail.com>
2378 * org.el (org-adapt-indentation): Improve documentation.
2379 (org-insert-property-drawer): Respect org-adapt-indentation when
2380 inserting the drawer.
2381 (org-remove-flyspell-overlays-in): New function.
2382 (org-do-emphasis-faces, org-activate-plain-links)
2383 (org-activate-code, org-fontify-meta-lines-and-blocks)
2384 (org-activate-angle-links, org-activate-footnote-links)
2385 (org-activate-bracket-links, org-activate-dates)
2386 (org-activate-target-links, org-activate-tags): Remove flyspell
2389 2009-06-02 Carsten Dominik <carsten.dominik@gmail.com>
2391 * org.el (org-edit-src-save): New function.
2393 * org-clock.el (org-clock-out-switch-to-state): New option.
2394 (org-clock-out): Honor `org-clock-out-switch-to-state'.
2396 * org-compat.el (org-compatible-face): Improve macro.
2398 * org.el (org-global-properties-fixed): Add default for
2399 CLOCK_MODELINE_TOTAL.
2401 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2403 (org-clock-sum-current-item): Optional argument TSTART, pass it to
2405 (org-clock-get-sum-start): New function.
2407 * org.el (org-startup-options): New keywords blockhide and
2409 (org-mode): Add new invisibility spec.
2410 (org-set-startup-visibility): Hide block on startup if so
2412 (org-hide-block-startup): New option.
2413 (org-block-regexp): New constant.
2414 (org-hide-block-overlays): New variable.
2415 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2416 (org-show-block-all, org-hide-block-toggle-maybe)
2417 (org-hide-block-toggle): New functions.
2418 (org-edit-src-exit): Do not quote lines starting with # and no +
2420 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2423 2009-05-30 Carsten Dominik <carsten.dominik@gmail.com>
2425 * org.el (org-buffer-property-keys): Add Effort property for
2428 2009-05-28 Carsten Dominik <carsten.dominik@gmail.com>
2430 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2431 when retrieving total clocked time in the subtree.
2433 * org.el (org-quoting-blocks): New variable.
2435 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
2437 * org-table.el (org-table-store-formulas)
2438 (org-table-get-stored-formulas, org-table-fix-formulas)
2439 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2440 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2442 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2443 indented #+TBLFM line.
2445 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2446 indented #+TBLFM line.
2448 * org-colview.el (org-dblock-write:columnview): Allow indented
2451 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2452 indented #+TBLFM line.
2454 * org-clock.el (org-dblock-write:clocktable): Allow indented
2457 2009-05-26 Carsten Dominik <carsten.dominik@gmail.com>
2459 * org-exp.el (org-export-format-source-code-or-example): Make
2460 editing indented blocks work correctly.
2462 * org.el (org-edit-src-nindent): New variable.
2463 (org-edit-src-code, org-edit-fixed-width-region)
2464 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2465 editing indented blocks work correctly.
2467 2009-05-24 Carsten Dominik <carsten.dominik@gmail.com>
2469 * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2471 (org-export-format-source-code-or-example): Fix indentation of
2473 (org-export-remove-indentation): New function.
2474 (org-export-select-backend-specific-text): Allow backend-specific
2475 code to be indented.
2476 (org-export-mark-blockquote-verse-center): Allow markers to be
2479 * org.el (org-fontify-meta-lines): New function.
2480 (org-set-font-lock-defaults): Call the new fontification
2483 * org-faces.el (org-meta-line): New face
2484 (org-block): New face.
2486 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
2488 * org.el (org-treat-insert-todo-heading-as-state-change)
2489 (org-treat-S-cursor-todo-selection-as-state-change): New
2491 (org-insert-todo-heading): Honor
2492 `org-treat-insert-todo-heading-as-state-change'.
2493 (org-shiftright, org-shiftleft): Honor
2494 `org-treat-S-cursor-todo-selection-as-state-change'.
2495 (org-inhibit-logging): New variable.
2497 2009-05-23 Carsten Dominik <carsten.dominik@gmail.com>
2499 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2500 range for marker position checking.
2502 * org-latex.el (org-export-latex-first-lines): Fix bug when
2505 2009-05-22 Carsten Dominik <carsten.dominik@gmail.com>
2507 * org-exp.el (org-export-push-to-kill-ring): Protect using
2508 x-set-selection, because that does not always work.
2510 * org-agenda.el (org-agenda-list): Apply the new face
2511 `org-agenda-date-today'.
2513 * org-faces.el (org-agenda-date-today): New face.
2515 2009-05-21 Carsten Dominik <carsten.dominik@gmail.com>
2517 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2518 creating appointments.
2520 * org-latex.el (org-export-latex-low-levels): Fix customization
2523 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2526 * org-agenda.el (org-agenda-priority): Disable priority commands.
2528 * org.el (org-enable-priority-commands): New option.
2530 * org-colview-xemacs.el (org-columns-compute)
2531 (org-columns-number-to-string): Fix problems with empty fields.
2533 * org-colview.el (org-columns-compute)
2534 (org-columns-number-to-string): Fix problems with empty fields.
2536 * org-exp.el (org-export-push-to-kill-ring): New function.
2537 (org-export-copy-to-kill-ring): New option.
2539 * org-latex.el (org-export-as-latex): Call
2540 `org-export-push-to-kill-ring'.
2542 * org-html.el (org-export-as-html): Call
2543 `org-export-push-to-kill-ring'.
2545 * org-docbook.el (org-export-as-docbook): Call
2546 `org-export-push-to-kill-ring'.
2548 * org-ascii.el (org-export-as-ascii): Call
2549 `org-export-push-to-kill-ring'.
2551 * org-exp.el (org-export-show-temporary-export-buffer): New
2554 * org-latex.el (org-export-as-latex): Use
2555 `org-export-show-temporary-export-buffer'.
2557 * org-html.el (org-export-as-html): Use
2558 `org-export-show-temporary-export-buffer'.
2560 * org-docbook.el (org-export-as-docbook): Use
2561 `org-export-show-temporary-export-buffer'.
2563 * org-ascii.el (org-export-as-ascii-to-buffer): Use
2564 `org-export-show-temporary-export-buffer'.
2566 * org-exp.el (org-export-show-temporary-export-buffer): New
2568 (org-export-push-to-kill-ring): New function.
2570 * org-colview.el (org-columns-compile-map): New variable.
2571 (org-columns-new, org-columns-compute)
2572 (org-columns-number-to-string, org-columns-uncompile-format)
2573 (org-columns-compile-format): Implement new operators.
2575 2009-05-20 Carsten Dominik <carsten.dominik@gmail.com>
2577 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2579 * org-html.el (org-export-html-xml-declaration): New option.
2580 (org-export-as-html): Use `org-export-html-xml-declaration'.
2582 * org-list.el (org-update-checkbox-count): Make property
2585 * org.el (org-hierarchical-todo-statistics): New option.
2586 (org-update-parent-todo-statistics): Modified to handle recursive
2589 2009-05-19 Carsten Dominik <carsten.dominik@gmail.com>
2591 * org-publish.el (org-publish): Make this function behave
2592 correctly in interactive use when called with a prefix argument.
2594 * org.el (org-todo-statistics-hook): New hook.
2595 (org-update-parent-todo-statistics): Use new hook.
2596 (org-log-into-drawer): New function.
2597 (org-add-log-setup): Use the new `org-log-into-drawer' function to
2598 determine if we should be logging into a drawer.
2599 (org-log-into-drawer): Update docstring.
2600 (org-default-properties): Add LOG_INTO_DRAWER as a property.
2602 * org-list.el (org-checkbox-statistics-hook): New hook.
2603 (org-update-checkbox-count-maybe): Use new hook.
2605 * org-ascii.el (org-export-ascii-copy-to-kill): New option.
2606 (org-export-as-ascii): Hide export buffer, and copy exported ASCII
2609 2009-05-17 Carsten Dominik <carsten.dominik@gmail.com>
2611 * org-ascii.el (org-export-as-ascii): Fix bug with match string in
2614 2009-05-16 Carsten Dominik <carsten.dominik@gmail.com>
2616 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2617 better bufer-generating mechanism.
2618 (org-edit-src-find-buffer): New function.
2620 * org-icalendar.el (org-print-icalendar-entries): Don't check for
2621 archive tag, this is already done by `org-agenda-skip'.
2622 data while constructing lost of tags.
2624 2009-05-15 Carsten Dominik <carsten.dominik@gmail.com>
2626 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2627 as argument separator in macros.
2629 * org-html.el (org-export-as-html): Add xml declaration.
2631 2009-05-14 Carsten Dominik <carsten.dominik@gmail.com>
2633 * org.el (org-after-sorting-entries-or-items-hook): New hook.
2634 (org-sort-entries-or-items): Run the new hook.
2635 (org-after-refile-insert-hook): New hook.
2636 (org-refile): Run `org-after-refile-insert-hook'.
2638 * org-agenda.el (org-agenda-get-progress): Never take time of day
2639 from headline when displaying progress.
2641 * org-latex.el (org-export-latex-complex-heading-re): New variable.
2642 (org-export-as-latex): Force the correct regexp in the
2643 preprocessor buffer.
2644 (org-export-latex-set-initial-vars): Set
2645 `org-export-latex-complex-heading-re'.
2647 * org-agenda.el (org-agenda-start-with-log-mode): New option.
2648 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2650 2009-05-13 Carsten Dominik <carsten.dominik@gmail.com>
2652 * org-latex.el (org-export-latex-tables-centered): New option.
2653 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2655 * org-exp.el (org-export-as-org): New command.
2656 (org-export-as-org): New command.
2658 * org-publish.el (org-publish-org-to-org): New function.
2660 2009-05-12 Carsten Dominik <carsten.dominik@gmail.com>
2662 * org.el (org-yank): Just call `org-yank-generic'.
2663 (org-yank-generic): New function, containing the formaer
2664 functionality of `org-yank'.
2666 * org-latex.el (org-export-latex-not-done-keywords)
2667 (org-export-latex-done-keywords): New variables.
2668 (org-export-latex-todo-keyword-markup): New option.
2669 (org-export-latex-set-initial-vars): Remember the TODO keywords.
2670 (org-export-latex-keywords-maybe): Apply the TODO markup.
2672 2009-05-11 Carsten Dominik <carsten.dominik@gmail.com>
2674 * org-exp.el (org-infile-export-plist): Add more default macros.
2675 (org-export-preprocess-apply-macros): Process macro arguments.
2677 2009-05-10 Carsten Dominik <carsten.dominik@gmail.com>
2679 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
2681 (org-print-icalendar-entries): Respect the new value of
2682 `org-icalendar-include-todo'.
2684 * org.el (org-link-try-special-completion)
2685 (org-file-complete-link): New functions.
2686 (org-insert-link): Add special completion support for some link
2689 * org-bbdb.el (org-bbdb-complete-link): New function.
2691 2009-05-08 Carsten Dominik <carsten.dominik@gmail.com>
2693 * org-list.el (org-update-checkbox-count): Allow recursive
2695 (org-hierarchical-checkbox-statistics): New option.
2697 * org.el (org-cycle): Remove erraneous space character.
2699 * org-icalendar.el (org-icalendar-timezone): Initialize from
2702 * org-html.el (org-format-org-table-html): Specify the scope.
2703 (org-format-table-table-html): Specify the scope.
2704 (org-export-table-header-tags): Prepare the scope parameter.
2706 2009-05-07 Carsten Dominik <carsten.dominik@gmail.com>
2709 (org-export-html-table-use-header-tags-for-first-column): New
2712 * org.el (org-autoload): Fix autoloading of ascii export
2714 (org-modules): Add org-special-blocks.
2716 2009-05-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
2724 * org.el (org-sort-entries-or-items): Improve docstring, and make
2725 better implementation for time sorting.
2727 2009-05-05 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
2733 * org-clock.el (org-clock-insert-selection-line): Fix prefious
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-05-04 Carsten Dominik <carsten.dominik@gmail.com>
2752 * org-exp.el (org-export, org-export-visible): Support ASCII
2754 (org-export-normalize-links): Do not protect the description if it
2755 is explicitly given.
2757 * org-ascii.el (org-export-as-ascii-to-buffer)
2758 (org-replace-region-by-ascii, org-export-region-as-ascii): New
2760 (org-export-as-ascii): Add all the same parameters that are also
2761 supported by the other export functions.
2763 * org-list.el (org-reset-checkbox-state-subtree): Moved here from
2765 (org-reset-checkbox-state-subtree): Call
2766 `org-reset-checkbox-state-subtree'.
2768 * org-remember.el (org-select-remember-template): For the
2769 selection of a valid template.
2771 * org-latex.el (org-export-region-as-latex): Supply the
2772 force-no-subtree argument.
2773 (org-export-as-latex): Provide better limits when exporting the
2774 first line. When exporting to string, we still want the first
2776 (org-export-latex-first-lines): New argument END, to force the end
2778 (org-export-region-as-latex): Use the property list.
2779 (org-export-as-latex):
2781 * org-colview-xemacs.el (org-columns-remove-overlays)
2782 (org-columns): Fix call to `local-variable-p'.
2784 2009-05-02 Carsten Dominik <carsten.dominik@gmail.com>
2786 * org-html.el (org-export-html-after-blockquotes-hook): New hook.
2787 (org-export-as-html): Run the new hook.
2789 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
2790 (org-export-latex-preprocess): Run the new hook.
2792 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
2793 (org-export-preprocess-string): Run the new hook.
2795 2009-04-30 Carsten Dominik <carsten.dominik@gmail.com>
2797 * org-macs.el (org-check-external-command): New defsubst.
2799 * org.el (org-mode-map): New key for reload.
2800 (org-format-latex): Better error message when external programs
2803 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
2805 * org.el (org-sort-entries-or-items): Explicit sorting function
2806 for priorities, needed for XEmacs compatibility.
2808 * org-remember.el (org-remember-apply-template): Improve auto-save
2811 2009-04-29 Carsten Dominik <carsten.dominik@gmail.com>
2813 * org-latex.el (org-export-latex-preprocess): Also protect
2814 environments ending in a star.
2816 * org-list.el (org-at-item-p): Fix regular expression.
2818 2009-04-24 Carsten Dominik <carsten.dominik@gmail.com>
2820 * org.el (org-end-of-subtree): Improve speed.
2822 * org-agenda.el (org-agenda-get-timestamps)
2823 (org-agenda-get-progress, org-agenda-get-deadlines)
2824 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
2825 in particular, wait as long as possible to collect the tags.
2826 (org-stuck-projects): Improve docstring.
2828 * org.el (org-store-link): No errors when getting custom id before
2830 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
2832 2009-04-23 Carsten Dominik <carsten.dominik@gmail.com>
2834 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
2836 * org-protocol.el: Remove dependency on url.el.
2837 (org-protocol-unhex-compound, org-protocol-open-source): Remove
2838 dependency on url.el.
2840 * org-latex.el (org-export-as-pdf): Use
2841 `org-latex-to-pdf-process'.
2843 2009-04-22 Carsten Dominik <carsten.dominik@gmail.com>
2845 * org-latex.el (org-latex-to-pdf-process): New option.
2847 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
2849 (org-agenda-get-timestamps): Honor
2850 `org-agenda-skip-additional-timestamps-same-entry'.
2852 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
2853 (org-clock-goto): Find recent task only if
2854 `org-clock-goto-may-find-recent-task' allows it.
2856 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
2857 drawers, and drawers that are missing the :END: line.
2859 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
2861 * org-clock.el (org-clock-goto): Go to recently clocked task if no
2864 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
2866 * org.el (org-update-parent-todo-statistics): Check for
2867 STATISTICS_FROM property.
2869 * org-list.el (org-update-checkbox-count): Check for
2870 STATISTICS_FROM property.
2872 * org.el (org-tab-first-hook)
2873 (org-tab-after-check-for-table-hook)
2874 (org-tab-after-check-for-cycling-hook): New hooks.
2875 (org-cycle-internal-global, org-cycle-internal-local): New
2876 functions, split out from `org-cycle'.
2877 (org-cycle): Call the new hooks.
2879 2009-04-19 Carsten Dominik <carsten.dominik@gmail.com>
2881 * org-exp.el (org-export-preprocess-string): Reset the list of
2882 preferred targets for each run of the preprocessor.
2884 * org.el (org-refile-target-verify-function): Improve
2886 (org-get-refile-targets): Respect point being moved by the
2887 verification function.
2889 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
2891 (org-export-latex-keywords): Use new option.
2893 * org.el (org-rear-nonsticky-at): New defsubst.
2894 (org-activate-plain-links, org-activate-angle-links)
2895 (org-activate-footnote-links, org-activate-bracket-links)
2896 (org-activate-dates, org-activate-target-links)
2897 (org-activate-tags): Place the rear-nonsticky properties at the
2900 2009-04-18 Carsten Dominik <carsten.dominik@gmail.com>
2902 * org-protocol.el (server-edit): Declare `server-edit'.
2903 (org-protocol-unhex-string, org-protocol-unhex-compound): New
2905 (org-protocol-check-filename-for-protocol): Call `server-edit'.
2907 * org.el (org-default-properties): New default properteis for
2910 * org-exp.el (org-export-add-subtree-options): Add new properties
2913 * org-docbook.el (org-export-docbook-keywords-markup)
2914 (org-export-docbook-timestamp-markup): New options.
2915 (org-export-docbook-protect-tags): New function.
2917 2009-04-17 Carsten Dominik <carsten.dominik@gmail.com>
2919 * org-id.el (org-id-get-with-outline-path-completion): Turn off
2920 org-refile-target-verify-function for the duration of the command.
2922 * org.el (org-link-to-org-use-id): New possible value
2923 `create-if-interactive-and-no-custom-id'.
2924 (org-store-link): Use custom IDs.
2925 (org-link-search): Find custom ID properties from #link.
2926 (org-default-properties): Add CUSTOM_ID for property completion.
2927 (org-refile-target-verify-function): New option.
2928 (org-goto): Turn off org-refile-target-verify-function
2929 for the duration of the command.
2931 2009-04-16 Carsten Dominik <carsten.dominik@gmail.com>
2933 * org-html.el (org-export-as-html): Use custom IDs in the toc.
2935 * org-exp.el (org-export-preferred-target-alist): New variable.
2936 (org-export-define-heading-targets): Find the new CUSTOM_ID
2938 (org-export-target-internal-links): Target the custom ids when
2941 * org-latex.el (org-export-latex-preprocess): Better regexp for
2942 matching latex macros with arguments.
2944 2009-04-15 Carsten Dominik <carsten.dominik@gmail.com>
2946 * org-remember.el (org-remember-handler): Allow filing to non-org
2949 2009-04-15 Magnus Henoch <magnus.henoch@gmail.com>
2951 * org-feed.el (org-feed-alist): New keyword options.
2952 (org-feed-update): Use the new options.
2953 (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
2954 (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
2955 (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
2958 * org-table.el (org-table-fix-formulas): Do not change references
2960 (org-table-get-remote-range): Convert standard coordinates to RC
2963 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
2965 2009-04-14 Carsten Dominik <carsten.dominik@gmail.com>
2967 * org-compat.el (org-sha1-string): Function removed.
2969 * org.el (org-refile-allow-creating-parent-nodes): New option.
2970 (org-refile-get-location): New argument NEW-NODES.
2971 (org-refile): Call `org-refile-get-location' with the new
2973 (org-refile-get-location): Arrange for adding a new child.
2974 (org-refile-new-child): New function.
2976 * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
2977 an additional span element.
2979 * org-clock.el: Fix a number of docstrings.
2980 (org-clock-find-position): New argument
2981 FIND-UNCLOSED to make the function find an unclosed clock in the
2983 (org-clock-in): Call `org-clock-find-position' with the new
2984 argument if we might be resuming a clock.
2986 2009-04-13 Carsten Dominik <carsten.dominik@gmail.com>
2988 * org-latex.el (org-export-latex-display-custom-times): New variable.
2989 (org-export-latex-timestamp-markup): New option.
2990 (org-export-latex-set-initial-vars): Remember the local value of
2991 `org-display-custom-times'.
2992 (org-export-latex-content): Process time stamps.
2993 (org-export-latex-time-stamps): New function.
2995 * org-macs.el (org-maybe-intangible): Add intangible property
2996 again to invisible text.
2998 2009-04-12 Carsten Dominik <carsten.dominik@gmail.com>
3000 * org-exp.el (org-default-export-plist): Handle undefined
3003 2009-04-11 Carsten Dominik <carsten.dominik@gmail.com>
3005 * org.el (org-sort-entries-or-items): Match TODO keywrds
3006 case-sensitively, when sorting.
3007 (org-priority): Do not match TODO keywords with wrong case.
3009 2009-04-09 Carsten Dominik <carsten.dominik@gmail.com>
3011 * org-feed.el (org-feed-update): Bind the variable
3014 * org-html.el (org-export-as-html): Start paragraphs after literal
3017 * org-docbook.el (org-export-as-docbook): Start paragraphs after
3020 2009-04-08 Carsten Dominik <carsten.dominik@gmail.com>
3022 * org.el (org-todo): Honor the NOBLOCKING property.
3024 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3025 NOBLOCKING property.
3027 * org.el (org-scan-tags): Fix bug in tag scanner
3029 2009-04-07 Carsten Dominik <carsten.dominik@gmail.com>
3031 * org.el (org-modules): Mark obsolete packages.
3033 * org-html.el: New file, split out from org-exp.el.
3035 * org-icalendar.el: New file, split out from org-exp.el.
3037 * org-xoxo.el: New file, split out from org-exp.el.
3039 * org-ascii.el: New file, split out from org-exp.el.
3041 2009-04-06 Carsten Dominik <carsten.dominik@gmail.com>
3043 * org-compat.el (org-find-library-name): New function.
3045 * org.el (org-pre-cycle-hook): New hook.
3046 (org-cycle): Call the new hook in appropriate places.
3047 (org-reload): Only reload files that have been loaded before.
3049 2009-04-05 Carsten Dominik <carsten.dominik@gmail.com>
3051 * org.el (org-set-font-lock-defaults): Enforxe space or line end
3053 (org-todo): When changing TODO state, do matching
3055 (org-map-continue-from): New variable.
3056 (org-scan-tags): Respect values in `org-map-continue-from'.
3057 (org-reload): Make XEmacs compatible.
3059 2009-04-04 Carsten Dominik <carsten.dominik@gmail.com>
3061 * org-protocol.el (org-protocol-flatten-greedy): New function.
3062 (org-protocol-flatten): New function.
3064 * org.el (org-open-link-from-string): Pass reference buffer to
3065 `org-open-at-point'.
3066 (org-open-at-point): New optional argument `reference-buffer'.
3068 2009-04-03 Carsten Dominik <carsten.dominik@gmail.com>
3070 * org.el (org-scan-tags): Make tag scan find headline in first
3072 (org-get-refile-targets): Add the naked file name.
3073 (org-refile): Store as top-level entry when only file name was
3076 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3078 * org.el (org-block-todo-from-children-or-siblings-or-parent):
3079 Renamed from org-block-todo-from-children-or-siblings, and
3080 enhanced to look for the parent's status as well.
3082 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3083 (org-agenda-get-progress): Add first notes line to log entry if so
3086 2009-04-02 Carsten Dominik <carsten.dominik@gmail.com>
3088 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3089 (org-agenda-cleanup-fancy-diary): Call the new hook.
3091 * org-remember.el (org-remember-apply-template): Take the default
3092 for the annotation from the :annotation property.
3094 * org-mac-message.el (org-mac-message-get-link): Remove the
3096 (org-mac-message-get-link): Return the result.
3098 2009-04-01 Carsten Dominik <carsten.dominik@gmail.com>
3100 * org.el (org-refile-get-location): Add file name only if not
3101 already included in outline path.
3103 * org-faces.el (org-n-level-faces): Fix customization type from
3106 * org-exp.el (org-export-headline-levels): Fix customization type
3107 from number to integer.
3109 * org-agenda.el (org-agenda-confirm-kill)
3110 (org-agenda-custom-commands-local-options)
3111 (org-timeline-show-empty-dates, org-agenda-ndays)
3112 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3113 customization type from number to integer.
3115 2009-03-31 Carsten Dominik <carsten.dominik@gmail.com>
3117 * org-protocol.el: Declare some functions.
3119 * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3120 postion before inserting modified headline.
3122 * org-agenda.el (org-agenda-compare-effort): Honor
3123 `org-sort-agenda-noeffort-is-high'.
3124 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3125 (org-agenda-compare-effort): Implement the "?" operator for
3126 finding entries without effort setting.
3128 * org.el (org-extract-attributes-from-string): New function.
3130 * org-exp.el (org-export-splice-attributes): New function.
3132 2009-03-30 Carsten Dominik <carsten.dominik@gmail.com>
3134 * org-mouse.el: XEmacs compatibility fixes
3136 * org-docbook.el (org-export-as-docbook): Process footnotes like
3139 * org.el (org-modules): Add org-inlinetasks.el
3140 (org-cycle): Implement limiting level on cycling.
3141 (org-move-subtree-down): Fix bug with swapping subtrees at end of
3144 * org-inlinetask.el: New file.
3146 * org.el (org-emphasis-regexp-components): Allow braces in
3147 emphasis pre and post match.
3149 * org-footnote.el (org-footnote-normalize): When only dorting, do
3150 not insert inline notes at the end.
3152 * org-docbook.el (org-id-find-id-file): Add function declaration.
3154 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3156 * org-docbook.el: New file.
3158 2009-03-28 Carsten Dominik <carsten.dominik@gmail.com>
3160 * org.el (org-reftex-citation): New command.
3162 2009-03-27 Carsten Dominik <carsten.dominik@gmail.com>
3164 * org-agenda.el (org-agenda-cmp-user-defined): New option.
3165 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3167 (org-entries-lessp): Apply the new sorting option.
3169 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3170 blocker code, when an older sibling has children.
3172 * org-mac-message.el (org-mac-message-get-link): Improve getting
3173 links from multiple selected messages.
3175 2009-03-26 Carsten Dominik <carsten.dominik@gmail.com>
3177 * org-remember.el (org-remember-finalize): Do not set buffer file
3179 (org-remember-handler): Mark buffer as unmodified.
3180 (org-remember-handler): Delete backup file and show message about
3181 remaining backup files.
3182 (org-remember-auto-remove-backup-files): New option.
3184 * org.el (org-store-link): Use buffer name as link description in
3186 (org-ido-switchb): Fix argument bug for completion.
3188 * org-remember.el (org-remember-apply-template): Set local
3189 variable `auto-save-visited-file-name' instead of global one.
3191 2009-03-25 Carsten Dominik <carsten.dominik@gmail.com>
3193 * org-feed.el: Re-write.
3195 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3196 (org-agenda-get-todos): Mark file tags as inherited.
3197 (org-agenda-list): Always search diary lines for a time.
3199 2009-03-24 Carsten Dominik <carsten.dominik@gmail.com>
3201 * org-feed.el (org-feed-assume-stable): New option.
3202 (org-feed-before-adding-hook): New hook.
3204 * org-exp.el (org-export-as-html): Close local lists depending on
3205 indentation, also when starting a table.
3207 * org-remember.el (org-remember-backup-directory)
3208 (org-remember-backup-name): New internal variable.
3210 2009-03-23 Carsten Dominik <carsten.dominik@gmail.com>
3212 * org-clock.el (org-clock-out-if-current): Make buffer detection
3213 work in indirect buffers as well.
3215 * org.el (org-emphasis-regexp-components): Add the exxclamation
3216 mark to the post-emphasis characters.
3218 2009-03-22 Carsten Dominik <carsten.dominik@gmail.com>
3220 * org.el (org-read-date-minibiffer-septup-hook): New hook.
3221 (org-read-date): Run the new hook.
3223 * org-mac-message.el (org-mac-flagged-mail): New group.
3224 (org-mac-mail-account): New variable.
3225 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3228 * org-remember.el (org-remember-backup-directory): New variable.
3229 (org-remember-apply-template): Write file to backup directory.
3231 2009-03-21 Carsten Dominik <carsten.dominik@gmail.com>
3233 * org-mouse.el (org-mouse-todo-menu): New function.
3234 (org-mouse-todo-keywords): Function removed.
3235 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3237 * org-table.el (org-table-beginning-of-field)
3238 (org-table-end-of-field): New commands
3239 (org-table-previous-field, org-table-beginning-of-field): Better
3241 (orgtbl-setup): Include `M-a' and `M-e'.
3243 * org.el (org-backward-sentence, org-forward-sentence): New
3246 * org-colview.el (org-colview-initial-truncate-line-value): New
3248 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3249 (org-columns): Remember the value of `truncate-lines'.
3251 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3253 (org-columns-remove-overlays): Restore the value of
3255 (org-columns): Remember the value of `truncate-lines'.
3257 * org.el (org-columns-skip-arrchived-trees): New option.
3259 * org-agenda.el (org-agenda-export-html-style): Define color for
3260 org-agenda-done face.
3261 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3262 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3264 * org.el (org-scan-tags): Use the new face.
3266 * org-faces.el (org-agenda-done): New face.
3268 * org.el (org-scan-tags): Test the value org
3269 `org-tags-match-list-sublevels'.
3270 (org-tags-match-list-sublevels): New allowed value: indented.
3272 * org-export-latex.el (org-export-latex-make-header): Apply macros
3275 * org-exp.el (org-export-apply-macros-in-string): New function.
3277 * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3278 with the definition of a checked box.
3280 * org-clock.el (org-clock-find-position): Fix drawer indentations.
3282 * org-export-latex.el (org-export-latex-low-levels): More options
3283 for how to process lower levels in LaTeX.
3284 (org-export-latex-subcontent): Better treatment for lists as a
3285 means of publishing lower levels.
3287 2009-03-20 Carsten Dominik <carsten.dominik@gmail.com>
3289 * org.el (org-set-font-lock-defaults): Use new checkbox face.
3291 * org-faces.el (org-checkbox): New face.
3293 * org-exp.el (org-export-html-preprocess): Only create LaTeX
3294 fragement images if there is an export file.
3296 2009-03-19 Carsten Dominik <carsten.dominik@gmail.com>
3298 * org-agenda.el (org-stuck-projects): Document that the subtree of
3299 projects that are not stuck will now be searched for stuck
3301 (org-agenda-skip-entry-when-regexp-matches)
3302 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3303 (org-agenda-list-stuck-projects): Use
3304 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3306 * org-export-latex.el (org-export-latex-preprocess): Improve
3309 * org-exp.el (org-export-as-html): Implement centering as a div
3310 rather than a paragraph. Do a better job with line-end in verse
3313 2009-03-17 Carsten Dominik <carsten.dominik@gmail.com>
3315 * org.el (org-open-at-point): Fix tags searches by mouse click.
3317 2009-03-16 Carsten Dominik <carsten.dominik@gmail.com>
3319 * org-export-latex.el (org-export-latex-preprocess): Implement the
3322 * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3323 from `org-export-mark-blockquote-and-verse'.
3324 (org-export-as-html): Implement the centering markup.
3326 * org-export-latex.el (org-export-latex-tables): Fix vertical
3329 2009-03-15 Carsten Dominik <carsten.dominik@gmail.com>
3331 * org.el (org-read-date-history): New variable.
3332 (org-read-date): Use new history variable.
3333 (org-toggle-heading): Fix bug when used before first headline.
3334 (org-store-log-note): Remove drawer if empty while note is
3336 (org-remove-empty-drawer-at): New function.
3337 (org-check-after-date): New command.
3338 (org-sparse-tree): New sparse tree command "a".
3340 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3342 2009-03-14 Bastien Guerry <bzg@altern.org>
3344 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3345 column and a space, not only a column.
3347 2009-03-14 Carsten Dominik <carsten.dominik@gmail.com>
3349 * org-export-latex.el (org-export-latex-emphasis-alist): Better
3350 defaults for verbose emphasis.
3351 (org-export-latex-emph-format): New function.
3352 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3354 * org-agenda.el (org-agenda-menu): Add new commands to menu.
3355 (org-agenda-do-date-later, org-agenda-do-date-earlier)
3356 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3357 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3360 * org.el (org-timestamp-change): Move end-time along with start
3363 2009-03-12 Carsten Dominik <carsten.dominik@gmail.com>
3365 * org-exp.el (org-export-target-internal-links)
3366 (org-export-as-html): Protect links specified as #name.
3368 2009-03-11 Carsten Dominik <carsten.dominik@gmail.com>
3370 * org.el (org-clone-subtree-with-time-shift): New command.
3372 * org-export-latex.el (org-export-latex-special-chars)
3373 (org-export-latex-treat-sub-super-char): Fix subscript export.
3375 * org-exp.el (org-create-multibrace-regexp): Do not add
3376 backslashes to the class.
3378 2009-03-10 Carsten Dominik <carsten.dominik@gmail.com>
3380 * org-colview.el (org-columns-map): Better functions for moving up
3381 and down a row, even if `truncate-line' is nil.
3383 * org.el (org-insert-todo-heading): Make sure the keyword is
3384 inserted at the correct position.
3386 * org-publish.el (org-publish-project-alist)
3387 (org-publish-projects, org-publish-org-index): Change default anme
3388 for the index of file names to "sitemap.org".
3390 * org-export-latex.el (org-export-latex-tables): Use
3391 `org-split-string', for Emacs 21 compatibility.
3393 2009-03-09 Carsten Dominik <carsten.dominik@gmail.com>
3395 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3397 2009-03-08 Carsten Dominik <carsten.dominik@gmail.com>
3399 * org-exp.el (org-export-page-description)
3400 (org-export-page-keywords): New variables.
3401 (org-export-plist-vars): Add entries for :keywords and
3403 (org-infile-export-plist): Parse for new keywords.
3404 (org-get-current-options): Add new keywords
3405 (org-export-as-html): Publish description and keywords.
3407 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3409 (org-agenda-add-entry-text): Honor
3410 `org-agenda-add-entry-text-descriptive-links'.
3412 * org-export-latex.el (org-export-latex-preprocess): Make all
3413 external preprocess functions use a PARAMETER arg.
3415 * org-exp.el (org-export-preprocess-string)
3416 (org-export-select-backend-specific-text)
3417 (org-export-format-source-code-or-example)
3418 (org-format-org-table-html): Support docbook export.
3419 (org-export-preprocess-string): Make all external preprocess
3420 functions use a PARAMETER arg.
3422 2009-03-07 Carsten Dominik <carsten.dominik@gmail.com>
3424 * org-exp.el (org-export-html-style-include-scripts): New option.
3425 (org-export-plist-vars): Add new option
3426 `org-export-html-style-include-scripts'.
3427 (org-export-as-html): Honor new option
3428 `org-export-html-style-include-scripts'.
3429 (org-export-html-scripts, org-export-html-style-default): Fix
3430 xml issues with the Safari browser.
3432 2009-03-06 Carsten Dominik <carsten.dominik@gmail.com>
3434 * org-publish.el (org-publish-attachment): Only copy file when the
3437 2009-03-05 Carsten Dominik <carsten.dominik@gmail.com>
3439 * org-clock.el (org-clocktable-steps): Use inactive time stamps
3440 for clocktable steps.
3442 * org.el (org-additional-option-like-keywords): Add two more
3445 2009-03-04 Carsten Dominik <carsten.dominik@gmail.com>
3447 * org-exp.el (org-export-format-source-code-or-example): Mark
3448 temporary buffer unmodified, so that it will be killed even if
3449 mode like message mode has decided to assign a file name.
3451 * org.el (org-scan-tags): Improve tag inheritance.
3452 (org-scan-tags, org-make-tags-matcher): Make tag comparison
3454 (org-scan-tags): Use the internal tags list instead of creating it
3456 (org-trust-scanner-tags, org-scanner-tags): New variables.
3457 (org-scan-tags): Set `org-scanner-tags'.
3458 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3459 (org-map-entries): Document the possible speedup using scanner
3462 2009-03-03 Carsten Dominik <carsten.dominik@gmail.com>
3464 * org.el (org-add-planning-info): Fix bug with looking for keyword
3467 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3468 option for tags filter preset.
3469 (org-prepare-agenda): Store filter preset as a property on the
3471 (org-finalize-agenda): Call the filter, if there is a preset.
3472 (org-agenda-filter-by-tag): Filter again after clearing the
3473 filter, when there still is a preset.
3474 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3475 Include the preset filter.
3476 (org-agenda-redo): Apply the filter again, also the preset filter.
3478 * org-exp.el (org-export-as-html): Use IDs in the correct way.
3480 * org.el (org-uuidgen-p): New funtion.
3482 * org-agenda.el (org-agenda-fontify-priorities): New default value
3484 (org-agenda-fontify-priorities): Renamed from
3485 org-fontify-priorities.
3487 * org.el (org-set-font-lock-defaults): Call
3488 `org-font-lock-add-priority-faces'.
3489 (org-font-lock-add-priority-faces): New function.
3491 * org-faces.el: (org-set-tag-faces): New option.
3492 (org-priority-faces): New variable.
3494 * org-exp.el (org-export-as-html): Add a "content" div around the
3495 entire content of the body tag.
3496 (org-export-html-get-bibliography): New function.
3497 (org-export-html-validation-link): New variable.
3498 (org-export-as-html): Add validation link to exported page.
3500 * org.el (org-match-sparse-tree): Renamed from
3501 `org-tags-sparse-tree'.
3502 (org-tags-sparse-tree): New alias.
3504 2009-03-02 Carsten Dominik <carsten.dominik@gmail.com>
3506 * org.el (org-get-valid-level): Catch the case where the level
3509 * org-clock.el (org-clock-find-position): Better indentation of
3512 2009-03-01 Carsten Dominik <carsten.dominik@gmail.com>
3514 * org-agenda.el (org-agenda-quit): Delete window only when the
3515 frame-setup was not `current-window'.
3517 * org.el (org-tag-persistent-alist): New option.
3518 (org-startup-options): Add keyword `noptag'.
3519 (org-fast-todo-selection): Handle :newline correctly.
3520 (org-set-tags): Handle :newline correctly.
3521 (org-fast-tag-selection): Handle :newline correctly.
3523 2009-02-28 Carsten Dominik <carsten.dominik@gmail.com>
3525 * org-exp.el (org-export-as-ascii): Reverse link buffer before
3527 (org-export-ascii-push-links): Fix bug with pussing links into the
3530 2009-02-27 Carsten Dominik <carsten.dominik@gmail.com>
3532 * org-archive.el (org-archive-subtree): Do not add 1 to level if
3533 pasting at top level.
3535 * org-bbdb.el: Improve documentation.
3537 2009-02-26 Carsten Dominik <carsten.dominik@gmail.com>
3539 * org-list.el (org-insert-item): Only consider insert empty lines
3540 is `org-empty-line-terminates-plain-lists' is not nil.
3542 * org.el (org-blank-before-new-entry): Mention the dependence on
3543 `org-empty-line-terminates-plain-lists' in the docstring.
3545 * org-publish.el (org-publish-get-project-from-filename): New
3546 optional argument UP. Only find the top project if UP is set.
3547 (org-publish-current-project): Find the top encloding project.
3549 * org-agenda.el (org-agenda-before-write-hook)
3550 (org-agenda-add-entry-text-maxlines): New options.
3551 (org-write-agenda): Run the new hook in the temporary buffer.
3552 (org-agenda-add-entry-text): New function.
3553 (org-write-agenda): Implement PDF export, using ps2pdf.
3555 * org.el (org-global-properties-fixed, org-global-properties):
3556 Improve documentation string.
3558 * org-exp.el (org-export-ascii-links-to-notes): New option.
3559 (org-export-as-ascii): Handle links better.
3560 (org-export-ascii-wrap, org-export-ascii-push-links): New
3563 2009-02-25 Carsten Dominik <carsten.dominik@gmail.com>
3565 * org-agenda.el (org-agenda): Make prefix arg optional.
3566 (org-agenda-search-headline-for-time): New option.
3567 (org-format-agenda-item): Honor
3568 `org-agenda-search-headline-for-time'.
3570 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3573 * org.el (org-self-insert-cluster-for-undo): New option.
3574 (org-self-insert-command): Cluster undo for 20 characters.
3575 (org-self-insert-command-undo-counter): New variable.
3577 2009-02-24 Carsten Dominik <carsten.dominik@gmail.com>
3579 * org-exp.el (org-export-as-html): Fix problem with closing colone
3582 2009-02-22 Carsten Dominik <carsten.dominik@gmail.com>
3584 * org-export-latex.el (org-export-as-latex)
3585 (org-export-latex-first-lines): Avoid modification flag when
3586 adding or removing text properties.
3587 (org-export-latex-fontify): Catch error when org-emph-alist has
3588 entries that are not defined for LaTeX export.
3590 * org.el (orgstruct++-mode): New function.
3591 (turn-on-orgstruct++): Call `orgstruct++-mode'.
3592 (org-context-p): Allow detecting item context after the first line
3594 (orgstruct-make-binding): Detect if item-body context should be
3596 (orgstruct-is-++): New variable.
3597 (org-add-planning-info): Catch the case when there is no planning
3598 info yet and the call does not want to add anything, only maybe
3599 tries to remove something.
3600 (org-special-ctrl-a/e): All value to be a cons cell with separate
3601 settings for `C-a. and `C-e'.
3602 (org-beginning-of-line, org-end-of-line): Honor separate values
3603 for `C-a' and `C-e'.
3605 2009-02-21 Carsten Dominik <carsten.dominik@gmail.com>
3607 * org.el (org-reload): New command.
3609 2009-02-20 Carsten Dominik <carsten.dominik@gmail.com>
3611 * org-exp.el (org-export-htm-get-tag-class-name)
3612 (org-export-htm-get-todo-kwd-class-name): New functions.
3613 (org-export-html-tag-class-prefix)
3614 (org-export-html-todo-kwd-class-prefix): New options.
3615 (org-export-as-html): Call
3616 `org-export-html-get-todo-kwd-class-name'.
3617 (org-html-level-start): Wrap tags into classes.
3618 (org-export-html-get-tag-class-name)
3619 (org-export-html-get-todo-kwd-class-name): New functions.
3621 * org-export-latex.el (org-export-latex-collect-header-macros):
3622 Remove fields that are used anyway.
3623 (org-export-latex-make-header): Insert the options earlier.
3625 * org-agenda.el (org-agenda-get-progress): Fix bug with state
3628 * org-list.el (org-indent-item): Allow point to be at the end of
3631 * org.el (org-metaleft, org-metaright): Be more accurate about
3632 detecting a region where commands apply.
3634 * org-compat.el (org-cursor-to-region-beginning): New function.
3636 * org.el (org-priority): Also find invisible heading.
3638 * org-colview-xemacs.el (org-columns-edit-value): No special
3639 treatment for `org-todo' prefix.
3641 * org-colview.el (org-columns-edit-value): No special treatment
3642 for `org-todo' prefix.
3644 * org-remember.el (org-remember-apply-template): Use
3645 `org-completing-read-no-ido'.
3647 * org.el (org-completing-read-no-ido): New function.
3648 (org-make-tags-matcher, org-set-property): Use
3649 `org-completing-read-no-ido'.
3651 * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
3653 (org-export-as-latex): Import in-buffer settings as TeX macros.
3654 (org-export-latex-make-header): Additional parameter OPT-DEFS.
3655 (org-export-latex-collect-header-macros): New function.
3657 * org.el (org-refile-get-location): Turn off
3658 `partial-completion-mode'.
3660 2009-02-19 Carsten Dominik <carsten.dominik@gmail.com>
3662 * org.el (org-block-todo-from-checkboxes): Announce that
3663 checkboxes are the culprit.
3664 (org-block-todo-from-children-or-siblings): Call
3665 `org-up-heading-all instead' of `outline-up-heading'.
3667 * org-agenda.el (org-agenda-show-1): Renamed from
3669 (org-agenda-show): Re-install the old version for now.
3670 (org-agenda-dim-blocked-tasks): Update docstring. Scope a
3671 variable into the blokker hook, so that the checkbox checker can
3672 anounce that it caused the blocking.
3674 * org.el (org-track-ordered-property-with-tag): New option.
3675 (org-toggle-ordered-property): Honor
3676 `org-track-ordered-property-with-tag'.
3677 (org-tag-alist): Add newline options.
3678 (org-set-regexps-and-options): Separate option lines imply a
3680 (org-set-regexps-and-options, org-assign-fast-keys)
3681 (org-fast-todo-selection, org-fast-tag-selection): Handle newline
3683 (org-indent-line-function): Make sure this works even if there is
3684 not `org-drawer-regexp' defined. This can happen when
3685 orgstruct-mode is used in a non-org buffer.
3687 * org-list.el (org-checkbox-blocked-p): New function.
3688 (org-toggle-checkbox): Check for blocking.
3690 * org.el (org-modules): Add an entry for org-R.el.
3692 * org-agenda.el (org-agenda-todo-ignore-with-date)
3693 (org-agenda-todo-ignore-scheduled)
3694 (org-agenda-todo-ignore-deadlines): Mention the variable
3695 `org-agenda-tags-todo-honor-ignore-options' in the docstring.
3697 * org.el (org-get-wdays): Find the warning period also if it is in
3699 (org-ido-completing-read): Provide the correct arguments to
3700 ido-completing-read and bind `ido-enter-matching-directory' to
3703 2009-02-17 Carsten Dominik <carsten.dominik@gmail.com>
3705 * org.el (org-olpath-completing-read): Never use ido for this
3708 * org-exp.el (org-export-normalize-links): Use new macro.
3710 * org-macs.el (org-if-unprotected-at): New macro.
3712 * org-agenda.el (org-agenda-show): Allow numerical prefix
3713 arguments to specify how much context should be shown.
3714 (org-agenda-cycle-show): New command, could be bound to SPC in
3715 org-agenda-mode-map.
3717 * org-exp.el (org-html-level-start): Space after section number.
3719 2009-02-16 Carsten Dominik <carsten.dominik@gmail.com>
3721 * org-agenda.el (org-agenda-get-sexps): Add todo state as
3722 property, for sorting.
3723 (org-cmp-todo-state): Get the applicable TODO keywords directly
3725 (org-run-agenda-series, org-agenda-list, org-search-view)
3726 (org-todo-list, org-tags-view): Only fit agenda window when the
3727 whole series is done.
3729 * org.el (org-scan-tags): Add todo state as property, for sorting.
3731 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3732 `org-agenda-overriding-header' as an option.
3733 (org-agenda-list): Honor org-agenda-overriding-header'.
3735 2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
3737 * org-list.el (org-toggle-checkbox): Improve cursor positioning
3738 after removing a checkbox.
3740 * org.el (org-show-entry): Make this work correctly also if it is
3741 the last entry in the file.
3742 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
3743 falling back to normal, default command.
3744 (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
3745 item, call the checkbox toggler to get a box.
3747 * org-list.el (org-toggle-checkbox): Make double prefix set the
3749 (org-fix-bullet-type): Only replace bullet if it is changed.
3750 (org-renumber-ordered-list): Handle case when first item does not
3753 * org.el (org-add-log-setup): Fix positioning when
3754 `org-log-states-order-reversed' is nil.
3756 * org-clock.el (org-clock-in): Fix positioning when
3757 `org-log-states-order-reversed' is nil.
3758 (org-clock-find-position): Fix positioning when
3759 `org-log-states-order-reversed' is nil.
3761 2009-02-14 Carsten Dominik <carsten.dominik@gmail.com>
3763 * org-clock.el (org-clock-into-drawer): Take default from
3764 `org-log-into-drawer'.
3765 (org-clock-find-position): Look for the correct drawer.
3767 * org.el (org-log-into-drawer): Renamed from
3768 `org-log-state-notes-into-drawer'.
3769 (org-log-state-notes-into-drawer): New variable alias.
3770 (org-add-log-setup): Make drawer name default to LOGBOOK, not
3772 (org-insert-property-drawer): Also skip LOGBOOK drawers.
3774 2009-02-13 Carsten Dominik <carsten.dominik@gmail.com>
3776 * org-agenda.el (org-agenda): Fix docstring.
3778 * org.el ("org-plot"): Help loading org-plot.
3779 (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
3780 (org-metadown-hook, org-shiftmetaleft-hook)
3781 (org-shiftmetaright-hook, org-shiftmetaup-hook)
3782 (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
3783 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3784 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
3785 (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
3787 * org-publish.el (org-publish-get-base-files): Allow symbol `any'
3788 for selecting files with any (and even without) extension.
3790 * org.el (org-save-all-org-buffers): Also save id locations.
3791 (org-revert-all-org-buffers): Also load id locations.
3793 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
3794 * org.el (org-drawers): Add LOGBOOK to the default drawers.
3795 (org-log-state-notes-into-drawer): New option.
3796 (org-add-log-setup): Place the sate note marker into the drawer,
3797 create drawer when necessary.
3798 (org-refile-targets): Document special interpretation of LEVEL
3799 when odd-levels are used.
3801 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
3803 * org.el (org-store-log-note): Fix note indentation when adding
3804 notes to end of list.
3806 * org-exp.el (org-export-as-html): Add TODO keyword as extra
3807 class, so that each keyword can get special colors through CSS.
3809 * org-clock.el (org-clock-out): Add another nil for the previous
3810 state into the call to `org-add-log-setup'.
3812 * org.el (org-log-note-previous-state): New variable.
3813 (org-log-note-headings): New %S escape for old state.
3814 (org-todo): Call the note setup with the old state as an
3816 (org-add-note): Add another nil for the previous state into the
3817 call to `org-add-log-setup'.
3818 (org-add-log-setup): New argument PREV-STATE.
3819 (org-add-log-note): Handle new %S escape.
3820 (org-store-log-note): Handle new %S escape.
3822 2009-02-11 Carsten Dominik <carsten.dominik@gmail.com>
3824 * org-clock.el (org-clock-find-position): Do not swallow an item
3825 less indented than the CLOCK line itself.
3826 (org-clock-in): Push markers to lin after the clock line.
3827 (org-clock-find-position): Handle values of
3828 `org-clock-into-drawer' smaller than 2.
3830 * org-exp.el (org-html-level-start): Add a CSS class to section
3832 (org-export-html-toplevel-hlevel): Better documentation of the
3833 influence of this variables on H levels and css classes in
3836 2009-02-10 Carsten Dominik <carsten.dominik@gmail.com>
3838 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3839 timestamp and nottimestamp to the chooe menu.
3841 * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
3842 (org-revert-all-org-buffers): New command.
3844 2009-02-09 Carsten Dominik <carsten.dominik@gmail.com>
3846 * org.el (org-return): Implement `org-return-follows-link' in the
3847 function org-return. This is more robust than using the mouse
3849 (org-set-regexps-and-options): Match more general #+TODO lines.
3850 (org-make-options-regexp): New optional argument EXTRA, for an
3852 (org-tab-follows-link): Mark as deprecated.
3854 2009-02-07 Carsten Dominik <carsten.dominik@gmail.com>
3856 * org-exp.el (org-export-preprocess-string): Remove clock lines
3857 earlier, so that they cannot cotribute to verbatim snippets.
3859 2009-02-06 Carsten Dominik <carsten.dominik@gmail.com>
3861 * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
3862 for finding drawers.
3863 (org-export-as-ascii, org-export-as-html): Count levels relative
3864 to the subtree header.
3865 (org-get-min-level): New optional argument OFFSET.
3866 (org-export): Make sure point is restored after popping up that
3869 * org.el (org-do-sort): Also take an inactive timestamp if no
3870 active one is found.
3872 * org-colview-xemacs.el (org-columns-capture-view): Copy before
3873 deleting duplicates.
3875 * org-colview.el (org-columns-capture-view): Copy before
3876 deleting duplicates.
3878 * org-exp.el (org-export-preprocess-string): Fix bug when skipping
3879 text before first headline.
3881 * org.el (org-format-latex): Do not convert LaTeX fragments in
3884 2009-02-04 Carsten Dominik <carsten.dominik@gmail.com>
3886 * org-exp.el (org-export-html-style-default): Use color values
3887 instead of names for XHTML validation.
3889 * org.el (org-get-scheduled-time, org-get-deadline-time): New
3891 (org-return-follows-link): Revert making this the default untile
3892 issues are resolved.
3894 * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
3897 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
3899 * org.el (org-mode): Make dependence stuff work more reliably.
3900 (org-update-parent-todo-statistics): Fix bug with updating
3903 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
3904 ~ as verbatim delimiters.
3906 * org-exp.el (org-export-html-format-image): New argument
3908 (org-export-as-html): Pass par-open to
3909 `org-export-html-format-image'.
3911 2009-02-01 Carsten Dominik <carsten.dominik@gmail.com>
3913 * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
3914 (org-use-fast-todo-selection, org-tags-column): New default
3915 setting for variables, based on a poll what typical uses use.
3917 * org-agenda.el (org-agenda-sorting-strategy)
3918 (org-agenda-tags-column): New default setting for variables, based
3919 on a poll what typical uses use.
3921 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
3923 * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
3924 blocked entries from setting the blocked tag.
3926 * org-exp.el (org-export-html-footnotes-section): Use a more
3927 consistent id for footnotes.
3929 * org-export-latex.el (org-export-latex-classes): Remove the
3930 a4paper option from the default styles.
3932 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
3934 * org.el (org-enforce-todo-checkbox-dependencies): New option.
3935 (org-block-todo-from-checkboxes): New function.
3936 (org-todo): Make tripple prefix arg circumvent blocking.
3938 * org-timer.el (org-timer): Provide the timer feature.
3940 * org.el (org-require-autoloaded-modules): Add a few more files to
3941 the list of autoloaded modules.
3943 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
3945 2009-01-29 Carsten Dominik <carsten.dominik@gmail.com>
3947 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
3948 drawers that are unprotected.
3949 (org-export-html-format-image): Make sure inlined LaTeX fragment
3950 images remain inlined.
3952 * org.el (org-toggle-ordered-property): New function.
3953 (org-mode-map): Add a key for `org-toggle-ordered-property'.
3954 (org-org-menu): Add menu entries for TODO dependencies.
3956 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
3958 * org.el (org-default-properties): Add ORDERED to the default
3959 properties, to get completion support for it.
3961 * org-list.el (org-update-checkbox-count): Update more than one cookie.
3963 * org.el (org-update-parent-todo-statistics): Update more than one
3966 * org-agenda.el (org-agenda-get-todos): Start search from correct
3969 * org.el (org-fast-todo-selection): Make sure TODO selection does
3970 not change buffer position.
3972 * org-list.el (org-toggle-checkbox): Implement adding or removing
3973 checkboxes from line or region when called with a prefix
3976 * org-rmail.el (org-rmail-store-link): Protect the call to
3977 `rmail-narrow-to-non-pruned-header'.
3979 * org-clock.el (org-clock-special-range): Fix week display in
3982 * org-exp.el (org-get-current-options): Fix bug when in indirect
3985 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
3987 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
3988 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
3989 (org-agenda-dim-blocked-tasks): New function.
3991 * org.el (org-enforce-todo-dependencies): New option.
3992 (org-block-todo-from-children-or-siblings): New function.
3994 * org-faces.el (org-agenda-dimmed-todo-face): New face.
3996 * org.el (org-todo): Return correct state type even if the blocker
3998 (org-modifier-cursor-error): Renamed from
3999 `org-shiftcursor-error'.
4000 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4001 (org-shiftmetadown): Call `org-modifier-cursor-error'.
4003 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4004 to get real errors from the blocker hook.
4006 * org.el (org-shiftselect-error, org-call-for-shift-select): New
4008 (org-set-visibility-according-to-property): Turn off the setting
4009 of `org-show-entry-below', to avoid overruling a FOLDED visibility
4012 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
4014 * org.el (org-support-shift-select): New option.
4015 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4016 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4017 selection outside contexts.
4019 * org-list.el (org-at-item-bullet-p): New function.
4021 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4024 * org-footnote.el (org-footnote-normalize): Remove unnecessary
4026 (org-insert-footnote-reference-near-definition): Remove
4027 unnecessary let form.
4029 * org-export-latex.el (org-export-latex-first-lines): Add
4030 OPT-PLIST parameter.
4031 (org-export-as-latex): Call `org-export-latex-first-lines' with
4032 opt-plits parameter.
4033 (org-export-latex-preprocess): Remove unnecessary variables.
4035 * org-exp.el (org-infile-export-plist)
4036 (org-export-add-options-to-plist, org-export-kill-licensed-text)
4037 (org-export-remove-headline-metadata)
4038 (org-export-get-title-from-subtree, org-get-min-level)
4039 (org-html-do-expand): Remove innecessary let form.
4041 * org-colview-xemacs.el (org-columns-display-here): Remove
4042 unnecessary variables.
4044 * org-colview.el (org-columns-display-here): Remove unnecessary
4047 * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4050 * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4051 unnecessary variables.
4053 * org-agenda.el (org-search-view, org-agenda-get-blocks)
4054 (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4057 * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4058 (org-compact-display-after-subtree-move): Remove unnecessary
4060 (org-edit-fixed-width-region): Remove unnecessary variables.
4061 (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4062 (org-olpath-completing-read): Remove unnecessary variable.
4063 (org-auto-repeat-maybe): Remove unnecessary variable.
4064 (org-map-entries): Remove unnecessary variable.
4065 (org-buffer-property-keys, org-imenu-get-tree)
4066 (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4068 -----------------------------------------------------------------
4070 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
4071 * org-exp.el (org-export-remove-timestamps): Never remove
4072 timestamps from tables.
4074 * org-export-latex.el (org-export-latex-first-lines): Add more
4075 options to the preprocessing of the text before the first
4078 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4080 * org-faces.el (org-clock-overlay): Make face compatible with
4083 * org.el (org-yank): Add property for delete-selection mode.
4085 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4087 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4090 * org-table.el (org-table-insert-hline): Fix typo in fuction call
4093 * org-exp.el (org-export-as-html): Remove the initial space from
4096 * org.el (org-scan-tags): Call
4097 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4099 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4100 customization groups.
4101 (org-agenda-tags-todo-honor-ignore-options): New option.
4102 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4104 (org-agenda-get-todos): Use
4105 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4107 2009-01-24 Carsten Dominik <carsten.dominik@gmail.com>
4109 * org-exp.el (org-export-format-source-code-or-example): Escape
4110 HTML characters also in examples that anre not treated with
4111 htmlize. Also, just switch to EXAMPLE processing if we do not
4112 have a good version of htmlize.
4114 * org-rmail.el: Fix copyright notice.
4116 * org.el (org-activate-footnote-links): Improve footnote link
4119 * org-footnote.el (org-footnote-normalize): Fix finding the end of
4120 a footnote definition at the end of the file.
4122 * org-table.el (org-table-get-specials): Add an imagined hline at
4123 the end of the table. This can be useful for references that want
4124 to go to the end of the table. Also fix bug when computing last
4125 row constants, in tables that do not start right at the right
4127 (org-table-eval-formula): Match and replace remove references.
4128 (org-table-formula-substitute-names): Make sure that names inside
4129 a "remote" call are left alone, the will be replaced later when
4130 the remote call is handled.
4131 (org-table-convert-refs-to-rc): Do not convert things that might
4132 look like a reference, but are really part of an ID or namei n a
4134 (org-table-get-remote-range): New function.
4136 2009-01-22 Carsten Dominik <carsten.dominik@gmail.com>
4138 * org-faces.el (org-clock-overlay): Fix bug in face definition.
4140 * org-clock.el (org-clock-put-overlay): Use new face instead of
4141 `secondary-selection'.
4143 * org-faces.el (org-clock-overlay): New face.
4145 2009-01-21 Carsten Dominik <carsten.dominik@gmail.com>
4147 * org-exp.el (org-get-current-options): Include the option for
4148 publishing time stamps.
4150 * org.el (org-toggle-heading): Renamed from
4151 `org-toggel-region-headings'.
4152 No longer needs a region defined, but will use it if there is one.
4153 (org-ctrl-c-star): Simplified, relying more on the internal
4154 workings of `org-toggle-heading'.
4155 (org-toggle-item): Renamed from `org-toggle-region-items'.
4156 No longer needs a region defined, but will use it if there is one.
4157 (org-ctrl-c-minus): Simplified, relying more on the inernal
4158 workings of `org-toggle-item'.
4160 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4161 environment detection. Also, do real changes only in unprotected
4164 2009-01-20 Carsten Dominik <carsten.dominik@gmail.com>
4166 * org-export-latex.el (org-export-latex-quotation-marks): Use
4167 `org-if-unprotected-1'.
4168 (org-export-latex-set-initial-vars): Check for class definition in
4171 * org-macs.el (org-if-unprotected-1): New macro.
4173 2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
4175 * org-compat.el (org-count-lines): New function.
4177 * org-exp.el (org-export-format-source-code-or-example): Handle
4178 switches related to text areas.
4180 * org.el (org-activate-footnote-links): Don't allow match inside a
4183 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4185 * org-export-latex.el (org-export-latex-links): Keep a relative
4186 path relative also after export.
4188 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4190 * org.el (org-make-tags-matcher): Never use IDO for completing the
4191 tags matcher match string.
4192 (org-completing-read): Also remove the special biding for "?".
4194 * org-attach.el (org-attach-allow-inheritance): New option.
4195 (org-attach-inherited): New variable.
4196 (org-attach-dir): Handle properties related to the attachment
4198 (org-attach-check-absolute-path): New function.
4199 (org-attach-set-directory, org-attach-set-inherit): New commands.
4200 (org-attach): Accommodate the new commands in the dispatcher.
4202 2009-01-18 Carsten Dominik <carsten.dominik@gmail.com>
4204 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4205 `window-full-width-p'.
4207 * org-exp.el (org-export-as-html): Only check for images files
4208 that really can be inlined
4210 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4211 list of extensions to be a parameter.
4213 * org-exp.el (org-export-html-inline-image-extensions): New
4216 * org-agenda.el (org-prepare-agenda): Use
4217 `org-agenda-block-separator'.
4218 (org-agenda-block-separator): New option.
4220 2009-01-17 Carsten Dominik <carsten.dominik@gmail.com>
4222 * org-export-latex.el (org-export-latex-tables): Call
4223 `org-table-clean-before-export' with the new optional argument.
4225 * org-exp.el (org-table-clean-before-export): New optional
4226 parameter MAYBE-QUOTED, allows for quoted characters like \# in
4229 2009-01-16 Carsten Dominik <carsten.dominik@gmail.com>
4231 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4234 * org-colview.el (org-colview-construct-allowed-dates): Better
4235 error catching when a date/time property does not have allowed
4238 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4239 Better error catching when a date/time property does not have
4240 allowed values defined.
4242 2009-01-14 Carsten Dominik <carsten.dominik@gmail.com>
4244 * org.el (org-map-entries): Restore point and restriction after
4247 2009-01-13 Carsten Dominik <carsten.dominik@gmail.com>
4249 * org.el (org-time=, org-time<, org-time<=, org-time>)
4250 (org-time>=, org-time<>): Make sure both values are dates.
4252 2009-01-11 Carsten Dominik <carsten.dominik@gmail.com>
4254 * org-archive.el (org-extract-archive-heading): Allow %s for file
4255 name also in achive location heading.
4257 2009-01-10 Carsten Dominik <carsten.dominik@gmail.com>
4259 * org-archive.el (org-add-archive-files): Uniquify the list before
4262 2009-01-09 Carsten Dominik <carsten.dominik@gmail.com>
4264 * org-compat.el (org-fit-window-to-buffer): Use
4265 `window-full-width-p'.
4267 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4268 space after the colon in short examples.
4270 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4271 enforce a space after the colon. However, we also allow lines
4272 that are *only* a colon.
4273 (org-export-as-html): Enforce the space after the colon in short
4275 (org-export-preprocess-string): Do the colon example protection
4277 (org-export-remove-timestamps): Do not check for protection at the
4280 2009-01-08 Carsten Dominik <carsten.dominik@gmail.com>
4282 * org.el (org-format-latex-options): Add new matcher for single
4283 letters between dollars.
4284 (org-get-header): Function removed.
4285 (org-heading-components): New function.
4287 * org-exp.el (org-export-define-heading-targets): Record ID's also
4288 as alternative targets.
4289 (org-export-as-html): Interpret "id:" links to other files by
4290 preserving the relative path.
4292 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4295 * org-exp.el (org-export-normalize-links): Protect the main link,
4296 to avoid special character processing.
4298 * org-export-latex.el (org-export-latex-special-keyword-regexp):
4300 (org-export-latex-special-string-regexps): Variable removed.
4301 (org-export-latex-keywords): Use the new regexp.
4303 * org-exp.el (org-export-handle-include-files): Fetch switches and
4304 put them into the BEGIN statement.
4306 * org-timer.el (org-timer-mode-line-string): New variable.
4308 * org-clock.el (org-clock-mode-line-map): Renamed from
4309 `org-clock-mode-map'.
4310 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4311 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4312 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4313 (org-clock-remove-overlays): Renamed from
4314 `org-remove-clock-overlays'.
4316 * org-timer.el (org-timer-pause-or-continue): Implement stopping
4317 and mode line display.
4318 (org-timer-stop): New command.
4319 (org-timer-seconds): Return correct time when timer is paused.
4320 (org-timer-mode-line-timer): New variable.
4321 (org-timer-set-mode-line, org-timer-update-mode-line): New
4324 * org.el (org-insert-heading): Handle new value `auto' for
4325 `org-blank-before-new-entry'.
4326 (org-org-menu): Add new items for timer functions.
4328 * org-list.el (org-insert-item): Handle new value `auto' for
4329 `org-blank-before-new-entry'.
4331 * org.el (org-blank-before-new-entry): New value `auto', made
4334 2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
4336 * org-exp.el (org-export-normalize-links): If the link is also
4337 used as the description, protect the description.
4339 2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
4341 * org.el (org-closest-date): Fix bug with yearly repeats, in
4342 combination with preference of the past as it is used for deadline
4343 and scheduling search.
4345 * org-exp.el (org-html-handle-time-stamps): No longer check for
4346 the `org-export-with-timestamps' option, because the preprocesser
4347 has taken care of this already.
4349 * org.el (org-entry-properties): Catch the case when this is
4350 called in a non-org-mode file.
4352 * org-export-latex.el (org-export-latex-remove-from-headlines):
4353 Variable made obsolete, also LaTeX export now uses the standard
4355 (org-export-as-latex): Add the timestamps parameter to the
4356 preprocessor parameter list.
4357 (org-export-latex-content): Export the remaining keywords without
4358 considering to remove them.
4359 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4360 Use bold font instead of tt font for the keywords.
4361 (org-export-latex-fontify-headline): Format headlines, assuming
4362 that all keywords still present should be published.
4363 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4364 publish what ever remains of the time stamps.
4365 (org-export-latex-list-parameters): New option.
4366 (org-export-latex-lists): Pass additional parameters to the list
4369 * org-exp.el (org-export-preprocess-string): Remove clock lines
4370 and timestamps already in the preprocesor.
4371 (org-export-remove-timestamps, org-export-remove-clock-lines): New
4373 (org-export-as-ascii, org-export-as-html): Add the timestamps
4374 parameter to the preprocessor parameter list.
4376 * org-list.el (org-list-parse-list): Parse for checkboxes.
4377 (org-list-to-generic): Introduce and handle new parameters :cbon
4379 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4380 optional parameter PARAMS.
4382 * org-export-latex.el (org-export-latex-special-chars): Fix
4383 problems with interpreting dollar signs.
4384 (org-inside-latex-math-p): New function.
4385 (org-export-latex-preprocess): Protect all the math fragments.
4387 * org.el (org-latex-regexps): Allow a dash after a dollar.
4389 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4392 * org-agenda.el (org-run-agenda-series): Have series options set
4393 when finalizing the agenda.
4395 * org-exp.el (org-export-format-source-code-or-example): Protect
4396 the converted examples.
4398 * org.el (org-set-regexps-and-options): Fix the regexp
4399 `org-complex-heading-regexp'.
4401 2009-01-05 Carsten Dominik <carsten.dominik@gmail.com>
4403 * org.el (org-edit-src-get-label-format): New function.
4404 (org-coderef-label-format): New option.
4405 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4406 a label format specification and make sure it is used in the edit
4408 (org-edit-src-get-label-format): New function.
4409 (org-store-link): Handle new coderef formats.
4410 (org-link-search): Handle new coderef formats.
4412 * org-footnote.el (org-footnote-create-definition)
4413 (org-footnote-goto-local-insertion-point): Make footnote insertion
4414 work correctly when the "Footnotes" headline is the last line in
4417 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4420 2009-01-04 Carsten Dominik <carsten.dominik@gmail.com>
4422 * org-w3m.el (org-w3m): New customization group.
4423 (org-w3m-deactivate-mark): New option.
4424 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4427 2009-01-02 Carsten Dominik <carsten.dominik@gmail.com>
4429 * org.el (org-set-font-lock-defaults): Trigger footnote
4431 (org-activate-footnote-links): New function.
4432 (org-activate-links): New entry `footnote'.
4434 * org-faces.el (org-footnote): New face.
4436 2009-01-01 Carsten Dominik <carsten.dominik@gmail.com>
4438 * org-macs.el (org-re): Handle the [:word:] class.
4440 * org-exp.el (org-export-preprocess-string): Call
4441 `org-export-protect-colon-examples'.
4442 (org-export-protect-colon-examples): Renamed from
4443 `org-export-protect-examples', and scope limited to lines starting
4446 2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
4448 * org-exp.el (org-export-preprocess-string): Move the preprocess
4449 hook to after turning on Org-mode.
4450 (org-export-preprocess-after-include-files-hook)
4451 (org-export-preprocess-after-tree-selection-hook)
4452 (org-export-preprocess-before-backend-specifics-hook)
4453 (org-export-preprocess-final-hook): New hooks.
4454 (org-export-preprocess-string): Run the new hooks.
4456 * org.el (org-ctrl-c-minus): Fix indentation for new items.
4458 * org-footnote.el: New file.
4460 * org.el (org-footnote): Require footnote code.
4461 (org-startup-options): Add new footnote options.
4462 (org-mode-map): New keybindig for footnotes.
4463 (org-ctrl-c-ctrl-c): Add function at footnotes.
4464 (org-org-menu): New menu entries for footnotes.
4466 * org-export-latex.el (org-export-as-latex): Pass footnote
4467 variable to preprocessor.
4468 (org-export-latex-preprocess): Treat multiple references to a
4471 * org-exp.el (org-export-preprocess-string): Call
4472 `org-footnote-normalize'.
4473 (org-export-as-ascii, org-export-as-html): Pass footnote variable
4475 (org-export-as-html): Treat multiple references to a footnote.
4477 2008-12-26 Carsten Dominik <carsten.dominik@gmail.com>
4479 * org-export-latex.el (org-export-latex-links): Handle coderef
4482 * org.el (org-bracket-link-analytic-regexp++): New variable.
4483 (org-make-link-regexps): Initialize
4484 `org-bracket-link-analytic-regexp++'.
4485 (org-store-link): Implement special case in edit-src buffer.
4486 (org-insert-link): No use of ide to insert stored links.
4487 (org-link-search): Implement special case for coderefs.
4489 * org-exp.el (org-export-html-scripts): New constant.
4490 (org-export-html-style-default): Add a new style for highlighted
4492 (org-export-code-refs): New variable.
4493 (org-export-preprocess-string): Initialize `org-export-code-refs'.
4494 Call `org-export-replace-src-segments-and-examples'
4495 No longer call `org-export-protect-examples'.
4496 (org-export-target-internal-links): Take care of coderef targets.
4497 (org-export-last-code-line-counter-value): New variable.
4498 (org-export-replace-src-segments-and-examples): Renamed from
4499 `org-export-replace-src-segments', and modified.
4500 (org-export-format-source-code-or-example): Renamed from
4501 `org-export-format-source-code'.
4502 (org-export-number-lines): New function.
4503 (org-export-as-ascii, org-export-as-html): Handle coderef links.
4505 --------------------------------------------------------------------------
4507 2008-12-23 Carsten Dominik <carsten.dominik@gmail.com>
4509 * org-remember.el (org-remember-handler): Safer way to get a new
4510 buffer accessing the target file.
4512 * org.el (org-refile-get-location): Handle case of current buffer
4513 not having a file associated with it.
4515 2008-12-22 Carsten Dominik <carsten.dominik@gmail.com>
4517 * org-table.el (org-table-get-formula): Only ask to overwrite
4518 field formula if there really is one.
4520 * org-id.el (org-id-find): Allow the ID to be a symbol or a
4521 number, by converting these to a string.
4523 * org-colview.el (org-dblock-write:columnview): Allow ID to be
4524 located in a different file.
4526 * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
4529 2008-12-21 Carsten Dominik <carsten.dominik@gmail.com>
4531 * org.el (org-completion-use-ido): Enhance docstring of
4532 `org-completion-use-ido'.
4534 * org-export-latex.el (org-export-latex-make-header): Double the %
4535 in the time stamp format.
4536 (org-export-latex-special-chars): Handle case where there is no
4539 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
4541 * org.el (org-get-refile-targets, org-refile-get-location): Use
4542 expanded file name to improve comparison.
4544 2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
4546 * org.el (org-scan-tags): Rescan for tags, to get the correct
4547 upcase/downcase stuff. This slows things down for now, but it
4549 (org-mode): Make sure the tag-faces regexp is initialized.
4551 * org-export-latex.el (org-export-latex-links): Fix bug with
4554 * org-table.el (org-table-get-specials): Set
4555 `org-table-current-last-data-line'.
4556 (org-table-current-last-data-line): New variable.
4557 (org-table-insert-column, org-table-delete-column)
4558 (org-table-move-column, org-table-fix-formulas): Call
4559 `org-table-fix-formulas' a second time to fix the $LR references.
4560 (org-table-get-specials): Add the $LR references to the tables.
4561 (org-table-get-formula): Do not offer last-row names as LHS of
4564 * org.el (org-store-link): Capture link description from
4565 `org-id-store-link'.
4567 * org-exp.el (org-export-html-format-image): Add the / to the end
4569 (org-export-format-source-code): Surround example by empty lines,
4570 to make sure it will not be inside a paragraph.
4572 * org.el (org-ido-switchb): New function.
4574 2008-12-18 Carsten Dominik <carsten.dominik@gmail.com>
4576 * org-agenda.el (org-agenda-show): New prefix argument
4579 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4582 * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
4583 `org-agenda-change-all-lines'.
4584 (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
4585 tags are now retrieved locally.
4587 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
4589 * org.el (org-get-outline-path): Fix bug if level is not given.
4590 (org-org-menu): Do not quote function in menu vector.
4592 * org-agenda.el (org-finalize-agenda): Fix typo with variable
4595 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4597 * org.el (org-refile): Avoid refiling to within the region to be
4600 * org-export-latex.el (org-export-latex-special-chars): Replace
4601 special characters also in tables.
4603 * org-agenda.el (org-agenda-change-all-lines): New argument
4605 (org-agenda-set-tags): Cet the new tags and pass them to
4606 `org-format-agenda-item'.
4608 2008-12-15 Carsten Dominik <carsten.dominik@gmail.com>
4610 * org-export-latex.el (org-export-latex-classes): Add longable as
4611 a default package to all classes.
4612 (org-export-latex-tables): Handle the longtable attribute and the
4615 * org-table.el (orgtbl-to-generic): Handle tables that start with
4618 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4619 \verb for colde-like snippets.
4620 (org-export-as-latex): Fix issues with region export.
4622 * org.el (org-up-heading-safe): Speed up function by using a
4623 direct regexp search.
4624 (org-olpa): New variable.
4625 (org-get-outline-path): Speed-up path constructions in cases where
4626 this is possible because the entire hierarchy is scanned anyway.
4627 (org-refile-get-location): Don't compare the truenames of files,
4629 (org-goto-max-level): New option.
4630 (org-goto): Use `org-goto-max-level'.
4632 2008-12-12 Tassilo Horn <tassilo@member.fsf.org>
4634 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4635 Strip angle brackets from message-ids in the former and don't do
4637 (org-gnus-follow-link): Open summary reliable, even if the last
4638 messages were deleted, and handle empty groups, too.
4640 2008-12-12 Carsten Dominik <carsten.dominik@gmail.com>
4642 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4643 instead of \texttt for the =...= and ~===~ emphasis environments.
4644 (org-export-as-latex): Remove any old :org-license-to-kill text
4646 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4647 (org-export-latex-make-header): Add some hard space after the
4649 (org-export-latex-first-lines): Accept RBEG argument. Mark
4650 exported text so that it will be excuded in further steps.
4652 * org-table.el (org-table-get-specials): Make @0 reference the
4653 last line in a table.
4654 (org-table-recalculate): Improve docstring.
4656 2008-12-11 Carsten Dominik <carsten.dominik@gmail.com>
4658 * org.el (org-log-done): Fix docstring.
4660 2008-12-10 Carsten Dominik <carsten.dominik@gmail.com>
4662 * org-exp.el (org-export-html-format-image): Fix bugs.
4664 * org-export-latex.el (org-export-latex-tables)
4665 (org-export-latex-links): Implement attribute, label, and caption
4668 * org-exp.el (org-export-html-style-default): Add style
4669 definitions for the figure div.
4670 (org-export-preprocess-string, org-export-as-html): Implement
4671 attribute, label, and caption handling.
4672 (org-export-attach-captions-and-attributes): New function.
4673 (org-export-html-format-image): New function.
4674 (org-format-org-table-html): Implement attribute, label, and
4677 * org.el (org-find-text-property-in-string): New function.
4678 (org-extract-attributes): Use the property org-attr instead of
4679 org-attrobutes, because this property is now set with the #+ATTR
4682 2008-12-08 Carsten Dominik <carsten.dominik@gmail.com>
4684 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
4685 the case that FROM is nil.
4687 * org.el (org-before-first-heading-p): New function.
4689 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4691 * org-exp.el (org-export-as-html): Do not add a space before
4692 enforces line breaks.
4693 (org-export-as-html): Close paragraph before blockquote and verse
4696 2008-12-06 Carsten Dominik <carsten.dominik@gmail.com>
4698 * org-id.el (org-id-locations-file): Wrap file name with
4699 `convert-standard-filename'.
4700 (org-id-files): New variable.
4701 (org-id-use-hash): New option.
4702 (org-id-update-id-locations): Also search in all files current
4703 listed in `org-id-files'. Convert the resulting alist to a hash
4704 if the user customation says so.
4705 (org-id-locations-save): Handle he case if `org-id-locations' is a
4707 (org-id-locations-load): Convert the alist to a hash.
4708 (org-id-add-location): Handle the hast case.
4709 (kill-emacs-hook): Make sure id locations are saved when Emacs is
4711 (org-id-hash-to-alist, org-id-alist-to-hash)
4712 (org-id-paste-tracker): New functions.
4714 -------------------------------------------------------------------------
4716 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
4718 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
4719 bindings of calendar variables.
4721 * org-table.el (org-table-find-row-type): Renamed from
4722 `org-find-row-type'.
4723 (org-table-rewrite-old-row-references): Renamed from
4724 `org-rewrite-old-row-references'.
4725 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
4726 (org-table-cleanup-narrow-column-properties): Renamed from
4727 `org-cleanup-narrow-column-properties'.
4729 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
4731 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
4732 for better error messages.
4733 (org-table-get-descriptor-line): Supply the new arguments to
4734 `org-find-row-type'.
4735 (org-table-error-on-row-ref-crossing-hline): New option.
4737 * org.el (org-target-link-regexp): Make buffer-local.
4738 (org-move-subtree-down): Fix bug with trees at beginning of
4741 2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
4743 * org-faces.el (org-set-tag-faces): New function.
4744 (org-tags-special-faces-re): New variable.
4746 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
4748 * org-faces.el (org-tag-faces): New option.
4749 (org-tag): Mention `org-tag-faces' in the docstring.
4751 2008-12-03 Carsten Dominik <carsten.dominik@gmail.com>
4753 * org-exp.el (org-export-html-style-default): Implement new
4756 * org-jsinfo.el (org-infojs-template): Implement new quoting.
4758 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
4759 command to the `w3m-minor-mode-map'.
4761 * org-archive.el (org-archive-to-archive-sibling): Protect
4762 `this-command' to avoid appending kills during archiving.
4764 * org-exp.el (org-export-with-priority): New variable.
4765 (org-export-add-options-to-plist): Use `org-export-plist-vars'
4766 instead of internal list of strings and properties.
4767 (org-print-icalendar-entries): Retrieve the location property with
4770 2008-12-02 Carsten Dominik <carsten.dominik@gmail.com>
4772 * org-exp.el (org-export-with-todo-keywords): New option.
4773 (org-export-plist-vars): Include also the keys for the #+OPTIONS
4775 (org-default-export-plist, org-export-add-options-to-plist)
4776 (org-export-as-ascii, org-export-as-html): Use the new structure
4777 of `org-export-plist-vars'.
4779 * org.el (org-map-entries): Return all values.
4781 2008-11-29 Carsten Dominik <carsten.dominik@gmail.com>
4783 * org.el (org-matcher-time): Recognize more special values.
4785 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
4787 2008-11-27 Carsten Dominik <carsten.dominik@gmail.com>
4789 * org.el (org-tags-exclude-from-inheritance): New option.
4790 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
4791 `org-tags-exclude-from-inheritance'.
4793 * org-agenda.el (org-agenda-show-inherited-tags): New option.
4794 (org-format-agenda-item): Add inherited tags to the agenda line
4795 string, and make sure that properties are kept when downcasing the
4797 (org-agenda-add-inherited-tags): New function.
4798 (org-downcase-keep-props): New function.
4800 * org.el (org-scan-tags): Mark inherited tags with a text
4802 (org-get-tags-at): Mark inherited tags with a text property.
4803 (org-add-prop-inherited): New function.
4805 * org-agenda.el (org-agenda-add-inherited-tags): New function.
4806 (org-agenda-show-inherited-tags): New option.
4808 2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
4810 * org.el (org-modules): Add org-w3m to the default modules.
4812 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
4814 (orgtabl-create-or-convert-from-region): New command.
4816 * org-exp.el (org-export-as-ascii): Remove the handling of
4818 (org-export-ascii-preprocess): Handle targets already in this
4821 2008-11-25 Carsten Dominik <carsten.dominik@gmail.com>
4823 * org-timer.el (org-timer-start-time): Define this variable.
4824 (org-timer-item): Make argument optional.
4826 * org-list.el (org-insert-item): Automatically insert a timer item
4827 if the current list is a timer list.
4829 * org-timer.el: New file.
4831 * org-publish.el (org-publish-org-index): Only exclude the index
4832 file in the main directory from being added to the site-map.
4833 (org-publish-get-project-from-filename): If the current project is
4834 a component, start publishing from the parent project.
4836 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
4838 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
4840 * org-publish.el (org-publish-org-index): Improve removal of
4843 * org-agenda.el (org-get-closed): Re-apply changes
4844 accidentially overwritten by last commit to Emacs.
4846 * org.el (org-outline-path-complete-in-steps): New option.
4847 (org-refile-get-location): Honor
4848 `org-outline-path-complete-in-steps'.
4849 (org-agenda-change-all-lines, org-tags-sparse-tree)
4850 (org-time-string-to-absolute, org-small-year-to-year)
4851 (org-link-escape): Re-apply changes accidentially overwritten
4852 by last commit to Emacs
4854 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4856 * org-clock.el (org-dblock-write:clocktable): Make sure the
4857 clocktable sees the first line.
4858 (org-clock-in): Warn if the clock cannot be resumed.
4860 2008-11-22 Carsten Dominik <carsten.dominik@gmail.com>
4862 * org.el (org-open-at-point): Fix mixup about interactive and
4863 non-interactive elisp links.
4865 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
4867 * org-exp.el (org-export-preprocess-string): Allow one comment
4868 line before the first headline to always be included. This is
4869 to not miss a commented target.
4871 * org-mouse.el (org-mouse-insert-item): Call
4872 `org-indent-to-column' instead of `indent-to', for XEmacs
4875 * org.el (org-refile-targets): Fix customize definition so
4876 that it works also in XEmacs.
4877 (org-fixup-indentation): Call `org-indent-to-column' instead
4878 of `indent-to', for XEmacs compatibility.
4880 2008-11-21 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
4882 * org-mew.el (org-mew-store-link): Get the correct case folder
4883 for refiled messages.
4885 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
4887 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
4888 line break indicators.
4890 * org.el (org-ido-completing-read): Remove the "i:" prefix for
4891 ido-completion propts.
4893 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
4895 * org-remember.el (org-remember-apply-template): Use
4896 `org-substring-no-properties'.
4898 * org-compat.el (org-substring-no-properties): New function.
4900 * org-remember.el (org-remember-apply-template): Use
4901 `org-substring-no-properties' for compatibility.
4903 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
4905 (org-fix-bullet-type): respect
4906 `org-list-two-spaces-after-bullet-regexp'.
4908 * org-clock.el (org-clock-load): Clean up the code.
4910 * org.el (org-adaptive-fill-function): Allow two spaces after
4911 "1." as a list bullet.
4913 2008-11-20 Carsten Dominik <carsten.dominik@gmail.com>
4915 * org-clock.el (org-clock-save, org-clock-load): Check for
4916 live buffers, existing files, and buffer file names to ensure
4917 consistent information.
4918 (org-clock-persist): Make `clock' a special value of this
4919 variable, and improve docstring.
4921 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
4922 (org-get-string-indentation): Adapt indentation when the bullet
4925 2008-11-19 Carsten Dominik <carsten.dominik@gmail.com>
4927 * org-remember.el (org-remember-finalize): Make interactive.
4928 (org-remember-kill): New command.
4929 (org-remember-finish-immediately): Call `org-remember-finalize'
4931 (org-remember-finalize): Make `org-remember-finalize' an interactive
4934 2008-11-18 Carsten Dominik <carsten.dominik@gmail.com>
4936 * org-remember.el (org-remember-apply-template): No ido completion
4937 for free prompts in remember templates.
4938 (org-remember-before-finalize-hook): New hook.
4939 (org-remember-mode): New minor mode.
4940 (org-remember-apply-template): Turn on `org-remember-mode'.
4942 * org-id.el (org-id-add-location): Avoid error when no file is
4945 * org-remember.el (org-remember-apply-template): Fix the way how
4946 the list of allowed properties is retrieved from the target file.
4948 * org.el (org-insert-link): Improve file link matching.
4950 2008-11-17 Carsten Dominik <carsten.dominik@gmail.com>
4952 * org-colview.el (org-columns-display-here): New argument
4953 DATELINE, to trigger using the new face.
4954 (org-agenda-colview-summarize): Call `org-columns-display-here'
4955 with the new argument.
4957 * org-faces.el (org-agenda-column-dateline): New face.
4959 * org-publish.el (org-publish-org-index): Use index-title at page
4960 title, not as section.
4962 * org-exp.el (org-export-html-format-desc): Respect the
4963 org-protect property.
4964 (org-export-as-html): Protect image specifiers that are in the
4965 description part of a link.
4967 * org.el (org-sort-entries-or-items, org-completing-read)
4968 (org-refile-get-location, org-olpath-completing-read, org-todo)
4969 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
4970 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
4971 (org-set-property, org-delete-property)
4972 (org-delete-property-globally): Use `org-ido-completing-read'.
4974 * org-remember.el (org-remember-apply-template): Use
4975 `org-ido-completing-read'.
4977 * org-publish.el (org-publish): Use `org-ido-completing-read'.
4979 * org-colview.el (org-columns-edit-value, org-columns-new)
4980 (org-insert-columns-dblock): Use `org-ido-completing-read'.
4982 * org-colview-xemacs.el (org-columns-edit-value)
4983 (org-columns-new, org-insert-columns-dblock): Use
4984 `org-ido-completing-read'.
4986 * org-attach.el (org-attach-delete-one, org-attach-open): Use
4987 `org-ido-completing-read'.
4989 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
4990 `org-ido-completing-read'.
4992 * org.el (org-time-today): New function.
4993 (org-matcher-time): Use `org-time-today'. Add special treatment
4994 for "<tomorrow>" and "<yesterday>".
4995 (org-ido-completing-read): New function.
4996 (org-completion-use-ido): New option.
4998 * org-exp.el (org-export-format-source-code): Fix bug in require
5000 (org-export-target-internal-links): Fix bug in search for text
5003 2008-11-16 Carsten Dominik <carsten.dominik@gmail.com>
5005 * org-export-latex.el (org-export-latex-subcontent): Interprete
5006 target aliases as additonal labels.
5008 * org-exp.el (org-export-target-aliases): New variable.
5009 (org-export-preprocess-string)
5010 (org-export-handle-invisible-targets): Fill the alias alist.
5011 (org-export-as-html): Remove the from the anchor, and also
5013 (org-html-level-start): Insert the target aliases as additonal
5016 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5019 2008-11-15 Carsten Dominik <carsten.dominik@gmail.com>
5021 * org.el (org-open-at-mouse): Ensure correct link abbreviations
5022 when following a link with the mouse from the agenda.
5024 * org-exp.el (org-export-as-html): Avoid lone </div> when no
5025 headlines are created.
5027 2008-11-14 Carsten Dominik <carsten.dominik@gmail.com>
5029 * org-exp.el (org-export-preprocess-string): Reorder so that we
5030 can still see ID properties when we collect targets.
5031 (org-export-target-internal-links): Also store targets for ID's.
5033 * org.el (org-link-translation-function): New option.
5034 (org-open-at-point): Call `org-link-translation-function' if
5036 (org-translate-link): New function.
5037 (org-translate-link-from-planner): New function.
5038 (org-open-at-point): Allow interactive commands in elisp links.
5040 * org-exp.el (org-icalendar-cleanup-string): Restore the old
5041 iCalendar quoting. The new one seems to caus problems with
5044 * org.el (org-yank): Set `this-command' to `yank', so that
5045 `yank-pop' will work.
5047 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
5049 * org-id.el (org-id-search-archives): New option.
5051 * org.el (org-link-to-org-use-id): New option.
5052 (org-store-link): Use `org-link-to-org-use-id'.
5053 (org-id): Make org-id.el a standard component.
5055 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
5057 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5058 hexified version of the tag.
5060 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5061 compliance as far as quoting is concerned.
5063 * org-vm.el (org-vm-follow-link): Require `vm-search'.
5065 * org.el (org-up-heading-safe, org-forward-same-level): Always
5066 call `org-back-to-heading' instead of `outline-back-to-heading'.
5067 (org-back-to-heading): New wrapper around outline-back-to-heading,
5068 with a useful error message telling where the error happened.
5070 * org-list.el (org-update-checkbox-count): Always call
5071 `org-back-to-heading' instead of `outline-back-to-heading'.
5073 * org-exp.el (org-export-as-html): Make sure that each <img> tag
5074 has an `alt' attribute, to ensure XHTML validation.
5076 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
5078 * org-publish.el (org-publish-attachment): Allow publishing to
5079 overwrite attachment files.
5081 * org-agenda.el (org-agenda-timerange-leaders): New option.
5082 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5084 * org.el (org-edit-src-exit): Untabify ASCII image before
5098 2008-11-11 Carsten Dominik <carsten.dominik@gmail.com>
5100 * org.el (org-yank): Make any prefix force normal yanking.
5101 Suppress folding if text would be swallowed into a folded
5103 (org-yank-folded-subtrees, org-yank): Docstring updates.
5105 * org-agenda.el (org-agenda-compare-effort): Treat no effort
5108 * org-exp.el (org-export-language-setup): Add Catalan and
5109 Esperanto language entries.
5111 2008-11-10 Carsten Dominik <carsten.dominik@gmail.com>
5113 * org.el (org-refile): Allow refiling of entire regions.
5115 * org-clock.el (org-clock-time%): New function.
5117 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5118 retrieve property values.
5120 2008-11-09 Carsten Dominik <carsten.dominik@gmail.com>
5122 * org-agenda.el (org-agenda-list): Handle the value `only' of
5123 org-agenda-show-log'.
5124 (org-agenda-log-mode): Interpret a double prefix arg.
5126 2008-11-08 Carsten Dominik <carsten.dominik@gmail.com>
5128 * org-exp.el (org-export-html-footnotes-section): New variable.
5129 (org-export-as-html): Use `org-export-html-footnotes-section' to
5130 insert the footnotes.
5131 (org-export-language-setup): Add "Footnotes" to language words.
5133 2008-11-07 Carsten Dominik <carsten.dominik@gmail.com>
5135 * org.el (org-yank): Fix bug when not inserting a subtree.
5137 2008-11-06 Carsten Dominik <carsten.dominik@gmail.com>
5139 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5140 instead of `vm-beginning-of-message'.
5142 * org.el (org-make-link-regexps): Make sure that links to gnus can
5145 2008-11-05 Carsten Dominik <carsten.dominik@gmail.com>
5147 * org-attach.el (org-attach-dir): Remove duplicate ID creation
5150 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5153 * org.el (org-link-abbrev-alist): Improve customization type.
5155 * org-attach.el (org-attach-expand-link, org-attach-expand): New
5158 * org-agenda.el (org-agenda-get-progress): Renamed from
5159 `org-get-closed'. Implement searching for state changes as well.
5160 (org-agenda-log-mode-items): New option.
5161 (org-agenda-log-mode): New option prefix argument, interpreted as
5162 request to show all possible progress info.
5163 (org-agenda-get-day-entries): Call `org-get-progress' instead of
5165 (org-agenda-set-mode-name): Handle the more complex log mode
5167 (org-get-closed): New alias, pointing to `org-get-progress'.
5169 2008-11-05 Carsten Dominik <dominik@science.uva.nl>
5171 * org.el (org-file-apps-defaults-gnu)
5172 (org-file-apps-defaults-macosx)
5173 (org-file-apps-defaults-windowsnt): Add an entry defining the
5175 (org-file-apps): Allow `system' as key and value.
5176 (org-open-at-point): Explain the effect of a double prefix arg.
5177 (org-open-file): If the argument `in-emacs' is (16),
5178 i.e. corresponding to a double prefix argument, try to open the
5181 2008-11-04 Carsten Dominik <dominik@science.uva.nl>
5183 * org.el (org-insert-link): Abbreviate absolute files names in
5184 links. Also, fix a bug in which the double C-u prefix would not
5187 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
5189 * org.el (org-insert-heading): If buffer does not end with a
5190 newline, add one if necessary to insert headline correctly.
5192 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5193 paragraphs, not inside.
5195 * org.el (org-todo): Quote
5196 `org-agenda-headline-snapshot-before-repeat'.
5198 * org-exp.el (org-export-as-html): Fully process link descriptions.
5199 (org-export-html-format-desc): New function.
5200 (org-export-as-html): Collect footnotes into the correct basket.
5201 (org-html-protect): No longer protect quotations marks here, this
5204 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5207 * org-compat.el (org-fit-window-to-buffer): New function (not
5208 really, a preliminary and incomplete version was present earlier,
5211 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5212 `org-fit-window-to-buffer'.
5214 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5216 * org-agenda.el (org-agenda-get-restriction-and-command)
5217 (org-fit-agenda-window, org-agenda-convert-date): Use
5218 `org-fit-window-to-buffer'.
5220 * org-exp.el (org-export-as-html): Process href links through
5221 `org-export-html-format-href'.
5222 (org-export-html-format-href): New function.
5224 * org-agenda.el (org-agenda-todo): Update only the current
5225 headline if this is a repeated TODO, marked done for today.
5226 (org-agenda-change-all-lines): New argument JUST-THIS, to change
5227 only the current line.
5229 * org.el (org-todo): Take a snapshot of the headline if the
5230 repeater might change it.
5232 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
5234 * org-publish.el (org-publish-find-title): Remove buffers visited
5235 only for extracting the title.
5237 * org-exp.el (org-export-html-style)
5238 (org-export-html-style-default): Mark style definitions as
5241 * org-publish.el (org-publish-validate-link): Function
5244 2008-11-02 Charles Sebold <csebold@gmail.com>
5246 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5248 (org-plot-quote-timestamp-field): New function.
5249 (org-plot-quote-tsv-field): Call timestamp field function when
5250 necessary rather than just quoting as a string.
5251 (org-plot/gnuplot-to-data): Pass in timefmt property.
5252 (org-plot/gnuplot-script): Supports timefmt property.
5253 (org-plot/gnuplot): Checks for timestamp column before checking
5254 for text index column.
5256 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
5258 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5260 * org-publish.el (org-publish-org-index): Create a section in the
5262 (org-publish-org-index): Stop linking to directories.
5264 * org.el (org-emphasis-alist): Use span instead of <u> to
5267 * org-exp.el (org-export-as-html): Make sure <p> is closed before
5270 2008-11-01 Sebastian Rose <sebastian_rose@gmx.de>
5272 * org-jsinfo.el (org-infojs-template): Remove language attribute
5275 2008-11-01 Carsten Dominik <dominik@science.uva.nl>
5277 * org-agenda.el (org-agenda-remove-marked-text): New function.
5278 (org-agenda-mark-filtered-text)
5279 (org-agenda-unmark-filtered-text): New functions.
5280 (org-write-agenda): Remove fltered text.
5282 * org.el (org-make-tags-matcher): Give access to TODO "property"
5283 without speed penalty.
5285 2008-10-29 Carsten Dominik <dominik@science.uva.nl>
5287 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5289 (org-store-link-props): Make sure adding to the plist works
5292 * org-gnus.el (org-gnus-no-new-news): New function.
5293 (org-gnus-follow-link): Allow the article ID to be a message-id,
5294 in addition to allowing article numbers. Message IDs make much
5296 (org-gnus-store-link): Use message-id to create link.
5298 2008-10-28 Carsten Dominik <dominik@science.uva.nl>
5300 * org.el (org-emphasize): Reverse the selection array.
5301 (org-emphasis-alist): Set <code> tags for the verbatim
5304 * org-remember.el (org-remember-handler): Fix bug with
5305 prefix-related changing of the note storage target.
5307 * org-exp.el (org-print-icalendar-entries): Make the exported
5308 priorities compatible with RFC 2445.
5310 * org-clock.el (org-clock-save): Insert time stamp without
5311 dependence on time-stamp.el.
5313 2008-10-27 Carsten Dominik <dominik@science.uva.nl>
5315 * org.el ("saveplace"): If saveplace puts point into an invisible
5316 location, make it visible.
5317 (org-make-tags-matcher): Allow inactive time stamps in time
5319 (org-yank-adjusted-subtrees): New option.
5320 (org-yank): Incorporate adjusting trees.
5321 (org-paste-subtree): New argument FOR-YANK which will cause
5322 insertion at point without backing up over white lines, and leave
5323 point at the end of the inserted text. Also if the cursor is
5324 at the beginning of a headline, use the same level or the inserted
5327 * org-publish.el (org-publish-get-base-files-1): Deal correctly
5328 with broken symlinks
5330 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5332 * org-exp.el (org-export-select-tags, org-get-current-options):
5335 2008-10-25 Carsten Dominik <dominik@science.uva.nl>
5337 * org-agenda.el (org-format-agenda-item)
5338 (org-agenda-filter-make-matcher): Make sure tags are stored and
5341 2008-10-23 Carsten Dominik <dominik@science.uva.nl>
5343 * org.el (org-insert-todo-heading): Fix bug with force-heading
5346 2008-10-23 James TD Smith <ahktenzero@mohorovi.cc>
5348 * org-clock.el (org-clock-in-resume): Add a custom option to
5349 toggle starting the clock from an open clock line.
5350 (org-clock-in): When clocking in to an entry, if
5351 `org-clock-in-resume' is set, check if the first clock line is
5352 open and if so, start the clock from the time in the clock line.
5353 (org-clock-persist): Add a custom option to toggle clock
5355 (org-clock-persist-query-save): Add a custom option to toggle
5356 asking the user if they want to save the running clock when
5358 (org-clock-persist-query-resume): Add a custom option to toggle
5359 asking the user if they want to resume the saved clock when Emacs
5361 (org-clock-save): Add a function to save clock data.
5362 This includes the contents of `org-clock-history' and the buffer
5363 and position of the currently clocked task, if any.
5364 (org-clock-load): Add a function to load clock data.
5365 This populates `org-clock-history', and resumes the saved clocked
5366 task if there is one.
5367 (org-clock-persistence-insinuate): Add a method to set up the
5368 hooks for clock persistence.
5370 2008-10-22 Carsten Dominik <dominik@science.uva.nl>
5372 * org-exp.el (org-export-as-ascii): Handle the case that we are
5373 publishing from an indirect buffer.
5375 * org-table.el (org-table-copy-down): Fix bug with time stamp
5378 * org-mouse.el (org-mouse-features): New option.
5379 (org-mode-hook): Turn on features depending on
5380 `org-mouse-features'.
5382 * org.el (org-insert-heading-respect-content): Force heading
5384 (org-insert-heading): keep the folding state of the heading before
5387 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
5389 * org-archive.el (org-archive-to-archive-sibling): Handle top
5390 level headlines better.
5392 2008-10-21 Bastien Guerry <bzg@altern.org>
5394 * org-export-latex.el (org-export-latex-classes): Added
5395 \usepackage{graphicx} to the default list of packages.
5397 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
5399 * org-agenda.el (org-agenda-filter): Renamed from
5400 `org-agenda-filter-tags'.
5402 2008-10-20 Carsten Dominik <dominik@science.uva.nl>
5404 * org.el (org-entry-properties): Add CATEGORY property, iven if it
5405 is not defined as a property in this entry.
5406 (org-add-log-note): Mask prefix argument when immediately storing
5409 * org-agenda.el (org-agenda-filter-effort-default-operator): New
5412 2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
5414 * org.el (org-add-log-setup): Bugfix; code to find insertion point
5415 after drawers was skipping ahead one line too many, so notes were
5416 inserted after the first note instead of before it.
5418 2008-10-18 Carsten Dominik <dominik@science.uva.nl>
5420 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5422 (org-prepare-agenda): Reset the filter tags.
5423 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5424 Show filter tags in mode line.
5426 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5429 * org-export-latex.el (org-latex-entities-regexp): New constant.
5430 (org-export-as-pdf): Use two calls to `shell-command'.
5432 2008-10-17 Carsten Dominik <dominik@science.uva.nl>
5434 * org-export-latex.el (org-export-latex-treat-sub-super-char):
5435 Honor the {} value of the subsuperscript setting. Make sure that
5436 longer subsuperscripts are typeset in a roman font.
5438 * org.el (org-clock-update-time-maybe): Compute negative clock
5439 intervals correctly.
5441 2008-10-16 Carsten Dominik <dominik@science.uva.nl>
5443 * org.el (org-add-log-setup): Respect
5444 `org-log-state-notes-insert-after-drawers'.
5445 (org-log-state-notes-insert-after-drawers): New option.
5446 (org-todo-trigger-tag-changes): New function.
5447 (org-todo): Call `org-todo-trigger-tag-changes'.
5449 2008-10-15 James TD Smith <ahktenzero@mohorovi.cc>
5451 * org.el (org-add-log-setup): Only skip drawers if the are
5452 immediately after the scheduling keywords.
5454 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5456 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5457 call it with the current todo state to get the state to switch to
5459 (org-clock-in): Use org-indent-line-function to indent clock lines.
5460 (org-clock-find-position): Fix indentation of empty clock drawers.
5462 2008-10-15 Carsten Dominik <dominik@science.uva.nl>
5464 * org-publish.el (org-publish-org-to): Handle case when
5465 org-export-to-pdf does return a file name, not a buffer.
5466 (org-publish-org-to-pdf): New function.
5468 * org-export-latex.el (org-export-as-pdf)
5469 (org-export-as-pdf-and-open): New commands.
5471 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5474 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5475 things in protexted regions.
5477 2008-10-14 Carsten Dominik <dominik@science.uva.nl>
5479 * org-export-latex.el (org-export-latex-preprocess): Improve
5480 quoting of LaTeX environments.
5482 2008-10-10 Carsten Dominik <dominik@science.uva.nl>
5484 * org.el (org-edit-fixed-width-region): Exclude final newline from
5487 * org-export-latex.el (org-export-latex-subcontent): Add labels to
5488 sections, to make internal links work.
5489 (org-export-latex-fontify-headline): Do not remove all text
5490 properties, to make sure that target properties survive this
5493 * org-exp.el (org-export-preprocess-string): Change sequence of
5494 modifications, to make sure links are prepared before the LaTeX
5495 conversions do happen.
5497 2008-10-09 Carsten Dominik <dominik@science.uva.nl>
5499 * org-attach.el (org-attach-delete-all): Renamed from
5500 `org-attch-delete'. Add a security query before deleting the
5501 entire directory. New optional argument FORCE can overrule the
5503 (org-attach-delete-one): New command.
5505 2008-10-08 Carsten Dominik <dominik@science.uva.nl>
5507 * org-attach.el (org-attach-file-list): Fix bug with directory.
5509 2008-10-07 Carsten Dominik <dominik@science.uva.nl>
5511 * org.el (org-apps-regexp-alist): New function.
5512 (org-file-apps): Add auto-mode to the default value.
5513 (org-open-file): Use the new structure of org-file-apps.
5515 * org-attach.el (org-attach): Support the new keys.
5516 (org-attach-method): New option.
5518 2008-10-06 Carsten Dominik <dominik@science.uva.nl>
5520 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5523 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5524 of the list value o `org-use-tag-inheritance'.
5526 * org-attach.el (org-attach-auto-tag): New option.
5527 (org-attach-tag, org-attach-untag): New functions.
5528 (org-attach-attach, org-attach-new, org-attach-sync): Call
5530 (org-attach-delete): Call `org-attach-untag'.
5532 2008-10-04 Carsten Dominik <dominik@science.uva.nl>
5534 * org-table.el (orgtbl-self-insert-command): Make this work for
5537 2008-10-02 Carsten Dominik <dominik@science.uva.nl>
5539 * org.el (org-add-log-setup): Limit searc for drawers to entry
5540 text, not to subtree.
5542 * org-clock.el (org-clock-heading-for-remember): New variable.
5543 (org-clock-in): Set `org-clock-heading-for-remember'.
5545 2008-10-01 James TD Smith <ahktenzero@mohorovi.cc>
5547 * org-remember.el (org-remember-apply-template): Add new
5548 expansions: %k, %K for currently clocked task and a link to the
5549 currently clocked task, and %< to file notes in the currently
5552 2008-10-01 Carsten Dominik <dominik@science.uva.nl>
5554 * org-export-latex.el (org-export-latex-make-header): Also insert
5555 the content of the property :latex-header-extra.
5557 * org-exp.el (org-infile-export-plist): Put the content of
5558 #+LATEX_HEADER: into the property :latex-header-extra.
5560 * org-colview.el (org-columns-get-format-and-top-level): Remove
5561 resetting the marker.
5563 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5564 Remove resetting the marker.
5566 * org.el (org-entry-property-inherited-from): Improve docstring.
5567 (org-entry-get-with-inheritance): Reset marker before starting the
5570 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5572 2008-09-30 Carsten Dominik <dominik@science.uva.nl>
5574 * org.el (org-entry-get-multivalued-property)
5575 (org-entry-protect-space, org-entry-restore-space): New
5577 (org-file-apps-defaults-macosx): Let postscript files be opened by
5579 (org-time-stamp-inactive): Call `org-time-stamp'.
5580 (org-time-stamp): New argument `inactive'. Also edit inacive
5581 stamps. Convert time stamp type.
5582 (org-open-file): Interpret the `default' value for the `command'
5585 * org-id.el (org-id-int-to-b36-one-digit)
5586 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5587 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
5590 2008-09-29 Carsten Dominik <dominik@science.uva.nl>
5592 * org-id.el (org-id-reverse-string): New function.
5593 (org-id-new): Use `org-id-reverse-string' to make sure the
5594 beginning chars of the ID are mutating fast. This allows to use a
5595 directory structure to spread things better.
5596 (org-id-prefix): Changed default to nil.
5598 * org-list.el (org-move-item-down, org-move-item-up): Remember and
5599 restore the column of the cursor position.
5601 * org-remember.el (org-remember-apply-template): Remove properties
5604 2008-09-27 Carsten Dominik <dominik@science.uva.nl>
5606 * org-wl.el (org-wl-open): Remove useless call to
5607 `wl-thread-open-all'.
5609 * org-remember.el (org-remember-handler): Fix bug with `bottom'
5612 2008-09-26 Carsten Dominik <dominik@science.uva.nl>
5614 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5615 `org-bbdb-anniversaries'.
5617 * org.el (org-get-next-sibling, org-forward-same-level): New
5618 functions, similar to the outline versions, but invisible headings
5621 2008-09-25 Bastien Guerry <bzg@altern.org>
5623 * org.el (org-auto-repeat-maybe): Insert a space between
5624 the timestamp's type and the timestamp itself.
5626 2008-09-24 Carsten Dominik <dominik@science.uva.nl>
5628 * org-table.el (org-table-sum): Do not format the result with %g,
5629 it does rounding when there are too many digits.
5631 * org.el (org-map-entries): Protect the keyword-selecting variables.
5633 2008-09-23 Bastien Guerry <bzg@altern.org>
5635 * org-agenda.el (org-agenda-to-appt): Make sure the function check
5636 against all agenda files.
5638 2008-09-23 Carsten Dominik <dominik@science.uva.nl>
5640 * org-list.el: New file, aggregating list functions from org.el
5641 and org-export-latex.el.
5643 * org.el (org-edit-src-region-extra): New option.
5645 2008-09-22 Carsten Dominik <dominik@science.uva.nl>
5647 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5650 2008-09-22 Bastien Guerry <bzg@altern.org>
5652 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5654 2008-09-22 James TD Smith <ahktenzero@mohorovi.cc>
5656 * org-plot.el (org-plot/gnuplot): Make tables starting with a
5657 hline work correctly.
5658 (org-plot/gnuplot-script): Put commas at the end of each script
5661 2008-09-20 James TD Smith <ahktenzero@mohorovi.cc>
5663 * org.el (org-get-refile-targets): Replace links with their
5665 (org-imenu-get-tree): Replace links with their descriptions.
5667 * org-remember.el (org-remember-apply-template): Add a new
5668 expansion for adding properties to remember items.
5670 * org.el (org-add-log-setup): Skip over drawers (properties,
5671 clocks etc) when adding notes.
5673 * org-agenda.el (org-agenda-get-closed): show durations of clocked
5674 items as well as the start and end times.
5676 * org-compat.el (org-get-x-clipboard-compat): Add a compat
5677 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
5679 * org-remember.el (org-get-x-clipboard): Use the compat
5680 function to get clipboard values when x-selection-value is
5681 unavailable. Use substring-no-properties instead of
5682 set-text-properties to remove text properties from the clipboard
5685 * lisp/org-clock.el (org-update-mode-line): Support limiting the
5686 modeline clock string, and display the full todo value in the
5687 tooltip. Set a local keymap so mouse-3 on the clock string goes to
5688 the currently clocked task.
5689 (org-clock-string-limit): Add a custom value for the maximum
5690 length of the clock string in the modeline.
5691 (org-clock-mode-map): Add a keymap for the modeline string
5693 2008-09-21 Carsten Dominik <dominik@science.uva.nl>
5695 * org-compat.el (org-propertize): New function.
5697 2008-09-20 Bastien Guerry <bzg@altern.org>
5699 * org-export-latex.el (org-export-latex-tables): protect exported
5700 tables from further special chars conversion.
5701 (org-export-latex-preprocess): Preserve LaTeX environments.
5702 (org-list-parse-list): Parse descriptive lists.
5703 (org-list-to-generic, org-list-to-latex, org-list-to-html)
5704 (org-list-to-texinfo): Export descriptive lists.
5705 (org-quote-chars): Remove.
5706 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
5707 (org-export-latex-list-beginning-re): Rename to
5708 `org-list-beginning-re'
5709 (org-list-item-begin): Rename to `org-list-item-beginning'
5711 2008-09-20 Carsten Dominik <dominik@science.uva.nl>
5713 * org.el (org-refile): Allow refiling to the last entry in the
5715 (org-get-tags-at): Fix bug when inheritance is turned off.
5717 2008-09-19 Carsten Dominik <dominik@science.uva.nl>
5719 * org.el (org-indent-line-function): No longer check for src
5720 regions, this is too much overhead.
5722 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
5725 * org.el (org-scan-tags): Make sure that tags matching is not case
5726 sensitive. TODO keyword matching is case sensitive, however, to
5727 avoid confusion with similar words that are not meant to be
5730 2008-09-18 Carsten Dominik <dominik@science.uva.nl>
5732 * org.el (org-get-local-tags-at): New function.
5733 (org-get-local-tags): New function.
5735 * org-exp.el (org-export-get-categories): New function.
5737 * org-agenda.el (org-sorting-choice)
5738 (org-agenda-sorting-strategy, org-agenda-get-todos)
5739 (org-agenda-get-timestamps, org-agenda-get-deadlines)
5740 (org-agenda-get-scheduled, org-agenda-get-blocks)
5741 (org-entries-lessp): Implement sorting by TODO state.
5742 (org-cmp-todo-state): New defsubst.
5744 * org-colview.el (org-colview-construct-allowed-dates): New
5746 (org-columns-next-allowed-value): Use
5747 `org-colview-construct-allowed-dates'.
5749 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
5751 (org-columns-next-allowed-value): Use
5752 `org-colview-construct-allowed-dates'.
5754 2008-09-17 Carsten Dominik <dominik@science.uva.nl>
5756 * org.el (org-protect-slash): New function.
5757 (org-get-refile-targets): Use `org-protect-slash'.
5759 * org-agenda.el (org-global-tags-completion-table): New variable.
5761 * org-exp.el (org-export-handle-export-tags): New function.
5762 (org-export-preprocess-string): Call
5763 `org-export-handle-export-tags'.
5765 * org-plot.el: New file.
5767 * org-publish.el (org-publish-expand-components): Function removed.
5768 (org-publish-expand-projects): Allow components to have components.
5770 2008-09-13 Carsten Dominik <dominik@science.uva.nl>
5772 * org.el (org-indent-line-function): Do not indent in regions that
5773 are external source code.
5774 (org-yank-and-fold-if-subtree): New function.
5776 * org-agenda.el (org-agenda-todayp): New function.
5777 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
5778 `org-agenda-todayp'.
5780 * org.el (org-insert-heading-respect-content)
5781 (org-insert-todo-heading-respect-content): New commands.
5782 (org-insert-heading-respect-content): New option.
5783 (org-insert-heading): Respect `org-insert-heading-respect-content'.
5785 * org-clock.el (org-clock-find-position): Make sure the note after
5786 the clock line gets moved into the new clock drawer.
5788 2008-09-11 Carsten Dominik <dominik@science.uva.nl>
5790 * org-id.el (org-id-new): New option.
5792 2008-09-08 Carsten Dominik <dominik@science.uva.nl>
5794 * org-table.el (org-table-copy-down): Avoid overflow during
5795 increment. Use prefix argument 0 to temporarily disable the
5798 2008-09-07 Carsten Dominik <dominik@science.uva.nl>
5800 * org-exp.el (org-export-as-html): Do not turn on the major mode
5801 if the buffer will be killed anyway.
5802 (org-get-current-options): Exclude the #+TEXT field.
5803 (org-export-as-html): Make sure text before the first headline is
5806 * org-publish.el (org-publish-org-to): Tell the exporter that this
5807 buffer will be killed, so it is not necessary to do major mode
5810 * org-archive.el (org-archive-to-archive-sibling): Show empty
5811 lines after folding the archive sibling.
5813 * org.el (org-log-note-extra): New variable.
5815 2008-09-05 Bastien Guerry <bzg@altern.org>
5817 * org.el (org-additional-option-like-keywords): Added keywords for
5818 the _QUOTE, _VERSE and _SRC environments.
5820 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
5821 exporting _QUOTE and _VERSE environments.
5823 2008-09-05 Carsten Dominik <dominik@science.uva.nl>
5825 * org-agenda.el (org-agenda-filter-by-tag): New command.
5827 * org-exp.el (org-get-current-options): Remove angular brackets
5828 from the date entry.
5830 * org.el (org-edit-fixed-width-region): New function.
5831 (org-edit-fixed-width-region): Also try
5832 `org-edit-fixed-width-region'.
5833 (org-edit-fixed-width-region-mode): New option.
5834 (org-activate-code): Only interprete lines starting with colon
5835 plus a space as example lines.
5837 * org-remember.el (org-remember-templates): Add nil instead of
5838 empty strings to fix the length of remember templates.
5840 * org-table.el (org-calc-default-modes): Fix the time format for
5841 calc, from 12 hour to 24 hour clock.
5843 2008-09-04 Carsten Dominik <dominik@science.uva.nl>
5845 * org-agenda.el (org-agenda-get-deadlines)
5846 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
5847 entries that are pre-warnings of deadlines or reminders.
5849 * org.el (org-sort-entries-or-items): Make numeric and alpha
5850 comparisons ignore any TODO keyword and priority cookie.
5852 * org-remember.el (org-remember-handler): Reinterpretation of the
5855 2008-09-03 Carsten Dominik <dominik@science.uva.nl>
5857 * org-agenda.el (org-agenda-get-scheduled): Use new
5858 `org-scheduled' face.
5860 * org-faces.el (org-scheduled): New face.
5862 * org-wl.el (org-wl-open): Remove incorrect declaration.
5864 * org-gnus.el (org-gnus-store-link): Support for :to information
5867 * org-exp.el (org-export-as-html): Fixed typo in creator
5869 (org-export-protect-examples): New parameter indent. Insert extra
5870 spaces only when this parameter is specified.
5871 (org-export-preprocess-string): Call `org-export-protect-examples'
5872 with an indentation parameter when exporting to ASCII.
5874 * org-remember.el (org-remember-templates)
5875 (org-remember-apply-template): Allow the file component to be a
5878 * org.el (org-goto-local-search-headings): Renamed from
5879 `org-goto-local-search-forward-headings'. Added the possibility
5880 to search backwards.
5882 2008-09-02 Carsten Dominik <dominik@science.uva.nl>
5884 * org-export-latex.el (org-export-latex): New customization
5887 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
5889 2008-09-01 Carsten Dominik <dominik@science.uva.nl>
5891 * org-exp.el (org-html-do-expand): Allow {} to terminate
5894 2008-07-29 Carsten Dominik <dominik@science.uva.nl>
5896 * org.el (org-buffer-list): Select buffers based on major mode,
5899 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
5901 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
5904 * org-colview.el (org-columns-display-here): Use
5905 `org-columns-modify-value-for-display-function'.
5907 * org-colview-xemacs.el (org-columns-display-here): Use
5908 `org-columns-modify-value-for-display-function'.
5910 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
5912 * org.el (org-columns-modify-value-for-display-function): New option.
5924 * org-publish.el (org-publish-file): Make sure the directory match
5925 for the publishing directory works correctly.
5927 * org-agenda.el (org-agenda-execute-calendar-command)
5928 (org-agenda-diary-entry): Additional optional argument.
5930 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
5932 * org-exp.el (org-export-as-html): Add attributes also in mailto
5935 * org.el (org-autoload): Add `org-dblock-write:columnview'.
5944 2008-07-23 Carsten Dominik <dominik@science.uva.nl>
5946 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
5947 sure that calls from `org-export-region-as-html' do not do the
5948 special check for a subtree.
5950 2008-07-22 Carsten Dominik <dominik@science.uva.nl>
5952 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
5954 2008-07-20 Juri Linkov <juri@jurta.org>
5956 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
5957 new keymap `narrow-map' instead of binding "\C-xns".
5959 2008-07-18 Carsten Dominik <dominik@science.uva.nl>
5961 * org.el (org-open-file): Use
5962 `org-open-directory-means-index-dot-org'.
5963 (org-open-directory-means-index-dot-org): New option.
5965 2008-07-17 Carsten Dominik <dominik@science.uva.nl>
5967 * org.el (org-make-link-string): Remove link attributes from
5969 (org-open-at-point): Remove link attributes bevore using the path.
5971 * org-exp.el (org-export-as-html): Handle link attributes.
5973 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
5975 * org-table.el (org-table-to-lisp): New function.
5977 * org.el (org-narrow-to-subtree): Do not include the final newline
5978 into the narrowed region.
5980 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
5981 bug with user-define skipping condition.
5983 2008-07-16 Carsten Dominik <dominik@science.uva.nl>
5985 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
5987 2008-07-14 Carsten Dominik <dominik@science.uva.nl>
5989 * org-exp.el (org-export-html-style-default): Automatic overflow
5990 handling for pre fields.
5991 (org-export-as-ascii, org-export-as-html): Change default format
5994 * org-table.el (org-table-export): Offer completion for translator
5995 functions, and do not require a heading above the table.
5997 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
5998 Cater for the case of a list starting in the first line of the
6001 2008-07-09 Carsten Dominik <dominik@science.uva.nl>
6003 * org-publish.el (org-publish-find-title): Bug fix.
6004 (org-publish-org-index): Implement new :index-style option.
6006 2008-07-07 Carsten Dominik <dominik@science.uva.nl>
6008 * org-publish.el (org-publish-timestamp-filename): Use
6009 SHA1-encoded file names in the timestamp directory.
6011 2008-07-05 Carsten Dominik <dominik@science.uva.nl>
6013 * org-publish.el (org-publish-needed-p): Be verbose about files
6014 published and files skipped.
6016 * org-exp.el (org-export-preprocess-string): Swap link
6017 normalization and inernal link targeting.
6019 * org-publish.el (org-publish-needed-p): Create timestamp
6020 directory when it does not exist.
6022 2008-07-04 Bastien Guerry <bzg@altern.org>
6024 * org-clock.el (org-clock-out-when-done): Doc fix.
6026 * org.el (org-agenda-skip-unavailable-files): Doc fix.
6028 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6029 Ignore case when searching for the COMMENT cookie at export time.
6031 2008-07-02 Carsten Dominik <dominik@science.uva.nl>
6033 * org-exp.el (org-get-file-contents)
6034 (org-get-and-remove-property): New functions.
6035 (org-export-handle-include-files): Handle the new prefix options.
6036 (org-export-as-html): Fix the verse environment.
6038 2008-07-01 Carsten Dominik <dominik@science.uva.nl>
6040 * org.el (org-time=, org-time<, org-time<=, org-time>)
6041 (org-time>=, org-time<>, org-2ft): New functions.
6042 (org-op-to-function): Also provide for the time testing fucntions.
6044 2008-06-30 Carsten Dominik <dominik@science.uva.nl>
6046 * org-exp.el (org-export-html-style-default): New constant.
6048 2008-06-29 Carsten Dominik <dominik@science.uva.nl>
6050 * org-exp.el (org-export-html-style-extra): New variable.
6051 (org-export-splice-style): New function.
6053 2008-06-26 Carsten Dominik <dominik@science.uva.nl>
6055 * org-exp.el (org-export-plist-vars, org-export-as-html):
6056 Implement `org-export-creator-info'.
6057 (org-export-creator-info): New option.
6059 2008-06-25 Carsten Dominik <dominik@science.uva.nl>
6061 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6062 (org-property-drawer-re, org-clock-drawer-re): New constants.
6064 2008-06-23 Carsten Dominik <dominik@science.uva.nl>
6066 * org-exp.el (org-icalendar-use-deadline)
6067 (org-icalendar-use-scheduled): New options.
6068 (org-icalendar-include-todo): Default changed to t.
6069 (org-print-icalendar-entries): Implement better utilization of
6070 scheduling and deadline time stamps.
6071 (org-export-target-internal-links, org-export-as-html): Allow file
6072 lines without the "file:" prefix if the file path is an absolute
6073 path or starts with ".".
6075 * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6077 (org-clock-special-range): Also undertand yesterday, lastweek etc.
6079 2008-06-18 Glenn Morris <rgm@gnu.org>
6080 * org.el (org-map-entries): Let-bind `file'.
6082 2008-06-19 Carsten Dominik <dominik@science.uva.nl>
6084 * org.el (org-agenda-skip-archived-trees): Docstring now
6085 discourages using this.
6086 (org-scan-tags): Check for org-agenda-archives-mode.
6087 (org-map-entries): Make sure org-agenda-archives-mode is nil.
6088 (org-agenda-files): Functionality of second arg changed.
6090 * org-agenda.el (org-agenda-archives-mode): New variable
6091 (org-write-agenda, org-prepare-agenda, org-agenda-list)
6092 (org-search-view, org-todo-list, org-tags-view)
6093 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6095 (org-agenda-quit): Reset the archives mode.
6096 (org-agenda-archives-mode): New command.
6097 (org-agenda-set-mode-name): Include archives info.
6099 2008-06-18 Carsten Dominik <dominik@science.uva.nl>
6101 * org.el (org-paste-subtree): Make sure the yanked headline is
6102 visible if it was yanked at a visible point.
6103 (org-move-item-up): Fix the bug with moving white space at the end
6105 (org-show-empty-lines-in-parent): New function.
6107 2008-06-16 Carsten Dominik <dominik@science.uva.nl>
6109 * org-colview.el (org-columns-next-allowed-value): Bug fix.
6111 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6113 * org-agenda.el (org-agenda-get-closed): Get the end time into the
6114 agenda prefix as well.
6116 * org-publish.el (org-publish-org-index): Make a properly indented
6119 * org.el (org-calendar-agenda-action-key): New option.
6120 (org-get-cursor-date): New function.
6121 (org-mark-entry-for-agenda-action): New command.
6122 (org-overriding-default-time): New variable.
6123 (org-read-date): Respect `org-overriding-default-time'.
6125 * org-remember.el (org-remember-apply-template): Respect the
6126 ovverriding default time.
6128 * org-agenda.el (org-agenda-action-marker): New variable.
6129 (org-agenda-action): New command.
6130 (org-agenda-do-action): New function.
6132 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
6134 * org.el (org-schedule, org-deadline): Protect scheduled and
6135 deadline tasks against changes that accidently remove the
6136 repeater. Also show a message with the new date when done.
6138 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
6140 * org.el (org-beginning-of-line): Cater for the case when there
6141 are tags but no headline text.
6142 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6145 2008-06-13 Carsten Dominik <dominik@science.uva.nl>
6147 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6148 the return value is nil instead of "nil" when there is no match.
6150 * org-exp.el (org-insert-centered): Use fill-column instead of
6152 (org-export-as-ascii): Use string-width to measure the width of
6155 * org.el (org-diary-to-ical-string): No longer kill buffer
6156 FROMBUF, this is now done by the caller.
6158 * org-exp.el (org-print-icalendar-entries): Move the call to
6159 `org-diary-to-ical-string' out of the loop, and kill the buffer
6162 * org-remember.el (org-remember-visit-immediately): Position
6163 cursor after moving to the note.
6164 (org-remember-apply-template): Use a text property to record the
6166 (org-remember-handler): Align tags after pasting the note.
6168 2008-06-12 Carsten Dominik <dominik@science.uva.nl>
6170 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6172 * org-agenda.el (org-agenda-open-link): If there is an
6173 org-bbdb-name property in the current line, jump to that bbdb
6176 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6177 text property, so that the agenda knows where this entry comes
6180 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6181 interaction between clocking-in from the agenda, and automatic
6182 task state switching.
6184 * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6186 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6187 zmacs-region stays after this command in XEmacs.
6189 2008-06-11 Carsten Dominik <dominik@science.uva.nl>
6191 * org.el (org-scan-tags): Allow new values for ACTION parameter.
6193 * org-remember.el (org-remember-templates): Fix bug in
6194 customization type definition.
6196 * org.el (org-map-entries): New function.
6198 2008-06-11 verhuur82 <verhuur82@macbook-van-verhuur82.local>
6200 * org-agenda.el (org-agenda-skip-comment-trees): New option.
6201 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6203 2008-06-10 Carsten Dominik <dominik@science.uva.nl>
6205 * org-remember.el (org-jump-to-target-location): New variable.
6206 (org-remember-apply-template): Set
6207 `org-remember-apply-template' if requested by template.
6208 (org-remember-handler): Start an idle timer to jump to
6211 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6213 * org.el (org-set-regexps-and-options): Fix bug with parsing of
6215 (org-get-tags-at): Add the content of `org-file-tags'.
6217 * org-exp.el (org-export-handle-comments): Fix bug with several
6218 comment lines after each other.
6219 (org-number-to-roman, org-number-to-counter): New functions.
6220 (org-export-section-number-format): New option.
6222 2008-06-09 Carsten Dominik <dominik@science.uva.nl>
6224 * org-exp.el (org-export-protect-examples): Catch the case of a
6225 missing end_example line.
6227 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6228 `org-file-tags' to nil.
6230 * org-colview.el (org-columns-next-allowed-value): Handle next
6231 argument NTH to directly select a value.
6233 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6234 argument NTH to directly select a value.
6236 2008-06-08 Carsten Dominik <dominik@science.uva.nl>
6238 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6240 2008-05-30 Carsten Dominik <dominik@science.uva.nl>
6242 * org.el (org-columns-ellipses): New option.
6244 2008-05-29 Carsten Dominik <dominik@science.uva.nl>
6246 * org-colview.el (org-columns-add-ellipses): New function.
6247 (org-columns-compact-links): New function.
6248 (org-columns-cleanup-item): Call `org-columns-compact-links'.
6249 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6251 (org-columns-edit-value): Fixed bug with editing values from
6253 (org-columns-redo): Also redo the agenda itself.
6255 2008-05-28 Carsten Dominik <dominik@science.uva.nl>
6257 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6260 * org-colview.el (org-agenda-columns-cleanup-item): New function.
6262 * org-exp.el (org-export-ascii-preprocess): Renamed from
6263 `org-export-ascii-clean-string'.
6264 (org-export-kill-licensed-text)
6265 (org-export-define-heading-targets)
6266 (org-export-handle-invisible-targets)
6267 (org-export-target-internal-links)
6268 (org-export-remove-or-extract-drawers)
6269 (org-export-remove-archived-trees)
6270 (org-export-protect-quoted-subtrees)
6271 (org-export-protect-verbatim, org-export-protect-examples)
6272 (org-export-select-backend-specific-text)
6273 (org-export-mark-blockquote-and-verse)
6274 (org-export-remove-comment-blocks-and-subtrees)
6275 (org-export-handle-comments, org-export-mark-radio-links)
6276 (org-export-remove-special-table-lines)
6277 (org-export-normalize-links)
6278 (org-export-concatenate-multiline-links)
6279 (org-export-concatenate-multiline-emphasis): New functions,
6280 obtained from spliiting the export preprocessor.
6282 * org-table.el (org-table-recalculate): Improve error message if
6283 the row number is invalid.
6285 2008-05-27 Carsten Dominik <dominik@science.uva.nl>
6287 * org-archive.el (org-archive-save-context-info): Fix bugs in
6288 customization setup and docstring.
6290 * org-exp.el (org-export-html-style): Changed the size of in the
6291 <pre> element to 90%.
6293 2008-05-26 Carsten Dominik <dominik@science.uva.nl>
6295 * org.el (org-find-src-example-start): Function removed.
6296 (org-edit-src-find-region-and-lang): New function.
6298 2008-05-25 Carsten Dominik <dominik@science.uva.nl>
6300 * org.el (org-edit-src-exit): New function.
6301 (org-exit-edit-mode): New minor mode.
6303 * org-exp.el (org-export-preprocess-string): Fix bug with removing
6304 comment-like lines from protected examples.
6306 * org.el (org-edit-src-example, org-find-src-example-start)
6307 (org-protect-source-example, org-edit-special): New functions.
6309 2008-05-24 Carsten Dominik <dominik@science.uva.nl>
6311 * org-publish.el (org-publish-project-alist): Fix typo in
6313 (org-publish-project-alist): Handle :index-title property.
6315 2008-05-21 Carsten Dominik <dominik@science.uva.nl>
6317 * org-export-latex.el (org-export-as-latex): Make sure region
6318 bounds are correct. Parse subtree properties relating to export.
6320 * org-exp.el (org-export-add-options-to-plist): New function.
6321 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6323 2008-05-20 Carsten Dominik <dominik@science.uva.nl>
6325 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6328 * org-exp.el (org-export-get-title-from-subtree)
6329 (org-export-as-ascii, org-export-as-html): Make sure the original
6330 region-beginning and region-end are used, even after moving
6332 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6335 * org-remember.el (org-remember-last-stored-marker): New variable.
6336 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6337 (org-remember-handler): Also use marker to remember
6338 last-stored position.
6340 * org.el (org-goto-marker-or-bmk): New function.
6342 2008-05-19 Carsten Dominik <dominik@science.uva.nl>
6344 * org.el (org-file-properties): Renamed from `org-local-properties'.
6345 (org-scan-tags): Take file tags into account.
6346 (org-tags-match-list-sublevels): Default changed to t.
6348 * org-exp.el (org-export-as-html): Close paragraph after a
6351 * org.el (org-update-parent-todo-statistics): New function.
6353 * org-exp.el (org-icalendar-store-UID): New option.
6354 (org-icalendar-force-UID): Option removed.
6355 (org-print-icalendar-entries): IMplement UIDs.
6357 2008-05-18 Carsten Dominik <dominik@science.uva.nl>
6359 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6361 2008-05-16 Carsten Dominik <dominik@science.uva.nl>
6363 * org-faces.el (org-column): Document how this face is being used
6364 and why sometimes the background faces shine through.
6366 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6368 * org-publish.el (org-publish-attachment): Create publishing
6369 directory if it does not yet exist.
6371 * org-table.el (org-calc-default-modes): Change default number
6372 format to (float 8).
6374 * org.el (org-olpath-completing-read): New function.
6375 (org-time-clocksum-format): New option.
6376 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6378 * org-clock.el (org-clock-display, org-clock-out)
6379 (org-update-mode-line): Use `org-time-clocksum-format'.
6381 * org-colview-xemacs.el (org-columns-number-to-string): Use
6382 `org-time-clocksum-format'.
6384 * org-colview.el (org-columns-number-to-string): Use
6385 `org-time-clocksum-format'.
6387 2008-05-15 Carsten Dominik <dominik@science.uva.nl>
6389 * org-id.el: New file, move from contrib to core.
6391 * org-exp.el (org-icalendar-force-UID): New option.
6393 2008-05-14 Carsten Dominik <dominik@science.uva.nl>
6395 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6396 shifted by one day if theere is a date range without an end
6399 * org.el (org-try-structure-completion): New function.
6401 2008-05-13 Carsten Dominik <dominik@science.uva.nl>
6403 * org.el (org-set-font-lock-defaults): Improve fontification of
6405 (org-insert-item): Handle description lists.
6406 (org-adaptive-fill-function): Improve auto indentation in
6409 * org-exp.el (org-export-as-html, org-export-preprocess-string):
6410 Implement VERSE environment.
6411 (org-export-preprocess-string): Implement the COMMENT
6414 * org-export-latex.el (org-export-latex-preprocess): Implement
6417 2008-05-12 Carsten Dominik <dominik@science.uva.nl>
6419 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6422 2008-05-10 Carsten Dominik <dominik@science.uva.nl>
6424 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6426 * org.el (org-quote-csv-field): New functions.
6428 * org-table.el (org-table-export-default-format): Remove :splice
6429 from default format, we get the same effect by not specifying
6431 (org-table-export): Improve setup, distinguish better between
6432 interactive and non-interactive use, allow specifying the format
6433 on the fly, better protection against wrong file names.
6434 (orgtbl-to-generic): Fix documentation. Do not require :tstart
6435 and :tend when :splice is omitted.
6437 2008-05-09 Bernt Hansen <bernt@norang.ca>
6439 * org-clock.el (org-clock-select-task): Make sure the selection
6440 letters are 1-9 and A-Z, no special characters.
6442 2008-05-09 Carsten Dominik <dominik@science.uva.nl>
6444 * org-exp.el (org-export-htmlize): New group.
6445 (org-export-htmlize-output-type)
6446 (org-export-htmlize-css-font-prefix): New options.
6447 (org-export-htmlize-region-for-paste): New function.
6448 (org-export-htmlize-generate-css): New command.
6450 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
6452 * org/org.el (org-modules, org-format-latex-options):
6453 * org/org-archive.el (org-archive-stamp-time)
6454 (org-archive-save-context-info):
6455 * org/org-faces.el (org-hide):
6456 * org/org-irc.el (org-irc-parse-link):
6457 * org/org-macs.el (org-call-with-arg, org-autoload):
6458 * org/org-mew.el (org-mew-store-link):
6459 * org/org-remember.el (org-remember-store-without-prompt)
6460 (org-remember-templates): Fix typos in docstrings.
6462 * org/org-info.el (org-info-store-link): Remove leftover docstring.
6464 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6465 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6466 (org-bbdb-anniv-split): Fix typos in docstrings.
6468 * org/org-publish.el (org-publish-project-alist): Doc fixes.
6469 (org-publish-use-timestamps-flag): Reflow docstring.
6470 (org-publish-files-alist): Fix typos in docstring.
6472 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
6474 * org.el (org-set-visibility-according-to-property): New function.
6475 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6476 and compute the regular expressions, and update font-lock.
6477 (org-property-re): Allow a dash in property names.
6479 * org-archive.el (org-extract-archive-file): Insert the file name
6480 without the path into the format, to allow the location format to
6481 contain a subdirectory.
6483 * org-agenda.el (org-agenda-post-command-hook): If point is at end
6484 of buffer, and the `org-agenda-type' property undefined, use the
6485 value from the character before.
6487 * org.el (org-add-planning-info): Don't let indentation for
6488 would-be timestamp become extra whitespace at the end of headline.
6490 2008-05-07 Carsten Dominik <dominik@science.uva.nl>
6492 * org.el (org-remove-double-quotes, org-file-contents): New
6495 * org-exp.el (org-infile-export-plist): Also parse the
6496 contents of #+SETUPFILE files, recursively.
6498 * org.el (org-set-regexps-and-options): Also parse the
6499 contents of #+SETUPFILE files, recursively.
6501 * org-exp.el (org-export-handle-include-files): New function.
6502 (org-export-preprocess-string): Call
6503 `org-export-handle-include-files'.
6505 * org.el (org-delete-property-globally)
6506 (org-delete-property, org-set-property): Ignore case during
6508 (org-set-property): Use `org-completing-read' instead of
6511 * org.el (org-complete-expand-structure-template): New,
6512 experimental function.
6513 (org-structure-template-alist): New, experimental option.
6514 (org-complete): Call `org-complete-expand-structure-template'.
6516 2008-05-06 Bastien Guerry <bzg@altern.org>
6518 * org-export-latex.el (org-export-latex-preprocess): Added
6519 support for blockquotes.
6521 2008-05-05 Carsten Dominik <dominik@science.uva.nl>
6523 * org.el (org-read-date-analyze): Catch the case where only a
6526 2008-05-04 Carsten Dominik <dominik@science.uva.nl>
6528 * org.el (org-set-font-lock-defaults): Make the description
6531 * org-exp.el (org-export-as-html, org-close-li): Implement
6534 2008-05-04 Jason Riedy <jason@acm.org>
6536 * org-table.el (*orgtbl-default-fmt*): New variable.
6537 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6538 when there is no other fmt available.
6540 (orgtbl-to-generic): Allow an explicitly nil :tstart or
6541 :tend to suppress the appropriate string.
6543 (orgtbl-to-orgtbl): New function for translating to another orgtbl
6546 2008-05-02 Carsten Dominik <dominik@science.uva.nl>
6548 * org.el (org-read-date-analyze): "." as an alias for "+0" in
6551 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6554 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6557 2008-05-01 Carsten Dominik <dominik@science.uva.nl>
6559 * org-clock.el (org-clock-find-position): Don't include notes
6562 * org-archive.el (org-archive-subtree): No longer remove an
6563 extra line after cutting the subtree. `org-cut-subtree' already
6566 * org-remember.el (org-remember-handler): Only kill the target
6567 buffer if it does not contain the running clock.
6569 * org.el (org-markers-to-move): New variable.
6570 (org-save-markers-in-region, org-check-and-save-marker)
6571 (org-reinstall-markers-in-region): New function.
6572 (org-move-subtree-down, org-copy-subtree): Remember relative
6573 marker positions before cutting.
6574 (org-move-subtree-down, org-paste-subtree): Restore relative
6575 marker positions after pasting.
6577 * org-remember.el (org-remember-clock-out-on-exit): New option.
6578 (org-remember-finalize): Clock out only if the setting in
6579 `org-remember-clock-out-on-exit' requires it.
6580 (org-remember-handler): Do the cleanup in the buffer, to make sure
6581 that the clock marker remains in tact.
6583 2008-04-29 Carsten Dominik <dominik@science.uva.nl>
6585 * org-clock.el (org-clock-goto): Widen buffer if necessary.
6586 (org-clock-in): Make sure that also tasks outside the narrowed
6587 region will be clocked in correctly.
6588 (org-clock-insert-selection-line): Widen the buffer so that we can
6589 find the correct task heading.
6591 * org.el (org-base-buffer): New function.
6593 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6594 and ";" are escaped.
6595 (org-print-icalendar-entries): Also apply
6596 `org-icalendar-cleanup-string' to the headline, not only to the
6599 2008-04-28 Carsten Dominik <dominik@science.uva.nl>
6601 * org-exp.el (org-export-preprocess-hook): New hook.
6602 (org-export-preprocess-string): Call
6603 `org-export-preprocess-hook'.
6605 * org.el (org-font-lock-hook): New variable.
6606 (org-font-lock-hook): New function.
6607 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6611 ;; add-log-time-zone-rule: t
6614 Copyright (C) 2008 Free Software Foundation, Inc.
6616 This file is part of GNU Emacs.
6618 GNU Emacs is free software: you can redistribute it and/or modify
6619 it under the terms of the GNU General Public License as published by
6620 the Free Software Foundation, either version 3 of the License, or
6621 (at your option) any later version.
6623 GNU Emacs is distributed in the hope that it will be useful,
6624 but WITHOUT ANY WARRANTY; without even the implied warranty of
6625 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6626 GNU General Public License for more details.
6628 You should have received a copy of the GNU General Public License
6629 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
6631 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c