1 2009-08-16 Carsten Dominik <carsten.dominik@gmail.com>
3 * org-latex.el (org-export-latex-packages-alist): Fix
6 * org.el (org-create-formula-image): Also use
7 `org-export-latex-packages-alist'.
9 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
10 (org-export-as-html): Format footnotes correctly.
12 2009-08-14 Carsten Dominik <carsten.dominik@gmail.com>
14 * org.el (org-fast-tag-selection): Avoid text properties on tags
17 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
18 text properties on the match element.
20 2009-08-12 Carsten Dominik <carsten.dominik@gmail.com>
22 * org.el (org-set-regexps-and-options): Make sure the list of done
23 keywords is not invalid.
25 * org-exp.el (org-export-interpolate-newlines): New function.
27 2009-08-11 Carsten Dominik <carsten.dominik@gmail.com>
29 * org.el (org-format-latex): Avoid nested overlays.
31 * org-latex.el (org-export-latex-listings-langs): Add a few more
34 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
35 ignore newlines and space before the first macro argument.
37 * org-latex.el (org-export-latex-tables): Remove save-excursion
38 around `org-table-align'.
40 2009-08-10 Carsten Dominik <carsten.dominik@gmail.com>
42 * org.el (org-export-html-special-string-regexps): Definition
45 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
48 2009-08-09 Carsten Dominik <carsten.dominik@gmail.com>
50 * org-latex.el (org-export-latex-listings)
51 (org-export-latex-listings-langs): New options.
53 * org-exp.el (org-export-format-source-code-or-example): Use
54 listing package if requested by the user.
56 2009-08-08 Bastien Guerry <bzg@altern.org>
58 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
59 command before actually switching to a buffer.
61 2009-08-07 Carsten Dominik <carsten.dominik@gmail.com>
63 * org-exp.el (org-get-file-contents): Only quote org lines when
64 the markup is src or example.
66 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
68 (org-agenda-get-day-entries): Remember deadline results and pass
69 them on into the function getting the scheduling information.
70 (org-agenda-get-scheduled): Accept deadline results as parameters
71 and maybe skip some entries.
72 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
74 * org.el (org-insert-heading): When respecting content, do not
75 convert current line to headline.
77 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
78 cheeeeeck the hd marker
79 (org-clock-in): Also set the hd marker.
80 (org-clock-out): Also set the hd marker.
81 (org-clock-cancel): Reset markers.
83 * org.el (org-clock-hd-marker): New marker.
85 * org-faces.el (org-agenda-clocking): New face.
87 * org-agenda.el (org-agenda-mark-clocking-task): New function.
88 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
90 * org.el (org-modules): Add org-track.el.
92 * org-agenda.el (org-agenda-bulk-marked-p): New function.
93 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
94 `org-agenda-bulk-marked-p'.
95 (org-agenda-bulk-toggle): New command.
97 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
99 * org.el (org-move-subtree-down): Hide subtree if it was folded,
102 * org-remember.el (org-remember-finalize): Avoid buffer-modified
105 2009-08-05 Carsten Dominik <carsten.dominik@gmail.com>
107 * org-latex.el (org-export-latex-first-lines): Fix bug with
108 finding the end of the first lines.
110 * org.el (org-create-formula-image): Remove the -E option for
113 * org-exp.el (org-default-export-plist): Respect #+BIND.
114 (org-export-confirm-letbind): New function.
116 * org.el (org-paste-subtree): Test the kill ring entry if it is
118 (org-copy-subtree): Use `org-forward-same-level'.
119 (org-forward-same-level): Respect the `invisibe-ok' arg for
122 2009-08-04 Carsten Dominik <carsten.dominik@gmail.com>
124 * org.el (org-table-map-tables): Make sure cursor is back at table
125 beginning after funcall.
127 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
128 handled before children, and do not error if an entry is not
129 found, probably because it hase been remove when the parent was
132 * org.el (org-ido-completing-read): Accept straight lists for
133 completion as well as alists.
135 * org-html.el (org-export-as-html): Fix parenthesis error in
138 * org-timer.el (org-timer-cancel-timers): Renamed from
139 `org-timer-cancel-timers'.
141 * org.el (org-cycle-internal-local): Fix problem with finding next
144 2009-08-03 Carsten Dominik <carsten.dominik@gmail.com>
146 * org-list.el (org-list-send-list): Call
147 `org-list-goto-true-beginning' instead of
148 `org-list-find-true-beginning', which does not exist.
150 * org-timer.el (org-timer-reset-timers): Use `mapc'.
151 (org-timer-set-timer): Do not assign to heading.
153 * org-id.el (org-id-open): Quote function name.
155 * org-macs.el (org-unmodified): Turn off recording undo
156 information while running inside the macro.
158 * org-indent.el (org-hide-leading-stars-before-indent-mode): New
160 (org-indent-mode): Remember and restore value of
161 org-hide-leading-stars before `org-indent-mode'.
163 * org-table.el (org-table-export): Also work in file-less
166 * org.el (org-startup-indented): New option.
167 (org-startup-options): Add new options indent and noindent.
168 (org-unfontify-region): Remove line-prefix and wrap-prefix
170 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
172 (org-promote, org-demote): Run the new hooks.
174 * org-table.el (org-table-align): Replace leading \n as well.
176 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
177 and `line-wrap' text properties.
179 * org-compat.el (org-kill-new): New function.
181 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
182 `line-wrap' text properties.
184 * org-indent.el: New file.
186 2009-08-02 Carsten Dominik <carsten.dominik@gmail.com>
188 * org.el (org-provide-todo-statistics): Tweak docstring.
190 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
192 2009-08-01 Carsten Dominik <carsten.dominik@gmail.com>
194 * org-exp.el (org-export-as-org): Insert the "-source" string
195 before the extension.
197 * org.el (org-read-date): Make sure the calendar is in the current
199 (org-set-emph-re): Remove the ? from the post-match.
200 (org-emphasis-regexp-components): Add backslash to the
202 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
203 optional so that also lines at the end of the buffers will still
204 be matched as headlines.
206 * org-table.el (org-table-error-on-row-ref-crossing-hline):
207 Variable made obsolete.
208 (org-table-relative-ref-may-cross-hline): New option.
209 (org-table-find-row-type): Honow the new option
210 `org-table-relative-ref-may-cross-hline'.
212 2009-07-31 Carsten Dominik <carsten.dominik@gmail.com>
214 * org-table.el (org-table-cut-region, org-table-copy-region): Work
215 on single field if no active region.
217 2009-07-27 Carsten Dominik <carsten.dominik@gmail.com>
219 * org-latex.el (org-export-latex-make-header): Only insert title
222 * org.el (org-make-options-regexp): Allow empty values.
224 * org-html.el (org-export-as-html): Move hrule detection to after
227 2009-07-26 Carsten Dominik <carsten.dominik@gmail.com>
229 * org-html.el (org-format-org-table-html): Fix colgroup tags.
231 2009-07-23 Carsten Dominik <carsten.dominik@gmail.com>
233 * org.el (org-cycle-internal-local): Improved version of finding
235 (org-cycle-hide-drawers): Only hide drawers if this is really
237 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
238 org-version of this function in Org-mode. We use advice to
239 implement this change, so that future changes to this function in
240 outline.el wil be handled properly.
241 (org-forward-same-level, org-backward-same-level): New commands.
243 2009-07-21 Carsten Dominik <carsten.dominik@gmail.com>
245 * org.el (org-remove-empty-overlays-at)
246 (org-clean-visibility-after-subtree-move): New functons.
247 (org-move-subtree-down): Simplify cleanup of display.
249 2009-07-20 Carsten Dominik <carsten.dominik@gmail.com>
251 * org-mac-message.el (org-mac-message-get-links): Improve
252 docstring. Make argument SELECT-OR-FLAGGED optional, default to
253 "s". Fix the return value.
254 (org-mac-message-insert-flagged): Simplify.
256 * org.el (org-refile-get-location): Tamper with refile history o
257 that history contains compete matches instead of the entered
260 2009-07-19 Carsten Dominik <carsten.dominik@gmail.com>
262 * org.el (org-store-link): Never store a link to an inline task.
264 * org-inlinetask.el (org-inlinetask-insert-task): New command.
266 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
267 inline tasks when positioning footnotes.
269 * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
272 * org.el (org-refile): Remove the END line when archiving an
273 inline task that does have an END line.
275 * org-archive.el (org-archive-subtree): Remove the END line when
276 archiving an inline task that does have an END line.
278 * org-macs.el (org-with-limited-levels): New macro.
279 (org-get-limited-outline-regexp): New function.
281 * org-exp.el (org-export-format-source-code-or-example): Fix bug
282 that did not enumerate first line.
283 (org-export-mark-radio-links): Skip matches in links.
285 2009-07-18 Carsten Dominik <carsten.dominik@gmail.com>
287 * org.el (org-activate-plain-links): Make single-match.
288 (org-adapt-indentation): Fix docstring.
290 * org-macs.el (org-unmodified): Turn of modification hooks while
293 2009-08-02 Bastien Guerry <bzg@altern.org>
295 * org.el (org-adapt-indentation): Slightly improve the docstring.
296 (org-occur): Sends an error when the user inputs an empty string.
297 (org-priority): Bugfix: the tag alignement should happen within
300 2009-07-31 Bastien Guerry <bzg@altern.org>
302 * org.el (org-make-link-regexps): Don't exclude parentheses from
304 (org-cycle-internal-local): When locally cycling, switch directly
305 from CHILDREN to FOLDED if there is no subtree
306 (org-cycle): Update the docstring to document the new behavior of
307 `org-cycle-internal-local'.
309 2009-07-29 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
311 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
312 an abbreviated format for days.
314 2009-07-27 Bastien Guerry <bzg@altern.org>
316 * org-protocol.el (org-protocol-default-template-key): New
319 * org.el (org-refile): Bugfix: save-excursion before reading the
320 refile target, otherwise cursor moves might confuse `org-refile'.
322 * org-html.el (org-export-as-html): Bugfix: correctly convert the
323 footnote reference before the footnote itself.
325 * org.el (org-toggle-heading): Bugfix: correctly convert list
326 items before the first headline.
328 * org-html.el (org-export-html-footnote-format): New option for
329 formatting the footnote reference.
330 (org-export-as-html): Use the new option.
332 * org.el (org-provide-todo-statistics): Allow a list of TODO
333 keywords to compute statistics against headlines containing a
334 keyword from this list.
335 (org-update-parent-todo-statistics): Possibly use the new allowed
336 value of `org-provide-todo-statistics'.
338 2009-07-26 Bastien Guerry <bzg@altern.org>
340 * org-timer.el: Add autoload cookie.
342 * org.el (org-occur-link-in-agenda-files): New function.
344 * org-timer.el (org-timer-last-timer): New variable.
346 * org-agenda.el (org-agenda-mode-map): New key for
347 org-timer-set-timer called from the agenda.
349 * org.el (org-mode-map): New key for org-timer-set-timer.
351 * org-timer.el (org-timer-reset-timers)
352 (org-timer-show-remaining-time, org-timer-set-timer): New
355 * org-clock.el (org-show-notification): Update the docstring.
357 * org.el (org-provide-todo-statistics): Allow new value
358 'all-headlines for this option, which includes entries with no
359 TODO keywords in the todo statistics.
360 (org-update-parent-todo-statistics): Possibly use the new
361 'all-headline value from `org-provide-todo-statistics'.
363 2009-07-25 Bastien Guerry <bzg@altern.org>
365 * org-clock.el (org-dblock-write:clocktable): Add a new option
366 :timestamp which allows display of timestamps in clock reports.
368 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
369 list to a subtree, preserving the structure of the list.
370 (org-set-emph-re): Make the last element optional in the regexp.
371 This regexp now matches an emphasized string at the end of a line.
373 * org-list.el (org-list-goto-true-beginning)
374 (org-list-make-subtree, org-list-make-subtrees): New functions.
376 * org.el (org-eval-in-calendar): Select the right frame.
377 (org-save-frame-excursion): Remove this macro.
379 2009-07-24 Bastien Guerry <bzg@altern.org>
381 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
382 trying to find the beginning of a list.
384 * org-exp.el (org-get-file-contents): Use a new argument: markup.
385 When present, tell org-get-file-contents not to protect org-like
388 * org-id.el (org-id-uuid-program): New option to set the name of
390 (org-id-method): Use `org-id-uuid-program'.
391 (org-id-new): Use `org-id-uuid-program'.
393 2009-07-23 Bastien Guerry <bzg@altern.org>
395 * org-exp.el (org-export-number-lines): Allow whitespace in code
396 references. Allow the -r switch to remove the references in the
397 source code even when the lines are not numbered: the labels can
400 * org.el (org-fontify-whole-heading-line): New option.
401 (org-set-font-lock-defaults): Use the new option.
403 * org-clock.el (org-show-notification-handler): New option.
404 (org-show-notification): Use the new option.
406 2009-07-21 Bastien Guerry <bzg@altern.org>
408 * org.el (org-eval-in-calendar): Fix a bug about calendar
409 navigation when `calendar-setup' value is 'calendar-only.
411 2009-07-19 Bastien Guerry <bzg@altern.org>
413 * org.el (orgstruct++-mode): Fix typo in docstring.
414 (org-insert-link): Clean up: (or (...)) => (...)
415 (org-insert-link): Use TAB for stored links completion.
417 2009-07-18 Bastien Guerry <bzg@altern.org>
419 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
420 building the list of targets.
422 * org-remember.el (org-remember-delete-empty-lines-at-end): New
424 (org-remember-handler): Use the new option.
426 2009-07-17 James TD Smith <ahktenzero@mohorovi.cc>
428 * org.el (org-tags-sort-function): New option for sorting tags.
429 (org-set-tags): Use the new option to sort tags.
431 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
432 premature deletion of the data when using org-plot in a script.
434 2009-07-17 Bastien Guerry <bzg@altern.org>
436 * org-clock.el (org-clock-in-prepare-hook): New hook.
437 (org-clock-in): Use this new hook.
439 2009-07-16 Bastien Guerry <bzg@altern.org>
441 * org.el (org-special-ctrl-a/e): Explicitely bind the value
442 'reversed for this option to the "true line boundary first"
444 (org-tags-match-list-sublevels): Document the 'indented value for
447 * org-latex.el (org-export-latex-first-lines): Fix problem with
448 publishing the region.
450 * org-exp.el (org-export-format-source-code-or-example): Fix
451 bad line numbering when exporting examples in HTML.
453 2009-07-12 James TD Smith <ahktenzero@mohorovi.cc>
455 * org-colview.el (org-format-time-period): Formats a time in
456 fractional days as days, hours, mins, seconds.
457 (org-columns-display-here): Add special handling for SINCE and
458 SINCE_IA to format for display.
460 * org.el (org-time-since): Add a function to get the time since an
462 (org-entry-properties): Add two new special properties: SINCE and
463 SINCE_IA. These give the time since any active or inactive
464 timestamp in an entry.
465 (org-special-properties): Add SINCE, SINCE_IA.
466 (org-tags-sort-function): Add custom declaration for tags
468 (org-set-tags): Sort tags if org-tags-sort-function is set
470 2009-07-08 Carsten Dominik <carsten.dominik@gmail.com>
472 * org-clock.el (org-clock-goto): Find hidden headlines as well.
474 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
476 * org-plot.el (org-plot/add-options-to-plist): Add timeind
479 2009-07-07 Carsten Dominik <carsten.dominik@gmail.com>
481 * org-publish.el (org-publish-remove-all-timestamps): New function.
482 (org-publish-all): Remove all timestamp files if `org-publish-all'
483 is called with a prefix argument.
485 * org-list.el (org-indent-item): Fix typo.
486 (org-item-indent-positions): Normalize ordered bullet.
488 * org-html.el (org-export-html-home/up-format): New option.
489 (org-export-as-html): Insert the up and HOME links.
491 2009-07-06 Carsten Dominik <carsten.dominik@gmail.com>
493 * org-html.el (org-export-as-html): Insert the title into the
495 (org-export-html-insert-plist-item): New function.
496 (org-export-as-html): Call `org-export-html-insert-plist-item'.
498 * org-macs.el (org-set-local): Make a local variable, do not make
499 the variable buffer-local!
501 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
503 * org-html.el (org-export-as-html): Call `org-install-letbind'.
505 * org-docbook.el (org-export-as-docbook): Call
506 `org-install-letbind'.
508 * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
510 * org-exp.el (org-infile-export-plist): Read BIND lines.
511 (org-install-letbind): New function.
512 (org-export-as-org, org-export-preprocess-string): Call
513 `org-install-letbind'.
515 * org-src.el (org-edit-src-exit): Untabify the example before
518 * org-list.el (org-list-demote-modify-bullet): New option.
519 (org-first-list-item-p): Save point.
520 (org-fix-bullet-type): New optional argument FORCE-BULLET.
521 (org-indent-item): Honor `org-list-demote-modify-bullet'.
522 (org-item-indent-positions): Return bullet types along with
525 2009-07-05 Carsten Dominik <carsten.dominik@gmail.com>
527 * org.el (org-show-entry): Hide drawers.
529 2009-07-03 Carsten Dominik <carsten.dominik@gmail.com>
531 * org-footnote.el (org-footnote-auto-adjust): New option.
532 (org-footnote-auto-adjust-maybe): New function.
533 (org-footnote-new, org-footnote-delete): Call
534 `org-footnote-auto-adjust-maybe'.
536 * org.el (org-startup-options): Add new footnote-related
539 * org-publish.el (org-publish-timestamp-filename): Additional
540 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
541 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
542 TRUE-PUB-DIR. Pass them through to
543 `org-publish-timestamp-filename'.
544 (org-publish-update-timestamp): Additional arguments PUB-DIR and
545 PUB-FUNC, which are included in the hash.
546 (org-publish-file): Delay timestamp test until the publishing
549 2009-07-02 Carsten Dominik <carsten.dominik@gmail.com>
551 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
552 setting the deadline.
554 * org.el (org-read-date-final-answer): New variable.
555 (org-read-date): Store the final answer string, including the date
556 from the calendar, for reuse by agenda bulk commands.
558 * org-publish.el (org-publish-attachment): Fix publishing of
561 * org-latex.el (org-export-latex-quotation-marks): Fix export of
562 quotation makrs in parenthesis.
563 (org-remove-initial-hash): New function.
564 (org-export-latex-preprocess): Fix bug with infinite loop if
565 environment is not properly closed.
567 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
570 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
571 highlight also when indented.
573 2009-07-01 Carsten Dominik <carsten.dominik@gmail.com>
575 * org-footnote.el (org-footnote-renumber-fn:N): New command.
576 (org-footnote-action): Offer renumbering.
578 * org.el (org-cycle): Honor the `integrate' value of
579 org-cycle-include-plain-lists'.
581 * org-list.el (org-cycle-include-plain-lists): New allowed value
582 `internal'. Improve the docstring.
584 * org.el (org-set-autofill-regexps): Improve the paragraph-start
585 regexp to work better with LaTeX commands.
587 2009-06-30 Carsten Dominik <carsten.dominik@gmail.com>
589 * org-feed.el (org-feed-update): fix problem with non-existing
591 (org-feed-skip-http-headers): New function.
592 (org-feed-get-feed): Call `org-feed-skip-http-headers'.
593 (org-feed-get-feed): Fix command line arguments for curl.
595 2009-06-28 Carsten Dominik <carsten.dominik@gmail.com>
597 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
600 2009-06-27 Carsten Dominik <carsten.dominik@gmail.com>
602 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
605 * org.el (org-map-entries): No longer force
606 `org-tags-match-list-sublevels' to t during a todo-only tags
609 2009-06-26 Carsten Dominik <carsten.dominik@gmail.com>
611 * org-latex.el (org-export-latex-low-levels): Allow user-defined
613 (org-export-latex-subcontent): Handle user-defined environment.
615 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
618 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
621 * org-latex.el (org-export-as-pdf): Protect match data during call
622 to shell-quote-argument.
624 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
625 (org-agenda-view-mode-dispatch): New function.
627 2009-06-24 Carsten Dominik <carsten.dominik@gmail.com>
629 * org-agenda.el (org-agenda-mode): Reset list of marks.
630 (org-agenda-mode-map): Define new keys for refile and bulk action.
631 (org-agenda-menu): Add menu itesm for refile and bulk action.
632 (org-agenda-refile): New function.
633 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
634 (org-agenda-marked-entries): New variable.
635 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
636 (org-agenda-remove-all-bulk-action-marks)
637 (org-agenda-bulk-action): New functions/commands.
639 2009-06-23 Carsten Dominik <carsten.dominik@gmail.com>
641 * org-exp.el (org-get-file-contents): Protect org-like lines in
643 (org-export-format-source-code-or-example): Remove newlines.
645 * org-latex.el (org-export-latex-links): Check for no-description
648 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
649 argument separator back to comma.
650 (org-export-normalize-links): Mark links without description.
652 2009-06-22 Carsten Dominik <carsten.dominik@gmail.com>
654 * org-exp.el (org-infile-export-plist): Fix bug in macro
657 * org-agenda.el (org-agenda-clock-out): Update line after clocking
659 (org-agenda-highlight-todo): Fix bug with highlighting.
661 2009-06-21 Carsten Dominik <carsten.dominik@gmail.com>
663 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
664 new alignment strings.
666 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
668 (org-table-align): Check for forced align type.
670 * org.el (org-self-insert-command): Add yas/expand to command
673 * org-clock.el (org-clock-in-hook): New hook.
674 (org-clock-in): Run `org-clock-in-hook.
675 (org-clock-out-hook): New hook.
676 (org-clock-out): Run `org-clock-out-hook.
677 (org-clock-cancel-hook): New hook.
678 (org-clock-cancel): Run `org-clock-cancel-hook.
679 (org-clock-goto-hook): New hook.
680 (org-clock-goto): Run `org-clock-goto-hook.
682 2009-06-20 Carsten Dominik <carsten.dominik@gmail.com>
684 * org.el (org-store-link): Better default description for link to
687 * org-exp.el (org-export-generic): Autoload the generic exporter
689 (org-export): Implement the `g' key for the generic exporter.
691 2009-06-19 Carsten Dominik <carsten.dominik@gmail.com>
693 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
696 * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
698 * org-exp.el (org-infile-export-plist): Get macros also from
701 2009-06-18 Carsten Dominik <carsten.dominik@gmail.com>
703 * org-colview.el (org-columns-capture-view): Protect vertical bars
705 (org-columns-capture-view): Exclude comment and archived trees.
707 * org-colview-xemacs.el (org-columns-capture-view): Protect
708 vertical bars in column values.
709 (org-columns-capture-view): Exclude comment and archived trees.
711 * org.el (org-quote-vert): New function.
713 * org-latex.el (org-export-latex-verbatim-wrap): New option.
715 * org-exp.el (org-export-format-source-code-or-example): Use
716 `org-export-latex-verbatim-wrap'.
718 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
721 * org-html.el (org-export-table-row-tags): New option.
722 (org-format-org-table-html): Rename `nlines' to `nline', use new
726 2009-06-17 Carsten Dominik <carsten.dominik@gmail.com>
728 * org-exp-blocks.el: Declare functions and variables.
730 * org-remember.el (org-remember-templates): Allow the headline
731 element to be a function.
732 (org-remember-apply-template): If the headline is a function, call
733 it to get the true function.
735 * org-clock.el (org-clock-menu): New function.
736 (org-clock-update-mode-line): Update help string.
737 (org-clock-modify-effort-estimate): New function.
738 (org-clock-mark-default-task): New function.
740 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
742 (org-org-menu): Add new clocking stuff.
743 (org-clock-is-active): New function.
745 2009-06-14 Carsten Dominik <carsten.dominik@gmail.com>
747 * org.el (org-open-non-existing-files): Improve docstring.
749 2009-06-11 Carsten Dominik <carsten.dominik@gmail.com>
751 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
753 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
755 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
757 * org-list.el (org-get-checkbox-statistics-face): Use the new
760 * org-faces.el (org-checkbox-statistics-todo)
761 (org-checkbox-statistics-done): New faces.
763 2009-06-09 Carsten Dominik <carsten.dominik@gmail.com>
765 * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
766 (org-edit-src-exit): Better cursor positioning when returning from
769 * org-latex.el (org-export-latex-use-verb): New variable.
770 (org-export-latex-emph-format): Prefer \texttt over \verb when
771 org-export-latex-use-verb is set.
773 2009-06-08 Carsten Dominik <carsten.dominik@gmail.com>
775 * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
776 at normal indentation.
778 * org-html.el (org-export-html-close-lists-maybe): Also look at
781 * org-remember.el (org-remember-handler): Abort remember if the
784 * org-src.el (org-edit-src-content-indentation): New option.
785 (org-edit-src-exit): Apply extra indentation.
787 * org-exp.el (org-export-format-source-code-or-example): Run
790 * org-src.el (org-src-mode-hook): New variable.
791 (org-edit-src-code): Run `org-src-mode-hook'.
793 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
795 * org.el (org-indent-line-function): Fix indentation of +#end lines.
797 * org-src.el (org-edit-src-get-indentation): New function.
798 (org-edit-src-code): Base indentation on the begin line.
800 2009-06-07 Tassilo Horn <tassilo@member.fsf.org>
802 * org-gnus.el (org-gnus-store-link): Require message.el in
805 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
807 * org-src.el: New file, split out of org.el
809 * org-docbook.el (org-export-as-docbook): Better indentation
812 * org-macs.el (org-replace-match-keep-properties): New function.
814 * org-exp.el (org-export-mark-blockquote-verse-center): Better
815 preprocessing of center and quote and verse blocks.
817 * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
818 (org-export-as-docbook): Close lists when original indentation
821 * org-html.el (org-export-html-close-lists-maybe): New function.
822 (org-export-as-html): Close lists when original indentation
825 * org-list.el (org-list-end): Respect the stored "original"
826 indentation when determining the end of the list.
828 * org-exp.el (org-export-replace-src-segments-and-examples):
829 Remember indentation correctly.
831 2009-06-06 Carsten Dominik <carsten.dominik@gmail.com>
833 * org-clock.el (org-clock-update-mode-line): Apply face
836 * org-faces.el (org-mode-line-clock): New face.
838 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
840 * org-gnus.el (org-gnus-store-link): Fix bug where
841 `org-gnus-store-link' used wrong subject when called in an article
842 buffer. Patch provided by fengli AT gmail DOT com.
844 2009-06-04 Carsten Dominik <carsten.dominik@gmail.com>
846 * org-exp.el (org-export-format-source-code-or-example): Remember
847 the original indentation of source code snippets and examples.
849 * org-latex.el (org-export-as-latex): Relocate the table of
852 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
854 * org-agenda.el (org-run-agenda-series): Scope global options also
855 when creating the agenda buffer.
857 2009-06-03 Carsten Dominik <carsten.dominik@gmail.com>
859 * org.el (org-adapt-indentation): Improve documentation.
860 (org-insert-property-drawer): Respect org-adapt-indentation when
861 inserting the drawer.
862 (org-remove-flyspell-overlays-in): New function.
863 (org-do-emphasis-faces, org-activate-plain-links)
864 (org-activate-code, org-fontify-meta-lines-and-blocks)
865 (org-activate-angle-links, org-activate-footnote-links)
866 (org-activate-bracket-links, org-activate-dates)
867 (org-activate-target-links, org-activate-tags): Remove flyspell
870 2009-06-02 Carsten Dominik <carsten.dominik@gmail.com>
872 * org.el (org-edit-src-save): New function.
874 * org-clock.el (org-clock-out-switch-to-state): New option.
875 (org-clock-out): Honor `org-clock-out-switch-to-state'.
877 * org-compat.el (org-compatible-face): Improve macro.
879 * org.el (org-global-properties-fixed): Add default for
880 CLOCK_MODELINE_TOTAL.
882 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
884 (org-clock-sum-current-item): Optional argument TSTART, pass it to
886 (org-clock-get-sum-start): New function.
888 * org.el (org-startup-options): New keywords blockhide and
890 (org-mode): Add new invisibility spec.
891 (org-set-startup-visibility): Hide block on startup if so
893 (org-hide-block-startup): New option.
894 (org-block-regexp): New constant.
895 (org-hide-block-overlays): New variable.
896 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
897 (org-show-block-all, org-hide-block-toggle-maybe)
898 (org-hide-block-toggle): New functions.
899 (org-edit-src-exit): Do not quote lines starting with # and no +
901 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
904 2009-05-30 Carsten Dominik <carsten.dominik@gmail.com>
906 * org.el (org-buffer-property-keys): Add Effort property for
909 2009-05-28 Carsten Dominik <carsten.dominik@gmail.com>
911 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
912 when retrieving total clocked time in the subtree.
914 * org.el (org-quoting-blocks): New variable.
916 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
918 * org-table.el (org-table-store-formulas)
919 (org-table-get-stored-formulas, org-table-fix-formulas)
920 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
921 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
923 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
924 indented #+TBLFM line.
926 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
927 indented #+TBLFM line.
929 * org-colview.el (org-dblock-write:columnview): Allow indented
932 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
933 indented #+TBLFM line.
935 * org-clock.el (org-dblock-write:clocktable): Allow indented
938 2009-05-26 Carsten Dominik <carsten.dominik@gmail.com>
940 * org-exp.el (org-export-format-source-code-or-example): Make
941 editing indented blocks work correctly.
943 * org.el (org-edit-src-nindent): New variable.
944 (org-edit-src-code, org-edit-fixed-width-region)
945 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
946 editing indented blocks work correctly.
948 2009-05-24 Carsten Dominik <carsten.dominik@gmail.com>
950 * org-exp.el (org-export-replace-src-segments-and-examples): FInd
952 (org-export-format-source-code-or-example): Fix indentation of
954 (org-export-remove-indentation): New function.
955 (org-export-select-backend-specific-text): Allow backend-specific
957 (org-export-mark-blockquote-verse-center): Allow markers to be
960 * org.el (org-fontify-meta-lines): New function.
961 (org-set-font-lock-defaults): Call the new fontification
964 * org-faces.el (org-meta-line): New face
965 (org-block): New face.
967 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
969 * org.el (org-treat-insert-todo-heading-as-state-change)
970 (org-treat-S-cursor-todo-selection-as-state-change): New
972 (org-insert-todo-heading): Honor
973 `org-treat-insert-todo-heading-as-state-change'.
974 (org-shiftright, org-shiftleft): Honor
975 `org-treat-S-cursor-todo-selection-as-state-change'.
976 (org-inhibit-logging): New variable.
978 2009-05-23 Carsten Dominik <carsten.dominik@gmail.com>
980 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
981 range for marker position checking.
983 * org-latex.el (org-export-latex-first-lines): Fix bug when
986 2009-05-22 Carsten Dominik <carsten.dominik@gmail.com>
988 * org-exp.el (org-export-push-to-kill-ring): Protect using
989 x-set-selection, because that does not always work.
991 * org-agenda.el (org-agenda-list): Apply the new face
992 `org-agenda-date-today'.
994 * org-faces.el (org-agenda-date-today): New face.
996 2009-05-21 Carsten Dominik <carsten.dominik@gmail.com>
998 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
999 creating appointments.
1001 * org-latex.el (org-export-latex-low-levels): Fix customization
1004 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
1007 * org-agenda.el (org-agenda-priority): Disable priority commands.
1009 * org.el (org-enable-priority-commands): New option.
1011 * org-colview-xemacs.el (org-columns-compute)
1012 (org-columns-number-to-string): Fix problems with empty fields.
1014 * org-colview.el (org-columns-compute)
1015 (org-columns-number-to-string): Fix problems with empty fields.
1017 * org-exp.el (org-export-push-to-kill-ring): New function.
1018 (org-export-copy-to-kill-ring): New option.
1020 * org-latex.el (org-export-as-latex): Call
1021 `org-export-push-to-kill-ring'.
1023 * org-html.el (org-export-as-html): Call
1024 `org-export-push-to-kill-ring'.
1026 * org-docbook.el (org-export-as-docbook): Call
1027 `org-export-push-to-kill-ring'.
1029 * org-ascii.el (org-export-as-ascii): Call
1030 `org-export-push-to-kill-ring'.
1032 * org-exp.el (org-export-show-temporary-export-buffer): New
1035 * org-latex.el (org-export-as-latex): Use
1036 `org-export-show-temporary-export-buffer'.
1038 * org-html.el (org-export-as-html): Use
1039 `org-export-show-temporary-export-buffer'.
1041 * org-docbook.el (org-export-as-docbook): Use
1042 `org-export-show-temporary-export-buffer'.
1044 * org-ascii.el (org-export-as-ascii-to-buffer): Use
1045 `org-export-show-temporary-export-buffer'.
1047 * org-exp.el (org-export-show-temporary-export-buffer): New
1049 (org-export-push-to-kill-ring): New function.
1051 * org-colview.el (org-columns-compile-map): New variable.
1052 (org-columns-new, org-columns-compute)
1053 (org-columns-number-to-string, org-columns-uncompile-format)
1054 (org-columns-compile-format): Implement new operators.
1056 2009-05-20 Carsten Dominik <carsten.dominik@gmail.com>
1058 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
1060 * org-html.el (org-export-html-xml-declaration): New option.
1061 (org-export-as-html): Use `org-export-html-xml-declaration'.
1063 * org-list.el (org-update-checkbox-count): Make property
1066 * org.el (org-hierarchical-todo-statistics): New option.
1067 (org-update-parent-todo-statistics): Modified to handle recursive
1070 2009-05-19 Carsten Dominik <carsten.dominik@gmail.com>
1072 * org-publish.el (org-publish): Make this function behave
1073 correctly in interactive use when called with a prefix argument.
1075 * org.el (org-todo-statistics-hook): New hook.
1076 (org-update-parent-todo-statistics): Use new hook.
1077 (org-log-into-drawer): New function.
1078 (org-add-log-setup): Use the new `org-log-into-drawer' function to
1079 determine if we should be logging into a drawer.
1080 (org-log-into-drawer): Update docstring.
1081 (org-default-properties): Add LOG_INTO_DRAWER as a property.
1083 * org-list.el (org-checkbox-statistics-hook): New hook.
1084 (org-update-checkbox-count-maybe): Use new hook.
1086 * org-ascii.el (org-export-ascii-copy-to-kill): New option.
1087 (org-export-as-ascii): Hide export buffer, and copy exported ASCII
1090 2009-05-17 Carsten Dominik <carsten.dominik@gmail.com>
1092 * org-ascii.el (org-export-as-ascii): Fix bug with match string in
1095 2009-05-16 Carsten Dominik <carsten.dominik@gmail.com>
1097 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
1098 better bufer-generating mechanism.
1099 (org-edit-src-find-buffer): New function.
1101 * org-icalendar.el (org-print-icalendar-entries): Don't check for
1102 archive tag, this is already done by `org-agenda-skip'.
1103 data while constructing lost of tags.
1105 2009-05-15 Carsten Dominik <carsten.dominik@gmail.com>
1107 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
1108 as argument separator in macros.
1110 * org-html.el (org-export-as-html): Add xml declaration.
1112 2009-05-14 Carsten Dominik <carsten.dominik@gmail.com>
1114 * org.el (org-after-sorting-entries-or-items-hook): New hook.
1115 (org-sort-entries-or-items): Run the new hook.
1116 (org-after-refile-insert-hook): New hook.
1117 (org-refile): Run `org-after-refile-insert-hook'.
1119 * org-agenda.el (org-agenda-get-progress): Never take time of day
1120 from headline when displaying progress.
1122 * org-latex.el (org-export-latex-complex-heading-re): New variable.
1123 (org-export-as-latex): Force the correct regexp in the
1124 preprocessor buffer.
1125 (org-export-latex-set-initial-vars): Set
1126 `org-export-latex-complex-heading-re'.
1128 * org-agenda.el (org-agenda-start-with-log-mode): New option.
1129 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
1131 2009-05-13 Carsten Dominik <carsten.dominik@gmail.com>
1133 * org-latex.el (org-export-latex-tables-centered): New option.
1134 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
1136 * org-exp.el (org-export-as-org): New command.
1137 (org-export-as-org): New command.
1139 * org-publish.el (org-publish-org-to-org): New function.
1141 2009-05-12 Carsten Dominik <carsten.dominik@gmail.com>
1143 * org.el (org-yank): Just call `org-yank-generic'.
1144 (org-yank-generic): New function, containing the formaer
1145 functionality of `org-yank'.
1147 * org-latex.el (org-export-latex-not-done-keywords)
1148 (org-export-latex-done-keywords): New variables.
1149 (org-export-latex-todo-keyword-markup): New option.
1150 (org-export-latex-set-initial-vars): Remember the TODO keywords.
1151 (org-export-latex-keywords-maybe): Apply the TODO markup.
1153 2009-05-11 Carsten Dominik <carsten.dominik@gmail.com>
1155 * org-exp.el (org-infile-export-plist): Add more default macros.
1156 (org-export-preprocess-apply-macros): Process macro arguments.
1158 2009-05-10 Carsten Dominik <carsten.dominik@gmail.com>
1160 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
1162 (org-print-icalendar-entries): Respect the new value of
1163 `org-icalendar-include-todo'.
1165 * org.el (org-link-try-special-completion)
1166 (org-file-complete-link): New functions.
1167 (org-insert-link): Add special completion support for some link
1170 * org-bbdb.el (org-bbdb-complete-link): New function.
1172 2009-05-08 Carsten Dominik <carsten.dominik@gmail.com>
1174 * org-list.el (org-update-checkbox-count): Allow recursive
1176 (org-hierarchical-checkbox-statistics): New option.
1178 * org.el (org-cycle): Remove erraneous space character.
1180 * org-icalendar.el (org-icalendar-timezone): Initialize from
1183 * org-html.el (org-format-org-table-html): Specify the scope.
1184 (org-format-table-table-html): Specify the scope.
1185 (org-export-table-header-tags): Prepare the scope parameter.
1187 2009-05-07 Carsten Dominik <carsten.dominik@gmail.com>
1190 (org-export-html-table-use-header-tags-for-first-column): New
1193 * org.el (org-autoload): Fix autoloading of ascii export
1195 (org-modules): Add org-special-blocks.
1197 2009-05-06 Carsten Dominik <carsten.dominik@gmail.com>
1199 * org-icalendar.el (org-start-icalendar-file): Use the new option.
1200 (org-ical-timezone): New option.
1202 * org-exp.el (org-export-get-coderef-format): Use the description
1205 * org.el (org-sort-entries-or-items): Improve docstring, and make
1206 better implementation for time sorting.
1208 2009-05-05 Carsten Dominik <carsten.dominik@gmail.com>
1210 * org.el (org-edit-src-persistent-message): New option.
1211 (org-edit-src-code, org-edit-fixed-width-region): Use the new
1214 * org-clock.el (org-clock-insert-selection-line): Fix prefious
1217 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
1218 separate buffer instead of indirect buffer to edit source code.
1219 (org-edit-src-exit): Make this function work with the new setup.
1221 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
1222 are properly fontified before shown in the selection menu.
1224 * org.el (org-fontify-like-in-org-mode): New function.
1226 * org-latex.el (org-export-latex-links): Use the property list to
1227 retrieve the default image attributes.
1229 * org-exp.el (org-export-plist-vars): Add a new option.
1231 2009-05-04 Carsten Dominik <carsten.dominik@gmail.com>
1233 * org-exp.el (org-export, org-export-visible): Support ASCII
1235 (org-export-normalize-links): Do not protect the description if it
1236 is explicitly given.
1238 * org-ascii.el (org-export-as-ascii-to-buffer)
1239 (org-replace-region-by-ascii, org-export-region-as-ascii): New
1241 (org-export-as-ascii): Add all the same parameters that are also
1242 supported by the other export functions.
1244 * org-list.el (org-reset-checkbox-state-subtree): Moved here from
1246 (org-reset-checkbox-state-subtree): Call
1247 `org-reset-checkbox-state-subtree'.
1249 * org-remember.el (org-select-remember-template): For the
1250 selection of a valid template.
1252 * org-latex.el (org-export-region-as-latex): Supply the
1253 force-no-subtree argument.
1254 (org-export-as-latex): Provide better limits when exporting the
1255 first line. When exporting to string, we still want the first
1257 (org-export-latex-first-lines): New argument END, to force the end
1259 (org-export-region-as-latex): Use the property list.
1260 (org-export-as-latex):
1262 * org-colview-xemacs.el (org-columns-remove-overlays)
1263 (org-columns): Fix call to `local-variable-p'.
1265 2009-05-02 Carsten Dominik <carsten.dominik@gmail.com>
1267 * org-html.el (org-export-html-after-blockquotes-hook): New hook.
1268 (org-export-as-html): Run the new hook.
1270 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
1271 (org-export-latex-preprocess): Run the new hook.
1273 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
1274 (org-export-preprocess-string): Run the new hook.
1276 2009-04-30 Carsten Dominik <carsten.dominik@gmail.com>
1278 * org-macs.el (org-check-external-command): New defsubst.
1280 * org.el (org-mode-map): New key for reload.
1281 (org-format-latex): Better error message when external programs
1284 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
1286 * org.el (org-sort-entries-or-items): Explicit sorting function
1287 for priorities, needed for XEmacs compatibility.
1289 * org-remember.el (org-remember-apply-template): Improve auto-save
1292 2009-04-29 Carsten Dominik <carsten.dominik@gmail.com>
1294 * org-latex.el (org-export-latex-preprocess): Also protect
1295 environments ending in a star.
1297 * org-list.el (org-at-item-p): Fix regular expression.
1299 2009-04-24 Carsten Dominik <carsten.dominik@gmail.com>
1301 * org.el (org-end-of-subtree): Improve speed.
1303 * org-agenda.el (org-agenda-get-timestamps)
1304 (org-agenda-get-progress, org-agenda-get-deadlines)
1305 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
1306 in particular, wait as long as possible to collect the tags.
1307 (org-stuck-projects): Improve docstring.
1309 * org.el (org-store-link): No errors when getting custom id before
1311 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
1313 2009-04-23 Carsten Dominik <carsten.dominik@gmail.com>
1315 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
1317 * org-protocol.el: Remove dependency on url.el.
1318 (org-protocol-unhex-compound, org-protocol-open-source): Remove
1319 dependency on url.el.
1321 * org-latex.el (org-export-as-pdf): Use
1322 `org-latex-to-pdf-process'.
1324 2009-04-22 Carsten Dominik <carsten.dominik@gmail.com>
1326 * org-latex.el (org-latex-to-pdf-process): New option.
1328 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
1330 (org-agenda-get-timestamps): Honor
1331 `org-agenda-skip-additional-timestamps-same-entry'.
1333 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
1334 (org-clock-goto): Find recent task only if
1335 `org-clock-goto-may-find-recent-task' allows it.
1337 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
1338 drawers, and drawers that are missing the :END: line.
1340 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
1342 * org-clock.el (org-clock-goto): Go to recently clocked task if no
1345 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
1347 * org.el (org-update-parent-todo-statistics): Check for
1348 STATISTICS_FROM property.
1350 * org-list.el (org-update-checkbox-count): Check for
1351 STATISTICS_FROM property.
1353 * org.el (org-tab-first-hook)
1354 (org-tab-after-check-for-table-hook)
1355 (org-tab-after-check-for-cycling-hook): New hooks.
1356 (org-cycle-internal-global, org-cycle-internal-local): New
1357 functions, split out from `org-cycle'.
1358 (org-cycle): Call the new hooks.
1360 2009-04-19 Carsten Dominik <carsten.dominik@gmail.com>
1362 * org-exp.el (org-export-preprocess-string): Reset the list of
1363 preferred targets for each run of the preprocessor.
1365 * org.el (org-refile-target-verify-function): Improve
1367 (org-get-refile-targets): Respect point being moved by the
1368 verification function.
1370 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
1372 (org-export-latex-keywords): Use new option.
1374 * org.el (org-rear-nonsticky-at): New defsubst.
1375 (org-activate-plain-links, org-activate-angle-links)
1376 (org-activate-footnote-links, org-activate-bracket-links)
1377 (org-activate-dates, org-activate-target-links)
1378 (org-activate-tags): Place the rear-nonsticky properties at the
1381 2009-04-18 Carsten Dominik <carsten.dominik@gmail.com>
1383 * org-protocol.el (server-edit): Declare `server-edit'.
1384 (org-protocol-unhex-string, org-protocol-unhex-compound): New
1386 (org-protocol-check-filename-for-protocol): Call `server-edit'.
1388 * org.el (org-default-properties): New default properteis for
1391 * org-exp.el (org-export-add-subtree-options): Add new properties
1394 * org-docbook.el (org-export-docbook-keywords-markup)
1395 (org-export-docbook-timestamp-markup): New options.
1396 (org-export-docbook-protect-tags): New function.
1398 2009-04-17 Carsten Dominik <carsten.dominik@gmail.com>
1400 * org-id.el (org-id-get-with-outline-path-completion): Turn off
1401 org-refile-target-verify-function for the duration of the command.
1403 * org.el (org-link-to-org-use-id): New possible value
1404 `create-if-interactive-and-no-custom-id'.
1405 (org-store-link): Use custom IDs.
1406 (org-link-search): Find custom ID properties from #link.
1407 (org-default-properties): Add CUSTOM_ID for property completion.
1408 (org-refile-target-verify-function): New option.
1409 (org-goto): Turn off org-refile-target-verify-function
1410 for the duration of the command.
1412 2009-04-16 Carsten Dominik <carsten.dominik@gmail.com>
1414 * org-html.el (org-export-as-html): Use custom IDs in the toc.
1416 * org-exp.el (org-export-preferred-target-alist): New variable.
1417 (org-export-define-heading-targets): Find the new CUSTOM_ID
1419 (org-export-target-internal-links): Target the custom ids when
1422 * org-latex.el (org-export-latex-preprocess): Better regexp for
1423 matching latex macros with arguments.
1425 2009-04-15 Carsten Dominik <carsten.dominik@gmail.com>
1427 * org-remember.el (org-remember-handler): Allow filing to non-org
1430 2009-04-15 Magnus Henoch <magnus.henoch@gmail.com>
1432 * org-feed.el (org-feed-alist): New keyword options.
1433 (org-feed-update): Use the new options.
1434 (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
1435 (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
1436 (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
1439 * org-table.el (org-table-fix-formulas): Do not change references
1441 (org-table-get-remote-range): Convert standard coordinates to RC
1444 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
1446 2009-04-14 Carsten Dominik <carsten.dominik@gmail.com>
1448 * org-compat.el (org-sha1-string): Function removed.
1450 * org.el (org-refile-allow-creating-parent-nodes): New option.
1451 (org-refile-get-location): New argument NEW-NODES.
1452 (org-refile): Call `org-refile-get-location' with the new
1454 (org-refile-get-location): Arrange for adding a new child.
1455 (org-refile-new-child): New function.
1457 * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
1458 an additional span element.
1460 * org-clock.el: Fix a number of docstrings.
1461 (org-clock-find-position): New argument
1462 FIND-UNCLOSED to make the function find an unclosed clock in the
1464 (org-clock-in): Call `org-clock-find-position' with the new
1465 argument if we might be resuming a clock.
1467 2009-04-13 Carsten Dominik <carsten.dominik@gmail.com>
1469 * org-latex.el (org-export-latex-display-custom-times): New variable.
1470 (org-export-latex-timestamp-markup): New option.
1471 (org-export-latex-set-initial-vars): Remember the local value of
1472 `org-display-custom-times'.
1473 (org-export-latex-content): Process time stamps.
1474 (org-export-latex-time-stamps): New function.
1476 * org-macs.el (org-maybe-intangible): Add intangible property
1477 again to invisible text.
1479 2009-04-12 Carsten Dominik <carsten.dominik@gmail.com>
1481 * org-exp.el (org-default-export-plist): Handle undefined
1484 2009-04-11 Carsten Dominik <carsten.dominik@gmail.com>
1486 * org.el (org-sort-entries-or-items): Match TODO keywrds
1487 case-sensitively, when sorting.
1488 (org-priority): Do not match TODO keywords with wrong case.
1490 2009-04-09 Carsten Dominik <carsten.dominik@gmail.com>
1492 * org-feed.el (org-feed-update): Bind the variable
1495 * org-html.el (org-export-as-html): Start paragraphs after literal
1498 * org-docbook.el (org-export-as-docbook): Start paragraphs after
1501 2009-04-08 Carsten Dominik <carsten.dominik@gmail.com>
1503 * org.el (org-todo): Honor the NOBLOCKING property.
1505 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
1506 NOBLOCKING property.
1508 * org.el (org-scan-tags): Fix bug in tag scanner
1510 2009-04-07 Carsten Dominik <carsten.dominik@gmail.com>
1512 * org.el (org-modules): Mark obsolete packages.
1514 * org-html.el: New file, split out from org-exp.el.
1516 * org-icalendar.el: New file, split out from org-exp.el.
1518 * org-xoxo.el: New file, split out from org-exp.el.
1520 * org-ascii.el: New file, split out from org-exp.el.
1522 2009-04-06 Carsten Dominik <carsten.dominik@gmail.com>
1524 * org-compat.el (org-find-library-name): New function.
1526 * org.el (org-pre-cycle-hook): New hook.
1527 (org-cycle): Call the new hook in appropriate places.
1528 (org-reload): Only reload files that have been loaded before.
1530 2009-04-05 Carsten Dominik <carsten.dominik@gmail.com>
1532 * org.el (org-set-font-lock-defaults): Enforxe space or line end
1534 (org-todo): When changing TODO state, do matching
1536 (org-map-continue-from): New variable.
1537 (org-scan-tags): Respect values in `org-map-continue-from'.
1538 (org-reload): Make XEmacs compatible.
1540 2009-04-04 Carsten Dominik <carsten.dominik@gmail.com>
1542 * org-protocol.el (org-protocol-flatten-greedy): New function.
1543 (org-protocol-flatten): New function.
1545 * org.el (org-open-link-from-string): Pass reference buffer to
1546 `org-open-at-point'.
1547 (org-open-at-point): New optional argument `reference-buffer'.
1549 2009-04-03 Carsten Dominik <carsten.dominik@gmail.com>
1551 * org.el (org-scan-tags): Make tag scan find headline in first
1553 (org-get-refile-targets): Add the naked file name.
1554 (org-refile): Store as top-level entry when only file name was
1557 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
1559 * org.el (org-block-todo-from-children-or-siblings-or-parent):
1560 Renamed from org-block-todo-from-children-or-siblings, and
1561 enhanced to look for the parent's status as well.
1563 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
1564 (org-agenda-get-progress): Add first notes line to log entry if so
1567 2009-04-02 Carsten Dominik <carsten.dominik@gmail.com>
1569 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
1570 (org-agenda-cleanup-fancy-diary): Call the new hook.
1572 * org-remember.el (org-remember-apply-template): Take the default
1573 for the annotation from the :annotation property.
1575 * org-mac-message.el (org-mac-message-get-link): Remove the
1577 (org-mac-message-get-link): Return the result.
1579 2009-04-01 Carsten Dominik <carsten.dominik@gmail.com>
1581 * org.el (org-refile-get-location): Add file name only if not
1582 already included in outline path.
1584 * org-faces.el (org-n-level-faces): Fix customization type from
1587 * org-exp.el (org-export-headline-levels): Fix customization type
1588 from number to integer.
1590 * org-agenda.el (org-agenda-confirm-kill)
1591 (org-agenda-custom-commands-local-options)
1592 (org-timeline-show-empty-dates, org-agenda-ndays)
1593 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
1594 customization type from number to integer.
1596 2009-03-31 Carsten Dominik <carsten.dominik@gmail.com>
1598 * org-protocol.el: Declare some functions.
1600 * org-inlinetask.el (org-inlinetask-export-handler): Fix line
1601 postion before inserting modified headline.
1603 * org-agenda.el (org-agenda-compare-effort): Honor
1604 `org-sort-agenda-noeffort-is-high'.
1605 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
1606 (org-agenda-compare-effort): Implement the "?" operator for
1607 finding entries without effort setting.
1609 * org.el (org-extract-attributes-from-string): New function.
1611 * org-exp.el (org-export-splice-attributes): New function.
1613 2009-03-30 Carsten Dominik <carsten.dominik@gmail.com>
1615 * org-mouse.el: XEmacs compatibility fixes
1617 * org-docbook.el (org-export-as-docbook): Process footnotes like
1620 * org.el (org-modules): Add org-inlinetasks.el
1621 (org-cycle): Implement limiting level on cycling.
1622 (org-move-subtree-down): Fix bug with swapping subtrees at end of
1625 * org-inlinetask.el: New file.
1627 * org.el (org-emphasis-regexp-components): Allow braces in
1628 emphasis pre and post match.
1630 * org-footnote.el (org-footnote-normalize): When only dorting, do
1631 not insert inline notes at the end.
1633 * org-docbook.el (org-id-find-id-file): Add function declaration.
1635 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
1637 * org-docbook.el: New file.
1639 2009-03-28 Carsten Dominik <carsten.dominik@gmail.com>
1641 * org.el (org-reftex-citation): New command.
1643 2009-03-27 Carsten Dominik <carsten.dominik@gmail.com>
1645 * org-agenda.el (org-agenda-cmp-user-defined): New option.
1646 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
1648 (org-entries-lessp): Apply the new sorting option.
1650 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
1651 blocker code, when an older sibling has children.
1653 * org-mac-message.el (org-mac-message-get-link): Improve getting
1654 links from multiple selected messages.
1656 2009-03-26 Carsten Dominik <carsten.dominik@gmail.com>
1658 * org-remember.el (org-remember-finalize): Do not set buffer file
1660 (org-remember-handler): Mark buffer as unmodified.
1661 (org-remember-handler): Delete backup file and show message about
1662 remaining backup files.
1663 (org-remember-auto-remove-backup-files): New option.
1665 * org.el (org-store-link): Use buffer name as link description in
1667 (org-ido-switchb): Fix argument bug for completion.
1669 * org-remember.el (org-remember-apply-template): Set local
1670 variable `auto-save-visited-file-name' instead of global one.
1672 2009-03-25 Carsten Dominik <carsten.dominik@gmail.com>
1674 * org-feed.el: Re-write.
1676 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
1677 (org-agenda-get-todos): Mark file tags as inherited.
1678 (org-agenda-list): Always search diary lines for a time.
1680 2009-03-24 Carsten Dominik <carsten.dominik@gmail.com>
1682 * org-feed.el (org-feed-assume-stable): New option.
1683 (org-feed-before-adding-hook): New hook.
1685 * org-exp.el (org-export-as-html): Close local lists depending on
1686 indentation, also when starting a table.
1688 * org-remember.el (org-remember-backup-directory)
1689 (org-remember-backup-name): New internal variable.
1691 2009-03-23 Carsten Dominik <carsten.dominik@gmail.com>
1693 * org-clock.el (org-clock-out-if-current): Make buffer detection
1694 work in indirect buffers as well.
1696 * org.el (org-emphasis-regexp-components): Add the exxclamation
1697 mark to the post-emphasis characters.
1699 2009-03-22 Carsten Dominik <carsten.dominik@gmail.com>
1701 * org.el (org-read-date-minibiffer-septup-hook): New hook.
1702 (org-read-date): Run the new hook.
1704 * org-mac-message.el (org-mac-flagged-mail): New group.
1705 (org-mac-mail-account): New variable.
1706 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
1709 * org-remember.el (org-remember-backup-directory): New variable.
1710 (org-remember-apply-template): Write file to backup directory.
1712 2009-03-21 Carsten Dominik <carsten.dominik@gmail.com>
1714 * org-mouse.el (org-mouse-todo-menu): New function.
1715 (org-mouse-todo-keywords): Function removed.
1716 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
1718 * org-table.el (org-table-beginning-of-field)
1719 (org-table-end-of-field): New commands
1720 (org-table-previous-field, org-table-beginning-of-field): Better
1722 (orgtbl-setup): Include `M-a' and `M-e'.
1724 * org.el (org-backward-sentence, org-forward-sentence): New
1727 * org-colview.el (org-colview-initial-truncate-line-value): New
1729 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
1730 (org-columns): Remember the value of `truncate-lines'.
1732 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
1734 (org-columns-remove-overlays): Restore the value of
1736 (org-columns): Remember the value of `truncate-lines'.
1738 * org.el (org-columns-skip-arrchived-trees): New option.
1740 * org-agenda.el (org-agenda-export-html-style): Define color for
1741 org-agenda-done face.
1742 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
1743 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
1745 * org.el (org-scan-tags): Use the new face.
1747 * org-faces.el (org-agenda-done): New face.
1749 * org.el (org-scan-tags): Test the value org
1750 `org-tags-match-list-sublevels'.
1751 (org-tags-match-list-sublevels): New allowed value: indented.
1753 * org-export-latex.el (org-export-latex-make-header): Apply macros
1756 * org-exp.el (org-export-apply-macros-in-string): New function.
1758 * org-export-latex.el (org-export-latex-list-parameters): Fix bug
1759 with the definition of a checked box.
1761 * org-clock.el (org-clock-find-position): Fix drawer indentations.
1763 * org-export-latex.el (org-export-latex-low-levels): More options
1764 for how to process lower levels in LaTeX.
1765 (org-export-latex-subcontent): Better treatment for lists as a
1766 means of publishing lower levels.
1768 2009-03-20 Carsten Dominik <carsten.dominik@gmail.com>
1770 * org.el (org-set-font-lock-defaults): Use new checkbox face.
1772 * org-faces.el (org-checkbox): New face.
1774 * org-exp.el (org-export-html-preprocess): Only create LaTeX
1775 fragement images if there is an export file.
1777 2009-03-19 Carsten Dominik <carsten.dominik@gmail.com>
1779 * org-agenda.el (org-stuck-projects): Document that the subtree of
1780 projects that are not stuck will now be searched for stuck
1782 (org-agenda-skip-entry-when-regexp-matches)
1783 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
1784 (org-agenda-list-stuck-projects): Use
1785 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
1787 * org-export-latex.el (org-export-latex-preprocess): Improve
1790 * org-exp.el (org-export-as-html): Implement centering as a div
1791 rather than a paragraph. Do a better job with line-end in verse
1794 2009-03-17 Carsten Dominik <carsten.dominik@gmail.com>
1796 * org.el (org-open-at-point): Fix tags searches by mouse click.
1798 2009-03-16 Carsten Dominik <carsten.dominik@gmail.com>
1800 * org-export-latex.el (org-export-latex-preprocess): Implement the
1803 * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
1804 from `org-export-mark-blockquote-and-verse'.
1805 (org-export-as-html): Implement the centering markup.
1807 * org-export-latex.el (org-export-latex-tables): Fix vertical
1810 2009-03-15 Carsten Dominik <carsten.dominik@gmail.com>
1812 * org.el (org-read-date-history): New variable.
1813 (org-read-date): Use new history variable.
1814 (org-toggle-heading): Fix bug when used before first headline.
1815 (org-store-log-note): Remove drawer if empty while note is
1817 (org-remove-empty-drawer-at): New function.
1818 (org-check-after-date): New command.
1819 (org-sparse-tree): New sparse tree command "a".
1821 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
1823 2009-03-14 Bastien Guerry <bzg@altern.org>
1825 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
1826 column and a space, not only a column.
1828 2009-03-14 Carsten Dominik <carsten.dominik@gmail.com>
1830 * org-export-latex.el (org-export-latex-emphasis-alist): Better
1831 defaults for verbose emphasis.
1832 (org-export-latex-emph-format): New function.
1833 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
1835 * org-agenda.el (org-agenda-menu): Add new commands to menu.
1836 (org-agenda-do-date-later, org-agenda-do-date-earlier)
1837 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
1838 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
1841 * org.el (org-timestamp-change): Move end-time along with start
1844 2009-03-12 Carsten Dominik <carsten.dominik@gmail.com>
1846 * org-exp.el (org-export-target-internal-links)
1847 (org-export-as-html): Protect links specified as #name.
1849 2009-03-11 Carsten Dominik <carsten.dominik@gmail.com>
1851 * org.el (org-clone-subtree-with-time-shift): New command.
1853 * org-export-latex.el (org-export-latex-special-chars)
1854 (org-export-latex-treat-sub-super-char): Fix subscript export.
1856 * org-exp.el (org-create-multibrace-regexp): Do not add
1857 backslashes to the class.
1859 2009-03-10 Carsten Dominik <carsten.dominik@gmail.com>
1861 * org-colview.el (org-columns-map): Better functions for moving up
1862 and down a row, even if `truncate-line' is nil.
1864 * org.el (org-insert-todo-heading): Make sure the keyword is
1865 inserted at the correct position.
1867 * org-publish.el (org-publish-project-alist)
1868 (org-publish-projects, org-publish-org-index): Change default anme
1869 for the index of file names to "sitemap.org".
1871 * org-export-latex.el (org-export-latex-tables): Use
1872 `org-split-string', for Emacs 21 compatibility.
1874 2009-03-09 Carsten Dominik <carsten.dominik@gmail.com>
1876 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
1878 2009-03-08 Carsten Dominik <carsten.dominik@gmail.com>
1880 * org-exp.el (org-export-page-description)
1881 (org-export-page-keywords): New variables.
1882 (org-export-plist-vars): Add entries for :keywords and
1884 (org-infile-export-plist): Parse for new keywords.
1885 (org-get-current-options): Add new keywords
1886 (org-export-as-html): Publish description and keywords.
1888 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
1890 (org-agenda-add-entry-text): Honor
1891 `org-agenda-add-entry-text-descriptive-links'.
1893 * org-export-latex.el (org-export-latex-preprocess): Make all
1894 external preprocess functions use a PARAMETER arg.
1896 * org-exp.el (org-export-preprocess-string)
1897 (org-export-select-backend-specific-text)
1898 (org-export-format-source-code-or-example)
1899 (org-format-org-table-html): Support docbook export.
1900 (org-export-preprocess-string): Make all external preprocess
1901 functions use a PARAMETER arg.
1903 2009-03-07 Carsten Dominik <carsten.dominik@gmail.com>
1905 * org-exp.el (org-export-html-style-include-scripts): New option.
1906 (org-export-plist-vars): Add new option
1907 `org-export-html-style-include-scripts'.
1908 (org-export-as-html): Honor new option
1909 `org-export-html-style-include-scripts'.
1910 (org-export-html-scripts, org-export-html-style-default): Fix
1911 xml issues with the Safari browser.
1913 2009-03-06 Carsten Dominik <carsten.dominik@gmail.com>
1915 * org-publish.el (org-publish-attachment): Only copy file when the
1918 2009-03-05 Carsten Dominik <carsten.dominik@gmail.com>
1920 * org-clock.el (org-clocktable-steps): Use inactive time stamps
1921 for clocktable steps.
1923 * org.el (org-additional-option-like-keywords): Add two more
1926 2009-03-04 Carsten Dominik <carsten.dominik@gmail.com>
1928 * org-exp.el (org-export-format-source-code-or-example): Mark
1929 temporary buffer unmodified, so that it will be killed even if
1930 mode like message mode has decided to assign a file name.
1932 * org.el (org-scan-tags): Improve tag inheritance.
1933 (org-scan-tags, org-make-tags-matcher): Make tag comparison
1935 (org-scan-tags): Use the internal tags list instead of creating it
1937 (org-trust-scanner-tags, org-scanner-tags): New variables.
1938 (org-scan-tags): Set `org-scanner-tags'.
1939 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
1940 (org-map-entries): Document the possible speedup using scanner
1943 2009-03-03 Carsten Dominik <carsten.dominik@gmail.com>
1945 * org.el (org-add-planning-info): Fix bug with looking for keyword
1948 * org-agenda.el (org-agenda-custom-commands-local-options): Add
1949 option for tags filter preset.
1950 (org-prepare-agenda): Store filter preset as a property on the
1952 (org-finalize-agenda): Call the filter, if there is a preset.
1953 (org-agenda-filter-by-tag): Filter again after clearing the
1954 filter, when there still is a preset.
1955 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
1956 Include the preset filter.
1957 (org-agenda-redo): Apply the filter again, also the preset filter.
1959 * org-exp.el (org-export-as-html): Use IDs in the correct way.
1961 * org.el (org-uuidgen-p): New funtion.
1963 * org-agenda.el (org-agenda-fontify-priorities): New default value
1965 (org-agenda-fontify-priorities): Renamed from
1966 org-fontify-priorities.
1968 * org.el (org-set-font-lock-defaults): Call
1969 `org-font-lock-add-priority-faces'.
1970 (org-font-lock-add-priority-faces): New function.
1972 * org-faces.el: (org-set-tag-faces): New option.
1973 (org-priority-faces): New variable.
1975 * org-exp.el (org-export-as-html): Add a "content" div around the
1976 entire content of the body tag.
1977 (org-export-html-get-bibliography): New function.
1978 (org-export-html-validation-link): New variable.
1979 (org-export-as-html): Add validation link to exported page.
1981 * org.el (org-match-sparse-tree): Renamed from
1982 `org-tags-sparse-tree'.
1983 (org-tags-sparse-tree): New alias.
1985 2009-03-02 Carsten Dominik <carsten.dominik@gmail.com>
1987 * org.el (org-get-valid-level): Catch the case where the level
1990 * org-clock.el (org-clock-find-position): Better indentation of
1993 2009-03-01 Carsten Dominik <carsten.dominik@gmail.com>
1995 * org-agenda.el (org-agenda-quit): Delete window only when the
1996 frame-setup was not `current-window'.
1998 * org.el (org-tag-persistent-alist): New option.
1999 (org-startup-options): Add keyword `noptag'.
2000 (org-fast-todo-selection): Handle :newline correctly.
2001 (org-set-tags): Handle :newline correctly.
2002 (org-fast-tag-selection): Handle :newline correctly.
2004 2009-02-28 Carsten Dominik <carsten.dominik@gmail.com>
2006 * org-exp.el (org-export-as-ascii): Reverse link buffer before
2008 (org-export-ascii-push-links): Fix bug with pussing links into the
2011 2009-02-27 Carsten Dominik <carsten.dominik@gmail.com>
2013 * org-archive.el (org-archive-subtree): Do not add 1 to level if
2014 pasting at top level.
2016 * org-bbdb.el: Improve documentation.
2018 2009-02-26 Carsten Dominik <carsten.dominik@gmail.com>
2020 * org-list.el (org-insert-item): Only consider insert empty lines
2021 is `org-empty-line-terminates-plain-lists' is not nil.
2023 * org.el (org-blank-before-new-entry): Mention the dependence on
2024 `org-empty-line-terminates-plain-lists' in the docstring.
2026 * org-publish.el (org-publish-get-project-from-filename): New
2027 optional argument UP. Only find the top project if UP is set.
2028 (org-publish-current-project): Find the top encloding project.
2030 * org-agenda.el (org-agenda-before-write-hook)
2031 (org-agenda-add-entry-text-maxlines): New options.
2032 (org-write-agenda): Run the new hook in the temporary buffer.
2033 (org-agenda-add-entry-text): New function.
2034 (org-write-agenda): Implement PDF export, using ps2pdf.
2036 * org.el (org-global-properties-fixed, org-global-properties):
2037 Improve documentation string.
2039 * org-exp.el (org-export-ascii-links-to-notes): New option.
2040 (org-export-as-ascii): Handle links better.
2041 (org-export-ascii-wrap, org-export-ascii-push-links): New
2044 2009-02-25 Carsten Dominik <carsten.dominik@gmail.com>
2046 * org-agenda.el (org-agenda): Make prefix arg optional.
2047 (org-agenda-search-headline-for-time): New option.
2048 (org-format-agenda-item): Honor
2049 `org-agenda-search-headline-for-time'.
2051 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
2054 * org.el (org-self-insert-cluster-for-undo): New option.
2055 (org-self-insert-command): Cluster undo for 20 characters.
2056 (org-self-insert-command-undo-counter): New variable.
2058 2009-02-24 Carsten Dominik <carsten.dominik@gmail.com>
2060 * org-exp.el (org-export-as-html): Fix problem with closing colone
2063 2009-02-22 Carsten Dominik <carsten.dominik@gmail.com>
2065 * org-export-latex.el (org-export-as-latex)
2066 (org-export-latex-first-lines): Avoid modification flag when
2067 adding or removing text properties.
2068 (org-export-latex-fontify): Catch error when org-emph-alist has
2069 entries that are not defined for LaTeX export.
2071 * org.el (orgstruct++-mode): New function.
2072 (turn-on-orgstruct++): Call `orgstruct++-mode'.
2073 (org-context-p): Allow detecting item context after the first line
2075 (orgstruct-make-binding): Detect if item-body context should be
2077 (orgstruct-is-++): New variable.
2078 (org-add-planning-info): Catch the case when there is no planning
2079 info yet and the call does not want to add anything, only maybe
2080 tries to remove something.
2081 (org-special-ctrl-a/e): All value to be a cons cell with separate
2082 settings for `C-a. and `C-e'.
2083 (org-beginning-of-line, org-end-of-line): Honor separate values
2084 for `C-a' and `C-e'.
2086 2009-02-21 Carsten Dominik <carsten.dominik@gmail.com>
2088 * org.el (org-reload): New command.
2090 2009-02-20 Carsten Dominik <carsten.dominik@gmail.com>
2092 * org-exp.el (org-export-htm-get-tag-class-name)
2093 (org-export-htm-get-todo-kwd-class-name): New functions.
2094 (org-export-html-tag-class-prefix)
2095 (org-export-html-todo-kwd-class-prefix): New options.
2096 (org-export-as-html): Call
2097 `org-export-html-get-todo-kwd-class-name'.
2098 (org-html-level-start): Wrap tags into classes.
2099 (org-export-html-get-tag-class-name)
2100 (org-export-html-get-todo-kwd-class-name): New functions.
2102 * org-export-latex.el (org-export-latex-collect-header-macros):
2103 Remove fields that are used anyway.
2104 (org-export-latex-make-header): Insert the options earlier.
2106 * org-agenda.el (org-agenda-get-progress): Fix bug with state
2109 * org-list.el (org-indent-item): Allow point to be at the end of
2112 * org.el (org-metaleft, org-metaright): Be more accurate about
2113 detecting a region where commands apply.
2115 * org-compat.el (org-cursor-to-region-beginning): New function.
2117 * org.el (org-priority): Also find invisible heading.
2119 * org-colview-xemacs.el (org-columns-edit-value): No special
2120 treatment for `org-todo' prefix.
2122 * org-colview.el (org-columns-edit-value): No special treatment
2123 for `org-todo' prefix.
2125 * org-remember.el (org-remember-apply-template): Use
2126 `org-completing-read-no-ido'.
2128 * org.el (org-completing-read-no-ido): New function.
2129 (org-make-tags-matcher, org-set-property): Use
2130 `org-completing-read-no-ido'.
2132 * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
2134 (org-export-as-latex): Import in-buffer settings as TeX macros.
2135 (org-export-latex-make-header): Additional parameter OPT-DEFS.
2136 (org-export-latex-collect-header-macros): New function.
2138 * org.el (org-refile-get-location): Turn off
2139 `partial-completion-mode'.
2141 2009-02-19 Carsten Dominik <carsten.dominik@gmail.com>
2143 * org.el (org-block-todo-from-checkboxes): Announce that
2144 checkboxes are the culprit.
2145 (org-block-todo-from-children-or-siblings): Call
2146 `org-up-heading-all instead' of `outline-up-heading'.
2148 * org-agenda.el (org-agenda-show-1): Renamed from
2150 (org-agenda-show): Re-install the old version for now.
2151 (org-agenda-dim-blocked-tasks): Update docstring. Scope a
2152 variable into the blokker hook, so that the checkbox checker can
2153 anounce that it caused the blocking.
2155 * org.el (org-track-ordered-property-with-tag): New option.
2156 (org-toggle-ordered-property): Honor
2157 `org-track-ordered-property-with-tag'.
2158 (org-tag-alist): Add newline options.
2159 (org-set-regexps-and-options): Separate option lines imply a
2161 (org-set-regexps-and-options, org-assign-fast-keys)
2162 (org-fast-todo-selection, org-fast-tag-selection): Handle newline
2164 (org-indent-line-function): Make sure this works even if there is
2165 not `org-drawer-regexp' defined. This can happen when
2166 orgstruct-mode is used in a non-org buffer.
2168 * org-list.el (org-checkbox-blocked-p): New function.
2169 (org-toggle-checkbox): Check for blocking.
2171 * org.el (org-modules): Add an entry for org-R.el.
2173 * org-agenda.el (org-agenda-todo-ignore-with-date)
2174 (org-agenda-todo-ignore-scheduled)
2175 (org-agenda-todo-ignore-deadlines): Mention the variable
2176 `org-agenda-tags-todo-honor-ignore-options' in the docstring.
2178 * org.el (org-get-wdays): Find the warning period also if it is in
2180 (org-ido-completing-read): Provide the correct arguments to
2181 ido-completing-read and bind `ido-enter-matching-directory' to
2184 2009-02-17 Carsten Dominik <carsten.dominik@gmail.com>
2186 * org.el (org-olpath-completing-read): Never use ido for this
2189 * org-exp.el (org-export-normalize-links): Use new macro.
2191 * org-macs.el (org-if-unprotected-at): New macro.
2193 * org-agenda.el (org-agenda-show): Allow numerical prefix
2194 arguments to specify how much context should be shown.
2195 (org-agenda-cycle-show): New command, could be bound to SPC in
2196 org-agenda-mode-map.
2198 * org-exp.el (org-html-level-start): Space after section number.
2200 2009-02-16 Carsten Dominik <carsten.dominik@gmail.com>
2202 * org-agenda.el (org-agenda-get-sexps): Add todo state as
2203 property, for sorting.
2204 (org-cmp-todo-state): Get the applicable TODO keywords directly
2206 (org-run-agenda-series, org-agenda-list, org-search-view)
2207 (org-todo-list, org-tags-view): Only fit agenda window when the
2208 whole series is done.
2210 * org.el (org-scan-tags): Add todo state as property, for sorting.
2212 * org-agenda.el (org-agenda-custom-commands-local-options): Add
2213 `org-agenda-overriding-header' as an option.
2214 (org-agenda-list): Honor org-agenda-overriding-header'.
2216 2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
2218 * org-list.el (org-toggle-checkbox): Improve cursor positioning
2219 after removing a checkbox.
2221 * org.el (org-show-entry): Make this work correctly also if it is
2222 the last entry in the file.
2223 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
2224 falling back to normal, default command.
2225 (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
2226 item, call the checkbox toggler to get a box.
2228 * org-list.el (org-toggle-checkbox): Make double prefix set the
2230 (org-fix-bullet-type): Only replace bullet if it is changed.
2231 (org-renumber-ordered-list): Handle case when first item does not
2234 * org.el (org-add-log-setup): Fix positioning when
2235 `org-log-states-order-reversed' is nil.
2237 * org-clock.el (org-clock-in): Fix positioning when
2238 `org-log-states-order-reversed' is nil.
2239 (org-clock-find-position): Fix positioning when
2240 `org-log-states-order-reversed' is nil.
2242 2009-02-14 Carsten Dominik <carsten.dominik@gmail.com>
2244 * org-clock.el (org-clock-into-drawer): Take default from
2245 `org-log-into-drawer'.
2246 (org-clock-find-position): Look for the correct drawer.
2248 * org.el (org-log-into-drawer): Renamed from
2249 `org-log-state-notes-into-drawer'.
2250 (org-log-state-notes-into-drawer): New variable alias.
2251 (org-add-log-setup): Make drawer name default to LOGBOOK, not
2253 (org-insert-property-drawer): Also skip LOGBOOK drawers.
2255 2009-02-13 Carsten Dominik <carsten.dominik@gmail.com>
2257 * org-agenda.el (org-agenda): Fix docstring.
2259 * org.el ("org-plot"): Help loading org-plot.
2260 (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
2261 (org-metadown-hook, org-shiftmetaleft-hook)
2262 (org-shiftmetaright-hook, org-shiftmetaup-hook)
2263 (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
2264 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2265 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
2266 (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
2268 * org-publish.el (org-publish-get-base-files): Allow symbol `any'
2269 for selecting files with any (and even without) extension.
2271 * org.el (org-save-all-org-buffers): Also save id locations.
2272 (org-revert-all-org-buffers): Also load id locations.
2274 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
2275 * org.el (org-drawers): Add LOGBOOK to the default drawers.
2276 (org-log-state-notes-into-drawer): New option.
2277 (org-add-log-setup): Place the sate note marker into the drawer,
2278 create drawer when necessary.
2279 (org-refile-targets): Document special interpretation of LEVEL
2280 when odd-levels are used.
2282 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
2284 * org.el (org-store-log-note): Fix note indentation when adding
2285 notes to end of list.
2287 * org-exp.el (org-export-as-html): Add TODO keyword as extra
2288 class, so that each keyword can get special colors through CSS.
2290 * org-clock.el (org-clock-out): Add another nil for the previous
2291 state into the call to `org-add-log-setup'.
2293 * org.el (org-log-note-previous-state): New variable.
2294 (org-log-note-headings): New %S escape for old state.
2295 (org-todo): Call the note setup with the old state as an
2297 (org-add-note): Add another nil for the previous state into the
2298 call to `org-add-log-setup'.
2299 (org-add-log-setup): New argument PREV-STATE.
2300 (org-add-log-note): Handle new %S escape.
2301 (org-store-log-note): Handle new %S escape.
2303 2009-02-11 Carsten Dominik <carsten.dominik@gmail.com>
2305 * org-clock.el (org-clock-find-position): Do not swallow an item
2306 less indented than the CLOCK line itself.
2307 (org-clock-in): Push markers to lin after the clock line.
2308 (org-clock-find-position): Handle values of
2309 `org-clock-into-drawer' smaller than 2.
2311 * org-exp.el (org-html-level-start): Add a CSS class to section
2313 (org-export-html-toplevel-hlevel): Better documentation of the
2314 influence of this variables on H levels and css classes in
2317 2009-02-10 Carsten Dominik <carsten.dominik@gmail.com>
2319 * org-agenda.el (org-agenda-custom-commands-local-options): Add
2320 timestamp and nottimestamp to the chooe menu.
2322 * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
2323 (org-revert-all-org-buffers): New command.
2325 2009-02-09 Carsten Dominik <carsten.dominik@gmail.com>
2327 * org.el (org-return): Implement `org-return-follows-link' in the
2328 function org-return. This is more robust than using the mouse
2330 (org-set-regexps-and-options): Match more general #+TODO lines.
2331 (org-make-options-regexp): New optional argument EXTRA, for an
2333 (org-tab-follows-link): Mark as deprecated.
2335 2009-02-07 Carsten Dominik <carsten.dominik@gmail.com>
2337 * org-exp.el (org-export-preprocess-string): Remove clock lines
2338 earlier, so that they cannot cotribute to verbatim snippets.
2340 2009-02-06 Carsten Dominik <carsten.dominik@gmail.com>
2342 * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
2343 for finding drawers.
2344 (org-export-as-ascii, org-export-as-html): Count levels relative
2345 to the subtree header.
2346 (org-get-min-level): New optional argument OFFSET.
2347 (org-export): Make sure point is restored after popping up that
2350 * org.el (org-do-sort): Also take an inactive timestamp if no
2351 active one is found.
2353 * org-colview-xemacs.el (org-columns-capture-view): Copy before
2354 deleting duplicates.
2356 * org-colview.el (org-columns-capture-view): Copy before
2357 deleting duplicates.
2359 * org-exp.el (org-export-preprocess-string): Fix bug when skipping
2360 text before first headline.
2362 * org.el (org-format-latex): Do not convert LaTeX fragments in
2365 2009-02-04 Carsten Dominik <carsten.dominik@gmail.com>
2367 * org-exp.el (org-export-html-style-default): Use color values
2368 instead of names for XHTML validation.
2370 * org.el (org-get-scheduled-time, org-get-deadline-time): New
2372 (org-return-follows-link): Revert making this the default untile
2373 issues are resolved.
2375 * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
2378 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
2380 * org.el (org-mode): Make dependence stuff work more reliably.
2381 (org-update-parent-todo-statistics): Fix bug with updating
2384 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
2385 ~ as verbatim delimiters.
2387 * org-exp.el (org-export-html-format-image): New argument
2389 (org-export-as-html): Pass par-open to
2390 `org-export-html-format-image'.
2392 2009-02-01 Carsten Dominik <carsten.dominik@gmail.com>
2394 * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
2395 (org-use-fast-todo-selection, org-tags-column): New default
2396 setting for variables, based on a poll what typical uses use.
2398 * org-agenda.el (org-agenda-sorting-strategy)
2399 (org-agenda-tags-column): New default setting for variables, based
2400 on a poll what typical uses use.
2402 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
2404 * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
2405 blocked entries from setting the blocked tag.
2407 * org-exp.el (org-export-html-footnotes-section): Use a more
2408 consistent id for footnotes.
2410 * org-export-latex.el (org-export-latex-classes): Remove the
2411 a4paper option from the default styles.
2413 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
2415 * org.el (org-enforce-todo-checkbox-dependencies): New option.
2416 (org-block-todo-from-checkboxes): New function.
2417 (org-todo): Make tripple prefix arg circumvent blocking.
2419 * org-timer.el (org-timer): Provide the timer feature.
2421 * org.el (org-require-autoloaded-modules): Add a few more files to
2422 the list of autoloaded modules.
2424 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
2426 2009-01-29 Carsten Dominik <carsten.dominik@gmail.com>
2428 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
2429 drawers that are unprotected.
2430 (org-export-html-format-image): Make sure inlined LaTeX fragment
2431 images remain inlined.
2433 * org.el (org-toggle-ordered-property): New function.
2434 (org-mode-map): Add a key for `org-toggle-ordered-property'.
2435 (org-org-menu): Add menu entries for TODO dependencies.
2437 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
2439 * org.el (org-default-properties): Add ORDERED to the default
2440 properties, to get completion support for it.
2442 * org-list.el (org-update-checkbox-count): Update more than one cookie.
2444 * org.el (org-update-parent-todo-statistics): Update more than one
2447 * org-agenda.el (org-agenda-get-todos): Start search from correct
2450 * org.el (org-fast-todo-selection): Make sure TODO selection does
2451 not change buffer position.
2453 * org-list.el (org-toggle-checkbox): Implement adding or removing
2454 checkboxes from line or region when called with a prefix
2457 * org-rmail.el (org-rmail-store-link): Protect the call to
2458 `rmail-narrow-to-non-pruned-header'.
2460 * org-clock.el (org-clock-special-range): Fix week display in
2463 * org-exp.el (org-get-current-options): Fix bug when in indirect
2466 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
2468 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
2469 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
2470 (org-agenda-dim-blocked-tasks): New function.
2472 * org.el (org-enforce-todo-dependencies): New option.
2473 (org-block-todo-from-children-or-siblings): New function.
2475 * org-faces.el (org-agenda-dimmed-todo-face): New face.
2477 * org.el (org-todo): Return correct state type even if the blocker
2479 (org-modifier-cursor-error): Renamed from
2480 `org-shiftcursor-error'.
2481 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
2482 (org-shiftmetadown): Call `org-modifier-cursor-error'.
2484 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
2485 to get real errors from the blocker hook.
2487 * org.el (org-shiftselect-error, org-call-for-shift-select): New
2489 (org-set-visibility-according-to-property): Turn off the setting
2490 of `org-show-entry-below', to avoid overruling a FOLDED visibility
2493 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
2495 * org.el (org-support-shift-select): New option.
2496 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
2497 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
2498 selection outside contexts.
2500 * org-list.el (org-at-item-bullet-p): New function.
2502 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
2505 * org-footnote.el (org-footnote-normalize): Remove unnecessary
2507 (org-insert-footnote-reference-near-definition): Remove
2508 unnecessary let form.
2510 * org-export-latex.el (org-export-latex-first-lines): Add
2511 OPT-PLIST parameter.
2512 (org-export-as-latex): Call `org-export-latex-first-lines' with
2513 opt-plits parameter.
2514 (org-export-latex-preprocess): Remove unnecessary variables.
2516 * org-exp.el (org-infile-export-plist)
2517 (org-export-add-options-to-plist, org-export-kill-licensed-text)
2518 (org-export-remove-headline-metadata)
2519 (org-export-get-title-from-subtree, org-get-min-level)
2520 (org-html-do-expand): Remove innecessary let form.
2522 * org-colview-xemacs.el (org-columns-display-here): Remove
2523 unnecessary variables.
2525 * org-colview.el (org-columns-display-here): Remove unnecessary
2528 * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
2531 * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
2532 unnecessary variables.
2534 * org-agenda.el (org-search-view, org-agenda-get-blocks)
2535 (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
2538 * org.el (org-set-emph-re): Clean-up the STACKED stuff.
2539 (org-compact-display-after-subtree-move): Remove unnecessary
2541 (org-edit-fixed-width-region): Remove unnecessary variables.
2542 (org-edit-src-find-region-and-lang): Remove unnecessary variables.
2543 (org-olpath-completing-read): Remove unnecessary variable.
2544 (org-auto-repeat-maybe): Remove unnecessary variable.
2545 (org-map-entries): Remove unnecessary variable.
2546 (org-buffer-property-keys, org-imenu-get-tree)
2547 (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
2549 -----------------------------------------------------------------
2551 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
2552 * org-exp.el (org-export-remove-timestamps): Never remove
2553 timestamps from tables.
2555 * org-export-latex.el (org-export-latex-first-lines): Add more
2556 options to the preprocessing of the text before the first
2559 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
2561 * org-faces.el (org-clock-overlay): Make face compatible with
2564 * org.el (org-yank): Add property for delete-selection mode.
2566 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
2568 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
2571 * org-table.el (org-table-insert-hline): Fix typo in fuction call
2574 * org-exp.el (org-export-as-html): Remove the initial space from
2577 * org.el (org-scan-tags): Call
2578 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2580 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
2581 customization groups.
2582 (org-agenda-tags-todo-honor-ignore-options): New option.
2583 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
2585 (org-agenda-get-todos): Use
2586 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
2588 2009-01-24 Carsten Dominik <carsten.dominik@gmail.com>
2590 * org-exp.el (org-export-format-source-code-or-example): Escape
2591 HTML characters also in examples that anre not treated with
2592 htmlize. Also, just switch to EXAMPLE processing if we do not
2593 have a good version of htmlize.
2595 * org-rmail.el: Fix copyright notice.
2597 * org.el (org-activate-footnote-links): Improve footnote link
2600 * org-footnote.el (org-footnote-normalize): Fix finding the end of
2601 a footnote definition at the end of the file.
2603 * org-table.el (org-table-get-specials): Add an imagined hline at
2604 the end of the table. This can be useful for references that want
2605 to go to the end of the table. Also fix bug when computing last
2606 row constants, in tables that do not start right at the right
2608 (org-table-eval-formula): Match and replace remove references.
2609 (org-table-formula-substitute-names): Make sure that names inside
2610 a "remote" call are left alone, the will be replaced later when
2611 the remote call is handled.
2612 (org-table-convert-refs-to-rc): Do not convert things that might
2613 look like a reference, but are really part of an ID or namei n a
2615 (org-table-get-remote-range): New function.
2617 2009-01-22 Carsten Dominik <carsten.dominik@gmail.com>
2619 * org-faces.el (org-clock-overlay): Fix bug in face definition.
2621 * org-clock.el (org-clock-put-overlay): Use new face instead of
2622 `secondary-selection'.
2624 * org-faces.el (org-clock-overlay): New face.
2626 2009-01-21 Carsten Dominik <carsten.dominik@gmail.com>
2628 * org-exp.el (org-get-current-options): Include the option for
2629 publishing time stamps.
2631 * org.el (org-toggle-heading): Renamed from
2632 `org-toggel-region-headings'.
2633 No longer needs a region defined, but will use it if there is one.
2634 (org-ctrl-c-star): Simplified, relying more on the internal
2635 workings of `org-toggle-heading'.
2636 (org-toggle-item): Renamed from `org-toggle-region-items'.
2637 No longer needs a region defined, but will use it if there is one.
2638 (org-ctrl-c-minus): Simplified, relying more on the inernal
2639 workings of `org-toggle-item'.
2641 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
2642 environment detection. Also, do real changes only in unprotected
2645 2009-01-20 Carsten Dominik <carsten.dominik@gmail.com>
2647 * org-export-latex.el (org-export-latex-quotation-marks): Use
2648 `org-if-unprotected-1'.
2649 (org-export-latex-set-initial-vars): Check for class definition in
2652 * org-macs.el (org-if-unprotected-1): New macro.
2654 2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
2656 * org-compat.el (org-count-lines): New function.
2658 * org-exp.el (org-export-format-source-code-or-example): Handle
2659 switches related to text areas.
2661 * org.el (org-activate-footnote-links): Don't allow match inside a
2664 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
2666 * org-export-latex.el (org-export-latex-links): Keep a relative
2667 path relative also after export.
2669 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
2671 * org.el (org-make-tags-matcher): Never use IDO for completing the
2672 tags matcher match string.
2673 (org-completing-read): Also remove the special biding for "?".
2675 * org-attach.el (org-attach-allow-inheritance): New option.
2676 (org-attach-inherited): New variable.
2677 (org-attach-dir): Handle properties related to the attachment
2679 (org-attach-check-absolute-path): New function.
2680 (org-attach-set-directory, org-attach-set-inherit): New commands.
2681 (org-attach): Accommodate the new commands in the dispatcher.
2683 2009-01-18 Carsten Dominik <carsten.dominik@gmail.com>
2685 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
2686 `window-full-width-p'.
2688 * org-exp.el (org-export-as-html): Only check for images files
2689 that really can be inlined
2691 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
2692 list of extensions to be a parameter.
2694 * org-exp.el (org-export-html-inline-image-extensions): New
2697 * org-agenda.el (org-prepare-agenda): Use
2698 `org-agenda-block-separator'.
2699 (org-agenda-block-separator): New option.
2701 2009-01-17 Carsten Dominik <carsten.dominik@gmail.com>
2703 * org-export-latex.el (org-export-latex-tables): Call
2704 `org-table-clean-before-export' with the new optional argument.
2706 * org-exp.el (org-table-clean-before-export): New optional
2707 parameter MAYBE-QUOTED, allows for quoted characters like \# in
2710 2009-01-16 Carsten Dominik <carsten.dominik@gmail.com>
2712 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
2715 * org-colview.el (org-colview-construct-allowed-dates): Better
2716 error catching when a date/time property does not have allowed
2719 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
2720 Better error catching when a date/time property does not have
2721 allowed values defined.
2723 2009-01-14 Carsten Dominik <carsten.dominik@gmail.com>
2725 * org.el (org-map-entries): Restore point and restriction after
2728 2009-01-13 Carsten Dominik <carsten.dominik@gmail.com>
2730 * org.el (org-time=, org-time<, org-time<=, org-time>)
2731 (org-time>=, org-time<>): Make sure both values are dates.
2733 2009-01-11 Carsten Dominik <carsten.dominik@gmail.com>
2735 * org-archive.el (org-extract-archive-heading): Allow %s for file
2736 name also in achive location heading.
2738 2009-01-10 Carsten Dominik <carsten.dominik@gmail.com>
2740 * org-archive.el (org-add-archive-files): Uniquify the list before
2743 2009-01-09 Carsten Dominik <carsten.dominik@gmail.com>
2745 * org-compat.el (org-fit-window-to-buffer): Use
2746 `window-full-width-p'.
2748 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
2749 space after the colon in short examples.
2751 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
2752 enforce a space after the colon. However, we also allow lines
2753 that are *only* a colon.
2754 (org-export-as-html): Enforce the space after the colon in short
2756 (org-export-preprocess-string): Do the colon example protection
2758 (org-export-remove-timestamps): Do not check for protection at the
2761 2009-01-08 Carsten Dominik <carsten.dominik@gmail.com>
2763 * org.el (org-format-latex-options): Add new matcher for single
2764 letters between dollars.
2765 (org-get-header): Function removed.
2766 (org-heading-components): New function.
2768 * org-exp.el (org-export-define-heading-targets): Record ID's also
2769 as alternative targets.
2770 (org-export-as-html): Interpret "id:" links to other files by
2771 preserving the relative path.
2773 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
2776 * org-exp.el (org-export-normalize-links): Protect the main link,
2777 to avoid special character processing.
2779 * org-export-latex.el (org-export-latex-special-keyword-regexp):
2781 (org-export-latex-special-string-regexps): Variable removed.
2782 (org-export-latex-keywords): Use the new regexp.
2784 * org-exp.el (org-export-handle-include-files): Fetch switches and
2785 put them into the BEGIN statement.
2787 * org-timer.el (org-timer-mode-line-string): New variable.
2789 * org-clock.el (org-clock-mode-line-map): Renamed from
2790 `org-clock-mode-map'.
2791 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
2792 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
2793 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
2794 (org-clock-remove-overlays): Renamed from
2795 `org-remove-clock-overlays'.
2797 * org-timer.el (org-timer-pause-or-continue): Implement stopping
2798 and mode line display.
2799 (org-timer-stop): New command.
2800 (org-timer-seconds): Return correct time when timer is paused.
2801 (org-timer-mode-line-timer): New variable.
2802 (org-timer-set-mode-line, org-timer-update-mode-line): New
2805 * org.el (org-insert-heading): Handle new value `auto' for
2806 `org-blank-before-new-entry'.
2807 (org-org-menu): Add new items for timer functions.
2809 * org-list.el (org-insert-item): Handle new value `auto' for
2810 `org-blank-before-new-entry'.
2812 * org.el (org-blank-before-new-entry): New value `auto', made
2815 2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
2817 * org-exp.el (org-export-normalize-links): If the link is also
2818 used as the description, protect the description.
2820 2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
2822 * org.el (org-closest-date): Fix bug with yearly repeats, in
2823 combination with preference of the past as it is used for deadline
2824 and scheduling search.
2826 * org-exp.el (org-html-handle-time-stamps): No longer check for
2827 the `org-export-with-timestamps' option, because the preprocesser
2828 has taken care of this already.
2830 * org.el (org-entry-properties): Catch the case when this is
2831 called in a non-org-mode file.
2833 * org-export-latex.el (org-export-latex-remove-from-headlines):
2834 Variable made obsolete, also LaTeX export now uses the standard
2836 (org-export-as-latex): Add the timestamps parameter to the
2837 preprocessor parameter list.
2838 (org-export-latex-content): Export the remaining keywords without
2839 considering to remove them.
2840 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
2841 Use bold font instead of tt font for the keywords.
2842 (org-export-latex-fontify-headline): Format headlines, assuming
2843 that all keywords still present should be published.
2844 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
2845 publish what ever remains of the time stamps.
2846 (org-export-latex-list-parameters): New option.
2847 (org-export-latex-lists): Pass additional parameters to the list
2850 * org-exp.el (org-export-preprocess-string): Remove clock lines
2851 and timestamps already in the preprocesor.
2852 (org-export-remove-timestamps, org-export-remove-clock-lines): New
2854 (org-export-as-ascii, org-export-as-html): Add the timestamps
2855 parameter to the preprocessor parameter list.
2857 * org-list.el (org-list-parse-list): Parse for checkboxes.
2858 (org-list-to-generic): Introduce and handle new parameters :cbon
2860 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
2861 optional parameter PARAMS.
2863 * org-export-latex.el (org-export-latex-special-chars): Fix
2864 problems with interpreting dollar signs.
2865 (org-inside-latex-math-p): New function.
2866 (org-export-latex-preprocess): Protect all the math fragments.
2868 * org.el (org-latex-regexps): Allow a dash after a dollar.
2870 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
2873 * org-agenda.el (org-run-agenda-series): Have series options set
2874 when finalizing the agenda.
2876 * org-exp.el (org-export-format-source-code-or-example): Protect
2877 the converted examples.
2879 * org.el (org-set-regexps-and-options): Fix the regexp
2880 `org-complex-heading-regexp'.
2882 2009-01-05 Carsten Dominik <carsten.dominik@gmail.com>
2884 * org.el (org-edit-src-get-label-format): New function.
2885 (org-coderef-label-format): New option.
2886 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
2887 a label format specification and make sure it is used in the edit
2889 (org-edit-src-get-label-format): New function.
2890 (org-store-link): Handle new coderef formats.
2891 (org-link-search): Handle new coderef formats.
2893 * org-footnote.el (org-footnote-create-definition)
2894 (org-footnote-goto-local-insertion-point): Make footnote insertion
2895 work correctly when the "Footnotes" headline is the last line in
2898 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
2901 2009-01-04 Carsten Dominik <carsten.dominik@gmail.com>
2903 * org-w3m.el (org-w3m): New customization group.
2904 (org-w3m-deactivate-mark): New option.
2905 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
2908 2009-01-02 Carsten Dominik <carsten.dominik@gmail.com>
2910 * org.el (org-set-font-lock-defaults): Trigger footnote
2912 (org-activate-footnote-links): New function.
2913 (org-activate-links): New entry `footnote'.
2915 * org-faces.el (org-footnote): New face.
2917 2009-01-01 Carsten Dominik <carsten.dominik@gmail.com>
2919 * org-macs.el (org-re): Handle the [:word:] class.
2921 * org-exp.el (org-export-preprocess-string): Call
2922 `org-export-protect-colon-examples'.
2923 (org-export-protect-colon-examples): Renamed from
2924 `org-export-protect-examples', and scope limited to lines starting
2927 2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
2929 * org-exp.el (org-export-preprocess-string): Move the preprocess
2930 hook to after turning on Org-mode.
2931 (org-export-preprocess-after-include-files-hook)
2932 (org-export-preprocess-after-tree-selection-hook)
2933 (org-export-preprocess-before-backend-specifics-hook)
2934 (org-export-preprocess-final-hook): New hooks.
2935 (org-export-preprocess-string): Run the new hooks.
2937 * org.el (org-ctrl-c-minus): Fix indentation for new items.
2939 * org-footnote.el: New file.
2941 * org.el (org-footnote): Require footnote code.
2942 (org-startup-options): Add new footnote options.
2943 (org-mode-map): New keybindig for footnotes.
2944 (org-ctrl-c-ctrl-c): Add function at footnotes.
2945 (org-org-menu): New menu entries for footnotes.
2947 * org-export-latex.el (org-export-as-latex): Pass footnote
2948 variable to preprocessor.
2949 (org-export-latex-preprocess): Treat multiple references to a
2952 * org-exp.el (org-export-preprocess-string): Call
2953 `org-footnote-normalize'.
2954 (org-export-as-ascii, org-export-as-html): Pass footnote variable
2956 (org-export-as-html): Treat multiple references to a footnote.
2958 2008-12-26 Carsten Dominik <carsten.dominik@gmail.com>
2960 * org-export-latex.el (org-export-latex-links): Handle coderef
2963 * org.el (org-bracket-link-analytic-regexp++): New variable.
2964 (org-make-link-regexps): Initialize
2965 `org-bracket-link-analytic-regexp++'.
2966 (org-store-link): Implement special case in edit-src buffer.
2967 (org-insert-link): No use of ide to insert stored links.
2968 (org-link-search): Implement special case for coderefs.
2970 * org-exp.el (org-export-html-scripts): New constant.
2971 (org-export-html-style-default): Add a new style for highlighted
2973 (org-export-code-refs): New variable.
2974 (org-export-preprocess-string): Initialize `org-export-code-refs'.
2975 Call `org-export-replace-src-segments-and-examples'
2976 No longer call `org-export-protect-examples'.
2977 (org-export-target-internal-links): Take care of coderef targets.
2978 (org-export-last-code-line-counter-value): New variable.
2979 (org-export-replace-src-segments-and-examples): Renamed from
2980 `org-export-replace-src-segments', and modified.
2981 (org-export-format-source-code-or-example): Renamed from
2982 `org-export-format-source-code'.
2983 (org-export-number-lines): New function.
2984 (org-export-as-ascii, org-export-as-html): Handle coderef links.
2986 --------------------------------------------------------------------------
2988 2008-12-23 Carsten Dominik <carsten.dominik@gmail.com>
2990 * org-remember.el (org-remember-handler): Safer way to get a new
2991 buffer accessing the target file.
2993 * org.el (org-refile-get-location): Handle case of current buffer
2994 not having a file associated with it.
2996 2008-12-22 Carsten Dominik <carsten.dominik@gmail.com>
2998 * org-table.el (org-table-get-formula): Only ask to overwrite
2999 field formula if there really is one.
3001 * org-id.el (org-id-find): Allow the ID to be a symbol or a
3002 number, by converting these to a string.
3004 * org-colview.el (org-dblock-write:columnview): Allow ID to be
3005 located in a different file.
3007 * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
3010 2008-12-21 Carsten Dominik <carsten.dominik@gmail.com>
3012 * org.el (org-completion-use-ido): Enhance docstring of
3013 `org-completion-use-ido'.
3015 * org-export-latex.el (org-export-latex-make-header): Double the %
3016 in the time stamp format.
3017 (org-export-latex-special-chars): Handle case where there is no
3020 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
3022 * org.el (org-get-refile-targets, org-refile-get-location): Use
3023 expanded file name to improve comparison.
3025 2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
3027 * org.el (org-scan-tags): Rescan for tags, to get the correct
3028 upcase/downcase stuff. This slows things down for now, but it
3030 (org-mode): Make sure the tag-faces regexp is initialized.
3032 * org-export-latex.el (org-export-latex-links): Fix bug with
3035 * org-table.el (org-table-get-specials): Set
3036 `org-table-current-last-data-line'.
3037 (org-table-current-last-data-line): New variable.
3038 (org-table-insert-column, org-table-delete-column)
3039 (org-table-move-column, org-table-fix-formulas): Call
3040 `org-table-fix-formulas' a second time to fix the $LR references.
3041 (org-table-get-specials): Add the $LR references to the tables.
3042 (org-table-get-formula): Do not offer last-row names as LHS of
3045 * org.el (org-store-link): Capture link description from
3046 `org-id-store-link'.
3048 * org-exp.el (org-export-html-format-image): Add the / to the end
3050 (org-export-format-source-code): Surround example by empty lines,
3051 to make sure it will not be inside a paragraph.
3053 * org.el (org-ido-switchb): New function.
3055 2008-12-18 Carsten Dominik <carsten.dominik@gmail.com>
3057 * org-agenda.el (org-agenda-show): New prefix argument
3060 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
3063 * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
3064 `org-agenda-change-all-lines'.
3065 (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
3066 tags are now retrieved locally.
3068 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
3070 * org.el (org-get-outline-path): Fix bug if level is not given.
3071 (org-org-menu): Do not quote function in menu vector.
3073 * org-agenda.el (org-finalize-agenda): Fix typo with variable
3076 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
3078 * org.el (org-refile): Avoid refiling to within the region to be
3081 * org-export-latex.el (org-export-latex-special-chars): Replace
3082 special characters also in tables.
3084 * org-agenda.el (org-agenda-change-all-lines): New argument
3086 (org-agenda-set-tags): Cet the new tags and pass them to
3087 `org-format-agenda-item'.
3089 2008-12-15 Carsten Dominik <carsten.dominik@gmail.com>
3091 * org-export-latex.el (org-export-latex-classes): Add longable as
3092 a default package to all classes.
3093 (org-export-latex-tables): Handle the longtable attribute and the
3096 * org-table.el (orgtbl-to-generic): Handle tables that start with
3099 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
3100 \verb for colde-like snippets.
3101 (org-export-as-latex): Fix issues with region export.
3103 * org.el (org-up-heading-safe): Speed up function by using a
3104 direct regexp search.
3105 (org-olpa): New variable.
3106 (org-get-outline-path): Speed-up path constructions in cases where
3107 this is possible because the entire hierarchy is scanned anyway.
3108 (org-refile-get-location): Don't compare the truenames of files,
3110 (org-goto-max-level): New option.
3111 (org-goto): Use `org-goto-max-level'.
3113 2008-12-12 Tassilo Horn <tassilo@member.fsf.org>
3115 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
3116 Strip angle brackets from message-ids in the former and don't do
3118 (org-gnus-follow-link): Open summary reliable, even if the last
3119 messages were deleted, and handle empty groups, too.
3121 2008-12-12 Carsten Dominik <carsten.dominik@gmail.com>
3123 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
3124 instead of \texttt for the =...= and ~===~ emphasis environments.
3125 (org-export-as-latex): Remove any old :org-license-to-kill text
3127 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
3128 (org-export-latex-make-header): Add some hard space after the
3130 (org-export-latex-first-lines): Accept RBEG argument. Mark
3131 exported text so that it will be excuded in further steps.
3133 * org-table.el (org-table-get-specials): Make @0 reference the
3134 last line in a table.
3135 (org-table-recalculate): Improve docstring.
3137 2008-12-11 Carsten Dominik <carsten.dominik@gmail.com>
3139 * org.el (org-log-done): Fix docstring.
3141 2008-12-10 Carsten Dominik <carsten.dominik@gmail.com>
3143 * org-exp.el (org-export-html-format-image): Fix bugs.
3145 * org-export-latex.el (org-export-latex-tables)
3146 (org-export-latex-links): Implement attribute, label, and caption
3149 * org-exp.el (org-export-html-style-default): Add style
3150 definitions for the figure div.
3151 (org-export-preprocess-string, org-export-as-html): Implement
3152 attribute, label, and caption handling.
3153 (org-export-attach-captions-and-attributes): New function.
3154 (org-export-html-format-image): New function.
3155 (org-format-org-table-html): Implement attribute, label, and
3158 * org.el (org-find-text-property-in-string): New function.
3159 (org-extract-attributes): Use the property org-attr instead of
3160 org-attrobutes, because this property is now set with the #+ATTR
3163 2008-12-08 Carsten Dominik <carsten.dominik@gmail.com>
3165 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
3166 the case that FROM is nil.
3168 * org.el (org-before-first-heading-p): New function.
3170 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
3172 * org-exp.el (org-export-as-html): Do not add a space before
3173 enforces line breaks.
3174 (org-export-as-html): Close paragraph before blockquote and verse
3177 2008-12-06 Carsten Dominik <carsten.dominik@gmail.com>
3179 * org-id.el (org-id-locations-file): Wrap file name with
3180 `convert-standard-filename'.
3181 (org-id-files): New variable.
3182 (org-id-use-hash): New option.
3183 (org-id-update-id-locations): Also search in all files current
3184 listed in `org-id-files'. Convert the resulting alist to a hash
3185 if the user customation says so.
3186 (org-id-locations-save): Handle he case if `org-id-locations' is a
3188 (org-id-locations-load): Convert the alist to a hash.
3189 (org-id-add-location): Handle the hast case.
3190 (kill-emacs-hook): Make sure id locations are saved when Emacs is
3192 (org-id-hash-to-alist, org-id-alist-to-hash)
3193 (org-id-paste-tracker): New functions.
3195 -------------------------------------------------------------------------
3197 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
3199 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
3200 bindings of calendar variables.
3202 * org-table.el (org-table-find-row-type): Renamed from
3203 `org-find-row-type'.
3204 (org-table-rewrite-old-row-references): Renamed from
3205 `org-rewrite-old-row-references'.
3206 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
3207 (org-table-cleanup-narrow-column-properties): Renamed from
3208 `org-cleanup-narrow-column-properties'.
3210 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
3212 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
3213 for better error messages.
3214 (org-table-get-descriptor-line): Supply the new arguments to
3215 `org-find-row-type'.
3216 (org-table-error-on-row-ref-crossing-hline): New option.
3218 * org.el (org-target-link-regexp): Make buffer-local.
3219 (org-move-subtree-down): Fix bug with trees at beginning of
3222 2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
3224 * org-faces.el (org-set-tag-faces): New function.
3225 (org-tags-special-faces-re): New variable.
3227 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
3229 * org-faces.el (org-tag-faces): New option.
3230 (org-tag): Mention `org-tag-faces' in the docstring.
3232 2008-12-03 Carsten Dominik <carsten.dominik@gmail.com>
3234 * org-exp.el (org-export-html-style-default): Implement new
3237 * org-jsinfo.el (org-infojs-template): Implement new quoting.
3239 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
3240 command to the `w3m-minor-mode-map'.
3242 * org-archive.el (org-archive-to-archive-sibling): Protect
3243 `this-command' to avoid appending kills during archiving.
3245 * org-exp.el (org-export-with-priority): New variable.
3246 (org-export-add-options-to-plist): Use `org-export-plist-vars'
3247 instead of internal list of strings and properties.
3248 (org-print-icalendar-entries): Retrieve the location property with
3251 2008-12-02 Carsten Dominik <carsten.dominik@gmail.com>
3253 * org-exp.el (org-export-with-todo-keywords): New option.
3254 (org-export-plist-vars): Include also the keys for the #+OPTIONS
3256 (org-default-export-plist, org-export-add-options-to-plist)
3257 (org-export-as-ascii, org-export-as-html): Use the new structure
3258 of `org-export-plist-vars'.
3260 * org.el (org-map-entries): Return all values.
3262 2008-11-29 Carsten Dominik <carsten.dominik@gmail.com>
3264 * org.el (org-matcher-time): Recognize more special values.
3266 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
3268 2008-11-27 Carsten Dominik <carsten.dominik@gmail.com>
3270 * org.el (org-tags-exclude-from-inheritance): New option.
3271 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
3272 `org-tags-exclude-from-inheritance'.
3274 * org-agenda.el (org-agenda-show-inherited-tags): New option.
3275 (org-format-agenda-item): Add inherited tags to the agenda line
3276 string, and make sure that properties are kept when downcasing the
3278 (org-agenda-add-inherited-tags): New function.
3279 (org-downcase-keep-props): New function.
3281 * org.el (org-scan-tags): Mark inherited tags with a text
3283 (org-get-tags-at): Mark inherited tags with a text property.
3284 (org-add-prop-inherited): New function.
3286 * org-agenda.el (org-agenda-add-inherited-tags): New function.
3287 (org-agenda-show-inherited-tags): New option.
3289 2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
3291 * org.el (org-modules): Add org-w3m to the default modules.
3293 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
3295 (orgtabl-create-or-convert-from-region): New command.
3297 * org-exp.el (org-export-as-ascii): Remove the handling of
3299 (org-export-ascii-preprocess): Handle targets already in this
3302 2008-11-25 Carsten Dominik <carsten.dominik@gmail.com>
3304 * org-timer.el (org-timer-start-time): Define this variable.
3305 (org-timer-item): Make argument optional.
3307 * org-list.el (org-insert-item): Automatically insert a timer item
3308 if the current list is a timer list.
3310 * org-timer.el: New file.
3312 * org-publish.el (org-publish-org-index): Only exclude the index
3313 file in the main directory from being added to the site-map.
3314 (org-publish-get-project-from-filename): If the current project is
3315 a component, start publishing from the parent project.
3317 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
3319 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
3321 * org-publish.el (org-publish-org-index): Improve removal of
3324 * org-agenda.el (org-get-closed): Re-apply changes
3325 accidentially overwritten by last commit to Emacs.
3327 * org.el (org-outline-path-complete-in-steps): New option.
3328 (org-refile-get-location): Honor
3329 `org-outline-path-complete-in-steps'.
3330 (org-agenda-change-all-lines, org-tags-sparse-tree)
3331 (org-time-string-to-absolute, org-small-year-to-year)
3332 (org-link-escape): Re-apply changes accidentially overwritten
3333 by last commit to Emacs.
3335 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
3337 * org-clock.el (org-dblock-write:clocktable): Make sure the
3338 clocktable sees the first line.
3339 (org-clock-in): Warn if the clock cannot be resumed.
3341 2008-11-22 Carsten Dominik <carsten.dominik@gmail.com>
3343 * org.el (org-open-at-point): Fix mixup about interactive and
3344 non-interactive elisp links.
3346 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
3348 * org-exp.el (org-export-preprocess-string): Allow one comment
3349 line before the first headline to always be included. This is
3350 to not miss a commented target.
3352 * org-mouse.el (org-mouse-insert-item): Call
3353 `org-indent-to-column' instead of `indent-to', for XEmacs
3356 * org.el (org-refile-targets): Fix customize definition so
3357 that it works also in XEmacs.
3358 (org-fixup-indentation): Call `org-indent-to-column' instead
3359 of `indent-to', for XEmacs compatibility.
3361 2008-11-21 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
3363 * org-mew.el (org-mew-store-link): Get the correct case folder
3364 for refiled messages.
3366 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
3368 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
3369 line break indicators.
3371 * org.el (org-ido-completing-read): Remove the "i:" prefix for
3372 ido-completion propts.
3374 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
3376 * org-remember.el (org-remember-apply-template): Use
3377 `org-substring-no-properties'.
3379 * org-compat.el (org-substring-no-properties): New function.
3381 * org-remember.el (org-remember-apply-template): Use
3382 `org-substring-no-properties' for compatibility.
3384 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
3386 (org-fix-bullet-type): respect
3387 `org-list-two-spaces-after-bullet-regexp'.
3389 * org-clock.el (org-clock-load): Clean up the code.
3391 * org.el (org-adaptive-fill-function): Allow two spaces after
3392 "1." as a list bullet.
3394 2008-11-20 Carsten Dominik <carsten.dominik@gmail.com>
3396 * org-clock.el (org-clock-save, org-clock-load): Check for
3397 live buffers, existing files, and buffer file names to ensure
3398 consistent information.
3399 (org-clock-persist): Make `clock' a special value of this
3400 variable, and improve docstring.
3402 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
3403 (org-get-string-indentation): Adapt indentation when the bullet
3406 2008-11-19 Carsten Dominik <carsten.dominik@gmail.com>
3408 * org-remember.el (org-remember-finalize): Make interactive.
3409 (org-remember-kill): New command.
3410 (org-remember-finish-immediately): Call `org-remember-finalize'
3412 (org-remember-finalize): Make `org-remember-finalize' an interactive
3415 2008-11-18 Carsten Dominik <carsten.dominik@gmail.com>
3417 * org-remember.el (org-remember-apply-template): No ido completion
3418 for free prompts in remember templates.
3419 (org-remember-before-finalize-hook): New hook.
3420 (org-remember-mode): New minor mode.
3421 (org-remember-apply-template): Turn on `org-remember-mode'.
3423 * org-id.el (org-id-add-location): Avoid error when no file is
3426 * org-remember.el (org-remember-apply-template): Fix the way how
3427 the list of allowed properties is retrieved from the target file.
3429 * org.el (org-insert-link): Improve file link matching.
3431 2008-11-17 Carsten Dominik <carsten.dominik@gmail.com>
3433 * org-colview.el (org-columns-display-here): New argument
3434 DATELINE, to trigger using the new face.
3435 (org-agenda-colview-summarize): Call `org-columns-display-here'
3436 with the new argument.
3438 * org-faces.el (org-agenda-column-dateline): New face.
3440 * org-publish.el (org-publish-org-index): Use index-title at page
3441 title, not as section.
3443 * org-exp.el (org-export-html-format-desc): Respect the
3444 org-protect property.
3445 (org-export-as-html): Protect image specifiers that are in the
3446 description part of a link.
3448 * org.el (org-sort-entries-or-items, org-completing-read)
3449 (org-refile-get-location, org-olpath-completing-read, org-todo)
3450 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
3451 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
3452 (org-set-property, org-delete-property)
3453 (org-delete-property-globally): Use `org-ido-completing-read'.
3455 * org-remember.el (org-remember-apply-template): Use
3456 `org-ido-completing-read'.
3458 * org-publish.el (org-publish): Use `org-ido-completing-read'.
3460 * org-colview.el (org-columns-edit-value, org-columns-new)
3461 (org-insert-columns-dblock): Use `org-ido-completing-read'.
3463 * org-colview-xemacs.el (org-columns-edit-value)
3464 (org-columns-new, org-insert-columns-dblock): Use
3465 `org-ido-completing-read'.
3467 * org-attach.el (org-attach-delete-one, org-attach-open): Use
3468 `org-ido-completing-read'.
3470 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
3471 `org-ido-completing-read'.
3473 * org.el (org-time-today): New function.
3474 (org-matcher-time): Use `org-time-today'. Add special treatment
3475 for "<tomorrow>" and "<yesterday>".
3476 (org-ido-completing-read): New function.
3477 (org-completion-use-ido): New option.
3479 * org-exp.el (org-export-format-source-code): Fix bug in require
3481 (org-export-target-internal-links): Fix bug in search for text
3484 2008-11-16 Carsten Dominik <carsten.dominik@gmail.com>
3486 * org-export-latex.el (org-export-latex-subcontent): Interprete
3487 target aliases as additonal labels.
3489 * org-exp.el (org-export-target-aliases): New variable.
3490 (org-export-preprocess-string)
3491 (org-export-handle-invisible-targets): Fill the alias alist.
3492 (org-export-as-html): Remove the from the anchor, and also
3494 (org-html-level-start): Insert the target aliases as additonal
3497 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
3500 2008-11-15 Carsten Dominik <carsten.dominik@gmail.com>
3502 * org.el (org-open-at-mouse): Ensure correct link abbreviations
3503 when following a link with the mouse from the agenda.
3505 * org-exp.el (org-export-as-html): Avoid lone </div> when no
3506 headlines are created.
3508 2008-11-14 Carsten Dominik <carsten.dominik@gmail.com>
3510 * org-exp.el (org-export-preprocess-string): Reorder so that we
3511 can still see ID properties when we collect targets.
3512 (org-export-target-internal-links): Also store targets for ID's.
3514 * org.el (org-link-translation-function): New option.
3515 (org-open-at-point): Call `org-link-translation-function' if
3517 (org-translate-link): New function.
3518 (org-translate-link-from-planner): New function.
3519 (org-open-at-point): Allow interactive commands in elisp links.
3521 * org-exp.el (org-icalendar-cleanup-string): Restore the old
3522 iCalendar quoting. The new one seems to caus problems with
3525 * org.el (org-yank): Set `this-command' to `yank', so that
3526 `yank-pop' will work.
3528 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3530 * org-id.el (org-id-search-archives): New option.
3532 * org.el (org-link-to-org-use-id): New option.
3533 (org-store-link): Use `org-link-to-org-use-id'.
3534 (org-id): Make org-id.el a standard component.
3536 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3538 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
3539 hexified version of the tag.
3541 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
3542 compliance as far as quoting is concerned.
3544 * org-vm.el (org-vm-follow-link): Require `vm-search'.
3546 * org.el (org-up-heading-safe, org-forward-same-level): Always
3547 call `org-back-to-heading' instead of `outline-back-to-heading'.
3548 (org-back-to-heading): New wrapper around outline-back-to-heading,
3549 with a useful error message telling where the error happened.
3551 * org-list.el (org-update-checkbox-count): Always call
3552 `org-back-to-heading' instead of `outline-back-to-heading'.
3554 * org-exp.el (org-export-as-html): Make sure that each <img> tag
3555 has an `alt' attribute, to ensure XHTML validation.
3557 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
3559 * org-publish.el (org-publish-attachment): Allow publishing to
3560 overwrite attachment files.
3562 * org-agenda.el (org-agenda-timerange-leaders): New option.
3563 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
3565 * org.el (org-edit-src-exit): Untabify ASCII image before
3579 2008-11-11 Carsten Dominik <carsten.dominik@gmail.com>
3581 * org.el (org-yank): Make any prefix force normal yanking.
3582 Suppress folding if text would be swallowed into a folded
3584 (org-yank-folded-subtrees, org-yank): Docstring updates.
3586 * org-agenda.el (org-agenda-compare-effort): Treat no effort
3589 * org-exp.el (org-export-language-setup): Add Catalan and
3590 Esperanto language entries.
3592 2008-11-10 Carsten Dominik <carsten.dominik@gmail.com>
3594 * org.el (org-refile): Allow refiling of entire regions.
3596 * org-clock.el (org-clock-time%): New function.
3598 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
3599 retrieve property values.
3601 2008-11-09 Carsten Dominik <carsten.dominik@gmail.com>
3603 * org-agenda.el (org-agenda-list): Handle the value `only' of
3604 org-agenda-show-log'.
3605 (org-agenda-log-mode): Interpret a double prefix arg.
3607 2008-11-08 Carsten Dominik <carsten.dominik@gmail.com>
3609 * org-exp.el (org-export-html-footnotes-section): New variable.
3610 (org-export-as-html): Use `org-export-html-footnotes-section' to
3611 insert the footnotes.
3612 (org-export-language-setup): Add "Footnotes" to language words.
3614 2008-11-07 Carsten Dominik <carsten.dominik@gmail.com>
3616 * org.el (org-yank): Fix bug when not inserting a subtree.
3618 2008-11-06 Carsten Dominik <carsten.dominik@gmail.com>
3620 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
3621 instead of `vm-beginning-of-message'.
3623 * org.el (org-make-link-regexps): Make sure that links to gnus can
3626 2008-11-05 Carsten Dominik <carsten.dominik@gmail.com>
3628 * org-attach.el (org-attach-dir): Remove duplicate ID creation
3631 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
3634 * org.el (org-link-abbrev-alist): Improve customization type.
3636 * org-attach.el (org-attach-expand-link, org-attach-expand): New
3639 * org-agenda.el (org-agenda-get-progress): Renamed from
3640 `org-get-closed'. Implement searching for state changes as well.
3641 (org-agenda-log-mode-items): New option.
3642 (org-agenda-log-mode): New option prefix argument, interpreted as
3643 request to show all possible progress info.
3644 (org-agenda-get-day-entries): Call `org-get-progress' instead of
3646 (org-agenda-set-mode-name): Handle the more complex log mode
3648 (org-get-closed): New alias, pointing to `org-get-progress'.
3650 2008-11-05 Carsten Dominik <dominik@science.uva.nl>
3652 * org.el (org-file-apps-defaults-gnu)
3653 (org-file-apps-defaults-macosx)
3654 (org-file-apps-defaults-windowsnt): Add an entry defining the
3656 (org-file-apps): Allow `system' as key and value.
3657 (org-open-at-point): Explain the effect of a double prefix arg.
3658 (org-open-file): If the argument `in-emacs' is (16),
3659 i.e. corresponding to a double prefix argument, try to open the
3662 2008-11-04 Carsten Dominik <dominik@science.uva.nl>
3664 * org.el (org-insert-link): Abbreviate absolute files names in
3665 links. Also, fix a bug in which the double C-u prefix would not
3668 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
3670 * org.el (org-insert-heading): If buffer does not end with a
3671 newline, add one if necessary to insert headline correctly.
3673 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
3674 paragraphs, not inside.
3676 * org.el (org-todo): Quote
3677 `org-agenda-headline-snapshot-before-repeat'.
3679 * org-exp.el (org-export-as-html): Fully process link descriptions.
3680 (org-export-html-format-desc): New function.
3681 (org-export-as-html): Collect footnotes into the correct basket.
3682 (org-html-protect): No longer protect quotations marks here, this
3685 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
3688 * org-compat.el (org-fit-window-to-buffer): New function (not
3689 really, a preliminary and incomplete version was present earlier,
3692 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
3693 `org-fit-window-to-buffer'.
3695 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
3697 * org-agenda.el (org-agenda-get-restriction-and-command)
3698 (org-fit-agenda-window, org-agenda-convert-date): Use
3699 `org-fit-window-to-buffer'.
3701 * org-exp.el (org-export-as-html): Process href links through
3702 `org-export-html-format-href'.
3703 (org-export-html-format-href): New function.
3705 * org-agenda.el (org-agenda-todo): Update only the current
3706 headline if this is a repeated TODO, marked done for today.
3707 (org-agenda-change-all-lines): New argument JUST-THIS, to change
3708 only the current line.
3710 * org.el (org-todo): Take a snapshot of the headline if the
3711 repeater might change it.
3713 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
3715 * org-publish.el (org-publish-find-title): Remove buffers visited
3716 only for extracting the title.
3718 * org-exp.el (org-export-html-style)
3719 (org-export-html-style-default): Mark style definitions as
3722 * org-publish.el (org-publish-validate-link): Function
3725 2008-11-02 Charles Sebold <csebold@gmail.com>
3727 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
3729 (org-plot-quote-timestamp-field): New function.
3730 (org-plot-quote-tsv-field): Call timestamp field function when
3731 necessary rather than just quoting as a string.
3732 (org-plot/gnuplot-to-data): Pass in timefmt property.
3733 (org-plot/gnuplot-script): Supports timefmt property.
3734 (org-plot/gnuplot): Checks for timestamp column before checking
3735 for text index column.
3737 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
3739 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
3741 * org-publish.el (org-publish-org-index): Create a section in the
3743 (org-publish-org-index): Stop linking to directories.
3745 * org.el (org-emphasis-alist): Use span instead of <u> to
3748 * org-exp.el (org-export-as-html): Make sure <p> is closed before
3751 2008-11-01 Sebastian Rose <sebastian_rose@gmx.de>
3753 * org-jsinfo.el (org-infojs-template): Remove language attribute
3756 2008-11-01 Carsten Dominik <dominik@science.uva.nl>
3758 * org-agenda.el (org-agenda-remove-marked-text): New function.
3759 (org-agenda-mark-filtered-text)
3760 (org-agenda-unmark-filtered-text): New functions.
3761 (org-write-agenda): Remove fltered text.
3763 * org.el (org-make-tags-matcher): Give access to TODO "property"
3764 without speed penalty.
3766 2008-10-29 Carsten Dominik <dominik@science.uva.nl>
3768 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
3770 (org-store-link-props): Make sure adding to the plist works
3773 * org-gnus.el (org-gnus-no-new-news): New function.
3774 (org-gnus-follow-link): Allow the article ID to be a message-id,
3775 in addition to allowing article numbers. Message IDs make much
3777 (org-gnus-store-link): Use message-id to create link.
3779 2008-10-28 Carsten Dominik <dominik@science.uva.nl>
3781 * org.el (org-emphasize): Reverse the selection array.
3782 (org-emphasis-alist): Set <code> tags for the verbatim
3785 * org-remember.el (org-remember-handler): Fix bug with
3786 prefix-related changing of the note storage target.
3788 * org-exp.el (org-print-icalendar-entries): Make the exported
3789 priorities compatible with RFC 2445.
3791 * org-clock.el (org-clock-save): Insert time stamp without
3792 dependence on time-stamp.el.
3794 2008-10-27 Carsten Dominik <dominik@science.uva.nl>
3796 * org.el ("saveplace"): If saveplace puts point into an invisible
3797 location, make it visible.
3798 (org-make-tags-matcher): Allow inactive time stamps in time
3800 (org-yank-adjusted-subtrees): New option.
3801 (org-yank): Incorporate adjusting trees.
3802 (org-paste-subtree): New argument FOR-YANK which will cause
3803 insertion at point without backing up over white lines, and leave
3804 point at the end of the inserted text. Also if the cursor is
3805 at the beginning of a headline, use the same level or the inserted
3808 * org-publish.el (org-publish-get-base-files-1): Deal correctly
3809 with broken symlinks
3811 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
3813 * org-exp.el (org-export-select-tags, org-get-current-options):
3816 2008-10-25 Carsten Dominik <dominik@science.uva.nl>
3818 * org-agenda.el (org-format-agenda-item)
3819 (org-agenda-filter-make-matcher): Make sure tags are stored and
3822 2008-10-23 Carsten Dominik <dominik@science.uva.nl>
3824 * org.el (org-insert-todo-heading): Fix bug with force-heading
3827 2008-10-23 James TD Smith <ahktenzero@mohorovi.cc>
3829 * org-clock.el (org-clock-in-resume): Add a custom option to
3830 toggle starting the clock from an open clock line.
3831 (org-clock-in): When clocking in to an entry, if
3832 `org-clock-in-resume' is set, check if the first clock line is
3833 open and if so, start the clock from the time in the clock line.
3834 (org-clock-persist): Add a custom option to toggle clock
3836 (org-clock-persist-query-save): Add a custom option to toggle
3837 asking the user if they want to save the running clock when
3839 (org-clock-persist-query-resume): Add a custom option to toggle
3840 asking the user if they want to resume the saved clock when Emacs
3842 (org-clock-save): Add a function to save clock data.
3843 This includes the contents of `org-clock-history' and the buffer
3844 and position of the currently clocked task, if any.
3845 (org-clock-load): Add a function to load clock data.
3846 This populates `org-clock-history', and resumes the saved clocked
3847 task if there is one.
3848 (org-clock-persistence-insinuate): Add a method to set up the
3849 hooks for clock persistence.
3851 2008-10-22 Carsten Dominik <dominik@science.uva.nl>
3853 * org-exp.el (org-export-as-ascii): Handle the case that we are
3854 publishing from an indirect buffer.
3856 * org-table.el (org-table-copy-down): Fix bug with time stamp
3859 * org-mouse.el (org-mouse-features): New option.
3860 (org-mode-hook): Turn on features depending on
3861 `org-mouse-features'.
3863 * org.el (org-insert-heading-respect-content): Force heading
3865 (org-insert-heading): keep the folding state of the heading before
3868 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
3870 * org-archive.el (org-archive-to-archive-sibling): Handle top
3871 level headlines better.
3873 2008-10-21 Bastien Guerry <bzg@altern.org>
3875 * org-export-latex.el (org-export-latex-classes): Added
3876 \usepackage{graphicx} to the default list of packages.
3878 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
3880 * org-agenda.el (org-agenda-filter): Renamed from
3881 `org-agenda-filter-tags'.
3883 2008-10-20 Carsten Dominik <dominik@science.uva.nl>
3885 * org.el (org-entry-properties): Add CATEGORY property, iven if it
3886 is not defined as a property in this entry.
3887 (org-add-log-note): Mask prefix argument when immediately storing
3890 * org-agenda.el (org-agenda-filter-effort-default-operator): New
3893 2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
3895 * org.el (org-add-log-setup): Bugfix; code to find insertion point
3896 after drawers was skipping ahead one line too many, so notes were
3897 inserted after the first note instead of before it.
3899 2008-10-18 Carsten Dominik <dominik@science.uva.nl>
3901 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
3903 (org-prepare-agenda): Reset the filter tags.
3904 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
3905 Show filter tags in mode line.
3907 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
3910 * org-export-latex.el (org-latex-entities-regexp): New constant.
3911 (org-export-as-pdf): Use two calls to `shell-command'.
3913 2008-10-17 Carsten Dominik <dominik@science.uva.nl>
3915 * org-export-latex.el (org-export-latex-treat-sub-super-char):
3916 Honor the {} value of the subsuperscript setting. Make sure that
3917 longer subsuperscripts are typeset in a roman font.
3919 * org.el (org-clock-update-time-maybe): Compute negative clock
3920 intervals correctly.
3922 2008-10-16 Carsten Dominik <dominik@science.uva.nl>
3924 * org.el (org-add-log-setup): Respect
3925 `org-log-state-notes-insert-after-drawers'.
3926 (org-log-state-notes-insert-after-drawers): New option.
3927 (org-todo-trigger-tag-changes): New function.
3928 (org-todo): Call `org-todo-trigger-tag-changes'.
3930 2008-10-15 James TD Smith <ahktenzero@mohorovi.cc>
3932 * org.el (org-add-log-setup): Only skip drawers if the are
3933 immediately after the scheduling keywords.
3935 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
3937 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
3938 call it with the current todo state to get the state to switch to
3940 (org-clock-in): Use org-indent-line-function to indent clock lines.
3941 (org-clock-find-position): Fix indentation of empty clock drawers.
3943 2008-10-15 Carsten Dominik <dominik@science.uva.nl>
3945 * org-publish.el (org-publish-org-to): Handle case when
3946 org-export-to-pdf does return a file name, not a buffer.
3947 (org-publish-org-to-pdf): New function.
3949 * org-export-latex.el (org-export-as-pdf)
3950 (org-export-as-pdf-and-open): New commands.
3952 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
3955 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
3956 things in protexted regions.
3958 2008-10-14 Carsten Dominik <dominik@science.uva.nl>
3960 * org-export-latex.el (org-export-latex-preprocess): Improve
3961 quoting of LaTeX environments.
3963 2008-10-10 Carsten Dominik <dominik@science.uva.nl>
3965 * org.el (org-edit-fixed-width-region): Exclude final newline from
3968 * org-export-latex.el (org-export-latex-subcontent): Add labels to
3969 sections, to make internal links work.
3970 (org-export-latex-fontify-headline): Do not remove all text
3971 properties, to make sure that target properties survive this
3974 * org-exp.el (org-export-preprocess-string): Change sequence of
3975 modifications, to make sure links are prepared before the LaTeX
3976 conversions do happen.
3978 2008-10-09 Carsten Dominik <dominik@science.uva.nl>
3980 * org-attach.el (org-attach-delete-all): Renamed from
3981 `org-attch-delete'. Add a security query before deleting the
3982 entire directory. New optional argument FORCE can overrule the
3984 (org-attach-delete-one): New command.
3986 2008-10-08 Carsten Dominik <dominik@science.uva.nl>
3988 * org-attach.el (org-attach-file-list): Fix bug with directory.
3990 2008-10-07 Carsten Dominik <dominik@science.uva.nl>
3992 * org.el (org-apps-regexp-alist): New function.
3993 (org-file-apps): Add auto-mode to the default value.
3994 (org-open-file): Use the new structure of org-file-apps.
3996 * org-attach.el (org-attach): Support the new keys.
3997 (org-attach-method): New option.
3999 2008-10-06 Carsten Dominik <dominik@science.uva.nl>
4001 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
4004 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
4005 of the list value o `org-use-tag-inheritance'.
4007 * org-attach.el (org-attach-auto-tag): New option.
4008 (org-attach-tag, org-attach-untag): New functions.
4009 (org-attach-attach, org-attach-new, org-attach-sync): Call
4011 (org-attach-delete): Call `org-attach-untag'.
4013 2008-10-04 Carsten Dominik <dominik@science.uva.nl>
4015 * org-table.el (orgtbl-self-insert-command): Make this work for
4018 2008-10-02 Carsten Dominik <dominik@science.uva.nl>
4020 * org.el (org-add-log-setup): Limit searc for drawers to entry
4021 text, not to subtree.
4023 * org-clock.el (org-clock-heading-for-remember): New variable.
4024 (org-clock-in): Set `org-clock-heading-for-remember'.
4026 2008-10-01 James TD Smith <ahktenzero@mohorovi.cc>
4028 * org-remember.el (org-remember-apply-template): Add new
4029 expansions: %k, %K for currently clocked task and a link to the
4030 currently clocked task, and %< to file notes in the currently
4033 2008-10-01 Carsten Dominik <dominik@science.uva.nl>
4035 * org-export-latex.el (org-export-latex-make-header): Also insert
4036 the content of the property :latex-header-extra.
4038 * org-exp.el (org-infile-export-plist): Put the content of
4039 #+LATEX_HEADER: into the property :latex-header-extra.
4041 * org-colview.el (org-columns-get-format-and-top-level): Remove
4042 resetting the marker.
4044 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
4045 Remove resetting the marker.
4047 * org.el (org-entry-property-inherited-from): Improve docstring.
4048 (org-entry-get-with-inheritance): Reset marker before starting the
4051 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
4053 2008-09-30 Carsten Dominik <dominik@science.uva.nl>
4055 * org.el (org-entry-get-multivalued-property)
4056 (org-entry-protect-space, org-entry-restore-space): New
4058 (org-file-apps-defaults-macosx): Let postscript files be opened by
4060 (org-time-stamp-inactive): Call `org-time-stamp'.
4061 (org-time-stamp): New argument `inactive'. Also edit inacive
4062 stamps. Convert time stamp type.
4063 (org-open-file): Interpret the `default' value for the `command'
4066 * org-id.el (org-id-int-to-b36-one-digit)
4067 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
4068 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
4071 2008-09-29 Carsten Dominik <dominik@science.uva.nl>
4073 * org-id.el (org-id-reverse-string): New function.
4074 (org-id-new): Use `org-id-reverse-string' to make sure the
4075 beginning chars of the ID are mutating fast. This allows to use a
4076 directory structure to spread things better.
4077 (org-id-prefix): Changed default to nil.
4079 * org-list.el (org-move-item-down, org-move-item-up): Remember and
4080 restore the column of the cursor position.
4082 * org-remember.el (org-remember-apply-template): Remove properties
4085 2008-09-27 Carsten Dominik <dominik@science.uva.nl>
4087 * org-wl.el (org-wl-open): Remove useless call to
4088 `wl-thread-open-all'.
4090 * org-remember.el (org-remember-handler): Fix bug with `bottom'
4093 2008-09-26 Carsten Dominik <dominik@science.uva.nl>
4095 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
4096 `org-bbdb-anniversaries'.
4098 * org.el (org-get-next-sibling, org-forward-same-level): New
4099 functions, similar to the outline versions, but invisible headings
4102 2008-09-25 Bastien Guerry <bzg@altern.org>
4104 * org.el (org-auto-repeat-maybe): Insert a space between
4105 the timestamp's type and the timestamp itself.
4107 2008-09-24 Carsten Dominik <dominik@science.uva.nl>
4109 * org-table.el (org-table-sum): Do not format the result with %g,
4110 it does rounding when there are too many digits.
4112 * org.el (org-map-entries): Protect the keyword-selecting variables.
4114 2008-09-23 Bastien Guerry <bzg@altern.org>
4116 * org-agenda.el (org-agenda-to-appt): Make sure the function check
4117 against all agenda files.
4119 2008-09-23 Carsten Dominik <dominik@science.uva.nl>
4121 * org-list.el: New file, aggregating list functions from org.el
4122 and org-export-latex.el.
4124 * org.el (org-edit-src-region-extra): New option.
4126 2008-09-22 Carsten Dominik <dominik@science.uva.nl>
4128 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
4131 2008-09-22 Bastien Guerry <bzg@altern.org>
4133 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
4135 2008-09-22 James TD Smith <ahktenzero@mohorovi.cc>
4137 * org-plot.el (org-plot/gnuplot): Make tables starting with a
4138 hline work correctly.
4139 (org-plot/gnuplot-script): Put commas at the end of each script
4142 2008-09-20 James TD Smith <ahktenzero@mohorovi.cc>
4144 * org.el (org-get-refile-targets): Replace links with their
4146 (org-imenu-get-tree): Replace links with their descriptions.
4148 * org-remember.el (org-remember-apply-template): Add a new
4149 expansion for adding properties to remember items.
4151 * org.el (org-add-log-setup): Skip over drawers (properties,
4152 clocks etc) when adding notes.
4154 * org-agenda.el (org-agenda-get-closed): show durations of clocked
4155 items as well as the start and end times.
4157 * org-compat.el (org-get-x-clipboard-compat): Add a compat
4158 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
4160 * org-remember.el (org-get-x-clipboard): Use the compat
4161 function to get clipboard values when x-selection-value is
4162 unavailable. Use substring-no-properties instead of
4163 set-text-properties to remove text properties from the clipboard
4166 * lisp/org-clock.el (org-update-mode-line): Support limiting the
4167 modeline clock string, and display the full todo value in the
4168 tooltip. Set a local keymap so mouse-3 on the clock string goes to
4169 the currently clocked task.
4170 (org-clock-string-limit): Add a custom value for the maximum
4171 length of the clock string in the modeline.
4172 (org-clock-mode-map): Add a keymap for the modeline string
4174 2008-09-21 Carsten Dominik <dominik@science.uva.nl>
4176 * org-compat.el (org-propertize): New function.
4178 2008-09-20 Bastien Guerry <bzg@altern.org>
4180 * org-export-latex.el (org-export-latex-tables): protect exported
4181 tables from further special chars conversion.
4182 (org-export-latex-preprocess): Preserve LaTeX environments.
4183 (org-list-parse-list): Parse descriptive lists.
4184 (org-list-to-generic, org-list-to-latex, org-list-to-html)
4185 (org-list-to-texinfo): Export descriptive lists.
4186 (org-quote-chars): Remove.
4187 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
4188 (org-export-latex-list-beginning-re): Rename to
4189 `org-list-beginning-re'
4190 (org-list-item-begin): Rename to `org-list-item-beginning'
4192 2008-09-20 Carsten Dominik <dominik@science.uva.nl>
4194 * org.el (org-refile): Allow refiling to the last entry in the
4196 (org-get-tags-at): Fix bug when inheritance is turned off.
4198 2008-09-19 Carsten Dominik <dominik@science.uva.nl>
4200 * org.el (org-indent-line-function): No longer check for src
4201 regions, this is too much overhead.
4203 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
4206 * org.el (org-scan-tags): Make sure that tags matching is not case
4207 sensitive. TODO keyword matching is case sensitive, however, to
4208 avoid confusion with similar words that are not meant to be
4211 2008-09-18 Carsten Dominik <dominik@science.uva.nl>
4213 * org.el (org-get-local-tags-at): New function.
4214 (org-get-local-tags): New function.
4216 * org-exp.el (org-export-get-categories): New function.
4218 * org-agenda.el (org-sorting-choice)
4219 (org-agenda-sorting-strategy, org-agenda-get-todos)
4220 (org-agenda-get-timestamps, org-agenda-get-deadlines)
4221 (org-agenda-get-scheduled, org-agenda-get-blocks)
4222 (org-entries-lessp): Implement sorting by TODO state.
4223 (org-cmp-todo-state): New defsubst.
4225 * org-colview.el (org-colview-construct-allowed-dates): New
4227 (org-columns-next-allowed-value): Use
4228 `org-colview-construct-allowed-dates'.
4230 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
4232 (org-columns-next-allowed-value): Use
4233 `org-colview-construct-allowed-dates'.
4235 2008-09-17 Carsten Dominik <dominik@science.uva.nl>
4237 * org.el (org-protect-slash): New function.
4238 (org-get-refile-targets): Use `org-protect-slash'.
4240 * org-agenda.el (org-global-tags-completion-table): New variable.
4242 * org-exp.el (org-export-handle-export-tags): New function.
4243 (org-export-preprocess-string): Call
4244 `org-export-handle-export-tags'.
4246 * org-plot.el: New file.
4248 * org-publish.el (org-publish-expand-components): Function removed.
4249 (org-publish-expand-projects): Allow components to have components.
4251 2008-09-13 Carsten Dominik <dominik@science.uva.nl>
4253 * org.el (org-indent-line-function): Do not indent in regions that
4254 are external source code.
4255 (org-yank-and-fold-if-subtree): New function.
4257 * org-agenda.el (org-agenda-todayp): New function.
4258 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
4259 `org-agenda-todayp'.
4261 * org.el (org-insert-heading-respect-content)
4262 (org-insert-todo-heading-respect-content): New commands.
4263 (org-insert-heading-respect-content): New option.
4264 (org-insert-heading): Respect `org-insert-heading-respect-content'.
4266 * org-clock.el (org-clock-find-position): Make sure the note after
4267 the clock line gets moved into the new clock drawer.
4269 2008-09-11 Carsten Dominik <dominik@science.uva.nl>
4271 * org-id.el (org-id-new): New option.
4273 2008-09-08 Carsten Dominik <dominik@science.uva.nl>
4275 * org-table.el (org-table-copy-down): Avoid overflow during
4276 increment. Use prefix argument 0 to temporarily disable the
4279 2008-09-07 Carsten Dominik <dominik@science.uva.nl>
4281 * org-exp.el (org-export-as-html): Do not turn on the major mode
4282 if the buffer will be killed anyway.
4283 (org-get-current-options): Exclude the #+TEXT field.
4284 (org-export-as-html): Make sure text before the first headline is
4287 * org-publish.el (org-publish-org-to): Tell the exporter that this
4288 buffer will be killed, so it is not necessary to do major mode
4291 * org-archive.el (org-archive-to-archive-sibling): Show empty
4292 lines after folding the archive sibling.
4294 * org.el (org-log-note-extra): New variable.
4296 2008-09-05 Bastien Guerry <bzg@altern.org>
4298 * org.el (org-additional-option-like-keywords): Added keywords for
4299 the _QUOTE, _VERSE and _SRC environments.
4301 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
4302 exporting _QUOTE and _VERSE environments.
4304 2008-09-05 Carsten Dominik <dominik@science.uva.nl>
4306 * org-agenda.el (org-agenda-filter-by-tag): New command.
4308 * org-exp.el (org-get-current-options): Remove angular brackets
4309 from the date entry.
4311 * org.el (org-edit-fixed-width-region): New function.
4312 (org-edit-fixed-width-region): Also try
4313 `org-edit-fixed-width-region'.
4314 (org-edit-fixed-width-region-mode): New option.
4315 (org-activate-code): Only interprete lines starting with colon
4316 plus a space as example lines.
4318 * org-remember.el (org-remember-templates): Add nil instead of
4319 empty strings to fix the length of remember templates.
4321 * org-table.el (org-calc-default-modes): Fix the time format for
4322 calc, from 12 hour to 24 hour clock.
4324 2008-09-04 Carsten Dominik <dominik@science.uva.nl>
4326 * org-agenda.el (org-agenda-get-deadlines)
4327 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
4328 entries that are pre-warnings of deadlines or reminders.
4330 * org.el (org-sort-entries-or-items): Make numeric and alpha
4331 comparisons ignore any TODO keyword and priority cookie.
4333 * org-remember.el (org-remember-handler): Reinterpretation of the
4336 2008-09-03 Carsten Dominik <dominik@science.uva.nl>
4338 * org-agenda.el (org-agenda-get-scheduled): Use new
4339 `org-scheduled' face.
4341 * org-faces.el (org-scheduled): New face.
4343 * org-wl.el (org-wl-open): Remove incorrect declaration.
4345 * org-gnus.el (org-gnus-store-link): Support for :to information
4348 * org-exp.el (org-export-as-html): Fixed typo in creator
4350 (org-export-protect-examples): New parameter indent. Insert extra
4351 spaces only when this parameter is specified.
4352 (org-export-preprocess-string): Call `org-export-protect-examples'
4353 with an indentation parameter when exporting to ASCII.
4355 * org-remember.el (org-remember-templates)
4356 (org-remember-apply-template): Allow the file component to be a
4359 * org.el (org-goto-local-search-headings): Renamed from
4360 `org-goto-local-search-forward-headings'. Added the possibility
4361 to search backwards.
4363 2008-09-02 Carsten Dominik <dominik@science.uva.nl>
4365 * org-export-latex.el (org-export-latex): New customization
4368 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
4370 2008-09-01 Carsten Dominik <dominik@science.uva.nl>
4372 * org-exp.el (org-html-do-expand): Allow {} to terminate
4375 2008-07-29 Carsten Dominik <dominik@science.uva.nl>
4377 * org.el (org-buffer-list): Select buffers based on major mode,
4380 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
4382 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
4385 * org-colview.el (org-columns-display-here): Use
4386 `org-columns-modify-value-for-display-function'.
4388 * org-colview-xemacs.el (org-columns-display-here): Use
4389 `org-columns-modify-value-for-display-function'.
4391 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
4393 * org.el (org-columns-modify-value-for-display-function): New option.
4405 * org-publish.el (org-publish-file): Make sure the directory match
4406 for the publishing directory works correctly.
4408 * org-agenda.el (org-agenda-execute-calendar-command)
4409 (org-agenda-diary-entry): Additional optional argument.
4411 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
4413 * org-exp.el (org-export-as-html): Add attributes also in mailto
4416 * org.el (org-autoload): Add `org-dblock-write:columnview'.
4425 2008-07-23 Carsten Dominik <dominik@science.uva.nl>
4427 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
4428 sure that calls from `org-export-region-as-html' do not do the
4429 special check for a subtree.
4431 2008-07-22 Carsten Dominik <dominik@science.uva.nl>
4433 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
4435 2008-07-20 Juri Linkov <juri@jurta.org>
4437 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
4438 new keymap `narrow-map' instead of binding "\C-xns".
4440 2008-07-18 Carsten Dominik <dominik@science.uva.nl>
4442 * org.el (org-open-file): Use
4443 `org-open-directory-means-index-dot-org'.
4444 (org-open-directory-means-index-dot-org): New option.
4446 2008-07-17 Carsten Dominik <dominik@science.uva.nl>
4448 * org.el (org-make-link-string): Remove link attributes from
4450 (org-open-at-point): Remove link attributes bevore using the path.
4452 * org-exp.el (org-export-as-html): Handle link attributes.
4454 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
4456 * org-table.el (org-table-to-lisp): New function.
4458 * org.el (org-narrow-to-subtree): Do not include the final newline
4459 into the narrowed region.
4461 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
4462 bug with user-define skipping condition.
4464 2008-07-16 Carsten Dominik <dominik@science.uva.nl>
4466 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
4468 2008-07-14 Carsten Dominik <dominik@science.uva.nl>
4470 * org-exp.el (org-export-html-style-default): Automatic overflow
4471 handling for pre fields.
4472 (org-export-as-ascii, org-export-as-html): Change default format
4475 * org-table.el (org-table-export): Offer completion for translator
4476 functions, and do not require a heading above the table.
4478 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
4479 Cater for the case of a list starting in the first line of the
4482 2008-07-09 Carsten Dominik <dominik@science.uva.nl>
4484 * org-publish.el (org-publish-find-title): Bug fix.
4485 (org-publish-org-index): Implement new :index-style option.
4487 2008-07-07 Carsten Dominik <dominik@science.uva.nl>
4489 * org-publish.el (org-publish-timestamp-filename): Use
4490 SHA1-encoded file names in the timestamp directory.
4492 2008-07-05 Carsten Dominik <dominik@science.uva.nl>
4494 * org-publish.el (org-publish-needed-p): Be verbose about files
4495 published and files skipped.
4497 * org-exp.el (org-export-preprocess-string): Swap link
4498 normalization and inernal link targeting.
4500 * org-publish.el (org-publish-needed-p): Create timestamp
4501 directory when it does not exist.
4503 2008-07-04 Bastien Guerry <bzg@altern.org>
4505 * org-clock.el (org-clock-out-when-done): Doc fix.
4507 * org.el (org-agenda-skip-unavailable-files): Doc fix.
4509 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
4510 Ignore case when searching for the COMMENT cookie at export time.
4512 2008-07-02 Carsten Dominik <dominik@science.uva.nl>
4514 * org-exp.el (org-get-file-contents)
4515 (org-get-and-remove-property): New functions.
4516 (org-export-handle-include-files): Handle the new prefix options.
4517 (org-export-as-html): Fix the verse environment.
4519 2008-07-01 Carsten Dominik <dominik@science.uva.nl>
4521 * org.el (org-time=, org-time<, org-time<=, org-time>)
4522 (org-time>=, org-time<>, org-2ft): New functions.
4523 (org-op-to-function): Also provide for the time testing fucntions.
4525 2008-06-30 Carsten Dominik <dominik@science.uva.nl>
4527 * org-exp.el (org-export-html-style-default): New constant.
4529 2008-06-29 Carsten Dominik <dominik@science.uva.nl>
4531 * org-exp.el (org-export-html-style-extra): New variable.
4532 (org-export-splice-style): New function.
4534 2008-06-26 Carsten Dominik <dominik@science.uva.nl>
4536 * org-exp.el (org-export-plist-vars, org-export-as-html):
4537 Implement `org-export-creator-info'.
4538 (org-export-creator-info): New option.
4540 2008-06-25 Carsten Dominik <dominik@science.uva.nl>
4542 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
4543 (org-property-drawer-re, org-clock-drawer-re): New constants.
4545 2008-06-23 Carsten Dominik <dominik@science.uva.nl>
4547 * org-exp.el (org-icalendar-use-deadline)
4548 (org-icalendar-use-scheduled): New options.
4549 (org-icalendar-include-todo): Default changed to t.
4550 (org-print-icalendar-entries): Implement better utilization of
4551 scheduling and deadline time stamps.
4552 (org-export-target-internal-links, org-export-as-html): Allow file
4553 lines without the "file:" prefix if the file path is an absolute
4554 path or starts with ".".
4556 * org-clock.el (org-clocktable-shift): Also undertand yesterday,
4558 (org-clock-special-range): Also undertand yesterday, lastweek etc.
4560 2008-06-18 Glenn Morris <rgm@gnu.org>
4561 * org.el (org-map-entries): Let-bind `file'.
4563 2008-06-19 Carsten Dominik <dominik@science.uva.nl>
4565 * org.el (org-agenda-skip-archived-trees): Docstring now
4566 discourages using this.
4567 (org-scan-tags): Check for org-agenda-archives-mode.
4568 (org-map-entries): Make sure org-agenda-archives-mode is nil.
4569 (org-agenda-files): Functionality of second arg changed.
4571 * org-agenda.el (org-agenda-archives-mode): New variable
4572 (org-write-agenda, org-prepare-agenda, org-agenda-list)
4573 (org-search-view, org-todo-list, org-tags-view)
4574 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
4576 (org-agenda-quit): Reset the archives mode.
4577 (org-agenda-archives-mode): New command.
4578 (org-agenda-set-mode-name): Include archives info.
4580 2008-06-18 Carsten Dominik <dominik@science.uva.nl>
4582 * org.el (org-paste-subtree): Make sure the yanked headline is
4583 visible if it was yanked at a visible point.
4584 (org-move-item-up): Fix the bug with moving white space at the end
4586 (org-show-empty-lines-in-parent): New function.
4588 2008-06-16 Carsten Dominik <dominik@science.uva.nl>
4590 * org-colview.el (org-columns-next-allowed-value): Bug fix.
4592 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
4594 * org-agenda.el (org-agenda-get-closed): Get the end time into the
4595 agenda prefix as well.
4597 * org-publish.el (org-publish-org-index): Make a properly indented
4600 * org.el (org-calendar-agenda-action-key): New option.
4601 (org-get-cursor-date): New function.
4602 (org-mark-entry-for-agenda-action): New command.
4603 (org-overriding-default-time): New variable.
4604 (org-read-date): Respect `org-overriding-default-time'.
4606 * org-remember.el (org-remember-apply-template): Respect the
4607 ovverriding default time.
4609 * org-agenda.el (org-agenda-action-marker): New variable.
4610 (org-agenda-action): New command.
4611 (org-agenda-do-action): New function.
4613 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
4615 * org.el (org-schedule, org-deadline): Protect scheduled and
4616 deadline tasks against changes that accidently remove the
4617 repeater. Also show a message with the new date when done.
4619 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
4621 * org.el (org-beginning-of-line): Cater for the case when there
4622 are tags but no headline text.
4623 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
4626 2008-06-13 Carsten Dominik <dominik@science.uva.nl>
4628 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
4629 the return value is nil instead of "nil" when there is no match.
4631 * org-exp.el (org-insert-centered): Use fill-column instead of
4633 (org-export-as-ascii): Use string-width to measure the width of
4636 * org.el (org-diary-to-ical-string): No longer kill buffer
4637 FROMBUF, this is now done by the caller.
4639 * org-exp.el (org-print-icalendar-entries): Move the call to
4640 `org-diary-to-ical-string' out of the loop, and kill the buffer
4643 * org-remember.el (org-remember-visit-immediately): Position
4644 cursor after moving to the note.
4645 (org-remember-apply-template): Use a text property to record the
4647 (org-remember-handler): Align tags after pasting the note.
4649 2008-06-12 Carsten Dominik <dominik@science.uva.nl>
4651 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
4653 * org-agenda.el (org-agenda-open-link): If there is an
4654 org-bbdb-name property in the current line, jump to that bbdb
4657 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
4658 text property, so that the agenda knows where this entry comes
4661 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
4662 interaction between clocking-in from the agenda, and automatic
4663 task state switching.
4665 * org-macs.el (org-with-point-at): Bug fix in macro defintion.
4667 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
4668 zmacs-region stays after this command in XEmacs.
4670 2008-06-11 Carsten Dominik <dominik@science.uva.nl>
4672 * org.el (org-scan-tags): Allow new values for ACTION parameter.
4674 * org-remember.el (org-remember-templates): Fix bug in
4675 customization type definition.
4677 * org.el (org-map-entries): New function.
4679 2008-06-11 verhuur82 <verhuur82@macbook-van-verhuur82.local>
4681 * org-agenda.el (org-agenda-skip-comment-trees): New option.
4682 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
4684 2008-06-10 Carsten Dominik <dominik@science.uva.nl>
4686 * org-remember.el (org-jump-to-target-location): New variable.
4687 (org-remember-apply-template): Set
4688 `org-remember-apply-template' if requested by template.
4689 (org-remember-handler): Start an idle timer to jump to
4692 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
4694 * org.el (org-set-regexps-and-options): Fix bug with parsing of
4696 (org-get-tags-at): Add the content of `org-file-tags'.
4698 * org-exp.el (org-export-handle-comments): Fix bug with several
4699 comment lines after each other.
4700 (org-number-to-roman, org-number-to-counter): New functions.
4701 (org-export-section-number-format): New option.
4703 2008-06-09 Carsten Dominik <dominik@science.uva.nl>
4705 * org-exp.el (org-export-protect-examples): Catch the case of a
4706 missing end_example line.
4708 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
4709 `org-file-tags' to nil.
4711 * org-colview.el (org-columns-next-allowed-value): Handle next
4712 argument NTH to directly select a value.
4714 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
4715 argument NTH to directly select a value.
4717 2008-06-08 Carsten Dominik <dominik@science.uva.nl>
4719 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
4721 2008-05-30 Carsten Dominik <dominik@science.uva.nl>
4723 * org.el (org-columns-ellipses): New option.
4725 2008-05-29 Carsten Dominik <dominik@science.uva.nl>
4727 * org-colview.el (org-columns-add-ellipses): New function.
4728 (org-columns-compact-links): New function.
4729 (org-columns-cleanup-item): Call `org-columns-compact-links'.
4730 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
4732 (org-columns-edit-value): Fixed bug with editing values from
4734 (org-columns-redo): Also redo the agenda itself.
4736 2008-05-28 Carsten Dominik <dominik@science.uva.nl>
4738 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
4741 * org-colview.el (org-agenda-columns-cleanup-item): New function.
4743 * org-exp.el (org-export-ascii-preprocess): Renamed from
4744 `org-export-ascii-clean-string'.
4745 (org-export-kill-licensed-text)
4746 (org-export-define-heading-targets)
4747 (org-export-handle-invisible-targets)
4748 (org-export-target-internal-links)
4749 (org-export-remove-or-extract-drawers)
4750 (org-export-remove-archived-trees)
4751 (org-export-protect-quoted-subtrees)
4752 (org-export-protect-verbatim, org-export-protect-examples)
4753 (org-export-select-backend-specific-text)
4754 (org-export-mark-blockquote-and-verse)
4755 (org-export-remove-comment-blocks-and-subtrees)
4756 (org-export-handle-comments, org-export-mark-radio-links)
4757 (org-export-remove-special-table-lines)
4758 (org-export-normalize-links)
4759 (org-export-concatenate-multiline-links)
4760 (org-export-concatenate-multiline-emphasis): New functions,
4761 obtained from spliiting the export preprocessor.
4763 * org-table.el (org-table-recalculate): Improve error message if
4764 the row number is invalid.
4766 2008-05-27 Carsten Dominik <dominik@science.uva.nl>
4768 * org-archive.el (org-archive-save-context-info): Fix bugs in
4769 customization setup and docstring.
4771 * org-exp.el (org-export-html-style): Changed the size of in the
4772 <pre> element to 90%.
4774 2008-05-26 Carsten Dominik <dominik@science.uva.nl>
4776 * org.el (org-find-src-example-start): Function removed.
4777 (org-edit-src-find-region-and-lang): New function.
4779 2008-05-25 Carsten Dominik <dominik@science.uva.nl>
4781 * org.el (org-edit-src-exit): New function.
4782 (org-exit-edit-mode): New minor mode.
4784 * org-exp.el (org-export-preprocess-string): Fix bug with removing
4785 comment-like lines from protected examples.
4787 * org.el (org-edit-src-example, org-find-src-example-start)
4788 (org-protect-source-example, org-edit-special): New functions.
4790 2008-05-24 Carsten Dominik <dominik@science.uva.nl>
4792 * org-publish.el (org-publish-project-alist): Fix typo in
4794 (org-publish-project-alist): Handle :index-title property.
4796 2008-05-21 Carsten Dominik <dominik@science.uva.nl>
4798 * org-export-latex.el (org-export-as-latex): Make sure region
4799 bounds are correct. Parse subtree properties relating to export.
4801 * org-exp.el (org-export-add-options-to-plist): New function.
4802 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
4804 2008-05-20 Carsten Dominik <dominik@science.uva.nl>
4806 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
4809 * org-exp.el (org-export-get-title-from-subtree)
4810 (org-export-as-ascii, org-export-as-html): Make sure the original
4811 region-beginning and region-end are used, even after moving
4813 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
4816 * org-remember.el (org-remember-last-stored-marker): New variable.
4817 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
4818 (org-remember-handler): Also use marker to remember
4819 last-stored position.
4821 * org.el (org-goto-marker-or-bmk): New function.
4823 2008-05-19 Carsten Dominik <dominik@science.uva.nl>
4825 * org.el (org-file-properties): Renamed from `org-local-properties'.
4826 (org-scan-tags): Take file tags into account.
4827 (org-tags-match-list-sublevels): Default changed to t.
4829 * org-exp.el (org-export-as-html): Close paragraph after a
4832 * org.el (org-update-parent-todo-statistics): New function.
4834 * org-exp.el (org-icalendar-store-UID): New option.
4835 (org-icalendar-force-UID): Option removed.
4836 (org-print-icalendar-entries): IMplement UIDs.
4838 2008-05-18 Carsten Dominik <dominik@science.uva.nl>
4840 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
4842 2008-05-16 Carsten Dominik <dominik@science.uva.nl>
4844 * org-faces.el (org-column): Document how this face is being used
4845 and why sometimes the background faces shine through.
4847 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
4849 * org-publish.el (org-publish-attachment): Create publishing
4850 directory if it does not yet exist.
4852 * org-table.el (org-calc-default-modes): Change default number
4853 format to (float 8).
4855 * org.el (org-olpath-completing-read): New function.
4856 (org-time-clocksum-format): New option.
4857 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
4859 * org-clock.el (org-clock-display, org-clock-out)
4860 (org-update-mode-line): Use `org-time-clocksum-format'.
4862 * org-colview-xemacs.el (org-columns-number-to-string): Use
4863 `org-time-clocksum-format'.
4865 * org-colview.el (org-columns-number-to-string): Use
4866 `org-time-clocksum-format'.
4868 2008-05-15 Carsten Dominik <dominik@science.uva.nl>
4870 * org-id.el: New file, move from contrib to core.
4872 * org-exp.el (org-icalendar-force-UID): New option.
4874 2008-05-14 Carsten Dominik <dominik@science.uva.nl>
4876 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
4877 shifted by one day if theere is a date range without an end
4880 * org.el (org-try-structure-completion): New function.
4882 2008-05-13 Carsten Dominik <dominik@science.uva.nl>
4884 * org.el (org-set-font-lock-defaults): Improve fontification of
4886 (org-insert-item): Handle description lists.
4887 (org-adaptive-fill-function): Improve auto indentation in
4890 * org-exp.el (org-export-as-html, org-export-preprocess-string):
4891 Implement VERSE environment.
4892 (org-export-preprocess-string): Implement the COMMENT
4895 * org-export-latex.el (org-export-latex-preprocess): Implement
4898 2008-05-12 Carsten Dominik <dominik@science.uva.nl>
4900 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
4903 2008-05-10 Carsten Dominik <dominik@science.uva.nl>
4905 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
4907 * org.el (org-quote-csv-field): New functions.
4909 * org-table.el (org-table-export-default-format): Remove :splice
4910 from default format, we get the same effect by not specifying
4912 (org-table-export): Improve setup, distinguish better between
4913 interactive and non-interactive use, allow specifying the format
4914 on the fly, better protection against wrong file names.
4915 (orgtbl-to-generic): Fix documentation. Do not require :tstart
4916 and :tend when :splice is omitted.
4918 2008-05-09 Bernt Hansen <bernt@norang.ca>
4920 * org-clock.el (org-clock-select-task): Make sure the selection
4921 letters are 1-9 and A-Z, no special characters.
4923 2008-05-09 Carsten Dominik <dominik@science.uva.nl>
4925 * org-exp.el (org-export-htmlize): New group.
4926 (org-export-htmlize-output-type)
4927 (org-export-htmlize-css-font-prefix): New options.
4928 (org-export-htmlize-region-for-paste): New function.
4929 (org-export-htmlize-generate-css): New command.
4931 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
4933 * org/org.el (org-modules, org-format-latex-options):
4934 * org/org-archive.el (org-archive-stamp-time)
4935 (org-archive-save-context-info):
4936 * org/org-faces.el (org-hide):
4937 * org/org-irc.el (org-irc-parse-link):
4938 * org/org-macs.el (org-call-with-arg, org-autoload):
4939 * org/org-mew.el (org-mew-store-link):
4940 * org/org-remember.el (org-remember-store-without-prompt)
4941 (org-remember-templates): Fix typos in docstrings.
4943 * org/org-info.el (org-info-store-link): Remove leftover docstring.
4945 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
4946 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
4947 (org-bbdb-anniv-split): Fix typos in docstrings.
4949 * org/org-publish.el (org-publish-project-alist): Doc fixes.
4950 (org-publish-use-timestamps-flag): Reflow docstring.
4951 (org-publish-files-alist): Fix typos in docstring.
4953 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
4955 * org.el (org-set-visibility-according-to-property): New function.
4956 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
4957 and compute the regular expressions, and update font-lock.
4958 (org-property-re): Allow a dash in property names.
4960 * org-archive.el (org-extract-archive-file): Insert the file name
4961 without the path into the format, to allow the location format to
4962 contain a subdirectory.
4964 * org-agenda.el (org-agenda-post-command-hook): If point is at end
4965 of buffer, and the `org-agenda-type' property undefined, use the
4966 value from the character before.
4968 * org.el (org-add-planning-info): Don't let indentation for
4969 would-be timestamp become extra whitespace at the end of headline.
4971 2008-05-07 Carsten Dominik <dominik@science.uva.nl>
4973 * org.el (org-remove-double-quotes, org-file-contents): New
4976 * org-exp.el (org-infile-export-plist): Also parse the
4977 contents of #+SETUPFILE files, recursively.
4979 * org.el (org-set-regexps-and-options): Also parse the
4980 contents of #+SETUPFILE files, recursively.
4982 * org-exp.el (org-export-handle-include-files): New function.
4983 (org-export-preprocess-string): Call
4984 `org-export-handle-include-files'.
4986 * org.el (org-delete-property-globally)
4987 (org-delete-property, org-set-property): Ignore case during
4989 (org-set-property): Use `org-completing-read' instead of
4992 * org.el (org-complete-expand-structure-template): New,
4993 experimental function.
4994 (org-structure-template-alist): New, experimental option.
4995 (org-complete): Call `org-complete-expand-structure-template'.
4997 2008-05-06 Bastien Guerry <bzg@altern.org>
4999 * org-export-latex.el (org-export-latex-preprocess): Added
5000 support for blockquotes.
5002 2008-05-05 Carsten Dominik <dominik@science.uva.nl>
5004 * org.el (org-read-date-analyze): Catch the case where only a
5007 2008-05-04 Carsten Dominik <dominik@science.uva.nl>
5009 * org.el (org-set-font-lock-defaults): Make the description
5012 * org-exp.el (org-export-as-html, org-close-li): Implement
5015 2008-05-04 Jason Riedy <jason@acm.org>
5017 * org-table.el (*orgtbl-default-fmt*): New variable.
5018 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
5019 when there is no other fmt available.
5021 (orgtbl-to-generic): Allow an explicitly nil :tstart or
5022 :tend to suppress the appropriate string.
5024 (orgtbl-to-orgtbl): New function for translating to another orgtbl
5027 2008-05-02 Carsten Dominik <dominik@science.uva.nl>
5029 * org.el (org-read-date-analyze): "." as an alias for "+0" in
5032 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
5035 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
5038 2008-05-01 Carsten Dominik <dominik@science.uva.nl>
5040 * org-clock.el (org-clock-find-position): Don't include notes
5043 * org-archive.el (org-archive-subtree): No longer remove an
5044 extra line after cutting the subtree. `org-cut-subtree' already
5047 * org-remember.el (org-remember-handler): Only kill the target
5048 buffer if it does not contain the running clock.
5050 * org.el (org-markers-to-move): New variable.
5051 (org-save-markers-in-region, org-check-and-save-marker)
5052 (org-reinstall-markers-in-region): New function.
5053 (org-move-subtree-down, org-copy-subtree): Remember relative
5054 marker positions before cutting.
5055 (org-move-subtree-down, org-paste-subtree): Restore relative
5056 marker positions after pasting.
5058 * org-remember.el (org-remember-clock-out-on-exit): New option.
5059 (org-remember-finalize): Clock out only if the setting in
5060 `org-remember-clock-out-on-exit' requires it.
5061 (org-remember-handler): Do the cleanup in the buffer, to make sure
5062 that the clock marker remains in tact.
5064 2008-04-29 Carsten Dominik <dominik@science.uva.nl>
5066 * org-clock.el (org-clock-goto): Widen buffer if necessary.
5067 (org-clock-in): Make sure that also tasks outside the narrowed
5068 region will be clocked in correctly.
5069 (org-clock-insert-selection-line): Widen the buffer so that we can
5070 find the correct task heading.
5072 * org.el (org-base-buffer): New function.
5074 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
5075 and ";" are escaped.
5076 (org-print-icalendar-entries): Also apply
5077 `org-icalendar-cleanup-string' to the headline, not only to the
5080 2008-04-28 Carsten Dominik <dominik@science.uva.nl>
5082 * org-exp.el (org-export-preprocess-hook): New hook.
5083 (org-export-preprocess-string): Call
5084 `org-export-preprocess-hook'.
5086 * org.el (org-font-lock-hook): New variable.
5087 (org-font-lock-hook): New function.
5088 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
5092 ;; add-log-time-zone-rule: t
5095 Copyright (C) 2008 Free Software Foundation, Inc.
5097 This file is part of GNU Emacs.
5099 GNU Emacs is free software: you can redistribute it and/or modify
5100 it under the terms of the GNU General Public License as published by
5101 the Free Software Foundation, either version 3 of the License, or
5102 (at your option) any later version.
5104 GNU Emacs is distributed in the hope that it will be useful,
5105 but WITHOUT ANY WARRANTY; without even the implied warranty of
5106 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5107 GNU General Public License for more details.
5109 You should have received a copy of the GNU General Public License
5110 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
5112 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c