1 2009-11-29 Carsten Dominik <carsten.dominik@gmail.com>
3 * org-footnote.el (org-footnote-normalize): Protect replacement
6 * org.el (org-inside-latex-macro-p): Save match data.
8 2009-11-27 Carsten Dominik <carsten.dominik@gmail.com>
10 * org-latex.el (org-export-latex-class-options): New variable.
11 (org-export-latex-set-initial-vars): Use the class options.
13 * org.el (org-forward-same-level): Stop at headings that start
14 with an invisible character.
15 (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
17 2009-11-26 Carsten Dominik <carsten.dominik@gmail.com>
19 * org-footnote.el (org-footnote-normalize): Don't take optional
20 arguments in LaTeX macros as footnotes.
22 * org.el (org-inside-latex-macro-p): New function.
24 * org-latex.el (org-latex-to-pdf-process): Change customization
25 group to `org-export-pdf'.
27 * org-agenda.el (org-agenda-get-blocks): Look at time string also
28 on days after the first one.
30 * org.el (org-insert-heading): Also check for item before assuming
31 before-first-heading condition.
33 * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
34 (org-export-pdf-logfiles): New option.
35 (org-export-as-pdf): Use `org-export-pdf-logfiles'.
36 (org-export-pdf-logfiles): Fix customization type.
38 * org.el (org-insert-link): Improve error message when there is no
39 default link to select with RET.
41 * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
44 2009-11-25 Carsten Dominik <carsten.dominik@gmail.com>
46 * org-latex.el (org-export-latex-parse-global)
47 (org-export-latex-parse-content)
48 (org-export-latex-parse-subcontent): Use
49 `org-re-search-forward-unprotected'.
50 (org-export-as-pdf): Remove log files produced by XeTeX.
52 * org-macs.el (org-re-search-forward-unprotected): New function.
54 2009-11-25 James TD Smith <ahktenzero@mohorovi.cc>
56 * org-colview.el (org-agenda-colview-summarize): Sort out some
57 confusion between properties and titles, which resulted in
58 agenda summaries not working if a title was set for a column.
60 2009-11-24 Carsten Dominik <carsten.dominik@gmail.com>
62 * org-mobile.el (org-mobile-agendas): New option.
63 (org-mobile-sumo-agenda-command): Select the right agendas.
65 * org-latex.el (org-export-latex-format-image): Preserve the
66 original-indentation property.
68 2009-11-23 Carsten Dominik <carsten.dominik@gmail.com>
70 * org-clock.el (org-clock-insert-selection-line): Catch error when
71 an old tasks no longer exists.
73 * org-latex.el (org-export-as-pdf): Remove also the .idx file.
74 (org-export-as-pdf): Don't remove the old PDF file before making
77 * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
78 (org-mouse-context-menu): Use `org-looking-back'.
80 * org.el (org-cycle-level): Use `org-looking-back'.
82 * org-list.el (org-cycle-item-indentation): Use
85 * org-compat.el (org-looking-back): New function.
87 * org.el (org-insert-heading): Catch before-first-headline when
90 2009-11-22 Carsten Dominik <carsten.dominik@gmail.com>
92 * org-latex.el (org-export-latex-format-image): Indent figure
93 environment, so that it does not interrupt plain list.
95 * org.el (org-open-at-point): Allow long link descriptions.
97 2009-11-21 Carsten Dominik <carsten.dominik@gmail.com>
99 * org-html.el (org-export-as-html): Remove empty lines at the
100 beginning of the exported text.
102 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
104 * org-protocol.el (org-protocol-remember): Cater for empty title,
107 * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
108 agenda after adding new entry.
109 (org-agenda-get-represented-tags): New function.
110 (org-agenda-filter-by-tag): Use `org-agenda-get-represented-tags'
111 to get a list of tags in the agenda.
113 * org-datetree.el (org-datetree-find-day-create): Fix regular
116 * org.el (org-display-outline-path): Use a format specifier for
117 message, to avoid problems with heading containing `%'.
119 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
120 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
121 (org-agenda-fix-displayed-tags): New function.
122 (org-agenda-do-context-action): Just call
123 `org-display-outline-path', without piping the result through
126 * org-latex.el (org-export-latex-preprocess): Protect secondary
129 * org-indent.el (org-indent-initialize): Avoid empty strings as
132 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
133 hat checking for the mark does not throw an error.
134 (org-agenda-diary-entry-in-org-file): Catch the case that there is
135 not `day' text property in the cursor line.
137 * org.el (org-sort-entries-or-items): Make sure that the final
138 entry has a newline before doing the sorting.
140 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
141 property at the beginning of the line.
143 * org.el (org-make-link-string): Don't allow a description with
146 2009-11-19 Carsten Dominik <carsten.dominik@gmail.com>
148 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
149 (org-agenda-insert-diary-as-top-level): New function.
150 (org-agenda-add-entry-to-org-agenda-diary-file): Call
151 `org-agenda-insert-diary-as-top-level'.
153 * org.el (org-occur-in-agenda-files): Make sure none of the
155 (org-activate-plain-links): Add the face property here.
156 (org-set-font-lock-defaults): Do not add the face to plain links,
157 the activator function does this.
159 * org-habit.el (org-is-habit-p): Add doc string.
161 2009-11-18 Carsten Dominik <carsten.dominik@gmail.com>
163 * org-archive.el (org-archive-subtree-default-with-confirmation):
166 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
167 after match optional (happens at the end of a line...).
169 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
172 * org-faces.el (org-copy-face): Set lisp indentation.
173 (org-quote, org-verse): New faces.
175 * org-agenda.el (org-agenda-remove-date): Remove variable.
177 2009-11-17 Carsten Dominik <carsten.dominik@gmail.com>
179 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
181 2009-11-17 Eric Schulte <schulte.eric@gmail.com>
183 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
184 hash keys to cache and re-use images generated by the
185 org-exp-blocks interface to ditaa and dot.
187 2009-11-17 Carsten Dominik <carsten.dominik@gmail.com>
189 * org-html.el (org-export-as-html): Move the home/up link into
192 * org.el (org-export-latex-packages-alist): Option definition
193 moved here from org-latex.el.
195 2009-11-17 Eric Schulte <schulte.eric@gmail.com>
197 * org.el (org-format-latex): Latex images are now saved to files
198 named by the sha1 hash of the latex source text avoiding
199 regeneration of identical images.
201 2009-11-16 Carsten Dominik <carsten.dominik@gmail.com>
203 * org-html.el (org-export-html-home/up-format): Add an ID to the
206 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
208 * org-wl.el (org-wl-store-link): Handle the case that
209 `wl-use-petname' is set.
211 * org.el (org-set-effort): Improve prompt.
212 (org-get-outline-path): Widen to get full path.
213 (org-compact-display-after-subtree-move): Function removed.
215 * org-latex.el (org-export-as-latex): Add the :drawers property.
217 2009-11-14 Carsten Dominik <carsten.dominik@gmail.com>
219 * org.el (org-speed-commands-user): Allow documentation headlines.
220 (org-speed-commands-default): Organize the value of this constant
221 with descriptive headlines.
222 (org-print-speed-command): Output the headlines.
224 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
226 * org-agenda.el (org-agenda-show-outline-path): New option.
227 (org-agenda-do-context-action): New function.
228 (org-agenda-next-line, org-agenda-previous-line): Use
229 `org-agenda-do-context-action'.
231 * org.el (org-use-speed-commands): Allow function value.
232 (org-speed-commands-default): Make headline motion safe, so that
233 these commands always end on a headline.
234 (org-speed-commands-default): New key `v' for `org-agenda'.
235 (org-speed-move-safe): New function.
236 (org-self-insert-command): Use the function value of
237 `org-use-speed-commands'.
238 (org-get-outline-path): Improve docstring.
239 (org-format-outline-path): New function.
240 (org-display-outline-path): New function.
242 2009-11-12 John Wiegley <jwiegley@gmail.com>
244 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
245 a string, use that to find the LOGBOOK drawer.
247 2009-11-12 Carsten Dominik <carsten.dominik@gmail.com>
249 * org.el (org-clone-subtree-with-time-shift): Make it work at the
252 * org-mobile.el (org-mobile-write-checksums): Specify coding
254 (org-mobile-timestamp-buffer): Keep local variable/mode line at
257 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
259 * org.el (org-block-todo-from-children-or-siblings-or-parent)
260 (org-block-todo-from-checkboxes): Do not block changes to a nil
263 2009-11-12 James TD Smith <ahktenzero@mohorovi.cc>
265 * org-habit.el (org-habit-parse-todo): Indicate which habit is
266 wrongly set up in the error messages.
268 * org-colview.el (org-columns-display-here): Don't try to
269 calculate values if the underlying property is not set.
270 (org-columns-string-to-number): Convert age strings back into
272 (org-agenda-colview-summarize): Handle extended summary types
275 * org-colview-xemacs.el (org-columns-display-here): Don't try to
276 calculate values if the underlying property is not set.
277 (org-columns-string-to-number): Convert age strings back into
279 (org-agenda-colview-summarize): Handle extended summary types
282 2009-11-11 Carsten Dominik <carsten.dominik@gmail.com>
284 * org-exp.el (org-export-format-drawer-function): New variable.
285 (org-export-format-drawer): New function.
286 (org-export-preprocess-string): Pass the backend as a parameter to
287 `org-export-remove-or-extract-drawers'.
288 (org-export-remove-or-extract-drawers): New parameter BACKEND.
290 * org-protocol.el (org-protocol-char-to-string): New defsubst.
292 2009-11-10 Carsten Dominik <carsten.dominik@gmail.com>
294 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
295 message when no block is selected.
297 * org-latex.el (org-export-latex-links): Check for protectedness
298 in the last matched character, not after the match.
300 * org-datetree.el (org-datetree-find-date-create): Respect
301 restriction when KEEP-RESTRICTION is set.
302 (org-datetree-file-entry-under): New function.
303 (org-datetree-cleanup): New command.
305 2009-11-08 Dan Davison <davison@stats.ox.ac.uk>
307 * org-src.el (org-edit-src-code): New optional argument context
308 allows calling functions to avoid altering the saved window
310 (org-edit-src-exit): Do not restore window configuration when this
311 function is used in the context of saving the edit buffer.
313 2009-11-09 Carsten Dominik <carsten.dominik@gmail.com>
315 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
316 instances to switching to with-current-buffer, because these seem
317 to cause problems - no idea why.
319 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
320 Require diary-lib for (diary-date-display-form).
322 * org.el (org-log-reschedule, org-log-redeadline): New options.
323 (org-log-note-headings): Add templates for rescheduling and
325 (org-startup-options): Add in-buffer settings for logging changing
326 schedule and deadline time stamps.
327 (org-deadline, org-schedule): Check for existing date and arrange
328 for logging if the user requests it.
329 (org-add-log-note): Prepare proper note buffers for rescheduling
330 and deadline changes.
332 2009-11-08 Carsten Dominik <carsten.dominik@gmail.com>
334 * org-agenda.el (org-agenda-diary-entry-in-org-file)
335 (org-agenda-add-entry-to-org-agenda-diary-file)
336 (org-agenda-insert-diary-make-new-entry): New functions.
337 (org-agenda-diary-entry): Call
338 `org-agenda-diary-entry-in-org-file' when appropriate.
340 * org.el (org-calendar-insert-diary-entry-key): New option.
341 (org-agenda-diary-file): New option.
342 ("calendar"): Install our insertion function in the calendar.
344 * org-remember.el (org-datetree): Require.
345 (org-remember-templates): Add new positioning option.
346 (org-remember-reference-date): New variable.
347 (org-remember-apply-template): Store the reference date in a local
349 (org-remember-handler): Implement date tree positioning of entries.
351 * org-datetree.el: New file.
353 * org-latex.el (org-export-latex-preprocess): Protect targets in
356 * org-html.el (org-export-as-html): Protect targets in verbatim
359 * org-docbook.el (org-export-as-docbook): Protect targets in
362 2009-11-07 James TD Smith <ahktenzero@mohorovi.cc>
364 * org.el (org-link-display-format): Should be literal replacement.
366 2009-11-06 Carsten Dominik <carsten.dominik@gmail.com>
368 * org-clock.el (org-show-notification): Handle messages that
369 contain a percent character.
371 * org-remember.el (org-remember-apply-template): Turn of partial
374 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
375 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
377 * org.el (org-indent-mode): Define variable already in org.el.
378 (org-unfontify-region): Remove line-prefix and wrap-prefix
379 properties only if org-indent-mode is active.
381 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
383 * org-icalendar.el (org-print-icalendar-entries): Save match data
384 around call to verify function.
385 (org-print-icalendar-entries): Add a call to the verification
388 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
389 save-restrivtion' form.
391 2009-11-05 Dan Davison <davison@stats.ox.ac.uk>
393 * org-exp.el (org-export-format-source-code-or-example): restrict
394 scope of preserve-indentp to the let binding.
395 (org-src): require org-src, since org-src-preserve-indentation is used.
397 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
399 * org-timer.el (org-timer-set-timer): Set variables
400 org-timer-timer[123] correctly.
403 * org-mobile.el (org-mobile-files-alist): Make it work when
404 `agenda-archives' is included in
405 `org-agenda-text-search-extra-files'.
406 (org-mobile-push): Restore agenda after mobile push.
408 2009-11-05 John Wiegley <jwiegley@gmail.com>
410 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
411 way the amount of idle time is presented in the minibuffer.
413 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
415 * org-icalendar.el (org-print-icalendar-entries): Use
416 org-icalendar-verify-function only if non-nil.
418 * org.el (org-refile): Refile to clock only if the prefix arg is
420 (org-sparse-tree): Fix docstring to be in line with prompt.
421 (org-update-parent-todo-statistics): Call
422 `org-after-todo-statistics-hook' on each level.
424 2009-11-04 Carsten Dominik <carsten.dominik@gmail.com>
426 * org-remember.el (org-remember-apply-template): Make sure the
429 2009-11-03 Carsten Dominik <carsten.dominik@gmail.com>
431 * org.el (org-tab-ind-state): New variable.
432 (org-cycle-level): New function.
433 (org-cycle-level-after-item/entry-creation): New option.
434 (org-flag-subtree): New function.
435 (org-hide-archived-subtrees): Call `org-flag-subtree'.
436 (org-set-effort): Indexed access.
438 * org-list.el (org-cycle-item-indentation): New function.
440 * org.el (org-refile): Make prefix argument 2 refile to current
442 (org-priority): Interpret action `remove' as call to remove the
445 * org-remember.el (org-remember-apply-template): Don't depend on
446 buffer name being like file name.
448 2009-11-02 Carsten Dominik <carsten.dominik@gmail.com>
450 * org-clock.el (org-clock-play-sound): Expand file in
451 org-clock-sound, to allow ~ for home.
453 * org-remember.el (org-remember-handler): Set
454 text-before-node-creation even if this already looks like a node,
455 because the string might be needed on non-org-mode target files.
457 * org-agenda.el (org-agenda-open-link): Make this work in agenda
459 (org-agenda-switch-to): Follow a link at point if
460 org-return-follows-link' is set and there is nothing else to do in
463 2009-11-02 James TD Smith <ahktenzero@mohorovi.cc>
465 * org-colview-xemacs.el: Add in changes from org-colview.el
467 2009-11-01 Dan Davison <davison@stats.ox.ac.uk>
469 * org-exp-blocks.el: Modify split separator regexp to avoid empty
472 2009-11-01 James TD Smith <ahktenzero@mohorovi.cc>
474 * org-colview.el (org-columns-new): Make this work with the new
476 (org-columns-store-format): Make this work with the new operators.
478 2009-11-01 Carsten Dominik <carsten.dominik@gmail.com>
480 * org-src.el (org-src-preserve-indentation): Document that this
481 variable is also used during export.
483 * org-exp.el (org-export-format-source-code-or-example): Preserve
484 indentation if a block has a -i option, or if
485 `org-src-preserve-indentation' is set.
487 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
488 indentation if a block has a -i option, or if
489 `org-src-preserve-indentation' is set.
491 2009-10-31 Carsten Dominik <carsten.dominik@gmail.com>
493 * org.el (org-mode-map): Define the new archiving keys.
494 (org-speed-commands-default): Define an archiving key in the speed
496 (org-org-menu): Improve the menu structure concerning archiving.
498 * org-archive.el (org-archive-subtree-default-with-confirmation):
501 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
502 (org-agenda-menu): Add the new archiving commands to the menu.
503 (org-agenda-archive-default)
504 (org-agenda-archive-default-with-confirmation): New commands.
505 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
506 call `org-agenda-archive-with'.
507 (org-agenda-archive-with): New function.
509 * org-table.el (org-table-convert-region): Inert spaces around "|"
510 to avoid line beginnings like "|-1" which will be mistaken as
513 2009-10-30 Carsten Dominik <carsten.dominik@gmail.com>
515 * org.el (org-offer-links-in-entry): Return nil if there are no
516 links, t if a link has been selected.
517 (org-open-at-point): Open attachment directory when called in the
518 headline and there are no links in the entry body.
519 (org-speed-commands-default): Add "o" for open-at-point as a speed
522 * org-attach.el (org-attach-reveal): Optional prefix arg
523 IF-EXISTS, which avoids creating the attachment directory if it
526 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
529 2009-10-29 Carsten Dominik <carsten.dominik@gmail.com>
531 * org.el ("abbrev"): Work with abbrev tables only after they have
534 * org-list.el (org-list-send-list): Fix bug related to match
537 * org-latex.el (org-export-latex-fontify): Apply verbatim
539 (org-export-latex-make-header): Insert \obeylines if line breaks
542 * org-exp.el (org-export-protect-verbatim): Add an
543 `org-verbatim-emph' property to such text.
545 2009-10-28 Carsten Dominik <carsten.dominik@gmail.com>
547 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
548 (org-print-icalendar-entries): Skip entries where the timestamp is
549 not a deadline and not scheduled, if the user requests that.
551 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
552 before an opening quote.
554 * org-archive.el (org-archive-subtree): Keep archive after
557 * org-id.el (org-id-update-id-locations): Add archive files if
558 that is required by `org-id-extra-files'.
560 2009-10-27 Carsten Dominik <carsten.dominik@gmail.com>
562 * org-src.el (org-src-window-setup): New option.
563 (org-src-switch-to-buffer): New function.
564 (org-edit-src-exit): Add optional argument CONTEXT and use it to
565 restore window configuration.
566 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
567 Call `org-src-switch-to-buffer'.
569 * org.el (org-default-properties): Add STYLE property.
570 (org-files-list): Use the function call to get the files.
571 (org-additional-option-like-keywords): Add SETUPFILE to completion
574 2009-10-26 Carsten Dominik <carsten.dominik@gmail.com>
576 * org-table.el (org-table-convert-region): Correctly interpret
577 quoting in csv import.
579 * org.el (org-icompleting-read): Make iswitchb completion work
580 with lists and tables.
582 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
583 while pushing the mobile agenda.
585 2009-10-25 John Wiegley <jwiegley@gmail.com>
588 (org-clock-auto-clock-resolution): Now takes three values: nil, t
589 and `when-no-clock-is-running'.
590 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
591 whether or not to resolve Org buffers on clock in.
593 2009-10-25 James TD Smith <ahktenzero@mohorovi.cc>
595 * org-colview.el (org-format-time-period): Function to format
596 times in fractional days for display.
597 (org-columns-display-here): Add support for showing a calculated
598 value in place of the property.
599 (org-columns): Set `org-columns-time' to the current time so time
600 difference calculations will work.
601 (org-columns-time): Use to store the current time when column view
602 is displayed, so all time differences will use the same reference
604 (org-columns-compile-map): There is now an extra position in each
605 entry specifying the function to use to calculate the displayed
606 value for the non-calculated properties in the column,
607 (org-columns-compute-all): Set `org-columns-time' to the current
608 time so time difference calculations will work.
609 (org-columns-compute): Handle column operators where the values
610 used are calculated from the underlying property.
611 (org-columns-number-to-string): Handle the 'age' column format
612 (org-columns-string-to-number): Correct the function name (was
613 org-column...). Add support for the 'age' column format.
614 (org-columns-compile-format): Support the additional parameter in
615 org-columns-compile-map.
617 2009-10-26 Bastien Guerry <bzg@altern.org>
619 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
622 2009-10-25 Carsten Dominik <carsten.dominik@gmail.com>
624 * org-clock.el (org-clock-has-been-used): New variable.
625 (org-clock-in): Set `org-clock-has-been-used'.
626 (org-clock-save): Save only if clock data has been used or created
629 2009-10-24 Carsten Dominik <carsten.dominik@gmail.com>
631 * org-clock.el (org-clock-persist): New value, to store only the
633 (org-clock-save): Don't save the clock if only the history should
635 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
636 when restoring a saved clock.
638 2009-10-24 John Wiegley <jwiegley@gmail.com>
640 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
641 `org-time-clock-use-fractional'.
643 * org.el (org-time-clocksum-use-fractional)
644 (org-time-clocksum-fractional-format): Two new customizable
645 variables which allow the user to select fractional times (1.25
646 instead of 1:25) in the `org-clock-display' report.
648 2009-10-23 John Wiegley <jwiegley@gmail.com>
650 * org-habit.el (org-habit-build-graph): None of the arguments
652 (org-habit-parse-todo, org-habit-deadline)
653 (org-habit-get-priority, org-habit-get-faces)
654 (org-habit-build-graph): Further simplifications by storing all
655 past, scheduled and deadline dates as a number of days past the
656 epoch, and not as times.
658 * org-habit.el (org-habit-warning-face)
659 (org-habit-warning-future-face): Removed because these are no
661 (org-habit-deadline, org-habit-deadline-repeat): Now always
662 returns a date; computed if there was a scheduled repeater but no
664 (org-habit-get-priority): Further improvements to the priority
665 algorithm. In particular, items past due should always appear
666 before items due or not yet due.
667 (org-habit-get-faces): Greatly simplified the logic, now that
668 `org-habit-deadline' always returns a valid time.
670 2009-10-23 Carsten Dominik <carsten.dominik@gmail.com>
672 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
675 * org.el (org-tag-alist): Fix customization type.
677 2009-10-22 Carsten Dominik <carsten.dominik@gmail.com>
679 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
680 Make sure the regexp search can fail without throwing an error.
681 (org-mobile-apply): Save the inbox buffer after removing
682 successfully applied changes.
684 2009-10-22 John Wiegley <jwiegley@gmail.com>
686 * org-habit.el (org-habit-build-graph): Fix to the graph building
687 when last DONE date is earlier than `org-habit-preceding-days'.
689 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
690 time is reported after the user comes back (but before they
693 * org.el (org-get-repeat): Change so that this function can be
694 called with either `org-scheduled-string' or
695 `org-deadline-string'.
697 * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
698 to find the scheduled date.
700 * org-clock.el (org-clock-auto-clock-resolution): Renamed
701 `org-clock-disable-clock-resolution', since negatives don't sound
702 good in customization variables.
703 (org-clock-in): Don't use the auto-resolution logic if the user is
704 clocking into a different task while an active clock is running.
705 This then allows the default behavior of clocking out of the open
706 task and then into the new task.
708 * org-habit.el (org-habit-parse-todo): Generate an error if a
709 habit has a scheduled repeat period < 1.
710 (org-habit-get-faces): Fixes to the way that colors are computed.
711 (org-habit-build-graph): The graph wasn't displaying beyond any
712 day that had two completions in it.
714 * org.el (org-modules): Made this variable more consistent, since
715 it was referring to Org, OrgMode and Org-mode, whereas the docs
716 for the variable always refer to Org-mode.
718 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
720 * org.el (org-repeat-re): The changed org-repeat-re no longer
721 matched simple +2d type repeaters. Fix it so it does.
723 2009-10-21 Carsten Dominik <carsten.dominik@gmail.com>
725 * org-latex.el (org-export-latex-preprocess): Protect the vspace
726 macro in the VERSE environment.
728 2009-10-20 John Wiegley <jwiegley@gmail.com>
730 * org-habit.el (org-habit-get-priority): A new function that
731 determines the relative priority of a habit, based on how long
732 past its scheduled date it is, and how near the deadline is.
734 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
735 using `org-habit-get-priority'.
737 * org-habit.el (org-habit-build-graph): Start displaying colors
738 from the first scheduled date, if that date is earlier than the
739 first completion date.
741 * org-habit.el: Changed all "color" variables to faces, and made
742 them appropriate for light and dark backgrounds.
744 * org-habit.el (org-habit-duration-to-days): Made this function
746 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
748 * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
749 habits, since they don't use DEADLINE anymore.
751 * org.el (org-repeat-re, org-display-custom-time)
752 (org-timestamp-change): Extended to support the new ".+N/N"
753 syntax, used for habits.
755 * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
758 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
759 modeline when habits are being displayed (if that module is being
762 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
764 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
765 idle time using the xscreensaver extension.
766 (org-user-idle-seconds): Use X11 idle time if available.
768 2009-10-20 Carsten Dominik <carsten.dominik@gmail.com>
770 * org-agenda.el (org-agenda-next-line): New command.
771 (org-agenda-previous-line): New commands.
772 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
774 (org-agenda-follow-mode): Do the follow immediately if the mode is
776 (previous-line, next-line): Replace keys with the corresponding
778 (org-agenda-mode-map): Bind backspace and delete to the scrolling
781 * org.el (org-icompleting-read): Turn off partial completion mode
782 for the duration of this completion round.
784 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
785 macros in author lines and similar stuff.
787 * org.el (org-file-tags): Fix docstring.
788 (org-get-buffer-tags): Add the #+FILETAGS tags.
789 ("ecb"): Maks ecb show context after jumping into an Org file.
791 2009-10-20 John Wiegley <johnw@newartisans.com>
793 * org-agenda.el (org-finalize-agenda): Draw habit consistency
794 graphs after everything else in the buffer has been setup.
796 2009-10-19 Carsten Dominik <carsten.dominik@gmail.com>
798 * org-mobile.el (org-mobile-apply): Count success and failure.
800 * org.el (org-indent-line-function): Fix regexp replace problem.
802 2009-10-19 John Wiegley <johnw@newartisans.com>
804 * org-clock.el (org-clock-disable-clock-resolution): New
805 customization variable that disable automatic clock resolution on
807 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
808 not automatically resolve anything. This is does not affect
809 idle-time resolution, however, if `org-clock-idle-time' is set.
811 2009-10-19 John Wiegley <johnw@newartisans.com>
813 * org-habit.el: New file, which implements code to build a "habit
816 * org-agenda.el (org-agenda-get-deadlines)
817 (org-agenda-get-scheduled): Display consistency graphs when
818 outputting habits into the agenda. The graphs are always relative
820 (org-format-agenda-item): Added new parameter `habitp', which
821 indicates whether we are formatting a habit or not. Do not
822 display "extra" leading information if habitp is true.
824 * org.el (org-repeat-re): Improved regexp to include .+ and ++
825 leaders for repeat strings.
826 (org-get-repeat): Now takes a string parameter `tagline', so the
827 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
829 2009-10-19 John Wiegley <johnw@newartisans.com>
831 * org-agenda.el (org-agenda-auto-exclude-function): New
832 customization variable for allowing the user to create an "auto
833 exclusion" filter for doing context-aware auto tag filtering.
834 (org-agenda-filter-by-tag): Changes to support the use of
835 `org-agenda-auto-exclude-function'. See the new manual addition,.
837 2009-10-18 John Wiegley <johnw@newartisans.com>
839 * org.el (org-files-list): Don't attempt to return a file name for
840 Org buffers which have no associated file.
842 * org-agenda.el (org-agenda-do-action): Fixed a typo.
844 2009-10-18 Carsten Dominik <carsten.dominik@gmail.com>
846 * org-mobile.el (org-mobile-locate-entry): Interpret files
847 relative to org-directory.
848 (org-mobile-inbox-for-pull): Document the best location for this
850 (org-mobile-check-setup): Verify `org-directory'.
851 (org-mobile-create-index-file): Sort the files to be listed in
854 2009-10-17 James TD Smith <ahktenzero@mohorovi.cc>
856 * org.el (org-fast-tag-selection): Add a way to display a
857 description for a tag group. This is done by adding a string to
858 either the startgroup or endgroup cell.
860 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
862 * org-clock.el (org-clock-resolve, org-resolve-clocks)
863 (org-emacs-idle-seconds): Use `org-float-time' instead of
866 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
868 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
871 * org.el (org-pre-cycle-hook): Document that `empty' can also be
872 the value of ARG when doing local cycling.
874 2009-10-17 John Wiegley <johnw@newartisans.com>
876 * org-clock.el (org-clock-resolve-clock): If keeping or
877 subtracting time results in a clock out at a time in the past, and
878 if the resolution occurred due to idleness or invoking `M-x
879 org-resolve-clocks', remember that past moment in time. On the
880 next clock in, the user will be prompted to see if they want to
881 back-date their new clock to then.
882 (org-clock-resolve): Do not jump the user to the location of a
883 dangling clock if the resolution is occuring due to an idle
884 timeout. In that case there is typically only one dangling clock,
885 the active one, and there is no value gained by shuffling their
886 windows around to show it to them. Being prompted to resolve an
887 idle clock should be as inobtrusive as possible.
888 (org-resolve-clocks-if-idle): New function that resolves only the
889 currently active clock if the user has exceeded the time returned
890 by `org-user-idle-seconds', based on the value of
891 `org-clock-idle-time'.
892 (org-clock-in): If, after resolving clocks,
893 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
895 * org-clock.el (org-clock-resolve-clock): New function that
896 resolves a clock to a specific time, closing or resuming as need
897 be, and possibly even starting a new clock.
898 (org-clock-resolve): New function used by `org-resolve-clocks'
899 that sets up for the call to `org-clock-resolve-clock'. It
900 determines the time to resolve to based on a single-character
901 selection from the user to either keep time, subtract away time or
903 (org-resolve-clocks): New user command which resolves dangling
904 clocks -- that is, open but not active -- anywhere in the file
905 list returned by `org-files-list'.
906 (org-clock-in): Automatically resolve dangling clocks whenever a
908 (org-clock-cancel): If the user cancels the solely clock in a
909 LOGBOOK, remove the empty drawer.
911 * org-clock.el (org-clock-idle-time): New user customizable option
912 for detecting whether the user has left a clock idle. Note: it is
913 only used in this commit to test whether it's worthwhile to check
914 OS X to get the Mac user's current idle time. If the Emacs idle
915 time is less than the value, the user hasn't been away long enough
916 to be worth checking (a more expensive test than just getting
918 (org-user-idle-seconds, org-mac-idle-seconds)
919 (org-emacs-idle-seconds): This three functions, in conjunction
920 with the user customization variable `org-clock-idle-time', return
921 the number of seconds (as a floating point) that the user has been
922 away from their Emacs (or, if running on OS X, their computer).
924 * org-clock.el (org-find-open-clocks): New function that returns a
925 list of all open clocks in the given FILE. Note that each clock
926 it returns is a cons cell of the format (MARKER . START-TIME).
927 This "clock" value is used by several of the new clock module
929 (org-is-active-clock): New inline function which tests whether the
930 given clock value is the same as the currently active clock.
931 Returns non-nil if this is the case.
932 (org-with-clock-position): New macro that evaluates FORMS with
933 point in the buffer and at the position of the given clock.
934 Changes to the current clock are global.
935 (org-with-clock): New macro that evaluates FORMS with point in the
936 buffer and at the position of the given clock. However, changes
937 to the current clock are local and have no effect on the user's
938 active clock. This allows, for example, far any clock to be
939 cancelled without cancelling the active clock.
940 (org-clock-clock-in): New inline function that switches the active
941 clock to the given clock. If either the argument RESUME, or the
942 global `org-clock-in-resume', are non-nil, it will resume a clock
943 that was previously left open.
944 (org-clock-clock-out): New inline function that clocks out the
945 given clock value without affecting the currently active clock.
946 (org-clock-clock-cancel): New inline function that cancels the
947 given clock value without affecting the currently active clock.
949 * org-clock.el (org-clock-in): Before creating
950 `org-clock-mode-line-timer', check to make sure an older timer is
951 not currently running.
952 (org-clock-out): Accept new third parameter `at-time', which
953 permits a clock to be clocked out at a specific time. Note that
954 no attempt is made to verify that the clock out time is later than
957 * org.el (org-files-list): New utility function for returning a
958 list of all open org-mode buffers, plus all files used to build
959 the agenda buffer. Note that not all the files will necessarily
960 be visited by a buffer at time of call.
961 (org-entry-beginning-position): Like the function
962 `line-beginning-position', this inline function returns the
963 beginning position of the current heading/entry.
964 (org-entry-end-position): Like the function `line-end-position',
965 this inline function returns the end position of the current
968 2009-10-16 Carsten Dominik <carsten.dominik@gmail.com>
970 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
973 2009-10-15 Carsten Dominik <carsten.dominik@gmail.com>
975 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
977 2009-10-14 Carsten Dominik <carsten.dominik@gmail.com>
979 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
980 entries that have no tags.
981 (org-agenda-search-view): New customize group.
982 (org-agenda-search-view-search-words-only): New option.
983 (org-search-view): Implement substring search.
985 2009-10-13 Carsten Dominik <carsten.dominik@gmail.com>
987 * org.el (org-outline-level): Add doc string.
989 2009-10-12 Carsten Dominik <carsten.dominik@gmail.com>
991 * org-inlinetask.el (org-inlinetask-export): Re-introduce
993 (org-inlinetask-export-handler): Only export inline task if the
994 user option calls for it.
996 2009-10-10 Carsten Dominik <carsten.dominik@gmail.com>
998 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
1001 2009-10-07 Carsten Dominik <carsten.dominik@gmail.com>
1003 * org-latex.el (org-export-latex-tables): Don't format in
1006 2009-10-06 Carsten Dominik <carsten.dominik@gmail.com>
1008 * org-src.el (org-edit-src-code)
1009 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
1012 * org-agenda.el (org-prefix-category-max-length): New variable.
1013 (org-format-agenda-item): Use `org-prefix-category-max-length'.
1014 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
1016 2009-10-03 Carsten Dominik <carsten.dominik@gmail.com>
1018 * org-mobile.el (org-mobile-create-index-file): Improve the
1019 listing of tags and todo keywords.
1021 * org-latex.el (org-export-latex-format-image): New function.
1022 (org-export-latex-links): Use `org-export-latex-format-image'.
1024 2009-10-02 Carsten Dominik <carsten.dominik@gmail.com>
1026 * org-inlinetask.el (org-inlinetask-get-current-indentation)
1027 (org-inlinetask-remove-terminator): New functions.
1028 (org-inlinetask-export-handler): Terminate the description list.
1030 * org-exp.el (org-export-select-backend-specific-text): Remove the
1033 * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
1034 tasks without content.
1036 * org-clock.el: Make sure the clock-in target position does not
1037 move to a different node by widening the buffer.
1039 * org-html.el (org-export-html-format-image): Wrap image into
1040 figure div only when there is a caption.
1042 * org-archive.el (org-archive-mark-done): Change default value to
1045 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1047 * org.el (org-context): Call `bobp', not `eobp'.
1049 * org-clock.el (org-clock-cancel): Remove quotes from marker
1052 * org.el (org-read-date-prefer-future): New allowed value `time'.
1053 (org-read-date-analyze): Shift day to tomorrow depending on time
1054 entered and value of `org-read-date-prefer-future'.
1056 2009-09-30 Carsten Dominik <carsten.dominik@gmail.com>
1058 * org.el (org-set-tags-to): New command.
1060 * org-mobile.el (org-mobile-action-alist): Add more options and
1061 update the docstring.
1062 (org-mobile-apply-flags): Parse for and use the data.
1064 * org-latex.el (org-export-latex-set-initial-vars): Also check in
1067 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
1070 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
1072 2009-09-29 Carsten Dominik <carsten.dominik@gmail.com>
1074 * org-inlinetask.el (org-inlinetask-export): Option removed.
1075 (org-inlinetask-export-handler): Better export.
1077 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1078 (org-export-as-xoxo): Run the new hook.
1080 * org-html.el (org-export-html-final-hook): New hook.
1081 (org-export-as-html): Run the new hook.
1083 * org-docbook.el (org-export-docbook-final-hook): New hook.
1084 (org-export-as-docbook): Run the new hook.
1086 * org-ascii.el (org-export-ascii-final-hook): New hook.
1087 (org-export-as-ascii): Run the new hook.
1089 * org-mobile.el (org-mobile-create-sumo-agenda): Call
1090 `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
1092 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1093 space character as the character before the ^/_.
1094 (org-export-latex-final-hook): New hook.
1095 (org-export-as-latex): Run `org-export-latex-final-hook'.
1097 2009-09-28 Carsten Dominik <carsten.dominik@gmail.com>
1099 * org-macs.el (org-if-unprotected-at): Fix docstring.
1101 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1102 text in the prefix (if category is a link).
1104 * org-latex.el (org-export-latex-preprocess): Deal properly with
1105 empty lines in verse environments.
1107 * org.el (org-format-latex-header): Inline fullpage.sty.
1109 * org-footnote.el (org-footnote-create-definition): Reveal context
1110 to add a new footnote definition.
1112 * org-mobile.el (org-mobile-files-alist): Add the list of tags to
1114 (org-mobile-files): New option.
1115 (org-mobile-files-alist, org-mobile-checksum-files): New variable.
1116 (org-mobile-prepare-file-lists, org-mobile-files-alist): New
1118 (org-mobile-push): Start by creating the files lists.
1119 (org-mobile-copy-agenda-files): Move killing the buffer to after
1120 the save-excursion has exited.
1121 (org-mobile-write-checksums): Write checksums also for files in
1124 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1125 org-table-recalculate when cursor is in TBLFM line.
1127 * org-list.el (org-renumber-ordered-list): Fix cursor position
1128 when bullet length has changed.
1130 2009-09-26 Carsten Dominik <carsten.dominik@gmail.com>
1132 * org.el (org-format-latex): Mention `org-format-latex-options' in
1135 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
1137 * org.el (org-agenda-get): New function.
1139 * org-agenda.el (org-agenda-post-command-hook): No longer move
1140 point away from end of line.
1141 (org-agenda-add-entry-text, org-agenda-collect-markers)
1142 (org-finalize-agenda, org-agenda-mark-clocking-task)
1143 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1144 (org-agenda-entry-text-show, org-agenda-highlight-todo)
1145 (org-agenda-compare-effort, org-agenda-filter-apply)
1146 (org-agenda-later, org-agenda-change-time-span)
1147 (org-agenda-post-command-hook, org-agenda-show-priority)
1148 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1149 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1150 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1151 (org-agenda-open-link, org-agenda-copy-local-variable)
1152 (org-agenda-switch-to, org-agenda-check-no-diary)
1153 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1154 (org-agenda-add-note, org-agenda-change-all-lines)
1155 (org-agenda-priority, org-agenda-set-tags)
1156 (org-agenda-set-property, org-agenda-set-effort)
1157 (org-agenda-toggle-archive-tag, org-agenda-date-later)
1158 (org-agenda-show-new-time, org-agenda-date-prompt)
1159 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1160 (org-agenda-clock-in, org-agenda-bulk-mark)
1161 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1164 * org-colview.el (org-columns-display-here)
1165 (org-columns-edit-allowed, org-agenda-columns): Use
1168 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
1170 * org.el (org-special-ctrl-a/e): Improve documentation and
1172 (org-end-of-line): Don't jump to after the ellipsis.
1173 (org-mode-map): Bind <home> and <end> as well.
1175 2009-09-24 Carsten Dominik <carsten.dominik@gmail.com>
1177 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1178 space after #+ as comments.
1179 (org-open-at-point): Run `org-follow-link-hook' always.
1181 * org-latex.el (org-export-latex-emph-format): Use better commands
1182 to insert special characters in verbatim snippets.
1184 2009-09-22 Carsten Dominik <carsten.dominik@gmail.com>
1186 * org-faces.el (org-copy-face): New function. Use it to create
1187 various faces formerly created by using `copy-face'.
1189 * org-agenda.el (org-prepare-agenda): Don't officially mark this
1191 (org-agenda-quit): Kill the frame containing the agenda window if
1192 that frame was created for the agenda.
1194 2009-09-21 Carsten Dominik <carsten.dominik@gmail.com>
1196 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1197 stamp in the agenda.
1199 2009-09-19 Carsten Dominik <carsten.dominik@gmail.com>
1201 * org-mobile.el (org-mobile-create-index-file): Add the list of
1202 TODO keywords, and the list of drawers to the index file.
1204 * org-agenda.el (org-prepare-agenda): Reset
1205 `org-drawers-for-agenda'.
1206 (org-prepare-agenda): Uniquify list of drawers.
1208 * org.el (org-complex-heading-regexp-format): New variable.
1209 (org-set-regexps-and-options): Define
1210 `org-complex-heading-regexp-format'.
1211 (org-drawers-for-agenda): New variable.
1212 (org-map-entries): Bind `org-drawers-for-agenda'.
1213 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1215 * org-remember.el (org-go-to-remember-target)
1216 (org-remember-handler): Use `org-complex-heading-regexp-format'.
1218 2009-09-18 Carsten Dominik <carsten.dominik@gmail.com>
1220 * org-agenda.el (org-agenda-highlight-todo): Fix text property
1223 * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1224 the capture file, and make it non-configurable.
1226 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1227 always with `invisible-ok'.
1228 (org-store-link): No error when there is nothing to link to in the
1231 * org-list.el (org-update-checkbox-count): Insert changed cookie
1232 before the old, to avoid problems with invisibility at the end of
1234 (org-update-checkbox-count): Insert changed cookie before the old,
1235 to avoid problems with invisibility at the end of the line.
1237 * org.el (org-sort-entries-or-items): Include the final newline.
1238 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1239 lines for fontification.
1240 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1241 (org-prepare-dblock): Store the current indentation of the BEGIN
1243 (org-update-dblock): Apply the indentation of the begin line to
1244 the rest of the block.
1245 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1246 (org-startup-folded): New allowed value `showeverything'.
1247 (org-startup-options): Add STARTUP keyword `showeverything'.
1248 (org-set-startup-visibility): Respect value `showeverything' in
1251 2009-09-17 Carsten Dominik <carsten.dominik@gmail.com>
1253 * org.el (org-closest-date): Fix issue with past preference.
1255 * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1257 * org-archive.el (org-archive-set-tag)
1258 (org-archive-subtree-default): New commands.
1260 * org-mobile.el (org-mobile-create-index-file): Fix link to
1262 (org-mobile-copy-agenda-files): Create the capture file if it does
1265 * org-clock.el (org-clock-clocktable-default-properties): New
1267 (org-clock-report): Use
1268 `org-clock-clocktable-default-properties'.
1270 2009-09-16 Carsten Dominik <carsten.dominik@gmail.com>
1272 * org.el (org-iswitchb-completing-read): Fix typo.
1274 * org-crypt.el: New file.
1276 * org.el: Add an entry for org-crypt.
1278 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
1280 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1282 (org-batch-store-agenda-views): New function.
1283 (org-mobile-force-id-on-agenda-items): Mention variable.
1284 (org-agenda-title-append): Define variable.
1285 (org-write-agenda): New export to Org files.
1286 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1287 (org-agenda): Allow to keep the restricted file list if a special
1288 variable is bound to t.
1289 (org-agenda): Define a special agenda view for working on flagged
1291 (org-agenda-get-restriction-and-command): List the new agenda
1293 (org-agenda-show-the-flagging-note): New command.
1294 (org-agenda-mode-map): New key `?' for looking at the flagging
1297 * org.el (org-autoload): Autoload org-mobile.el.
1298 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1300 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1302 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
1304 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1306 (org-table-get-remote-range): Match indented #+TBLNAME
1309 * org.el (org-convert-to-odd-levels)
1310 (org-convert-to-oddeven-levels): Work also correctly if the file
1313 2009-09-12 Carsten Dominik <carsten.dominik@gmail.com>
1315 * org.el (org-store-link): When in agenda buffer, link to
1317 (org-add-planning-info): Remove spaces at eol.
1319 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1322 2009-09-10 Carsten Dominik <carsten.dominik@gmail.com>
1324 * org-latex.el (org-export-latex-first-lines): Fix problem with
1325 LaTeX export of first line and selected subtree.
1327 * org.el (org-shifttab): Interpret arg differently when using only
1330 2009-09-09 Bastien Guerry <bzg@altern.org>
1332 * org.el (org-check-agenda-file): Use a more explicit message
1334 2009-09-08 Carsten Dominik <carsten.dominik@gmail.com>
1336 * org-exp.el (org-export-remove-special-table-lines): Don't remove
1339 2009-09-08 Bastien Guerry <bzg@altern.org>
1341 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1342 prompt in the temporary window.
1344 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1345 prefix for marked entries in the agenda view.
1347 2009-09-07 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
1349 * org.el (outline-end-of-subtree): Bugfix: advise this function in
1350 a way that prevents any trailing character from being displayed.
1352 2009-09-07 Carsten Dominik <carsten.dominik@gmail.com>
1354 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1357 * org-exp.el (org-export-remove-special-table-lines): Remove bad
1360 2009-09-06 Carsten Dominik <carsten.dominik@gmail.com>
1362 * org-latex.el (org-export-latex-preprocess): Do not protect in
1365 * org-src.el (org-edit-src-save): Save window setup while saving.
1366 (org-edit-src-code): Use new buffer name construction scheme.
1368 2009-09-04 Carsten Dominik <carsten.dominik@gmail.com>
1370 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1372 (org-agenda-entry-text-cleanup-hook): New hook.
1373 (org-agenda-get-some-entry-text): Remove matches of
1374 `org-agenda-entry-text-exclude-regexps' and run the hook
1375 `org-agenda-entry-text-cleanup-hook'.
1377 * org.el (org-offer-links-in-entry): New argument ZERO to
1378 implement a link with index zero.
1379 (org-cycle-show-empty-lines): Not keep empty line under header
1381 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1382 to nil for special completion.
1383 (org-store-link): Don't error before the first heading.
1385 * org-agenda.el (org-agenda-open-link): Pass the prefix to
1386 `org-offer-links-in-entry'.
1388 2009-09-03 Carsten Dominik <carsten.dominik@gmail.com>
1390 * org-agenda.el (org-agenda-quit): Provide the window argument for
1391 `window-dedicated-p', Emacs 22 needs it.
1392 (org-format-agenda-item): If the category is a link, arrange for
1393 invisible text to replaced with spaces.
1394 (org-compile-prefix-format): Add the extra space.
1395 (org-prefix-category-length): New variable.
1397 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1398 references from TOC lines.
1400 * org.el (org-selected-window): New variable.
1402 * org-table.el (org-table-edit-formulas): Remember the selected
1404 (org-table-fedit-finish, org-table-fedit-abort): Select the window
1405 that was originally selected.
1407 * org-exp.el (org-export-preprocess-apply-macros): Scan the
1408 expansion of a macro for more macro definitions.
1410 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1411 invisibility overlay starts on the newline.
1413 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1415 * org-protocol.el (org-protocol-store-link)
1416 (org-protocol-remember, org-protocol-open-source): Add autoloads.
1418 * org-compat.el (org-float-time): New function.
1420 * org.el (org-clock-update-time-maybe)
1421 (org-sort-entries-or-items, org-do-sort)
1422 (org-evaluate-time-range, org-time-string-to-seconds)
1423 (org-closed-in-range): Use `org-float-time'.
1425 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1426 (org-timer-seconds): Use `org-float-time'.
1428 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1429 (org-clock-sum, org-dblock-write:clocktable)
1430 (org-clocktable-steps): Use `org-float-time'.
1432 * org-agenda.el (org-agenda-last-marker-time)
1433 (org-agenda-new-marker, org-diary): Use `org-float-time'.
1435 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1438 * org-exp.el (org-get-file-contents): Only protect lines that
1441 * org-html.el (require): Require cl for compilation.
1443 * org.el: Avoid using `default-major-mode'.
1445 * org-plot.el (require): Require CL only at compile time.
1447 * org-exp.el (require): Require CL only at compile time.
1449 * org-agenda.el (org-agenda-quit): When the agenda window is
1450 dedicated, remove other windows before exiting, so that the frame
1451 really will be killed.
1453 * org-exp.el (org-export-handle-include-files): Reset START and
1454 END for each loop cycle.
1456 2009-09-01 Carsten Dominik <carsten.dominik@gmail.com>
1458 * org.el (org-eval-in-calendar): Use
1459 `org-select-frame-set-input-focus'.
1461 * org-compat.el (org-select-frame-set-input-focus): New function.
1463 * org.el (org-update-statistics-cookies): New function.
1464 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1466 2009-08-31 Carsten Dominik <carsten.dominik@gmail.com>
1468 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1469 after the local variables are set.
1471 * org-latex.el (org-export-latex-protect-amp): New function.
1472 (org-export-latex-links): Protect link ampersands in tables.
1474 * org-exp.el (org-export-select-backend-specific-text): Match in
1475 two steps, to avoid regexp problems.
1477 * org.el (org-offer-links-in-entry): Improve working with many and
1480 * org-agenda.el (org-agenda-show-1): Make more consistent with
1482 (org-agenda-cycle-show): Make more consistent with normal cycling.
1484 * org-gnus.el (org-gnus-store-link): Restore the linking to a
1487 2009-08-30 Bastien Guerry <bzg@altern.org>
1489 * org-latex.el (org-export-latex-first-lines): Bugfix.
1491 2009-08-29 Carsten Dominik <carsten.dominik@gmail.com>
1493 * org-clock.el (org-clock-modify-effort-estimate): Emit message
1496 * org.el (org-set-effort): New function.
1497 (org-mode-map): New key for effort setting command.
1499 * org-agenda.el (org-agenda): Keep window setup when calling
1500 agenda from within agenda window.
1501 (org-agenda-mode-map): New keys for effort setting commands.
1502 (org-agenda-menu): Add effort setting commands to menu.
1503 (org-agenda-set-property, org-agenda-set-effort): New functions.
1505 * org-latex.el (org-export-latex-tables): Fix
1506 `org-table-last-alignment' and `org-table-last-column-widths' if
1507 the first column has been removed.
1509 2009-08-28 Carsten Dominik <carsten.dominik@gmail.com>
1511 * org.el (org-remove-timestamp-with-keyword): Only remove in
1512 entry, not in subtree.
1514 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1517 * org.el (org-open-at-point): When on headline, offer all strings
1520 * org-remember.el (org-remember-templates): Documentation fix.
1522 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1523 `org-get-last-sibling' instead of the outline versions of these
1525 (org-get-last-sibling): New function.
1526 (org-refile): Use `org-get-next-sibling' instead of the outline
1527 version of this function.
1528 (org-clean-visibility-after-subtree-move): Use
1529 `org-get-next-sibling' and `org-get-last-sibling' instead of the
1530 outline versions of these functions.
1532 2009-08-27 Carsten Dominik <carsten.dominik@gmail.com>
1534 * org-agenda.el (org-prepare-agenda): When creating a new frame
1535 for the agenda, make the window dedicated.
1537 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1539 * org-table.el (org-table-align): Change the order of reinsertion
1540 and deletion, to avoid problems with overlays following the table.
1542 * org.el (org-parse-time-string): Better error message.
1543 (org-show-subtree): Use org-end-of-subtree.
1545 * org-macs.el (org-goto-line): New defsubst.
1547 * org.el (org-open-file, org-change-tag-in-region)
1548 (org-fast-tag-show-exit): Don't use `goto-line'.
1550 * org-table.el (org-table-align, org-table-insert-column)
1551 (org-table-delete-column, org-table-move-column)
1552 (org-table-sort-lines, org-table-copy-region)
1553 (org-table-paste-rectangle, org-table-wrap-region)
1554 (org-table-get-specials, org-table-rotate-recalc-marks)
1555 (org-table-get-range, org-table-recalculate)
1556 (org-table-edit-formulas, org-table-fedit-convert-buffer)
1557 (org-table-show-reference, org-table-highlight-rectangle): Don't
1560 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1561 (org-edit-src-exit): Don't use `goto-line'.
1563 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1565 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1566 Don't use `goto-line'.
1568 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1570 * org-colview.el (org-columns, org-columns-redo)
1571 (org-agenda-columns): Don't use `goto-line'.
1573 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1576 * org-agenda.el (org-agenda-mode): Force visual line motion off.
1577 (org-agenda-add-entry-text-maxlines): Improve docstring.
1578 (org-agenda-start-with-entry-text-mode): New option.
1579 (org-agenda-entry-text-maxlines): New option.
1580 (org-agenda-entry-text-mode): New variable.
1581 (org-agenda-mode): Set initial value of
1582 `org-agenda-entry-text-mode'.
1583 (org-agenda-mode-map): Add the `E' key.
1584 (org-agenda-menu): Add entry text mode to the menu.
1585 (org-agenda-get-some-entry-text): Fix line count bug.
1586 (org-finalize-agenda): Apply entry text mode if appropriate.
1587 (org-agenda-entry-text-show-here): New function.
1588 (org-agenda-entry-text-show): New function.
1589 (org-agenda-entry-text-hide): New function.
1590 (org-agenda-view-mode-dispatch): Add entry text mode to the view
1592 (org-agenda-entry-text-mode): New command.
1593 (org-agenda-set-mode-name): Add entry text mode to the mode line
1595 (org-agenda-undo, org-agenda-get-restriction-and-command)
1596 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1599 2009-08-26 Bernt Hansen <bernt@norang.ca>
1601 * org-clock.el (org-notify): Bugfix.
1603 2009-08-25 Carsten Dominik <carsten.dominik@gmail.com>
1605 * org-agenda.el (org-agenda-open-link): Handle multiple links and
1606 check for after-string.
1608 * org-gnus.el (org-gnus-store-link): Simplify.
1610 * org.el (org-latex-regexps): Don't add extra empty lines for
1613 2009-08-24 Carsten Dominik <carsten.dominik@gmail.com>
1615 * org-agenda.el (org-agenda-get-some-entry-text): New function.
1616 (org-agenda-add-entry-text): Use
1617 `org-agenda-get-some-entry-text'.
1619 * org.el (org-cycle-separator-lines): Update docstring.
1620 (org-cycle-show-empty-lines): Handle negative values for
1621 `org-cycle-show-empty-lines'.
1623 * org-exp.el (org-export-protect-sub-super): New function.
1624 (org-export-normalize-links): Protect the url of plain links from
1625 supscript and superscript processing.
1627 * org-remember.el (org-remember-escaped-%): New function.
1628 (org-remember-apply-template): Use `org-remember-escaped-%' to
1629 detect escaped % signs.
1631 2009-08-23 Bastien Guerry <bzg@altern.org>
1633 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1634 sound when showing the notification.
1636 * org-clock.el (org-notify): New function.
1637 (org-clock-notify-once-if-expired): Use `org-notify'.
1639 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1640 and `gnus-article-mode' separately.
1641 (gnus-summary-article-header): Fix the declare-function.
1643 2009-08-23 Carsten Dominik <carsten.dominik@gmail.com>
1645 * org-exp.el (org-export-format-source-code-or-example): Translate
1648 * org-src.el (org-src-lang-modes): New variable
1649 (org-edit-src-code): Translate language.
1651 * org-exp.el (org-export-format-source-code-or-example): Deal wit
1652 the new structure of the `org-export-latex-listings-langs'
1655 * org-latex.el (org-export-latex-listings-langs): Change structure
1656 of the variable from plist to alist.
1658 2009-08-21 Carsten Dominik <carsten.dominik@gmail.com>
1660 * org.el (org-in-commented-line): New function.
1662 2009-08-20 Carsten Dominik <carsten.dominik@gmail.com>
1664 * org.el (org-hide-block-toggle): Make folded blocks searchable.
1666 2009-08-19 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
1668 * org.el (org-flag-drawer): More useful error.
1670 2009-08-19 Carsten Dominik <carsten.dominik@gmail.com>
1672 * org-remember.el (org-remember-apply-template): Use
1673 org-icompleting-read.
1675 * org-publish.el (org-publish): Use org-icompleting-read.
1677 * org-colview.el (org-columns-edit-value, org-columns-new)
1678 (org-insert-columns-dblock): Use org-icompleting-read.
1680 * org-colview-xemacs.el (org-columns-edit-value)
1681 (org-columns-new, org-insert-columns-dblock): Use
1682 org-icompleting-read.
1684 * org-attach.el (org-attach-delete-one, org-attach-open): Use
1685 org-icompleting-read.
1687 2009-08-18 Carsten Dominik <carsten.dominik@gmail.com>
1689 * org.el (org-hierarchical-todo-statistics): Improve docstring.
1690 (org-version): Return the version text.
1691 (org-org-menu): Add a menu entry for the new bug reporter.
1692 (org-submit-bug-report): New command.
1694 * org-list.el (org-hierarchical-checkbox-statistics): Improve
1697 * org.el (org-emphasis-regexp-components): Add "`" to set of
1698 pre-emphasis characters.
1700 * org-latex.el (org-export-latex-classes): Always include the soul
1702 (org-export-latex-emphasis-alist): Use \st for strikethough.
1704 * org-exp-blocks.el (org-export-blocks-preprocess): Use
1705 `indent-code-rigidly' to indent.
1707 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1708 properties only if MATCH really is a string.
1710 2009-08-16 Carsten Dominik <carsten.dominik@gmail.com>
1712 * org-latex.el (org-export-latex-packages-alist): Fix
1715 * org.el (org-create-formula-image): Also use
1716 `org-export-latex-packages-alist'.
1718 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1719 (org-export-as-html): Format footnotes correctly.
1721 2009-08-14 Carsten Dominik <carsten.dominik@gmail.com>
1723 * org.el (org-fast-tag-selection): Avoid text properties on tags
1726 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1727 text properties on the match element.
1729 2009-08-12 Carsten Dominik <carsten.dominik@gmail.com>
1731 * org.el (org-set-regexps-and-options): Make sure the list of done
1732 keywords is not invalid.
1734 * org-exp.el (org-export-interpolate-newlines): New function.
1736 2009-08-11 Carsten Dominik <carsten.dominik@gmail.com>
1738 * org.el (org-format-latex): Avoid nested overlays.
1740 * org-latex.el (org-export-latex-listings-langs): Add a few more
1743 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1744 ignore newlines and space before the first macro argument.
1746 * org-latex.el (org-export-latex-tables): Remove save-excursion
1747 around `org-table-align'.
1749 2009-08-10 Carsten Dominik <carsten.dominik@gmail.com>
1751 * org.el (org-export-html-special-string-regexps): Definition
1754 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1757 2009-08-09 Carsten Dominik <carsten.dominik@gmail.com>
1759 * org-latex.el (org-export-latex-listings)
1760 (org-export-latex-listings-langs): New options.
1762 * org-exp.el (org-export-format-source-code-or-example): Use
1763 listing package if requested by the user.
1765 2009-08-08 Bastien Guerry <bzg@altern.org>
1767 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1768 command before actually switching to a buffer.
1770 2009-08-07 Carsten Dominik <carsten.dominik@gmail.com>
1772 * org-exp.el (org-get-file-contents): Only quote org lines when
1773 the markup is src or example.
1775 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1777 (org-agenda-get-day-entries): Remember deadline results and pass
1778 them on into the function getting the scheduling information.
1779 (org-agenda-get-scheduled): Accept deadline results as parameters
1780 and maybe skip some entries.
1781 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1783 * org.el (org-insert-heading): When respecting content, do not
1784 convert current line to headline.
1786 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1787 cheeeeeck the hd marker
1788 (org-clock-in): Also set the hd marker.
1789 (org-clock-out): Also set the hd marker.
1790 (org-clock-cancel): Reset markers.
1792 * org.el (org-clock-hd-marker): New marker.
1794 * org-faces.el (org-agenda-clocking): New face.
1796 * org-agenda.el (org-agenda-mark-clocking-task): New function.
1797 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1799 * org.el (org-modules): Add org-track.el.
1801 * org-agenda.el (org-agenda-bulk-marked-p): New function.
1802 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1803 `org-agenda-bulk-marked-p'.
1804 (org-agenda-bulk-toggle): New command.
1806 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1808 * org.el (org-move-subtree-down): Hide subtree if it was folded,
1811 * org-remember.el (org-remember-finalize): Avoid buffer-modified
1814 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
1816 * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
1817 before gnuplot can read it.
1819 2009-08-05 Carsten Dominik <carsten.dominik@gmail.com>
1821 * org-latex.el (org-export-latex-first-lines): Fix bug with
1822 finding the end of the first lines.
1824 * org.el (org-create-formula-image): Remove the -E option for
1827 * org-exp.el (org-default-export-plist): Respect #+BIND.
1828 (org-export-confirm-letbind): New function.
1830 * org.el (org-paste-subtree): Test the kill ring entry if it is
1832 (org-copy-subtree): Use `org-forward-same-level'.
1833 (org-forward-same-level): Respect the `invisibe-ok' arg for
1836 2009-08-04 Carsten Dominik <carsten.dominik@gmail.com>
1838 * org.el (org-table-map-tables): Make sure cursor is back at table
1839 beginning after funcall.
1841 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1842 handled before children, and do not error if an entry is not
1843 found, probably because it hase been remove when the parent was
1844 archived or refiled.
1846 * org.el (org-ido-completing-read): Accept straight lists for
1847 completion as well as alists.
1849 * org-html.el (org-export-as-html): Fix parenthesis error in
1852 * org-timer.el (org-timer-cancel-timers): Renamed from
1853 `org-timer-cancel-timers'.
1855 * org.el (org-cycle-internal-local): Fix problem with finding next
1858 2009-08-03 Carsten Dominik <carsten.dominik@gmail.com>
1860 * org-list.el (org-list-send-list): Call
1861 `org-list-goto-true-beginning' instead of
1862 `org-list-find-true-beginning', which does not exist.
1864 * org-timer.el (org-timer-reset-timers): Use `mapc'.
1865 (org-timer-set-timer): Do not assign to heading.
1867 * org-id.el (org-id-open): Quote function name.
1869 * org-macs.el (org-unmodified): Turn off recording undo
1870 information while running inside the macro.
1872 * org-indent.el (org-hide-leading-stars-before-indent-mode): New
1874 (org-indent-mode): Remember and restore value of
1875 org-hide-leading-stars before `org-indent-mode'.
1877 * org-table.el (org-table-export): Also work in file-less
1880 * org.el (org-startup-indented): New option.
1881 (org-startup-options): Add new options indent and noindent.
1882 (org-unfontify-region): Remove line-prefix and wrap-prefix
1884 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
1886 (org-promote, org-demote): Run the new hooks.
1888 * org-table.el (org-table-align): Replace leading \n as well.
1890 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
1891 and `line-wrap' text properties.
1893 * org-compat.el (org-kill-new): New function.
1895 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
1896 `line-wrap' text properties.
1898 * org-indent.el: New file.
1900 2009-08-02 Carsten Dominik <carsten.dominik@gmail.com>
1902 * org.el (org-provide-todo-statistics): Tweak docstring.
1904 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
1906 2009-08-01 Carsten Dominik <carsten.dominik@gmail.com>
1908 * org-exp.el (org-export-as-org): Insert the "-source" string
1909 before the extension.
1911 * org.el (org-read-date): Make sure the calendar is in the current
1913 (org-set-emph-re): Remove the ? from the post-match.
1914 (org-emphasis-regexp-components): Add backslash to the
1916 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
1917 optional so that also lines at the end of the buffers will still
1918 be matched as headlines.
1920 * org-table.el (org-table-error-on-row-ref-crossing-hline):
1921 Variable made obsolete.
1922 (org-table-relative-ref-may-cross-hline): New option.
1923 (org-table-find-row-type): Honow the new option
1924 `org-table-relative-ref-may-cross-hline'.
1926 2009-07-31 Carsten Dominik <carsten.dominik@gmail.com>
1928 * org-table.el (org-table-cut-region, org-table-copy-region): Work
1929 on single field if no active region.
1931 2009-07-27 Carsten Dominik <carsten.dominik@gmail.com>
1933 * org-latex.el (org-export-latex-make-header): Only insert title
1936 * org.el (org-make-options-regexp): Allow empty values.
1938 * org-html.el (org-export-as-html): Move hrule detection to after
1939 plain list handling.
1941 2009-07-26 Carsten Dominik <carsten.dominik@gmail.com>
1943 * org-html.el (org-format-org-table-html): Fix colgroup tags.
1945 2009-07-23 Carsten Dominik <carsten.dominik@gmail.com>
1947 * org.el (org-cycle-internal-local): Improved version of finding
1949 (org-cycle-hide-drawers): Only hide drawers if this is really
1951 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
1952 org-version of this function in Org-mode. We use advice to
1953 implement this change, so that future changes to this function in
1954 outline.el wil be handled properly.
1955 (org-forward-same-level, org-backward-same-level): New commands.
1957 2009-07-21 Carsten Dominik <carsten.dominik@gmail.com>
1959 * org.el (org-remove-empty-overlays-at)
1960 (org-clean-visibility-after-subtree-move): New functons.
1961 (org-move-subtree-down): Simplify cleanup of display.
1963 2009-07-20 Carsten Dominik <carsten.dominik@gmail.com>
1965 * org-mac-message.el (org-mac-message-get-links): Improve
1966 docstring. Make argument SELECT-OR-FLAGGED optional, default to
1967 "s". Fix the return value.
1968 (org-mac-message-insert-flagged): Simplify.
1970 * org.el (org-refile-get-location): Tamper with refile history o
1971 that history contains compete matches instead of the entered
1974 2009-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1976 * org.el (org-store-link): Never store a link to an inline task.
1978 * org-inlinetask.el (org-inlinetask-insert-task): New command.
1980 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
1981 inline tasks when positioning footnotes.
1983 * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
1986 * org.el (org-refile): Remove the END line when archiving an
1987 inline task that does have an END line.
1989 * org-archive.el (org-archive-subtree): Remove the END line when
1990 archiving an inline task that does have an END line.
1992 * org-macs.el (org-with-limited-levels): New macro.
1993 (org-get-limited-outline-regexp): New function.
1995 * org-exp.el (org-export-format-source-code-or-example): Fix bug
1996 that did not enumerate first line.
1997 (org-export-mark-radio-links): Skip matches in links.
1999 2009-07-18 Carsten Dominik <carsten.dominik@gmail.com>
2001 * org.el (org-activate-plain-links): Make single-match.
2002 (org-adapt-indentation): Fix docstring.
2004 * org-macs.el (org-unmodified): Turn of modification hooks while
2007 2009-08-02 Bastien Guerry <bzg@altern.org>
2009 * org.el (org-adapt-indentation): Slightly improve the docstring.
2010 (org-occur): Sends an error when the user inputs an empty string.
2011 (org-priority): Bugfix: the tag alignement should happen within
2014 2009-07-31 Bastien Guerry <bzg@altern.org>
2016 * org.el (org-make-link-regexps): Don't exclude parentheses from
2018 (org-cycle-internal-local): When locally cycling, switch directly
2019 from CHILDREN to FOLDED if there is no subtree
2020 (org-cycle): Update the docstring to document the new behavior of
2021 `org-cycle-internal-local'.
2023 2009-07-29 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
2025 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
2026 an abbreviated format for days.
2028 2009-07-27 Bastien Guerry <bzg@altern.org>
2030 * org-protocol.el (org-protocol-default-template-key): New
2033 * org.el (org-refile): Bugfix: save-excursion before reading the
2034 refile target, otherwise cursor moves might confuse `org-refile'.
2036 * org-html.el (org-export-as-html): Bugfix: correctly convert the
2037 footnote reference before the footnote itself.
2039 * org.el (org-toggle-heading): Bugfix: correctly convert list
2040 items before the first headline.
2042 * org-html.el (org-export-html-footnote-format): New option for
2043 formatting the footnote reference.
2044 (org-export-as-html): Use the new option.
2046 * org.el (org-provide-todo-statistics): Allow a list of TODO
2047 keywords to compute statistics against headlines containing a
2048 keyword from this list.
2049 (org-update-parent-todo-statistics): Possibly use the new allowed
2050 value of `org-provide-todo-statistics'.
2052 2009-07-26 Bastien Guerry <bzg@altern.org>
2054 * org-timer.el: Add autoload cookie.
2056 * org.el (org-occur-link-in-agenda-files): New function.
2058 * org-timer.el (org-timer-last-timer): New variable.
2060 * org-agenda.el (org-agenda-mode-map): New key for
2061 org-timer-set-timer called from the agenda.
2063 * org.el (org-mode-map): New key for org-timer-set-timer.
2065 * org-timer.el (org-timer-reset-timers)
2066 (org-timer-show-remaining-time, org-timer-set-timer): New
2069 * org-clock.el (org-show-notification): Update the docstring.
2071 * org.el (org-provide-todo-statistics): Allow new value
2072 'all-headlines for this option, which includes entries with no
2073 TODO keywords in the todo statistics.
2074 (org-update-parent-todo-statistics): Possibly use the new
2075 'all-headline value from `org-provide-todo-statistics'.
2077 2009-07-25 Bastien Guerry <bzg@altern.org>
2079 * org-clock.el (org-dblock-write:clocktable): Add a new option
2080 :timestamp which allows display of timestamps in clock reports.
2082 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2083 list to a subtree, preserving the structure of the list.
2084 (org-set-emph-re): Make the last element optional in the regexp.
2085 This regexp now matches an emphasized string at the end of a line.
2087 * org-list.el (org-list-goto-true-beginning)
2088 (org-list-make-subtree, org-list-make-subtrees): New functions.
2090 * org.el (org-eval-in-calendar): Select the right frame.
2091 (org-save-frame-excursion): Remove this macro.
2093 2009-07-24 Bastien Guerry <bzg@altern.org>
2095 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2096 trying to find the beginning of a list.
2098 * org-exp.el (org-get-file-contents): Use a new argument: markup.
2099 When present, tell org-get-file-contents not to protect org-like
2102 * org-id.el (org-id-uuid-program): New option to set the name of
2103 the uuidgen program.
2104 (org-id-method): Use `org-id-uuid-program'.
2105 (org-id-new): Use `org-id-uuid-program'.
2107 2009-07-23 Bastien Guerry <bzg@altern.org>
2109 * org-exp.el (org-export-number-lines): Allow whitespace in code
2110 references. Allow the -r switch to remove the references in the
2111 source code even when the lines are not numbered: the labels can
2114 * org.el (org-fontify-whole-heading-line): New option.
2115 (org-set-font-lock-defaults): Use the new option.
2117 * org-clock.el (org-show-notification-handler): New option.
2118 (org-show-notification): Use the new option.
2120 2009-07-21 Bastien Guerry <bzg@altern.org>
2122 * org.el (org-eval-in-calendar): Fix a bug about calendar
2123 navigation when `calendar-setup' value is 'calendar-only.
2125 2009-07-19 Bastien Guerry <bzg@altern.org>
2127 * org.el (orgstruct++-mode): Fix typo in docstring.
2128 (org-insert-link): Clean up: (or (...)) => (...)
2129 (org-insert-link): Use TAB for stored links completion.
2131 2009-07-18 Bastien Guerry <bzg@altern.org>
2133 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2134 building the list of targets.
2136 * org-remember.el (org-remember-delete-empty-lines-at-end): New
2138 (org-remember-handler): Use the new option.
2140 2009-07-17 James TD Smith <ahktenzero@mohorovi.cc>
2142 * org.el (org-tags-sort-function): New option for sorting tags.
2143 (org-set-tags): Use the new option to sort tags.
2145 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2146 premature deletion of the data when using org-plot in a script.
2148 2009-07-17 Bastien Guerry <bzg@altern.org>
2150 * org-clock.el (org-clock-in-prepare-hook): New hook.
2151 (org-clock-in): Use this new hook.
2153 2009-07-16 Bastien Guerry <bzg@altern.org>
2155 * org.el (org-special-ctrl-a/e): Explicitely bind the value
2156 'reversed for this option to the "true line boundary first"
2158 (org-tags-match-list-sublevels): Document the 'indented value for
2161 * org-latex.el (org-export-latex-first-lines): Fix problem with
2162 publishing the region.
2164 * org-exp.el (org-export-format-source-code-or-example): Fix
2165 bad line numbering when exporting examples in HTML.
2167 * org-colview.el (org-format-time-period): Formats a time in
2168 fractional days as days, hours, mins, seconds.
2169 (org-columns-display-here): Add special handling for SINCE and
2170 SINCE_IA to format for display.
2172 2009-07-12 James TD Smith <ahktenzero@mohorovi.cc>
2174 * org.el (org-tags-sort-function): Add custom declaration for tags
2176 (org-set-tags): Sort tags if org-tags-sort-function is set
2178 2009-07-08 Carsten Dominik <carsten.dominik@gmail.com>
2180 * org-clock.el (org-clock-goto): Find hidden headlines as well.
2182 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2184 * org-plot.el (org-plot/add-options-to-plist): Add timeind
2187 2009-07-07 Carsten Dominik <carsten.dominik@gmail.com>
2189 * org-publish.el (org-publish-remove-all-timestamps): New function.
2190 (org-publish-all): Remove all timestamp files if `org-publish-all'
2191 is called with a prefix argument.
2193 * org-list.el (org-indent-item): Fix typo.
2194 (org-item-indent-positions): Normalize ordered bullet.
2196 * org-html.el (org-export-html-home/up-format): New option.
2197 (org-export-as-html): Insert the up and HOME links.
2199 2009-07-06 Carsten Dominik <carsten.dominik@gmail.com>
2201 * org-html.el (org-export-as-html): Insert the title into the
2203 (org-export-html-insert-plist-item): New function.
2204 (org-export-as-html): Call `org-export-html-insert-plist-item'.
2206 * org-macs.el (org-set-local): Make a local variable, do not make
2207 the variable buffer-local!
2209 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2211 * org-html.el (org-export-as-html): Call `org-install-letbind'.
2213 * org-docbook.el (org-export-as-docbook): Call
2214 `org-install-letbind'.
2216 * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2218 * org-exp.el (org-infile-export-plist): Read BIND lines.
2219 (org-install-letbind): New function.
2220 (org-export-as-org, org-export-preprocess-string): Call
2221 `org-install-letbind'.
2223 * org-src.el (org-edit-src-exit): Untabify the example before
2226 * org-list.el (org-list-demote-modify-bullet): New option.
2227 (org-first-list-item-p): Save point.
2228 (org-fix-bullet-type): New optional argument FORCE-BULLET.
2229 (org-indent-item): Honor `org-list-demote-modify-bullet'.
2230 (org-item-indent-positions): Return bullet types along with
2233 2009-07-05 Carsten Dominik <carsten.dominik@gmail.com>
2235 * org.el (org-show-entry): Hide drawers.
2237 2009-07-03 Carsten Dominik <carsten.dominik@gmail.com>
2239 * org-footnote.el (org-footnote-auto-adjust): New option.
2240 (org-footnote-auto-adjust-maybe): New function.
2241 (org-footnote-new, org-footnote-delete): Call
2242 `org-footnote-auto-adjust-maybe'.
2244 * org.el (org-startup-options): Add new footnote-related
2247 * org-publish.el (org-publish-timestamp-filename): Additional
2248 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2249 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2250 TRUE-PUB-DIR. Pass them through to
2251 `org-publish-timestamp-filename'.
2252 (org-publish-update-timestamp): Additional arguments PUB-DIR and
2253 PUB-FUNC, which are included in the hash.
2254 (org-publish-file): Delay timestamp test until the publishing
2257 2009-07-02 Carsten Dominik <carsten.dominik@gmail.com>
2259 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2260 setting the deadline.
2262 * org.el (org-read-date-final-answer): New variable.
2263 (org-read-date): Store the final answer string, including the date
2264 from the calendar, for reuse by agenda bulk commands.
2266 * org-publish.el (org-publish-attachment): Fix publishing of
2269 * org-latex.el (org-export-latex-quotation-marks): Fix export of
2270 quotation makrs in parenthesis.
2271 (org-remove-initial-hash): New function.
2272 (org-export-latex-preprocess): Fix bug with infinite loop if
2273 environment is not properly closed.
2275 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2278 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2279 highlight also when indented.
2281 2009-07-01 Carsten Dominik <carsten.dominik@gmail.com>
2283 * org-footnote.el (org-footnote-renumber-fn:N): New command.
2284 (org-footnote-action): Offer renumbering.
2286 * org.el (org-cycle): Honor the `integrate' value of
2287 org-cycle-include-plain-lists'.
2289 * org-list.el (org-cycle-include-plain-lists): New allowed value
2290 `internal'. Improve the docstring.
2292 * org.el (org-set-autofill-regexps): Improve the paragraph-start
2293 regexp to work better with LaTeX commands.
2295 2009-06-30 Carsten Dominik <carsten.dominik@gmail.com>
2297 * org-feed.el (org-feed-update): fix problem with non-existing
2299 (org-feed-skip-http-headers): New function.
2300 (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2301 (org-feed-get-feed): Fix command line arguments for curl.
2303 2009-06-28 Carsten Dominik <carsten.dominik@gmail.com>
2305 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2308 2009-06-27 Carsten Dominik <carsten.dominik@gmail.com>
2310 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2313 * org.el (org-map-entries): No longer force
2314 `org-tags-match-list-sublevels' to t during a todo-only tags
2317 2009-06-26 Carsten Dominik <carsten.dominik@gmail.com>
2319 * org-latex.el (org-export-latex-low-levels): Allow user-defined
2321 (org-export-latex-subcontent): Handle user-defined environment.
2323 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2324 the View dispatcher.
2326 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2329 * org-latex.el (org-export-as-pdf): Protect match data during call
2330 to shell-quote-argument.
2332 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2333 (org-agenda-view-mode-dispatch): New function.
2335 2009-06-24 Carsten Dominik <carsten.dominik@gmail.com>
2337 * org-agenda.el (org-agenda-mode): Reset list of marks.
2338 (org-agenda-mode-map): Define new keys for refile and bulk action.
2339 (org-agenda-menu): Add menu itesm for refile and bulk action.
2340 (org-agenda-refile): New function.
2341 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2342 (org-agenda-marked-entries): New variable.
2343 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2344 (org-agenda-remove-all-bulk-action-marks)
2345 (org-agenda-bulk-action): New functions/commands.
2347 2009-06-23 Carsten Dominik <carsten.dominik@gmail.com>
2349 * org-exp.el (org-get-file-contents): Protect org-like lines in
2351 (org-export-format-source-code-or-example): Remove newlines.
2353 * org-latex.el (org-export-latex-links): Check for no-description
2356 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2357 argument separator back to comma.
2358 (org-export-normalize-links): Mark links without description.
2360 2009-06-22 Carsten Dominik <carsten.dominik@gmail.com>
2362 * org-exp.el (org-infile-export-plist): Fix bug in macro
2365 * org-agenda.el (org-agenda-clock-out): Update line after clocking
2367 (org-agenda-highlight-todo): Fix bug with highlighting.
2369 2009-06-21 Carsten Dominik <carsten.dominik@gmail.com>
2371 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2372 new alignment strings.
2374 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2376 (org-table-align): Check for forced align type.
2378 * org.el (org-self-insert-command): Add yas/expand to command
2381 * org-clock.el (org-clock-in-hook): New hook.
2382 (org-clock-in): Run `org-clock-in-hook.
2383 (org-clock-out-hook): New hook.
2384 (org-clock-out): Run `org-clock-out-hook.
2385 (org-clock-cancel-hook): New hook.
2386 (org-clock-cancel): Run `org-clock-cancel-hook.
2387 (org-clock-goto-hook): New hook.
2388 (org-clock-goto): Run `org-clock-goto-hook.
2390 2009-06-20 Carsten Dominik <carsten.dominik@gmail.com>
2392 * org.el (org-store-link): Better default description for link to
2395 * org-exp.el (org-export-generic): Autoload the generic exporter
2397 (org-export): Implement the `g' key for the generic exporter.
2399 2009-06-19 Carsten Dominik <carsten.dominik@gmail.com>
2401 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2404 * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2406 * org-exp.el (org-infile-export-plist): Get macros also from
2409 2009-06-18 Carsten Dominik <carsten.dominik@gmail.com>
2411 * org-colview.el (org-columns-capture-view): Protect vertical bars
2413 (org-columns-capture-view): Exclude comment and archived trees.
2415 * org-colview-xemacs.el (org-columns-capture-view): Protect
2416 vertical bars in column values.
2417 (org-columns-capture-view): Exclude comment and archived trees.
2419 * org.el (org-quote-vert): New function.
2421 * org-latex.el (org-export-latex-verbatim-wrap): New option.
2423 * org-exp.el (org-export-format-source-code-or-example): Use
2424 `org-export-latex-verbatim-wrap'.
2426 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2429 * org-html.el (org-export-table-row-tags): New option.
2430 (org-format-org-table-html): Rename `nlines' to `nline', use new
2434 2009-06-17 Carsten Dominik <carsten.dominik@gmail.com>
2436 * org-exp-blocks.el: Declare functions and variables.
2438 * org-remember.el (org-remember-templates): Allow the headline
2439 element to be a function.
2440 (org-remember-apply-template): If the headline is a function, call
2441 it to get the true function.
2443 * org-clock.el (org-clock-menu): New function.
2444 (org-clock-update-mode-line): Update help string.
2445 (org-clock-modify-effort-estimate): New function.
2446 (org-clock-mark-default-task): New function.
2448 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2450 (org-org-menu): Add new clocking stuff.
2451 (org-clock-is-active): New function.
2453 2009-06-14 Carsten Dominik <carsten.dominik@gmail.com>
2455 * org.el (org-open-non-existing-files): Improve docstring.
2457 2009-06-11 Carsten Dominik <carsten.dominik@gmail.com>
2459 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2461 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2463 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2465 * org-list.el (org-get-checkbox-statistics-face): Use the new
2468 * org-faces.el (org-checkbox-statistics-todo)
2469 (org-checkbox-statistics-done): New faces.
2471 2009-06-09 Carsten Dominik <carsten.dominik@gmail.com>
2473 * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2474 (org-edit-src-exit): Better cursor positioning when returning from
2477 * org-latex.el (org-export-latex-use-verb): New variable.
2478 (org-export-latex-emph-format): Prefer \texttt over \verb when
2479 org-export-latex-use-verb is set.
2481 2009-06-08 Carsten Dominik <carsten.dominik@gmail.com>
2483 * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2484 at normal indentation.
2486 * org-html.el (org-export-html-close-lists-maybe): Also look at
2489 * org-remember.el (org-remember-handler): Abort remember if the
2492 * org-src.el (org-edit-src-content-indentation): New option.
2493 (org-edit-src-exit): Apply extra indentation.
2495 * org-exp.el (org-export-format-source-code-or-example): Run
2496 `org-src-mode-hook'.
2498 * org-src.el (org-src-mode-hook): New variable.
2499 (org-edit-src-code): Run `org-src-mode-hook'.
2501 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
2503 * org.el (org-indent-line-function): Fix indentation of +#end lines.
2505 * org-src.el (org-edit-src-get-indentation): New function.
2506 (org-edit-src-code): Base indentation on the begin line.
2508 2009-06-07 Tassilo Horn <tassilo@member.fsf.org>
2510 * org-gnus.el (org-gnus-store-link): Require message.el in
2511 org-gnus-store-link.
2513 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
2515 * org-src.el: New file, split out of org.el
2517 * org-docbook.el (org-export-as-docbook): Better indentation
2520 * org-macs.el (org-replace-match-keep-properties): New function.
2522 * org-exp.el (org-export-mark-blockquote-verse-center): Better
2523 preprocessing of center and quote and verse blocks.
2525 * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2526 (org-export-as-docbook): Close lists when original indentation
2529 * org-html.el (org-export-html-close-lists-maybe): New function.
2530 (org-export-as-html): Close lists when original indentation
2533 * org-list.el (org-list-end): Respect the stored "original"
2534 indentation when determining the end of the list.
2536 * org-exp.el (org-export-replace-src-segments-and-examples):
2537 Remember indentation correctly.
2539 2009-06-06 Carsten Dominik <carsten.dominik@gmail.com>
2541 * org-clock.el (org-clock-update-mode-line): Apply face
2542 org-mode-line-clock.
2544 * org-faces.el (org-mode-line-clock): New face.
2546 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
2548 * org-gnus.el (org-gnus-store-link): Fix bug where
2549 `org-gnus-store-link' used wrong subject when called in an article
2550 buffer. Patch provided by fengli AT gmail DOT com.
2552 2009-06-04 Carsten Dominik <carsten.dominik@gmail.com>
2554 * org-exp.el (org-export-format-source-code-or-example): Remember
2555 the original indentation of source code snippets and examples.
2557 * org-latex.el (org-export-as-latex): Relocate the table of
2560 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2562 * org-agenda.el (org-run-agenda-series): Scope global options also
2563 when creating the agenda buffer.
2565 2009-06-03 Carsten Dominik <carsten.dominik@gmail.com>
2567 * org.el (org-adapt-indentation): Improve documentation.
2568 (org-insert-property-drawer): Respect org-adapt-indentation when
2569 inserting the drawer.
2570 (org-remove-flyspell-overlays-in): New function.
2571 (org-do-emphasis-faces, org-activate-plain-links)
2572 (org-activate-code, org-fontify-meta-lines-and-blocks)
2573 (org-activate-angle-links, org-activate-footnote-links)
2574 (org-activate-bracket-links, org-activate-dates)
2575 (org-activate-target-links, org-activate-tags): Remove flyspell
2578 2009-06-02 Carsten Dominik <carsten.dominik@gmail.com>
2580 * org.el (org-edit-src-save): New function.
2582 * org-clock.el (org-clock-out-switch-to-state): New option.
2583 (org-clock-out): Honor `org-clock-out-switch-to-state'.
2585 * org-compat.el (org-compatible-face): Improve macro.
2587 * org.el (org-global-properties-fixed): Add default for
2588 CLOCK_MODELINE_TOTAL.
2590 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2592 (org-clock-sum-current-item): Optional argument TSTART, pass it to
2594 (org-clock-get-sum-start): New function.
2596 * org.el (org-startup-options): New keywords blockhide and
2598 (org-mode): Add new invisibility spec.
2599 (org-set-startup-visibility): Hide block on startup if so
2601 (org-hide-block-startup): New option.
2602 (org-block-regexp): New constant.
2603 (org-hide-block-overlays): New variable.
2604 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2605 (org-show-block-all, org-hide-block-toggle-maybe)
2606 (org-hide-block-toggle): New functions.
2607 (org-edit-src-exit): Do not quote lines starting with # and no +
2609 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2612 2009-05-30 Carsten Dominik <carsten.dominik@gmail.com>
2614 * org.el (org-buffer-property-keys): Add Effort property for
2617 2009-05-28 Carsten Dominik <carsten.dominik@gmail.com>
2619 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2620 when retrieving total clocked time in the subtree.
2622 * org.el (org-quoting-blocks): New variable.
2624 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
2626 * org-table.el (org-table-store-formulas)
2627 (org-table-get-stored-formulas, org-table-fix-formulas)
2628 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2629 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2631 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2632 indented #+TBLFM line.
2634 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2635 indented #+TBLFM line.
2637 * org-colview.el (org-dblock-write:columnview): Allow indented
2640 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2641 indented #+TBLFM line.
2643 * org-clock.el (org-dblock-write:clocktable): Allow indented
2646 2009-05-26 Carsten Dominik <carsten.dominik@gmail.com>
2648 * org-exp.el (org-export-format-source-code-or-example): Make
2649 editing indented blocks work correctly.
2651 * org.el (org-edit-src-nindent): New variable.
2652 (org-edit-src-code, org-edit-fixed-width-region)
2653 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2654 editing indented blocks work correctly.
2656 2009-05-24 Carsten Dominik <carsten.dominik@gmail.com>
2658 * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2660 (org-export-format-source-code-or-example): Fix indentation of
2662 (org-export-remove-indentation): New function.
2663 (org-export-select-backend-specific-text): Allow backend-specific
2664 code to be indented.
2665 (org-export-mark-blockquote-verse-center): Allow markers to be
2668 * org.el (org-fontify-meta-lines): New function.
2669 (org-set-font-lock-defaults): Call the new fontification
2672 * org-faces.el (org-meta-line): New face
2673 (org-block): New face.
2675 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
2677 * org.el (org-treat-insert-todo-heading-as-state-change)
2678 (org-treat-S-cursor-todo-selection-as-state-change): New
2680 (org-insert-todo-heading): Honor
2681 `org-treat-insert-todo-heading-as-state-change'.
2682 (org-shiftright, org-shiftleft): Honor
2683 `org-treat-S-cursor-todo-selection-as-state-change'.
2684 (org-inhibit-logging): New variable.
2686 2009-05-23 Carsten Dominik <carsten.dominik@gmail.com>
2688 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2689 range for marker position checking.
2691 * org-latex.el (org-export-latex-first-lines): Fix bug when
2694 2009-05-22 Carsten Dominik <carsten.dominik@gmail.com>
2696 * org-exp.el (org-export-push-to-kill-ring): Protect using
2697 x-set-selection, because that does not always work.
2699 * org-agenda.el (org-agenda-list): Apply the new face
2700 `org-agenda-date-today'.
2702 * org-faces.el (org-agenda-date-today): New face.
2704 2009-05-21 Carsten Dominik <carsten.dominik@gmail.com>
2706 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2707 creating appointments.
2709 * org-latex.el (org-export-latex-low-levels): Fix customization
2712 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2715 * org-agenda.el (org-agenda-priority): Disable priority commands.
2717 * org.el (org-enable-priority-commands): New option.
2719 * org-colview-xemacs.el (org-columns-compute)
2720 (org-columns-number-to-string): Fix problems with empty fields.
2722 * org-colview.el (org-columns-compute)
2723 (org-columns-number-to-string): Fix problems with empty fields.
2725 * org-exp.el (org-export-push-to-kill-ring): New function.
2726 (org-export-copy-to-kill-ring): New option.
2728 * org-latex.el (org-export-as-latex): Call
2729 `org-export-push-to-kill-ring'.
2731 * org-html.el (org-export-as-html): Call
2732 `org-export-push-to-kill-ring'.
2734 * org-docbook.el (org-export-as-docbook): Call
2735 `org-export-push-to-kill-ring'.
2737 * org-ascii.el (org-export-as-ascii): Call
2738 `org-export-push-to-kill-ring'.
2740 * org-exp.el (org-export-show-temporary-export-buffer): New
2743 * org-latex.el (org-export-as-latex): Use
2744 `org-export-show-temporary-export-buffer'.
2746 * org-html.el (org-export-as-html): Use
2747 `org-export-show-temporary-export-buffer'.
2749 * org-docbook.el (org-export-as-docbook): Use
2750 `org-export-show-temporary-export-buffer'.
2752 * org-ascii.el (org-export-as-ascii-to-buffer): Use
2753 `org-export-show-temporary-export-buffer'.
2755 * org-exp.el (org-export-show-temporary-export-buffer): New
2757 (org-export-push-to-kill-ring): New function.
2759 * org-colview.el (org-columns-compile-map): New variable.
2760 (org-columns-new, org-columns-compute)
2761 (org-columns-number-to-string, org-columns-uncompile-format)
2762 (org-columns-compile-format): Implement new operators.
2764 2009-05-20 Carsten Dominik <carsten.dominik@gmail.com>
2766 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2768 * org-html.el (org-export-html-xml-declaration): New option.
2769 (org-export-as-html): Use `org-export-html-xml-declaration'.
2771 * org-list.el (org-update-checkbox-count): Make property
2774 * org.el (org-hierarchical-todo-statistics): New option.
2775 (org-update-parent-todo-statistics): Modified to handle recursive
2778 2009-05-19 Carsten Dominik <carsten.dominik@gmail.com>
2780 * org-publish.el (org-publish): Make this function behave
2781 correctly in interactive use when called with a prefix argument.
2783 * org.el (org-todo-statistics-hook): New hook.
2784 (org-update-parent-todo-statistics): Use new hook.
2785 (org-log-into-drawer): New function.
2786 (org-add-log-setup): Use the new `org-log-into-drawer' function to
2787 determine if we should be logging into a drawer.
2788 (org-log-into-drawer): Update docstring.
2789 (org-default-properties): Add LOG_INTO_DRAWER as a property.
2791 * org-list.el (org-checkbox-statistics-hook): New hook.
2792 (org-update-checkbox-count-maybe): Use new hook.
2794 * org-ascii.el (org-export-ascii-copy-to-kill): New option.
2795 (org-export-as-ascii): Hide export buffer, and copy exported ASCII
2798 2009-05-17 Carsten Dominik <carsten.dominik@gmail.com>
2800 * org-ascii.el (org-export-as-ascii): Fix bug with match string in
2803 2009-05-16 Carsten Dominik <carsten.dominik@gmail.com>
2805 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2806 better bufer-generating mechanism.
2807 (org-edit-src-find-buffer): New function.
2809 * org-icalendar.el (org-print-icalendar-entries): Don't check for
2810 archive tag, this is already done by `org-agenda-skip'.
2811 data while constructing lost of tags.
2813 2009-05-15 Carsten Dominik <carsten.dominik@gmail.com>
2815 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2816 as argument separator in macros.
2818 * org-html.el (org-export-as-html): Add xml declaration.
2820 2009-05-14 Carsten Dominik <carsten.dominik@gmail.com>
2822 * org.el (org-after-sorting-entries-or-items-hook): New hook.
2823 (org-sort-entries-or-items): Run the new hook.
2824 (org-after-refile-insert-hook): New hook.
2825 (org-refile): Run `org-after-refile-insert-hook'.
2827 * org-agenda.el (org-agenda-get-progress): Never take time of day
2828 from headline when displaying progress.
2830 * org-latex.el (org-export-latex-complex-heading-re): New variable.
2831 (org-export-as-latex): Force the correct regexp in the
2832 preprocessor buffer.
2833 (org-export-latex-set-initial-vars): Set
2834 `org-export-latex-complex-heading-re'.
2836 * org-agenda.el (org-agenda-start-with-log-mode): New option.
2837 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2839 2009-05-13 Carsten Dominik <carsten.dominik@gmail.com>
2841 * org-latex.el (org-export-latex-tables-centered): New option.
2842 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2844 * org-exp.el (org-export-as-org): New command.
2845 (org-export-as-org): New command.
2847 * org-publish.el (org-publish-org-to-org): New function.
2849 2009-05-12 Carsten Dominik <carsten.dominik@gmail.com>
2851 * org.el (org-yank): Just call `org-yank-generic'.
2852 (org-yank-generic): New function, containing the formaer
2853 functionality of `org-yank'.
2855 * org-latex.el (org-export-latex-not-done-keywords)
2856 (org-export-latex-done-keywords): New variables.
2857 (org-export-latex-todo-keyword-markup): New option.
2858 (org-export-latex-set-initial-vars): Remember the TODO keywords.
2859 (org-export-latex-keywords-maybe): Apply the TODO markup.
2861 2009-05-11 Carsten Dominik <carsten.dominik@gmail.com>
2863 * org-exp.el (org-infile-export-plist): Add more default macros.
2864 (org-export-preprocess-apply-macros): Process macro arguments.
2866 2009-05-10 Carsten Dominik <carsten.dominik@gmail.com>
2868 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
2870 (org-print-icalendar-entries): Respect the new value of
2871 `org-icalendar-include-todo'.
2873 * org.el (org-link-try-special-completion)
2874 (org-file-complete-link): New functions.
2875 (org-insert-link): Add special completion support for some link
2878 * org-bbdb.el (org-bbdb-complete-link): New function.
2880 2009-05-08 Carsten Dominik <carsten.dominik@gmail.com>
2882 * org-list.el (org-update-checkbox-count): Allow recursive
2884 (org-hierarchical-checkbox-statistics): New option.
2886 * org.el (org-cycle): Remove erraneous space character.
2888 * org-icalendar.el (org-icalendar-timezone): Initialize from
2891 * org-html.el (org-format-org-table-html): Specify the scope.
2892 (org-format-table-table-html): Specify the scope.
2893 (org-export-table-header-tags): Prepare the scope parameter.
2895 2009-05-07 Carsten Dominik <carsten.dominik@gmail.com>
2898 (org-export-html-table-use-header-tags-for-first-column): New
2901 * org.el (org-autoload): Fix autoloading of ascii export
2903 (org-modules): Add org-special-blocks.
2905 2009-05-06 Carsten Dominik <carsten.dominik@gmail.com>
2907 * org-icalendar.el (org-start-icalendar-file): Use the new option.
2908 (org-ical-timezone): New option.
2910 * org-exp.el (org-export-get-coderef-format): Use the description
2913 * org.el (org-sort-entries-or-items): Improve docstring, and make
2914 better implementation for time sorting.
2916 2009-05-05 Carsten Dominik <carsten.dominik@gmail.com>
2918 * org.el (org-edit-src-persistent-message): New option.
2919 (org-edit-src-code, org-edit-fixed-width-region): Use the new
2922 * org-clock.el (org-clock-insert-selection-line): Fix prefious
2925 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
2926 separate buffer instead of indirect buffer to edit source code.
2927 (org-edit-src-exit): Make this function work with the new setup.
2929 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
2930 are properly fontified before shown in the selection menu.
2932 * org.el (org-fontify-like-in-org-mode): New function.
2934 * org-latex.el (org-export-latex-links): Use the property list to
2935 retrieve the default image attributes.
2937 * org-exp.el (org-export-plist-vars): Add a new option.
2939 2009-05-04 Carsten Dominik <carsten.dominik@gmail.com>
2941 * org-exp.el (org-export, org-export-visible): Support ASCII
2943 (org-export-normalize-links): Do not protect the description if it
2944 is explicitly given.
2946 * org-ascii.el (org-export-as-ascii-to-buffer)
2947 (org-replace-region-by-ascii, org-export-region-as-ascii): New
2949 (org-export-as-ascii): Add all the same parameters that are also
2950 supported by the other export functions.
2952 * org-list.el (org-reset-checkbox-state-subtree): Moved here from
2954 (org-reset-checkbox-state-subtree): Call
2955 `org-reset-checkbox-state-subtree'.
2957 * org-remember.el (org-select-remember-template): For the
2958 selection of a valid template.
2960 * org-latex.el (org-export-region-as-latex): Supply the
2961 force-no-subtree argument.
2962 (org-export-as-latex): Provide better limits when exporting the
2963 first line. When exporting to string, we still want the first
2965 (org-export-latex-first-lines): New argument END, to force the end
2967 (org-export-region-as-latex): Use the property list.
2968 (org-export-as-latex):
2970 * org-colview-xemacs.el (org-columns-remove-overlays)
2971 (org-columns): Fix call to `local-variable-p'.
2973 2009-05-02 Carsten Dominik <carsten.dominik@gmail.com>
2975 * org-html.el (org-export-html-after-blockquotes-hook): New hook.
2976 (org-export-as-html): Run the new hook.
2978 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
2979 (org-export-latex-preprocess): Run the new hook.
2981 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
2982 (org-export-preprocess-string): Run the new hook.
2984 2009-04-30 Carsten Dominik <carsten.dominik@gmail.com>
2986 * org-macs.el (org-check-external-command): New defsubst.
2988 * org.el (org-mode-map): New key for reload.
2989 (org-format-latex): Better error message when external programs
2992 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
2994 * org.el (org-sort-entries-or-items): Explicit sorting function
2995 for priorities, needed for XEmacs compatibility.
2997 * org-remember.el (org-remember-apply-template): Improve auto-save
3000 2009-04-29 Carsten Dominik <carsten.dominik@gmail.com>
3002 * org-latex.el (org-export-latex-preprocess): Also protect
3003 environments ending in a star.
3005 * org-list.el (org-at-item-p): Fix regular expression.
3007 2009-04-24 Carsten Dominik <carsten.dominik@gmail.com>
3009 * org.el (org-end-of-subtree): Improve speed.
3011 * org-agenda.el (org-agenda-get-timestamps)
3012 (org-agenda-get-progress, org-agenda-get-deadlines)
3013 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
3014 in particular, wait as long as possible to collect the tags.
3015 (org-stuck-projects): Improve docstring.
3017 * org.el (org-store-link): No errors when getting custom id before
3019 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
3021 2009-04-23 Carsten Dominik <carsten.dominik@gmail.com>
3023 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
3025 * org-protocol.el: Remove dependency on url.el.
3026 (org-protocol-unhex-compound, org-protocol-open-source): Remove
3027 dependency on url.el.
3029 * org-latex.el (org-export-as-pdf): Use
3030 `org-latex-to-pdf-process'.
3032 2009-04-22 Carsten Dominik <carsten.dominik@gmail.com>
3034 * org-latex.el (org-latex-to-pdf-process): New option.
3036 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
3038 (org-agenda-get-timestamps): Honor
3039 `org-agenda-skip-additional-timestamps-same-entry'.
3041 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
3042 (org-clock-goto): Find recent task only if
3043 `org-clock-goto-may-find-recent-task' allows it.
3045 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
3046 drawers, and drawers that are missing the :END: line.
3048 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
3050 * org-clock.el (org-clock-goto): Go to recently clocked task if no
3053 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
3055 * org.el (org-update-parent-todo-statistics): Check for
3056 STATISTICS_FROM property.
3058 * org-list.el (org-update-checkbox-count): Check for
3059 STATISTICS_FROM property.
3061 * org.el (org-tab-first-hook)
3062 (org-tab-after-check-for-table-hook)
3063 (org-tab-after-check-for-cycling-hook): New hooks.
3064 (org-cycle-internal-global, org-cycle-internal-local): New
3065 functions, split out from `org-cycle'.
3066 (org-cycle): Call the new hooks.
3068 2009-04-19 Carsten Dominik <carsten.dominik@gmail.com>
3070 * org-exp.el (org-export-preprocess-string): Reset the list of
3071 preferred targets for each run of the preprocessor.
3073 * org.el (org-refile-target-verify-function): Improve
3075 (org-get-refile-targets): Respect point being moved by the
3076 verification function.
3078 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
3080 (org-export-latex-keywords): Use new option.
3082 * org.el (org-rear-nonsticky-at): New defsubst.
3083 (org-activate-plain-links, org-activate-angle-links)
3084 (org-activate-footnote-links, org-activate-bracket-links)
3085 (org-activate-dates, org-activate-target-links)
3086 (org-activate-tags): Place the rear-nonsticky properties at the
3089 2009-04-18 Carsten Dominik <carsten.dominik@gmail.com>
3091 * org-protocol.el (server-edit): Declare `server-edit'.
3092 (org-protocol-unhex-string, org-protocol-unhex-compound): New
3094 (org-protocol-check-filename-for-protocol): Call `server-edit'.
3096 * org.el (org-default-properties): New default properteis for
3099 * org-exp.el (org-export-add-subtree-options): Add new properties
3102 * org-docbook.el (org-export-docbook-keywords-markup)
3103 (org-export-docbook-timestamp-markup): New options.
3104 (org-export-docbook-protect-tags): New function.
3106 2009-04-17 Carsten Dominik <carsten.dominik@gmail.com>
3108 * org-id.el (org-id-get-with-outline-path-completion): Turn off
3109 org-refile-target-verify-function for the duration of the command.
3111 * org.el (org-link-to-org-use-id): New possible value
3112 `create-if-interactive-and-no-custom-id'.
3113 (org-store-link): Use custom IDs.
3114 (org-link-search): Find custom ID properties from #link.
3115 (org-default-properties): Add CUSTOM_ID for property completion.
3116 (org-refile-target-verify-function): New option.
3117 (org-goto): Turn off org-refile-target-verify-function
3118 for the duration of the command.
3120 2009-04-16 Carsten Dominik <carsten.dominik@gmail.com>
3122 * org-html.el (org-export-as-html): Use custom IDs in the toc.
3124 * org-exp.el (org-export-preferred-target-alist): New variable.
3125 (org-export-define-heading-targets): Find the new CUSTOM_ID
3127 (org-export-target-internal-links): Target the custom ids when
3130 * org-latex.el (org-export-latex-preprocess): Better regexp for
3131 matching latex macros with arguments.
3133 2009-04-15 Carsten Dominik <carsten.dominik@gmail.com>
3135 * org-remember.el (org-remember-handler): Allow filing to non-org
3138 2009-04-15 Magnus Henoch <magnus.henoch@gmail.com>
3140 * org-feed.el (org-feed-alist): New keyword options.
3141 (org-feed-update): Use the new options.
3142 (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3143 (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3144 (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3147 * org-table.el (org-table-fix-formulas): Do not change references
3149 (org-table-get-remote-range): Convert standard coordinates to RC
3152 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3154 2009-04-14 Carsten Dominik <carsten.dominik@gmail.com>
3156 * org-compat.el (org-sha1-string): Function removed.
3158 * org.el (org-refile-allow-creating-parent-nodes): New option.
3159 (org-refile-get-location): New argument NEW-NODES.
3160 (org-refile): Call `org-refile-get-location' with the new
3162 (org-refile-get-location): Arrange for adding a new child.
3163 (org-refile-new-child): New function.
3165 * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3166 an additional span element.
3168 * org-clock.el: Fix a number of docstrings.
3169 (org-clock-find-position): New argument
3170 FIND-UNCLOSED to make the function find an unclosed clock in the
3172 (org-clock-in): Call `org-clock-find-position' with the new
3173 argument if we might be resuming a clock.
3175 2009-04-13 Carsten Dominik <carsten.dominik@gmail.com>
3177 * org-latex.el (org-export-latex-display-custom-times): New variable.
3178 (org-export-latex-timestamp-markup): New option.
3179 (org-export-latex-set-initial-vars): Remember the local value of
3180 `org-display-custom-times'.
3181 (org-export-latex-content): Process time stamps.
3182 (org-export-latex-time-stamps): New function.
3184 * org-macs.el (org-maybe-intangible): Add intangible property
3185 again to invisible text.
3187 2009-04-12 Carsten Dominik <carsten.dominik@gmail.com>
3189 * org-exp.el (org-default-export-plist): Handle undefined
3192 2009-04-11 Carsten Dominik <carsten.dominik@gmail.com>
3194 * org.el (org-sort-entries-or-items): Match TODO keywrds
3195 case-sensitively, when sorting.
3196 (org-priority): Do not match TODO keywords with wrong case.
3198 2009-04-09 Carsten Dominik <carsten.dominik@gmail.com>
3200 * org-feed.el (org-feed-update): Bind the variable
3203 * org-html.el (org-export-as-html): Start paragraphs after literal
3206 * org-docbook.el (org-export-as-docbook): Start paragraphs after
3209 2009-04-08 Carsten Dominik <carsten.dominik@gmail.com>
3211 * org.el (org-todo): Honor the NOBLOCKING property.
3213 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3214 NOBLOCKING property.
3216 * org.el (org-scan-tags): Fix bug in tag scanner
3218 2009-04-07 Carsten Dominik <carsten.dominik@gmail.com>
3220 * org.el (org-modules): Mark obsolete packages.
3222 * org-html.el: New file, split out from org-exp.el.
3224 * org-icalendar.el: New file, split out from org-exp.el.
3226 * org-xoxo.el: New file, split out from org-exp.el.
3228 * org-ascii.el: New file, split out from org-exp.el.
3230 2009-04-06 Carsten Dominik <carsten.dominik@gmail.com>
3232 * org-compat.el (org-find-library-name): New function.
3234 * org.el (org-pre-cycle-hook): New hook.
3235 (org-cycle): Call the new hook in appropriate places.
3236 (org-reload): Only reload files that have been loaded before.
3238 2009-04-05 Carsten Dominik <carsten.dominik@gmail.com>
3240 * org.el (org-set-font-lock-defaults): Enforxe space or line end
3242 (org-todo): When changing TODO state, do matching
3244 (org-map-continue-from): New variable.
3245 (org-scan-tags): Respect values in `org-map-continue-from'.
3246 (org-reload): Make XEmacs compatible.
3248 2009-04-04 Carsten Dominik <carsten.dominik@gmail.com>
3250 * org-protocol.el (org-protocol-flatten-greedy): New function.
3251 (org-protocol-flatten): New function.
3253 * org.el (org-open-link-from-string): Pass reference buffer to
3254 `org-open-at-point'.
3255 (org-open-at-point): New optional argument `reference-buffer'.
3257 2009-04-03 Carsten Dominik <carsten.dominik@gmail.com>
3259 * org.el (org-scan-tags): Make tag scan find headline in first
3261 (org-get-refile-targets): Add the naked file name.
3262 (org-refile): Store as top-level entry when only file name was
3265 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3267 * org.el (org-block-todo-from-children-or-siblings-or-parent):
3268 Renamed from org-block-todo-from-children-or-siblings, and
3269 enhanced to look for the parent's status as well.
3271 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3272 (org-agenda-get-progress): Add first notes line to log entry if so
3275 2009-04-02 Carsten Dominik <carsten.dominik@gmail.com>
3277 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3278 (org-agenda-cleanup-fancy-diary): Call the new hook.
3280 * org-remember.el (org-remember-apply-template): Take the default
3281 for the annotation from the :annotation property.
3283 * org-mac-message.el (org-mac-message-get-link): Remove the
3285 (org-mac-message-get-link): Return the result.
3287 2009-04-01 Carsten Dominik <carsten.dominik@gmail.com>
3289 * org.el (org-refile-get-location): Add file name only if not
3290 already included in outline path.
3292 * org-faces.el (org-n-level-faces): Fix customization type from
3295 * org-exp.el (org-export-headline-levels): Fix customization type
3296 from number to integer.
3298 * org-agenda.el (org-agenda-confirm-kill)
3299 (org-agenda-custom-commands-local-options)
3300 (org-timeline-show-empty-dates, org-agenda-ndays)
3301 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3302 customization type from number to integer.
3304 2009-03-31 Carsten Dominik <carsten.dominik@gmail.com>
3306 * org-protocol.el: Declare some functions.
3308 * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3309 postion before inserting modified headline.
3311 * org-agenda.el (org-agenda-compare-effort): Honor
3312 `org-sort-agenda-noeffort-is-high'.
3313 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3314 (org-agenda-compare-effort): Implement the "?" operator for
3315 finding entries without effort setting.
3317 * org.el (org-extract-attributes-from-string): New function.
3319 * org-exp.el (org-export-splice-attributes): New function.
3321 2009-03-30 Carsten Dominik <carsten.dominik@gmail.com>
3323 * org-mouse.el: XEmacs compatibility fixes
3325 * org-docbook.el (org-export-as-docbook): Process footnotes like
3328 * org.el (org-modules): Add org-inlinetasks.el
3329 (org-cycle): Implement limiting level on cycling.
3330 (org-move-subtree-down): Fix bug with swapping subtrees at end of
3333 * org-inlinetask.el: New file.
3335 * org.el (org-emphasis-regexp-components): Allow braces in
3336 emphasis pre and post match.
3338 * org-footnote.el (org-footnote-normalize): When only dorting, do
3339 not insert inline notes at the end.
3341 * org-docbook.el (org-id-find-id-file): Add function declaration.
3343 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3345 * org-docbook.el: New file.
3347 2009-03-28 Carsten Dominik <carsten.dominik@gmail.com>
3349 * org.el (org-reftex-citation): New command.
3351 2009-03-27 Carsten Dominik <carsten.dominik@gmail.com>
3353 * org-agenda.el (org-agenda-cmp-user-defined): New option.
3354 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3356 (org-entries-lessp): Apply the new sorting option.
3358 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3359 blocker code, when an older sibling has children.
3361 * org-mac-message.el (org-mac-message-get-link): Improve getting
3362 links from multiple selected messages.
3364 2009-03-26 Carsten Dominik <carsten.dominik@gmail.com>
3366 * org-remember.el (org-remember-finalize): Do not set buffer file
3368 (org-remember-handler): Mark buffer as unmodified.
3369 (org-remember-handler): Delete backup file and show message about
3370 remaining backup files.
3371 (org-remember-auto-remove-backup-files): New option.
3373 * org.el (org-store-link): Use buffer name as link description in
3375 (org-ido-switchb): Fix argument bug for completion.
3377 * org-remember.el (org-remember-apply-template): Set local
3378 variable `auto-save-visited-file-name' instead of global one.
3380 2009-03-25 Carsten Dominik <carsten.dominik@gmail.com>
3382 * org-feed.el: Re-write.
3384 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3385 (org-agenda-get-todos): Mark file tags as inherited.
3386 (org-agenda-list): Always search diary lines for a time.
3388 2009-03-24 Carsten Dominik <carsten.dominik@gmail.com>
3390 * org-feed.el (org-feed-assume-stable): New option.
3391 (org-feed-before-adding-hook): New hook.
3393 * org-exp.el (org-export-as-html): Close local lists depending on
3394 indentation, also when starting a table.
3396 * org-remember.el (org-remember-backup-directory)
3397 (org-remember-backup-name): New internal variable.
3399 2009-03-23 Carsten Dominik <carsten.dominik@gmail.com>
3401 * org-clock.el (org-clock-out-if-current): Make buffer detection
3402 work in indirect buffers as well.
3404 * org.el (org-emphasis-regexp-components): Add the exxclamation
3405 mark to the post-emphasis characters.
3407 2009-03-22 Carsten Dominik <carsten.dominik@gmail.com>
3409 * org.el (org-read-date-minibiffer-septup-hook): New hook.
3410 (org-read-date): Run the new hook.
3412 * org-mac-message.el (org-mac-flagged-mail): New group.
3413 (org-mac-mail-account): New variable.
3414 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3417 * org-remember.el (org-remember-backup-directory): New variable.
3418 (org-remember-apply-template): Write file to backup directory.
3420 2009-03-21 Carsten Dominik <carsten.dominik@gmail.com>
3422 * org-mouse.el (org-mouse-todo-menu): New function.
3423 (org-mouse-todo-keywords): Function removed.
3424 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3426 * org-table.el (org-table-beginning-of-field)
3427 (org-table-end-of-field): New commands
3428 (org-table-previous-field, org-table-beginning-of-field): Better
3430 (orgtbl-setup): Include `M-a' and `M-e'.
3432 * org.el (org-backward-sentence, org-forward-sentence): New
3435 * org-colview.el (org-colview-initial-truncate-line-value): New
3437 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3438 (org-columns): Remember the value of `truncate-lines'.
3440 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3442 (org-columns-remove-overlays): Restore the value of
3444 (org-columns): Remember the value of `truncate-lines'.
3446 * org.el (org-columns-skip-arrchived-trees): New option.
3448 * org-agenda.el (org-agenda-export-html-style): Define color for
3449 org-agenda-done face.
3450 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3451 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3453 * org.el (org-scan-tags): Use the new face.
3455 * org-faces.el (org-agenda-done): New face.
3457 * org.el (org-scan-tags): Test the value org
3458 `org-tags-match-list-sublevels'.
3459 (org-tags-match-list-sublevels): New allowed value: indented.
3461 * org-export-latex.el (org-export-latex-make-header): Apply macros
3464 * org-exp.el (org-export-apply-macros-in-string): New function.
3466 * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3467 with the definition of a checked box.
3469 * org-clock.el (org-clock-find-position): Fix drawer indentations.
3471 * org-export-latex.el (org-export-latex-low-levels): More options
3472 for how to process lower levels in LaTeX.
3473 (org-export-latex-subcontent): Better treatment for lists as a
3474 means of publishing lower levels.
3476 2009-03-20 Carsten Dominik <carsten.dominik@gmail.com>
3478 * org.el (org-set-font-lock-defaults): Use new checkbox face.
3480 * org-faces.el (org-checkbox): New face.
3482 * org-exp.el (org-export-html-preprocess): Only create LaTeX
3483 fragement images if there is an export file.
3485 2009-03-19 Carsten Dominik <carsten.dominik@gmail.com>
3487 * org-agenda.el (org-stuck-projects): Document that the subtree of
3488 projects that are not stuck will now be searched for stuck
3490 (org-agenda-skip-entry-when-regexp-matches)
3491 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3492 (org-agenda-list-stuck-projects): Use
3493 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3495 * org-export-latex.el (org-export-latex-preprocess): Improve
3498 * org-exp.el (org-export-as-html): Implement centering as a div
3499 rather than a paragraph. Do a better job with line-end in verse
3502 2009-03-17 Carsten Dominik <carsten.dominik@gmail.com>
3504 * org.el (org-open-at-point): Fix tags searches by mouse click.
3506 2009-03-16 Carsten Dominik <carsten.dominik@gmail.com>
3508 * org-export-latex.el (org-export-latex-preprocess): Implement the
3511 * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3512 from `org-export-mark-blockquote-and-verse'.
3513 (org-export-as-html): Implement the centering markup.
3515 * org-export-latex.el (org-export-latex-tables): Fix vertical
3518 2009-03-15 Carsten Dominik <carsten.dominik@gmail.com>
3520 * org.el (org-read-date-history): New variable.
3521 (org-read-date): Use new history variable.
3522 (org-toggle-heading): Fix bug when used before first headline.
3523 (org-store-log-note): Remove drawer if empty while note is
3525 (org-remove-empty-drawer-at): New function.
3526 (org-check-after-date): New command.
3527 (org-sparse-tree): New sparse tree command "a".
3529 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3531 2009-03-14 Bastien Guerry <bzg@altern.org>
3533 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3534 column and a space, not only a column.
3536 2009-03-14 Carsten Dominik <carsten.dominik@gmail.com>
3538 * org-export-latex.el (org-export-latex-emphasis-alist): Better
3539 defaults for verbose emphasis.
3540 (org-export-latex-emph-format): New function.
3541 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3543 * org-agenda.el (org-agenda-menu): Add new commands to menu.
3544 (org-agenda-do-date-later, org-agenda-do-date-earlier)
3545 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3546 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3549 * org.el (org-timestamp-change): Move end-time along with start
3552 2009-03-12 Carsten Dominik <carsten.dominik@gmail.com>
3554 * org-exp.el (org-export-target-internal-links)
3555 (org-export-as-html): Protect links specified as #name.
3557 2009-03-11 Carsten Dominik <carsten.dominik@gmail.com>
3559 * org.el (org-clone-subtree-with-time-shift): New command.
3561 * org-export-latex.el (org-export-latex-special-chars)
3562 (org-export-latex-treat-sub-super-char): Fix subscript export.
3564 * org-exp.el (org-create-multibrace-regexp): Do not add
3565 backslashes to the class.
3567 2009-03-10 Carsten Dominik <carsten.dominik@gmail.com>
3569 * org-colview.el (org-columns-map): Better functions for moving up
3570 and down a row, even if `truncate-line' is nil.
3572 * org.el (org-insert-todo-heading): Make sure the keyword is
3573 inserted at the correct position.
3575 * org-publish.el (org-publish-project-alist)
3576 (org-publish-projects, org-publish-org-index): Change default anme
3577 for the index of file names to "sitemap.org".
3579 * org-export-latex.el (org-export-latex-tables): Use
3580 `org-split-string', for Emacs 21 compatibility.
3582 2009-03-09 Carsten Dominik <carsten.dominik@gmail.com>
3584 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3586 2009-03-08 Carsten Dominik <carsten.dominik@gmail.com>
3588 * org-exp.el (org-export-page-description)
3589 (org-export-page-keywords): New variables.
3590 (org-export-plist-vars): Add entries for :keywords and
3592 (org-infile-export-plist): Parse for new keywords.
3593 (org-get-current-options): Add new keywords
3594 (org-export-as-html): Publish description and keywords.
3596 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3598 (org-agenda-add-entry-text): Honor
3599 `org-agenda-add-entry-text-descriptive-links'.
3601 * org-export-latex.el (org-export-latex-preprocess): Make all
3602 external preprocess functions use a PARAMETER arg.
3604 * org-exp.el (org-export-preprocess-string)
3605 (org-export-select-backend-specific-text)
3606 (org-export-format-source-code-or-example)
3607 (org-format-org-table-html): Support docbook export.
3608 (org-export-preprocess-string): Make all external preprocess
3609 functions use a PARAMETER arg.
3611 2009-03-07 Carsten Dominik <carsten.dominik@gmail.com>
3613 * org-exp.el (org-export-html-style-include-scripts): New option.
3614 (org-export-plist-vars): Add new option
3615 `org-export-html-style-include-scripts'.
3616 (org-export-as-html): Honor new option
3617 `org-export-html-style-include-scripts'.
3618 (org-export-html-scripts, org-export-html-style-default): Fix
3619 xml issues with the Safari browser.
3621 2009-03-06 Carsten Dominik <carsten.dominik@gmail.com>
3623 * org-publish.el (org-publish-attachment): Only copy file when the
3626 2009-03-05 Carsten Dominik <carsten.dominik@gmail.com>
3628 * org-clock.el (org-clocktable-steps): Use inactive time stamps
3629 for clocktable steps.
3631 * org.el (org-additional-option-like-keywords): Add two more
3634 2009-03-04 Carsten Dominik <carsten.dominik@gmail.com>
3636 * org-exp.el (org-export-format-source-code-or-example): Mark
3637 temporary buffer unmodified, so that it will be killed even if
3638 mode like message mode has decided to assign a file name.
3640 * org.el (org-scan-tags): Improve tag inheritance.
3641 (org-scan-tags, org-make-tags-matcher): Make tag comparison
3643 (org-scan-tags): Use the internal tags list instead of creating it
3645 (org-trust-scanner-tags, org-scanner-tags): New variables.
3646 (org-scan-tags): Set `org-scanner-tags'.
3647 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3648 (org-map-entries): Document the possible speedup using scanner
3651 2009-03-03 Carsten Dominik <carsten.dominik@gmail.com>
3653 * org.el (org-add-planning-info): Fix bug with looking for keyword
3656 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3657 option for tags filter preset.
3658 (org-prepare-agenda): Store filter preset as a property on the
3660 (org-finalize-agenda): Call the filter, if there is a preset.
3661 (org-agenda-filter-by-tag): Filter again after clearing the
3662 filter, when there still is a preset.
3663 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3664 Include the preset filter.
3665 (org-agenda-redo): Apply the filter again, also the preset filter.
3667 * org-exp.el (org-export-as-html): Use IDs in the correct way.
3669 * org.el (org-uuidgen-p): New funtion.
3671 * org-agenda.el (org-agenda-fontify-priorities): New default value
3673 (org-agenda-fontify-priorities): Renamed from
3674 org-fontify-priorities.
3676 * org.el (org-set-font-lock-defaults): Call
3677 `org-font-lock-add-priority-faces'.
3678 (org-font-lock-add-priority-faces): New function.
3680 * org-faces.el: (org-set-tag-faces): New option.
3681 (org-priority-faces): New variable.
3683 * org-exp.el (org-export-as-html): Add a "content" div around the
3684 entire content of the body tag.
3685 (org-export-html-get-bibliography): New function.
3686 (org-export-html-validation-link): New variable.
3687 (org-export-as-html): Add validation link to exported page.
3689 * org.el (org-match-sparse-tree): Renamed from
3690 `org-tags-sparse-tree'.
3691 (org-tags-sparse-tree): New alias.
3693 2009-03-02 Carsten Dominik <carsten.dominik@gmail.com>
3695 * org.el (org-get-valid-level): Catch the case where the level
3698 * org-clock.el (org-clock-find-position): Better indentation of
3701 2009-03-01 Carsten Dominik <carsten.dominik@gmail.com>
3703 * org-agenda.el (org-agenda-quit): Delete window only when the
3704 frame-setup was not `current-window'.
3706 * org.el (org-tag-persistent-alist): New option.
3707 (org-startup-options): Add keyword `noptag'.
3708 (org-fast-todo-selection): Handle :newline correctly.
3709 (org-set-tags): Handle :newline correctly.
3710 (org-fast-tag-selection): Handle :newline correctly.
3712 2009-02-28 Carsten Dominik <carsten.dominik@gmail.com>
3714 * org-exp.el (org-export-as-ascii): Reverse link buffer before
3716 (org-export-ascii-push-links): Fix bug with pussing links into the
3719 2009-02-27 Carsten Dominik <carsten.dominik@gmail.com>
3721 * org-archive.el (org-archive-subtree): Do not add 1 to level if
3722 pasting at top level.
3724 * org-bbdb.el: Improve documentation.
3726 2009-02-26 Carsten Dominik <carsten.dominik@gmail.com>
3728 * org-list.el (org-insert-item): Only consider insert empty lines
3729 is `org-empty-line-terminates-plain-lists' is not nil.
3731 * org.el (org-blank-before-new-entry): Mention the dependence on
3732 `org-empty-line-terminates-plain-lists' in the docstring.
3734 * org-publish.el (org-publish-get-project-from-filename): New
3735 optional argument UP. Only find the top project if UP is set.
3736 (org-publish-current-project): Find the top encloding project.
3738 * org-agenda.el (org-agenda-before-write-hook)
3739 (org-agenda-add-entry-text-maxlines): New options.
3740 (org-write-agenda): Run the new hook in the temporary buffer.
3741 (org-agenda-add-entry-text): New function.
3742 (org-write-agenda): Implement PDF export, using ps2pdf.
3744 * org.el (org-global-properties-fixed, org-global-properties):
3745 Improve documentation string.
3747 * org-exp.el (org-export-ascii-links-to-notes): New option.
3748 (org-export-as-ascii): Handle links better.
3749 (org-export-ascii-wrap, org-export-ascii-push-links): New
3752 2009-02-25 Carsten Dominik <carsten.dominik@gmail.com>
3754 * org-agenda.el (org-agenda): Make prefix arg optional.
3755 (org-agenda-search-headline-for-time): New option.
3756 (org-format-agenda-item): Honor
3757 `org-agenda-search-headline-for-time'.
3759 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3762 * org.el (org-self-insert-cluster-for-undo): New option.
3763 (org-self-insert-command): Cluster undo for 20 characters.
3764 (org-self-insert-command-undo-counter): New variable.
3766 2009-02-24 Carsten Dominik <carsten.dominik@gmail.com>
3768 * org-exp.el (org-export-as-html): Fix problem with closing colone
3771 2009-02-22 Carsten Dominik <carsten.dominik@gmail.com>
3773 * org-export-latex.el (org-export-as-latex)
3774 (org-export-latex-first-lines): Avoid modification flag when
3775 adding or removing text properties.
3776 (org-export-latex-fontify): Catch error when org-emph-alist has
3777 entries that are not defined for LaTeX export.
3779 * org.el (orgstruct++-mode): New function.
3780 (turn-on-orgstruct++): Call `orgstruct++-mode'.
3781 (org-context-p): Allow detecting item context after the first line
3783 (orgstruct-make-binding): Detect if item-body context should be
3785 (orgstruct-is-++): New variable.
3786 (org-add-planning-info): Catch the case when there is no planning
3787 info yet and the call does not want to add anything, only maybe
3788 tries to remove something.
3789 (org-special-ctrl-a/e): All value to be a cons cell with separate
3790 settings for `C-a. and `C-e'.
3791 (org-beginning-of-line, org-end-of-line): Honor separate values
3792 for `C-a' and `C-e'.
3794 2009-02-21 Carsten Dominik <carsten.dominik@gmail.com>
3796 * org.el (org-reload): New command.
3798 2009-02-20 Carsten Dominik <carsten.dominik@gmail.com>
3800 * org-exp.el (org-export-htm-get-tag-class-name)
3801 (org-export-htm-get-todo-kwd-class-name): New functions.
3802 (org-export-html-tag-class-prefix)
3803 (org-export-html-todo-kwd-class-prefix): New options.
3804 (org-export-as-html): Call
3805 `org-export-html-get-todo-kwd-class-name'.
3806 (org-html-level-start): Wrap tags into classes.
3807 (org-export-html-get-tag-class-name)
3808 (org-export-html-get-todo-kwd-class-name): New functions.
3810 * org-export-latex.el (org-export-latex-collect-header-macros):
3811 Remove fields that are used anyway.
3812 (org-export-latex-make-header): Insert the options earlier.
3814 * org-agenda.el (org-agenda-get-progress): Fix bug with state
3817 * org-list.el (org-indent-item): Allow point to be at the end of
3820 * org.el (org-metaleft, org-metaright): Be more accurate about
3821 detecting a region where commands apply.
3823 * org-compat.el (org-cursor-to-region-beginning): New function.
3825 * org.el (org-priority): Also find invisible heading.
3827 * org-colview-xemacs.el (org-columns-edit-value): No special
3828 treatment for `org-todo' prefix.
3830 * org-colview.el (org-columns-edit-value): No special treatment
3831 for `org-todo' prefix.
3833 * org-remember.el (org-remember-apply-template): Use
3834 `org-completing-read-no-ido'.
3836 * org.el (org-completing-read-no-ido): New function.
3837 (org-make-tags-matcher, org-set-property): Use
3838 `org-completing-read-no-ido'.
3840 * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
3842 (org-export-as-latex): Import in-buffer settings as TeX macros.
3843 (org-export-latex-make-header): Additional parameter OPT-DEFS.
3844 (org-export-latex-collect-header-macros): New function.
3846 * org.el (org-refile-get-location): Turn off
3847 `partial-completion-mode'.
3849 2009-02-19 Carsten Dominik <carsten.dominik@gmail.com>
3851 * org.el (org-block-todo-from-checkboxes): Announce that
3852 checkboxes are the culprit.
3853 (org-block-todo-from-children-or-siblings): Call
3854 `org-up-heading-all instead' of `outline-up-heading'.
3856 * org-agenda.el (org-agenda-show-1): Renamed from
3858 (org-agenda-show): Re-install the old version for now.
3859 (org-agenda-dim-blocked-tasks): Update docstring. Scope a
3860 variable into the blokker hook, so that the checkbox checker can
3861 anounce that it caused the blocking.
3863 * org.el (org-track-ordered-property-with-tag): New option.
3864 (org-toggle-ordered-property): Honor
3865 `org-track-ordered-property-with-tag'.
3866 (org-tag-alist): Add newline options.
3867 (org-set-regexps-and-options): Separate option lines imply a
3869 (org-set-regexps-and-options, org-assign-fast-keys)
3870 (org-fast-todo-selection, org-fast-tag-selection): Handle newline
3872 (org-indent-line-function): Make sure this works even if there is
3873 not `org-drawer-regexp' defined. This can happen when
3874 orgstruct-mode is used in a non-org buffer.
3876 * org-list.el (org-checkbox-blocked-p): New function.
3877 (org-toggle-checkbox): Check for blocking.
3879 * org.el (org-modules): Add an entry for org-R.el.
3881 * org-agenda.el (org-agenda-todo-ignore-with-date)
3882 (org-agenda-todo-ignore-scheduled)
3883 (org-agenda-todo-ignore-deadlines): Mention the variable
3884 `org-agenda-tags-todo-honor-ignore-options' in the docstring.
3886 * org.el (org-get-wdays): Find the warning period also if it is in
3888 (org-ido-completing-read): Provide the correct arguments to
3889 ido-completing-read and bind `ido-enter-matching-directory' to
3892 2009-02-17 Carsten Dominik <carsten.dominik@gmail.com>
3894 * org.el (org-olpath-completing-read): Never use ido for this
3897 * org-exp.el (org-export-normalize-links): Use new macro.
3899 * org-macs.el (org-if-unprotected-at): New macro.
3901 * org-agenda.el (org-agenda-show): Allow numerical prefix
3902 arguments to specify how much context should be shown.
3903 (org-agenda-cycle-show): New command, could be bound to SPC in
3904 org-agenda-mode-map.
3906 * org-exp.el (org-html-level-start): Space after section number.
3908 2009-02-16 Carsten Dominik <carsten.dominik@gmail.com>
3910 * org-agenda.el (org-agenda-get-sexps): Add todo state as
3911 property, for sorting.
3912 (org-cmp-todo-state): Get the applicable TODO keywords directly
3914 (org-run-agenda-series, org-agenda-list, org-search-view)
3915 (org-todo-list, org-tags-view): Only fit agenda window when the
3916 whole series is done.
3918 * org.el (org-scan-tags): Add todo state as property, for sorting.
3920 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3921 `org-agenda-overriding-header' as an option.
3922 (org-agenda-list): Honor org-agenda-overriding-header'.
3924 2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
3926 * org-list.el (org-toggle-checkbox): Improve cursor positioning
3927 after removing a checkbox.
3929 * org.el (org-show-entry): Make this work correctly also if it is
3930 the last entry in the file.
3931 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
3932 falling back to normal, default command.
3933 (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
3934 item, call the checkbox toggler to get a box.
3936 * org-list.el (org-toggle-checkbox): Make double prefix set the
3938 (org-fix-bullet-type): Only replace bullet if it is changed.
3939 (org-renumber-ordered-list): Handle case when first item does not
3942 * org.el (org-add-log-setup): Fix positioning when
3943 `org-log-states-order-reversed' is nil.
3945 * org-clock.el (org-clock-in): Fix positioning when
3946 `org-log-states-order-reversed' is nil.
3947 (org-clock-find-position): Fix positioning when
3948 `org-log-states-order-reversed' is nil.
3950 2009-02-14 Carsten Dominik <carsten.dominik@gmail.com>
3952 * org-clock.el (org-clock-into-drawer): Take default from
3953 `org-log-into-drawer'.
3954 (org-clock-find-position): Look for the correct drawer.
3956 * org.el (org-log-into-drawer): Renamed from
3957 `org-log-state-notes-into-drawer'.
3958 (org-log-state-notes-into-drawer): New variable alias.
3959 (org-add-log-setup): Make drawer name default to LOGBOOK, not
3961 (org-insert-property-drawer): Also skip LOGBOOK drawers.
3963 2009-02-13 Carsten Dominik <carsten.dominik@gmail.com>
3965 * org-agenda.el (org-agenda): Fix docstring.
3967 * org.el ("org-plot"): Help loading org-plot.
3968 (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
3969 (org-metadown-hook, org-shiftmetaleft-hook)
3970 (org-shiftmetaright-hook, org-shiftmetaup-hook)
3971 (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
3972 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3973 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
3974 (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
3976 * org-publish.el (org-publish-get-base-files): Allow symbol `any'
3977 for selecting files with any (and even without) extension.
3979 * org.el (org-save-all-org-buffers): Also save id locations.
3980 (org-revert-all-org-buffers): Also load id locations.
3982 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
3983 * org.el (org-drawers): Add LOGBOOK to the default drawers.
3984 (org-log-state-notes-into-drawer): New option.
3985 (org-add-log-setup): Place the sate note marker into the drawer,
3986 create drawer when necessary.
3987 (org-refile-targets): Document special interpretation of LEVEL
3988 when odd-levels are used.
3990 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
3992 * org.el (org-store-log-note): Fix note indentation when adding
3993 notes to end of list.
3995 * org-exp.el (org-export-as-html): Add TODO keyword as extra
3996 class, so that each keyword can get special colors through CSS.
3998 * org-clock.el (org-clock-out): Add another nil for the previous
3999 state into the call to `org-add-log-setup'.
4001 * org.el (org-log-note-previous-state): New variable.
4002 (org-log-note-headings): New %S escape for old state.
4003 (org-todo): Call the note setup with the old state as an
4005 (org-add-note): Add another nil for the previous state into the
4006 call to `org-add-log-setup'.
4007 (org-add-log-setup): New argument PREV-STATE.
4008 (org-add-log-note): Handle new %S escape.
4009 (org-store-log-note): Handle new %S escape.
4011 2009-02-11 Carsten Dominik <carsten.dominik@gmail.com>
4013 * org-clock.el (org-clock-find-position): Do not swallow an item
4014 less indented than the CLOCK line itself.
4015 (org-clock-in): Push markers to lin after the clock line.
4016 (org-clock-find-position): Handle values of
4017 `org-clock-into-drawer' smaller than 2.
4019 * org-exp.el (org-html-level-start): Add a CSS class to section
4021 (org-export-html-toplevel-hlevel): Better documentation of the
4022 influence of this variables on H levels and css classes in
4025 2009-02-10 Carsten Dominik <carsten.dominik@gmail.com>
4027 * org-agenda.el (org-agenda-custom-commands-local-options): Add
4028 timestamp and nottimestamp to the chooe menu.
4030 * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
4031 (org-revert-all-org-buffers): New command.
4033 2009-02-09 Carsten Dominik <carsten.dominik@gmail.com>
4035 * org.el (org-return): Implement `org-return-follows-link' in the
4036 function org-return. This is more robust than using the mouse
4038 (org-set-regexps-and-options): Match more general #+TODO lines.
4039 (org-make-options-regexp): New optional argument EXTRA, for an
4041 (org-tab-follows-link): Mark as deprecated.
4043 2009-02-07 Carsten Dominik <carsten.dominik@gmail.com>
4045 * org-exp.el (org-export-preprocess-string): Remove clock lines
4046 earlier, so that they cannot cotribute to verbatim snippets.
4048 2009-02-06 Carsten Dominik <carsten.dominik@gmail.com>
4050 * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
4051 for finding drawers.
4052 (org-export-as-ascii, org-export-as-html): Count levels relative
4053 to the subtree header.
4054 (org-get-min-level): New optional argument OFFSET.
4055 (org-export): Make sure point is restored after popping up that
4058 * org.el (org-do-sort): Also take an inactive timestamp if no
4059 active one is found.
4061 * org-colview-xemacs.el (org-columns-capture-view): Copy before
4062 deleting duplicates.
4064 * org-colview.el (org-columns-capture-view): Copy before
4065 deleting duplicates.
4067 * org-exp.el (org-export-preprocess-string): Fix bug when skipping
4068 text before first headline.
4070 * org.el (org-format-latex): Do not convert LaTeX fragments in
4073 2009-02-04 Carsten Dominik <carsten.dominik@gmail.com>
4075 * org-exp.el (org-export-html-style-default): Use color values
4076 instead of names for XHTML validation.
4078 * org.el (org-get-scheduled-time, org-get-deadline-time): New
4080 (org-return-follows-link): Revert making this the default untile
4081 issues are resolved.
4083 * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
4086 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
4088 * org.el (org-mode): Make dependence stuff work more reliably.
4089 (org-update-parent-todo-statistics): Fix bug with updating
4092 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
4093 ~ as verbatim delimiters.
4095 * org-exp.el (org-export-html-format-image): New argument
4097 (org-export-as-html): Pass par-open to
4098 `org-export-html-format-image'.
4100 2009-02-01 Carsten Dominik <carsten.dominik@gmail.com>
4102 * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
4103 (org-use-fast-todo-selection, org-tags-column): New default
4104 setting for variables, based on a poll what typical uses use.
4106 * org-agenda.el (org-agenda-sorting-strategy)
4107 (org-agenda-tags-column): New default setting for variables, based
4108 on a poll what typical uses use.
4110 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
4112 * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
4113 blocked entries from setting the blocked tag.
4115 * org-exp.el (org-export-html-footnotes-section): Use a more
4116 consistent id for footnotes.
4118 * org-export-latex.el (org-export-latex-classes): Remove the
4119 a4paper option from the default styles.
4121 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
4123 * org.el (org-enforce-todo-checkbox-dependencies): New option.
4124 (org-block-todo-from-checkboxes): New function.
4125 (org-todo): Make tripple prefix arg circumvent blocking.
4127 * org-timer.el (org-timer): Provide the timer feature.
4129 * org.el (org-require-autoloaded-modules): Add a few more files to
4130 the list of autoloaded modules.
4132 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4134 2009-01-29 Carsten Dominik <carsten.dominik@gmail.com>
4136 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4137 drawers that are unprotected.
4138 (org-export-html-format-image): Make sure inlined LaTeX fragment
4139 images remain inlined.
4141 * org.el (org-toggle-ordered-property): New function.
4142 (org-mode-map): Add a key for `org-toggle-ordered-property'.
4143 (org-org-menu): Add menu entries for TODO dependencies.
4145 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
4147 * org.el (org-default-properties): Add ORDERED to the default
4148 properties, to get completion support for it.
4150 * org-list.el (org-update-checkbox-count): Update more than one cookie.
4152 * org.el (org-update-parent-todo-statistics): Update more than one
4155 * org-agenda.el (org-agenda-get-todos): Start search from correct
4158 * org.el (org-fast-todo-selection): Make sure TODO selection does
4159 not change buffer position.
4161 * org-list.el (org-toggle-checkbox): Implement adding or removing
4162 checkboxes from line or region when called with a prefix
4165 * org-rmail.el (org-rmail-store-link): Protect the call to
4166 `rmail-narrow-to-non-pruned-header'.
4168 * org-clock.el (org-clock-special-range): Fix week display in
4171 * org-exp.el (org-get-current-options): Fix bug when in indirect
4174 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
4176 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4177 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4178 (org-agenda-dim-blocked-tasks): New function.
4180 * org.el (org-enforce-todo-dependencies): New option.
4181 (org-block-todo-from-children-or-siblings): New function.
4183 * org-faces.el (org-agenda-dimmed-todo-face): New face.
4185 * org.el (org-todo): Return correct state type even if the blocker
4187 (org-modifier-cursor-error): Renamed from
4188 `org-shiftcursor-error'.
4189 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4190 (org-shiftmetadown): Call `org-modifier-cursor-error'.
4192 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4193 to get real errors from the blocker hook.
4195 * org.el (org-shiftselect-error, org-call-for-shift-select): New
4197 (org-set-visibility-according-to-property): Turn off the setting
4198 of `org-show-entry-below', to avoid overruling a FOLDED visibility
4201 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
4203 * org.el (org-support-shift-select): New option.
4204 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4205 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4206 selection outside contexts.
4208 * org-list.el (org-at-item-bullet-p): New function.
4210 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4213 * org-footnote.el (org-footnote-normalize): Remove unnecessary
4215 (org-insert-footnote-reference-near-definition): Remove
4216 unnecessary let form.
4218 * org-export-latex.el (org-export-latex-first-lines): Add
4219 OPT-PLIST parameter.
4220 (org-export-as-latex): Call `org-export-latex-first-lines' with
4221 opt-plits parameter.
4222 (org-export-latex-preprocess): Remove unnecessary variables.
4224 * org-exp.el (org-infile-export-plist)
4225 (org-export-add-options-to-plist, org-export-kill-licensed-text)
4226 (org-export-remove-headline-metadata)
4227 (org-export-get-title-from-subtree, org-get-min-level)
4228 (org-html-do-expand): Remove innecessary let form.
4230 * org-colview-xemacs.el (org-columns-display-here): Remove
4231 unnecessary variables.
4233 * org-colview.el (org-columns-display-here): Remove unnecessary
4236 * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4239 * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4240 unnecessary variables.
4242 * org-agenda.el (org-search-view, org-agenda-get-blocks)
4243 (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4246 * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4247 (org-compact-display-after-subtree-move): Remove unnecessary
4249 (org-edit-fixed-width-region): Remove unnecessary variables.
4250 (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4251 (org-olpath-completing-read): Remove unnecessary variable.
4252 (org-auto-repeat-maybe): Remove unnecessary variable.
4253 (org-map-entries): Remove unnecessary variable.
4254 (org-buffer-property-keys, org-imenu-get-tree)
4255 (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4257 -----------------------------------------------------------------
4259 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
4260 * org-exp.el (org-export-remove-timestamps): Never remove
4261 timestamps from tables.
4263 * org-export-latex.el (org-export-latex-first-lines): Add more
4264 options to the preprocessing of the text before the first
4267 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4269 * org-faces.el (org-clock-overlay): Make face compatible with
4272 * org.el (org-yank): Add property for delete-selection mode.
4274 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4276 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4279 * org-table.el (org-table-insert-hline): Fix typo in fuction call
4282 * org-exp.el (org-export-as-html): Remove the initial space from
4285 * org.el (org-scan-tags): Call
4286 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4288 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4289 customization groups.
4290 (org-agenda-tags-todo-honor-ignore-options): New option.
4291 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4293 (org-agenda-get-todos): Use
4294 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4296 2009-01-24 Carsten Dominik <carsten.dominik@gmail.com>
4298 * org-exp.el (org-export-format-source-code-or-example): Escape
4299 HTML characters also in examples that anre not treated with
4300 htmlize. Also, just switch to EXAMPLE processing if we do not
4301 have a good version of htmlize.
4303 * org-rmail.el: Fix copyright notice.
4305 * org.el (org-activate-footnote-links): Improve footnote link
4308 * org-footnote.el (org-footnote-normalize): Fix finding the end of
4309 a footnote definition at the end of the file.
4311 * org-table.el (org-table-get-specials): Add an imagined hline at
4312 the end of the table. This can be useful for references that want
4313 to go to the end of the table. Also fix bug when computing last
4314 row constants, in tables that do not start right at the right
4316 (org-table-eval-formula): Match and replace remove references.
4317 (org-table-formula-substitute-names): Make sure that names inside
4318 a "remote" call are left alone, the will be replaced later when
4319 the remote call is handled.
4320 (org-table-convert-refs-to-rc): Do not convert things that might
4321 look like a reference, but are really part of an ID or namei n a
4323 (org-table-get-remote-range): New function.
4325 2009-01-22 Carsten Dominik <carsten.dominik@gmail.com>
4327 * org-faces.el (org-clock-overlay): Fix bug in face definition.
4329 * org-clock.el (org-clock-put-overlay): Use new face instead of
4330 `secondary-selection'.
4332 * org-faces.el (org-clock-overlay): New face.
4334 2009-01-21 Carsten Dominik <carsten.dominik@gmail.com>
4336 * org-exp.el (org-get-current-options): Include the option for
4337 publishing time stamps.
4339 * org.el (org-toggle-heading): Renamed from
4340 `org-toggel-region-headings'.
4341 No longer needs a region defined, but will use it if there is one.
4342 (org-ctrl-c-star): Simplified, relying more on the internal
4343 workings of `org-toggle-heading'.
4344 (org-toggle-item): Renamed from `org-toggle-region-items'.
4345 No longer needs a region defined, but will use it if there is one.
4346 (org-ctrl-c-minus): Simplified, relying more on the inernal
4347 workings of `org-toggle-item'.
4349 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4350 environment detection. Also, do real changes only in unprotected
4353 2009-01-20 Carsten Dominik <carsten.dominik@gmail.com>
4355 * org-export-latex.el (org-export-latex-quotation-marks): Use
4356 `org-if-unprotected-1'.
4357 (org-export-latex-set-initial-vars): Check for class definition in
4360 * org-macs.el (org-if-unprotected-1): New macro.
4362 2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
4364 * org-compat.el (org-count-lines): New function.
4366 * org-exp.el (org-export-format-source-code-or-example): Handle
4367 switches related to text areas.
4369 * org.el (org-activate-footnote-links): Don't allow match inside a
4372 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4374 * org-export-latex.el (org-export-latex-links): Keep a relative
4375 path relative also after export.
4377 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4379 * org.el (org-make-tags-matcher): Never use IDO for completing the
4380 tags matcher match string.
4381 (org-completing-read): Also remove the special biding for "?".
4383 * org-attach.el (org-attach-allow-inheritance): New option.
4384 (org-attach-inherited): New variable.
4385 (org-attach-dir): Handle properties related to the attachment
4387 (org-attach-check-absolute-path): New function.
4388 (org-attach-set-directory, org-attach-set-inherit): New commands.
4389 (org-attach): Accommodate the new commands in the dispatcher.
4391 2009-01-18 Carsten Dominik <carsten.dominik@gmail.com>
4393 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4394 `window-full-width-p'.
4396 * org-exp.el (org-export-as-html): Only check for images files
4397 that really can be inlined
4399 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4400 list of extensions to be a parameter.
4402 * org-exp.el (org-export-html-inline-image-extensions): New
4405 * org-agenda.el (org-prepare-agenda): Use
4406 `org-agenda-block-separator'.
4407 (org-agenda-block-separator): New option.
4409 2009-01-17 Carsten Dominik <carsten.dominik@gmail.com>
4411 * org-export-latex.el (org-export-latex-tables): Call
4412 `org-table-clean-before-export' with the new optional argument.
4414 * org-exp.el (org-table-clean-before-export): New optional
4415 parameter MAYBE-QUOTED, allows for quoted characters like \# in
4418 2009-01-16 Carsten Dominik <carsten.dominik@gmail.com>
4420 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4423 * org-colview.el (org-colview-construct-allowed-dates): Better
4424 error catching when a date/time property does not have allowed
4427 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4428 Better error catching when a date/time property does not have
4429 allowed values defined.
4431 2009-01-14 Carsten Dominik <carsten.dominik@gmail.com>
4433 * org.el (org-map-entries): Restore point and restriction after
4436 2009-01-13 Carsten Dominik <carsten.dominik@gmail.com>
4438 * org.el (org-time=, org-time<, org-time<=, org-time>)
4439 (org-time>=, org-time<>): Make sure both values are dates.
4441 2009-01-11 Carsten Dominik <carsten.dominik@gmail.com>
4443 * org-archive.el (org-extract-archive-heading): Allow %s for file
4444 name also in achive location heading.
4446 2009-01-10 Carsten Dominik <carsten.dominik@gmail.com>
4448 * org-archive.el (org-add-archive-files): Uniquify the list before
4451 2009-01-09 Carsten Dominik <carsten.dominik@gmail.com>
4453 * org-compat.el (org-fit-window-to-buffer): Use
4454 `window-full-width-p'.
4456 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4457 space after the colon in short examples.
4459 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4460 enforce a space after the colon. However, we also allow lines
4461 that are *only* a colon.
4462 (org-export-as-html): Enforce the space after the colon in short
4464 (org-export-preprocess-string): Do the colon example protection
4466 (org-export-remove-timestamps): Do not check for protection at the
4469 2009-01-08 Carsten Dominik <carsten.dominik@gmail.com>
4471 * org.el (org-format-latex-options): Add new matcher for single
4472 letters between dollars.
4473 (org-get-header): Function removed.
4474 (org-heading-components): New function.
4476 * org-exp.el (org-export-define-heading-targets): Record ID's also
4477 as alternative targets.
4478 (org-export-as-html): Interpret "id:" links to other files by
4479 preserving the relative path.
4481 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4484 * org-exp.el (org-export-normalize-links): Protect the main link,
4485 to avoid special character processing.
4487 * org-export-latex.el (org-export-latex-special-keyword-regexp):
4489 (org-export-latex-special-string-regexps): Variable removed.
4490 (org-export-latex-keywords): Use the new regexp.
4492 * org-exp.el (org-export-handle-include-files): Fetch switches and
4493 put them into the BEGIN statement.
4495 * org-timer.el (org-timer-mode-line-string): New variable.
4497 * org-clock.el (org-clock-mode-line-map): Renamed from
4498 `org-clock-mode-map'.
4499 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4500 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4501 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4502 (org-clock-remove-overlays): Renamed from
4503 `org-remove-clock-overlays'.
4505 * org-timer.el (org-timer-pause-or-continue): Implement stopping
4506 and mode line display.
4507 (org-timer-stop): New command.
4508 (org-timer-seconds): Return correct time when timer is paused.
4509 (org-timer-mode-line-timer): New variable.
4510 (org-timer-set-mode-line, org-timer-update-mode-line): New
4513 * org.el (org-insert-heading): Handle new value `auto' for
4514 `org-blank-before-new-entry'.
4515 (org-org-menu): Add new items for timer functions.
4517 * org-list.el (org-insert-item): Handle new value `auto' for
4518 `org-blank-before-new-entry'.
4520 * org.el (org-blank-before-new-entry): New value `auto', made
4523 2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
4525 * org-exp.el (org-export-normalize-links): If the link is also
4526 used as the description, protect the description.
4528 2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
4530 * org.el (org-closest-date): Fix bug with yearly repeats, in
4531 combination with preference of the past as it is used for deadline
4532 and scheduling search.
4534 * org-exp.el (org-html-handle-time-stamps): No longer check for
4535 the `org-export-with-timestamps' option, because the preprocesser
4536 has taken care of this already.
4538 * org.el (org-entry-properties): Catch the case when this is
4539 called in a non-org-mode file.
4541 * org-export-latex.el (org-export-latex-remove-from-headlines):
4542 Variable made obsolete, also LaTeX export now uses the standard
4544 (org-export-as-latex): Add the timestamps parameter to the
4545 preprocessor parameter list.
4546 (org-export-latex-content): Export the remaining keywords without
4547 considering to remove them.
4548 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4549 Use bold font instead of tt font for the keywords.
4550 (org-export-latex-fontify-headline): Format headlines, assuming
4551 that all keywords still present should be published.
4552 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4553 publish what ever remains of the time stamps.
4554 (org-export-latex-list-parameters): New option.
4555 (org-export-latex-lists): Pass additional parameters to the list
4558 * org-exp.el (org-export-preprocess-string): Remove clock lines
4559 and timestamps already in the preprocesor.
4560 (org-export-remove-timestamps, org-export-remove-clock-lines): New
4562 (org-export-as-ascii, org-export-as-html): Add the timestamps
4563 parameter to the preprocessor parameter list.
4565 * org-list.el (org-list-parse-list): Parse for checkboxes.
4566 (org-list-to-generic): Introduce and handle new parameters :cbon
4568 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4569 optional parameter PARAMS.
4571 * org-export-latex.el (org-export-latex-special-chars): Fix
4572 problems with interpreting dollar signs.
4573 (org-inside-latex-math-p): New function.
4574 (org-export-latex-preprocess): Protect all the math fragments.
4576 * org.el (org-latex-regexps): Allow a dash after a dollar.
4578 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4581 * org-agenda.el (org-run-agenda-series): Have series options set
4582 when finalizing the agenda.
4584 * org-exp.el (org-export-format-source-code-or-example): Protect
4585 the converted examples.
4587 * org.el (org-set-regexps-and-options): Fix the regexp
4588 `org-complex-heading-regexp'.
4590 2009-01-05 Carsten Dominik <carsten.dominik@gmail.com>
4592 * org.el (org-edit-src-get-label-format): New function.
4593 (org-coderef-label-format): New option.
4594 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4595 a label format specification and make sure it is used in the edit
4597 (org-edit-src-get-label-format): New function.
4598 (org-store-link): Handle new coderef formats.
4599 (org-link-search): Handle new coderef formats.
4601 * org-footnote.el (org-footnote-create-definition)
4602 (org-footnote-goto-local-insertion-point): Make footnote insertion
4603 work correctly when the "Footnotes" headline is the last line in
4606 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4609 2009-01-04 Carsten Dominik <carsten.dominik@gmail.com>
4611 * org-w3m.el (org-w3m): New customization group.
4612 (org-w3m-deactivate-mark): New option.
4613 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4616 2009-01-02 Carsten Dominik <carsten.dominik@gmail.com>
4618 * org.el (org-set-font-lock-defaults): Trigger footnote
4620 (org-activate-footnote-links): New function.
4621 (org-activate-links): New entry `footnote'.
4623 * org-faces.el (org-footnote): New face.
4625 2009-01-01 Carsten Dominik <carsten.dominik@gmail.com>
4627 * org-macs.el (org-re): Handle the [:word:] class.
4629 * org-exp.el (org-export-preprocess-string): Call
4630 `org-export-protect-colon-examples'.
4631 (org-export-protect-colon-examples): Renamed from
4632 `org-export-protect-examples', and scope limited to lines starting
4635 2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
4637 * org-exp.el (org-export-preprocess-string): Move the preprocess
4638 hook to after turning on Org-mode.
4639 (org-export-preprocess-after-include-files-hook)
4640 (org-export-preprocess-after-tree-selection-hook)
4641 (org-export-preprocess-before-backend-specifics-hook)
4642 (org-export-preprocess-final-hook): New hooks.
4643 (org-export-preprocess-string): Run the new hooks.
4645 * org.el (org-ctrl-c-minus): Fix indentation for new items.
4647 * org-footnote.el: New file.
4649 * org.el (org-footnote): Require footnote code.
4650 (org-startup-options): Add new footnote options.
4651 (org-mode-map): New keybindig for footnotes.
4652 (org-ctrl-c-ctrl-c): Add function at footnotes.
4653 (org-org-menu): New menu entries for footnotes.
4655 * org-export-latex.el (org-export-as-latex): Pass footnote
4656 variable to preprocessor.
4657 (org-export-latex-preprocess): Treat multiple references to a
4660 * org-exp.el (org-export-preprocess-string): Call
4661 `org-footnote-normalize'.
4662 (org-export-as-ascii, org-export-as-html): Pass footnote variable
4664 (org-export-as-html): Treat multiple references to a footnote.
4666 2008-12-26 Carsten Dominik <carsten.dominik@gmail.com>
4668 * org-export-latex.el (org-export-latex-links): Handle coderef
4671 * org.el (org-bracket-link-analytic-regexp++): New variable.
4672 (org-make-link-regexps): Initialize
4673 `org-bracket-link-analytic-regexp++'.
4674 (org-store-link): Implement special case in edit-src buffer.
4675 (org-insert-link): No use of ide to insert stored links.
4676 (org-link-search): Implement special case for coderefs.
4678 * org-exp.el (org-export-html-scripts): New constant.
4679 (org-export-html-style-default): Add a new style for highlighted
4681 (org-export-code-refs): New variable.
4682 (org-export-preprocess-string): Initialize `org-export-code-refs'.
4683 Call `org-export-replace-src-segments-and-examples'
4684 No longer call `org-export-protect-examples'.
4685 (org-export-target-internal-links): Take care of coderef targets.
4686 (org-export-last-code-line-counter-value): New variable.
4687 (org-export-replace-src-segments-and-examples): Renamed from
4688 `org-export-replace-src-segments', and modified.
4689 (org-export-format-source-code-or-example): Renamed from
4690 `org-export-format-source-code'.
4691 (org-export-number-lines): New function.
4692 (org-export-as-ascii, org-export-as-html): Handle coderef links.
4694 --------------------------------------------------------------------------
4696 2008-12-23 Carsten Dominik <carsten.dominik@gmail.com>
4698 * org-remember.el (org-remember-handler): Safer way to get a new
4699 buffer accessing the target file.
4701 * org.el (org-refile-get-location): Handle case of current buffer
4702 not having a file associated with it.
4704 2008-12-22 Carsten Dominik <carsten.dominik@gmail.com>
4706 * org-table.el (org-table-get-formula): Only ask to overwrite
4707 field formula if there really is one.
4709 * org-id.el (org-id-find): Allow the ID to be a symbol or a
4710 number, by converting these to a string.
4712 * org-colview.el (org-dblock-write:columnview): Allow ID to be
4713 located in a different file.
4715 * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
4718 2008-12-21 Carsten Dominik <carsten.dominik@gmail.com>
4720 * org.el (org-completion-use-ido): Enhance docstring of
4721 `org-completion-use-ido'.
4723 * org-export-latex.el (org-export-latex-make-header): Double the %
4724 in the time stamp format.
4725 (org-export-latex-special-chars): Handle case where there is no
4728 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
4730 * org.el (org-get-refile-targets, org-refile-get-location): Use
4731 expanded file name to improve comparison.
4733 2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
4735 * org.el (org-scan-tags): Rescan for tags, to get the correct
4736 upcase/downcase stuff. This slows things down for now, but it
4738 (org-mode): Make sure the tag-faces regexp is initialized.
4740 * org-export-latex.el (org-export-latex-links): Fix bug with
4743 * org-table.el (org-table-get-specials): Set
4744 `org-table-current-last-data-line'.
4745 (org-table-current-last-data-line): New variable.
4746 (org-table-insert-column, org-table-delete-column)
4747 (org-table-move-column, org-table-fix-formulas): Call
4748 `org-table-fix-formulas' a second time to fix the $LR references.
4749 (org-table-get-specials): Add the $LR references to the tables.
4750 (org-table-get-formula): Do not offer last-row names as LHS of
4753 * org.el (org-store-link): Capture link description from
4754 `org-id-store-link'.
4756 * org-exp.el (org-export-html-format-image): Add the / to the end
4758 (org-export-format-source-code): Surround example by empty lines,
4759 to make sure it will not be inside a paragraph.
4761 * org.el (org-ido-switchb): New function.
4763 2008-12-18 Carsten Dominik <carsten.dominik@gmail.com>
4765 * org-agenda.el (org-agenda-show): New prefix argument
4768 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4771 * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
4772 `org-agenda-change-all-lines'.
4773 (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
4774 tags are now retrieved locally.
4776 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
4778 * org.el (org-get-outline-path): Fix bug if level is not given.
4779 (org-org-menu): Do not quote function in menu vector.
4781 * org-agenda.el (org-finalize-agenda): Fix typo with variable
4784 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4786 * org.el (org-refile): Avoid refiling to within the region to be
4789 * org-export-latex.el (org-export-latex-special-chars): Replace
4790 special characters also in tables.
4792 * org-agenda.el (org-agenda-change-all-lines): New argument
4794 (org-agenda-set-tags): Cet the new tags and pass them to
4795 `org-format-agenda-item'.
4797 2008-12-15 Carsten Dominik <carsten.dominik@gmail.com>
4799 * org-export-latex.el (org-export-latex-classes): Add longable as
4800 a default package to all classes.
4801 (org-export-latex-tables): Handle the longtable attribute and the
4804 * org-table.el (orgtbl-to-generic): Handle tables that start with
4807 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4808 \verb for colde-like snippets.
4809 (org-export-as-latex): Fix issues with region export.
4811 * org.el (org-up-heading-safe): Speed up function by using a
4812 direct regexp search.
4813 (org-olpa): New variable.
4814 (org-get-outline-path): Speed-up path constructions in cases where
4815 this is possible because the entire hierarchy is scanned anyway.
4816 (org-refile-get-location): Don't compare the truenames of files,
4818 (org-goto-max-level): New option.
4819 (org-goto): Use `org-goto-max-level'.
4821 2008-12-12 Tassilo Horn <tassilo@member.fsf.org>
4823 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4824 Strip angle brackets from message-ids in the former and don't do
4826 (org-gnus-follow-link): Open summary reliable, even if the last
4827 messages were deleted, and handle empty groups, too.
4829 2008-12-12 Carsten Dominik <carsten.dominik@gmail.com>
4831 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4832 instead of \texttt for the =...= and ~===~ emphasis environments.
4833 (org-export-as-latex): Remove any old :org-license-to-kill text
4835 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4836 (org-export-latex-make-header): Add some hard space after the
4838 (org-export-latex-first-lines): Accept RBEG argument. Mark
4839 exported text so that it will be excuded in further steps.
4841 * org-table.el (org-table-get-specials): Make @0 reference the
4842 last line in a table.
4843 (org-table-recalculate): Improve docstring.
4845 2008-12-11 Carsten Dominik <carsten.dominik@gmail.com>
4847 * org.el (org-log-done): Fix docstring.
4849 2008-12-10 Carsten Dominik <carsten.dominik@gmail.com>
4851 * org-exp.el (org-export-html-format-image): Fix bugs.
4853 * org-export-latex.el (org-export-latex-tables)
4854 (org-export-latex-links): Implement attribute, label, and caption
4857 * org-exp.el (org-export-html-style-default): Add style
4858 definitions for the figure div.
4859 (org-export-preprocess-string, org-export-as-html): Implement
4860 attribute, label, and caption handling.
4861 (org-export-attach-captions-and-attributes): New function.
4862 (org-export-html-format-image): New function.
4863 (org-format-org-table-html): Implement attribute, label, and
4866 * org.el (org-find-text-property-in-string): New function.
4867 (org-extract-attributes): Use the property org-attr instead of
4868 org-attrobutes, because this property is now set with the #+ATTR
4871 2008-12-08 Carsten Dominik <carsten.dominik@gmail.com>
4873 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
4874 the case that FROM is nil.
4876 * org.el (org-before-first-heading-p): New function.
4878 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4880 * org-exp.el (org-export-as-html): Do not add a space before
4881 enforces line breaks.
4882 (org-export-as-html): Close paragraph before blockquote and verse
4885 2008-12-06 Carsten Dominik <carsten.dominik@gmail.com>
4887 * org-id.el (org-id-locations-file): Wrap file name with
4888 `convert-standard-filename'.
4889 (org-id-files): New variable.
4890 (org-id-use-hash): New option.
4891 (org-id-update-id-locations): Also search in all files current
4892 listed in `org-id-files'. Convert the resulting alist to a hash
4893 if the user customation says so.
4894 (org-id-locations-save): Handle he case if `org-id-locations' is a
4896 (org-id-locations-load): Convert the alist to a hash.
4897 (org-id-add-location): Handle the hast case.
4898 (kill-emacs-hook): Make sure id locations are saved when Emacs is
4900 (org-id-hash-to-alist, org-id-alist-to-hash)
4901 (org-id-paste-tracker): New functions.
4903 -------------------------------------------------------------------------
4905 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
4907 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
4908 bindings of calendar variables.
4910 * org-table.el (org-table-find-row-type): Renamed from
4911 `org-find-row-type'.
4912 (org-table-rewrite-old-row-references): Renamed from
4913 `org-rewrite-old-row-references'.
4914 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
4915 (org-table-cleanup-narrow-column-properties): Renamed from
4916 `org-cleanup-narrow-column-properties'.
4918 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
4920 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
4921 for better error messages.
4922 (org-table-get-descriptor-line): Supply the new arguments to
4923 `org-find-row-type'.
4924 (org-table-error-on-row-ref-crossing-hline): New option.
4926 * org.el (org-target-link-regexp): Make buffer-local.
4927 (org-move-subtree-down): Fix bug with trees at beginning of
4930 2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
4932 * org-faces.el (org-set-tag-faces): New function.
4933 (org-tags-special-faces-re): New variable.
4935 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
4937 * org-faces.el (org-tag-faces): New option.
4938 (org-tag): Mention `org-tag-faces' in the docstring.
4940 2008-12-03 Carsten Dominik <carsten.dominik@gmail.com>
4942 * org-exp.el (org-export-html-style-default): Implement new
4945 * org-jsinfo.el (org-infojs-template): Implement new quoting.
4947 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
4948 command to the `w3m-minor-mode-map'.
4950 * org-archive.el (org-archive-to-archive-sibling): Protect
4951 `this-command' to avoid appending kills during archiving.
4953 * org-exp.el (org-export-with-priority): New variable.
4954 (org-export-add-options-to-plist): Use `org-export-plist-vars'
4955 instead of internal list of strings and properties.
4956 (org-print-icalendar-entries): Retrieve the location property with
4959 2008-12-02 Carsten Dominik <carsten.dominik@gmail.com>
4961 * org-exp.el (org-export-with-todo-keywords): New option.
4962 (org-export-plist-vars): Include also the keys for the #+OPTIONS
4964 (org-default-export-plist, org-export-add-options-to-plist)
4965 (org-export-as-ascii, org-export-as-html): Use the new structure
4966 of `org-export-plist-vars'.
4968 * org.el (org-map-entries): Return all values.
4970 2008-11-29 Carsten Dominik <carsten.dominik@gmail.com>
4972 * org.el (org-matcher-time): Recognize more special values.
4974 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
4976 2008-11-27 Carsten Dominik <carsten.dominik@gmail.com>
4978 * org.el (org-tags-exclude-from-inheritance): New option.
4979 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
4980 `org-tags-exclude-from-inheritance'.
4982 * org-agenda.el (org-agenda-show-inherited-tags): New option.
4983 (org-format-agenda-item): Add inherited tags to the agenda line
4984 string, and make sure that properties are kept when downcasing the
4986 (org-agenda-add-inherited-tags): New function.
4987 (org-downcase-keep-props): New function.
4989 * org.el (org-scan-tags): Mark inherited tags with a text
4991 (org-get-tags-at): Mark inherited tags with a text property.
4992 (org-add-prop-inherited): New function.
4994 * org-agenda.el (org-agenda-add-inherited-tags): New function.
4995 (org-agenda-show-inherited-tags): New option.
4997 2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
4999 * org.el (org-modules): Add org-w3m to the default modules.
5001 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
5003 (orgtabl-create-or-convert-from-region): New command.
5005 * org-exp.el (org-export-as-ascii): Remove the handling of
5007 (org-export-ascii-preprocess): Handle targets already in this
5010 2008-11-25 Carsten Dominik <carsten.dominik@gmail.com>
5012 * org-timer.el (org-timer-start-time): Define this variable.
5013 (org-timer-item): Make argument optional.
5015 * org-list.el (org-insert-item): Automatically insert a timer item
5016 if the current list is a timer list.
5018 * org-timer.el: New file.
5020 * org-publish.el (org-publish-org-index): Only exclude the index
5021 file in the main directory from being added to the site-map.
5022 (org-publish-get-project-from-filename): If the current project is
5023 a component, start publishing from the parent project.
5025 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
5027 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
5029 * org-publish.el (org-publish-org-index): Improve removal of
5032 * org-agenda.el (org-get-closed): Re-apply changes
5033 accidentially overwritten by last commit to Emacs.
5035 * org.el (org-outline-path-complete-in-steps): New option.
5036 (org-refile-get-location): Honor
5037 `org-outline-path-complete-in-steps'.
5038 (org-agenda-change-all-lines, org-tags-sparse-tree)
5039 (org-time-string-to-absolute, org-small-year-to-year)
5040 (org-link-escape): Re-apply changes accidentially overwritten
5041 by last commit to Emacs
5043 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
5045 * org-clock.el (org-dblock-write:clocktable): Make sure the
5046 clocktable sees the first line.
5047 (org-clock-in): Warn if the clock cannot be resumed.
5049 2008-11-22 Carsten Dominik <carsten.dominik@gmail.com>
5051 * org.el (org-open-at-point): Fix mixup about interactive and
5052 non-interactive elisp links.
5054 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
5056 * org-exp.el (org-export-preprocess-string): Allow one comment
5057 line before the first headline to always be included. This is
5058 to not miss a commented target.
5060 * org-mouse.el (org-mouse-insert-item): Call
5061 `org-indent-to-column' instead of `indent-to', for XEmacs
5064 * org.el (org-refile-targets): Fix customize definition so
5065 that it works also in XEmacs.
5066 (org-fixup-indentation): Call `org-indent-to-column' instead
5067 of `indent-to', for XEmacs compatibility.
5069 2008-11-21 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
5071 * org-mew.el (org-mew-store-link): Get the correct case folder
5072 for refiled messages.
5074 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
5076 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
5077 line break indicators.
5079 * org.el (org-ido-completing-read): Remove the "i:" prefix for
5080 ido-completion propts.
5082 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
5084 * org-remember.el (org-remember-apply-template): Use
5085 `org-substring-no-properties'.
5087 * org-compat.el (org-substring-no-properties): New function.
5089 * org-remember.el (org-remember-apply-template): Use
5090 `org-substring-no-properties' for compatibility.
5092 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
5094 (org-fix-bullet-type): respect
5095 `org-list-two-spaces-after-bullet-regexp'.
5097 * org-clock.el (org-clock-load): Clean up the code.
5099 * org.el (org-adaptive-fill-function): Allow two spaces after
5100 "1." as a list bullet.
5102 2008-11-20 Carsten Dominik <carsten.dominik@gmail.com>
5104 * org-clock.el (org-clock-save, org-clock-load): Check for
5105 live buffers, existing files, and buffer file names to ensure
5106 consistent information.
5107 (org-clock-persist): Make `clock' a special value of this
5108 variable, and improve docstring.
5110 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
5111 (org-get-string-indentation): Adapt indentation when the bullet
5114 2008-11-19 Carsten Dominik <carsten.dominik@gmail.com>
5116 * org-remember.el (org-remember-finalize): Make interactive.
5117 (org-remember-kill): New command.
5118 (org-remember-finish-immediately): Call `org-remember-finalize'
5120 (org-remember-finalize): Make `org-remember-finalize' an interactive
5123 2008-11-18 Carsten Dominik <carsten.dominik@gmail.com>
5125 * org-remember.el (org-remember-apply-template): No ido completion
5126 for free prompts in remember templates.
5127 (org-remember-before-finalize-hook): New hook.
5128 (org-remember-mode): New minor mode.
5129 (org-remember-apply-template): Turn on `org-remember-mode'.
5131 * org-id.el (org-id-add-location): Avoid error when no file is
5134 * org-remember.el (org-remember-apply-template): Fix the way how
5135 the list of allowed properties is retrieved from the target file.
5137 * org.el (org-insert-link): Improve file link matching.
5139 2008-11-17 Carsten Dominik <carsten.dominik@gmail.com>
5141 * org-colview.el (org-columns-display-here): New argument
5142 DATELINE, to trigger using the new face.
5143 (org-agenda-colview-summarize): Call `org-columns-display-here'
5144 with the new argument.
5146 * org-faces.el (org-agenda-column-dateline): New face.
5148 * org-publish.el (org-publish-org-index): Use index-title at page
5149 title, not as section.
5151 * org-exp.el (org-export-html-format-desc): Respect the
5152 org-protect property.
5153 (org-export-as-html): Protect image specifiers that are in the
5154 description part of a link.
5156 * org.el (org-sort-entries-or-items, org-completing-read)
5157 (org-refile-get-location, org-olpath-completing-read, org-todo)
5158 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5159 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5160 (org-set-property, org-delete-property)
5161 (org-delete-property-globally): Use `org-ido-completing-read'.
5163 * org-remember.el (org-remember-apply-template): Use
5164 `org-ido-completing-read'.
5166 * org-publish.el (org-publish): Use `org-ido-completing-read'.
5168 * org-colview.el (org-columns-edit-value, org-columns-new)
5169 (org-insert-columns-dblock): Use `org-ido-completing-read'.
5171 * org-colview-xemacs.el (org-columns-edit-value)
5172 (org-columns-new, org-insert-columns-dblock): Use
5173 `org-ido-completing-read'.
5175 * org-attach.el (org-attach-delete-one, org-attach-open): Use
5176 `org-ido-completing-read'.
5178 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5179 `org-ido-completing-read'.
5181 * org.el (org-time-today): New function.
5182 (org-matcher-time): Use `org-time-today'. Add special treatment
5183 for "<tomorrow>" and "<yesterday>".
5184 (org-ido-completing-read): New function.
5185 (org-completion-use-ido): New option.
5187 * org-exp.el (org-export-format-source-code): Fix bug in require
5189 (org-export-target-internal-links): Fix bug in search for text
5192 2008-11-16 Carsten Dominik <carsten.dominik@gmail.com>
5194 * org-export-latex.el (org-export-latex-subcontent): Interprete
5195 target aliases as additonal labels.
5197 * org-exp.el (org-export-target-aliases): New variable.
5198 (org-export-preprocess-string)
5199 (org-export-handle-invisible-targets): Fill the alias alist.
5200 (org-export-as-html): Remove the from the anchor, and also
5202 (org-html-level-start): Insert the target aliases as additonal
5205 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5208 2008-11-15 Carsten Dominik <carsten.dominik@gmail.com>
5210 * org.el (org-open-at-mouse): Ensure correct link abbreviations
5211 when following a link with the mouse from the agenda.
5213 * org-exp.el (org-export-as-html): Avoid lone </div> when no
5214 headlines are created.
5216 2008-11-14 Carsten Dominik <carsten.dominik@gmail.com>
5218 * org-exp.el (org-export-preprocess-string): Reorder so that we
5219 can still see ID properties when we collect targets.
5220 (org-export-target-internal-links): Also store targets for ID's.
5222 * org.el (org-link-translation-function): New option.
5223 (org-open-at-point): Call `org-link-translation-function' if
5225 (org-translate-link): New function.
5226 (org-translate-link-from-planner): New function.
5227 (org-open-at-point): Allow interactive commands in elisp links.
5229 * org-exp.el (org-icalendar-cleanup-string): Restore the old
5230 iCalendar quoting. The new one seems to caus problems with
5233 * org.el (org-yank): Set `this-command' to `yank', so that
5234 `yank-pop' will work.
5236 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
5238 * org-id.el (org-id-search-archives): New option.
5240 * org.el (org-link-to-org-use-id): New option.
5241 (org-store-link): Use `org-link-to-org-use-id'.
5242 (org-id): Make org-id.el a standard component.
5244 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
5246 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5247 hexified version of the tag.
5249 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5250 compliance as far as quoting is concerned.
5252 * org-vm.el (org-vm-follow-link): Require `vm-search'.
5254 * org.el (org-up-heading-safe, org-forward-same-level): Always
5255 call `org-back-to-heading' instead of `outline-back-to-heading'.
5256 (org-back-to-heading): New wrapper around outline-back-to-heading,
5257 with a useful error message telling where the error happened.
5259 * org-list.el (org-update-checkbox-count): Always call
5260 `org-back-to-heading' instead of `outline-back-to-heading'.
5262 * org-exp.el (org-export-as-html): Make sure that each <img> tag
5263 has an `alt' attribute, to ensure XHTML validation.
5265 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
5267 * org-publish.el (org-publish-attachment): Allow publishing to
5268 overwrite attachment files.
5270 * org-agenda.el (org-agenda-timerange-leaders): New option.
5271 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5273 * org.el (org-edit-src-exit): Untabify ASCII image before
5287 2008-11-11 Carsten Dominik <carsten.dominik@gmail.com>
5289 * org.el (org-yank): Make any prefix force normal yanking.
5290 Suppress folding if text would be swallowed into a folded
5292 (org-yank-folded-subtrees, org-yank): Docstring updates.
5294 * org-agenda.el (org-agenda-compare-effort): Treat no effort
5297 * org-exp.el (org-export-language-setup): Add Catalan and
5298 Esperanto language entries.
5300 2008-11-10 Carsten Dominik <carsten.dominik@gmail.com>
5302 * org.el (org-refile): Allow refiling of entire regions.
5304 * org-clock.el (org-clock-time%): New function.
5306 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5307 retrieve property values.
5309 2008-11-09 Carsten Dominik <carsten.dominik@gmail.com>
5311 * org-agenda.el (org-agenda-list): Handle the value `only' of
5312 org-agenda-show-log'.
5313 (org-agenda-log-mode): Interpret a double prefix arg.
5315 2008-11-08 Carsten Dominik <carsten.dominik@gmail.com>
5317 * org-exp.el (org-export-html-footnotes-section): New variable.
5318 (org-export-as-html): Use `org-export-html-footnotes-section' to
5319 insert the footnotes.
5320 (org-export-language-setup): Add "Footnotes" to language words.
5322 2008-11-07 Carsten Dominik <carsten.dominik@gmail.com>
5324 * org.el (org-yank): Fix bug when not inserting a subtree.
5326 2008-11-06 Carsten Dominik <carsten.dominik@gmail.com>
5328 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5329 instead of `vm-beginning-of-message'.
5331 * org.el (org-make-link-regexps): Make sure that links to gnus can
5334 2008-11-05 Carsten Dominik <carsten.dominik@gmail.com>
5336 * org-attach.el (org-attach-dir): Remove duplicate ID creation
5339 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5342 * org.el (org-link-abbrev-alist): Improve customization type.
5344 * org-attach.el (org-attach-expand-link, org-attach-expand): New
5347 * org-agenda.el (org-agenda-get-progress): Renamed from
5348 `org-get-closed'. Implement searching for state changes as well.
5349 (org-agenda-log-mode-items): New option.
5350 (org-agenda-log-mode): New option prefix argument, interpreted as
5351 request to show all possible progress info.
5352 (org-agenda-get-day-entries): Call `org-get-progress' instead of
5354 (org-agenda-set-mode-name): Handle the more complex log mode
5356 (org-get-closed): New alias, pointing to `org-get-progress'.
5358 2008-11-05 Carsten Dominik <dominik@science.uva.nl>
5360 * org.el (org-file-apps-defaults-gnu)
5361 (org-file-apps-defaults-macosx)
5362 (org-file-apps-defaults-windowsnt): Add an entry defining the
5364 (org-file-apps): Allow `system' as key and value.
5365 (org-open-at-point): Explain the effect of a double prefix arg.
5366 (org-open-file): If the argument `in-emacs' is (16),
5367 i.e. corresponding to a double prefix argument, try to open the
5370 2008-11-04 Carsten Dominik <dominik@science.uva.nl>
5372 * org.el (org-insert-link): Abbreviate absolute files names in
5373 links. Also, fix a bug in which the double C-u prefix would not
5376 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
5378 * org.el (org-insert-heading): If buffer does not end with a
5379 newline, add one if necessary to insert headline correctly.
5381 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5382 paragraphs, not inside.
5384 * org.el (org-todo): Quote
5385 `org-agenda-headline-snapshot-before-repeat'.
5387 * org-exp.el (org-export-as-html): Fully process link descriptions.
5388 (org-export-html-format-desc): New function.
5389 (org-export-as-html): Collect footnotes into the correct basket.
5390 (org-html-protect): No longer protect quotations marks here, this
5393 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5396 * org-compat.el (org-fit-window-to-buffer): New function (not
5397 really, a preliminary and incomplete version was present earlier,
5400 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5401 `org-fit-window-to-buffer'.
5403 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5405 * org-agenda.el (org-agenda-get-restriction-and-command)
5406 (org-fit-agenda-window, org-agenda-convert-date): Use
5407 `org-fit-window-to-buffer'.
5409 * org-exp.el (org-export-as-html): Process href links through
5410 `org-export-html-format-href'.
5411 (org-export-html-format-href): New function.
5413 * org-agenda.el (org-agenda-todo): Update only the current
5414 headline if this is a repeated TODO, marked done for today.
5415 (org-agenda-change-all-lines): New argument JUST-THIS, to change
5416 only the current line.
5418 * org.el (org-todo): Take a snapshot of the headline if the
5419 repeater might change it.
5421 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
5423 * org-publish.el (org-publish-find-title): Remove buffers visited
5424 only for extracting the title.
5426 * org-exp.el (org-export-html-style)
5427 (org-export-html-style-default): Mark style definitions as
5430 * org-publish.el (org-publish-validate-link): Function
5433 2008-11-02 Charles Sebold <csebold@gmail.com>
5435 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5437 (org-plot-quote-timestamp-field): New function.
5438 (org-plot-quote-tsv-field): Call timestamp field function when
5439 necessary rather than just quoting as a string.
5440 (org-plot/gnuplot-to-data): Pass in timefmt property.
5441 (org-plot/gnuplot-script): Supports timefmt property.
5442 (org-plot/gnuplot): Checks for timestamp column before checking
5443 for text index column.
5445 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
5447 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5449 * org-publish.el (org-publish-org-index): Create a section in the
5451 (org-publish-org-index): Stop linking to directories.
5453 * org.el (org-emphasis-alist): Use span instead of <u> to
5456 * org-exp.el (org-export-as-html): Make sure <p> is closed before
5459 2008-11-01 Sebastian Rose <sebastian_rose@gmx.de>
5461 * org-jsinfo.el (org-infojs-template): Remove language attribute
5464 2008-11-01 Carsten Dominik <dominik@science.uva.nl>
5466 * org-agenda.el (org-agenda-remove-marked-text): New function.
5467 (org-agenda-mark-filtered-text)
5468 (org-agenda-unmark-filtered-text): New functions.
5469 (org-write-agenda): Remove fltered text.
5471 * org.el (org-make-tags-matcher): Give access to TODO "property"
5472 without speed penalty.
5474 2008-10-29 Carsten Dominik <dominik@science.uva.nl>
5476 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5478 (org-store-link-props): Make sure adding to the plist works
5481 * org-gnus.el (org-gnus-no-new-news): New function.
5482 (org-gnus-follow-link): Allow the article ID to be a message-id,
5483 in addition to allowing article numbers. Message IDs make much
5485 (org-gnus-store-link): Use message-id to create link.
5487 2008-10-28 Carsten Dominik <dominik@science.uva.nl>
5489 * org.el (org-emphasize): Reverse the selection array.
5490 (org-emphasis-alist): Set <code> tags for the verbatim
5493 * org-remember.el (org-remember-handler): Fix bug with
5494 prefix-related changing of the note storage target.
5496 * org-exp.el (org-print-icalendar-entries): Make the exported
5497 priorities compatible with RFC 2445.
5499 * org-clock.el (org-clock-save): Insert time stamp without
5500 dependence on time-stamp.el.
5502 2008-10-27 Carsten Dominik <dominik@science.uva.nl>
5504 * org.el ("saveplace"): If saveplace puts point into an invisible
5505 location, make it visible.
5506 (org-make-tags-matcher): Allow inactive time stamps in time
5508 (org-yank-adjusted-subtrees): New option.
5509 (org-yank): Incorporate adjusting trees.
5510 (org-paste-subtree): New argument FOR-YANK which will cause
5511 insertion at point without backing up over white lines, and leave
5512 point at the end of the inserted text. Also if the cursor is
5513 at the beginning of a headline, use the same level or the inserted
5516 * org-publish.el (org-publish-get-base-files-1): Deal correctly
5517 with broken symlinks
5519 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5521 * org-exp.el (org-export-select-tags, org-get-current-options):
5524 2008-10-25 Carsten Dominik <dominik@science.uva.nl>
5526 * org-agenda.el (org-format-agenda-item)
5527 (org-agenda-filter-make-matcher): Make sure tags are stored and
5530 2008-10-23 Carsten Dominik <dominik@science.uva.nl>
5532 * org.el (org-insert-todo-heading): Fix bug with force-heading
5535 2008-10-23 James TD Smith <ahktenzero@mohorovi.cc>
5537 * org-clock.el (org-clock-in-resume): Add a custom option to
5538 toggle starting the clock from an open clock line.
5539 (org-clock-in): When clocking in to an entry, if
5540 `org-clock-in-resume' is set, check if the first clock line is
5541 open and if so, start the clock from the time in the clock line.
5542 (org-clock-persist): Add a custom option to toggle clock
5544 (org-clock-persist-query-save): Add a custom option to toggle
5545 asking the user if they want to save the running clock when
5547 (org-clock-persist-query-resume): Add a custom option to toggle
5548 asking the user if they want to resume the saved clock when Emacs
5550 (org-clock-save): Add a function to save clock data.
5551 This includes the contents of `org-clock-history' and the buffer
5552 and position of the currently clocked task, if any.
5553 (org-clock-load): Add a function to load clock data.
5554 This populates `org-clock-history', and resumes the saved clocked
5555 task if there is one.
5556 (org-clock-persistence-insinuate): Add a method to set up the
5557 hooks for clock persistence.
5559 2008-10-22 Carsten Dominik <dominik@science.uva.nl>
5561 * org-exp.el (org-export-as-ascii): Handle the case that we are
5562 publishing from an indirect buffer.
5564 * org-table.el (org-table-copy-down): Fix bug with time stamp
5567 * org-mouse.el (org-mouse-features): New option.
5568 (org-mode-hook): Turn on features depending on
5569 `org-mouse-features'.
5571 * org.el (org-insert-heading-respect-content): Force heading
5573 (org-insert-heading): keep the folding state of the heading before
5576 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
5578 * org-archive.el (org-archive-to-archive-sibling): Handle top
5579 level headlines better.
5581 2008-10-21 Bastien Guerry <bzg@altern.org>
5583 * org-export-latex.el (org-export-latex-classes): Added
5584 \usepackage{graphicx} to the default list of packages.
5586 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
5588 * org-agenda.el (org-agenda-filter): Renamed from
5589 `org-agenda-filter-tags'.
5591 2008-10-20 Carsten Dominik <dominik@science.uva.nl>
5593 * org.el (org-entry-properties): Add CATEGORY property, iven if it
5594 is not defined as a property in this entry.
5595 (org-add-log-note): Mask prefix argument when immediately storing
5598 * org-agenda.el (org-agenda-filter-effort-default-operator): New
5601 2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
5603 * org.el (org-add-log-setup): Bugfix; code to find insertion point
5604 after drawers was skipping ahead one line too many, so notes were
5605 inserted after the first note instead of before it.
5607 2008-10-18 Carsten Dominik <dominik@science.uva.nl>
5609 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5611 (org-prepare-agenda): Reset the filter tags.
5612 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5613 Show filter tags in mode line.
5615 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5618 * org-export-latex.el (org-latex-entities-regexp): New constant.
5619 (org-export-as-pdf): Use two calls to `shell-command'.
5621 2008-10-17 Carsten Dominik <dominik@science.uva.nl>
5623 * org-export-latex.el (org-export-latex-treat-sub-super-char):
5624 Honor the {} value of the subsuperscript setting. Make sure that
5625 longer subsuperscripts are typeset in a roman font.
5627 * org.el (org-clock-update-time-maybe): Compute negative clock
5628 intervals correctly.
5630 2008-10-16 Carsten Dominik <dominik@science.uva.nl>
5632 * org.el (org-add-log-setup): Respect
5633 `org-log-state-notes-insert-after-drawers'.
5634 (org-log-state-notes-insert-after-drawers): New option.
5635 (org-todo-trigger-tag-changes): New function.
5636 (org-todo): Call `org-todo-trigger-tag-changes'.
5638 2008-10-15 James TD Smith <ahktenzero@mohorovi.cc>
5640 * org.el (org-add-log-setup): Only skip drawers if the are
5641 immediately after the scheduling keywords.
5643 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5645 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5646 call it with the current todo state to get the state to switch to
5648 (org-clock-in): Use org-indent-line-function to indent clock lines.
5649 (org-clock-find-position): Fix indentation of empty clock drawers.
5651 2008-10-15 Carsten Dominik <dominik@science.uva.nl>
5653 * org-publish.el (org-publish-org-to): Handle case when
5654 org-export-to-pdf does return a file name, not a buffer.
5655 (org-publish-org-to-pdf): New function.
5657 * org-export-latex.el (org-export-as-pdf)
5658 (org-export-as-pdf-and-open): New commands.
5660 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5663 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5664 things in protexted regions.
5666 2008-10-14 Carsten Dominik <dominik@science.uva.nl>
5668 * org-export-latex.el (org-export-latex-preprocess): Improve
5669 quoting of LaTeX environments.
5671 2008-10-10 Carsten Dominik <dominik@science.uva.nl>
5673 * org.el (org-edit-fixed-width-region): Exclude final newline from
5676 * org-export-latex.el (org-export-latex-subcontent): Add labels to
5677 sections, to make internal links work.
5678 (org-export-latex-fontify-headline): Do not remove all text
5679 properties, to make sure that target properties survive this
5682 * org-exp.el (org-export-preprocess-string): Change sequence of
5683 modifications, to make sure links are prepared before the LaTeX
5684 conversions do happen.
5686 2008-10-09 Carsten Dominik <dominik@science.uva.nl>
5688 * org-attach.el (org-attach-delete-all): Renamed from
5689 `org-attch-delete'. Add a security query before deleting the
5690 entire directory. New optional argument FORCE can overrule the
5692 (org-attach-delete-one): New command.
5694 2008-10-08 Carsten Dominik <dominik@science.uva.nl>
5696 * org-attach.el (org-attach-file-list): Fix bug with directory.
5698 2008-10-07 Carsten Dominik <dominik@science.uva.nl>
5700 * org.el (org-apps-regexp-alist): New function.
5701 (org-file-apps): Add auto-mode to the default value.
5702 (org-open-file): Use the new structure of org-file-apps.
5704 * org-attach.el (org-attach): Support the new keys.
5705 (org-attach-method): New option.
5707 2008-10-06 Carsten Dominik <dominik@science.uva.nl>
5709 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5712 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5713 of the list value o `org-use-tag-inheritance'.
5715 * org-attach.el (org-attach-auto-tag): New option.
5716 (org-attach-tag, org-attach-untag): New functions.
5717 (org-attach-attach, org-attach-new, org-attach-sync): Call
5719 (org-attach-delete): Call `org-attach-untag'.
5721 2008-10-04 Carsten Dominik <dominik@science.uva.nl>
5723 * org-table.el (orgtbl-self-insert-command): Make this work for
5726 2008-10-02 Carsten Dominik <dominik@science.uva.nl>
5728 * org.el (org-add-log-setup): Limit searc for drawers to entry
5729 text, not to subtree.
5731 * org-clock.el (org-clock-heading-for-remember): New variable.
5732 (org-clock-in): Set `org-clock-heading-for-remember'.
5734 2008-10-01 James TD Smith <ahktenzero@mohorovi.cc>
5736 * org-remember.el (org-remember-apply-template): Add new
5737 expansions: %k, %K for currently clocked task and a link to the
5738 currently clocked task, and %< to file notes in the currently
5741 2008-10-01 Carsten Dominik <dominik@science.uva.nl>
5743 * org-export-latex.el (org-export-latex-make-header): Also insert
5744 the content of the property :latex-header-extra.
5746 * org-exp.el (org-infile-export-plist): Put the content of
5747 #+LATEX_HEADER: into the property :latex-header-extra.
5749 * org-colview.el (org-columns-get-format-and-top-level): Remove
5750 resetting the marker.
5752 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5753 Remove resetting the marker.
5755 * org.el (org-entry-property-inherited-from): Improve docstring.
5756 (org-entry-get-with-inheritance): Reset marker before starting the
5759 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5761 2008-09-30 Carsten Dominik <dominik@science.uva.nl>
5763 * org.el (org-entry-get-multivalued-property)
5764 (org-entry-protect-space, org-entry-restore-space): New
5766 (org-file-apps-defaults-macosx): Let postscript files be opened by
5768 (org-time-stamp-inactive): Call `org-time-stamp'.
5769 (org-time-stamp): New argument `inactive'. Also edit inacive
5770 stamps. Convert time stamp type.
5771 (org-open-file): Interpret the `default' value for the `command'
5774 * org-id.el (org-id-int-to-b36-one-digit)
5775 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5776 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
5779 2008-09-29 Carsten Dominik <dominik@science.uva.nl>
5781 * org-id.el (org-id-reverse-string): New function.
5782 (org-id-new): Use `org-id-reverse-string' to make sure the
5783 beginning chars of the ID are mutating fast. This allows to use a
5784 directory structure to spread things better.
5785 (org-id-prefix): Changed default to nil.
5787 * org-list.el (org-move-item-down, org-move-item-up): Remember and
5788 restore the column of the cursor position.
5790 * org-remember.el (org-remember-apply-template): Remove properties
5793 2008-09-27 Carsten Dominik <dominik@science.uva.nl>
5795 * org-wl.el (org-wl-open): Remove useless call to
5796 `wl-thread-open-all'.
5798 * org-remember.el (org-remember-handler): Fix bug with `bottom'
5801 2008-09-26 Carsten Dominik <dominik@science.uva.nl>
5803 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5804 `org-bbdb-anniversaries'.
5806 * org.el (org-get-next-sibling, org-forward-same-level): New
5807 functions, similar to the outline versions, but invisible headings
5810 2008-09-25 Bastien Guerry <bzg@altern.org>
5812 * org.el (org-auto-repeat-maybe): Insert a space between
5813 the timestamp's type and the timestamp itself.
5815 2008-09-24 Carsten Dominik <dominik@science.uva.nl>
5817 * org-table.el (org-table-sum): Do not format the result with %g,
5818 it does rounding when there are too many digits.
5820 * org.el (org-map-entries): Protect the keyword-selecting variables.
5822 2008-09-23 Bastien Guerry <bzg@altern.org>
5824 * org-agenda.el (org-agenda-to-appt): Make sure the function check
5825 against all agenda files.
5827 2008-09-23 Carsten Dominik <dominik@science.uva.nl>
5829 * org-list.el: New file, aggregating list functions from org.el
5830 and org-export-latex.el.
5832 * org.el (org-edit-src-region-extra): New option.
5834 2008-09-22 Carsten Dominik <dominik@science.uva.nl>
5836 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5839 2008-09-22 Bastien Guerry <bzg@altern.org>
5841 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5843 2008-09-22 James TD Smith <ahktenzero@mohorovi.cc>
5845 * org-plot.el (org-plot/gnuplot): Make tables starting with a
5846 hline work correctly.
5847 (org-plot/gnuplot-script): Put commas at the end of each script
5850 2008-09-20 James TD Smith <ahktenzero@mohorovi.cc>
5852 * org.el (org-get-refile-targets): Replace links with their
5854 (org-imenu-get-tree): Replace links with their descriptions.
5856 * org-remember.el (org-remember-apply-template): Add a new
5857 expansion for adding properties to remember items.
5859 * org.el (org-add-log-setup): Skip over drawers (properties,
5860 clocks etc) when adding notes.
5862 * org-agenda.el (org-agenda-get-closed): show durations of clocked
5863 items as well as the start and end times.
5865 * org-compat.el (org-get-x-clipboard-compat): Add a compat
5866 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
5868 * org-remember.el (org-get-x-clipboard): Use the compat
5869 function to get clipboard values when x-selection-value is
5870 unavailable. Use substring-no-properties instead of
5871 set-text-properties to remove text properties from the clipboard
5874 * lisp/org-clock.el (org-update-mode-line): Support limiting the
5875 modeline clock string, and display the full todo value in the
5876 tooltip. Set a local keymap so mouse-3 on the clock string goes to
5877 the currently clocked task.
5878 (org-clock-string-limit): Add a custom value for the maximum
5879 length of the clock string in the modeline.
5880 (org-clock-mode-map): Add a keymap for the modeline string
5882 2008-09-21 Carsten Dominik <dominik@science.uva.nl>
5884 * org-compat.el (org-propertize): New function.
5886 2008-09-20 Bastien Guerry <bzg@altern.org>
5888 * org-export-latex.el (org-export-latex-tables): protect exported
5889 tables from further special chars conversion.
5890 (org-export-latex-preprocess): Preserve LaTeX environments.
5891 (org-list-parse-list): Parse descriptive lists.
5892 (org-list-to-generic, org-list-to-latex, org-list-to-html)
5893 (org-list-to-texinfo): Export descriptive lists.
5894 (org-quote-chars): Remove.
5895 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
5896 (org-export-latex-list-beginning-re): Rename to
5897 `org-list-beginning-re'
5898 (org-list-item-begin): Rename to `org-list-item-beginning'
5900 2008-09-20 Carsten Dominik <dominik@science.uva.nl>
5902 * org.el (org-refile): Allow refiling to the last entry in the
5904 (org-get-tags-at): Fix bug when inheritance is turned off.
5906 2008-09-19 Carsten Dominik <dominik@science.uva.nl>
5908 * org.el (org-indent-line-function): No longer check for src
5909 regions, this is too much overhead.
5911 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
5914 * org.el (org-scan-tags): Make sure that tags matching is not case
5915 sensitive. TODO keyword matching is case sensitive, however, to
5916 avoid confusion with similar words that are not meant to be
5919 2008-09-18 Carsten Dominik <dominik@science.uva.nl>
5921 * org.el (org-get-local-tags-at): New function.
5922 (org-get-local-tags): New function.
5924 * org-exp.el (org-export-get-categories): New function.
5926 * org-agenda.el (org-sorting-choice)
5927 (org-agenda-sorting-strategy, org-agenda-get-todos)
5928 (org-agenda-get-timestamps, org-agenda-get-deadlines)
5929 (org-agenda-get-scheduled, org-agenda-get-blocks)
5930 (org-entries-lessp): Implement sorting by TODO state.
5931 (org-cmp-todo-state): New defsubst.
5933 * org-colview.el (org-colview-construct-allowed-dates): New
5935 (org-columns-next-allowed-value): Use
5936 `org-colview-construct-allowed-dates'.
5938 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
5940 (org-columns-next-allowed-value): Use
5941 `org-colview-construct-allowed-dates'.
5943 2008-09-17 Carsten Dominik <dominik@science.uva.nl>
5945 * org.el (org-protect-slash): New function.
5946 (org-get-refile-targets): Use `org-protect-slash'.
5948 * org-agenda.el (org-global-tags-completion-table): New variable.
5950 * org-exp.el (org-export-handle-export-tags): New function.
5951 (org-export-preprocess-string): Call
5952 `org-export-handle-export-tags'.
5954 * org-plot.el: New file.
5956 * org-publish.el (org-publish-expand-components): Function removed.
5957 (org-publish-expand-projects): Allow components to have components.
5959 2008-09-13 Carsten Dominik <dominik@science.uva.nl>
5961 * org.el (org-indent-line-function): Do not indent in regions that
5962 are external source code.
5963 (org-yank-and-fold-if-subtree): New function.
5965 * org-agenda.el (org-agenda-todayp): New function.
5966 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
5967 `org-agenda-todayp'.
5969 * org.el (org-insert-heading-respect-content)
5970 (org-insert-todo-heading-respect-content): New commands.
5971 (org-insert-heading-respect-content): New option.
5972 (org-insert-heading): Respect `org-insert-heading-respect-content'.
5974 * org-clock.el (org-clock-find-position): Make sure the note after
5975 the clock line gets moved into the new clock drawer.
5977 2008-09-11 Carsten Dominik <dominik@science.uva.nl>
5979 * org-id.el (org-id-new): New option.
5981 2008-09-08 Carsten Dominik <dominik@science.uva.nl>
5983 * org-table.el (org-table-copy-down): Avoid overflow during
5984 increment. Use prefix argument 0 to temporarily disable the
5987 2008-09-07 Carsten Dominik <dominik@science.uva.nl>
5989 * org-exp.el (org-export-as-html): Do not turn on the major mode
5990 if the buffer will be killed anyway.
5991 (org-get-current-options): Exclude the #+TEXT field.
5992 (org-export-as-html): Make sure text before the first headline is
5995 * org-publish.el (org-publish-org-to): Tell the exporter that this
5996 buffer will be killed, so it is not necessary to do major mode
5999 * org-archive.el (org-archive-to-archive-sibling): Show empty
6000 lines after folding the archive sibling.
6002 * org.el (org-log-note-extra): New variable.
6004 2008-09-05 Bastien Guerry <bzg@altern.org>
6006 * org.el (org-additional-option-like-keywords): Added keywords for
6007 the _QUOTE, _VERSE and _SRC environments.
6009 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
6010 exporting _QUOTE and _VERSE environments.
6012 2008-09-05 Carsten Dominik <dominik@science.uva.nl>
6014 * org-agenda.el (org-agenda-filter-by-tag): New command.
6016 * org-exp.el (org-get-current-options): Remove angular brackets
6017 from the date entry.
6019 * org.el (org-edit-fixed-width-region): New function.
6020 (org-edit-fixed-width-region): Also try
6021 `org-edit-fixed-width-region'.
6022 (org-edit-fixed-width-region-mode): New option.
6023 (org-activate-code): Only interprete lines starting with colon
6024 plus a space as example lines.
6026 * org-remember.el (org-remember-templates): Add nil instead of
6027 empty strings to fix the length of remember templates.
6029 * org-table.el (org-calc-default-modes): Fix the time format for
6030 calc, from 12 hour to 24 hour clock.
6032 2008-09-04 Carsten Dominik <dominik@science.uva.nl>
6034 * org-agenda.el (org-agenda-get-deadlines)
6035 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
6036 entries that are pre-warnings of deadlines or reminders.
6038 * org.el (org-sort-entries-or-items): Make numeric and alpha
6039 comparisons ignore any TODO keyword and priority cookie.
6041 * org-remember.el (org-remember-handler): Reinterpretation of the
6044 2008-09-03 Carsten Dominik <dominik@science.uva.nl>
6046 * org-agenda.el (org-agenda-get-scheduled): Use new
6047 `org-scheduled' face.
6049 * org-faces.el (org-scheduled): New face.
6051 * org-wl.el (org-wl-open): Remove incorrect declaration.
6053 * org-gnus.el (org-gnus-store-link): Support for :to information
6056 * org-exp.el (org-export-as-html): Fixed typo in creator
6058 (org-export-protect-examples): New parameter indent. Insert extra
6059 spaces only when this parameter is specified.
6060 (org-export-preprocess-string): Call `org-export-protect-examples'
6061 with an indentation parameter when exporting to ASCII.
6063 * org-remember.el (org-remember-templates)
6064 (org-remember-apply-template): Allow the file component to be a
6067 * org.el (org-goto-local-search-headings): Renamed from
6068 `org-goto-local-search-forward-headings'. Added the possibility
6069 to search backwards.
6071 2008-09-02 Carsten Dominik <dominik@science.uva.nl>
6073 * org-export-latex.el (org-export-latex): New customization
6076 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
6078 2008-09-01 Carsten Dominik <dominik@science.uva.nl>
6080 * org-exp.el (org-html-do-expand): Allow {} to terminate
6083 2008-07-29 Carsten Dominik <dominik@science.uva.nl>
6085 * org.el (org-buffer-list): Select buffers based on major mode,
6088 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
6090 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
6093 * org-colview.el (org-columns-display-here): Use
6094 `org-columns-modify-value-for-display-function'.
6096 * org-colview-xemacs.el (org-columns-display-here): Use
6097 `org-columns-modify-value-for-display-function'.
6099 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
6101 * org.el (org-columns-modify-value-for-display-function): New option.
6113 * org-publish.el (org-publish-file): Make sure the directory match
6114 for the publishing directory works correctly.
6116 * org-agenda.el (org-agenda-execute-calendar-command)
6117 (org-agenda-diary-entry): Additional optional argument.
6119 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
6121 * org-exp.el (org-export-as-html): Add attributes also in mailto
6124 * org.el (org-autoload): Add `org-dblock-write:columnview'.
6133 2008-07-23 Carsten Dominik <dominik@science.uva.nl>
6135 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6136 sure that calls from `org-export-region-as-html' do not do the
6137 special check for a subtree.
6139 2008-07-22 Carsten Dominik <dominik@science.uva.nl>
6141 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6143 2008-07-20 Juri Linkov <juri@jurta.org>
6145 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6146 new keymap `narrow-map' instead of binding "\C-xns".
6148 2008-07-18 Carsten Dominik <dominik@science.uva.nl>
6150 * org.el (org-open-file): Use
6151 `org-open-directory-means-index-dot-org'.
6152 (org-open-directory-means-index-dot-org): New option.
6154 2008-07-17 Carsten Dominik <dominik@science.uva.nl>
6156 * org.el (org-make-link-string): Remove link attributes from
6158 (org-open-at-point): Remove link attributes bevore using the path.
6160 * org-exp.el (org-export-as-html): Handle link attributes.
6162 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6164 * org-table.el (org-table-to-lisp): New function.
6166 * org.el (org-narrow-to-subtree): Do not include the final newline
6167 into the narrowed region.
6169 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6170 bug with user-define skipping condition.
6172 2008-07-16 Carsten Dominik <dominik@science.uva.nl>
6174 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6176 2008-07-14 Carsten Dominik <dominik@science.uva.nl>
6178 * org-exp.el (org-export-html-style-default): Automatic overflow
6179 handling for pre fields.
6180 (org-export-as-ascii, org-export-as-html): Change default format
6183 * org-table.el (org-table-export): Offer completion for translator
6184 functions, and do not require a heading above the table.
6186 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6187 Cater for the case of a list starting in the first line of the
6190 2008-07-09 Carsten Dominik <dominik@science.uva.nl>
6192 * org-publish.el (org-publish-find-title): Bug fix.
6193 (org-publish-org-index): Implement new :index-style option.
6195 2008-07-07 Carsten Dominik <dominik@science.uva.nl>
6197 * org-publish.el (org-publish-timestamp-filename): Use
6198 SHA1-encoded file names in the timestamp directory.
6200 2008-07-05 Carsten Dominik <dominik@science.uva.nl>
6202 * org-publish.el (org-publish-needed-p): Be verbose about files
6203 published and files skipped.
6205 * org-exp.el (org-export-preprocess-string): Swap link
6206 normalization and inernal link targeting.
6208 * org-publish.el (org-publish-needed-p): Create timestamp
6209 directory when it does not exist.
6211 2008-07-04 Bastien Guerry <bzg@altern.org>
6213 * org-clock.el (org-clock-out-when-done): Doc fix.
6215 * org.el (org-agenda-skip-unavailable-files): Doc fix.
6217 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6218 Ignore case when searching for the COMMENT cookie at export time.
6220 2008-07-02 Carsten Dominik <dominik@science.uva.nl>
6222 * org-exp.el (org-get-file-contents)
6223 (org-get-and-remove-property): New functions.
6224 (org-export-handle-include-files): Handle the new prefix options.
6225 (org-export-as-html): Fix the verse environment.
6227 2008-07-01 Carsten Dominik <dominik@science.uva.nl>
6229 * org.el (org-time=, org-time<, org-time<=, org-time>)
6230 (org-time>=, org-time<>, org-2ft): New functions.
6231 (org-op-to-function): Also provide for the time testing fucntions.
6233 2008-06-30 Carsten Dominik <dominik@science.uva.nl>
6235 * org-exp.el (org-export-html-style-default): New constant.
6237 2008-06-29 Carsten Dominik <dominik@science.uva.nl>
6239 * org-exp.el (org-export-html-style-extra): New variable.
6240 (org-export-splice-style): New function.
6242 2008-06-26 Carsten Dominik <dominik@science.uva.nl>
6244 * org-exp.el (org-export-plist-vars, org-export-as-html):
6245 Implement `org-export-creator-info'.
6246 (org-export-creator-info): New option.
6248 2008-06-25 Carsten Dominik <dominik@science.uva.nl>
6250 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6251 (org-property-drawer-re, org-clock-drawer-re): New constants.
6253 2008-06-23 Carsten Dominik <dominik@science.uva.nl>
6255 * org-exp.el (org-icalendar-use-deadline)
6256 (org-icalendar-use-scheduled): New options.
6257 (org-icalendar-include-todo): Default changed to t.
6258 (org-print-icalendar-entries): Implement better utilization of
6259 scheduling and deadline time stamps.
6260 (org-export-target-internal-links, org-export-as-html): Allow file
6261 lines without the "file:" prefix if the file path is an absolute
6262 path or starts with ".".
6264 * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6266 (org-clock-special-range): Also undertand yesterday, lastweek etc.
6268 2008-06-18 Glenn Morris <rgm@gnu.org>
6269 * org.el (org-map-entries): Let-bind `file'.
6271 2008-06-19 Carsten Dominik <dominik@science.uva.nl>
6273 * org.el (org-agenda-skip-archived-trees): Docstring now
6274 discourages using this.
6275 (org-scan-tags): Check for org-agenda-archives-mode.
6276 (org-map-entries): Make sure org-agenda-archives-mode is nil.
6277 (org-agenda-files): Functionality of second arg changed.
6279 * org-agenda.el (org-agenda-archives-mode): New variable
6280 (org-write-agenda, org-prepare-agenda, org-agenda-list)
6281 (org-search-view, org-todo-list, org-tags-view)
6282 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6284 (org-agenda-quit): Reset the archives mode.
6285 (org-agenda-archives-mode): New command.
6286 (org-agenda-set-mode-name): Include archives info.
6288 2008-06-18 Carsten Dominik <dominik@science.uva.nl>
6290 * org.el (org-paste-subtree): Make sure the yanked headline is
6291 visible if it was yanked at a visible point.
6292 (org-move-item-up): Fix the bug with moving white space at the end
6294 (org-show-empty-lines-in-parent): New function.
6296 2008-06-16 Carsten Dominik <dominik@science.uva.nl>
6298 * org-colview.el (org-columns-next-allowed-value): Bug fix.
6300 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6302 * org-agenda.el (org-agenda-get-closed): Get the end time into the
6303 agenda prefix as well.
6305 * org-publish.el (org-publish-org-index): Make a properly indented
6308 * org.el (org-calendar-agenda-action-key): New option.
6309 (org-get-cursor-date): New function.
6310 (org-mark-entry-for-agenda-action): New command.
6311 (org-overriding-default-time): New variable.
6312 (org-read-date): Respect `org-overriding-default-time'.
6314 * org-remember.el (org-remember-apply-template): Respect the
6315 ovverriding default time.
6317 * org-agenda.el (org-agenda-action-marker): New variable.
6318 (org-agenda-action): New command.
6319 (org-agenda-do-action): New function.
6321 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
6323 * org.el (org-schedule, org-deadline): Protect scheduled and
6324 deadline tasks against changes that accidently remove the
6325 repeater. Also show a message with the new date when done.
6327 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
6329 * org.el (org-beginning-of-line): Cater for the case when there
6330 are tags but no headline text.
6331 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6334 2008-06-13 Carsten Dominik <dominik@science.uva.nl>
6336 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6337 the return value is nil instead of "nil" when there is no match.
6339 * org-exp.el (org-insert-centered): Use fill-column instead of
6341 (org-export-as-ascii): Use string-width to measure the width of
6344 * org.el (org-diary-to-ical-string): No longer kill buffer
6345 FROMBUF, this is now done by the caller.
6347 * org-exp.el (org-print-icalendar-entries): Move the call to
6348 `org-diary-to-ical-string' out of the loop, and kill the buffer
6351 * org-remember.el (org-remember-visit-immediately): Position
6352 cursor after moving to the note.
6353 (org-remember-apply-template): Use a text property to record the
6355 (org-remember-handler): Align tags after pasting the note.
6357 2008-06-12 Carsten Dominik <dominik@science.uva.nl>
6359 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6361 * org-agenda.el (org-agenda-open-link): If there is an
6362 org-bbdb-name property in the current line, jump to that bbdb
6365 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6366 text property, so that the agenda knows where this entry comes
6369 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6370 interaction between clocking-in from the agenda, and automatic
6371 task state switching.
6373 * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6375 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6376 zmacs-region stays after this command in XEmacs.
6378 2008-06-11 Carsten Dominik <dominik@science.uva.nl>
6380 * org.el (org-scan-tags): Allow new values for ACTION parameter.
6382 * org-remember.el (org-remember-templates): Fix bug in
6383 customization type definition.
6385 * org.el (org-map-entries): New function.
6387 2008-06-11 verhuur82 <verhuur82@macbook-van-verhuur82.local>
6389 * org-agenda.el (org-agenda-skip-comment-trees): New option.
6390 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6392 2008-06-10 Carsten Dominik <dominik@science.uva.nl>
6394 * org-remember.el (org-jump-to-target-location): New variable.
6395 (org-remember-apply-template): Set
6396 `org-remember-apply-template' if requested by template.
6397 (org-remember-handler): Start an idle timer to jump to
6400 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6402 * org.el (org-set-regexps-and-options): Fix bug with parsing of
6404 (org-get-tags-at): Add the content of `org-file-tags'.
6406 * org-exp.el (org-export-handle-comments): Fix bug with several
6407 comment lines after each other.
6408 (org-number-to-roman, org-number-to-counter): New functions.
6409 (org-export-section-number-format): New option.
6411 2008-06-09 Carsten Dominik <dominik@science.uva.nl>
6413 * org-exp.el (org-export-protect-examples): Catch the case of a
6414 missing end_example line.
6416 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6417 `org-file-tags' to nil.
6419 * org-colview.el (org-columns-next-allowed-value): Handle next
6420 argument NTH to directly select a value.
6422 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6423 argument NTH to directly select a value.
6425 2008-06-08 Carsten Dominik <dominik@science.uva.nl>
6427 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6429 2008-05-30 Carsten Dominik <dominik@science.uva.nl>
6431 * org.el (org-columns-ellipses): New option.
6433 2008-05-29 Carsten Dominik <dominik@science.uva.nl>
6435 * org-colview.el (org-columns-add-ellipses): New function.
6436 (org-columns-compact-links): New function.
6437 (org-columns-cleanup-item): Call `org-columns-compact-links'.
6438 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6440 (org-columns-edit-value): Fixed bug with editing values from
6442 (org-columns-redo): Also redo the agenda itself.
6444 2008-05-28 Carsten Dominik <dominik@science.uva.nl>
6446 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6449 * org-colview.el (org-agenda-columns-cleanup-item): New function.
6451 * org-exp.el (org-export-ascii-preprocess): Renamed from
6452 `org-export-ascii-clean-string'.
6453 (org-export-kill-licensed-text)
6454 (org-export-define-heading-targets)
6455 (org-export-handle-invisible-targets)
6456 (org-export-target-internal-links)
6457 (org-export-remove-or-extract-drawers)
6458 (org-export-remove-archived-trees)
6459 (org-export-protect-quoted-subtrees)
6460 (org-export-protect-verbatim, org-export-protect-examples)
6461 (org-export-select-backend-specific-text)
6462 (org-export-mark-blockquote-and-verse)
6463 (org-export-remove-comment-blocks-and-subtrees)
6464 (org-export-handle-comments, org-export-mark-radio-links)
6465 (org-export-remove-special-table-lines)
6466 (org-export-normalize-links)
6467 (org-export-concatenate-multiline-links)
6468 (org-export-concatenate-multiline-emphasis): New functions,
6469 obtained from spliiting the export preprocessor.
6471 * org-table.el (org-table-recalculate): Improve error message if
6472 the row number is invalid.
6474 2008-05-27 Carsten Dominik <dominik@science.uva.nl>
6476 * org-archive.el (org-archive-save-context-info): Fix bugs in
6477 customization setup and docstring.
6479 * org-exp.el (org-export-html-style): Changed the size of in the
6480 <pre> element to 90%.
6482 2008-05-26 Carsten Dominik <dominik@science.uva.nl>
6484 * org.el (org-find-src-example-start): Function removed.
6485 (org-edit-src-find-region-and-lang): New function.
6487 2008-05-25 Carsten Dominik <dominik@science.uva.nl>
6489 * org.el (org-edit-src-exit): New function.
6490 (org-exit-edit-mode): New minor mode.
6492 * org-exp.el (org-export-preprocess-string): Fix bug with removing
6493 comment-like lines from protected examples.
6495 * org.el (org-edit-src-example, org-find-src-example-start)
6496 (org-protect-source-example, org-edit-special): New functions.
6498 2008-05-24 Carsten Dominik <dominik@science.uva.nl>
6500 * org-publish.el (org-publish-project-alist): Fix typo in
6502 (org-publish-project-alist): Handle :index-title property.
6504 2008-05-21 Carsten Dominik <dominik@science.uva.nl>
6506 * org-export-latex.el (org-export-as-latex): Make sure region
6507 bounds are correct. Parse subtree properties relating to export.
6509 * org-exp.el (org-export-add-options-to-plist): New function.
6510 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6512 2008-05-20 Carsten Dominik <dominik@science.uva.nl>
6514 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6517 * org-exp.el (org-export-get-title-from-subtree)
6518 (org-export-as-ascii, org-export-as-html): Make sure the original
6519 region-beginning and region-end are used, even after moving
6521 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6524 * org-remember.el (org-remember-last-stored-marker): New variable.
6525 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6526 (org-remember-handler): Also use marker to remember
6527 last-stored position.
6529 * org.el (org-goto-marker-or-bmk): New function.
6531 2008-05-19 Carsten Dominik <dominik@science.uva.nl>
6533 * org.el (org-file-properties): Renamed from `org-local-properties'.
6534 (org-scan-tags): Take file tags into account.
6535 (org-tags-match-list-sublevels): Default changed to t.
6537 * org-exp.el (org-export-as-html): Close paragraph after a
6540 * org.el (org-update-parent-todo-statistics): New function.
6542 * org-exp.el (org-icalendar-store-UID): New option.
6543 (org-icalendar-force-UID): Option removed.
6544 (org-print-icalendar-entries): IMplement UIDs.
6546 2008-05-18 Carsten Dominik <dominik@science.uva.nl>
6548 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6550 2008-05-16 Carsten Dominik <dominik@science.uva.nl>
6552 * org-faces.el (org-column): Document how this face is being used
6553 and why sometimes the background faces shine through.
6555 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6557 * org-publish.el (org-publish-attachment): Create publishing
6558 directory if it does not yet exist.
6560 * org-table.el (org-calc-default-modes): Change default number
6561 format to (float 8).
6563 * org.el (org-olpath-completing-read): New function.
6564 (org-time-clocksum-format): New option.
6565 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6567 * org-clock.el (org-clock-display, org-clock-out)
6568 (org-update-mode-line): Use `org-time-clocksum-format'.
6570 * org-colview-xemacs.el (org-columns-number-to-string): Use
6571 `org-time-clocksum-format'.
6573 * org-colview.el (org-columns-number-to-string): Use
6574 `org-time-clocksum-format'.
6576 2008-05-15 Carsten Dominik <dominik@science.uva.nl>
6578 * org-id.el: New file, move from contrib to core.
6580 * org-exp.el (org-icalendar-force-UID): New option.
6582 2008-05-14 Carsten Dominik <dominik@science.uva.nl>
6584 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6585 shifted by one day if theere is a date range without an end
6588 * org.el (org-try-structure-completion): New function.
6590 2008-05-13 Carsten Dominik <dominik@science.uva.nl>
6592 * org.el (org-set-font-lock-defaults): Improve fontification of
6594 (org-insert-item): Handle description lists.
6595 (org-adaptive-fill-function): Improve auto indentation in
6598 * org-exp.el (org-export-as-html, org-export-preprocess-string):
6599 Implement VERSE environment.
6600 (org-export-preprocess-string): Implement the COMMENT
6603 * org-export-latex.el (org-export-latex-preprocess): Implement
6606 2008-05-12 Carsten Dominik <dominik@science.uva.nl>
6608 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6611 2008-05-10 Carsten Dominik <dominik@science.uva.nl>
6613 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6615 * org.el (org-quote-csv-field): New functions.
6617 * org-table.el (org-table-export-default-format): Remove :splice
6618 from default format, we get the same effect by not specifying
6620 (org-table-export): Improve setup, distinguish better between
6621 interactive and non-interactive use, allow specifying the format
6622 on the fly, better protection against wrong file names.
6623 (orgtbl-to-generic): Fix documentation. Do not require :tstart
6624 and :tend when :splice is omitted.
6626 2008-05-09 Bernt Hansen <bernt@norang.ca>
6628 * org-clock.el (org-clock-select-task): Make sure the selection
6629 letters are 1-9 and A-Z, no special characters.
6631 2008-05-09 Carsten Dominik <dominik@science.uva.nl>
6633 * org-exp.el (org-export-htmlize): New group.
6634 (org-export-htmlize-output-type)
6635 (org-export-htmlize-css-font-prefix): New options.
6636 (org-export-htmlize-region-for-paste): New function.
6637 (org-export-htmlize-generate-css): New command.
6639 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
6641 * org/org.el (org-modules, org-format-latex-options):
6642 * org/org-archive.el (org-archive-stamp-time)
6643 (org-archive-save-context-info):
6644 * org/org-faces.el (org-hide):
6645 * org/org-irc.el (org-irc-parse-link):
6646 * org/org-macs.el (org-call-with-arg, org-autoload):
6647 * org/org-mew.el (org-mew-store-link):
6648 * org/org-remember.el (org-remember-store-without-prompt)
6649 (org-remember-templates): Fix typos in docstrings.
6651 * org/org-info.el (org-info-store-link): Remove leftover docstring.
6653 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6654 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6655 (org-bbdb-anniv-split): Fix typos in docstrings.
6657 * org/org-publish.el (org-publish-project-alist): Doc fixes.
6658 (org-publish-use-timestamps-flag): Reflow docstring.
6659 (org-publish-files-alist): Fix typos in docstring.
6661 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
6663 * org.el (org-set-visibility-according-to-property): New function.
6664 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6665 and compute the regular expressions, and update font-lock.
6666 (org-property-re): Allow a dash in property names.
6668 * org-archive.el (org-extract-archive-file): Insert the file name
6669 without the path into the format, to allow the location format to
6670 contain a subdirectory.
6672 * org-agenda.el (org-agenda-post-command-hook): If point is at end
6673 of buffer, and the `org-agenda-type' property undefined, use the
6674 value from the character before.
6676 * org.el (org-add-planning-info): Don't let indentation for
6677 would-be timestamp become extra whitespace at the end of headline.
6679 2008-05-07 Carsten Dominik <dominik@science.uva.nl>
6681 * org.el (org-remove-double-quotes, org-file-contents): New
6684 * org-exp.el (org-infile-export-plist): Also parse the
6685 contents of #+SETUPFILE files, recursively.
6687 * org.el (org-set-regexps-and-options): Also parse the
6688 contents of #+SETUPFILE files, recursively.
6690 * org-exp.el (org-export-handle-include-files): New function.
6691 (org-export-preprocess-string): Call
6692 `org-export-handle-include-files'.
6694 * org.el (org-delete-property-globally)
6695 (org-delete-property, org-set-property): Ignore case during
6697 (org-set-property): Use `org-completing-read' instead of
6700 * org.el (org-complete-expand-structure-template): New,
6701 experimental function.
6702 (org-structure-template-alist): New, experimental option.
6703 (org-complete): Call `org-complete-expand-structure-template'.
6705 2008-05-06 Bastien Guerry <bzg@altern.org>
6707 * org-export-latex.el (org-export-latex-preprocess): Added
6708 support for blockquotes.
6710 2008-05-05 Carsten Dominik <dominik@science.uva.nl>
6712 * org.el (org-read-date-analyze): Catch the case where only a
6715 2008-05-04 Carsten Dominik <dominik@science.uva.nl>
6717 * org.el (org-set-font-lock-defaults): Make the description
6720 * org-exp.el (org-export-as-html, org-close-li): Implement
6723 2008-05-04 Jason Riedy <jason@acm.org>
6725 * org-table.el (*orgtbl-default-fmt*): New variable.
6726 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6727 when there is no other fmt available.
6729 (orgtbl-to-generic): Allow an explicitly nil :tstart or
6730 :tend to suppress the appropriate string.
6732 (orgtbl-to-orgtbl): New function for translating to another orgtbl
6735 2008-05-02 Carsten Dominik <dominik@science.uva.nl>
6737 * org.el (org-read-date-analyze): "." as an alias for "+0" in
6740 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6743 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6746 2008-05-01 Carsten Dominik <dominik@science.uva.nl>
6748 * org-clock.el (org-clock-find-position): Don't include notes
6751 * org-archive.el (org-archive-subtree): No longer remove an
6752 extra line after cutting the subtree. `org-cut-subtree' already
6755 * org-remember.el (org-remember-handler): Only kill the target
6756 buffer if it does not contain the running clock.
6758 * org.el (org-markers-to-move): New variable.
6759 (org-save-markers-in-region, org-check-and-save-marker)
6760 (org-reinstall-markers-in-region): New function.
6761 (org-move-subtree-down, org-copy-subtree): Remember relative
6762 marker positions before cutting.
6763 (org-move-subtree-down, org-paste-subtree): Restore relative
6764 marker positions after pasting.
6766 * org-remember.el (org-remember-clock-out-on-exit): New option.
6767 (org-remember-finalize): Clock out only if the setting in
6768 `org-remember-clock-out-on-exit' requires it.
6769 (org-remember-handler): Do the cleanup in the buffer, to make sure
6770 that the clock marker remains in tact.
6772 2008-04-29 Carsten Dominik <dominik@science.uva.nl>
6774 * org-clock.el (org-clock-goto): Widen buffer if necessary.
6775 (org-clock-in): Make sure that also tasks outside the narrowed
6776 region will be clocked in correctly.
6777 (org-clock-insert-selection-line): Widen the buffer so that we can
6778 find the correct task heading.
6780 * org.el (org-base-buffer): New function.
6782 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6783 and ";" are escaped.
6784 (org-print-icalendar-entries): Also apply
6785 `org-icalendar-cleanup-string' to the headline, not only to the
6788 2008-04-28 Carsten Dominik <dominik@science.uva.nl>
6790 * org-exp.el (org-export-preprocess-hook): New hook.
6791 (org-export-preprocess-string): Call
6792 `org-export-preprocess-hook'.
6794 * org.el (org-font-lock-hook): New variable.
6795 (org-font-lock-hook): New function.
6796 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6800 ;; add-log-time-zone-rule: t
6803 Copyright (C) 2008 Free Software Foundation, Inc.
6805 This file is part of GNU Emacs.
6807 GNU Emacs is free software: you can redistribute it and/or modify
6808 it under the terms of the GNU General Public License as published by
6809 the Free Software Foundation, either version 3 of the License, or
6810 (at your option) any later version.
6812 GNU Emacs is distributed in the hope that it will be useful,
6813 but WITHOUT ANY WARRANTY; without even the implied warranty of
6814 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6815 GNU General Public License for more details.
6817 You should have received a copy of the GNU General Public License
6818 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
6820 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c