1 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
3 * org-latex.el (org-export-latex-preprocess): Protect secondary
6 * org-indent.el (org-indent-initialize): Avoid empty strings as
9 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
10 hat checking for the mark does not throw an error.
11 (org-agenda-diary-entry-in-org-file): Catch the case that there is
12 not `day' text property in the cursor line.
14 * org.el (org-sort-entries-or-items): Make sure that the final
15 entry has a newline before doing the sorting.
17 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
18 property at the beginning of the line.
20 * org.el (org-make-link-string): Don't allow a description with
23 2009-11-19 Carsten Dominik <carsten.dominik@gmail.com>
25 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
26 (org-agenda-insert-diary-as-top-level): New function.
27 (org-agenda-add-entry-to-org-agenda-diary-file): Call
28 `org-agenda-insert-diary-as-top-level'.
30 * org.el (org-occur-in-agenda-files): Make sure none of the
32 (org-activate-plain-links): Add the face property here.
33 (org-set-font-lock-defaults): Do not add the face to plain links,
34 the activator function does this.
36 * org-habit.el (org-is-habit-p): Add doc string.
38 2009-11-18 Carsten Dominik <carsten.dominik@gmail.com>
40 * org-archive.el (org-archive-subtree-default-with-confirmation):
43 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
44 after match optional (happens at the end of a line...).
46 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
49 * org-faces.el (org-copy-face): Set lisp indentation.
50 (org-quote, org-verse): New faces.
52 * org-agenda.el (org-agenda-remove-date): Remove variable.
54 2009-11-17 Carsten Dominik <carsten.dominik@gmail.com>
56 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
58 2009-11-17 Eric Schulte <schulte.eric@gmail.com>
60 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
61 hash keys to cache and re-use images generated by the
62 org-exp-blocks interface to ditaa and dot.
64 2009-11-17 Carsten Dominik <carsten.dominik@gmail.com>
66 * org-html.el (org-export-as-html): Move the home/up link into
69 * org.el (org-export-latex-packages-alist): Option definition
70 moved here from org-latex.el.
72 2009-11-17 Eric Schulte <schulte.eric@gmail.com>
74 * org.el (org-format-latex): Latex images are now saved to files
75 named by the sha1 hash of the latex source text avoiding
76 regeneration of identical images.
78 2009-11-16 Carsten Dominik <carsten.dominik@gmail.com>
80 * org-html.el (org-export-html-home/up-format): Add an ID to the
83 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
85 * org-wl.el (org-wl-store-link): Handle the case that
86 `wl-use-petname' is set.
88 * org.el (org-set-effort): Improve prompt.
89 (org-get-outline-path): Widen to get full path.
90 (org-compact-display-after-subtree-move): Function removed.
92 * org-latex.el (org-export-as-latex): Add the :drawers property.
94 2009-11-14 Carsten Dominik <carsten.dominik@gmail.com>
96 * org.el (org-speed-commands-user): Allow documentation headlines.
97 (org-speed-commands-default): Organize the value of this constant
98 with descriptive headlines.
99 (org-print-speed-command): Output the headlines.
101 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
103 * org-agenda.el (org-agenda-show-outline-path): New option.
104 (org-agenda-do-context-action): New function.
105 (org-agenda-next-line, org-agenda-previous-line): Use
106 `org-agenda-do-context-action'.
108 * org.el (org-use-speed-commands): Allow function value.
109 (org-speed-commands-default): Make headline motion safe, so that
110 these commands always end on a headline.
111 (org-speed-commands-default): New key `v' for `org-agenda'.
112 (org-speed-move-safe): New function.
113 (org-self-insert-command): Use the function value of
114 `org-use-speed-commands'.
115 (org-get-outline-path): Improve docstring.
116 (org-format-outline-path): New function.
117 (org-display-outline-path): New function.
119 2009-11-12 John Wiegley <jwiegley@gmail.com>
121 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
122 a string, use that to find the LOGBOOK drawer.
124 2009-11-12 Carsten Dominik <carsten.dominik@gmail.com>
126 * org.el (org-clone-subtree-with-time-shift): Make it work at the
129 * org-mobile.el (org-mobile-write-checksums): Specify coding
131 (org-mobile-timestamp-buffer): Keep local variable/mode line at
134 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
136 * org.el (org-block-todo-from-children-or-siblings-or-parent)
137 (org-block-todo-from-checkboxes): Do not block changes to a nil
140 2009-11-12 James TD Smith <ahktenzero@mohorovi.cc>
142 * org-habit.el (org-habit-parse-todo): Indicate which habit is
143 wrongly set up in the error messages.
145 * org-colview.el (org-columns-display-here): Don't try to
146 calculate values if the underlying property is not set.
147 (org-columns-string-to-number): Convert age strings back into
149 (org-agenda-colview-summarize): Handle extended summary types
152 * org-colview-xemacs.el (org-columns-display-here): Don't try to
153 calculate values if the underlying property is not set.
154 (org-columns-string-to-number): Convert age strings back into
156 (org-agenda-colview-summarize): Handle extended summary types
159 2009-11-11 Carsten Dominik <carsten.dominik@gmail.com>
161 * org-exp.el (org-export-format-drawer-function): New variable.
162 (org-export-format-drawer): New function.
163 (org-export-preprocess-string): Pass the backend as a parameter to
164 `org-export-remove-or-extract-drawers'.
165 (org-export-remove-or-extract-drawers): New parameter BACKEND.
167 * org-protocol.el (org-protocol-char-to-string): New defsubst.
169 2009-11-10 Carsten Dominik <carsten.dominik@gmail.com>
171 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
172 message when no block is selected.
174 * org-latex.el (org-export-latex-links): Check for protectedness
175 in the last matched character, not after the match.
177 * org-datetree.el (org-datetree-find-date-create): Respect
178 restriction when KEEP-RESTRICTION is set.
179 (org-datetree-file-entry-under): New function.
180 (org-datetree-cleanup): New command.
182 2009-11-08 Dan Davison <davison@stats.ox.ac.uk>
184 * org-src.el (org-edit-src-code): New optional argument context
185 allows calling functions to avoid altering the saved window
187 (org-edit-src-exit): Do not restore window configuration when this
188 function is used in the context of saving the edit buffer.
190 2009-11-09 Carsten Dominik <carsten.dominik@gmail.com>
192 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
193 instances to switching to with-current-buffer, because these seem
194 to cause problems - no idea why.
196 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
197 Require diary-lib for (diary-date-display-form).
199 * org.el (org-log-reschedule, org-log-redeadline): New options.
200 (org-log-note-headings): Add templates for rescheduling and
202 (org-startup-options): Add in-buffer settings for logging changing
203 schedule and deadline time stamps.
204 (org-deadline, org-schedule): Check for existing date and arrange
205 for logging if the user requests it.
206 (org-add-log-note): Prepare proper note buffers for rescheduling
207 and deadline changes.
209 2009-11-08 Carsten Dominik <carsten.dominik@gmail.com>
211 * org-agenda.el (org-agenda-diary-entry-in-org-file)
212 (org-agenda-add-entry-to-org-agenda-diary-file)
213 (org-agenda-insert-diary-make-new-entry): New functions.
214 (org-agenda-diary-entry): Call
215 `org-agenda-diary-entry-in-org-file' when appropriate.
217 * org.el (org-calendar-insert-diary-entry-key): New option.
218 (org-agenda-diary-file): New option.
219 ("calendar"): Install our insertion function in the calendar.
221 * org-remember.el (org-datetree): Require.
222 (org-remember-templates): Add new positioning option.
223 (org-remember-reference-date): New variable.
224 (org-remember-apply-template): Store the reference date in a local
226 (org-remember-handler): Implement date tree positioning of entries.
228 * org-datetree.el: New file.
230 * org-latex.el (org-export-latex-preprocess): Protect targets in
233 * org-html.el (org-export-as-html): Protect targets in verbatim
236 * org-docbook.el (org-export-as-docbook): Protect targets in
239 2009-11-07 James TD Smith <ahktenzero@mohorovi.cc>
241 * org.el (org-link-display-format): Should be literal replacement.
243 2009-11-06 Carsten Dominik <carsten.dominik@gmail.com>
245 * org-clock.el (org-show-notification): Handle messages that
246 contain a percent character.
248 * org-remember.el (org-remember-apply-template): Turn of partial
251 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
252 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
254 * org.el (org-indent-mode): Define variable already in org.el.
255 (org-unfontify-region): Remove line-prefix and wrap-prefix
256 properties only if org-indent-mode is active.
258 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
260 * org-icalendar.el (org-print-icalendar-entries): Save match data
261 around call to verify function.
262 (org-print-icalendar-entries): Add a call to the verification
265 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
266 save-restrivtion' form.
268 2009-11-05 Dan Davison <davison@stats.ox.ac.uk>
270 * org-exp.el (org-export-format-source-code-or-example): restrict
271 scope of preserve-indentp to the let binding.
272 (org-src): require org-src, since org-src-preserve-indentation is used.
274 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
276 * org-timer.el (org-timer-set-timer): Set variables
277 org-timer-timer[123] correctly.
280 * org-mobile.el (org-mobile-files-alist): Make it work when
281 `agenda-archives' is included in
282 `org-agenda-text-search-extra-files'.
283 (org-mobile-push): Restore agenda after mobile push.
285 2009-11-05 John Wiegley <jwiegley@gmail.com>
287 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
288 way the amount of idle time is presented in the minibuffer.
290 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
292 * org-icalendar.el (org-print-icalendar-entries): Use
293 org-icalendar-verify-function only if non-nil.
295 * org.el (org-refile): Refile to clock only if the prefix arg is
297 (org-sparse-tree): Fix docstring to be in line with prompt.
298 (org-update-parent-todo-statistics): Call
299 `org-after-todo-statistics-hook' on each level.
301 2009-11-04 Carsten Dominik <carsten.dominik@gmail.com>
303 * org-remember.el (org-remember-apply-template): Make sure the
306 2009-11-03 Carsten Dominik <carsten.dominik@gmail.com>
308 * org.el (org-tab-ind-state): New variable.
309 (org-cycle-level): New function.
310 (org-cycle-level-after-item/entry-creation): New option.
311 (org-flag-subtree): New function.
312 (org-hide-archived-subtrees): Call `org-flag-subtree'.
313 (org-set-effort): Indexed access.
315 * org-list.el (org-cycle-item-indentation): New function.
317 * org.el (org-refile): Make prefix argument 2 refile to current
319 (org-priority): Interpret action `remove' as call to remove the
322 * org-remember.el (org-remember-apply-template): Don't depend on
323 buffer name being like file name.
325 2009-11-02 Carsten Dominik <carsten.dominik@gmail.com>
327 * org-clock.el (org-clock-play-sound): Expand file in
328 org-clock-sound, to allow ~ for home.
330 * org-remember.el (org-remember-handler): Set
331 text-before-node-creation even if this already looks like a node,
332 because the string might be needed on non-org-mode target files.
334 * org-agenda.el (org-agenda-open-link): Make this work in agenda
336 (org-agenda-switch-to): Follow a link at point if
337 org-return-follows-link' is set and there is nothing else to do in
340 2009-11-02 James TD Smith <ahktenzero@mohorovi.cc>
342 * org-colview-xemacs.el: Add in changes from org-colview.el
344 2009-11-01 Dan Davison <davison@stats.ox.ac.uk>
346 * org-exp-blocks.el: Modify split separator regexp to avoid empty
349 2009-11-01 James TD Smith <ahktenzero@mohorovi.cc>
351 * org-colview.el (org-columns-new): Make this work with the new
353 (org-columns-store-format): Make this work with the new operators.
355 2009-11-01 Carsten Dominik <carsten.dominik@gmail.com>
357 * org-src.el (org-src-preserve-indentation): Document that this
358 variable is also used during export.
360 * org-exp.el (org-export-format-source-code-or-example): Preserve
361 indentation if a block has a -i option, or if
362 `org-src-preserve-indentation' is set.
364 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
365 indentation if a block has a -i option, or if
366 `org-src-preserve-indentation' is set.
368 2009-10-31 Carsten Dominik <carsten.dominik@gmail.com>
370 * org.el (org-mode-map): Define the new archiving keys.
371 (org-speed-commands-default): Define an archiving key in the speed
373 (org-org-menu): Improve the menu structure concerning archiving.
375 * org-archive.el (org-archive-subtree-default-with-confirmation):
378 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
379 (org-agenda-menu): Add the new archiving commands to the menu.
380 (org-agenda-archive-default)
381 (org-agenda-archive-default-with-confirmation): New commands.
382 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
383 call `org-agenda-archive-with'.
384 (org-agenda-archive-with): New function.
386 * org-table.el (org-table-convert-region): Inert spaces around "|"
387 to avoid line beginnings like "|-1" which will be mistaken as
390 2009-10-30 Carsten Dominik <carsten.dominik@gmail.com>
392 * org.el (org-offer-links-in-entry): Return nil if there are no
393 links, t if a link has been selected.
394 (org-open-at-point): Open attachment directory when called in the
395 headline and there are no links in the entry body.
396 (org-speed-commands-default): Add "o" for open-at-point as a speed
399 * org-attach.el (org-attach-reveal): Optional prefix arg
400 IF-EXISTS, which avoids creating the attachment directory if it
403 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
406 2009-10-29 Carsten Dominik <carsten.dominik@gmail.com>
408 * org.el ("abbrev"): Work with abbrev tables only after they have
411 * org-list.el (org-list-send-list): Fix bug related to match
414 * org-latex.el (org-export-latex-fontify): Apply verbatim
416 (org-export-latex-make-header): Insert \obeylines if line breaks
419 * org-exp.el (org-export-protect-verbatim): Add an
420 `org-verbatim-emph' property to such text.
422 2009-10-28 Carsten Dominik <carsten.dominik@gmail.com>
424 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
425 (org-print-icalendar-entries): Skip entries where the timestamp is
426 not a deadline and not scheduled, if the user requests that.
428 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
429 before an opening quote.
431 * org-archive.el (org-archive-subtree): Keep archive after
434 * org-id.el (org-id-update-id-locations): Add archive files if
435 that is required by `org-id-extra-files'.
437 2009-10-27 Carsten Dominik <carsten.dominik@gmail.com>
439 * org-src.el (org-src-window-setup): New option.
440 (org-src-switch-to-buffer): New function.
441 (org-edit-src-exit): Add optional argument CONTEXT and use it to
442 restore window configuration.
443 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
444 Call `org-src-switch-to-buffer'.
446 * org.el (org-default-properties): Add STYLE property.
447 (org-files-list): Use the function call to get the files.
448 (org-additional-option-like-keywords): Add SETUPFILE to completion
451 2009-10-26 Carsten Dominik <carsten.dominik@gmail.com>
453 * org-table.el (org-table-convert-region): Correctly interpret
454 quoting in csv import.
456 * org.el (org-icompleting-read): Make iswitchb completion work
457 with lists and tables.
459 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
460 while pushing the mobile agenda.
462 2009-10-25 John Wiegley <jwiegley@gmail.com>
465 (org-clock-auto-clock-resolution): Now takes three values: nil, t
466 and `when-no-clock-is-running'.
467 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
468 whether or not to resolve Org buffers on clock in.
470 2009-10-25 James TD Smith <ahktenzero@mohorovi.cc>
472 * org-colview.el (org-format-time-period): Function to format
473 times in fractional days for display.
474 (org-columns-display-here): Add support for showing a calculated
475 value in place of the property.
476 (org-columns): Set `org-columns-time' to the current time so time
477 difference calculations will work.
478 (org-columns-time): Use to store the current time when column view
479 is displayed, so all time differences will use the same reference
481 (org-columns-compile-map): There is now an extra position in each
482 entry specifying the function to use to calculate the displayed
483 value for the non-calculated properties in the column,
484 (org-columns-compute-all): Set `org-columns-time' to the current
485 time so time difference calculations will work.
486 (org-columns-compute): Handle column operators where the values
487 used are calculated from the underlying property.
488 (org-columns-number-to-string): Handle the 'age' column format
489 (org-columns-string-to-number): Correct the function name (was
490 org-column...). Add support for the 'age' column format.
491 (org-columns-compile-format): Support the additional parameter in
492 org-columns-compile-map.
494 2009-10-26 Bastien Guerry <bzg@altern.org>
496 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
499 2009-10-25 Carsten Dominik <carsten.dominik@gmail.com>
501 * org-clock.el (org-clock-has-been-used): New variable.
502 (org-clock-in): Set `org-clock-has-been-used'.
503 (org-clock-save): Save only if clock data has been used or created
506 2009-10-24 Carsten Dominik <carsten.dominik@gmail.com>
508 * org-clock.el (org-clock-persist): New value, to store only the
510 (org-clock-save): Don't save the clock if only the history should
512 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
513 when restoring a saved clock.
515 2009-10-24 John Wiegley <jwiegley@gmail.com>
517 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
518 `org-time-clock-use-fractional'.
520 * org.el (org-time-clocksum-use-fractional)
521 (org-time-clocksum-fractional-format): Two new customizable
522 variables which allow the user to select fractional times (1.25
523 instead of 1:25) in the `org-clock-display' report.
525 2009-10-23 John Wiegley <jwiegley@gmail.com>
527 * org-habit.el (org-habit-build-graph): None of the arguments
529 (org-habit-parse-todo, org-habit-deadline)
530 (org-habit-get-priority, org-habit-get-faces)
531 (org-habit-build-graph): Further simplifications by storing all
532 past, scheduled and deadline dates as a number of days past the
533 epoch, and not as times.
535 * org-habit.el (org-habit-warning-face)
536 (org-habit-warning-future-face): Removed because these are no
538 (org-habit-deadline, org-habit-deadline-repeat): Now always
539 returns a date; computed if there was a scheduled repeater but no
541 (org-habit-get-priority): Further improvements to the priority
542 algorithm. In particular, items past due should always appear
543 before items due or not yet due.
544 (org-habit-get-faces): Greatly simplified the logic, now that
545 `org-habit-deadline' always returns a valid time.
547 2009-10-23 Carsten Dominik <carsten.dominik@gmail.com>
549 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
552 * org.el (org-tag-alist): Fix customization type.
554 2009-10-22 Carsten Dominik <carsten.dominik@gmail.com>
556 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
557 Make sure the regexp search can fail without throwing an error.
558 (org-mobile-apply): Save the inbox buffer after removing
559 successfully applied changes.
561 2009-10-22 John Wiegley <jwiegley@gmail.com>
563 * org-habit.el (org-habit-build-graph): Fix to the graph building
564 when last DONE date is earlier than `org-habit-preceding-days'.
566 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
567 time is reported after the user comes back (but before they
570 * org.el (org-get-repeat): Change so that this function can be
571 called with either `org-scheduled-string' or
572 `org-deadline-string'.
574 * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
575 to find the scheduled date.
577 * org-clock.el (org-clock-auto-clock-resolution): Renamed
578 `org-clock-disable-clock-resolution', since negatives don't sound
579 good in customization variables.
580 (org-clock-in): Don't use the auto-resolution logic if the user is
581 clocking into a different task while an active clock is running.
582 This then allows the default behavior of clocking out of the open
583 task and then into the new task.
585 * org-habit.el (org-habit-parse-todo): Generate an error if a
586 habit has a scheduled repeat period < 1.
587 (org-habit-get-faces): Fixes to the way that colors are computed.
588 (org-habit-build-graph): The graph wasn't displaying beyond any
589 day that had two completions in it.
591 * org.el (org-modules): Made this variable more consistent, since
592 it was referring to Org, OrgMode and Org-mode, whereas the docs
593 for the variable always refer to Org-mode.
595 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
597 * org.el (org-repeat-re): The changed org-repeat-re no longer
598 matched simple +2d type repeaters. Fix it so it does.
600 2009-10-21 Carsten Dominik <carsten.dominik@gmail.com>
602 * org-latex.el (org-export-latex-preprocess): Protect the vspace
603 macro in the VERSE environment.
605 2009-10-20 John Wiegley <jwiegley@gmail.com>
607 * org-habit.el (org-habit-get-priority): A new function that
608 determines the relative priority of a habit, based on how long
609 past its scheduled date it is, and how near the deadline is.
611 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
612 using `org-habit-get-priority'.
614 * org-habit.el (org-habit-build-graph): Start displaying colors
615 from the first scheduled date, if that date is earlier than the
616 first completion date.
618 * org-habit.el: Changed all "color" variables to faces, and made
619 them appropriate for light and dark backgrounds.
621 * org-habit.el (org-habit-duration-to-days): Made this function
623 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
625 * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
626 habits, since they don't use DEADLINE anymore.
628 * org.el (org-repeat-re, org-display-custom-time)
629 (org-timestamp-change): Extended to support the new ".+N/N"
630 syntax, used for habits.
632 * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
635 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
636 modeline when habits are being displayed (if that module is being
639 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
641 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
642 idle time using the xscreensaver extension.
643 (org-user-idle-seconds): Use X11 idle time if available.
645 2009-10-20 Carsten Dominik <carsten.dominik@gmail.com>
647 * org-agenda.el (org-agenda-next-line): New command.
648 (org-agenda-previous-line): New commands.
649 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
651 (org-agenda-follow-mode): Do the follow immediately if the mode is
653 (previous-line, next-line): Replace keys with the corresponding
655 (org-agenda-mode-map): Bind backspace and delete to the scrolling
658 * org.el (org-icompleting-read): Turn off partial completion mode
659 for the duration of this completion round.
661 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
662 macros in author lines and similar stuff.
664 * org.el (org-file-tags): Fix docstring.
665 (org-get-buffer-tags): Add the #+FILETAGS tags.
666 ("ecb"): Maks ecb show context after jumping into an Org file.
668 2009-10-20 John Wiegley <johnw@newartisans.com>
670 * org-agenda.el (org-finalize-agenda): Draw habit consistency
671 graphs after everything else in the buffer has been setup.
673 2009-10-19 Carsten Dominik <carsten.dominik@gmail.com>
675 * org-mobile.el (org-mobile-apply): Count success and failure.
677 * org.el (org-indent-line-function): Fix regexp replace problem.
679 2009-10-19 John Wiegley <johnw@newartisans.com>
681 * org-clock.el (org-clock-disable-clock-resolution): New
682 customization variable that disable automatic clock resolution on
684 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
685 not automatically resolve anything. This is does not affect
686 idle-time resolution, however, if `org-clock-idle-time' is set.
688 2009-10-19 John Wiegley <johnw@newartisans.com>
690 * org-habit.el: New file, which implements code to build a "habit
693 * org-agenda.el (org-agenda-get-deadlines)
694 (org-agenda-get-scheduled): Display consistency graphs when
695 outputting habits into the agenda. The graphs are always relative
697 (org-format-agenda-item): Added new parameter `habitp', which
698 indicates whether we are formatting a habit or not. Do not
699 display "extra" leading information if habitp is true.
701 * org.el (org-repeat-re): Improved regexp to include .+ and ++
702 leaders for repeat strings.
703 (org-get-repeat): Now takes a string parameter `tagline', so the
704 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
706 2009-10-19 John Wiegley <johnw@newartisans.com>
708 * org-agenda.el (org-agenda-auto-exclude-function): New
709 customization variable for allowing the user to create an "auto
710 exclusion" filter for doing context-aware auto tag filtering.
711 (org-agenda-filter-by-tag): Changes to support the use of
712 `org-agenda-auto-exclude-function'. See the new manual addition,.
714 2009-10-18 John Wiegley <johnw@newartisans.com>
716 * org.el (org-files-list): Don't attempt to return a file name for
717 Org buffers which have no associated file.
719 * org-agenda.el (org-agenda-do-action): Fixed a typo.
721 2009-10-18 Carsten Dominik <carsten.dominik@gmail.com>
723 * org-mobile.el (org-mobile-locate-entry): Interpret files
724 relative to org-directory.
725 (org-mobile-inbox-for-pull): Document the best location for this
727 (org-mobile-check-setup): Verify `org-directory'.
728 (org-mobile-create-index-file): Sort the files to be listed in
731 2009-10-17 James TD Smith <ahktenzero@mohorovi.cc>
733 * org.el (org-fast-tag-selection): Add a way to display a
734 description for a tag group. This is done by adding a string to
735 either the startgroup or endgroup cell.
737 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
739 * org-clock.el (org-clock-resolve, org-resolve-clocks)
740 (org-emacs-idle-seconds): Use `org-float-time' instead of
743 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
745 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
748 * org.el (org-pre-cycle-hook): Document that `empty' can also be
749 the value of ARG when doing local cycling.
751 2009-10-17 John Wiegley <johnw@newartisans.com>
753 * org-clock.el (org-clock-resolve-clock): If keeping or
754 subtracting time results in a clock out at a time in the past, and
755 if the resolution occurred due to idleness or invoking `M-x
756 org-resolve-clocks', remember that past moment in time. On the
757 next clock in, the user will be prompted to see if they want to
758 back-date their new clock to then.
759 (org-clock-resolve): Do not jump the user to the location of a
760 dangling clock if the resolution is occuring due to an idle
761 timeout. In that case there is typically only one dangling clock,
762 the active one, and there is no value gained by shuffling their
763 windows around to show it to them. Being prompted to resolve an
764 idle clock should be as inobtrusive as possible.
765 (org-resolve-clocks-if-idle): New function that resolves only the
766 currently active clock if the user has exceeded the time returned
767 by `org-user-idle-seconds', based on the value of
768 `org-clock-idle-time'.
769 (org-clock-in): If, after resolving clocks,
770 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
772 * org-clock.el (org-clock-resolve-clock): New function that
773 resolves a clock to a specific time, closing or resuming as need
774 be, and possibly even starting a new clock.
775 (org-clock-resolve): New function used by `org-resolve-clocks'
776 that sets up for the call to `org-clock-resolve-clock'. It
777 determines the time to resolve to based on a single-character
778 selection from the user to either keep time, subtract away time or
780 (org-resolve-clocks): New user command which resolves dangling
781 clocks -- that is, open but not active -- anywhere in the file
782 list returned by `org-files-list'.
783 (org-clock-in): Automatically resolve dangling clocks whenever a
785 (org-clock-cancel): If the user cancels the solely clock in a
786 LOGBOOK, remove the empty drawer.
788 * org-clock.el (org-clock-idle-time): New user customizable option
789 for detecting whether the user has left a clock idle. Note: it is
790 only used in this commit to test whether it's worthwhile to check
791 OS X to get the Mac user's current idle time. If the Emacs idle
792 time is less than the value, the user hasn't been away long enough
793 to be worth checking (a more expensive test than just getting
795 (org-user-idle-seconds, org-mac-idle-seconds)
796 (org-emacs-idle-seconds): This three functions, in conjunction
797 with the user customization variable `org-clock-idle-time', return
798 the number of seconds (as a floating point) that the user has been
799 away from their Emacs (or, if running on OS X, their computer).
801 * org-clock.el (org-find-open-clocks): New function that returns a
802 list of all open clocks in the given FILE. Note that each clock
803 it returns is a cons cell of the format (MARKER . START-TIME).
804 This "clock" value is used by several of the new clock module
806 (org-is-active-clock): New inline function which tests whether the
807 given clock value is the same as the currently active clock.
808 Returns non-nil if this is the case.
809 (org-with-clock-position): New macro that evaluates FORMS with
810 point in the buffer and at the position of the given clock.
811 Changes to the current clock are global.
812 (org-with-clock): New macro that evaluates FORMS with point in the
813 buffer and at the position of the given clock. However, changes
814 to the current clock are local and have no effect on the user's
815 active clock. This allows, for example, far any clock to be
816 cancelled without cancelling the active clock.
817 (org-clock-clock-in): New inline function that switches the active
818 clock to the given clock. If either the argument RESUME, or the
819 global `org-clock-in-resume', are non-nil, it will resume a clock
820 that was previously left open.
821 (org-clock-clock-out): New inline function that clocks out the
822 given clock value without affecting the currently active clock.
823 (org-clock-clock-cancel): New inline function that cancels the
824 given clock value without affecting the currently active clock.
826 * org-clock.el (org-clock-in): Before creating
827 `org-clock-mode-line-timer', check to make sure an older timer is
828 not currently running.
829 (org-clock-out): Accept new third parameter `at-time', which
830 permits a clock to be clocked out at a specific time. Note that
831 no attempt is made to verify that the clock out time is later than
834 * org.el (org-files-list): New utility function for returning a
835 list of all open org-mode buffers, plus all files used to build
836 the agenda buffer. Note that not all the files will necessarily
837 be visited by a buffer at time of call.
838 (org-entry-beginning-position): Like the function
839 `line-beginning-position', this inline function returns the
840 beginning position of the current heading/entry.
841 (org-entry-end-position): Like the function `line-end-position',
842 this inline function returns the end position of the current
845 2009-10-16 Carsten Dominik <carsten.dominik@gmail.com>
847 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
850 2009-10-15 Carsten Dominik <carsten.dominik@gmail.com>
852 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
854 2009-10-14 Carsten Dominik <carsten.dominik@gmail.com>
856 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
857 entries that have no tags.
858 (org-agenda-search-view): New customize group.
859 (org-agenda-search-view-search-words-only): New option.
860 (org-search-view): Implement substring search.
862 2009-10-13 Carsten Dominik <carsten.dominik@gmail.com>
864 * org.el (org-outline-level): Add doc string.
866 2009-10-12 Carsten Dominik <carsten.dominik@gmail.com>
868 * org-inlinetask.el (org-inlinetask-export): Re-introduce
870 (org-inlinetask-export-handler): Only export inline task if the
871 user option calls for it.
873 2009-10-10 Carsten Dominik <carsten.dominik@gmail.com>
875 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
878 2009-10-07 Carsten Dominik <carsten.dominik@gmail.com>
880 * org-latex.el (org-export-latex-tables): Don't format in
883 2009-10-06 Carsten Dominik <carsten.dominik@gmail.com>
885 * org-src.el (org-edit-src-code)
886 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
889 * org-agenda.el (org-prefix-category-max-length): New variable.
890 (org-format-agenda-item): Use `org-prefix-category-max-length'.
891 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
893 2009-10-03 Carsten Dominik <carsten.dominik@gmail.com>
895 * org-mobile.el (org-mobile-create-index-file): Improve the
896 listing of tags and todo keywords.
898 * org-latex.el (org-export-latex-format-image): New function.
899 (org-export-latex-links): Use `org-export-latex-format-image'.
901 2009-10-02 Carsten Dominik <carsten.dominik@gmail.com>
903 * org-inlinetask.el (org-inlinetask-get-current-indentation)
904 (org-inlinetask-remove-terminator): New functions.
905 (org-inlinetask-export-handler): Terminate the description list.
907 * org-exp.el (org-export-select-backend-specific-text): Remove the
910 * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
911 tasks without content.
913 * org-clock.el: Make sure the clock-in target position does not
914 move to a different node by widening the buffer.
916 * org-html.el (org-export-html-format-image): Wrap image into
917 figure div only when there is a caption.
919 * org-archive.el (org-archive-mark-done): Change default value to
922 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
924 * org.el (org-context): Call `bobp', not `eobp'.
926 * org-clock.el (org-clock-cancel): Remove quotes from marker
929 * org.el (org-read-date-prefer-future): New allowed value `time'.
930 (org-read-date-analyze): Shift day to tomorrow depending on time
931 entered and value of `org-read-date-prefer-future'.
933 2009-09-30 Carsten Dominik <carsten.dominik@gmail.com>
935 * org.el (org-set-tags-to): New command.
937 * org-mobile.el (org-mobile-action-alist): Add more options and
938 update the docstring.
939 (org-mobile-apply-flags): Parse for and use the data.
941 * org-latex.el (org-export-latex-set-initial-vars): Also check in
944 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
947 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
949 2009-09-29 Carsten Dominik <carsten.dominik@gmail.com>
951 * org-inlinetask.el (org-inlinetask-export): Option removed.
952 (org-inlinetask-export-handler): Better export.
954 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
955 (org-export-as-xoxo): Run the new hook.
957 * org-html.el (org-export-html-final-hook): New hook.
958 (org-export-as-html): Run the new hook.
960 * org-docbook.el (org-export-docbook-final-hook): New hook.
961 (org-export-as-docbook): Run the new hook.
963 * org-ascii.el (org-export-ascii-final-hook): New hook.
964 (org-export-as-ascii): Run the new hook.
966 * org-mobile.el (org-mobile-create-sumo-agenda): Call
967 `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
969 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
970 space character as the character before the ^/_.
971 (org-export-latex-final-hook): New hook.
972 (org-export-as-latex): Run `org-export-latex-final-hook'.
974 2009-09-28 Carsten Dominik <carsten.dominik@gmail.com>
976 * org-macs.el (org-if-unprotected-at): Fix docstring.
978 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
979 text in the prefix (if category is a link).
981 * org-latex.el (org-export-latex-preprocess): Deal properly with
982 empty lines in verse environments.
984 * org.el (org-format-latex-header): Inline fullpage.sty.
986 * org-footnote.el (org-footnote-create-definition): Reveal context
987 to add a new footnote definition.
989 * org-mobile.el (org-mobile-files-alist): Add the list of tags to
991 (org-mobile-files): New option.
992 (org-mobile-files-alist, org-mobile-checksum-files): New variable.
993 (org-mobile-prepare-file-lists, org-mobile-files-alist): New
995 (org-mobile-push): Start by creating the files lists.
996 (org-mobile-copy-agenda-files): Move killing the buffer to after
997 the save-excursion has exited.
998 (org-mobile-write-checksums): Write checksums also for files in
1001 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1002 org-table-recalculate when cursor is in TBLFM line.
1004 * org-list.el (org-renumber-ordered-list): Fix cursor position
1005 when bullet length has changed.
1007 2009-09-26 Carsten Dominik <carsten.dominik@gmail.com>
1009 * org.el (org-format-latex): Mention `org-format-latex-options' in
1012 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
1014 * org.el (org-agenda-get): New function.
1016 * org-agenda.el (org-agenda-post-command-hook): No longer move
1017 point away from end of line.
1018 (org-agenda-add-entry-text, org-agenda-collect-markers)
1019 (org-finalize-agenda, org-agenda-mark-clocking-task)
1020 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1021 (org-agenda-entry-text-show, org-agenda-highlight-todo)
1022 (org-agenda-compare-effort, org-agenda-filter-apply)
1023 (org-agenda-later, org-agenda-change-time-span)
1024 (org-agenda-post-command-hook, org-agenda-show-priority)
1025 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1026 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1027 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1028 (org-agenda-open-link, org-agenda-copy-local-variable)
1029 (org-agenda-switch-to, org-agenda-check-no-diary)
1030 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1031 (org-agenda-add-note, org-agenda-change-all-lines)
1032 (org-agenda-priority, org-agenda-set-tags)
1033 (org-agenda-set-property, org-agenda-set-effort)
1034 (org-agenda-toggle-archive-tag, org-agenda-date-later)
1035 (org-agenda-show-new-time, org-agenda-date-prompt)
1036 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1037 (org-agenda-clock-in, org-agenda-bulk-mark)
1038 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1041 * org-colview.el (org-columns-display-here)
1042 (org-columns-edit-allowed, org-agenda-columns): Use
1045 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
1047 * org.el (org-special-ctrl-a/e): Improve documentation and
1049 (org-end-of-line): Don't jump to after the ellipsis.
1050 (org-mode-map): Bind <home> and <end> as well.
1052 2009-09-24 Carsten Dominik <carsten.dominik@gmail.com>
1054 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1055 space after #+ as comments.
1056 (org-open-at-point): Run `org-follow-link-hook' always.
1058 * org-latex.el (org-export-latex-emph-format): Use better commands
1059 to insert special characters in verbatim snippets.
1061 2009-09-22 Carsten Dominik <carsten.dominik@gmail.com>
1063 * org-faces.el (org-copy-face): New function. Use it to create
1064 various faces formerly created by using `copy-face'.
1066 * org-agenda.el (org-prepare-agenda): Don't officially mark this
1068 (org-agenda-quit): Kill the frame containing the agenda window if
1069 that frame was created for the agenda.
1071 2009-09-21 Carsten Dominik <carsten.dominik@gmail.com>
1073 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1074 stamp in the agenda.
1076 2009-09-19 Carsten Dominik <carsten.dominik@gmail.com>
1078 * org-mobile.el (org-mobile-create-index-file): Add the list of
1079 TODO keywords, and the list of drawers to the index file.
1081 * org-agenda.el (org-prepare-agenda): Reset
1082 `org-drawers-for-agenda'.
1083 (org-prepare-agenda): Uniquify list of drawers.
1085 * org.el (org-complex-heading-regexp-format): New variable.
1086 (org-set-regexps-and-options): Define
1087 `org-complex-heading-regexp-format'.
1088 (org-drawers-for-agenda): New variable.
1089 (org-map-entries): Bind `org-drawers-for-agenda'.
1090 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1092 * org-remember.el (org-go-to-remember-target)
1093 (org-remember-handler): Use `org-complex-heading-regexp-format'.
1095 2009-09-18 Carsten Dominik <carsten.dominik@gmail.com>
1097 * org-agenda.el (org-agenda-highlight-todo): Fix text property
1100 * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
1101 the capture file, and make it non-configurable.
1103 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1104 always with `invisible-ok'.
1105 (org-store-link): No error when there is nothing to link to in the
1108 * org-list.el (org-update-checkbox-count): Insert changed cookie
1109 before the old, to avoid problems with invisibility at the end of
1111 (org-update-checkbox-count): Insert changed cookie before the old,
1112 to avoid problems with invisibility at the end of the line.
1114 * org.el (org-sort-entries-or-items): Include the final newline.
1115 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1116 lines for fontification.
1117 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1118 (org-prepare-dblock): Store the current indentation of the BEGIN
1120 (org-update-dblock): Apply the indentation of the begin line to
1121 the rest of the block.
1122 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1123 (org-startup-folded): New allowed value `showeverything'.
1124 (org-startup-options): Add STARTUP keyword `showeverything'.
1125 (org-set-startup-visibility): Respect value `showeverything' in
1128 2009-09-17 Carsten Dominik <carsten.dominik@gmail.com>
1130 * org.el (org-closest-date): Fix issue with past preference.
1132 * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
1134 * org-archive.el (org-archive-set-tag)
1135 (org-archive-subtree-default): New commands.
1137 * org-mobile.el (org-mobile-create-index-file): Fix link to
1139 (org-mobile-copy-agenda-files): Create the capture file if it does
1142 * org-clock.el (org-clock-clocktable-default-properties): New
1144 (org-clock-report): Use
1145 `org-clock-clocktable-default-properties'.
1147 2009-09-16 Carsten Dominik <carsten.dominik@gmail.com>
1149 * org.el (org-iswitchb-completing-read): Fix typo.
1151 * org-crypt.el: New file.
1153 * org.el: Add an entry for org-crypt.
1155 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
1157 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1159 (org-batch-store-agenda-views): New function.
1160 (org-mobile-force-id-on-agenda-items): Mention variable.
1161 (org-agenda-title-append): Define variable.
1162 (org-write-agenda): New export to Org files.
1163 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1164 (org-agenda): Allow to keep the restricted file list if a special
1165 variable is bound to t.
1166 (org-agenda): Define a special agenda view for working on flagged
1168 (org-agenda-get-restriction-and-command): List the new agenda
1170 (org-agenda-show-the-flagging-note): New command.
1171 (org-agenda-mode-map): New key `?' for looking at the flagging
1174 * org.el (org-autoload): Autoload org-mobile.el.
1175 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1177 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1179 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
1181 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1183 (org-table-get-remote-range): Match indented #+TBLNAME
1186 * org.el (org-convert-to-odd-levels)
1187 (org-convert-to-oddeven-levels): Work also correctly if the file
1190 2009-09-12 Carsten Dominik <carsten.dominik@gmail.com>
1192 * org.el (org-store-link): When in agenda buffer, link to
1194 (org-add-planning-info): Remove spaces at eol.
1196 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1199 2009-09-10 Carsten Dominik <carsten.dominik@gmail.com>
1201 * org-latex.el (org-export-latex-first-lines): Fix problem with
1202 LaTeX export of first line and selected subtree.
1204 * org.el (org-shifttab): Interpret arg differently when using only
1207 2009-09-09 Bastien Guerry <bzg@altern.org>
1209 * org.el (org-check-agenda-file): Use a more explicit message
1211 2009-09-08 Carsten Dominik <carsten.dominik@gmail.com>
1213 * org-exp.el (org-export-remove-special-table-lines): Don't remove
1216 2009-09-08 Bastien Guerry <bzg@altern.org>
1218 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1219 prompt in the temporary window.
1221 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1222 prefix for marked entries in the agenda view.
1224 2009-09-07 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
1226 * org.el (outline-end-of-subtree): Bugfix: advise this function in
1227 a way that prevents any trailing character from being displayed.
1229 2009-09-07 Carsten Dominik <carsten.dominik@gmail.com>
1231 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1234 * org-exp.el (org-export-remove-special-table-lines): Remove bad
1237 2009-09-06 Carsten Dominik <carsten.dominik@gmail.com>
1239 * org-latex.el (org-export-latex-preprocess): Do not protect in
1242 * org-src.el (org-edit-src-save): Save window setup while saving.
1243 (org-edit-src-code): Use new buffer name construction scheme.
1245 2009-09-04 Carsten Dominik <carsten.dominik@gmail.com>
1247 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1249 (org-agenda-entry-text-cleanup-hook): New hook.
1250 (org-agenda-get-some-entry-text): Remove matches of
1251 `org-agenda-entry-text-exclude-regexps' and run the hook
1252 `org-agenda-entry-text-cleanup-hook'.
1254 * org.el (org-offer-links-in-entry): New argument ZERO to
1255 implement a link with index zero.
1256 (org-cycle-show-empty-lines): Not keep empty line under header
1258 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1259 to nil for special completion.
1260 (org-store-link): Don't error before the first heading.
1262 * org-agenda.el (org-agenda-open-link): Pass the prefix to
1263 `org-offer-links-in-entry'.
1265 2009-09-03 Carsten Dominik <carsten.dominik@gmail.com>
1267 * org-agenda.el (org-agenda-quit): Provide the window argument for
1268 `window-dedicated-p', Emacs 22 needs it.
1269 (org-format-agenda-item): If the category is a link, arrange for
1270 invisible text to replaced with spaces.
1271 (org-compile-prefix-format): Add the extra space.
1272 (org-prefix-category-length): New variable.
1274 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1275 references from TOC lines.
1277 * org.el (org-selected-window): New variable.
1279 * org-table.el (org-table-edit-formulas): Remember the selected
1281 (org-table-fedit-finish, org-table-fedit-abort): Select the window
1282 that was originally selected.
1284 * org-exp.el (org-export-preprocess-apply-macros): Scan the
1285 expansion of a macro for more macro definitions.
1287 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1288 invisibility overlay starts on the newline.
1290 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1292 * org-protocol.el (org-protocol-store-link)
1293 (org-protocol-remember, org-protocol-open-source): Add autoloads.
1295 * org-compat.el (org-float-time): New function.
1297 * org.el (org-clock-update-time-maybe)
1298 (org-sort-entries-or-items, org-do-sort)
1299 (org-evaluate-time-range, org-time-string-to-seconds)
1300 (org-closed-in-range): Use `org-float-time'.
1302 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1303 (org-timer-seconds): Use `org-float-time'.
1305 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1306 (org-clock-sum, org-dblock-write:clocktable)
1307 (org-clocktable-steps): Use `org-float-time'.
1309 * org-agenda.el (org-agenda-last-marker-time)
1310 (org-agenda-new-marker, org-diary): Use `org-float-time'.
1312 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1315 * org-exp.el (org-get-file-contents): Only protect lines that
1318 * org-html.el (require): Require cl for compilation.
1320 * org.el: Avoid using `default-major-mode'.
1322 * org-plot.el (require): Require CL only at compile time.
1324 * org-exp.el (require): Require CL only at compile time.
1326 * org-agenda.el (org-agenda-quit): When the agenda window is
1327 dedicated, remove other windows before exiting, so that the frame
1328 really will be killed.
1330 * org-exp.el (org-export-handle-include-files): Reset START and
1331 END for each loop cycle.
1333 2009-09-01 Carsten Dominik <carsten.dominik@gmail.com>
1335 * org.el (org-eval-in-calendar): Use
1336 `org-select-frame-set-input-focus'.
1338 * org-compat.el (org-select-frame-set-input-focus): New function.
1340 * org.el (org-update-statistics-cookies): New function.
1341 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1343 2009-08-31 Carsten Dominik <carsten.dominik@gmail.com>
1345 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1346 after the local variables are set.
1348 * org-latex.el (org-export-latex-protect-amp): New function.
1349 (org-export-latex-links): Protect link ampersands in tables.
1351 * org-exp.el (org-export-select-backend-specific-text): Match in
1352 two steps, to avoid regexp problems.
1354 * org.el (org-offer-links-in-entry): Improve working with many and
1357 * org-agenda.el (org-agenda-show-1): Make more consistent with
1359 (org-agenda-cycle-show): Make more consistent with normal cycling.
1361 * org-gnus.el (org-gnus-store-link): Restore the linking to a
1364 2009-08-30 Bastien Guerry <bzg@altern.org>
1366 * org-latex.el (org-export-latex-first-lines): Bugfix.
1368 2009-08-29 Carsten Dominik <carsten.dominik@gmail.com>
1370 * org-clock.el (org-clock-modify-effort-estimate): Emit message
1373 * org.el (org-set-effort): New function.
1374 (org-mode-map): New key for effort setting command.
1376 * org-agenda.el (org-agenda): Keep window setup when calling
1377 agenda from within agenda window.
1378 (org-agenda-mode-map): New keys for effort setting commands.
1379 (org-agenda-menu): Add effort setting commands to menu.
1380 (org-agenda-set-property, org-agenda-set-effort): New functions.
1382 * org-latex.el (org-export-latex-tables): Fix
1383 `org-table-last-alignment' and `org-table-last-column-widths' if
1384 the first column has been removed.
1386 2009-08-28 Carsten Dominik <carsten.dominik@gmail.com>
1388 * org.el (org-remove-timestamp-with-keyword): Only remove in
1389 entry, not in subtree.
1391 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1394 * org.el (org-open-at-point): When on headline, offer all strings
1397 * org-remember.el (org-remember-templates): Documentation fix.
1399 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1400 `org-get-last-sibling' instead of the outline versions of these
1402 (org-get-last-sibling): New function.
1403 (org-refile): Use `org-get-next-sibling' instead of the outline
1404 version of this function.
1405 (org-clean-visibility-after-subtree-move): Use
1406 `org-get-next-sibling' and `org-get-last-sibling' instead of the
1407 outline versions of these functions.
1409 2009-08-27 Carsten Dominik <carsten.dominik@gmail.com>
1411 * org-agenda.el (org-prepare-agenda): When creating a new frame
1412 for the agenda, make the window dedicated.
1414 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1416 * org-table.el (org-table-align): Change the order of reinsertion
1417 and deletion, to avoid problems with overlays following the table.
1419 * org.el (org-parse-time-string): Better error message.
1420 (org-show-subtree): Use org-end-of-subtree.
1422 * org-macs.el (org-goto-line): New defsubst.
1424 * org.el (org-open-file, org-change-tag-in-region)
1425 (org-fast-tag-show-exit): Don't use `goto-line'.
1427 * org-table.el (org-table-align, org-table-insert-column)
1428 (org-table-delete-column, org-table-move-column)
1429 (org-table-sort-lines, org-table-copy-region)
1430 (org-table-paste-rectangle, org-table-wrap-region)
1431 (org-table-get-specials, org-table-rotate-recalc-marks)
1432 (org-table-get-range, org-table-recalculate)
1433 (org-table-edit-formulas, org-table-fedit-convert-buffer)
1434 (org-table-show-reference, org-table-highlight-rectangle): Don't
1437 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1438 (org-edit-src-exit): Don't use `goto-line'.
1440 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1442 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1443 Don't use `goto-line'.
1445 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1447 * org-colview.el (org-columns, org-columns-redo)
1448 (org-agenda-columns): Don't use `goto-line'.
1450 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1453 * org-agenda.el (org-agenda-mode): Force visual line motion off.
1454 (org-agenda-add-entry-text-maxlines): Improve docstring.
1455 (org-agenda-start-with-entry-text-mode): New option.
1456 (org-agenda-entry-text-maxlines): New option.
1457 (org-agenda-entry-text-mode): New variable.
1458 (org-agenda-mode): Set initial value of
1459 `org-agenda-entry-text-mode'.
1460 (org-agenda-mode-map): Add the `E' key.
1461 (org-agenda-menu): Add entry text mode to the menu.
1462 (org-agenda-get-some-entry-text): Fix line count bug.
1463 (org-finalize-agenda): Apply entry text mode if appropriate.
1464 (org-agenda-entry-text-show-here): New function.
1465 (org-agenda-entry-text-show): New function.
1466 (org-agenda-entry-text-hide): New function.
1467 (org-agenda-view-mode-dispatch): Add entry text mode to the view
1469 (org-agenda-entry-text-mode): New command.
1470 (org-agenda-set-mode-name): Add entry text mode to the mode line
1472 (org-agenda-undo, org-agenda-get-restriction-and-command)
1473 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1476 2009-08-26 Bernt Hansen <bernt@norang.ca>
1478 * org-clock.el (org-notify): Bugfix.
1480 2009-08-25 Carsten Dominik <carsten.dominik@gmail.com>
1482 * org-agenda.el (org-agenda-open-link): Handle multiple links and
1483 check for after-string.
1485 * org-gnus.el (org-gnus-store-link): Simplify.
1487 * org.el (org-latex-regexps): Don't add extra empty lines for
1490 2009-08-24 Carsten Dominik <carsten.dominik@gmail.com>
1492 * org-agenda.el (org-agenda-get-some-entry-text): New function.
1493 (org-agenda-add-entry-text): Use
1494 `org-agenda-get-some-entry-text'.
1496 * org.el (org-cycle-separator-lines): Update docstring.
1497 (org-cycle-show-empty-lines): Handle negative values for
1498 `org-cycle-show-empty-lines'.
1500 * org-exp.el (org-export-protect-sub-super): New function.
1501 (org-export-normalize-links): Protect the url of plain links from
1502 supscript and superscript processing.
1504 * org-remember.el (org-remember-escaped-%): New function.
1505 (org-remember-apply-template): Use `org-remember-escaped-%' to
1506 detect escaped % signs.
1508 2009-08-23 Bastien Guerry <bzg@altern.org>
1510 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1511 sound when showing the notification.
1513 * org-clock.el (org-notify): New function.
1514 (org-clock-notify-once-if-expired): Use `org-notify'.
1516 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1517 and `gnus-article-mode' separately.
1518 (gnus-summary-article-header): Fix the declare-function.
1520 2009-08-23 Carsten Dominik <carsten.dominik@gmail.com>
1522 * org-exp.el (org-export-format-source-code-or-example): Translate
1525 * org-src.el (org-src-lang-modes): New variable
1526 (org-edit-src-code): Translate language.
1528 * org-exp.el (org-export-format-source-code-or-example): Deal wit
1529 the new structure of the `org-export-latex-listings-langs'
1532 * org-latex.el (org-export-latex-listings-langs): Change structure
1533 of the variable from plist to alist.
1535 2009-08-21 Carsten Dominik <carsten.dominik@gmail.com>
1537 * org.el (org-in-commented-line): New function.
1539 2009-08-20 Carsten Dominik <carsten.dominik@gmail.com>
1541 * org.el (org-hide-block-toggle): Make folded blocks searchable.
1543 2009-08-19 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
1545 * org.el (org-flag-drawer): More useful error.
1547 2009-08-19 Carsten Dominik <carsten.dominik@gmail.com>
1549 * org-remember.el (org-remember-apply-template): Use
1550 org-icompleting-read.
1552 * org-publish.el (org-publish): Use org-icompleting-read.
1554 * org-colview.el (org-columns-edit-value, org-columns-new)
1555 (org-insert-columns-dblock): Use org-icompleting-read.
1557 * org-colview-xemacs.el (org-columns-edit-value)
1558 (org-columns-new, org-insert-columns-dblock): Use
1559 org-icompleting-read.
1561 * org-attach.el (org-attach-delete-one, org-attach-open): Use
1562 org-icompleting-read.
1564 2009-08-18 Carsten Dominik <carsten.dominik@gmail.com>
1566 * org.el (org-hierarchical-todo-statistics): Improve docstring.
1567 (org-version): Return the version text.
1568 (org-org-menu): Add a menu entry for the new bug reporter.
1569 (org-submit-bug-report): New command.
1571 * org-list.el (org-hierarchical-checkbox-statistics): Improve
1574 * org.el (org-emphasis-regexp-components): Add "`" to set of
1575 pre-emphasis characters.
1577 * org-latex.el (org-export-latex-classes): Always include the soul
1579 (org-export-latex-emphasis-alist): Use \st for strikethough.
1581 * org-exp-blocks.el (org-export-blocks-preprocess): Use
1582 `indent-code-rigidly' to indent.
1584 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1585 properties only if MATCH really is a string.
1587 2009-08-16 Carsten Dominik <carsten.dominik@gmail.com>
1589 * org-latex.el (org-export-latex-packages-alist): Fix
1592 * org.el (org-create-formula-image): Also use
1593 `org-export-latex-packages-alist'.
1595 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1596 (org-export-as-html): Format footnotes correctly.
1598 2009-08-14 Carsten Dominik <carsten.dominik@gmail.com>
1600 * org.el (org-fast-tag-selection): Avoid text properties on tags
1603 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1604 text properties on the match element.
1606 2009-08-12 Carsten Dominik <carsten.dominik@gmail.com>
1608 * org.el (org-set-regexps-and-options): Make sure the list of done
1609 keywords is not invalid.
1611 * org-exp.el (org-export-interpolate-newlines): New function.
1613 2009-08-11 Carsten Dominik <carsten.dominik@gmail.com>
1615 * org.el (org-format-latex): Avoid nested overlays.
1617 * org-latex.el (org-export-latex-listings-langs): Add a few more
1620 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1621 ignore newlines and space before the first macro argument.
1623 * org-latex.el (org-export-latex-tables): Remove save-excursion
1624 around `org-table-align'.
1626 2009-08-10 Carsten Dominik <carsten.dominik@gmail.com>
1628 * org.el (org-export-html-special-string-regexps): Definition
1631 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1634 2009-08-09 Carsten Dominik <carsten.dominik@gmail.com>
1636 * org-latex.el (org-export-latex-listings)
1637 (org-export-latex-listings-langs): New options.
1639 * org-exp.el (org-export-format-source-code-or-example): Use
1640 listing package if requested by the user.
1642 2009-08-08 Bastien Guerry <bzg@altern.org>
1644 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1645 command before actually switching to a buffer.
1647 2009-08-07 Carsten Dominik <carsten.dominik@gmail.com>
1649 * org-exp.el (org-get-file-contents): Only quote org lines when
1650 the markup is src or example.
1652 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1654 (org-agenda-get-day-entries): Remember deadline results and pass
1655 them on into the function getting the scheduling information.
1656 (org-agenda-get-scheduled): Accept deadline results as parameters
1657 and maybe skip some entries.
1658 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1660 * org.el (org-insert-heading): When respecting content, do not
1661 convert current line to headline.
1663 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1664 cheeeeeck the hd marker
1665 (org-clock-in): Also set the hd marker.
1666 (org-clock-out): Also set the hd marker.
1667 (org-clock-cancel): Reset markers.
1669 * org.el (org-clock-hd-marker): New marker.
1671 * org-faces.el (org-agenda-clocking): New face.
1673 * org-agenda.el (org-agenda-mark-clocking-task): New function.
1674 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1676 * org.el (org-modules): Add org-track.el.
1678 * org-agenda.el (org-agenda-bulk-marked-p): New function.
1679 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1680 `org-agenda-bulk-marked-p'.
1681 (org-agenda-bulk-toggle): New command.
1683 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1685 * org.el (org-move-subtree-down): Hide subtree if it was folded,
1688 * org-remember.el (org-remember-finalize): Avoid buffer-modified
1691 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
1693 * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
1694 before gnuplot can read it.
1696 2009-08-05 Carsten Dominik <carsten.dominik@gmail.com>
1698 * org-latex.el (org-export-latex-first-lines): Fix bug with
1699 finding the end of the first lines.
1701 * org.el (org-create-formula-image): Remove the -E option for
1704 * org-exp.el (org-default-export-plist): Respect #+BIND.
1705 (org-export-confirm-letbind): New function.
1707 * org.el (org-paste-subtree): Test the kill ring entry if it is
1709 (org-copy-subtree): Use `org-forward-same-level'.
1710 (org-forward-same-level): Respect the `invisibe-ok' arg for
1713 2009-08-04 Carsten Dominik <carsten.dominik@gmail.com>
1715 * org.el (org-table-map-tables): Make sure cursor is back at table
1716 beginning after funcall.
1718 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1719 handled before children, and do not error if an entry is not
1720 found, probably because it hase been remove when the parent was
1721 archived or refiled.
1723 * org.el (org-ido-completing-read): Accept straight lists for
1724 completion as well as alists.
1726 * org-html.el (org-export-as-html): Fix parenthesis error in
1729 * org-timer.el (org-timer-cancel-timers): Renamed from
1730 `org-timer-cancel-timers'.
1732 * org.el (org-cycle-internal-local): Fix problem with finding next
1735 2009-08-03 Carsten Dominik <carsten.dominik@gmail.com>
1737 * org-list.el (org-list-send-list): Call
1738 `org-list-goto-true-beginning' instead of
1739 `org-list-find-true-beginning', which does not exist.
1741 * org-timer.el (org-timer-reset-timers): Use `mapc'.
1742 (org-timer-set-timer): Do not assign to heading.
1744 * org-id.el (org-id-open): Quote function name.
1746 * org-macs.el (org-unmodified): Turn off recording undo
1747 information while running inside the macro.
1749 * org-indent.el (org-hide-leading-stars-before-indent-mode): New
1751 (org-indent-mode): Remember and restore value of
1752 org-hide-leading-stars before `org-indent-mode'.
1754 * org-table.el (org-table-export): Also work in file-less
1757 * org.el (org-startup-indented): New option.
1758 (org-startup-options): Add new options indent and noindent.
1759 (org-unfontify-region): Remove line-prefix and wrap-prefix
1761 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
1763 (org-promote, org-demote): Run the new hooks.
1765 * org-table.el (org-table-align): Replace leading \n as well.
1767 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
1768 and `line-wrap' text properties.
1770 * org-compat.el (org-kill-new): New function.
1772 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
1773 `line-wrap' text properties.
1775 * org-indent.el: New file.
1777 2009-08-02 Carsten Dominik <carsten.dominik@gmail.com>
1779 * org.el (org-provide-todo-statistics): Tweak docstring.
1781 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
1783 2009-08-01 Carsten Dominik <carsten.dominik@gmail.com>
1785 * org-exp.el (org-export-as-org): Insert the "-source" string
1786 before the extension.
1788 * org.el (org-read-date): Make sure the calendar is in the current
1790 (org-set-emph-re): Remove the ? from the post-match.
1791 (org-emphasis-regexp-components): Add backslash to the
1793 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
1794 optional so that also lines at the end of the buffers will still
1795 be matched as headlines.
1797 * org-table.el (org-table-error-on-row-ref-crossing-hline):
1798 Variable made obsolete.
1799 (org-table-relative-ref-may-cross-hline): New option.
1800 (org-table-find-row-type): Honow the new option
1801 `org-table-relative-ref-may-cross-hline'.
1803 2009-07-31 Carsten Dominik <carsten.dominik@gmail.com>
1805 * org-table.el (org-table-cut-region, org-table-copy-region): Work
1806 on single field if no active region.
1808 2009-07-27 Carsten Dominik <carsten.dominik@gmail.com>
1810 * org-latex.el (org-export-latex-make-header): Only insert title
1813 * org.el (org-make-options-regexp): Allow empty values.
1815 * org-html.el (org-export-as-html): Move hrule detection to after
1816 plain list handling.
1818 2009-07-26 Carsten Dominik <carsten.dominik@gmail.com>
1820 * org-html.el (org-format-org-table-html): Fix colgroup tags.
1822 2009-07-23 Carsten Dominik <carsten.dominik@gmail.com>
1824 * org.el (org-cycle-internal-local): Improved version of finding
1826 (org-cycle-hide-drawers): Only hide drawers if this is really
1828 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
1829 org-version of this function in Org-mode. We use advice to
1830 implement this change, so that future changes to this function in
1831 outline.el wil be handled properly.
1832 (org-forward-same-level, org-backward-same-level): New commands.
1834 2009-07-21 Carsten Dominik <carsten.dominik@gmail.com>
1836 * org.el (org-remove-empty-overlays-at)
1837 (org-clean-visibility-after-subtree-move): New functons.
1838 (org-move-subtree-down): Simplify cleanup of display.
1840 2009-07-20 Carsten Dominik <carsten.dominik@gmail.com>
1842 * org-mac-message.el (org-mac-message-get-links): Improve
1843 docstring. Make argument SELECT-OR-FLAGGED optional, default to
1844 "s". Fix the return value.
1845 (org-mac-message-insert-flagged): Simplify.
1847 * org.el (org-refile-get-location): Tamper with refile history o
1848 that history contains compete matches instead of the entered
1851 2009-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1853 * org.el (org-store-link): Never store a link to an inline task.
1855 * org-inlinetask.el (org-inlinetask-insert-task): New command.
1857 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
1858 inline tasks when positioning footnotes.
1860 * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
1863 * org.el (org-refile): Remove the END line when archiving an
1864 inline task that does have an END line.
1866 * org-archive.el (org-archive-subtree): Remove the END line when
1867 archiving an inline task that does have an END line.
1869 * org-macs.el (org-with-limited-levels): New macro.
1870 (org-get-limited-outline-regexp): New function.
1872 * org-exp.el (org-export-format-source-code-or-example): Fix bug
1873 that did not enumerate first line.
1874 (org-export-mark-radio-links): Skip matches in links.
1876 2009-07-18 Carsten Dominik <carsten.dominik@gmail.com>
1878 * org.el (org-activate-plain-links): Make single-match.
1879 (org-adapt-indentation): Fix docstring.
1881 * org-macs.el (org-unmodified): Turn of modification hooks while
1884 2009-08-02 Bastien Guerry <bzg@altern.org>
1886 * org.el (org-adapt-indentation): Slightly improve the docstring.
1887 (org-occur): Sends an error when the user inputs an empty string.
1888 (org-priority): Bugfix: the tag alignement should happen within
1891 2009-07-31 Bastien Guerry <bzg@altern.org>
1893 * org.el (org-make-link-regexps): Don't exclude parentheses from
1895 (org-cycle-internal-local): When locally cycling, switch directly
1896 from CHILDREN to FOLDED if there is no subtree
1897 (org-cycle): Update the docstring to document the new behavior of
1898 `org-cycle-internal-local'.
1900 2009-07-29 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
1902 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
1903 an abbreviated format for days.
1905 2009-07-27 Bastien Guerry <bzg@altern.org>
1907 * org-protocol.el (org-protocol-default-template-key): New
1910 * org.el (org-refile): Bugfix: save-excursion before reading the
1911 refile target, otherwise cursor moves might confuse `org-refile'.
1913 * org-html.el (org-export-as-html): Bugfix: correctly convert the
1914 footnote reference before the footnote itself.
1916 * org.el (org-toggle-heading): Bugfix: correctly convert list
1917 items before the first headline.
1919 * org-html.el (org-export-html-footnote-format): New option for
1920 formatting the footnote reference.
1921 (org-export-as-html): Use the new option.
1923 * org.el (org-provide-todo-statistics): Allow a list of TODO
1924 keywords to compute statistics against headlines containing a
1925 keyword from this list.
1926 (org-update-parent-todo-statistics): Possibly use the new allowed
1927 value of `org-provide-todo-statistics'.
1929 2009-07-26 Bastien Guerry <bzg@altern.org>
1931 * org-timer.el: Add autoload cookie.
1933 * org.el (org-occur-link-in-agenda-files): New function.
1935 * org-timer.el (org-timer-last-timer): New variable.
1937 * org-agenda.el (org-agenda-mode-map): New key for
1938 org-timer-set-timer called from the agenda.
1940 * org.el (org-mode-map): New key for org-timer-set-timer.
1942 * org-timer.el (org-timer-reset-timers)
1943 (org-timer-show-remaining-time, org-timer-set-timer): New
1946 * org-clock.el (org-show-notification): Update the docstring.
1948 * org.el (org-provide-todo-statistics): Allow new value
1949 'all-headlines for this option, which includes entries with no
1950 TODO keywords in the todo statistics.
1951 (org-update-parent-todo-statistics): Possibly use the new
1952 'all-headline value from `org-provide-todo-statistics'.
1954 2009-07-25 Bastien Guerry <bzg@altern.org>
1956 * org-clock.el (org-dblock-write:clocktable): Add a new option
1957 :timestamp which allows display of timestamps in clock reports.
1959 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
1960 list to a subtree, preserving the structure of the list.
1961 (org-set-emph-re): Make the last element optional in the regexp.
1962 This regexp now matches an emphasized string at the end of a line.
1964 * org-list.el (org-list-goto-true-beginning)
1965 (org-list-make-subtree, org-list-make-subtrees): New functions.
1967 * org.el (org-eval-in-calendar): Select the right frame.
1968 (org-save-frame-excursion): Remove this macro.
1970 2009-07-24 Bastien Guerry <bzg@altern.org>
1972 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
1973 trying to find the beginning of a list.
1975 * org-exp.el (org-get-file-contents): Use a new argument: markup.
1976 When present, tell org-get-file-contents not to protect org-like
1979 * org-id.el (org-id-uuid-program): New option to set the name of
1980 the uuidgen program.
1981 (org-id-method): Use `org-id-uuid-program'.
1982 (org-id-new): Use `org-id-uuid-program'.
1984 2009-07-23 Bastien Guerry <bzg@altern.org>
1986 * org-exp.el (org-export-number-lines): Allow whitespace in code
1987 references. Allow the -r switch to remove the references in the
1988 source code even when the lines are not numbered: the labels can
1991 * org.el (org-fontify-whole-heading-line): New option.
1992 (org-set-font-lock-defaults): Use the new option.
1994 * org-clock.el (org-show-notification-handler): New option.
1995 (org-show-notification): Use the new option.
1997 2009-07-21 Bastien Guerry <bzg@altern.org>
1999 * org.el (org-eval-in-calendar): Fix a bug about calendar
2000 navigation when `calendar-setup' value is 'calendar-only.
2002 2009-07-19 Bastien Guerry <bzg@altern.org>
2004 * org.el (orgstruct++-mode): Fix typo in docstring.
2005 (org-insert-link): Clean up: (or (...)) => (...)
2006 (org-insert-link): Use TAB for stored links completion.
2008 2009-07-18 Bastien Guerry <bzg@altern.org>
2010 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2011 building the list of targets.
2013 * org-remember.el (org-remember-delete-empty-lines-at-end): New
2015 (org-remember-handler): Use the new option.
2017 2009-07-17 James TD Smith <ahktenzero@mohorovi.cc>
2019 * org.el (org-tags-sort-function): New option for sorting tags.
2020 (org-set-tags): Use the new option to sort tags.
2022 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2023 premature deletion of the data when using org-plot in a script.
2025 2009-07-17 Bastien Guerry <bzg@altern.org>
2027 * org-clock.el (org-clock-in-prepare-hook): New hook.
2028 (org-clock-in): Use this new hook.
2030 2009-07-16 Bastien Guerry <bzg@altern.org>
2032 * org.el (org-special-ctrl-a/e): Explicitely bind the value
2033 'reversed for this option to the "true line boundary first"
2035 (org-tags-match-list-sublevels): Document the 'indented value for
2038 * org-latex.el (org-export-latex-first-lines): Fix problem with
2039 publishing the region.
2041 * org-exp.el (org-export-format-source-code-or-example): Fix
2042 bad line numbering when exporting examples in HTML.
2044 * org-colview.el (org-format-time-period): Formats a time in
2045 fractional days as days, hours, mins, seconds.
2046 (org-columns-display-here): Add special handling for SINCE and
2047 SINCE_IA to format for display.
2049 2009-07-12 James TD Smith <ahktenzero@mohorovi.cc>
2051 * org.el (org-tags-sort-function): Add custom declaration for tags
2053 (org-set-tags): Sort tags if org-tags-sort-function is set
2055 2009-07-08 Carsten Dominik <carsten.dominik@gmail.com>
2057 * org-clock.el (org-clock-goto): Find hidden headlines as well.
2059 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2061 * org-plot.el (org-plot/add-options-to-plist): Add timeind
2064 2009-07-07 Carsten Dominik <carsten.dominik@gmail.com>
2066 * org-publish.el (org-publish-remove-all-timestamps): New function.
2067 (org-publish-all): Remove all timestamp files if `org-publish-all'
2068 is called with a prefix argument.
2070 * org-list.el (org-indent-item): Fix typo.
2071 (org-item-indent-positions): Normalize ordered bullet.
2073 * org-html.el (org-export-html-home/up-format): New option.
2074 (org-export-as-html): Insert the up and HOME links.
2076 2009-07-06 Carsten Dominik <carsten.dominik@gmail.com>
2078 * org-html.el (org-export-as-html): Insert the title into the
2080 (org-export-html-insert-plist-item): New function.
2081 (org-export-as-html): Call `org-export-html-insert-plist-item'.
2083 * org-macs.el (org-set-local): Make a local variable, do not make
2084 the variable buffer-local!
2086 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2088 * org-html.el (org-export-as-html): Call `org-install-letbind'.
2090 * org-docbook.el (org-export-as-docbook): Call
2091 `org-install-letbind'.
2093 * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
2095 * org-exp.el (org-infile-export-plist): Read BIND lines.
2096 (org-install-letbind): New function.
2097 (org-export-as-org, org-export-preprocess-string): Call
2098 `org-install-letbind'.
2100 * org-src.el (org-edit-src-exit): Untabify the example before
2103 * org-list.el (org-list-demote-modify-bullet): New option.
2104 (org-first-list-item-p): Save point.
2105 (org-fix-bullet-type): New optional argument FORCE-BULLET.
2106 (org-indent-item): Honor `org-list-demote-modify-bullet'.
2107 (org-item-indent-positions): Return bullet types along with
2110 2009-07-05 Carsten Dominik <carsten.dominik@gmail.com>
2112 * org.el (org-show-entry): Hide drawers.
2114 2009-07-03 Carsten Dominik <carsten.dominik@gmail.com>
2116 * org-footnote.el (org-footnote-auto-adjust): New option.
2117 (org-footnote-auto-adjust-maybe): New function.
2118 (org-footnote-new, org-footnote-delete): Call
2119 `org-footnote-auto-adjust-maybe'.
2121 * org.el (org-startup-options): Add new footnote-related
2124 * org-publish.el (org-publish-timestamp-filename): Additional
2125 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2126 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2127 TRUE-PUB-DIR. Pass them through to
2128 `org-publish-timestamp-filename'.
2129 (org-publish-update-timestamp): Additional arguments PUB-DIR and
2130 PUB-FUNC, which are included in the hash.
2131 (org-publish-file): Delay timestamp test until the publishing
2134 2009-07-02 Carsten Dominik <carsten.dominik@gmail.com>
2136 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2137 setting the deadline.
2139 * org.el (org-read-date-final-answer): New variable.
2140 (org-read-date): Store the final answer string, including the date
2141 from the calendar, for reuse by agenda bulk commands.
2143 * org-publish.el (org-publish-attachment): Fix publishing of
2146 * org-latex.el (org-export-latex-quotation-marks): Fix export of
2147 quotation makrs in parenthesis.
2148 (org-remove-initial-hash): New function.
2149 (org-export-latex-preprocess): Fix bug with infinite loop if
2150 environment is not properly closed.
2152 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2155 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2156 highlight also when indented.
2158 2009-07-01 Carsten Dominik <carsten.dominik@gmail.com>
2160 * org-footnote.el (org-footnote-renumber-fn:N): New command.
2161 (org-footnote-action): Offer renumbering.
2163 * org.el (org-cycle): Honor the `integrate' value of
2164 org-cycle-include-plain-lists'.
2166 * org-list.el (org-cycle-include-plain-lists): New allowed value
2167 `internal'. Improve the docstring.
2169 * org.el (org-set-autofill-regexps): Improve the paragraph-start
2170 regexp to work better with LaTeX commands.
2172 2009-06-30 Carsten Dominik <carsten.dominik@gmail.com>
2174 * org-feed.el (org-feed-update): fix problem with non-existing
2176 (org-feed-skip-http-headers): New function.
2177 (org-feed-get-feed): Call `org-feed-skip-http-headers'.
2178 (org-feed-get-feed): Fix command line arguments for curl.
2180 2009-06-28 Carsten Dominik <carsten.dominik@gmail.com>
2182 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2185 2009-06-27 Carsten Dominik <carsten.dominik@gmail.com>
2187 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2190 * org.el (org-map-entries): No longer force
2191 `org-tags-match-list-sublevels' to t during a todo-only tags
2194 2009-06-26 Carsten Dominik <carsten.dominik@gmail.com>
2196 * org-latex.el (org-export-latex-low-levels): Allow user-defined
2198 (org-export-latex-subcontent): Handle user-defined environment.
2200 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2201 the View dispatcher.
2203 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2206 * org-latex.el (org-export-as-pdf): Protect match data during call
2207 to shell-quote-argument.
2209 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2210 (org-agenda-view-mode-dispatch): New function.
2212 2009-06-24 Carsten Dominik <carsten.dominik@gmail.com>
2214 * org-agenda.el (org-agenda-mode): Reset list of marks.
2215 (org-agenda-mode-map): Define new keys for refile and bulk action.
2216 (org-agenda-menu): Add menu itesm for refile and bulk action.
2217 (org-agenda-refile): New function.
2218 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2219 (org-agenda-marked-entries): New variable.
2220 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2221 (org-agenda-remove-all-bulk-action-marks)
2222 (org-agenda-bulk-action): New functions/commands.
2224 2009-06-23 Carsten Dominik <carsten.dominik@gmail.com>
2226 * org-exp.el (org-get-file-contents): Protect org-like lines in
2228 (org-export-format-source-code-or-example): Remove newlines.
2230 * org-latex.el (org-export-latex-links): Check for no-description
2233 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2234 argument separator back to comma.
2235 (org-export-normalize-links): Mark links without description.
2237 2009-06-22 Carsten Dominik <carsten.dominik@gmail.com>
2239 * org-exp.el (org-infile-export-plist): Fix bug in macro
2242 * org-agenda.el (org-agenda-clock-out): Update line after clocking
2244 (org-agenda-highlight-todo): Fix bug with highlighting.
2246 2009-06-21 Carsten Dominik <carsten.dominik@gmail.com>
2248 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2249 new alignment strings.
2251 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2253 (org-table-align): Check for forced align type.
2255 * org.el (org-self-insert-command): Add yas/expand to command
2258 * org-clock.el (org-clock-in-hook): New hook.
2259 (org-clock-in): Run `org-clock-in-hook.
2260 (org-clock-out-hook): New hook.
2261 (org-clock-out): Run `org-clock-out-hook.
2262 (org-clock-cancel-hook): New hook.
2263 (org-clock-cancel): Run `org-clock-cancel-hook.
2264 (org-clock-goto-hook): New hook.
2265 (org-clock-goto): Run `org-clock-goto-hook.
2267 2009-06-20 Carsten Dominik <carsten.dominik@gmail.com>
2269 * org.el (org-store-link): Better default description for link to
2272 * org-exp.el (org-export-generic): Autoload the generic exporter
2274 (org-export): Implement the `g' key for the generic exporter.
2276 2009-06-19 Carsten Dominik <carsten.dominik@gmail.com>
2278 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2281 * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2283 * org-exp.el (org-infile-export-plist): Get macros also from
2286 2009-06-18 Carsten Dominik <carsten.dominik@gmail.com>
2288 * org-colview.el (org-columns-capture-view): Protect vertical bars
2290 (org-columns-capture-view): Exclude comment and archived trees.
2292 * org-colview-xemacs.el (org-columns-capture-view): Protect
2293 vertical bars in column values.
2294 (org-columns-capture-view): Exclude comment and archived trees.
2296 * org.el (org-quote-vert): New function.
2298 * org-latex.el (org-export-latex-verbatim-wrap): New option.
2300 * org-exp.el (org-export-format-source-code-or-example): Use
2301 `org-export-latex-verbatim-wrap'.
2303 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2306 * org-html.el (org-export-table-row-tags): New option.
2307 (org-format-org-table-html): Rename `nlines' to `nline', use new
2311 2009-06-17 Carsten Dominik <carsten.dominik@gmail.com>
2313 * org-exp-blocks.el: Declare functions and variables.
2315 * org-remember.el (org-remember-templates): Allow the headline
2316 element to be a function.
2317 (org-remember-apply-template): If the headline is a function, call
2318 it to get the true function.
2320 * org-clock.el (org-clock-menu): New function.
2321 (org-clock-update-mode-line): Update help string.
2322 (org-clock-modify-effort-estimate): New function.
2323 (org-clock-mark-default-task): New function.
2325 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2327 (org-org-menu): Add new clocking stuff.
2328 (org-clock-is-active): New function.
2330 2009-06-14 Carsten Dominik <carsten.dominik@gmail.com>
2332 * org.el (org-open-non-existing-files): Improve docstring.
2334 2009-06-11 Carsten Dominik <carsten.dominik@gmail.com>
2336 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2338 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2340 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2342 * org-list.el (org-get-checkbox-statistics-face): Use the new
2345 * org-faces.el (org-checkbox-statistics-todo)
2346 (org-checkbox-statistics-done): New faces.
2348 2009-06-09 Carsten Dominik <carsten.dominik@gmail.com>
2350 * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2351 (org-edit-src-exit): Better cursor positioning when returning from
2354 * org-latex.el (org-export-latex-use-verb): New variable.
2355 (org-export-latex-emph-format): Prefer \texttt over \verb when
2356 org-export-latex-use-verb is set.
2358 2009-06-08 Carsten Dominik <carsten.dominik@gmail.com>
2360 * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2361 at normal indentation.
2363 * org-html.el (org-export-html-close-lists-maybe): Also look at
2366 * org-remember.el (org-remember-handler): Abort remember if the
2369 * org-src.el (org-edit-src-content-indentation): New option.
2370 (org-edit-src-exit): Apply extra indentation.
2372 * org-exp.el (org-export-format-source-code-or-example): Run
2373 `org-src-mode-hook'.
2375 * org-src.el (org-src-mode-hook): New variable.
2376 (org-edit-src-code): Run `org-src-mode-hook'.
2378 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
2380 * org.el (org-indent-line-function): Fix indentation of +#end lines.
2382 * org-src.el (org-edit-src-get-indentation): New function.
2383 (org-edit-src-code): Base indentation on the begin line.
2385 2009-06-07 Tassilo Horn <tassilo@member.fsf.org>
2387 * org-gnus.el (org-gnus-store-link): Require message.el in
2388 org-gnus-store-link.
2390 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
2392 * org-src.el: New file, split out of org.el
2394 * org-docbook.el (org-export-as-docbook): Better indentation
2397 * org-macs.el (org-replace-match-keep-properties): New function.
2399 * org-exp.el (org-export-mark-blockquote-verse-center): Better
2400 preprocessing of center and quote and verse blocks.
2402 * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2403 (org-export-as-docbook): Close lists when original indentation
2406 * org-html.el (org-export-html-close-lists-maybe): New function.
2407 (org-export-as-html): Close lists when original indentation
2410 * org-list.el (org-list-end): Respect the stored "original"
2411 indentation when determining the end of the list.
2413 * org-exp.el (org-export-replace-src-segments-and-examples):
2414 Remember indentation correctly.
2416 2009-06-06 Carsten Dominik <carsten.dominik@gmail.com>
2418 * org-clock.el (org-clock-update-mode-line): Apply face
2419 org-mode-line-clock.
2421 * org-faces.el (org-mode-line-clock): New face.
2423 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
2425 * org-gnus.el (org-gnus-store-link): Fix bug where
2426 `org-gnus-store-link' used wrong subject when called in an article
2427 buffer. Patch provided by fengli AT gmail DOT com.
2429 2009-06-04 Carsten Dominik <carsten.dominik@gmail.com>
2431 * org-exp.el (org-export-format-source-code-or-example): Remember
2432 the original indentation of source code snippets and examples.
2434 * org-latex.el (org-export-as-latex): Relocate the table of
2437 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2439 * org-agenda.el (org-run-agenda-series): Scope global options also
2440 when creating the agenda buffer.
2442 2009-06-03 Carsten Dominik <carsten.dominik@gmail.com>
2444 * org.el (org-adapt-indentation): Improve documentation.
2445 (org-insert-property-drawer): Respect org-adapt-indentation when
2446 inserting the drawer.
2447 (org-remove-flyspell-overlays-in): New function.
2448 (org-do-emphasis-faces, org-activate-plain-links)
2449 (org-activate-code, org-fontify-meta-lines-and-blocks)
2450 (org-activate-angle-links, org-activate-footnote-links)
2451 (org-activate-bracket-links, org-activate-dates)
2452 (org-activate-target-links, org-activate-tags): Remove flyspell
2455 2009-06-02 Carsten Dominik <carsten.dominik@gmail.com>
2457 * org.el (org-edit-src-save): New function.
2459 * org-clock.el (org-clock-out-switch-to-state): New option.
2460 (org-clock-out): Honor `org-clock-out-switch-to-state'.
2462 * org-compat.el (org-compatible-face): Improve macro.
2464 * org.el (org-global-properties-fixed): Add default for
2465 CLOCK_MODELINE_TOTAL.
2467 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2469 (org-clock-sum-current-item): Optional argument TSTART, pass it to
2471 (org-clock-get-sum-start): New function.
2473 * org.el (org-startup-options): New keywords blockhide and
2475 (org-mode): Add new invisibility spec.
2476 (org-set-startup-visibility): Hide block on startup if so
2478 (org-hide-block-startup): New option.
2479 (org-block-regexp): New constant.
2480 (org-hide-block-overlays): New variable.
2481 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2482 (org-show-block-all, org-hide-block-toggle-maybe)
2483 (org-hide-block-toggle): New functions.
2484 (org-edit-src-exit): Do not quote lines starting with # and no +
2486 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2489 2009-05-30 Carsten Dominik <carsten.dominik@gmail.com>
2491 * org.el (org-buffer-property-keys): Add Effort property for
2494 2009-05-28 Carsten Dominik <carsten.dominik@gmail.com>
2496 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2497 when retrieving total clocked time in the subtree.
2499 * org.el (org-quoting-blocks): New variable.
2501 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
2503 * org-table.el (org-table-store-formulas)
2504 (org-table-get-stored-formulas, org-table-fix-formulas)
2505 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2506 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2508 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2509 indented #+TBLFM line.
2511 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2512 indented #+TBLFM line.
2514 * org-colview.el (org-dblock-write:columnview): Allow indented
2517 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2518 indented #+TBLFM line.
2520 * org-clock.el (org-dblock-write:clocktable): Allow indented
2523 2009-05-26 Carsten Dominik <carsten.dominik@gmail.com>
2525 * org-exp.el (org-export-format-source-code-or-example): Make
2526 editing indented blocks work correctly.
2528 * org.el (org-edit-src-nindent): New variable.
2529 (org-edit-src-code, org-edit-fixed-width-region)
2530 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2531 editing indented blocks work correctly.
2533 2009-05-24 Carsten Dominik <carsten.dominik@gmail.com>
2535 * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2537 (org-export-format-source-code-or-example): Fix indentation of
2539 (org-export-remove-indentation): New function.
2540 (org-export-select-backend-specific-text): Allow backend-specific
2541 code to be indented.
2542 (org-export-mark-blockquote-verse-center): Allow markers to be
2545 * org.el (org-fontify-meta-lines): New function.
2546 (org-set-font-lock-defaults): Call the new fontification
2549 * org-faces.el (org-meta-line): New face
2550 (org-block): New face.
2552 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
2554 * org.el (org-treat-insert-todo-heading-as-state-change)
2555 (org-treat-S-cursor-todo-selection-as-state-change): New
2557 (org-insert-todo-heading): Honor
2558 `org-treat-insert-todo-heading-as-state-change'.
2559 (org-shiftright, org-shiftleft): Honor
2560 `org-treat-S-cursor-todo-selection-as-state-change'.
2561 (org-inhibit-logging): New variable.
2563 2009-05-23 Carsten Dominik <carsten.dominik@gmail.com>
2565 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2566 range for marker position checking.
2568 * org-latex.el (org-export-latex-first-lines): Fix bug when
2571 2009-05-22 Carsten Dominik <carsten.dominik@gmail.com>
2573 * org-exp.el (org-export-push-to-kill-ring): Protect using
2574 x-set-selection, because that does not always work.
2576 * org-agenda.el (org-agenda-list): Apply the new face
2577 `org-agenda-date-today'.
2579 * org-faces.el (org-agenda-date-today): New face.
2581 2009-05-21 Carsten Dominik <carsten.dominik@gmail.com>
2583 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2584 creating appointments.
2586 * org-latex.el (org-export-latex-low-levels): Fix customization
2589 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2592 * org-agenda.el (org-agenda-priority): Disable priority commands.
2594 * org.el (org-enable-priority-commands): New option.
2596 * org-colview-xemacs.el (org-columns-compute)
2597 (org-columns-number-to-string): Fix problems with empty fields.
2599 * org-colview.el (org-columns-compute)
2600 (org-columns-number-to-string): Fix problems with empty fields.
2602 * org-exp.el (org-export-push-to-kill-ring): New function.
2603 (org-export-copy-to-kill-ring): New option.
2605 * org-latex.el (org-export-as-latex): Call
2606 `org-export-push-to-kill-ring'.
2608 * org-html.el (org-export-as-html): Call
2609 `org-export-push-to-kill-ring'.
2611 * org-docbook.el (org-export-as-docbook): Call
2612 `org-export-push-to-kill-ring'.
2614 * org-ascii.el (org-export-as-ascii): Call
2615 `org-export-push-to-kill-ring'.
2617 * org-exp.el (org-export-show-temporary-export-buffer): New
2620 * org-latex.el (org-export-as-latex): Use
2621 `org-export-show-temporary-export-buffer'.
2623 * org-html.el (org-export-as-html): Use
2624 `org-export-show-temporary-export-buffer'.
2626 * org-docbook.el (org-export-as-docbook): Use
2627 `org-export-show-temporary-export-buffer'.
2629 * org-ascii.el (org-export-as-ascii-to-buffer): Use
2630 `org-export-show-temporary-export-buffer'.
2632 * org-exp.el (org-export-show-temporary-export-buffer): New
2634 (org-export-push-to-kill-ring): New function.
2636 * org-colview.el (org-columns-compile-map): New variable.
2637 (org-columns-new, org-columns-compute)
2638 (org-columns-number-to-string, org-columns-uncompile-format)
2639 (org-columns-compile-format): Implement new operators.
2641 2009-05-20 Carsten Dominik <carsten.dominik@gmail.com>
2643 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2645 * org-html.el (org-export-html-xml-declaration): New option.
2646 (org-export-as-html): Use `org-export-html-xml-declaration'.
2648 * org-list.el (org-update-checkbox-count): Make property
2651 * org.el (org-hierarchical-todo-statistics): New option.
2652 (org-update-parent-todo-statistics): Modified to handle recursive
2655 2009-05-19 Carsten Dominik <carsten.dominik@gmail.com>
2657 * org-publish.el (org-publish): Make this function behave
2658 correctly in interactive use when called with a prefix argument.
2660 * org.el (org-todo-statistics-hook): New hook.
2661 (org-update-parent-todo-statistics): Use new hook.
2662 (org-log-into-drawer): New function.
2663 (org-add-log-setup): Use the new `org-log-into-drawer' function to
2664 determine if we should be logging into a drawer.
2665 (org-log-into-drawer): Update docstring.
2666 (org-default-properties): Add LOG_INTO_DRAWER as a property.
2668 * org-list.el (org-checkbox-statistics-hook): New hook.
2669 (org-update-checkbox-count-maybe): Use new hook.
2671 * org-ascii.el (org-export-ascii-copy-to-kill): New option.
2672 (org-export-as-ascii): Hide export buffer, and copy exported ASCII
2675 2009-05-17 Carsten Dominik <carsten.dominik@gmail.com>
2677 * org-ascii.el (org-export-as-ascii): Fix bug with match string in
2680 2009-05-16 Carsten Dominik <carsten.dominik@gmail.com>
2682 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2683 better bufer-generating mechanism.
2684 (org-edit-src-find-buffer): New function.
2686 * org-icalendar.el (org-print-icalendar-entries): Don't check for
2687 archive tag, this is already done by `org-agenda-skip'.
2688 data while constructing lost of tags.
2690 2009-05-15 Carsten Dominik <carsten.dominik@gmail.com>
2692 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2693 as argument separator in macros.
2695 * org-html.el (org-export-as-html): Add xml declaration.
2697 2009-05-14 Carsten Dominik <carsten.dominik@gmail.com>
2699 * org.el (org-after-sorting-entries-or-items-hook): New hook.
2700 (org-sort-entries-or-items): Run the new hook.
2701 (org-after-refile-insert-hook): New hook.
2702 (org-refile): Run `org-after-refile-insert-hook'.
2704 * org-agenda.el (org-agenda-get-progress): Never take time of day
2705 from headline when displaying progress.
2707 * org-latex.el (org-export-latex-complex-heading-re): New variable.
2708 (org-export-as-latex): Force the correct regexp in the
2709 preprocessor buffer.
2710 (org-export-latex-set-initial-vars): Set
2711 `org-export-latex-complex-heading-re'.
2713 * org-agenda.el (org-agenda-start-with-log-mode): New option.
2714 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2716 2009-05-13 Carsten Dominik <carsten.dominik@gmail.com>
2718 * org-latex.el (org-export-latex-tables-centered): New option.
2719 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2721 * org-exp.el (org-export-as-org): New command.
2722 (org-export-as-org): New command.
2724 * org-publish.el (org-publish-org-to-org): New function.
2726 2009-05-12 Carsten Dominik <carsten.dominik@gmail.com>
2728 * org.el (org-yank): Just call `org-yank-generic'.
2729 (org-yank-generic): New function, containing the formaer
2730 functionality of `org-yank'.
2732 * org-latex.el (org-export-latex-not-done-keywords)
2733 (org-export-latex-done-keywords): New variables.
2734 (org-export-latex-todo-keyword-markup): New option.
2735 (org-export-latex-set-initial-vars): Remember the TODO keywords.
2736 (org-export-latex-keywords-maybe): Apply the TODO markup.
2738 2009-05-11 Carsten Dominik <carsten.dominik@gmail.com>
2740 * org-exp.el (org-infile-export-plist): Add more default macros.
2741 (org-export-preprocess-apply-macros): Process macro arguments.
2743 2009-05-10 Carsten Dominik <carsten.dominik@gmail.com>
2745 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
2747 (org-print-icalendar-entries): Respect the new value of
2748 `org-icalendar-include-todo'.
2750 * org.el (org-link-try-special-completion)
2751 (org-file-complete-link): New functions.
2752 (org-insert-link): Add special completion support for some link
2755 * org-bbdb.el (org-bbdb-complete-link): New function.
2757 2009-05-08 Carsten Dominik <carsten.dominik@gmail.com>
2759 * org-list.el (org-update-checkbox-count): Allow recursive
2761 (org-hierarchical-checkbox-statistics): New option.
2763 * org.el (org-cycle): Remove erraneous space character.
2765 * org-icalendar.el (org-icalendar-timezone): Initialize from
2768 * org-html.el (org-format-org-table-html): Specify the scope.
2769 (org-format-table-table-html): Specify the scope.
2770 (org-export-table-header-tags): Prepare the scope parameter.
2772 2009-05-07 Carsten Dominik <carsten.dominik@gmail.com>
2775 (org-export-html-table-use-header-tags-for-first-column): New
2778 * org.el (org-autoload): Fix autoloading of ascii export
2780 (org-modules): Add org-special-blocks.
2782 2009-05-06 Carsten Dominik <carsten.dominik@gmail.com>
2784 * org-icalendar.el (org-start-icalendar-file): Use the new option.
2785 (org-ical-timezone): New option.
2787 * org-exp.el (org-export-get-coderef-format): Use the description
2790 * org.el (org-sort-entries-or-items): Improve docstring, and make
2791 better implementation for time sorting.
2793 2009-05-05 Carsten Dominik <carsten.dominik@gmail.com>
2795 * org.el (org-edit-src-persistent-message): New option.
2796 (org-edit-src-code, org-edit-fixed-width-region): Use the new
2799 * org-clock.el (org-clock-insert-selection-line): Fix prefious
2802 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
2803 separate buffer instead of indirect buffer to edit source code.
2804 (org-edit-src-exit): Make this function work with the new setup.
2806 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
2807 are properly fontified before shown in the selection menu.
2809 * org.el (org-fontify-like-in-org-mode): New function.
2811 * org-latex.el (org-export-latex-links): Use the property list to
2812 retrieve the default image attributes.
2814 * org-exp.el (org-export-plist-vars): Add a new option.
2816 2009-05-04 Carsten Dominik <carsten.dominik@gmail.com>
2818 * org-exp.el (org-export, org-export-visible): Support ASCII
2820 (org-export-normalize-links): Do not protect the description if it
2821 is explicitly given.
2823 * org-ascii.el (org-export-as-ascii-to-buffer)
2824 (org-replace-region-by-ascii, org-export-region-as-ascii): New
2826 (org-export-as-ascii): Add all the same parameters that are also
2827 supported by the other export functions.
2829 * org-list.el (org-reset-checkbox-state-subtree): Moved here from
2831 (org-reset-checkbox-state-subtree): Call
2832 `org-reset-checkbox-state-subtree'.
2834 * org-remember.el (org-select-remember-template): For the
2835 selection of a valid template.
2837 * org-latex.el (org-export-region-as-latex): Supply the
2838 force-no-subtree argument.
2839 (org-export-as-latex): Provide better limits when exporting the
2840 first line. When exporting to string, we still want the first
2842 (org-export-latex-first-lines): New argument END, to force the end
2844 (org-export-region-as-latex): Use the property list.
2845 (org-export-as-latex):
2847 * org-colview-xemacs.el (org-columns-remove-overlays)
2848 (org-columns): Fix call to `local-variable-p'.
2850 2009-05-02 Carsten Dominik <carsten.dominik@gmail.com>
2852 * org-html.el (org-export-html-after-blockquotes-hook): New hook.
2853 (org-export-as-html): Run the new hook.
2855 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
2856 (org-export-latex-preprocess): Run the new hook.
2858 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
2859 (org-export-preprocess-string): Run the new hook.
2861 2009-04-30 Carsten Dominik <carsten.dominik@gmail.com>
2863 * org-macs.el (org-check-external-command): New defsubst.
2865 * org.el (org-mode-map): New key for reload.
2866 (org-format-latex): Better error message when external programs
2869 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
2871 * org.el (org-sort-entries-or-items): Explicit sorting function
2872 for priorities, needed for XEmacs compatibility.
2874 * org-remember.el (org-remember-apply-template): Improve auto-save
2877 2009-04-29 Carsten Dominik <carsten.dominik@gmail.com>
2879 * org-latex.el (org-export-latex-preprocess): Also protect
2880 environments ending in a star.
2882 * org-list.el (org-at-item-p): Fix regular expression.
2884 2009-04-24 Carsten Dominik <carsten.dominik@gmail.com>
2886 * org.el (org-end-of-subtree): Improve speed.
2888 * org-agenda.el (org-agenda-get-timestamps)
2889 (org-agenda-get-progress, org-agenda-get-deadlines)
2890 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
2891 in particular, wait as long as possible to collect the tags.
2892 (org-stuck-projects): Improve docstring.
2894 * org.el (org-store-link): No errors when getting custom id before
2896 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
2898 2009-04-23 Carsten Dominik <carsten.dominik@gmail.com>
2900 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
2902 * org-protocol.el: Remove dependency on url.el.
2903 (org-protocol-unhex-compound, org-protocol-open-source): Remove
2904 dependency on url.el.
2906 * org-latex.el (org-export-as-pdf): Use
2907 `org-latex-to-pdf-process'.
2909 2009-04-22 Carsten Dominik <carsten.dominik@gmail.com>
2911 * org-latex.el (org-latex-to-pdf-process): New option.
2913 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
2915 (org-agenda-get-timestamps): Honor
2916 `org-agenda-skip-additional-timestamps-same-entry'.
2918 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
2919 (org-clock-goto): Find recent task only if
2920 `org-clock-goto-may-find-recent-task' allows it.
2922 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
2923 drawers, and drawers that are missing the :END: line.
2925 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
2927 * org-clock.el (org-clock-goto): Go to recently clocked task if no
2930 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
2932 * org.el (org-update-parent-todo-statistics): Check for
2933 STATISTICS_FROM property.
2935 * org-list.el (org-update-checkbox-count): Check for
2936 STATISTICS_FROM property.
2938 * org.el (org-tab-first-hook)
2939 (org-tab-after-check-for-table-hook)
2940 (org-tab-after-check-for-cycling-hook): New hooks.
2941 (org-cycle-internal-global, org-cycle-internal-local): New
2942 functions, split out from `org-cycle'.
2943 (org-cycle): Call the new hooks.
2945 2009-04-19 Carsten Dominik <carsten.dominik@gmail.com>
2947 * org-exp.el (org-export-preprocess-string): Reset the list of
2948 preferred targets for each run of the preprocessor.
2950 * org.el (org-refile-target-verify-function): Improve
2952 (org-get-refile-targets): Respect point being moved by the
2953 verification function.
2955 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
2957 (org-export-latex-keywords): Use new option.
2959 * org.el (org-rear-nonsticky-at): New defsubst.
2960 (org-activate-plain-links, org-activate-angle-links)
2961 (org-activate-footnote-links, org-activate-bracket-links)
2962 (org-activate-dates, org-activate-target-links)
2963 (org-activate-tags): Place the rear-nonsticky properties at the
2966 2009-04-18 Carsten Dominik <carsten.dominik@gmail.com>
2968 * org-protocol.el (server-edit): Declare `server-edit'.
2969 (org-protocol-unhex-string, org-protocol-unhex-compound): New
2971 (org-protocol-check-filename-for-protocol): Call `server-edit'.
2973 * org.el (org-default-properties): New default properteis for
2976 * org-exp.el (org-export-add-subtree-options): Add new properties
2979 * org-docbook.el (org-export-docbook-keywords-markup)
2980 (org-export-docbook-timestamp-markup): New options.
2981 (org-export-docbook-protect-tags): New function.
2983 2009-04-17 Carsten Dominik <carsten.dominik@gmail.com>
2985 * org-id.el (org-id-get-with-outline-path-completion): Turn off
2986 org-refile-target-verify-function for the duration of the command.
2988 * org.el (org-link-to-org-use-id): New possible value
2989 `create-if-interactive-and-no-custom-id'.
2990 (org-store-link): Use custom IDs.
2991 (org-link-search): Find custom ID properties from #link.
2992 (org-default-properties): Add CUSTOM_ID for property completion.
2993 (org-refile-target-verify-function): New option.
2994 (org-goto): Turn off org-refile-target-verify-function
2995 for the duration of the command.
2997 2009-04-16 Carsten Dominik <carsten.dominik@gmail.com>
2999 * org-html.el (org-export-as-html): Use custom IDs in the toc.
3001 * org-exp.el (org-export-preferred-target-alist): New variable.
3002 (org-export-define-heading-targets): Find the new CUSTOM_ID
3004 (org-export-target-internal-links): Target the custom ids when
3007 * org-latex.el (org-export-latex-preprocess): Better regexp for
3008 matching latex macros with arguments.
3010 2009-04-15 Carsten Dominik <carsten.dominik@gmail.com>
3012 * org-remember.el (org-remember-handler): Allow filing to non-org
3015 2009-04-15 Magnus Henoch <magnus.henoch@gmail.com>
3017 * org-feed.el (org-feed-alist): New keyword options.
3018 (org-feed-update): Use the new options.
3019 (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
3020 (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
3021 (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
3024 * org-table.el (org-table-fix-formulas): Do not change references
3026 (org-table-get-remote-range): Convert standard coordinates to RC
3029 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
3031 2009-04-14 Carsten Dominik <carsten.dominik@gmail.com>
3033 * org-compat.el (org-sha1-string): Function removed.
3035 * org.el (org-refile-allow-creating-parent-nodes): New option.
3036 (org-refile-get-location): New argument NEW-NODES.
3037 (org-refile): Call `org-refile-get-location' with the new
3039 (org-refile-get-location): Arrange for adding a new child.
3040 (org-refile-new-child): New function.
3042 * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
3043 an additional span element.
3045 * org-clock.el: Fix a number of docstrings.
3046 (org-clock-find-position): New argument
3047 FIND-UNCLOSED to make the function find an unclosed clock in the
3049 (org-clock-in): Call `org-clock-find-position' with the new
3050 argument if we might be resuming a clock.
3052 2009-04-13 Carsten Dominik <carsten.dominik@gmail.com>
3054 * org-latex.el (org-export-latex-display-custom-times): New variable.
3055 (org-export-latex-timestamp-markup): New option.
3056 (org-export-latex-set-initial-vars): Remember the local value of
3057 `org-display-custom-times'.
3058 (org-export-latex-content): Process time stamps.
3059 (org-export-latex-time-stamps): New function.
3061 * org-macs.el (org-maybe-intangible): Add intangible property
3062 again to invisible text.
3064 2009-04-12 Carsten Dominik <carsten.dominik@gmail.com>
3066 * org-exp.el (org-default-export-plist): Handle undefined
3069 2009-04-11 Carsten Dominik <carsten.dominik@gmail.com>
3071 * org.el (org-sort-entries-or-items): Match TODO keywrds
3072 case-sensitively, when sorting.
3073 (org-priority): Do not match TODO keywords with wrong case.
3075 2009-04-09 Carsten Dominik <carsten.dominik@gmail.com>
3077 * org-feed.el (org-feed-update): Bind the variable
3080 * org-html.el (org-export-as-html): Start paragraphs after literal
3083 * org-docbook.el (org-export-as-docbook): Start paragraphs after
3086 2009-04-08 Carsten Dominik <carsten.dominik@gmail.com>
3088 * org.el (org-todo): Honor the NOBLOCKING property.
3090 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3091 NOBLOCKING property.
3093 * org.el (org-scan-tags): Fix bug in tag scanner
3095 2009-04-07 Carsten Dominik <carsten.dominik@gmail.com>
3097 * org.el (org-modules): Mark obsolete packages.
3099 * org-html.el: New file, split out from org-exp.el.
3101 * org-icalendar.el: New file, split out from org-exp.el.
3103 * org-xoxo.el: New file, split out from org-exp.el.
3105 * org-ascii.el: New file, split out from org-exp.el.
3107 2009-04-06 Carsten Dominik <carsten.dominik@gmail.com>
3109 * org-compat.el (org-find-library-name): New function.
3111 * org.el (org-pre-cycle-hook): New hook.
3112 (org-cycle): Call the new hook in appropriate places.
3113 (org-reload): Only reload files that have been loaded before.
3115 2009-04-05 Carsten Dominik <carsten.dominik@gmail.com>
3117 * org.el (org-set-font-lock-defaults): Enforxe space or line end
3119 (org-todo): When changing TODO state, do matching
3121 (org-map-continue-from): New variable.
3122 (org-scan-tags): Respect values in `org-map-continue-from'.
3123 (org-reload): Make XEmacs compatible.
3125 2009-04-04 Carsten Dominik <carsten.dominik@gmail.com>
3127 * org-protocol.el (org-protocol-flatten-greedy): New function.
3128 (org-protocol-flatten): New function.
3130 * org.el (org-open-link-from-string): Pass reference buffer to
3131 `org-open-at-point'.
3132 (org-open-at-point): New optional argument `reference-buffer'.
3134 2009-04-03 Carsten Dominik <carsten.dominik@gmail.com>
3136 * org.el (org-scan-tags): Make tag scan find headline in first
3138 (org-get-refile-targets): Add the naked file name.
3139 (org-refile): Store as top-level entry when only file name was
3142 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3144 * org.el (org-block-todo-from-children-or-siblings-or-parent):
3145 Renamed from org-block-todo-from-children-or-siblings, and
3146 enhanced to look for the parent's status as well.
3148 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3149 (org-agenda-get-progress): Add first notes line to log entry if so
3152 2009-04-02 Carsten Dominik <carsten.dominik@gmail.com>
3154 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3155 (org-agenda-cleanup-fancy-diary): Call the new hook.
3157 * org-remember.el (org-remember-apply-template): Take the default
3158 for the annotation from the :annotation property.
3160 * org-mac-message.el (org-mac-message-get-link): Remove the
3162 (org-mac-message-get-link): Return the result.
3164 2009-04-01 Carsten Dominik <carsten.dominik@gmail.com>
3166 * org.el (org-refile-get-location): Add file name only if not
3167 already included in outline path.
3169 * org-faces.el (org-n-level-faces): Fix customization type from
3172 * org-exp.el (org-export-headline-levels): Fix customization type
3173 from number to integer.
3175 * org-agenda.el (org-agenda-confirm-kill)
3176 (org-agenda-custom-commands-local-options)
3177 (org-timeline-show-empty-dates, org-agenda-ndays)
3178 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3179 customization type from number to integer.
3181 2009-03-31 Carsten Dominik <carsten.dominik@gmail.com>
3183 * org-protocol.el: Declare some functions.
3185 * org-inlinetask.el (org-inlinetask-export-handler): Fix line
3186 postion before inserting modified headline.
3188 * org-agenda.el (org-agenda-compare-effort): Honor
3189 `org-sort-agenda-noeffort-is-high'.
3190 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3191 (org-agenda-compare-effort): Implement the "?" operator for
3192 finding entries without effort setting.
3194 * org.el (org-extract-attributes-from-string): New function.
3196 * org-exp.el (org-export-splice-attributes): New function.
3198 2009-03-30 Carsten Dominik <carsten.dominik@gmail.com>
3200 * org-mouse.el: XEmacs compatibility fixes
3202 * org-docbook.el (org-export-as-docbook): Process footnotes like
3205 * org.el (org-modules): Add org-inlinetasks.el
3206 (org-cycle): Implement limiting level on cycling.
3207 (org-move-subtree-down): Fix bug with swapping subtrees at end of
3210 * org-inlinetask.el: New file.
3212 * org.el (org-emphasis-regexp-components): Allow braces in
3213 emphasis pre and post match.
3215 * org-footnote.el (org-footnote-normalize): When only dorting, do
3216 not insert inline notes at the end.
3218 * org-docbook.el (org-id-find-id-file): Add function declaration.
3220 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3222 * org-docbook.el: New file.
3224 2009-03-28 Carsten Dominik <carsten.dominik@gmail.com>
3226 * org.el (org-reftex-citation): New command.
3228 2009-03-27 Carsten Dominik <carsten.dominik@gmail.com>
3230 * org-agenda.el (org-agenda-cmp-user-defined): New option.
3231 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3233 (org-entries-lessp): Apply the new sorting option.
3235 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3236 blocker code, when an older sibling has children.
3238 * org-mac-message.el (org-mac-message-get-link): Improve getting
3239 links from multiple selected messages.
3241 2009-03-26 Carsten Dominik <carsten.dominik@gmail.com>
3243 * org-remember.el (org-remember-finalize): Do not set buffer file
3245 (org-remember-handler): Mark buffer as unmodified.
3246 (org-remember-handler): Delete backup file and show message about
3247 remaining backup files.
3248 (org-remember-auto-remove-backup-files): New option.
3250 * org.el (org-store-link): Use buffer name as link description in
3252 (org-ido-switchb): Fix argument bug for completion.
3254 * org-remember.el (org-remember-apply-template): Set local
3255 variable `auto-save-visited-file-name' instead of global one.
3257 2009-03-25 Carsten Dominik <carsten.dominik@gmail.com>
3259 * org-feed.el: Re-write.
3261 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3262 (org-agenda-get-todos): Mark file tags as inherited.
3263 (org-agenda-list): Always search diary lines for a time.
3265 2009-03-24 Carsten Dominik <carsten.dominik@gmail.com>
3267 * org-feed.el (org-feed-assume-stable): New option.
3268 (org-feed-before-adding-hook): New hook.
3270 * org-exp.el (org-export-as-html): Close local lists depending on
3271 indentation, also when starting a table.
3273 * org-remember.el (org-remember-backup-directory)
3274 (org-remember-backup-name): New internal variable.
3276 2009-03-23 Carsten Dominik <carsten.dominik@gmail.com>
3278 * org-clock.el (org-clock-out-if-current): Make buffer detection
3279 work in indirect buffers as well.
3281 * org.el (org-emphasis-regexp-components): Add the exxclamation
3282 mark to the post-emphasis characters.
3284 2009-03-22 Carsten Dominik <carsten.dominik@gmail.com>
3286 * org.el (org-read-date-minibiffer-septup-hook): New hook.
3287 (org-read-date): Run the new hook.
3289 * org-mac-message.el (org-mac-flagged-mail): New group.
3290 (org-mac-mail-account): New variable.
3291 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3294 * org-remember.el (org-remember-backup-directory): New variable.
3295 (org-remember-apply-template): Write file to backup directory.
3297 2009-03-21 Carsten Dominik <carsten.dominik@gmail.com>
3299 * org-mouse.el (org-mouse-todo-menu): New function.
3300 (org-mouse-todo-keywords): Function removed.
3301 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3303 * org-table.el (org-table-beginning-of-field)
3304 (org-table-end-of-field): New commands
3305 (org-table-previous-field, org-table-beginning-of-field): Better
3307 (orgtbl-setup): Include `M-a' and `M-e'.
3309 * org.el (org-backward-sentence, org-forward-sentence): New
3312 * org-colview.el (org-colview-initial-truncate-line-value): New
3314 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3315 (org-columns): Remember the value of `truncate-lines'.
3317 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3319 (org-columns-remove-overlays): Restore the value of
3321 (org-columns): Remember the value of `truncate-lines'.
3323 * org.el (org-columns-skip-arrchived-trees): New option.
3325 * org-agenda.el (org-agenda-export-html-style): Define color for
3326 org-agenda-done face.
3327 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3328 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3330 * org.el (org-scan-tags): Use the new face.
3332 * org-faces.el (org-agenda-done): New face.
3334 * org.el (org-scan-tags): Test the value org
3335 `org-tags-match-list-sublevels'.
3336 (org-tags-match-list-sublevels): New allowed value: indented.
3338 * org-export-latex.el (org-export-latex-make-header): Apply macros
3341 * org-exp.el (org-export-apply-macros-in-string): New function.
3343 * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3344 with the definition of a checked box.
3346 * org-clock.el (org-clock-find-position): Fix drawer indentations.
3348 * org-export-latex.el (org-export-latex-low-levels): More options
3349 for how to process lower levels in LaTeX.
3350 (org-export-latex-subcontent): Better treatment for lists as a
3351 means of publishing lower levels.
3353 2009-03-20 Carsten Dominik <carsten.dominik@gmail.com>
3355 * org.el (org-set-font-lock-defaults): Use new checkbox face.
3357 * org-faces.el (org-checkbox): New face.
3359 * org-exp.el (org-export-html-preprocess): Only create LaTeX
3360 fragement images if there is an export file.
3362 2009-03-19 Carsten Dominik <carsten.dominik@gmail.com>
3364 * org-agenda.el (org-stuck-projects): Document that the subtree of
3365 projects that are not stuck will now be searched for stuck
3367 (org-agenda-skip-entry-when-regexp-matches)
3368 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3369 (org-agenda-list-stuck-projects): Use
3370 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3372 * org-export-latex.el (org-export-latex-preprocess): Improve
3375 * org-exp.el (org-export-as-html): Implement centering as a div
3376 rather than a paragraph. Do a better job with line-end in verse
3379 2009-03-17 Carsten Dominik <carsten.dominik@gmail.com>
3381 * org.el (org-open-at-point): Fix tags searches by mouse click.
3383 2009-03-16 Carsten Dominik <carsten.dominik@gmail.com>
3385 * org-export-latex.el (org-export-latex-preprocess): Implement the
3388 * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3389 from `org-export-mark-blockquote-and-verse'.
3390 (org-export-as-html): Implement the centering markup.
3392 * org-export-latex.el (org-export-latex-tables): Fix vertical
3395 2009-03-15 Carsten Dominik <carsten.dominik@gmail.com>
3397 * org.el (org-read-date-history): New variable.
3398 (org-read-date): Use new history variable.
3399 (org-toggle-heading): Fix bug when used before first headline.
3400 (org-store-log-note): Remove drawer if empty while note is
3402 (org-remove-empty-drawer-at): New function.
3403 (org-check-after-date): New command.
3404 (org-sparse-tree): New sparse tree command "a".
3406 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3408 2009-03-14 Bastien Guerry <bzg@altern.org>
3410 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3411 column and a space, not only a column.
3413 2009-03-14 Carsten Dominik <carsten.dominik@gmail.com>
3415 * org-export-latex.el (org-export-latex-emphasis-alist): Better
3416 defaults for verbose emphasis.
3417 (org-export-latex-emph-format): New function.
3418 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3420 * org-agenda.el (org-agenda-menu): Add new commands to menu.
3421 (org-agenda-do-date-later, org-agenda-do-date-earlier)
3422 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3423 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3426 * org.el (org-timestamp-change): Move end-time along with start
3429 2009-03-12 Carsten Dominik <carsten.dominik@gmail.com>
3431 * org-exp.el (org-export-target-internal-links)
3432 (org-export-as-html): Protect links specified as #name.
3434 2009-03-11 Carsten Dominik <carsten.dominik@gmail.com>
3436 * org.el (org-clone-subtree-with-time-shift): New command.
3438 * org-export-latex.el (org-export-latex-special-chars)
3439 (org-export-latex-treat-sub-super-char): Fix subscript export.
3441 * org-exp.el (org-create-multibrace-regexp): Do not add
3442 backslashes to the class.
3444 2009-03-10 Carsten Dominik <carsten.dominik@gmail.com>
3446 * org-colview.el (org-columns-map): Better functions for moving up
3447 and down a row, even if `truncate-line' is nil.
3449 * org.el (org-insert-todo-heading): Make sure the keyword is
3450 inserted at the correct position.
3452 * org-publish.el (org-publish-project-alist)
3453 (org-publish-projects, org-publish-org-index): Change default anme
3454 for the index of file names to "sitemap.org".
3456 * org-export-latex.el (org-export-latex-tables): Use
3457 `org-split-string', for Emacs 21 compatibility.
3459 2009-03-09 Carsten Dominik <carsten.dominik@gmail.com>
3461 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3463 2009-03-08 Carsten Dominik <carsten.dominik@gmail.com>
3465 * org-exp.el (org-export-page-description)
3466 (org-export-page-keywords): New variables.
3467 (org-export-plist-vars): Add entries for :keywords and
3469 (org-infile-export-plist): Parse for new keywords.
3470 (org-get-current-options): Add new keywords
3471 (org-export-as-html): Publish description and keywords.
3473 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3475 (org-agenda-add-entry-text): Honor
3476 `org-agenda-add-entry-text-descriptive-links'.
3478 * org-export-latex.el (org-export-latex-preprocess): Make all
3479 external preprocess functions use a PARAMETER arg.
3481 * org-exp.el (org-export-preprocess-string)
3482 (org-export-select-backend-specific-text)
3483 (org-export-format-source-code-or-example)
3484 (org-format-org-table-html): Support docbook export.
3485 (org-export-preprocess-string): Make all external preprocess
3486 functions use a PARAMETER arg.
3488 2009-03-07 Carsten Dominik <carsten.dominik@gmail.com>
3490 * org-exp.el (org-export-html-style-include-scripts): New option.
3491 (org-export-plist-vars): Add new option
3492 `org-export-html-style-include-scripts'.
3493 (org-export-as-html): Honor new option
3494 `org-export-html-style-include-scripts'.
3495 (org-export-html-scripts, org-export-html-style-default): Fix
3496 xml issues with the Safari browser.
3498 2009-03-06 Carsten Dominik <carsten.dominik@gmail.com>
3500 * org-publish.el (org-publish-attachment): Only copy file when the
3503 2009-03-05 Carsten Dominik <carsten.dominik@gmail.com>
3505 * org-clock.el (org-clocktable-steps): Use inactive time stamps
3506 for clocktable steps.
3508 * org.el (org-additional-option-like-keywords): Add two more
3511 2009-03-04 Carsten Dominik <carsten.dominik@gmail.com>
3513 * org-exp.el (org-export-format-source-code-or-example): Mark
3514 temporary buffer unmodified, so that it will be killed even if
3515 mode like message mode has decided to assign a file name.
3517 * org.el (org-scan-tags): Improve tag inheritance.
3518 (org-scan-tags, org-make-tags-matcher): Make tag comparison
3520 (org-scan-tags): Use the internal tags list instead of creating it
3522 (org-trust-scanner-tags, org-scanner-tags): New variables.
3523 (org-scan-tags): Set `org-scanner-tags'.
3524 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3525 (org-map-entries): Document the possible speedup using scanner
3528 2009-03-03 Carsten Dominik <carsten.dominik@gmail.com>
3530 * org.el (org-add-planning-info): Fix bug with looking for keyword
3533 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3534 option for tags filter preset.
3535 (org-prepare-agenda): Store filter preset as a property on the
3537 (org-finalize-agenda): Call the filter, if there is a preset.
3538 (org-agenda-filter-by-tag): Filter again after clearing the
3539 filter, when there still is a preset.
3540 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3541 Include the preset filter.
3542 (org-agenda-redo): Apply the filter again, also the preset filter.
3544 * org-exp.el (org-export-as-html): Use IDs in the correct way.
3546 * org.el (org-uuidgen-p): New funtion.
3548 * org-agenda.el (org-agenda-fontify-priorities): New default value
3550 (org-agenda-fontify-priorities): Renamed from
3551 org-fontify-priorities.
3553 * org.el (org-set-font-lock-defaults): Call
3554 `org-font-lock-add-priority-faces'.
3555 (org-font-lock-add-priority-faces): New function.
3557 * org-faces.el: (org-set-tag-faces): New option.
3558 (org-priority-faces): New variable.
3560 * org-exp.el (org-export-as-html): Add a "content" div around the
3561 entire content of the body tag.
3562 (org-export-html-get-bibliography): New function.
3563 (org-export-html-validation-link): New variable.
3564 (org-export-as-html): Add validation link to exported page.
3566 * org.el (org-match-sparse-tree): Renamed from
3567 `org-tags-sparse-tree'.
3568 (org-tags-sparse-tree): New alias.
3570 2009-03-02 Carsten Dominik <carsten.dominik@gmail.com>
3572 * org.el (org-get-valid-level): Catch the case where the level
3575 * org-clock.el (org-clock-find-position): Better indentation of
3578 2009-03-01 Carsten Dominik <carsten.dominik@gmail.com>
3580 * org-agenda.el (org-agenda-quit): Delete window only when the
3581 frame-setup was not `current-window'.
3583 * org.el (org-tag-persistent-alist): New option.
3584 (org-startup-options): Add keyword `noptag'.
3585 (org-fast-todo-selection): Handle :newline correctly.
3586 (org-set-tags): Handle :newline correctly.
3587 (org-fast-tag-selection): Handle :newline correctly.
3589 2009-02-28 Carsten Dominik <carsten.dominik@gmail.com>
3591 * org-exp.el (org-export-as-ascii): Reverse link buffer before
3593 (org-export-ascii-push-links): Fix bug with pussing links into the
3596 2009-02-27 Carsten Dominik <carsten.dominik@gmail.com>
3598 * org-archive.el (org-archive-subtree): Do not add 1 to level if
3599 pasting at top level.
3601 * org-bbdb.el: Improve documentation.
3603 2009-02-26 Carsten Dominik <carsten.dominik@gmail.com>
3605 * org-list.el (org-insert-item): Only consider insert empty lines
3606 is `org-empty-line-terminates-plain-lists' is not nil.
3608 * org.el (org-blank-before-new-entry): Mention the dependence on
3609 `org-empty-line-terminates-plain-lists' in the docstring.
3611 * org-publish.el (org-publish-get-project-from-filename): New
3612 optional argument UP. Only find the top project if UP is set.
3613 (org-publish-current-project): Find the top encloding project.
3615 * org-agenda.el (org-agenda-before-write-hook)
3616 (org-agenda-add-entry-text-maxlines): New options.
3617 (org-write-agenda): Run the new hook in the temporary buffer.
3618 (org-agenda-add-entry-text): New function.
3619 (org-write-agenda): Implement PDF export, using ps2pdf.
3621 * org.el (org-global-properties-fixed, org-global-properties):
3622 Improve documentation string.
3624 * org-exp.el (org-export-ascii-links-to-notes): New option.
3625 (org-export-as-ascii): Handle links better.
3626 (org-export-ascii-wrap, org-export-ascii-push-links): New
3629 2009-02-25 Carsten Dominik <carsten.dominik@gmail.com>
3631 * org-agenda.el (org-agenda): Make prefix arg optional.
3632 (org-agenda-search-headline-for-time): New option.
3633 (org-format-agenda-item): Honor
3634 `org-agenda-search-headline-for-time'.
3636 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3639 * org.el (org-self-insert-cluster-for-undo): New option.
3640 (org-self-insert-command): Cluster undo for 20 characters.
3641 (org-self-insert-command-undo-counter): New variable.
3643 2009-02-24 Carsten Dominik <carsten.dominik@gmail.com>
3645 * org-exp.el (org-export-as-html): Fix problem with closing colone
3648 2009-02-22 Carsten Dominik <carsten.dominik@gmail.com>
3650 * org-export-latex.el (org-export-as-latex)
3651 (org-export-latex-first-lines): Avoid modification flag when
3652 adding or removing text properties.
3653 (org-export-latex-fontify): Catch error when org-emph-alist has
3654 entries that are not defined for LaTeX export.
3656 * org.el (orgstruct++-mode): New function.
3657 (turn-on-orgstruct++): Call `orgstruct++-mode'.
3658 (org-context-p): Allow detecting item context after the first line
3660 (orgstruct-make-binding): Detect if item-body context should be
3662 (orgstruct-is-++): New variable.
3663 (org-add-planning-info): Catch the case when there is no planning
3664 info yet and the call does not want to add anything, only maybe
3665 tries to remove something.
3666 (org-special-ctrl-a/e): All value to be a cons cell with separate
3667 settings for `C-a. and `C-e'.
3668 (org-beginning-of-line, org-end-of-line): Honor separate values
3669 for `C-a' and `C-e'.
3671 2009-02-21 Carsten Dominik <carsten.dominik@gmail.com>
3673 * org.el (org-reload): New command.
3675 2009-02-20 Carsten Dominik <carsten.dominik@gmail.com>
3677 * org-exp.el (org-export-htm-get-tag-class-name)
3678 (org-export-htm-get-todo-kwd-class-name): New functions.
3679 (org-export-html-tag-class-prefix)
3680 (org-export-html-todo-kwd-class-prefix): New options.
3681 (org-export-as-html): Call
3682 `org-export-html-get-todo-kwd-class-name'.
3683 (org-html-level-start): Wrap tags into classes.
3684 (org-export-html-get-tag-class-name)
3685 (org-export-html-get-todo-kwd-class-name): New functions.
3687 * org-export-latex.el (org-export-latex-collect-header-macros):
3688 Remove fields that are used anyway.
3689 (org-export-latex-make-header): Insert the options earlier.
3691 * org-agenda.el (org-agenda-get-progress): Fix bug with state
3694 * org-list.el (org-indent-item): Allow point to be at the end of
3697 * org.el (org-metaleft, org-metaright): Be more accurate about
3698 detecting a region where commands apply.
3700 * org-compat.el (org-cursor-to-region-beginning): New function.
3702 * org.el (org-priority): Also find invisible heading.
3704 * org-colview-xemacs.el (org-columns-edit-value): No special
3705 treatment for `org-todo' prefix.
3707 * org-colview.el (org-columns-edit-value): No special treatment
3708 for `org-todo' prefix.
3710 * org-remember.el (org-remember-apply-template): Use
3711 `org-completing-read-no-ido'.
3713 * org.el (org-completing-read-no-ido): New function.
3714 (org-make-tags-matcher, org-set-property): Use
3715 `org-completing-read-no-ido'.
3717 * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
3719 (org-export-as-latex): Import in-buffer settings as TeX macros.
3720 (org-export-latex-make-header): Additional parameter OPT-DEFS.
3721 (org-export-latex-collect-header-macros): New function.
3723 * org.el (org-refile-get-location): Turn off
3724 `partial-completion-mode'.
3726 2009-02-19 Carsten Dominik <carsten.dominik@gmail.com>
3728 * org.el (org-block-todo-from-checkboxes): Announce that
3729 checkboxes are the culprit.
3730 (org-block-todo-from-children-or-siblings): Call
3731 `org-up-heading-all instead' of `outline-up-heading'.
3733 * org-agenda.el (org-agenda-show-1): Renamed from
3735 (org-agenda-show): Re-install the old version for now.
3736 (org-agenda-dim-blocked-tasks): Update docstring. Scope a
3737 variable into the blokker hook, so that the checkbox checker can
3738 anounce that it caused the blocking.
3740 * org.el (org-track-ordered-property-with-tag): New option.
3741 (org-toggle-ordered-property): Honor
3742 `org-track-ordered-property-with-tag'.
3743 (org-tag-alist): Add newline options.
3744 (org-set-regexps-and-options): Separate option lines imply a
3746 (org-set-regexps-and-options, org-assign-fast-keys)
3747 (org-fast-todo-selection, org-fast-tag-selection): Handle newline
3749 (org-indent-line-function): Make sure this works even if there is
3750 not `org-drawer-regexp' defined. This can happen when
3751 orgstruct-mode is used in a non-org buffer.
3753 * org-list.el (org-checkbox-blocked-p): New function.
3754 (org-toggle-checkbox): Check for blocking.
3756 * org.el (org-modules): Add an entry for org-R.el.
3758 * org-agenda.el (org-agenda-todo-ignore-with-date)
3759 (org-agenda-todo-ignore-scheduled)
3760 (org-agenda-todo-ignore-deadlines): Mention the variable
3761 `org-agenda-tags-todo-honor-ignore-options' in the docstring.
3763 * org.el (org-get-wdays): Find the warning period also if it is in
3765 (org-ido-completing-read): Provide the correct arguments to
3766 ido-completing-read and bind `ido-enter-matching-directory' to
3769 2009-02-17 Carsten Dominik <carsten.dominik@gmail.com>
3771 * org.el (org-olpath-completing-read): Never use ido for this
3774 * org-exp.el (org-export-normalize-links): Use new macro.
3776 * org-macs.el (org-if-unprotected-at): New macro.
3778 * org-agenda.el (org-agenda-show): Allow numerical prefix
3779 arguments to specify how much context should be shown.
3780 (org-agenda-cycle-show): New command, could be bound to SPC in
3781 org-agenda-mode-map.
3783 * org-exp.el (org-html-level-start): Space after section number.
3785 2009-02-16 Carsten Dominik <carsten.dominik@gmail.com>
3787 * org-agenda.el (org-agenda-get-sexps): Add todo state as
3788 property, for sorting.
3789 (org-cmp-todo-state): Get the applicable TODO keywords directly
3791 (org-run-agenda-series, org-agenda-list, org-search-view)
3792 (org-todo-list, org-tags-view): Only fit agenda window when the
3793 whole series is done.
3795 * org.el (org-scan-tags): Add todo state as property, for sorting.
3797 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3798 `org-agenda-overriding-header' as an option.
3799 (org-agenda-list): Honor org-agenda-overriding-header'.
3801 2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
3803 * org-list.el (org-toggle-checkbox): Improve cursor positioning
3804 after removing a checkbox.
3806 * org.el (org-show-entry): Make this work correctly also if it is
3807 the last entry in the file.
3808 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
3809 falling back to normal, default command.
3810 (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
3811 item, call the checkbox toggler to get a box.
3813 * org-list.el (org-toggle-checkbox): Make double prefix set the
3815 (org-fix-bullet-type): Only replace bullet if it is changed.
3816 (org-renumber-ordered-list): Handle case when first item does not
3819 * org.el (org-add-log-setup): Fix positioning when
3820 `org-log-states-order-reversed' is nil.
3822 * org-clock.el (org-clock-in): Fix positioning when
3823 `org-log-states-order-reversed' is nil.
3824 (org-clock-find-position): Fix positioning when
3825 `org-log-states-order-reversed' is nil.
3827 2009-02-14 Carsten Dominik <carsten.dominik@gmail.com>
3829 * org-clock.el (org-clock-into-drawer): Take default from
3830 `org-log-into-drawer'.
3831 (org-clock-find-position): Look for the correct drawer.
3833 * org.el (org-log-into-drawer): Renamed from
3834 `org-log-state-notes-into-drawer'.
3835 (org-log-state-notes-into-drawer): New variable alias.
3836 (org-add-log-setup): Make drawer name default to LOGBOOK, not
3838 (org-insert-property-drawer): Also skip LOGBOOK drawers.
3840 2009-02-13 Carsten Dominik <carsten.dominik@gmail.com>
3842 * org-agenda.el (org-agenda): Fix docstring.
3844 * org.el ("org-plot"): Help loading org-plot.
3845 (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
3846 (org-metadown-hook, org-shiftmetaleft-hook)
3847 (org-shiftmetaright-hook, org-shiftmetaup-hook)
3848 (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
3849 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3850 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
3851 (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
3853 * org-publish.el (org-publish-get-base-files): Allow symbol `any'
3854 for selecting files with any (and even without) extension.
3856 * org.el (org-save-all-org-buffers): Also save id locations.
3857 (org-revert-all-org-buffers): Also load id locations.
3859 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
3860 * org.el (org-drawers): Add LOGBOOK to the default drawers.
3861 (org-log-state-notes-into-drawer): New option.
3862 (org-add-log-setup): Place the sate note marker into the drawer,
3863 create drawer when necessary.
3864 (org-refile-targets): Document special interpretation of LEVEL
3865 when odd-levels are used.
3867 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
3869 * org.el (org-store-log-note): Fix note indentation when adding
3870 notes to end of list.
3872 * org-exp.el (org-export-as-html): Add TODO keyword as extra
3873 class, so that each keyword can get special colors through CSS.
3875 * org-clock.el (org-clock-out): Add another nil for the previous
3876 state into the call to `org-add-log-setup'.
3878 * org.el (org-log-note-previous-state): New variable.
3879 (org-log-note-headings): New %S escape for old state.
3880 (org-todo): Call the note setup with the old state as an
3882 (org-add-note): Add another nil for the previous state into the
3883 call to `org-add-log-setup'.
3884 (org-add-log-setup): New argument PREV-STATE.
3885 (org-add-log-note): Handle new %S escape.
3886 (org-store-log-note): Handle new %S escape.
3888 2009-02-11 Carsten Dominik <carsten.dominik@gmail.com>
3890 * org-clock.el (org-clock-find-position): Do not swallow an item
3891 less indented than the CLOCK line itself.
3892 (org-clock-in): Push markers to lin after the clock line.
3893 (org-clock-find-position): Handle values of
3894 `org-clock-into-drawer' smaller than 2.
3896 * org-exp.el (org-html-level-start): Add a CSS class to section
3898 (org-export-html-toplevel-hlevel): Better documentation of the
3899 influence of this variables on H levels and css classes in
3902 2009-02-10 Carsten Dominik <carsten.dominik@gmail.com>
3904 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3905 timestamp and nottimestamp to the chooe menu.
3907 * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
3908 (org-revert-all-org-buffers): New command.
3910 2009-02-09 Carsten Dominik <carsten.dominik@gmail.com>
3912 * org.el (org-return): Implement `org-return-follows-link' in the
3913 function org-return. This is more robust than using the mouse
3915 (org-set-regexps-and-options): Match more general #+TODO lines.
3916 (org-make-options-regexp): New optional argument EXTRA, for an
3918 (org-tab-follows-link): Mark as deprecated.
3920 2009-02-07 Carsten Dominik <carsten.dominik@gmail.com>
3922 * org-exp.el (org-export-preprocess-string): Remove clock lines
3923 earlier, so that they cannot cotribute to verbatim snippets.
3925 2009-02-06 Carsten Dominik <carsten.dominik@gmail.com>
3927 * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
3928 for finding drawers.
3929 (org-export-as-ascii, org-export-as-html): Count levels relative
3930 to the subtree header.
3931 (org-get-min-level): New optional argument OFFSET.
3932 (org-export): Make sure point is restored after popping up that
3935 * org.el (org-do-sort): Also take an inactive timestamp if no
3936 active one is found.
3938 * org-colview-xemacs.el (org-columns-capture-view): Copy before
3939 deleting duplicates.
3941 * org-colview.el (org-columns-capture-view): Copy before
3942 deleting duplicates.
3944 * org-exp.el (org-export-preprocess-string): Fix bug when skipping
3945 text before first headline.
3947 * org.el (org-format-latex): Do not convert LaTeX fragments in
3950 2009-02-04 Carsten Dominik <carsten.dominik@gmail.com>
3952 * org-exp.el (org-export-html-style-default): Use color values
3953 instead of names for XHTML validation.
3955 * org.el (org-get-scheduled-time, org-get-deadline-time): New
3957 (org-return-follows-link): Revert making this the default untile
3958 issues are resolved.
3960 * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
3963 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
3965 * org.el (org-mode): Make dependence stuff work more reliably.
3966 (org-update-parent-todo-statistics): Fix bug with updating
3969 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
3970 ~ as verbatim delimiters.
3972 * org-exp.el (org-export-html-format-image): New argument
3974 (org-export-as-html): Pass par-open to
3975 `org-export-html-format-image'.
3977 2009-02-01 Carsten Dominik <carsten.dominik@gmail.com>
3979 * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
3980 (org-use-fast-todo-selection, org-tags-column): New default
3981 setting for variables, based on a poll what typical uses use.
3983 * org-agenda.el (org-agenda-sorting-strategy)
3984 (org-agenda-tags-column): New default setting for variables, based
3985 on a poll what typical uses use.
3987 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
3989 * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
3990 blocked entries from setting the blocked tag.
3992 * org-exp.el (org-export-html-footnotes-section): Use a more
3993 consistent id for footnotes.
3995 * org-export-latex.el (org-export-latex-classes): Remove the
3996 a4paper option from the default styles.
3998 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
4000 * org.el (org-enforce-todo-checkbox-dependencies): New option.
4001 (org-block-todo-from-checkboxes): New function.
4002 (org-todo): Make tripple prefix arg circumvent blocking.
4004 * org-timer.el (org-timer): Provide the timer feature.
4006 * org.el (org-require-autoloaded-modules): Add a few more files to
4007 the list of autoloaded modules.
4009 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
4011 2009-01-29 Carsten Dominik <carsten.dominik@gmail.com>
4013 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
4014 drawers that are unprotected.
4015 (org-export-html-format-image): Make sure inlined LaTeX fragment
4016 images remain inlined.
4018 * org.el (org-toggle-ordered-property): New function.
4019 (org-mode-map): Add a key for `org-toggle-ordered-property'.
4020 (org-org-menu): Add menu entries for TODO dependencies.
4022 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
4024 * org.el (org-default-properties): Add ORDERED to the default
4025 properties, to get completion support for it.
4027 * org-list.el (org-update-checkbox-count): Update more than one cookie.
4029 * org.el (org-update-parent-todo-statistics): Update more than one
4032 * org-agenda.el (org-agenda-get-todos): Start search from correct
4035 * org.el (org-fast-todo-selection): Make sure TODO selection does
4036 not change buffer position.
4038 * org-list.el (org-toggle-checkbox): Implement adding or removing
4039 checkboxes from line or region when called with a prefix
4042 * org-rmail.el (org-rmail-store-link): Protect the call to
4043 `rmail-narrow-to-non-pruned-header'.
4045 * org-clock.el (org-clock-special-range): Fix week display in
4048 * org-exp.el (org-get-current-options): Fix bug when in indirect
4051 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
4053 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
4054 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
4055 (org-agenda-dim-blocked-tasks): New function.
4057 * org.el (org-enforce-todo-dependencies): New option.
4058 (org-block-todo-from-children-or-siblings): New function.
4060 * org-faces.el (org-agenda-dimmed-todo-face): New face.
4062 * org.el (org-todo): Return correct state type even if the blocker
4064 (org-modifier-cursor-error): Renamed from
4065 `org-shiftcursor-error'.
4066 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4067 (org-shiftmetadown): Call `org-modifier-cursor-error'.
4069 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
4070 to get real errors from the blocker hook.
4072 * org.el (org-shiftselect-error, org-call-for-shift-select): New
4074 (org-set-visibility-according-to-property): Turn off the setting
4075 of `org-show-entry-below', to avoid overruling a FOLDED visibility
4078 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
4080 * org.el (org-support-shift-select): New option.
4081 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
4082 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
4083 selection outside contexts.
4085 * org-list.el (org-at-item-bullet-p): New function.
4087 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
4090 * org-footnote.el (org-footnote-normalize): Remove unnecessary
4092 (org-insert-footnote-reference-near-definition): Remove
4093 unnecessary let form.
4095 * org-export-latex.el (org-export-latex-first-lines): Add
4096 OPT-PLIST parameter.
4097 (org-export-as-latex): Call `org-export-latex-first-lines' with
4098 opt-plits parameter.
4099 (org-export-latex-preprocess): Remove unnecessary variables.
4101 * org-exp.el (org-infile-export-plist)
4102 (org-export-add-options-to-plist, org-export-kill-licensed-text)
4103 (org-export-remove-headline-metadata)
4104 (org-export-get-title-from-subtree, org-get-min-level)
4105 (org-html-do-expand): Remove innecessary let form.
4107 * org-colview-xemacs.el (org-columns-display-here): Remove
4108 unnecessary variables.
4110 * org-colview.el (org-columns-display-here): Remove unnecessary
4113 * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
4116 * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
4117 unnecessary variables.
4119 * org-agenda.el (org-search-view, org-agenda-get-blocks)
4120 (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
4123 * org.el (org-set-emph-re): Clean-up the STACKED stuff.
4124 (org-compact-display-after-subtree-move): Remove unnecessary
4126 (org-edit-fixed-width-region): Remove unnecessary variables.
4127 (org-edit-src-find-region-and-lang): Remove unnecessary variables.
4128 (org-olpath-completing-read): Remove unnecessary variable.
4129 (org-auto-repeat-maybe): Remove unnecessary variable.
4130 (org-map-entries): Remove unnecessary variable.
4131 (org-buffer-property-keys, org-imenu-get-tree)
4132 (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
4134 -----------------------------------------------------------------
4136 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
4137 * org-exp.el (org-export-remove-timestamps): Never remove
4138 timestamps from tables.
4140 * org-export-latex.el (org-export-latex-first-lines): Add more
4141 options to the preprocessing of the text before the first
4144 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4146 * org-faces.el (org-clock-overlay): Make face compatible with
4149 * org.el (org-yank): Add property for delete-selection mode.
4151 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
4153 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
4156 * org-table.el (org-table-insert-hline): Fix typo in fuction call
4159 * org-exp.el (org-export-as-html): Remove the initial space from
4162 * org.el (org-scan-tags): Call
4163 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4165 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
4166 customization groups.
4167 (org-agenda-tags-todo-honor-ignore-options): New option.
4168 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
4170 (org-agenda-get-todos): Use
4171 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
4173 2009-01-24 Carsten Dominik <carsten.dominik@gmail.com>
4175 * org-exp.el (org-export-format-source-code-or-example): Escape
4176 HTML characters also in examples that anre not treated with
4177 htmlize. Also, just switch to EXAMPLE processing if we do not
4178 have a good version of htmlize.
4180 * org-rmail.el: Fix copyright notice.
4182 * org.el (org-activate-footnote-links): Improve footnote link
4185 * org-footnote.el (org-footnote-normalize): Fix finding the end of
4186 a footnote definition at the end of the file.
4188 * org-table.el (org-table-get-specials): Add an imagined hline at
4189 the end of the table. This can be useful for references that want
4190 to go to the end of the table. Also fix bug when computing last
4191 row constants, in tables that do not start right at the right
4193 (org-table-eval-formula): Match and replace remove references.
4194 (org-table-formula-substitute-names): Make sure that names inside
4195 a "remote" call are left alone, the will be replaced later when
4196 the remote call is handled.
4197 (org-table-convert-refs-to-rc): Do not convert things that might
4198 look like a reference, but are really part of an ID or namei n a
4200 (org-table-get-remote-range): New function.
4202 2009-01-22 Carsten Dominik <carsten.dominik@gmail.com>
4204 * org-faces.el (org-clock-overlay): Fix bug in face definition.
4206 * org-clock.el (org-clock-put-overlay): Use new face instead of
4207 `secondary-selection'.
4209 * org-faces.el (org-clock-overlay): New face.
4211 2009-01-21 Carsten Dominik <carsten.dominik@gmail.com>
4213 * org-exp.el (org-get-current-options): Include the option for
4214 publishing time stamps.
4216 * org.el (org-toggle-heading): Renamed from
4217 `org-toggel-region-headings'.
4218 No longer needs a region defined, but will use it if there is one.
4219 (org-ctrl-c-star): Simplified, relying more on the internal
4220 workings of `org-toggle-heading'.
4221 (org-toggle-item): Renamed from `org-toggle-region-items'.
4222 No longer needs a region defined, but will use it if there is one.
4223 (org-ctrl-c-minus): Simplified, relying more on the inernal
4224 workings of `org-toggle-item'.
4226 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
4227 environment detection. Also, do real changes only in unprotected
4230 2009-01-20 Carsten Dominik <carsten.dominik@gmail.com>
4232 * org-export-latex.el (org-export-latex-quotation-marks): Use
4233 `org-if-unprotected-1'.
4234 (org-export-latex-set-initial-vars): Check for class definition in
4237 * org-macs.el (org-if-unprotected-1): New macro.
4239 2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
4241 * org-compat.el (org-count-lines): New function.
4243 * org-exp.el (org-export-format-source-code-or-example): Handle
4244 switches related to text areas.
4246 * org.el (org-activate-footnote-links): Don't allow match inside a
4249 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4251 * org-export-latex.el (org-export-latex-links): Keep a relative
4252 path relative also after export.
4254 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4256 * org.el (org-make-tags-matcher): Never use IDO for completing the
4257 tags matcher match string.
4258 (org-completing-read): Also remove the special biding for "?".
4260 * org-attach.el (org-attach-allow-inheritance): New option.
4261 (org-attach-inherited): New variable.
4262 (org-attach-dir): Handle properties related to the attachment
4264 (org-attach-check-absolute-path): New function.
4265 (org-attach-set-directory, org-attach-set-inherit): New commands.
4266 (org-attach): Accommodate the new commands in the dispatcher.
4268 2009-01-18 Carsten Dominik <carsten.dominik@gmail.com>
4270 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4271 `window-full-width-p'.
4273 * org-exp.el (org-export-as-html): Only check for images files
4274 that really can be inlined
4276 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4277 list of extensions to be a parameter.
4279 * org-exp.el (org-export-html-inline-image-extensions): New
4282 * org-agenda.el (org-prepare-agenda): Use
4283 `org-agenda-block-separator'.
4284 (org-agenda-block-separator): New option.
4286 2009-01-17 Carsten Dominik <carsten.dominik@gmail.com>
4288 * org-export-latex.el (org-export-latex-tables): Call
4289 `org-table-clean-before-export' with the new optional argument.
4291 * org-exp.el (org-table-clean-before-export): New optional
4292 parameter MAYBE-QUOTED, allows for quoted characters like \# in
4295 2009-01-16 Carsten Dominik <carsten.dominik@gmail.com>
4297 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4300 * org-colview.el (org-colview-construct-allowed-dates): Better
4301 error catching when a date/time property does not have allowed
4304 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4305 Better error catching when a date/time property does not have
4306 allowed values defined.
4308 2009-01-14 Carsten Dominik <carsten.dominik@gmail.com>
4310 * org.el (org-map-entries): Restore point and restriction after
4313 2009-01-13 Carsten Dominik <carsten.dominik@gmail.com>
4315 * org.el (org-time=, org-time<, org-time<=, org-time>)
4316 (org-time>=, org-time<>): Make sure both values are dates.
4318 2009-01-11 Carsten Dominik <carsten.dominik@gmail.com>
4320 * org-archive.el (org-extract-archive-heading): Allow %s for file
4321 name also in achive location heading.
4323 2009-01-10 Carsten Dominik <carsten.dominik@gmail.com>
4325 * org-archive.el (org-add-archive-files): Uniquify the list before
4328 2009-01-09 Carsten Dominik <carsten.dominik@gmail.com>
4330 * org-compat.el (org-fit-window-to-buffer): Use
4331 `window-full-width-p'.
4333 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4334 space after the colon in short examples.
4336 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4337 enforce a space after the colon. However, we also allow lines
4338 that are *only* a colon.
4339 (org-export-as-html): Enforce the space after the colon in short
4341 (org-export-preprocess-string): Do the colon example protection
4343 (org-export-remove-timestamps): Do not check for protection at the
4346 2009-01-08 Carsten Dominik <carsten.dominik@gmail.com>
4348 * org.el (org-format-latex-options): Add new matcher for single
4349 letters between dollars.
4350 (org-get-header): Function removed.
4351 (org-heading-components): New function.
4353 * org-exp.el (org-export-define-heading-targets): Record ID's also
4354 as alternative targets.
4355 (org-export-as-html): Interpret "id:" links to other files by
4356 preserving the relative path.
4358 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4361 * org-exp.el (org-export-normalize-links): Protect the main link,
4362 to avoid special character processing.
4364 * org-export-latex.el (org-export-latex-special-keyword-regexp):
4366 (org-export-latex-special-string-regexps): Variable removed.
4367 (org-export-latex-keywords): Use the new regexp.
4369 * org-exp.el (org-export-handle-include-files): Fetch switches and
4370 put them into the BEGIN statement.
4372 * org-timer.el (org-timer-mode-line-string): New variable.
4374 * org-clock.el (org-clock-mode-line-map): Renamed from
4375 `org-clock-mode-map'.
4376 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4377 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4378 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4379 (org-clock-remove-overlays): Renamed from
4380 `org-remove-clock-overlays'.
4382 * org-timer.el (org-timer-pause-or-continue): Implement stopping
4383 and mode line display.
4384 (org-timer-stop): New command.
4385 (org-timer-seconds): Return correct time when timer is paused.
4386 (org-timer-mode-line-timer): New variable.
4387 (org-timer-set-mode-line, org-timer-update-mode-line): New
4390 * org.el (org-insert-heading): Handle new value `auto' for
4391 `org-blank-before-new-entry'.
4392 (org-org-menu): Add new items for timer functions.
4394 * org-list.el (org-insert-item): Handle new value `auto' for
4395 `org-blank-before-new-entry'.
4397 * org.el (org-blank-before-new-entry): New value `auto', made
4400 2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
4402 * org-exp.el (org-export-normalize-links): If the link is also
4403 used as the description, protect the description.
4405 2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
4407 * org.el (org-closest-date): Fix bug with yearly repeats, in
4408 combination with preference of the past as it is used for deadline
4409 and scheduling search.
4411 * org-exp.el (org-html-handle-time-stamps): No longer check for
4412 the `org-export-with-timestamps' option, because the preprocesser
4413 has taken care of this already.
4415 * org.el (org-entry-properties): Catch the case when this is
4416 called in a non-org-mode file.
4418 * org-export-latex.el (org-export-latex-remove-from-headlines):
4419 Variable made obsolete, also LaTeX export now uses the standard
4421 (org-export-as-latex): Add the timestamps parameter to the
4422 preprocessor parameter list.
4423 (org-export-latex-content): Export the remaining keywords without
4424 considering to remove them.
4425 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4426 Use bold font instead of tt font for the keywords.
4427 (org-export-latex-fontify-headline): Format headlines, assuming
4428 that all keywords still present should be published.
4429 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4430 publish what ever remains of the time stamps.
4431 (org-export-latex-list-parameters): New option.
4432 (org-export-latex-lists): Pass additional parameters to the list
4435 * org-exp.el (org-export-preprocess-string): Remove clock lines
4436 and timestamps already in the preprocesor.
4437 (org-export-remove-timestamps, org-export-remove-clock-lines): New
4439 (org-export-as-ascii, org-export-as-html): Add the timestamps
4440 parameter to the preprocessor parameter list.
4442 * org-list.el (org-list-parse-list): Parse for checkboxes.
4443 (org-list-to-generic): Introduce and handle new parameters :cbon
4445 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4446 optional parameter PARAMS.
4448 * org-export-latex.el (org-export-latex-special-chars): Fix
4449 problems with interpreting dollar signs.
4450 (org-inside-latex-math-p): New function.
4451 (org-export-latex-preprocess): Protect all the math fragments.
4453 * org.el (org-latex-regexps): Allow a dash after a dollar.
4455 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4458 * org-agenda.el (org-run-agenda-series): Have series options set
4459 when finalizing the agenda.
4461 * org-exp.el (org-export-format-source-code-or-example): Protect
4462 the converted examples.
4464 * org.el (org-set-regexps-and-options): Fix the regexp
4465 `org-complex-heading-regexp'.
4467 2009-01-05 Carsten Dominik <carsten.dominik@gmail.com>
4469 * org.el (org-edit-src-get-label-format): New function.
4470 (org-coderef-label-format): New option.
4471 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4472 a label format specification and make sure it is used in the edit
4474 (org-edit-src-get-label-format): New function.
4475 (org-store-link): Handle new coderef formats.
4476 (org-link-search): Handle new coderef formats.
4478 * org-footnote.el (org-footnote-create-definition)
4479 (org-footnote-goto-local-insertion-point): Make footnote insertion
4480 work correctly when the "Footnotes" headline is the last line in
4483 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4486 2009-01-04 Carsten Dominik <carsten.dominik@gmail.com>
4488 * org-w3m.el (org-w3m): New customization group.
4489 (org-w3m-deactivate-mark): New option.
4490 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4493 2009-01-02 Carsten Dominik <carsten.dominik@gmail.com>
4495 * org.el (org-set-font-lock-defaults): Trigger footnote
4497 (org-activate-footnote-links): New function.
4498 (org-activate-links): New entry `footnote'.
4500 * org-faces.el (org-footnote): New face.
4502 2009-01-01 Carsten Dominik <carsten.dominik@gmail.com>
4504 * org-macs.el (org-re): Handle the [:word:] class.
4506 * org-exp.el (org-export-preprocess-string): Call
4507 `org-export-protect-colon-examples'.
4508 (org-export-protect-colon-examples): Renamed from
4509 `org-export-protect-examples', and scope limited to lines starting
4512 2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
4514 * org-exp.el (org-export-preprocess-string): Move the preprocess
4515 hook to after turning on Org-mode.
4516 (org-export-preprocess-after-include-files-hook)
4517 (org-export-preprocess-after-tree-selection-hook)
4518 (org-export-preprocess-before-backend-specifics-hook)
4519 (org-export-preprocess-final-hook): New hooks.
4520 (org-export-preprocess-string): Run the new hooks.
4522 * org.el (org-ctrl-c-minus): Fix indentation for new items.
4524 * org-footnote.el: New file.
4526 * org.el (org-footnote): Require footnote code.
4527 (org-startup-options): Add new footnote options.
4528 (org-mode-map): New keybindig for footnotes.
4529 (org-ctrl-c-ctrl-c): Add function at footnotes.
4530 (org-org-menu): New menu entries for footnotes.
4532 * org-export-latex.el (org-export-as-latex): Pass footnote
4533 variable to preprocessor.
4534 (org-export-latex-preprocess): Treat multiple references to a
4537 * org-exp.el (org-export-preprocess-string): Call
4538 `org-footnote-normalize'.
4539 (org-export-as-ascii, org-export-as-html): Pass footnote variable
4541 (org-export-as-html): Treat multiple references to a footnote.
4543 2008-12-26 Carsten Dominik <carsten.dominik@gmail.com>
4545 * org-export-latex.el (org-export-latex-links): Handle coderef
4548 * org.el (org-bracket-link-analytic-regexp++): New variable.
4549 (org-make-link-regexps): Initialize
4550 `org-bracket-link-analytic-regexp++'.
4551 (org-store-link): Implement special case in edit-src buffer.
4552 (org-insert-link): No use of ide to insert stored links.
4553 (org-link-search): Implement special case for coderefs.
4555 * org-exp.el (org-export-html-scripts): New constant.
4556 (org-export-html-style-default): Add a new style for highlighted
4558 (org-export-code-refs): New variable.
4559 (org-export-preprocess-string): Initialize `org-export-code-refs'.
4560 Call `org-export-replace-src-segments-and-examples'
4561 No longer call `org-export-protect-examples'.
4562 (org-export-target-internal-links): Take care of coderef targets.
4563 (org-export-last-code-line-counter-value): New variable.
4564 (org-export-replace-src-segments-and-examples): Renamed from
4565 `org-export-replace-src-segments', and modified.
4566 (org-export-format-source-code-or-example): Renamed from
4567 `org-export-format-source-code'.
4568 (org-export-number-lines): New function.
4569 (org-export-as-ascii, org-export-as-html): Handle coderef links.
4571 --------------------------------------------------------------------------
4573 2008-12-23 Carsten Dominik <carsten.dominik@gmail.com>
4575 * org-remember.el (org-remember-handler): Safer way to get a new
4576 buffer accessing the target file.
4578 * org.el (org-refile-get-location): Handle case of current buffer
4579 not having a file associated with it.
4581 2008-12-22 Carsten Dominik <carsten.dominik@gmail.com>
4583 * org-table.el (org-table-get-formula): Only ask to overwrite
4584 field formula if there really is one.
4586 * org-id.el (org-id-find): Allow the ID to be a symbol or a
4587 number, by converting these to a string.
4589 * org-colview.el (org-dblock-write:columnview): Allow ID to be
4590 located in a different file.
4592 * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
4595 2008-12-21 Carsten Dominik <carsten.dominik@gmail.com>
4597 * org.el (org-completion-use-ido): Enhance docstring of
4598 `org-completion-use-ido'.
4600 * org-export-latex.el (org-export-latex-make-header): Double the %
4601 in the time stamp format.
4602 (org-export-latex-special-chars): Handle case where there is no
4605 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
4607 * org.el (org-get-refile-targets, org-refile-get-location): Use
4608 expanded file name to improve comparison.
4610 2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
4612 * org.el (org-scan-tags): Rescan for tags, to get the correct
4613 upcase/downcase stuff. This slows things down for now, but it
4615 (org-mode): Make sure the tag-faces regexp is initialized.
4617 * org-export-latex.el (org-export-latex-links): Fix bug with
4620 * org-table.el (org-table-get-specials): Set
4621 `org-table-current-last-data-line'.
4622 (org-table-current-last-data-line): New variable.
4623 (org-table-insert-column, org-table-delete-column)
4624 (org-table-move-column, org-table-fix-formulas): Call
4625 `org-table-fix-formulas' a second time to fix the $LR references.
4626 (org-table-get-specials): Add the $LR references to the tables.
4627 (org-table-get-formula): Do not offer last-row names as LHS of
4630 * org.el (org-store-link): Capture link description from
4631 `org-id-store-link'.
4633 * org-exp.el (org-export-html-format-image): Add the / to the end
4635 (org-export-format-source-code): Surround example by empty lines,
4636 to make sure it will not be inside a paragraph.
4638 * org.el (org-ido-switchb): New function.
4640 2008-12-18 Carsten Dominik <carsten.dominik@gmail.com>
4642 * org-agenda.el (org-agenda-show): New prefix argument
4645 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4648 * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
4649 `org-agenda-change-all-lines'.
4650 (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
4651 tags are now retrieved locally.
4653 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
4655 * org.el (org-get-outline-path): Fix bug if level is not given.
4656 (org-org-menu): Do not quote function in menu vector.
4658 * org-agenda.el (org-finalize-agenda): Fix typo with variable
4661 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4663 * org.el (org-refile): Avoid refiling to within the region to be
4666 * org-export-latex.el (org-export-latex-special-chars): Replace
4667 special characters also in tables.
4669 * org-agenda.el (org-agenda-change-all-lines): New argument
4671 (org-agenda-set-tags): Cet the new tags and pass them to
4672 `org-format-agenda-item'.
4674 2008-12-15 Carsten Dominik <carsten.dominik@gmail.com>
4676 * org-export-latex.el (org-export-latex-classes): Add longable as
4677 a default package to all classes.
4678 (org-export-latex-tables): Handle the longtable attribute and the
4681 * org-table.el (orgtbl-to-generic): Handle tables that start with
4684 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4685 \verb for colde-like snippets.
4686 (org-export-as-latex): Fix issues with region export.
4688 * org.el (org-up-heading-safe): Speed up function by using a
4689 direct regexp search.
4690 (org-olpa): New variable.
4691 (org-get-outline-path): Speed-up path constructions in cases where
4692 this is possible because the entire hierarchy is scanned anyway.
4693 (org-refile-get-location): Don't compare the truenames of files,
4695 (org-goto-max-level): New option.
4696 (org-goto): Use `org-goto-max-level'.
4698 2008-12-12 Tassilo Horn <tassilo@member.fsf.org>
4700 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4701 Strip angle brackets from message-ids in the former and don't do
4703 (org-gnus-follow-link): Open summary reliable, even if the last
4704 messages were deleted, and handle empty groups, too.
4706 2008-12-12 Carsten Dominik <carsten.dominik@gmail.com>
4708 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4709 instead of \texttt for the =...= and ~===~ emphasis environments.
4710 (org-export-as-latex): Remove any old :org-license-to-kill text
4712 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4713 (org-export-latex-make-header): Add some hard space after the
4715 (org-export-latex-first-lines): Accept RBEG argument. Mark
4716 exported text so that it will be excuded in further steps.
4718 * org-table.el (org-table-get-specials): Make @0 reference the
4719 last line in a table.
4720 (org-table-recalculate): Improve docstring.
4722 2008-12-11 Carsten Dominik <carsten.dominik@gmail.com>
4724 * org.el (org-log-done): Fix docstring.
4726 2008-12-10 Carsten Dominik <carsten.dominik@gmail.com>
4728 * org-exp.el (org-export-html-format-image): Fix bugs.
4730 * org-export-latex.el (org-export-latex-tables)
4731 (org-export-latex-links): Implement attribute, label, and caption
4734 * org-exp.el (org-export-html-style-default): Add style
4735 definitions for the figure div.
4736 (org-export-preprocess-string, org-export-as-html): Implement
4737 attribute, label, and caption handling.
4738 (org-export-attach-captions-and-attributes): New function.
4739 (org-export-html-format-image): New function.
4740 (org-format-org-table-html): Implement attribute, label, and
4743 * org.el (org-find-text-property-in-string): New function.
4744 (org-extract-attributes): Use the property org-attr instead of
4745 org-attrobutes, because this property is now set with the #+ATTR
4748 2008-12-08 Carsten Dominik <carsten.dominik@gmail.com>
4750 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
4751 the case that FROM is nil.
4753 * org.el (org-before-first-heading-p): New function.
4755 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4757 * org-exp.el (org-export-as-html): Do not add a space before
4758 enforces line breaks.
4759 (org-export-as-html): Close paragraph before blockquote and verse
4762 2008-12-06 Carsten Dominik <carsten.dominik@gmail.com>
4764 * org-id.el (org-id-locations-file): Wrap file name with
4765 `convert-standard-filename'.
4766 (org-id-files): New variable.
4767 (org-id-use-hash): New option.
4768 (org-id-update-id-locations): Also search in all files current
4769 listed in `org-id-files'. Convert the resulting alist to a hash
4770 if the user customation says so.
4771 (org-id-locations-save): Handle he case if `org-id-locations' is a
4773 (org-id-locations-load): Convert the alist to a hash.
4774 (org-id-add-location): Handle the hast case.
4775 (kill-emacs-hook): Make sure id locations are saved when Emacs is
4777 (org-id-hash-to-alist, org-id-alist-to-hash)
4778 (org-id-paste-tracker): New functions.
4780 -------------------------------------------------------------------------
4782 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
4784 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
4785 bindings of calendar variables.
4787 * org-table.el (org-table-find-row-type): Renamed from
4788 `org-find-row-type'.
4789 (org-table-rewrite-old-row-references): Renamed from
4790 `org-rewrite-old-row-references'.
4791 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
4792 (org-table-cleanup-narrow-column-properties): Renamed from
4793 `org-cleanup-narrow-column-properties'.
4795 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
4797 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
4798 for better error messages.
4799 (org-table-get-descriptor-line): Supply the new arguments to
4800 `org-find-row-type'.
4801 (org-table-error-on-row-ref-crossing-hline): New option.
4803 * org.el (org-target-link-regexp): Make buffer-local.
4804 (org-move-subtree-down): Fix bug with trees at beginning of
4807 2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
4809 * org-faces.el (org-set-tag-faces): New function.
4810 (org-tags-special-faces-re): New variable.
4812 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
4814 * org-faces.el (org-tag-faces): New option.
4815 (org-tag): Mention `org-tag-faces' in the docstring.
4817 2008-12-03 Carsten Dominik <carsten.dominik@gmail.com>
4819 * org-exp.el (org-export-html-style-default): Implement new
4822 * org-jsinfo.el (org-infojs-template): Implement new quoting.
4824 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
4825 command to the `w3m-minor-mode-map'.
4827 * org-archive.el (org-archive-to-archive-sibling): Protect
4828 `this-command' to avoid appending kills during archiving.
4830 * org-exp.el (org-export-with-priority): New variable.
4831 (org-export-add-options-to-plist): Use `org-export-plist-vars'
4832 instead of internal list of strings and properties.
4833 (org-print-icalendar-entries): Retrieve the location property with
4836 2008-12-02 Carsten Dominik <carsten.dominik@gmail.com>
4838 * org-exp.el (org-export-with-todo-keywords): New option.
4839 (org-export-plist-vars): Include also the keys for the #+OPTIONS
4841 (org-default-export-plist, org-export-add-options-to-plist)
4842 (org-export-as-ascii, org-export-as-html): Use the new structure
4843 of `org-export-plist-vars'.
4845 * org.el (org-map-entries): Return all values.
4847 2008-11-29 Carsten Dominik <carsten.dominik@gmail.com>
4849 * org.el (org-matcher-time): Recognize more special values.
4851 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
4853 2008-11-27 Carsten Dominik <carsten.dominik@gmail.com>
4855 * org.el (org-tags-exclude-from-inheritance): New option.
4856 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
4857 `org-tags-exclude-from-inheritance'.
4859 * org-agenda.el (org-agenda-show-inherited-tags): New option.
4860 (org-format-agenda-item): Add inherited tags to the agenda line
4861 string, and make sure that properties are kept when downcasing the
4863 (org-agenda-add-inherited-tags): New function.
4864 (org-downcase-keep-props): New function.
4866 * org.el (org-scan-tags): Mark inherited tags with a text
4868 (org-get-tags-at): Mark inherited tags with a text property.
4869 (org-add-prop-inherited): New function.
4871 * org-agenda.el (org-agenda-add-inherited-tags): New function.
4872 (org-agenda-show-inherited-tags): New option.
4874 2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
4876 * org.el (org-modules): Add org-w3m to the default modules.
4878 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
4880 (orgtabl-create-or-convert-from-region): New command.
4882 * org-exp.el (org-export-as-ascii): Remove the handling of
4884 (org-export-ascii-preprocess): Handle targets already in this
4887 2008-11-25 Carsten Dominik <carsten.dominik@gmail.com>
4889 * org-timer.el (org-timer-start-time): Define this variable.
4890 (org-timer-item): Make argument optional.
4892 * org-list.el (org-insert-item): Automatically insert a timer item
4893 if the current list is a timer list.
4895 * org-timer.el: New file.
4897 * org-publish.el (org-publish-org-index): Only exclude the index
4898 file in the main directory from being added to the site-map.
4899 (org-publish-get-project-from-filename): If the current project is
4900 a component, start publishing from the parent project.
4902 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
4904 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
4906 * org-publish.el (org-publish-org-index): Improve removal of
4909 * org-agenda.el (org-get-closed): Re-apply changes
4910 accidentially overwritten by last commit to Emacs.
4912 * org.el (org-outline-path-complete-in-steps): New option.
4913 (org-refile-get-location): Honor
4914 `org-outline-path-complete-in-steps'.
4915 (org-agenda-change-all-lines, org-tags-sparse-tree)
4916 (org-time-string-to-absolute, org-small-year-to-year)
4917 (org-link-escape): Re-apply changes accidentially overwritten
4918 by last commit to Emacs
4920 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4922 * org-clock.el (org-dblock-write:clocktable): Make sure the
4923 clocktable sees the first line.
4924 (org-clock-in): Warn if the clock cannot be resumed.
4926 2008-11-22 Carsten Dominik <carsten.dominik@gmail.com>
4928 * org.el (org-open-at-point): Fix mixup about interactive and
4929 non-interactive elisp links.
4931 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
4933 * org-exp.el (org-export-preprocess-string): Allow one comment
4934 line before the first headline to always be included. This is
4935 to not miss a commented target.
4937 * org-mouse.el (org-mouse-insert-item): Call
4938 `org-indent-to-column' instead of `indent-to', for XEmacs
4941 * org.el (org-refile-targets): Fix customize definition so
4942 that it works also in XEmacs.
4943 (org-fixup-indentation): Call `org-indent-to-column' instead
4944 of `indent-to', for XEmacs compatibility.
4946 2008-11-21 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
4948 * org-mew.el (org-mew-store-link): Get the correct case folder
4949 for refiled messages.
4951 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
4953 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
4954 line break indicators.
4956 * org.el (org-ido-completing-read): Remove the "i:" prefix for
4957 ido-completion propts.
4959 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
4961 * org-remember.el (org-remember-apply-template): Use
4962 `org-substring-no-properties'.
4964 * org-compat.el (org-substring-no-properties): New function.
4966 * org-remember.el (org-remember-apply-template): Use
4967 `org-substring-no-properties' for compatibility.
4969 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
4971 (org-fix-bullet-type): respect
4972 `org-list-two-spaces-after-bullet-regexp'.
4974 * org-clock.el (org-clock-load): Clean up the code.
4976 * org.el (org-adaptive-fill-function): Allow two spaces after
4977 "1." as a list bullet.
4979 2008-11-20 Carsten Dominik <carsten.dominik@gmail.com>
4981 * org-clock.el (org-clock-save, org-clock-load): Check for
4982 live buffers, existing files, and buffer file names to ensure
4983 consistent information.
4984 (org-clock-persist): Make `clock' a special value of this
4985 variable, and improve docstring.
4987 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
4988 (org-get-string-indentation): Adapt indentation when the bullet
4991 2008-11-19 Carsten Dominik <carsten.dominik@gmail.com>
4993 * org-remember.el (org-remember-finalize): Make interactive.
4994 (org-remember-kill): New command.
4995 (org-remember-finish-immediately): Call `org-remember-finalize'
4997 (org-remember-finalize): Make `org-remember-finalize' an interactive
5000 2008-11-18 Carsten Dominik <carsten.dominik@gmail.com>
5002 * org-remember.el (org-remember-apply-template): No ido completion
5003 for free prompts in remember templates.
5004 (org-remember-before-finalize-hook): New hook.
5005 (org-remember-mode): New minor mode.
5006 (org-remember-apply-template): Turn on `org-remember-mode'.
5008 * org-id.el (org-id-add-location): Avoid error when no file is
5011 * org-remember.el (org-remember-apply-template): Fix the way how
5012 the list of allowed properties is retrieved from the target file.
5014 * org.el (org-insert-link): Improve file link matching.
5016 2008-11-17 Carsten Dominik <carsten.dominik@gmail.com>
5018 * org-colview.el (org-columns-display-here): New argument
5019 DATELINE, to trigger using the new face.
5020 (org-agenda-colview-summarize): Call `org-columns-display-here'
5021 with the new argument.
5023 * org-faces.el (org-agenda-column-dateline): New face.
5025 * org-publish.el (org-publish-org-index): Use index-title at page
5026 title, not as section.
5028 * org-exp.el (org-export-html-format-desc): Respect the
5029 org-protect property.
5030 (org-export-as-html): Protect image specifiers that are in the
5031 description part of a link.
5033 * org.el (org-sort-entries-or-items, org-completing-read)
5034 (org-refile-get-location, org-olpath-completing-read, org-todo)
5035 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
5036 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
5037 (org-set-property, org-delete-property)
5038 (org-delete-property-globally): Use `org-ido-completing-read'.
5040 * org-remember.el (org-remember-apply-template): Use
5041 `org-ido-completing-read'.
5043 * org-publish.el (org-publish): Use `org-ido-completing-read'.
5045 * org-colview.el (org-columns-edit-value, org-columns-new)
5046 (org-insert-columns-dblock): Use `org-ido-completing-read'.
5048 * org-colview-xemacs.el (org-columns-edit-value)
5049 (org-columns-new, org-insert-columns-dblock): Use
5050 `org-ido-completing-read'.
5052 * org-attach.el (org-attach-delete-one, org-attach-open): Use
5053 `org-ido-completing-read'.
5055 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
5056 `org-ido-completing-read'.
5058 * org.el (org-time-today): New function.
5059 (org-matcher-time): Use `org-time-today'. Add special treatment
5060 for "<tomorrow>" and "<yesterday>".
5061 (org-ido-completing-read): New function.
5062 (org-completion-use-ido): New option.
5064 * org-exp.el (org-export-format-source-code): Fix bug in require
5066 (org-export-target-internal-links): Fix bug in search for text
5069 2008-11-16 Carsten Dominik <carsten.dominik@gmail.com>
5071 * org-export-latex.el (org-export-latex-subcontent): Interprete
5072 target aliases as additonal labels.
5074 * org-exp.el (org-export-target-aliases): New variable.
5075 (org-export-preprocess-string)
5076 (org-export-handle-invisible-targets): Fill the alias alist.
5077 (org-export-as-html): Remove the from the anchor, and also
5079 (org-html-level-start): Insert the target aliases as additonal
5082 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
5085 2008-11-15 Carsten Dominik <carsten.dominik@gmail.com>
5087 * org.el (org-open-at-mouse): Ensure correct link abbreviations
5088 when following a link with the mouse from the agenda.
5090 * org-exp.el (org-export-as-html): Avoid lone </div> when no
5091 headlines are created.
5093 2008-11-14 Carsten Dominik <carsten.dominik@gmail.com>
5095 * org-exp.el (org-export-preprocess-string): Reorder so that we
5096 can still see ID properties when we collect targets.
5097 (org-export-target-internal-links): Also store targets for ID's.
5099 * org.el (org-link-translation-function): New option.
5100 (org-open-at-point): Call `org-link-translation-function' if
5102 (org-translate-link): New function.
5103 (org-translate-link-from-planner): New function.
5104 (org-open-at-point): Allow interactive commands in elisp links.
5106 * org-exp.el (org-icalendar-cleanup-string): Restore the old
5107 iCalendar quoting. The new one seems to caus problems with
5110 * org.el (org-yank): Set `this-command' to `yank', so that
5111 `yank-pop' will work.
5113 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
5115 * org-id.el (org-id-search-archives): New option.
5117 * org.el (org-link-to-org-use-id): New option.
5118 (org-store-link): Use `org-link-to-org-use-id'.
5119 (org-id): Make org-id.el a standard component.
5121 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
5123 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
5124 hexified version of the tag.
5126 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
5127 compliance as far as quoting is concerned.
5129 * org-vm.el (org-vm-follow-link): Require `vm-search'.
5131 * org.el (org-up-heading-safe, org-forward-same-level): Always
5132 call `org-back-to-heading' instead of `outline-back-to-heading'.
5133 (org-back-to-heading): New wrapper around outline-back-to-heading,
5134 with a useful error message telling where the error happened.
5136 * org-list.el (org-update-checkbox-count): Always call
5137 `org-back-to-heading' instead of `outline-back-to-heading'.
5139 * org-exp.el (org-export-as-html): Make sure that each <img> tag
5140 has an `alt' attribute, to ensure XHTML validation.
5142 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
5144 * org-publish.el (org-publish-attachment): Allow publishing to
5145 overwrite attachment files.
5147 * org-agenda.el (org-agenda-timerange-leaders): New option.
5148 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
5150 * org.el (org-edit-src-exit): Untabify ASCII image before
5164 2008-11-11 Carsten Dominik <carsten.dominik@gmail.com>
5166 * org.el (org-yank): Make any prefix force normal yanking.
5167 Suppress folding if text would be swallowed into a folded
5169 (org-yank-folded-subtrees, org-yank): Docstring updates.
5171 * org-agenda.el (org-agenda-compare-effort): Treat no effort
5174 * org-exp.el (org-export-language-setup): Add Catalan and
5175 Esperanto language entries.
5177 2008-11-10 Carsten Dominik <carsten.dominik@gmail.com>
5179 * org.el (org-refile): Allow refiling of entire regions.
5181 * org-clock.el (org-clock-time%): New function.
5183 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
5184 retrieve property values.
5186 2008-11-09 Carsten Dominik <carsten.dominik@gmail.com>
5188 * org-agenda.el (org-agenda-list): Handle the value `only' of
5189 org-agenda-show-log'.
5190 (org-agenda-log-mode): Interpret a double prefix arg.
5192 2008-11-08 Carsten Dominik <carsten.dominik@gmail.com>
5194 * org-exp.el (org-export-html-footnotes-section): New variable.
5195 (org-export-as-html): Use `org-export-html-footnotes-section' to
5196 insert the footnotes.
5197 (org-export-language-setup): Add "Footnotes" to language words.
5199 2008-11-07 Carsten Dominik <carsten.dominik@gmail.com>
5201 * org.el (org-yank): Fix bug when not inserting a subtree.
5203 2008-11-06 Carsten Dominik <carsten.dominik@gmail.com>
5205 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
5206 instead of `vm-beginning-of-message'.
5208 * org.el (org-make-link-regexps): Make sure that links to gnus can
5211 2008-11-05 Carsten Dominik <carsten.dominik@gmail.com>
5213 * org-attach.el (org-attach-dir): Remove duplicate ID creation
5216 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
5219 * org.el (org-link-abbrev-alist): Improve customization type.
5221 * org-attach.el (org-attach-expand-link, org-attach-expand): New
5224 * org-agenda.el (org-agenda-get-progress): Renamed from
5225 `org-get-closed'. Implement searching for state changes as well.
5226 (org-agenda-log-mode-items): New option.
5227 (org-agenda-log-mode): New option prefix argument, interpreted as
5228 request to show all possible progress info.
5229 (org-agenda-get-day-entries): Call `org-get-progress' instead of
5231 (org-agenda-set-mode-name): Handle the more complex log mode
5233 (org-get-closed): New alias, pointing to `org-get-progress'.
5235 2008-11-05 Carsten Dominik <dominik@science.uva.nl>
5237 * org.el (org-file-apps-defaults-gnu)
5238 (org-file-apps-defaults-macosx)
5239 (org-file-apps-defaults-windowsnt): Add an entry defining the
5241 (org-file-apps): Allow `system' as key and value.
5242 (org-open-at-point): Explain the effect of a double prefix arg.
5243 (org-open-file): If the argument `in-emacs' is (16),
5244 i.e. corresponding to a double prefix argument, try to open the
5247 2008-11-04 Carsten Dominik <dominik@science.uva.nl>
5249 * org.el (org-insert-link): Abbreviate absolute files names in
5250 links. Also, fix a bug in which the double C-u prefix would not
5253 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
5255 * org.el (org-insert-heading): If buffer does not end with a
5256 newline, add one if necessary to insert headline correctly.
5258 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5259 paragraphs, not inside.
5261 * org.el (org-todo): Quote
5262 `org-agenda-headline-snapshot-before-repeat'.
5264 * org-exp.el (org-export-as-html): Fully process link descriptions.
5265 (org-export-html-format-desc): New function.
5266 (org-export-as-html): Collect footnotes into the correct basket.
5267 (org-html-protect): No longer protect quotations marks here, this
5270 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5273 * org-compat.el (org-fit-window-to-buffer): New function (not
5274 really, a preliminary and incomplete version was present earlier,
5277 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5278 `org-fit-window-to-buffer'.
5280 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5282 * org-agenda.el (org-agenda-get-restriction-and-command)
5283 (org-fit-agenda-window, org-agenda-convert-date): Use
5284 `org-fit-window-to-buffer'.
5286 * org-exp.el (org-export-as-html): Process href links through
5287 `org-export-html-format-href'.
5288 (org-export-html-format-href): New function.
5290 * org-agenda.el (org-agenda-todo): Update only the current
5291 headline if this is a repeated TODO, marked done for today.
5292 (org-agenda-change-all-lines): New argument JUST-THIS, to change
5293 only the current line.
5295 * org.el (org-todo): Take a snapshot of the headline if the
5296 repeater might change it.
5298 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
5300 * org-publish.el (org-publish-find-title): Remove buffers visited
5301 only for extracting the title.
5303 * org-exp.el (org-export-html-style)
5304 (org-export-html-style-default): Mark style definitions as
5307 * org-publish.el (org-publish-validate-link): Function
5310 2008-11-02 Charles Sebold <csebold@gmail.com>
5312 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5314 (org-plot-quote-timestamp-field): New function.
5315 (org-plot-quote-tsv-field): Call timestamp field function when
5316 necessary rather than just quoting as a string.
5317 (org-plot/gnuplot-to-data): Pass in timefmt property.
5318 (org-plot/gnuplot-script): Supports timefmt property.
5319 (org-plot/gnuplot): Checks for timestamp column before checking
5320 for text index column.
5322 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
5324 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5326 * org-publish.el (org-publish-org-index): Create a section in the
5328 (org-publish-org-index): Stop linking to directories.
5330 * org.el (org-emphasis-alist): Use span instead of <u> to
5333 * org-exp.el (org-export-as-html): Make sure <p> is closed before
5336 2008-11-01 Sebastian Rose <sebastian_rose@gmx.de>
5338 * org-jsinfo.el (org-infojs-template): Remove language attribute
5341 2008-11-01 Carsten Dominik <dominik@science.uva.nl>
5343 * org-agenda.el (org-agenda-remove-marked-text): New function.
5344 (org-agenda-mark-filtered-text)
5345 (org-agenda-unmark-filtered-text): New functions.
5346 (org-write-agenda): Remove fltered text.
5348 * org.el (org-make-tags-matcher): Give access to TODO "property"
5349 without speed penalty.
5351 2008-10-29 Carsten Dominik <dominik@science.uva.nl>
5353 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5355 (org-store-link-props): Make sure adding to the plist works
5358 * org-gnus.el (org-gnus-no-new-news): New function.
5359 (org-gnus-follow-link): Allow the article ID to be a message-id,
5360 in addition to allowing article numbers. Message IDs make much
5362 (org-gnus-store-link): Use message-id to create link.
5364 2008-10-28 Carsten Dominik <dominik@science.uva.nl>
5366 * org.el (org-emphasize): Reverse the selection array.
5367 (org-emphasis-alist): Set <code> tags for the verbatim
5370 * org-remember.el (org-remember-handler): Fix bug with
5371 prefix-related changing of the note storage target.
5373 * org-exp.el (org-print-icalendar-entries): Make the exported
5374 priorities compatible with RFC 2445.
5376 * org-clock.el (org-clock-save): Insert time stamp without
5377 dependence on time-stamp.el.
5379 2008-10-27 Carsten Dominik <dominik@science.uva.nl>
5381 * org.el ("saveplace"): If saveplace puts point into an invisible
5382 location, make it visible.
5383 (org-make-tags-matcher): Allow inactive time stamps in time
5385 (org-yank-adjusted-subtrees): New option.
5386 (org-yank): Incorporate adjusting trees.
5387 (org-paste-subtree): New argument FOR-YANK which will cause
5388 insertion at point without backing up over white lines, and leave
5389 point at the end of the inserted text. Also if the cursor is
5390 at the beginning of a headline, use the same level or the inserted
5393 * org-publish.el (org-publish-get-base-files-1): Deal correctly
5394 with broken symlinks
5396 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5398 * org-exp.el (org-export-select-tags, org-get-current-options):
5401 2008-10-25 Carsten Dominik <dominik@science.uva.nl>
5403 * org-agenda.el (org-format-agenda-item)
5404 (org-agenda-filter-make-matcher): Make sure tags are stored and
5407 2008-10-23 Carsten Dominik <dominik@science.uva.nl>
5409 * org.el (org-insert-todo-heading): Fix bug with force-heading
5412 2008-10-23 James TD Smith <ahktenzero@mohorovi.cc>
5414 * org-clock.el (org-clock-in-resume): Add a custom option to
5415 toggle starting the clock from an open clock line.
5416 (org-clock-in): When clocking in to an entry, if
5417 `org-clock-in-resume' is set, check if the first clock line is
5418 open and if so, start the clock from the time in the clock line.
5419 (org-clock-persist): Add a custom option to toggle clock
5421 (org-clock-persist-query-save): Add a custom option to toggle
5422 asking the user if they want to save the running clock when
5424 (org-clock-persist-query-resume): Add a custom option to toggle
5425 asking the user if they want to resume the saved clock when Emacs
5427 (org-clock-save): Add a function to save clock data.
5428 This includes the contents of `org-clock-history' and the buffer
5429 and position of the currently clocked task, if any.
5430 (org-clock-load): Add a function to load clock data.
5431 This populates `org-clock-history', and resumes the saved clocked
5432 task if there is one.
5433 (org-clock-persistence-insinuate): Add a method to set up the
5434 hooks for clock persistence.
5436 2008-10-22 Carsten Dominik <dominik@science.uva.nl>
5438 * org-exp.el (org-export-as-ascii): Handle the case that we are
5439 publishing from an indirect buffer.
5441 * org-table.el (org-table-copy-down): Fix bug with time stamp
5444 * org-mouse.el (org-mouse-features): New option.
5445 (org-mode-hook): Turn on features depending on
5446 `org-mouse-features'.
5448 * org.el (org-insert-heading-respect-content): Force heading
5450 (org-insert-heading): keep the folding state of the heading before
5453 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
5455 * org-archive.el (org-archive-to-archive-sibling): Handle top
5456 level headlines better.
5458 2008-10-21 Bastien Guerry <bzg@altern.org>
5460 * org-export-latex.el (org-export-latex-classes): Added
5461 \usepackage{graphicx} to the default list of packages.
5463 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
5465 * org-agenda.el (org-agenda-filter): Renamed from
5466 `org-agenda-filter-tags'.
5468 2008-10-20 Carsten Dominik <dominik@science.uva.nl>
5470 * org.el (org-entry-properties): Add CATEGORY property, iven if it
5471 is not defined as a property in this entry.
5472 (org-add-log-note): Mask prefix argument when immediately storing
5475 * org-agenda.el (org-agenda-filter-effort-default-operator): New
5478 2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
5480 * org.el (org-add-log-setup): Bugfix; code to find insertion point
5481 after drawers was skipping ahead one line too many, so notes were
5482 inserted after the first note instead of before it.
5484 2008-10-18 Carsten Dominik <dominik@science.uva.nl>
5486 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5488 (org-prepare-agenda): Reset the filter tags.
5489 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5490 Show filter tags in mode line.
5492 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5495 * org-export-latex.el (org-latex-entities-regexp): New constant.
5496 (org-export-as-pdf): Use two calls to `shell-command'.
5498 2008-10-17 Carsten Dominik <dominik@science.uva.nl>
5500 * org-export-latex.el (org-export-latex-treat-sub-super-char):
5501 Honor the {} value of the subsuperscript setting. Make sure that
5502 longer subsuperscripts are typeset in a roman font.
5504 * org.el (org-clock-update-time-maybe): Compute negative clock
5505 intervals correctly.
5507 2008-10-16 Carsten Dominik <dominik@science.uva.nl>
5509 * org.el (org-add-log-setup): Respect
5510 `org-log-state-notes-insert-after-drawers'.
5511 (org-log-state-notes-insert-after-drawers): New option.
5512 (org-todo-trigger-tag-changes): New function.
5513 (org-todo): Call `org-todo-trigger-tag-changes'.
5515 2008-10-15 James TD Smith <ahktenzero@mohorovi.cc>
5517 * org.el (org-add-log-setup): Only skip drawers if the are
5518 immediately after the scheduling keywords.
5520 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5522 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5523 call it with the current todo state to get the state to switch to
5525 (org-clock-in): Use org-indent-line-function to indent clock lines.
5526 (org-clock-find-position): Fix indentation of empty clock drawers.
5528 2008-10-15 Carsten Dominik <dominik@science.uva.nl>
5530 * org-publish.el (org-publish-org-to): Handle case when
5531 org-export-to-pdf does return a file name, not a buffer.
5532 (org-publish-org-to-pdf): New function.
5534 * org-export-latex.el (org-export-as-pdf)
5535 (org-export-as-pdf-and-open): New commands.
5537 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5540 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5541 things in protexted regions.
5543 2008-10-14 Carsten Dominik <dominik@science.uva.nl>
5545 * org-export-latex.el (org-export-latex-preprocess): Improve
5546 quoting of LaTeX environments.
5548 2008-10-10 Carsten Dominik <dominik@science.uva.nl>
5550 * org.el (org-edit-fixed-width-region): Exclude final newline from
5553 * org-export-latex.el (org-export-latex-subcontent): Add labels to
5554 sections, to make internal links work.
5555 (org-export-latex-fontify-headline): Do not remove all text
5556 properties, to make sure that target properties survive this
5559 * org-exp.el (org-export-preprocess-string): Change sequence of
5560 modifications, to make sure links are prepared before the LaTeX
5561 conversions do happen.
5563 2008-10-09 Carsten Dominik <dominik@science.uva.nl>
5565 * org-attach.el (org-attach-delete-all): Renamed from
5566 `org-attch-delete'. Add a security query before deleting the
5567 entire directory. New optional argument FORCE can overrule the
5569 (org-attach-delete-one): New command.
5571 2008-10-08 Carsten Dominik <dominik@science.uva.nl>
5573 * org-attach.el (org-attach-file-list): Fix bug with directory.
5575 2008-10-07 Carsten Dominik <dominik@science.uva.nl>
5577 * org.el (org-apps-regexp-alist): New function.
5578 (org-file-apps): Add auto-mode to the default value.
5579 (org-open-file): Use the new structure of org-file-apps.
5581 * org-attach.el (org-attach): Support the new keys.
5582 (org-attach-method): New option.
5584 2008-10-06 Carsten Dominik <dominik@science.uva.nl>
5586 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5589 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5590 of the list value o `org-use-tag-inheritance'.
5592 * org-attach.el (org-attach-auto-tag): New option.
5593 (org-attach-tag, org-attach-untag): New functions.
5594 (org-attach-attach, org-attach-new, org-attach-sync): Call
5596 (org-attach-delete): Call `org-attach-untag'.
5598 2008-10-04 Carsten Dominik <dominik@science.uva.nl>
5600 * org-table.el (orgtbl-self-insert-command): Make this work for
5603 2008-10-02 Carsten Dominik <dominik@science.uva.nl>
5605 * org.el (org-add-log-setup): Limit searc for drawers to entry
5606 text, not to subtree.
5608 * org-clock.el (org-clock-heading-for-remember): New variable.
5609 (org-clock-in): Set `org-clock-heading-for-remember'.
5611 2008-10-01 James TD Smith <ahktenzero@mohorovi.cc>
5613 * org-remember.el (org-remember-apply-template): Add new
5614 expansions: %k, %K for currently clocked task and a link to the
5615 currently clocked task, and %< to file notes in the currently
5618 2008-10-01 Carsten Dominik <dominik@science.uva.nl>
5620 * org-export-latex.el (org-export-latex-make-header): Also insert
5621 the content of the property :latex-header-extra.
5623 * org-exp.el (org-infile-export-plist): Put the content of
5624 #+LATEX_HEADER: into the property :latex-header-extra.
5626 * org-colview.el (org-columns-get-format-and-top-level): Remove
5627 resetting the marker.
5629 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5630 Remove resetting the marker.
5632 * org.el (org-entry-property-inherited-from): Improve docstring.
5633 (org-entry-get-with-inheritance): Reset marker before starting the
5636 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5638 2008-09-30 Carsten Dominik <dominik@science.uva.nl>
5640 * org.el (org-entry-get-multivalued-property)
5641 (org-entry-protect-space, org-entry-restore-space): New
5643 (org-file-apps-defaults-macosx): Let postscript files be opened by
5645 (org-time-stamp-inactive): Call `org-time-stamp'.
5646 (org-time-stamp): New argument `inactive'. Also edit inacive
5647 stamps. Convert time stamp type.
5648 (org-open-file): Interpret the `default' value for the `command'
5651 * org-id.el (org-id-int-to-b36-one-digit)
5652 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5653 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
5656 2008-09-29 Carsten Dominik <dominik@science.uva.nl>
5658 * org-id.el (org-id-reverse-string): New function.
5659 (org-id-new): Use `org-id-reverse-string' to make sure the
5660 beginning chars of the ID are mutating fast. This allows to use a
5661 directory structure to spread things better.
5662 (org-id-prefix): Changed default to nil.
5664 * org-list.el (org-move-item-down, org-move-item-up): Remember and
5665 restore the column of the cursor position.
5667 * org-remember.el (org-remember-apply-template): Remove properties
5670 2008-09-27 Carsten Dominik <dominik@science.uva.nl>
5672 * org-wl.el (org-wl-open): Remove useless call to
5673 `wl-thread-open-all'.
5675 * org-remember.el (org-remember-handler): Fix bug with `bottom'
5678 2008-09-26 Carsten Dominik <dominik@science.uva.nl>
5680 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5681 `org-bbdb-anniversaries'.
5683 * org.el (org-get-next-sibling, org-forward-same-level): New
5684 functions, similar to the outline versions, but invisible headings
5687 2008-09-25 Bastien Guerry <bzg@altern.org>
5689 * org.el (org-auto-repeat-maybe): Insert a space between
5690 the timestamp's type and the timestamp itself.
5692 2008-09-24 Carsten Dominik <dominik@science.uva.nl>
5694 * org-table.el (org-table-sum): Do not format the result with %g,
5695 it does rounding when there are too many digits.
5697 * org.el (org-map-entries): Protect the keyword-selecting variables.
5699 2008-09-23 Bastien Guerry <bzg@altern.org>
5701 * org-agenda.el (org-agenda-to-appt): Make sure the function check
5702 against all agenda files.
5704 2008-09-23 Carsten Dominik <dominik@science.uva.nl>
5706 * org-list.el: New file, aggregating list functions from org.el
5707 and org-export-latex.el.
5709 * org.el (org-edit-src-region-extra): New option.
5711 2008-09-22 Carsten Dominik <dominik@science.uva.nl>
5713 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5716 2008-09-22 Bastien Guerry <bzg@altern.org>
5718 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5720 2008-09-22 James TD Smith <ahktenzero@mohorovi.cc>
5722 * org-plot.el (org-plot/gnuplot): Make tables starting with a
5723 hline work correctly.
5724 (org-plot/gnuplot-script): Put commas at the end of each script
5727 2008-09-20 James TD Smith <ahktenzero@mohorovi.cc>
5729 * org.el (org-get-refile-targets): Replace links with their
5731 (org-imenu-get-tree): Replace links with their descriptions.
5733 * org-remember.el (org-remember-apply-template): Add a new
5734 expansion for adding properties to remember items.
5736 * org.el (org-add-log-setup): Skip over drawers (properties,
5737 clocks etc) when adding notes.
5739 * org-agenda.el (org-agenda-get-closed): show durations of clocked
5740 items as well as the start and end times.
5742 * org-compat.el (org-get-x-clipboard-compat): Add a compat
5743 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
5745 * org-remember.el (org-get-x-clipboard): Use the compat
5746 function to get clipboard values when x-selection-value is
5747 unavailable. Use substring-no-properties instead of
5748 set-text-properties to remove text properties from the clipboard
5751 * lisp/org-clock.el (org-update-mode-line): Support limiting the
5752 modeline clock string, and display the full todo value in the
5753 tooltip. Set a local keymap so mouse-3 on the clock string goes to
5754 the currently clocked task.
5755 (org-clock-string-limit): Add a custom value for the maximum
5756 length of the clock string in the modeline.
5757 (org-clock-mode-map): Add a keymap for the modeline string
5759 2008-09-21 Carsten Dominik <dominik@science.uva.nl>
5761 * org-compat.el (org-propertize): New function.
5763 2008-09-20 Bastien Guerry <bzg@altern.org>
5765 * org-export-latex.el (org-export-latex-tables): protect exported
5766 tables from further special chars conversion.
5767 (org-export-latex-preprocess): Preserve LaTeX environments.
5768 (org-list-parse-list): Parse descriptive lists.
5769 (org-list-to-generic, org-list-to-latex, org-list-to-html)
5770 (org-list-to-texinfo): Export descriptive lists.
5771 (org-quote-chars): Remove.
5772 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
5773 (org-export-latex-list-beginning-re): Rename to
5774 `org-list-beginning-re'
5775 (org-list-item-begin): Rename to `org-list-item-beginning'
5777 2008-09-20 Carsten Dominik <dominik@science.uva.nl>
5779 * org.el (org-refile): Allow refiling to the last entry in the
5781 (org-get-tags-at): Fix bug when inheritance is turned off.
5783 2008-09-19 Carsten Dominik <dominik@science.uva.nl>
5785 * org.el (org-indent-line-function): No longer check for src
5786 regions, this is too much overhead.
5788 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
5791 * org.el (org-scan-tags): Make sure that tags matching is not case
5792 sensitive. TODO keyword matching is case sensitive, however, to
5793 avoid confusion with similar words that are not meant to be
5796 2008-09-18 Carsten Dominik <dominik@science.uva.nl>
5798 * org.el (org-get-local-tags-at): New function.
5799 (org-get-local-tags): New function.
5801 * org-exp.el (org-export-get-categories): New function.
5803 * org-agenda.el (org-sorting-choice)
5804 (org-agenda-sorting-strategy, org-agenda-get-todos)
5805 (org-agenda-get-timestamps, org-agenda-get-deadlines)
5806 (org-agenda-get-scheduled, org-agenda-get-blocks)
5807 (org-entries-lessp): Implement sorting by TODO state.
5808 (org-cmp-todo-state): New defsubst.
5810 * org-colview.el (org-colview-construct-allowed-dates): New
5812 (org-columns-next-allowed-value): Use
5813 `org-colview-construct-allowed-dates'.
5815 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
5817 (org-columns-next-allowed-value): Use
5818 `org-colview-construct-allowed-dates'.
5820 2008-09-17 Carsten Dominik <dominik@science.uva.nl>
5822 * org.el (org-protect-slash): New function.
5823 (org-get-refile-targets): Use `org-protect-slash'.
5825 * org-agenda.el (org-global-tags-completion-table): New variable.
5827 * org-exp.el (org-export-handle-export-tags): New function.
5828 (org-export-preprocess-string): Call
5829 `org-export-handle-export-tags'.
5831 * org-plot.el: New file.
5833 * org-publish.el (org-publish-expand-components): Function removed.
5834 (org-publish-expand-projects): Allow components to have components.
5836 2008-09-13 Carsten Dominik <dominik@science.uva.nl>
5838 * org.el (org-indent-line-function): Do not indent in regions that
5839 are external source code.
5840 (org-yank-and-fold-if-subtree): New function.
5842 * org-agenda.el (org-agenda-todayp): New function.
5843 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
5844 `org-agenda-todayp'.
5846 * org.el (org-insert-heading-respect-content)
5847 (org-insert-todo-heading-respect-content): New commands.
5848 (org-insert-heading-respect-content): New option.
5849 (org-insert-heading): Respect `org-insert-heading-respect-content'.
5851 * org-clock.el (org-clock-find-position): Make sure the note after
5852 the clock line gets moved into the new clock drawer.
5854 2008-09-11 Carsten Dominik <dominik@science.uva.nl>
5856 * org-id.el (org-id-new): New option.
5858 2008-09-08 Carsten Dominik <dominik@science.uva.nl>
5860 * org-table.el (org-table-copy-down): Avoid overflow during
5861 increment. Use prefix argument 0 to temporarily disable the
5864 2008-09-07 Carsten Dominik <dominik@science.uva.nl>
5866 * org-exp.el (org-export-as-html): Do not turn on the major mode
5867 if the buffer will be killed anyway.
5868 (org-get-current-options): Exclude the #+TEXT field.
5869 (org-export-as-html): Make sure text before the first headline is
5872 * org-publish.el (org-publish-org-to): Tell the exporter that this
5873 buffer will be killed, so it is not necessary to do major mode
5876 * org-archive.el (org-archive-to-archive-sibling): Show empty
5877 lines after folding the archive sibling.
5879 * org.el (org-log-note-extra): New variable.
5881 2008-09-05 Bastien Guerry <bzg@altern.org>
5883 * org.el (org-additional-option-like-keywords): Added keywords for
5884 the _QUOTE, _VERSE and _SRC environments.
5886 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
5887 exporting _QUOTE and _VERSE environments.
5889 2008-09-05 Carsten Dominik <dominik@science.uva.nl>
5891 * org-agenda.el (org-agenda-filter-by-tag): New command.
5893 * org-exp.el (org-get-current-options): Remove angular brackets
5894 from the date entry.
5896 * org.el (org-edit-fixed-width-region): New function.
5897 (org-edit-fixed-width-region): Also try
5898 `org-edit-fixed-width-region'.
5899 (org-edit-fixed-width-region-mode): New option.
5900 (org-activate-code): Only interprete lines starting with colon
5901 plus a space as example lines.
5903 * org-remember.el (org-remember-templates): Add nil instead of
5904 empty strings to fix the length of remember templates.
5906 * org-table.el (org-calc-default-modes): Fix the time format for
5907 calc, from 12 hour to 24 hour clock.
5909 2008-09-04 Carsten Dominik <dominik@science.uva.nl>
5911 * org-agenda.el (org-agenda-get-deadlines)
5912 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
5913 entries that are pre-warnings of deadlines or reminders.
5915 * org.el (org-sort-entries-or-items): Make numeric and alpha
5916 comparisons ignore any TODO keyword and priority cookie.
5918 * org-remember.el (org-remember-handler): Reinterpretation of the
5921 2008-09-03 Carsten Dominik <dominik@science.uva.nl>
5923 * org-agenda.el (org-agenda-get-scheduled): Use new
5924 `org-scheduled' face.
5926 * org-faces.el (org-scheduled): New face.
5928 * org-wl.el (org-wl-open): Remove incorrect declaration.
5930 * org-gnus.el (org-gnus-store-link): Support for :to information
5933 * org-exp.el (org-export-as-html): Fixed typo in creator
5935 (org-export-protect-examples): New parameter indent. Insert extra
5936 spaces only when this parameter is specified.
5937 (org-export-preprocess-string): Call `org-export-protect-examples'
5938 with an indentation parameter when exporting to ASCII.
5940 * org-remember.el (org-remember-templates)
5941 (org-remember-apply-template): Allow the file component to be a
5944 * org.el (org-goto-local-search-headings): Renamed from
5945 `org-goto-local-search-forward-headings'. Added the possibility
5946 to search backwards.
5948 2008-09-02 Carsten Dominik <dominik@science.uva.nl>
5950 * org-export-latex.el (org-export-latex): New customization
5953 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
5955 2008-09-01 Carsten Dominik <dominik@science.uva.nl>
5957 * org-exp.el (org-html-do-expand): Allow {} to terminate
5960 2008-07-29 Carsten Dominik <dominik@science.uva.nl>
5962 * org.el (org-buffer-list): Select buffers based on major mode,
5965 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
5967 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
5970 * org-colview.el (org-columns-display-here): Use
5971 `org-columns-modify-value-for-display-function'.
5973 * org-colview-xemacs.el (org-columns-display-here): Use
5974 `org-columns-modify-value-for-display-function'.
5976 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
5978 * org.el (org-columns-modify-value-for-display-function): New option.
5990 * org-publish.el (org-publish-file): Make sure the directory match
5991 for the publishing directory works correctly.
5993 * org-agenda.el (org-agenda-execute-calendar-command)
5994 (org-agenda-diary-entry): Additional optional argument.
5996 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
5998 * org-exp.el (org-export-as-html): Add attributes also in mailto
6001 * org.el (org-autoload): Add `org-dblock-write:columnview'.
6010 2008-07-23 Carsten Dominik <dominik@science.uva.nl>
6012 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
6013 sure that calls from `org-export-region-as-html' do not do the
6014 special check for a subtree.
6016 2008-07-22 Carsten Dominik <dominik@science.uva.nl>
6018 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
6020 2008-07-20 Juri Linkov <juri@jurta.org>
6022 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
6023 new keymap `narrow-map' instead of binding "\C-xns".
6025 2008-07-18 Carsten Dominik <dominik@science.uva.nl>
6027 * org.el (org-open-file): Use
6028 `org-open-directory-means-index-dot-org'.
6029 (org-open-directory-means-index-dot-org): New option.
6031 2008-07-17 Carsten Dominik <dominik@science.uva.nl>
6033 * org.el (org-make-link-string): Remove link attributes from
6035 (org-open-at-point): Remove link attributes bevore using the path.
6037 * org-exp.el (org-export-as-html): Handle link attributes.
6039 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
6041 * org-table.el (org-table-to-lisp): New function.
6043 * org.el (org-narrow-to-subtree): Do not include the final newline
6044 into the narrowed region.
6046 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
6047 bug with user-define skipping condition.
6049 2008-07-16 Carsten Dominik <dominik@science.uva.nl>
6051 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
6053 2008-07-14 Carsten Dominik <dominik@science.uva.nl>
6055 * org-exp.el (org-export-html-style-default): Automatic overflow
6056 handling for pre fields.
6057 (org-export-as-ascii, org-export-as-html): Change default format
6060 * org-table.el (org-table-export): Offer completion for translator
6061 functions, and do not require a heading above the table.
6063 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
6064 Cater for the case of a list starting in the first line of the
6067 2008-07-09 Carsten Dominik <dominik@science.uva.nl>
6069 * org-publish.el (org-publish-find-title): Bug fix.
6070 (org-publish-org-index): Implement new :index-style option.
6072 2008-07-07 Carsten Dominik <dominik@science.uva.nl>
6074 * org-publish.el (org-publish-timestamp-filename): Use
6075 SHA1-encoded file names in the timestamp directory.
6077 2008-07-05 Carsten Dominik <dominik@science.uva.nl>
6079 * org-publish.el (org-publish-needed-p): Be verbose about files
6080 published and files skipped.
6082 * org-exp.el (org-export-preprocess-string): Swap link
6083 normalization and inernal link targeting.
6085 * org-publish.el (org-publish-needed-p): Create timestamp
6086 directory when it does not exist.
6088 2008-07-04 Bastien Guerry <bzg@altern.org>
6090 * org-clock.el (org-clock-out-when-done): Doc fix.
6092 * org.el (org-agenda-skip-unavailable-files): Doc fix.
6094 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
6095 Ignore case when searching for the COMMENT cookie at export time.
6097 2008-07-02 Carsten Dominik <dominik@science.uva.nl>
6099 * org-exp.el (org-get-file-contents)
6100 (org-get-and-remove-property): New functions.
6101 (org-export-handle-include-files): Handle the new prefix options.
6102 (org-export-as-html): Fix the verse environment.
6104 2008-07-01 Carsten Dominik <dominik@science.uva.nl>
6106 * org.el (org-time=, org-time<, org-time<=, org-time>)
6107 (org-time>=, org-time<>, org-2ft): New functions.
6108 (org-op-to-function): Also provide for the time testing fucntions.
6110 2008-06-30 Carsten Dominik <dominik@science.uva.nl>
6112 * org-exp.el (org-export-html-style-default): New constant.
6114 2008-06-29 Carsten Dominik <dominik@science.uva.nl>
6116 * org-exp.el (org-export-html-style-extra): New variable.
6117 (org-export-splice-style): New function.
6119 2008-06-26 Carsten Dominik <dominik@science.uva.nl>
6121 * org-exp.el (org-export-plist-vars, org-export-as-html):
6122 Implement `org-export-creator-info'.
6123 (org-export-creator-info): New option.
6125 2008-06-25 Carsten Dominik <dominik@science.uva.nl>
6127 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
6128 (org-property-drawer-re, org-clock-drawer-re): New constants.
6130 2008-06-23 Carsten Dominik <dominik@science.uva.nl>
6132 * org-exp.el (org-icalendar-use-deadline)
6133 (org-icalendar-use-scheduled): New options.
6134 (org-icalendar-include-todo): Default changed to t.
6135 (org-print-icalendar-entries): Implement better utilization of
6136 scheduling and deadline time stamps.
6137 (org-export-target-internal-links, org-export-as-html): Allow file
6138 lines without the "file:" prefix if the file path is an absolute
6139 path or starts with ".".
6141 * org-clock.el (org-clocktable-shift): Also undertand yesterday,
6143 (org-clock-special-range): Also undertand yesterday, lastweek etc.
6145 2008-06-18 Glenn Morris <rgm@gnu.org>
6146 * org.el (org-map-entries): Let-bind `file'.
6148 2008-06-19 Carsten Dominik <dominik@science.uva.nl>
6150 * org.el (org-agenda-skip-archived-trees): Docstring now
6151 discourages using this.
6152 (org-scan-tags): Check for org-agenda-archives-mode.
6153 (org-map-entries): Make sure org-agenda-archives-mode is nil.
6154 (org-agenda-files): Functionality of second arg changed.
6156 * org-agenda.el (org-agenda-archives-mode): New variable
6157 (org-write-agenda, org-prepare-agenda, org-agenda-list)
6158 (org-search-view, org-todo-list, org-tags-view)
6159 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
6161 (org-agenda-quit): Reset the archives mode.
6162 (org-agenda-archives-mode): New command.
6163 (org-agenda-set-mode-name): Include archives info.
6165 2008-06-18 Carsten Dominik <dominik@science.uva.nl>
6167 * org.el (org-paste-subtree): Make sure the yanked headline is
6168 visible if it was yanked at a visible point.
6169 (org-move-item-up): Fix the bug with moving white space at the end
6171 (org-show-empty-lines-in-parent): New function.
6173 2008-06-16 Carsten Dominik <dominik@science.uva.nl>
6175 * org-colview.el (org-columns-next-allowed-value): Bug fix.
6177 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
6179 * org-agenda.el (org-agenda-get-closed): Get the end time into the
6180 agenda prefix as well.
6182 * org-publish.el (org-publish-org-index): Make a properly indented
6185 * org.el (org-calendar-agenda-action-key): New option.
6186 (org-get-cursor-date): New function.
6187 (org-mark-entry-for-agenda-action): New command.
6188 (org-overriding-default-time): New variable.
6189 (org-read-date): Respect `org-overriding-default-time'.
6191 * org-remember.el (org-remember-apply-template): Respect the
6192 ovverriding default time.
6194 * org-agenda.el (org-agenda-action-marker): New variable.
6195 (org-agenda-action): New command.
6196 (org-agenda-do-action): New function.
6198 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
6200 * org.el (org-schedule, org-deadline): Protect scheduled and
6201 deadline tasks against changes that accidently remove the
6202 repeater. Also show a message with the new date when done.
6204 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
6206 * org.el (org-beginning-of-line): Cater for the case when there
6207 are tags but no headline text.
6208 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
6211 2008-06-13 Carsten Dominik <dominik@science.uva.nl>
6213 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
6214 the return value is nil instead of "nil" when there is no match.
6216 * org-exp.el (org-insert-centered): Use fill-column instead of
6218 (org-export-as-ascii): Use string-width to measure the width of
6221 * org.el (org-diary-to-ical-string): No longer kill buffer
6222 FROMBUF, this is now done by the caller.
6224 * org-exp.el (org-print-icalendar-entries): Move the call to
6225 `org-diary-to-ical-string' out of the loop, and kill the buffer
6228 * org-remember.el (org-remember-visit-immediately): Position
6229 cursor after moving to the note.
6230 (org-remember-apply-template): Use a text property to record the
6232 (org-remember-handler): Align tags after pasting the note.
6234 2008-06-12 Carsten Dominik <dominik@science.uva.nl>
6236 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
6238 * org-agenda.el (org-agenda-open-link): If there is an
6239 org-bbdb-name property in the current line, jump to that bbdb
6242 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
6243 text property, so that the agenda knows where this entry comes
6246 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6247 interaction between clocking-in from the agenda, and automatic
6248 task state switching.
6250 * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6252 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6253 zmacs-region stays after this command in XEmacs.
6255 2008-06-11 Carsten Dominik <dominik@science.uva.nl>
6257 * org.el (org-scan-tags): Allow new values for ACTION parameter.
6259 * org-remember.el (org-remember-templates): Fix bug in
6260 customization type definition.
6262 * org.el (org-map-entries): New function.
6264 2008-06-11 verhuur82 <verhuur82@macbook-van-verhuur82.local>
6266 * org-agenda.el (org-agenda-skip-comment-trees): New option.
6267 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6269 2008-06-10 Carsten Dominik <dominik@science.uva.nl>
6271 * org-remember.el (org-jump-to-target-location): New variable.
6272 (org-remember-apply-template): Set
6273 `org-remember-apply-template' if requested by template.
6274 (org-remember-handler): Start an idle timer to jump to
6277 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6279 * org.el (org-set-regexps-and-options): Fix bug with parsing of
6281 (org-get-tags-at): Add the content of `org-file-tags'.
6283 * org-exp.el (org-export-handle-comments): Fix bug with several
6284 comment lines after each other.
6285 (org-number-to-roman, org-number-to-counter): New functions.
6286 (org-export-section-number-format): New option.
6288 2008-06-09 Carsten Dominik <dominik@science.uva.nl>
6290 * org-exp.el (org-export-protect-examples): Catch the case of a
6291 missing end_example line.
6293 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6294 `org-file-tags' to nil.
6296 * org-colview.el (org-columns-next-allowed-value): Handle next
6297 argument NTH to directly select a value.
6299 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6300 argument NTH to directly select a value.
6302 2008-06-08 Carsten Dominik <dominik@science.uva.nl>
6304 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6306 2008-05-30 Carsten Dominik <dominik@science.uva.nl>
6308 * org.el (org-columns-ellipses): New option.
6310 2008-05-29 Carsten Dominik <dominik@science.uva.nl>
6312 * org-colview.el (org-columns-add-ellipses): New function.
6313 (org-columns-compact-links): New function.
6314 (org-columns-cleanup-item): Call `org-columns-compact-links'.
6315 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6317 (org-columns-edit-value): Fixed bug with editing values from
6319 (org-columns-redo): Also redo the agenda itself.
6321 2008-05-28 Carsten Dominik <dominik@science.uva.nl>
6323 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6326 * org-colview.el (org-agenda-columns-cleanup-item): New function.
6328 * org-exp.el (org-export-ascii-preprocess): Renamed from
6329 `org-export-ascii-clean-string'.
6330 (org-export-kill-licensed-text)
6331 (org-export-define-heading-targets)
6332 (org-export-handle-invisible-targets)
6333 (org-export-target-internal-links)
6334 (org-export-remove-or-extract-drawers)
6335 (org-export-remove-archived-trees)
6336 (org-export-protect-quoted-subtrees)
6337 (org-export-protect-verbatim, org-export-protect-examples)
6338 (org-export-select-backend-specific-text)
6339 (org-export-mark-blockquote-and-verse)
6340 (org-export-remove-comment-blocks-and-subtrees)
6341 (org-export-handle-comments, org-export-mark-radio-links)
6342 (org-export-remove-special-table-lines)
6343 (org-export-normalize-links)
6344 (org-export-concatenate-multiline-links)
6345 (org-export-concatenate-multiline-emphasis): New functions,
6346 obtained from spliiting the export preprocessor.
6348 * org-table.el (org-table-recalculate): Improve error message if
6349 the row number is invalid.
6351 2008-05-27 Carsten Dominik <dominik@science.uva.nl>
6353 * org-archive.el (org-archive-save-context-info): Fix bugs in
6354 customization setup and docstring.
6356 * org-exp.el (org-export-html-style): Changed the size of in the
6357 <pre> element to 90%.
6359 2008-05-26 Carsten Dominik <dominik@science.uva.nl>
6361 * org.el (org-find-src-example-start): Function removed.
6362 (org-edit-src-find-region-and-lang): New function.
6364 2008-05-25 Carsten Dominik <dominik@science.uva.nl>
6366 * org.el (org-edit-src-exit): New function.
6367 (org-exit-edit-mode): New minor mode.
6369 * org-exp.el (org-export-preprocess-string): Fix bug with removing
6370 comment-like lines from protected examples.
6372 * org.el (org-edit-src-example, org-find-src-example-start)
6373 (org-protect-source-example, org-edit-special): New functions.
6375 2008-05-24 Carsten Dominik <dominik@science.uva.nl>
6377 * org-publish.el (org-publish-project-alist): Fix typo in
6379 (org-publish-project-alist): Handle :index-title property.
6381 2008-05-21 Carsten Dominik <dominik@science.uva.nl>
6383 * org-export-latex.el (org-export-as-latex): Make sure region
6384 bounds are correct. Parse subtree properties relating to export.
6386 * org-exp.el (org-export-add-options-to-plist): New function.
6387 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6389 2008-05-20 Carsten Dominik <dominik@science.uva.nl>
6391 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6394 * org-exp.el (org-export-get-title-from-subtree)
6395 (org-export-as-ascii, org-export-as-html): Make sure the original
6396 region-beginning and region-end are used, even after moving
6398 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6401 * org-remember.el (org-remember-last-stored-marker): New variable.
6402 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6403 (org-remember-handler): Also use marker to remember
6404 last-stored position.
6406 * org.el (org-goto-marker-or-bmk): New function.
6408 2008-05-19 Carsten Dominik <dominik@science.uva.nl>
6410 * org.el (org-file-properties): Renamed from `org-local-properties'.
6411 (org-scan-tags): Take file tags into account.
6412 (org-tags-match-list-sublevels): Default changed to t.
6414 * org-exp.el (org-export-as-html): Close paragraph after a
6417 * org.el (org-update-parent-todo-statistics): New function.
6419 * org-exp.el (org-icalendar-store-UID): New option.
6420 (org-icalendar-force-UID): Option removed.
6421 (org-print-icalendar-entries): IMplement UIDs.
6423 2008-05-18 Carsten Dominik <dominik@science.uva.nl>
6425 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6427 2008-05-16 Carsten Dominik <dominik@science.uva.nl>
6429 * org-faces.el (org-column): Document how this face is being used
6430 and why sometimes the background faces shine through.
6432 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6434 * org-publish.el (org-publish-attachment): Create publishing
6435 directory if it does not yet exist.
6437 * org-table.el (org-calc-default-modes): Change default number
6438 format to (float 8).
6440 * org.el (org-olpath-completing-read): New function.
6441 (org-time-clocksum-format): New option.
6442 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6444 * org-clock.el (org-clock-display, org-clock-out)
6445 (org-update-mode-line): Use `org-time-clocksum-format'.
6447 * org-colview-xemacs.el (org-columns-number-to-string): Use
6448 `org-time-clocksum-format'.
6450 * org-colview.el (org-columns-number-to-string): Use
6451 `org-time-clocksum-format'.
6453 2008-05-15 Carsten Dominik <dominik@science.uva.nl>
6455 * org-id.el: New file, move from contrib to core.
6457 * org-exp.el (org-icalendar-force-UID): New option.
6459 2008-05-14 Carsten Dominik <dominik@science.uva.nl>
6461 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6462 shifted by one day if theere is a date range without an end
6465 * org.el (org-try-structure-completion): New function.
6467 2008-05-13 Carsten Dominik <dominik@science.uva.nl>
6469 * org.el (org-set-font-lock-defaults): Improve fontification of
6471 (org-insert-item): Handle description lists.
6472 (org-adaptive-fill-function): Improve auto indentation in
6475 * org-exp.el (org-export-as-html, org-export-preprocess-string):
6476 Implement VERSE environment.
6477 (org-export-preprocess-string): Implement the COMMENT
6480 * org-export-latex.el (org-export-latex-preprocess): Implement
6483 2008-05-12 Carsten Dominik <dominik@science.uva.nl>
6485 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6488 2008-05-10 Carsten Dominik <dominik@science.uva.nl>
6490 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6492 * org.el (org-quote-csv-field): New functions.
6494 * org-table.el (org-table-export-default-format): Remove :splice
6495 from default format, we get the same effect by not specifying
6497 (org-table-export): Improve setup, distinguish better between
6498 interactive and non-interactive use, allow specifying the format
6499 on the fly, better protection against wrong file names.
6500 (orgtbl-to-generic): Fix documentation. Do not require :tstart
6501 and :tend when :splice is omitted.
6503 2008-05-09 Bernt Hansen <bernt@norang.ca>
6505 * org-clock.el (org-clock-select-task): Make sure the selection
6506 letters are 1-9 and A-Z, no special characters.
6508 2008-05-09 Carsten Dominik <dominik@science.uva.nl>
6510 * org-exp.el (org-export-htmlize): New group.
6511 (org-export-htmlize-output-type)
6512 (org-export-htmlize-css-font-prefix): New options.
6513 (org-export-htmlize-region-for-paste): New function.
6514 (org-export-htmlize-generate-css): New command.
6516 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
6518 * org/org.el (org-modules, org-format-latex-options):
6519 * org/org-archive.el (org-archive-stamp-time)
6520 (org-archive-save-context-info):
6521 * org/org-faces.el (org-hide):
6522 * org/org-irc.el (org-irc-parse-link):
6523 * org/org-macs.el (org-call-with-arg, org-autoload):
6524 * org/org-mew.el (org-mew-store-link):
6525 * org/org-remember.el (org-remember-store-without-prompt)
6526 (org-remember-templates): Fix typos in docstrings.
6528 * org/org-info.el (org-info-store-link): Remove leftover docstring.
6530 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6531 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6532 (org-bbdb-anniv-split): Fix typos in docstrings.
6534 * org/org-publish.el (org-publish-project-alist): Doc fixes.
6535 (org-publish-use-timestamps-flag): Reflow docstring.
6536 (org-publish-files-alist): Fix typos in docstring.
6538 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
6540 * org.el (org-set-visibility-according-to-property): New function.
6541 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6542 and compute the regular expressions, and update font-lock.
6543 (org-property-re): Allow a dash in property names.
6545 * org-archive.el (org-extract-archive-file): Insert the file name
6546 without the path into the format, to allow the location format to
6547 contain a subdirectory.
6549 * org-agenda.el (org-agenda-post-command-hook): If point is at end
6550 of buffer, and the `org-agenda-type' property undefined, use the
6551 value from the character before.
6553 * org.el (org-add-planning-info): Don't let indentation for
6554 would-be timestamp become extra whitespace at the end of headline.
6556 2008-05-07 Carsten Dominik <dominik@science.uva.nl>
6558 * org.el (org-remove-double-quotes, org-file-contents): New
6561 * org-exp.el (org-infile-export-plist): Also parse the
6562 contents of #+SETUPFILE files, recursively.
6564 * org.el (org-set-regexps-and-options): Also parse the
6565 contents of #+SETUPFILE files, recursively.
6567 * org-exp.el (org-export-handle-include-files): New function.
6568 (org-export-preprocess-string): Call
6569 `org-export-handle-include-files'.
6571 * org.el (org-delete-property-globally)
6572 (org-delete-property, org-set-property): Ignore case during
6574 (org-set-property): Use `org-completing-read' instead of
6577 * org.el (org-complete-expand-structure-template): New,
6578 experimental function.
6579 (org-structure-template-alist): New, experimental option.
6580 (org-complete): Call `org-complete-expand-structure-template'.
6582 2008-05-06 Bastien Guerry <bzg@altern.org>
6584 * org-export-latex.el (org-export-latex-preprocess): Added
6585 support for blockquotes.
6587 2008-05-05 Carsten Dominik <dominik@science.uva.nl>
6589 * org.el (org-read-date-analyze): Catch the case where only a
6592 2008-05-04 Carsten Dominik <dominik@science.uva.nl>
6594 * org.el (org-set-font-lock-defaults): Make the description
6597 * org-exp.el (org-export-as-html, org-close-li): Implement
6600 2008-05-04 Jason Riedy <jason@acm.org>
6602 * org-table.el (*orgtbl-default-fmt*): New variable.
6603 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6604 when there is no other fmt available.
6606 (orgtbl-to-generic): Allow an explicitly nil :tstart or
6607 :tend to suppress the appropriate string.
6609 (orgtbl-to-orgtbl): New function for translating to another orgtbl
6612 2008-05-02 Carsten Dominik <dominik@science.uva.nl>
6614 * org.el (org-read-date-analyze): "." as an alias for "+0" in
6617 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6620 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6623 2008-05-01 Carsten Dominik <dominik@science.uva.nl>
6625 * org-clock.el (org-clock-find-position): Don't include notes
6628 * org-archive.el (org-archive-subtree): No longer remove an
6629 extra line after cutting the subtree. `org-cut-subtree' already
6632 * org-remember.el (org-remember-handler): Only kill the target
6633 buffer if it does not contain the running clock.
6635 * org.el (org-markers-to-move): New variable.
6636 (org-save-markers-in-region, org-check-and-save-marker)
6637 (org-reinstall-markers-in-region): New function.
6638 (org-move-subtree-down, org-copy-subtree): Remember relative
6639 marker positions before cutting.
6640 (org-move-subtree-down, org-paste-subtree): Restore relative
6641 marker positions after pasting.
6643 * org-remember.el (org-remember-clock-out-on-exit): New option.
6644 (org-remember-finalize): Clock out only if the setting in
6645 `org-remember-clock-out-on-exit' requires it.
6646 (org-remember-handler): Do the cleanup in the buffer, to make sure
6647 that the clock marker remains in tact.
6649 2008-04-29 Carsten Dominik <dominik@science.uva.nl>
6651 * org-clock.el (org-clock-goto): Widen buffer if necessary.
6652 (org-clock-in): Make sure that also tasks outside the narrowed
6653 region will be clocked in correctly.
6654 (org-clock-insert-selection-line): Widen the buffer so that we can
6655 find the correct task heading.
6657 * org.el (org-base-buffer): New function.
6659 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6660 and ";" are escaped.
6661 (org-print-icalendar-entries): Also apply
6662 `org-icalendar-cleanup-string' to the headline, not only to the
6665 2008-04-28 Carsten Dominik <dominik@science.uva.nl>
6667 * org-exp.el (org-export-preprocess-hook): New hook.
6668 (org-export-preprocess-string): Call
6669 `org-export-preprocess-hook'.
6671 * org.el (org-font-lock-hook): New variable.
6672 (org-font-lock-hook): New function.
6673 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6677 ;; add-log-time-zone-rule: t
6680 Copyright (C) 2008 Free Software Foundation, Inc.
6682 This file is part of GNU Emacs.
6684 GNU Emacs is free software: you can redistribute it and/or modify
6685 it under the terms of the GNU General Public License as published by
6686 the Free Software Foundation, either version 3 of the License, or
6687 (at your option) any later version.
6689 GNU Emacs is distributed in the hope that it will be useful,
6690 but WITHOUT ANY WARRANTY; without even the implied warranty of
6691 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6692 GNU General Public License for more details.
6694 You should have received a copy of the GNU General Public License
6695 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
6697 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c