1 2010-02-15 Chong Yidong <cyd@stupidchicken.com>
3 * org-freemind.el (org-freemind-from-org-mode-node)
4 (org-freemind-from-org-mode, )
5 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
6 Pass arg to called-interactively-p.
8 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
10 * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
11 Fix typos in docstrings.
13 2010-01-01 Juanma Barranquero <lekktu@gmail.com>
15 * org.el (org-get-outline-path, org-speed-command-help):
16 Fix typos in error messages.
18 2009-12-14 Juri Linkov <juri@jurta.org>
20 * org-html.el (org-export-html-style-include-default):
21 Put `safe-local-variable booleanp' on
22 `org-export-html-style-include-default' instead of mistakenly
23 duplicate `org-export-html-style'.
25 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
27 * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
28 agenda after adding new entry.
30 * org-datetree.el (org-datetree-find-day-create): Fix regular
33 * org.el (org-display-outline-path): Use a format specifier for
34 message, to avoid problems with heading containing `%'.
36 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
37 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
38 (org-agenda-fix-displayed-tags): New function.
39 (org-agenda-do-context-action): Just call
40 `org-display-outline-path', without piping the result through
43 * org-latex.el (org-export-latex-preprocess): Protect secondary
46 * org-indent.el (org-indent-initialize): Avoid empty strings as
49 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
50 hat checking for the mark does not throw an error.
51 (org-agenda-diary-entry-in-org-file): Catch the case that there is
52 not `day' text property in the cursor line.
54 * org.el (org-sort-entries-or-items): Make sure that the final
55 entry has a newline before doing the sorting.
57 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
58 property at the beginning of the line.
60 * org.el (org-make-link-string): Don't allow a description with
63 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
64 (org-agenda-insert-diary-as-top-level): New function.
65 (org-agenda-add-entry-to-org-agenda-diary-file): Call
66 `org-agenda-insert-diary-as-top-level'.
68 * org.el (org-occur-in-agenda-files): Make sure none of the
70 (org-activate-plain-links): Add the face property here.
71 (org-set-font-lock-defaults): Do not add the face to plain links,
72 the activator function does this.
74 * org-habit.el (org-is-habit-p): Add doc string.
76 * org-archive.el (org-archive-subtree-default-with-confirmation):
79 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
80 after match optional (happens at the end of a line...).
82 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
85 * org-faces.el (org-copy-face): Set lisp indentation.
86 (org-quote, org-verse): New faces.
88 * org-agenda.el (org-agenda-remove-date): Remove variable.
90 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
92 * org-html.el (org-export-as-html): Move the home/up link into
95 * org.el (org-export-latex-packages-alist): Option definition
96 moved here from org-latex.el.
98 * org-html.el (org-export-html-home/up-format): Add an ID to the
101 * org-wl.el (org-wl-store-link): Handle the case that
102 `wl-use-petname' is set.
104 * org.el (org-set-effort): Improve prompt.
105 (org-get-outline-path): Widen to get full path.
106 (org-compact-display-after-subtree-move): Function removed.
108 2009-11-20 Eric Schulte <schulte.eric@gmail.com>
110 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
111 hash keys to cache and re-use images generated by the
112 org-exp-blocks interface to ditaa and dot.
114 * org.el (org-format-latex): Latex images are now saved to files
115 named by the sha1 hash of the latex source text avoiding
116 regeneration of identical images.
118 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
120 * org-latex.el (org-export-as-latex): Add the :drawers property.
122 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
124 * org.el (org-speed-commands-user): Allow documentation headlines.
125 (org-speed-commands-default): Organize the value of this constant
126 with descriptive headlines.
127 (org-print-speed-command): Output the headlines.
129 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
131 * org-agenda.el (org-agenda-show-outline-path): New option.
132 (org-agenda-do-context-action): New function.
133 (org-agenda-next-line, org-agenda-previous-line): Use
134 `org-agenda-do-context-action'.
136 * org.el (org-use-speed-commands): Allow function value.
137 (org-speed-commands-default): Make headline motion safe, so that
138 these commands always end on a headline.
139 (org-speed-commands-default): New key `v' for `org-agenda'.
140 (org-speed-move-safe): New function.
141 (org-self-insert-command): Use the function value of
142 `org-use-speed-commands'.
143 (org-get-outline-path): Improve docstring.
144 (org-format-outline-path): New function.
145 (org-display-outline-path): New function.
147 2009-11-15 John Wiegley <jwiegley@gmail.com>
149 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
150 a string, use that to find the LOGBOOK drawer.
152 2009-11-15 Glenn Morris <rgm@gnu.org>
154 * org-agenda.el (org-datetree-find-date-create)
155 (org-habit-get-priority):
156 * org.el (org-format-agenda-item): Fix declarations.
158 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
160 * org.el (org-clone-subtree-with-time-shift): Make it work at the
163 * org-mobile.el (org-mobile-write-checksums): Specify coding
165 (org-mobile-timestamp-buffer): Keep local variable/mode line at
168 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
170 * org.el (org-block-todo-from-children-or-siblings-or-parent)
171 (org-block-todo-from-checkboxes): Do not block changes to a nil
174 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
176 * org-habit.el (org-habit-parse-todo): Indicate which habit is
177 wrongly set up in the error messages.
179 * org-colview.el (org-columns-display-here): Don't try to
180 calculate values if the underlying property is not set.
181 (org-columns-string-to-number): Convert age strings back into
183 (org-agenda-colview-summarize): Handle extended summary types
186 * org-colview-xemacs.el (org-columns-display-here): Don't try to
187 calculate values if the underlying property is not set.
188 (org-columns-string-to-number): Convert age strings back into
190 (org-agenda-colview-summarize): Handle extended summary types
193 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
195 * org-exp.el (org-export-format-drawer-function): New variable.
196 (org-export-format-drawer): New function.
197 (org-export-preprocess-string): Pass the backend as a parameter to
198 `org-export-remove-or-extract-drawers'.
199 (org-export-remove-or-extract-drawers): New parameter BACKEND.
201 * org-protocol.el (org-protocol-char-to-string): New defsubst.
203 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
205 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
206 message when no block is selected.
208 * org-latex.el (org-export-latex-links): Check for protectedness
209 in the last matched character, not after the match.
211 * org-datetree.el (org-datetree-find-date-create): Respect
212 restriction when KEEP-RESTRICTION is set.
213 (org-datetree-file-entry-under): New function.
214 (org-datetree-cleanup): New command.
216 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
218 * org-src.el (org-edit-src-code): New optional argument context
219 allows calling functions to avoid altering the saved window
221 (org-edit-src-exit): Do not restore window configuration when this
222 function is used in the context of saving the edit buffer.
224 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
226 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
227 instances to switching to with-current-buffer, because these seem
228 to cause problems - no idea why.
230 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
231 Require diary-lib for (diary-date-display-form).
233 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
235 * org.el (org-log-reschedule, org-log-redeadline): New options.
236 (org-log-note-headings): Add templates for rescheduling and
238 (org-startup-options): Add in-buffer settings for logging changing
239 schedule and deadline time stamps.
240 (org-deadline, org-schedule): Check for existing date and arrange
241 for logging if the user requests it.
242 (org-add-log-note): Prepare proper note buffers for rescheduling
243 and deadline changes.
245 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
247 * org-agenda.el (org-agenda-diary-entry-in-org-file)
248 (org-agenda-add-entry-to-org-agenda-diary-file)
249 (org-agenda-insert-diary-make-new-entry): New functions.
250 (org-agenda-diary-entry): Call
251 `org-agenda-diary-entry-in-org-file' when appropriate.
253 * org.el (org-calendar-insert-diary-entry-key): New option.
254 (org-agenda-diary-file): New option.
255 ("calendar"): Install our insertion function in the calendar.
257 * org-remember.el (org-datetree): Require.
258 (org-remember-templates): Add new positioning option.
259 (org-remember-reference-date): New variable.
260 (org-remember-apply-template): Store the reference date in a local
262 (org-remember-handler): Implement date tree positioning of entries.
264 * org-datetree.el: New file.
266 * org-latex.el (org-export-latex-preprocess): Protect targets in
269 * org-html.el (org-export-as-html): Protect targets in verbatim
272 * org-docbook.el (org-export-as-docbook): Protect targets in
275 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
277 * org-clock.el (org-show-notification): Handle messages that
278 contain a percent character.
280 * org-remember.el (org-remember-apply-template): Turn of partial
283 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
284 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
286 * org.el (org-indent-mode): Define variable already in org.el.
287 (org-unfontify-region): Remove line-prefix and wrap-prefix
288 properties only if org-indent-mode is active.
290 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
292 * org-icalendar.el (org-print-icalendar-entries): Save match data
293 around call to verify function.
294 (org-print-icalendar-entries): Add a call to the verification
297 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
298 save-restrivtion' form.
300 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
302 * org-exp.el (org-export-format-source-code-or-example): restrict
303 scope of preserve-indentp to the let binding.
304 (org-src): require org-src, since org-src-preserve-indentation is used.
306 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
308 * org-timer.el (org-timer-set-timer): Set variables
309 org-timer-timer[123] correctly.
312 * org-mobile.el (org-mobile-files-alist): Make it work when
313 `agenda-archives' is included in
314 `org-agenda-text-search-extra-files'.
315 (org-mobile-push): Restore agenda after mobile push.
317 2009-11-13 John Wiegley <jwiegley@gmail.com>
319 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
320 way the amount of idle time is presented in the minibuffer.
322 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
324 * org-icalendar.el (org-print-icalendar-entries): Use
325 org-icalendar-verify-function only if non-nil.
327 * org.el (org-refile): Refile to clock only if the prefix arg is
329 (org-sparse-tree): Fix docstring to be in line with prompt.
330 (org-update-parent-todo-statistics): Call
331 `org-after-todo-statistics-hook' on each level.
333 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
335 * org-remember.el (org-remember-apply-template): Make sure the
338 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
340 * org.el (org-tab-ind-state): New variable.
341 (org-cycle-level): New function.
342 (org-cycle-level-after-item/entry-creation): New option.
343 (org-flag-subtree): New function.
344 (org-hide-archived-subtrees): Call `org-flag-subtree'.
345 (org-set-effort): Indexed access.
347 * org-list.el (org-cycle-item-indentation): New function.
349 * org.el (org-refile): Make prefix argument 2 refile to current
351 (org-priority): Interpret action `remove' as call to remove the
354 * org-remember.el (org-remember-apply-template): Don't depend on
355 buffer name being like file name.
357 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
359 * org-clock.el (org-clock-play-sound): Expand file in
360 org-clock-sound, to allow ~ for home.
362 * org-remember.el (org-remember-handler): Set
363 text-before-node-creation even if this already looks like a node,
364 because the string might be needed on non-org-mode target files.
366 * org-agenda.el (org-agenda-open-link): Make this work in agenda
368 (org-agenda-switch-to): Follow a link at point if
369 org-return-follows-link' is set and there is nothing else to do in
372 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
374 * org-colview-xemacs.el: Add in changes from org-colview.el
376 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
378 * org-exp-blocks.el: Modify split separator regexp to avoid empty
381 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
383 * org-colview.el (org-columns-new): Make this work with the new
385 (org-columns-store-format): Make this work with the new operators.
387 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
389 * org-src.el (org-src-preserve-indentation): Document that this
390 variable is also used during export.
392 * org-exp.el (org-export-format-source-code-or-example): Preserve
393 indentation if a block has a -i option, or if
394 `org-src-preserve-indentation' is set.
396 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
397 indentation if a block has a -i option, or if
398 `org-src-preserve-indentation' is set.
400 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
402 * org.el (org-mode-map): Define the new archiving keys.
403 (org-speed-commands-default): Define an archiving key in the speed
405 (org-org-menu): Improve the menu structure concerning archiving.
407 * org-archive.el (org-archive-subtree-default-with-confirmation):
410 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
411 (org-agenda-menu): Add the new archiving commands to the menu.
412 (org-agenda-archive-default)
413 (org-agenda-archive-default-with-confirmation): New commands.
414 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
415 call `org-agenda-archive-with'.
416 (org-agenda-archive-with): New function.
418 * org-table.el (org-table-convert-region): Inert spaces around "|"
419 to avoid line beginnings like "|-1" which will be mistaken as
422 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
424 * org.el (org-offer-links-in-entry): Return nil if there are no
425 links, t if a link has been selected.
426 (org-open-at-point): Open attachment directory when called in the
427 headline and there are no links in the entry body.
428 (org-speed-commands-default): Add "o" for open-at-point as a speed
431 * org-attach.el (org-attach-reveal): Optional prefix arg
432 IF-EXISTS, which avoids creating the attachment directory if it
435 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
438 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
440 * org.el ("abbrev"): Work with abbrev tables only after they have
443 * org-list.el (org-list-send-list): Fix bug related to match
446 * org-latex.el (org-export-latex-fontify): Apply verbatim
448 (org-export-latex-make-header): Insert \obeylines if line breaks
451 * org-exp.el (org-export-protect-verbatim): Add an
452 `org-verbatim-emph' property to such text.
454 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
456 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
457 (org-print-icalendar-entries): Skip entries where the timestamp is
458 not a deadline and not scheduled, if the user requests that.
460 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
461 before an opening quote.
463 * org-archive.el (org-archive-subtree): Keep archive after
466 * org-id.el (org-id-update-id-locations): Add archive files if
467 that is required by `org-id-extra-files'.
469 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
471 * org-src.el (org-src-window-setup): New option.
472 (org-src-switch-to-buffer): New function.
473 (org-edit-src-exit): Add optional argument CONTEXT and use it to
474 restore window configuration.
475 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
476 Call `org-src-switch-to-buffer'.
478 * org.el (org-default-properties): Add STYLE property.
479 (org-files-list): Use the function call to get the files.
480 (org-additional-option-like-keywords): Add SETUPFILE to completion
483 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
485 * org-table.el (org-table-convert-region): Correctly interpret
486 quoting in csv import.
488 * org.el (org-icompleting-read): Make iswitchb completion work
489 with lists and tables.
491 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
492 while pushing the mobile agenda.
494 2009-11-13 John Wiegley <jwiegley@gmail.com>
497 (org-clock-auto-clock-resolution): Now takes three values: nil, t
498 and `when-no-clock-is-running'.
499 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
500 whether or not to resolve Org buffers on clock in.
502 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
504 * org-colview.el (org-format-time-period): Function to format
505 times in fractional days for display.
506 (org-columns-display-here): Add support for showing a calculated
507 value in place of the property.
508 (org-columns): Set `org-columns-time' to the current time so time
509 difference calculations will work.
510 (org-columns-time): Use to store the current time when column view
511 is displayed, so all time differences will use the same reference
513 (org-columns-compile-map): There is now an extra position in each
514 entry specifying the function to use to calculate the displayed
515 value for the non-calculated properties in the column,
516 (org-columns-compute-all): Set `org-columns-time' to the current
517 time so time difference calculations will work.
518 (org-columns-compute): Handle column operators where the values
519 used are calculated from the underlying property.
520 (org-columns-number-to-string): Handle the 'age' column format
521 (org-columns-string-to-number): Correct the function name (was
522 org-column...). Add support for the 'age' column format.
523 (org-columns-compile-format): Support the additional parameter in
524 org-columns-compile-map.
526 2009-11-13 Bastien Guerry <bzg@altern.org>
528 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
531 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
533 * org-clock.el (org-clock-has-been-used): New variable.
534 (org-clock-in): Set `org-clock-has-been-used'.
535 (org-clock-save): Save only if clock data has been used or created
538 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
540 * org-clock.el (org-clock-persist): New value, to store only the
542 (org-clock-save): Don't save the clock if only the history should
544 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
545 when restoring a saved clock.
547 2009-11-13 John Wiegley <jwiegley@gmail.com>
549 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
550 `org-time-clock-use-fractional'.
552 * org.el (org-time-clocksum-use-fractional)
553 (org-time-clocksum-fractional-format): Two new customizable
554 variables which allow the user to select fractional times (1.25
555 instead of 1:25) in the `org-clock-display' report.
557 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
559 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
562 * org.el (org-tag-alist): Fix customization type.
564 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
566 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
567 Make sure the regexp search can fail without throwing an error.
568 (org-mobile-apply): Save the inbox buffer after removing
569 successfully applied changes.
571 2009-11-13 John Wiegley <jwiegley@gmail.com>
573 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
574 time is reported after the user comes back (but before they
577 * org.el (org-get-repeat): Change so that this function can be
578 called with either `org-scheduled-string' or
579 `org-deadline-string'.
581 * org-clock.el (org-clock-auto-clock-resolution): Renamed
582 `org-clock-disable-clock-resolution', since negatives don't sound
583 good in customization variables.
584 (org-clock-in): Don't use the auto-resolution logic if the user is
585 clocking into a different task while an active clock is running.
586 This then allows the default behavior of clocking out of the open
587 task and then into the new task.
589 * org.el (org-modules): Made this variable more consistent, since
590 it was referring to Org, OrgMode and Org-mode, whereas the docs
591 for the variable always refer to Org-mode.
593 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
595 * org.el (org-repeat-re): The changed org-repeat-re no longer
596 matched simple +2d type repeaters. Fix it so it does.
598 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
600 * org-latex.el (org-export-latex-preprocess): Protect the vspace
601 macro in the VERSE environment.
603 2009-11-13 John Wiegley <jwiegley@gmail.com>
605 * org-habit.el (org-habit-get-priority): A new function that
606 determines the relative priority of a habit, based on how long
607 past its scheduled date it is, and how near the deadline is.
609 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
610 using `org-habit-get-priority'.
612 * org-habit.el (org-habit-build-graph): Start displaying colors
613 from the first scheduled date, if that date is earlier than the
614 first completion date.
616 * org-habit.el: Changed all "color" variables to faces, and made
617 them appropriate for light and dark backgrounds.
619 * org-habit.el (org-habit-duration-to-days): Made this function
621 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
623 * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
624 habits, since they don't use DEADLINE anymore.
626 * org.el (org-repeat-re, org-display-custom-time)
627 (org-timestamp-change): Extended to support the new ".+N/N"
628 syntax, used for habits.
630 * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
633 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
634 modeline when habits are being displayed (if that module is being
637 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
639 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
640 idle time using the xscreensaver extension.
641 (org-user-idle-seconds): Use X11 idle time if available.
643 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
645 * org-agenda.el (org-agenda-next-line): New command.
646 (org-agenda-previous-line): New commands.
647 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
649 (org-agenda-follow-mode): Do the follow immediately if the mode is
651 (previous-line, next-line): Replace keys with the corresponding
653 (org-agenda-mode-map): Bind backspace and delete to the scrolling
656 * org.el (org-icompleting-read): Turn off partial completion mode
657 for the duration of this completion round.
659 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
660 macros in author lines and similar stuff.
662 * org.el (org-file-tags): Fix docstring.
663 (org-get-buffer-tags): Add the #+FILETAGS tags.
664 ("ecb"): Maks ecb show context after jumping into an Org file.
666 2009-11-13 John Wiegley <johnw@newartisans.com>
668 * org-agenda.el (org-finalize-agenda): Draw habit consistency
669 graphs after everything else in the buffer has been setup.
671 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
673 * org-mobile.el (org-mobile-apply): Count success and failure.
675 * org.el (org-indent-line-function): Fix regexp replace problem.
677 2009-11-13 John Wiegley <johnw@newartisans.com>
679 * org-clock.el (org-clock-disable-clock-resolution): New
680 customization variable that disable automatic clock resolution on
682 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
683 not automatically resolve anything. This is does not affect
684 idle-time resolution, however, if `org-clock-idle-time' is set.
686 2009-11-13 John Wiegley <johnw@newartisans.com>
688 * org-habit.el: New file, which implements code to build a "habit
691 * org-agenda.el (org-agenda-get-deadlines)
692 (org-agenda-get-scheduled): Display consistency graphs when
693 outputting habits into the agenda. The graphs are always relative
695 (org-format-agenda-item): Added new parameter `habitp', which
696 indicates whether we are formatting a habit or not. Do not
697 display "extra" leading information if habitp is true.
699 * org.el (org-repeat-re): Improved regexp to include .+ and ++
700 leaders for repeat strings.
701 (org-get-repeat): Now takes a string parameter `tagline', so the
702 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
704 2009-11-13 John Wiegley <johnw@newartisans.com>
706 * org-agenda.el (org-agenda-auto-exclude-function): New
707 customization variable for allowing the user to create an "auto
708 exclusion" filter for doing context-aware auto tag filtering.
709 (org-agenda-filter-by-tag): Changes to support the use of
710 `org-agenda-auto-exclude-function'. See the new manual addition,.
712 2009-11-13 John Wiegley <johnw@newartisans.com>
714 * org.el (org-files-list): Don't attempt to return a file name for
715 Org buffers which have no associated file.
717 * org-agenda.el (org-agenda-do-action): Fixed a typo.
719 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
721 * org-mobile.el (org-mobile-locate-entry): Interpret files
722 relative to org-directory.
723 (org-mobile-inbox-for-pull): Document the best location for this
725 (org-mobile-check-setup): Verify `org-directory'.
726 (org-mobile-create-index-file): Sort the files to be listed in
729 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
731 * org.el (org-fast-tag-selection): Add a way to display a
732 description for a tag group. This is done by adding a string to
733 either the startgroup or endgroup cell.
735 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
737 * org-clock.el (org-clock-resolve, org-resolve-clocks)
738 (org-emacs-idle-seconds): Use `org-float-time' instead of
741 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
743 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
746 * org.el (org-pre-cycle-hook): Document that `empty' can also be
747 the value of ARG when doing local cycling.
749 2009-11-13 John Wiegley <johnw@newartisans.com>
751 * org-clock.el (org-clock-resolve-clock): If keeping or
752 subtracting time results in a clock out at a time in the past, and
753 if the resolution occurred due to idleness or invoking `M-x
754 org-resolve-clocks', remember that past moment in time. On the
755 next clock in, the user will be prompted to see if they want to
756 back-date their new clock to then.
757 (org-clock-resolve): Do not jump the user to the location of a
758 dangling clock if the resolution is occurring due to an idle
759 timeout. In that case there is typically only one dangling clock,
760 the active one, and there is no value gained by shuffling their
761 windows around to show it to them. Being prompted to resolve an
762 idle clock should be as inobtrusive as possible.
763 (org-resolve-clocks-if-idle): New function that resolves only the
764 currently active clock if the user has exceeded the time returned
765 by `org-user-idle-seconds', based on the value of
766 `org-clock-idle-time'.
767 (org-clock-in): If, after resolving clocks,
768 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
770 * org-clock.el (org-clock-resolve-clock): New function that
771 resolves a clock to a specific time, closing or resuming as need
772 be, and possibly even starting a new clock.
773 (org-clock-resolve): New function used by `org-resolve-clocks'
774 that sets up for the call to `org-clock-resolve-clock'. It
775 determines the time to resolve to based on a single-character
776 selection from the user to either keep time, subtract away time or
778 (org-resolve-clocks): New user command which resolves dangling
779 clocks -- that is, open but not active -- anywhere in the file
780 list returned by `org-files-list'.
781 (org-clock-in): Automatically resolve dangling clocks whenever a
783 (org-clock-cancel): If the user cancels the solely clock in a
784 LOGBOOK, remove the empty drawer.
786 * org-clock.el (org-clock-idle-time): New user customizable option
787 for detecting whether the user has left a clock idle. Note: it is
788 only used in this commit to test whether it's worthwhile to check
789 OS X to get the Mac user's current idle time. If the Emacs idle
790 time is less than the value, the user hasn't been away long enough
791 to be worth checking (a more expensive test than just getting
793 (org-user-idle-seconds, org-mac-idle-seconds)
794 (org-emacs-idle-seconds): This three functions, in conjunction
795 with the user customization variable `org-clock-idle-time', return
796 the number of seconds (as a floating point) that the user has been
797 away from their Emacs (or, if running on OS X, their computer).
799 * org-clock.el (org-find-open-clocks): New function that returns a
800 list of all open clocks in the given FILE. Note that each clock
801 it returns is a cons cell of the format (MARKER . START-TIME).
802 This "clock" value is used by several of the new clock module
804 (org-is-active-clock): New inline function which tests whether the
805 given clock value is the same as the currently active clock.
806 Returns non-nil if this is the case.
807 (org-with-clock-position): New macro that evaluates FORMS with
808 point in the buffer and at the position of the given clock.
809 Changes to the current clock are global.
810 (org-with-clock): New macro that evaluates FORMS with point in the
811 buffer and at the position of the given clock. However, changes
812 to the current clock are local and have no effect on the user's
813 active clock. This allows, for example, far any clock to be
814 cancelled without cancelling the active clock.
815 (org-clock-clock-in): New inline function that switches the active
816 clock to the given clock. If either the argument RESUME, or the
817 global `org-clock-in-resume', are non-nil, it will resume a clock
818 that was previously left open.
819 (org-clock-clock-out): New inline function that clocks out the
820 given clock value without affecting the currently active clock.
821 (org-clock-clock-cancel): New inline function that cancels the
822 given clock value without affecting the currently active clock.
824 * org-clock.el (org-clock-in): Before creating
825 `org-clock-mode-line-timer', check to make sure an older timer is
826 not currently running.
827 (org-clock-out): Accept new third parameter `at-time', which
828 permits a clock to be clocked out at a specific time. Note that
829 no attempt is made to verify that the clock out time is later than
832 * org.el (org-files-list): New utility function for returning a
833 list of all open org-mode buffers, plus all files used to build
834 the agenda buffer. Note that not all the files will necessarily
835 be visited by a buffer at time of call.
836 (org-entry-beginning-position): Like the function
837 `line-beginning-position', this inline function returns the
838 beginning position of the current heading/entry.
839 (org-entry-end-position): Like the function `line-end-position',
840 this inline function returns the end position of the current
843 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
845 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
848 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
850 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
852 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
854 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
855 entries that have no tags.
856 (org-agenda-search-view): New customize group.
857 (org-agenda-search-view-search-words-only): New option.
858 (org-search-view): Implement substring search.
860 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
862 * org.el (org-outline-level): Add doc string.
864 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
866 * org-inlinetask.el (org-inlinetask-export): Re-introduce
868 (org-inlinetask-export-handler): Only export inline task if the
869 user option calls for it.
871 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
873 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
876 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
878 * org-latex.el (org-export-latex-tables): Don't format in
881 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
883 * org-src.el (org-edit-src-code)
884 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
887 * org-agenda.el (org-prefix-category-max-length): New variable.
888 (org-format-agenda-item): Use `org-prefix-category-max-length'.
889 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
891 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
893 * org-mobile.el (org-mobile-create-index-file): Improve the
894 listing of tags and todo keywords.
896 * org-latex.el (org-export-latex-format-image): New function.
897 (org-export-latex-links): Use `org-export-latex-format-image'.
899 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
901 * org-inlinetask.el (org-inlinetask-get-current-indentation)
902 (org-inlinetask-remove-terminator): New functions.
903 (org-inlinetask-export-handler): Terminate the description list.
905 * org-exp.el (org-export-select-backend-specific-text): Remove the
908 * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
909 tasks without content.
911 * org-clock.el: Make sure the clock-in target position does not
912 move to a different node by widening the buffer.
914 * org-html.el (org-export-html-format-image): Wrap image into
915 figure div only when there is a caption.
917 * org-archive.el (org-archive-mark-done): Change default value to
920 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
922 * org.el (org-context): Call `bobp', not `eobp'.
924 * org-clock.el (org-clock-cancel): Remove quotes from marker
927 * org.el (org-read-date-prefer-future): New allowed value `time'.
928 (org-read-date-analyze): Shift day to tomorrow depending on time
929 entered and value of `org-read-date-prefer-future'.
931 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
933 * org.el (org-version, org-get-refile-targets, org-refile)
934 (org-store-log-note, org-diary-to-ical-string)
935 (org-speedbar-set-agenda-restriction):
936 * org-publish.el (org-publish-find-title):
937 * org-plot.el (org-plot/gnuplot):
938 * org-mouse.el (org-mouse-do-remotely):
939 * org-mobile.el (org-mobile-move-capture):
940 * org-mac-message.el (org-mac-message-insert-flagged):
941 * org-latex.el (org-replace-region-by-latex):
942 * org-docbook.el (org-replace-region-by-docbook):
943 * org-clock.el (org-clock-out, org-clock-cancel):
944 * org-bibtex.el (org-execute-file-search-in-bibtex):
945 Use with-current-buffer.
947 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
949 * org.el (org-directory, org-map-entries):
950 * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
952 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
954 * org.el (org-set-tags-to): New command.
956 * org-latex.el (org-export-latex-set-initial-vars): Also check in
959 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
962 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
964 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
966 * org-inlinetask.el (org-inlinetask-export): Option removed.
967 (org-inlinetask-export-handler): Better export.
969 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
970 (org-export-as-xoxo): Run the new hook.
972 * org-html.el (org-export-html-final-hook): New hook.
973 (org-export-as-html): Run the new hook.
975 * org-docbook.el (org-export-docbook-final-hook): New hook.
976 (org-export-as-docbook): Run the new hook.
978 * org-ascii.el (org-export-ascii-final-hook): New hook.
979 (org-export-as-ascii): Run the new hook.
981 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
982 space character as the character before the ^/_.
983 (org-export-latex-final-hook): New hook.
984 (org-export-as-latex): Run `org-export-latex-final-hook'.
986 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
988 * org-macs.el (org-if-unprotected-at): Fix docstring.
990 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
991 text in the prefix (if category is a link).
993 * org-latex.el (org-export-latex-preprocess): Deal properly with
994 empty lines in verse environments.
996 * org.el (org-format-latex-header): Inline fullpage.sty.
998 * org-footnote.el (org-footnote-create-definition): Reveal context
999 to add a new footnote definition.
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-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1009 * org.el (org-format-latex): Mention `org-format-latex-options' in
1012 2009-10-01 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-10-01 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-10-01 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-10-01 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-10-01 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-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1078 * org-agenda.el (org-prepare-agenda): Reset
1079 `org-drawers-for-agenda'.
1080 (org-prepare-agenda): Uniquify list of drawers.
1082 * org.el (org-complex-heading-regexp-format): New variable.
1083 (org-set-regexps-and-options): Define
1084 `org-complex-heading-regexp-format'.
1085 (org-drawers-for-agenda): New variable.
1086 (org-map-entries): Bind `org-drawers-for-agenda'.
1087 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1089 * org-remember.el (org-go-to-remember-target)
1090 (org-remember-handler): Use `org-complex-heading-regexp-format'.
1092 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1094 * org-agenda.el (org-agenda-highlight-todo): Fix text property
1097 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1098 always with `invisible-ok'.
1099 (org-store-link): No error when there is nothing to link to in the
1102 * org-list.el (org-update-checkbox-count): Insert changed cookie
1103 before the old, to avoid problems with invisibility at the end of
1105 (org-update-checkbox-count): Insert changed cookie before the old,
1106 to avoid problems with invisibility at the end of the line.
1108 * org.el (org-sort-entries-or-items): Include the final newline.
1109 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1110 lines for fontification.
1111 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1112 (org-prepare-dblock): Store the current indentation of the BEGIN
1114 (org-update-dblock): Apply the indentation of the begin line to
1115 the rest of the block.
1116 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1117 (org-startup-folded): New allowed value `showeverything'.
1118 (org-startup-options): Add STARTUP keyword `showeverything'.
1119 (org-set-startup-visibility): Respect value `showeverything' in
1122 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1124 * org.el (org-closest-date): Fix issue with past preference.
1126 * org-archive.el (org-archive-set-tag)
1127 (org-archive-subtree-default): New commands.
1129 * org-clock.el (org-clock-clocktable-default-properties): New
1131 (org-clock-report): Use
1132 `org-clock-clocktable-default-properties'.
1134 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1136 * org.el (org-iswitchb-completing-read): Fix typo.
1138 * org-crypt.el: New file.
1140 * org.el: Add an entry for org-crypt.
1142 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1144 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1146 (org-batch-store-agenda-views): New function.
1147 (org-agenda-title-append): Define variable.
1148 (org-write-agenda): New export to Org files.
1149 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1150 (org-agenda): Allow to keep the restricted file list if a special
1151 variable is bound to t.
1152 (org-agenda): Define a special agenda view for working on flagged
1154 (org-agenda-get-restriction-and-command): List the new agenda
1156 (org-agenda-show-the-flagging-note): New command.
1157 (org-agenda-mode-map): New key `?' for looking at the flagging
1160 * org.el (org-autoload): Autoload org-mobile.el.
1161 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1163 * org-mobile.el: New file.
1165 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1167 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1169 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1171 (org-table-get-remote-range): Match indented #+TBLNAME
1174 * org.el (org-convert-to-odd-levels)
1175 (org-convert-to-oddeven-levels): Work also correctly if the file
1178 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1180 * org.el (org-store-link): When in agenda buffer, link to
1182 (org-add-planning-info): Remove spaces at eol.
1184 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1187 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1189 * org-latex.el (org-export-latex-first-lines): Fix problem with
1190 LaTeX export of first line and selected subtree.
1192 * org.el (org-shifttab): Interpret arg differently when using only
1195 2009-10-01 Bastien Guerry <bzg@altern.org>
1197 * org.el (org-check-agenda-file): Use a more explicit message
1199 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1201 * org-exp.el (org-export-remove-special-table-lines): Don't remove
1204 2009-10-01 Bastien Guerry <bzg@altern.org>
1206 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1207 prompt in the temporary window.
1209 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1210 prefix for marked entries in the agenda view.
1212 2009-10-01 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
1214 * org.el (outline-end-of-subtree): Bugfix: advise this function in
1215 a way that prevents any trailing character from being displayed.
1217 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1219 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1222 * org-exp.el (org-export-remove-special-table-lines): Remove bad
1225 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1227 * org-latex.el (org-export-latex-preprocess): Do not protect in
1230 * org-src.el (org-edit-src-save): Save window setup while saving.
1231 (org-edit-src-code): Use new buffer name construction scheme.
1233 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1235 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1237 (org-agenda-entry-text-cleanup-hook): New hook.
1238 (org-agenda-get-some-entry-text): Remove matches of
1239 `org-agenda-entry-text-exclude-regexps' and run the hook
1240 `org-agenda-entry-text-cleanup-hook'.
1242 * org.el (org-offer-links-in-entry): New argument ZERO to
1243 implement a link with index zero.
1244 (org-cycle-show-empty-lines): Not keep empty line under header
1246 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1247 to nil for special completion.
1248 (org-store-link): Don't error before the first heading.
1250 * org-agenda.el (org-agenda-open-link): Pass the prefix to
1251 `org-offer-links-in-entry'.
1253 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1255 * org-agenda.el (org-agenda-quit): Provide the window argument for
1256 `window-dedicated-p', Emacs 22 needs it.
1257 (org-format-agenda-item): If the category is a link, arrange for
1258 invisible text to replaced with spaces.
1259 (org-compile-prefix-format): Add the extra space.
1260 (org-prefix-category-length): New variable.
1262 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1263 references from TOC lines.
1265 * org.el (org-selected-window): New variable.
1267 * org-table.el (org-table-edit-formulas): Remember the selected
1269 (org-table-fedit-finish, org-table-fedit-abort): Select the window
1270 that was originally selected.
1272 * org-exp.el (org-export-preprocess-apply-macros): Scan the
1273 expansion of a macro for more macro definitions.
1275 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1276 invisibility overlay starts on the newline.
1278 2009-10-01 Glenn Morris <rgm@gnu.org>
1280 * org-agenda.el (calendar-check-holidays):
1281 * org-exp.el (org-agenda-skip):
1282 * org-list.el (outline-back-to-heading):
1283 * org-wl.el (wl-summary-goto-folder-subr):
1284 * org.el (iswitchb-mode, remember, remember-buffer-desc)
1285 (remember-finalize, remember-save-after-remembering, remember-register)
1286 (remember-buffer, remember-handler-functions)
1287 (remember-annotation-functions): Remove unused declarations.
1289 * org.el (iswitchb-read-buffer): Fix declaration.
1291 2009-09-30 Glenn Morris <rgm@gnu.org>
1293 * org-compat.el (w32-focus-frame):
1294 * org-exp-blocks.el (R):
1295 * org-exp.el (htmlize-buffer):
1296 * org-protocol.el (server-edit):
1297 * org-table.el (org-format-org-table-html):
1298 * org.el (org-indent-mode): Fix declarations.
1300 * org-colview.el (org-columns-uncompile-format): Avoid assignment to
1301 free variable `fun'.
1303 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
1305 * org-agenda.el (org-agenda-restore-windows-after-quit):
1306 Fix typo in docstring.
1308 2009-09-23 Juanma Barranquero <lekktu@gmail.com>
1310 * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
1311 (org-shiftselect-error, org-ctrl-c-ctrl-c):
1312 * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
1313 * org-attach.el (org-attach-check-absolute-path):
1314 * org-docbook.el (org-export-as-docbook):
1315 * org-html.el (org-export-as-html):
1316 * org-id.el (org-id-update-id-locations):
1317 * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
1318 Fix typos in error messages.
1320 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1322 * org-ascii.el: Require CL for the `loop' macro.
1324 2009-09-05 Carsten Dominik <dominik@u016822.science.uva.nl>
1326 * org-gnus.el (require): Wrap (require gnus-sum) into
1329 2009-09-03 Carsten Dominik <dominik@u016822.science.uva.nl>
1331 * org-protocol.el (org-protocol-store-link)
1332 (org-protocol-remember, org-protocol-open-source): Remove autoload
1335 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
1336 referencing the start of the line.
1338 * org-gnus.el: Remove unnecessary declare-function forms.
1339 (gnus-sum): Always require gnus-sum.
1341 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1343 * org-protocol.el (org-protocol-store-link)
1344 (org-protocol-remember, org-protocol-open-source): Add autoloads.
1346 * org-compat.el (org-float-time): New function.
1348 * org.el (org-clock-update-time-maybe)
1349 (org-sort-entries-or-items, org-do-sort)
1350 (org-evaluate-time-range, org-time-string-to-seconds)
1351 (org-closed-in-range): Use `org-float-time'.
1353 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1354 (org-timer-seconds): Use `org-float-time'.
1356 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1357 (org-clock-sum, org-dblock-write:clocktable)
1358 (org-clocktable-steps): Use `org-float-time'.
1360 * org-agenda.el (org-agenda-last-marker-time)
1361 (org-agenda-new-marker, org-diary): Use `org-float-time'.
1363 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1366 * org-exp.el (org-get-file-contents): Only protect lines that
1369 * org-html.el (require): Require cl for compilation.
1371 * org.el: Avoid using `default-major-mode'.
1373 * org-plot.el (require): Require CL only at compile time.
1375 * org-exp.el (require): Require CL only at compile time.
1377 * org-agenda.el (org-agenda-quit): When the agenda window is
1378 dedicated, remove other windows before exiting, so that the frame
1379 really will be killed.
1381 * org-exp.el (org-export-handle-include-files): Reset START and
1382 END for each loop cycle.
1384 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1386 * org.el (org-eval-in-calendar): Use
1387 `org-select-frame-set-input-focus'.
1389 * org-compat.el (org-select-frame-set-input-focus): New function.
1391 * org.el (org-update-statistics-cookies): New function.
1392 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1394 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1396 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1397 after the local variables are set.
1399 * org-latex.el (org-export-latex-protect-amp): New function.
1400 (org-export-latex-links): Protect link ampersands in tables.
1402 * org-exp.el (org-export-select-backend-specific-text): Match in
1403 two steps, to avoid regexp problems.
1405 * org.el (org-offer-links-in-entry): Improve working with many and
1408 * org-agenda.el (org-agenda-show-1): Make more consistent with
1410 (org-agenda-cycle-show): Make more consistent with normal cycling.
1412 * org-gnus.el (org-gnus-store-link): Restore the linking to a
1415 2009-09-02 Bastien Guerry <bzg@altern.org>
1417 * org-latex.el (org-export-latex-first-lines): Bugfix.
1419 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1421 * org-clock.el (org-clock-modify-effort-estimate): Emit message
1424 * org.el (org-set-effort): New function.
1425 (org-mode-map): New key for effort setting command.
1427 * org-agenda.el (org-agenda): Keep window setup when calling
1428 agenda from within agenda window.
1429 (org-agenda-mode-map): New keys for effort setting commands.
1430 (org-agenda-menu): Add effort setting commands to menu.
1431 (org-agenda-set-property, org-agenda-set-effort): New functions.
1433 * org-latex.el (org-export-latex-tables): Fix
1434 `org-table-last-alignment' and `org-table-last-column-widths' if
1435 the first column has been removed.
1437 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1439 * org.el (org-remove-timestamp-with-keyword): Only remove in
1440 entry, not in subtree.
1442 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1445 * org.el (org-open-at-point): When on headline, offer all strings
1448 * org-remember.el (org-remember-templates): Documentation fix.
1450 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1451 `org-get-last-sibling' instead of the outline versions of these
1453 (org-get-last-sibling): New function.
1454 (org-refile): Use `org-get-next-sibling' instead of the outline
1455 version of this function.
1456 (org-clean-visibility-after-subtree-move): Use
1457 `org-get-next-sibling' and `org-get-last-sibling' instead of the
1458 outline versions of these functions.
1460 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1462 * org-agenda.el (org-prepare-agenda): When creating a new frame
1463 for the agenda, make the window dedicated.
1465 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1467 * org-table.el (org-table-align): Change the order of reinsertion
1468 and deletion, to avoid problems with overlays following the table.
1470 * org.el (org-parse-time-string): Better error message.
1471 (org-show-subtree): Use org-end-of-subtree.
1473 * org-macs.el (org-goto-line): New defsubst.
1475 * org.el (org-open-file, org-change-tag-in-region)
1476 (org-fast-tag-show-exit): Don't use `goto-line'.
1478 * org-table.el (org-table-align, org-table-insert-column)
1479 (org-table-delete-column, org-table-move-column)
1480 (org-table-sort-lines, org-table-copy-region)
1481 (org-table-paste-rectangle, org-table-wrap-region)
1482 (org-table-get-specials, org-table-rotate-recalc-marks)
1483 (org-table-get-range, org-table-recalculate)
1484 (org-table-edit-formulas, org-table-fedit-convert-buffer)
1485 (org-table-show-reference, org-table-highlight-rectangle): Don't
1488 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1489 (org-edit-src-exit): Don't use `goto-line'.
1491 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1493 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1494 Don't use `goto-line'.
1496 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1498 * org-colview.el (org-columns, org-columns-redo)
1499 (org-agenda-columns): Don't use `goto-line'.
1501 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1504 * org-agenda.el (org-agenda-mode): Force visual line motion off.
1505 (org-agenda-add-entry-text-maxlines): Improve docstring.
1506 (org-agenda-start-with-entry-text-mode): New option.
1507 (org-agenda-entry-text-maxlines): New option.
1508 (org-agenda-entry-text-mode): New variable.
1509 (org-agenda-mode): Set initial value of
1510 `org-agenda-entry-text-mode'.
1511 (org-agenda-mode-map): Add the `E' key.
1512 (org-agenda-menu): Add entry text mode to the menu.
1513 (org-agenda-get-some-entry-text): Fix line count bug.
1514 (org-finalize-agenda): Apply entry text mode if appropriate.
1515 (org-agenda-entry-text-show-here): New function.
1516 (org-agenda-entry-text-show): New function.
1517 (org-agenda-entry-text-hide): New function.
1518 (org-agenda-view-mode-dispatch): Add entry text mode to the view
1520 (org-agenda-entry-text-mode): New command.
1521 (org-agenda-set-mode-name): Add entry text mode to the mode line
1523 (org-agenda-undo, org-agenda-get-restriction-and-command)
1524 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1527 2009-09-02 Bernt Hansen <bernt@norang.ca>
1529 * org-clock.el (org-notify): Bugfix.
1531 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1533 * org-agenda.el (org-agenda-open-link): Handle multiple links and
1534 check for after-string.
1536 * org-gnus.el (org-gnus-store-link): Simplify.
1538 * org.el (org-latex-regexps): Don't add extra empty lines for
1541 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1543 * org-agenda.el (org-agenda-get-some-entry-text): New function.
1544 (org-agenda-add-entry-text): Use
1545 `org-agenda-get-some-entry-text'.
1547 * org.el (org-cycle-separator-lines): Update docstring.
1548 (org-cycle-show-empty-lines): Handle negative values for
1549 `org-cycle-show-empty-lines'.
1551 * org-exp.el (org-export-protect-sub-super): New function.
1552 (org-export-normalize-links): Protect the url of plain links from
1553 supscript and superscript processing.
1555 * org-remember.el (org-remember-escaped-%): New function.
1556 (org-remember-apply-template): Use `org-remember-escaped-%' to
1557 detect escaped % signs.
1559 2009-09-02 Bastien Guerry <bzg@altern.org>
1561 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1562 sound when showing the notification.
1564 * org-clock.el (org-notify): New function.
1565 (org-clock-notify-once-if-expired): Use `org-notify'.
1567 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1568 and `gnus-article-mode' separately.
1569 (gnus-summary-article-header): Fix the declare-function.
1571 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1573 * org-exp.el (org-export-format-source-code-or-example): Translate
1576 * org-src.el (org-src-lang-modes): New variable
1577 (org-edit-src-code): Translate language.
1579 * org-exp.el (org-export-format-source-code-or-example): Deal wit
1580 the new structure of the `org-export-latex-listings-langs'
1583 * org-latex.el (org-export-latex-listings-langs): Change structure
1584 of the variable from plist to alist.
1586 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1588 * org.el (org-in-commented-line): New function.
1590 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1592 * org.el (org-hide-block-toggle): Make folded blocks searchable.
1594 2009-09-02 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
1596 * org.el (org-flag-drawer): More useful error.
1598 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1600 * org-remember.el (org-remember-apply-template): Use
1601 org-icompleting-read.
1603 * org-publish.el (org-publish): Use org-icompleting-read.
1605 * org-colview.el (org-columns-edit-value, org-columns-new)
1606 (org-insert-columns-dblock): Use org-icompleting-read.
1608 * org-colview-xemacs.el (org-columns-edit-value)
1609 (org-columns-new, org-insert-columns-dblock): Use
1610 org-icompleting-read.
1612 * org-attach.el (org-attach-delete-one, org-attach-open): Use
1613 org-icompleting-read.
1615 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1617 * org.el (org-hierarchical-todo-statistics): Improve docstring.
1618 (org-version): Return the version text.
1619 (org-org-menu): Add a menu entry for the new bug reporter.
1620 (org-submit-bug-report): New command.
1622 * org-list.el (org-hierarchical-checkbox-statistics): Improve
1625 * org.el (org-emphasis-regexp-components): Add "`" to set of
1626 pre-emphasis characters.
1628 * org-latex.el (org-export-latex-classes): Always include the soul
1630 (org-export-latex-emphasis-alist): Use \st for strikethough.
1632 * org-exp-blocks.el (org-export-blocks-preprocess): Use
1633 `indent-code-rigidly' to indent.
1635 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1636 properties only if MATCH really is a string.
1638 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1640 * org-latex.el (org-export-latex-packages-alist): Fix
1643 * org.el (org-create-formula-image): Also use
1644 `org-export-latex-packages-alist'.
1646 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1647 (org-export-as-html): Format footnotes correctly.
1649 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1651 * org.el (org-fast-tag-selection): Avoid text properties on tags
1654 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1655 text properties on the match element.
1657 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1659 * org.el (org-set-regexps-and-options): Make sure the list of done
1660 keywords is not invalid.
1662 * org-exp.el (org-export-interpolate-newlines): New function.
1664 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1666 * org.el (org-format-latex): Avoid nested overlays.
1668 * org-latex.el (org-export-latex-listings-langs): Add a few more
1671 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1672 ignore newlines and space before the first macro argument.
1674 * org-latex.el (org-export-latex-tables): Remove save-excursion
1675 around `org-table-align'.
1677 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1679 * org.el (org-export-html-special-string-regexps): Definition
1682 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1685 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1687 * org-latex.el (org-export-latex-listings)
1688 (org-export-latex-listings-langs): New options.
1690 * org-exp.el (org-export-format-source-code-or-example): Use
1691 listing package if requested by the user.
1693 2009-09-02 Bastien Guerry <bzg@altern.org>
1695 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1696 command before actually switching to a buffer.
1698 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1700 * org-exp.el (org-get-file-contents): Only quote org lines when
1701 the markup is src or example.
1703 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1705 (org-agenda-get-day-entries): Remember deadline results and pass
1706 them on into the function getting the scheduling information.
1707 (org-agenda-get-scheduled): Accept deadline results as parameters
1708 and maybe skip some entries.
1709 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1711 * org.el (org-insert-heading): When respecting content, do not
1712 convert current line to headline.
1714 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1715 cheeeeeck the hd marker
1716 (org-clock-in): Also set the hd marker.
1717 (org-clock-out): Also set the hd marker.
1718 (org-clock-cancel): Reset markers.
1720 * org.el (org-clock-hd-marker): New marker.
1722 * org-faces.el (org-agenda-clocking): New face.
1724 * org-agenda.el (org-agenda-mark-clocking-task): New function.
1725 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1727 * org.el (org-modules): Add org-track.el.
1729 * org-agenda.el (org-agenda-bulk-marked-p): New function.
1730 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1731 `org-agenda-bulk-marked-p'.
1732 (org-agenda-bulk-toggle): New command.
1734 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1736 * org.el (org-move-subtree-down): Hide subtree if it was folded,
1739 * org-remember.el (org-remember-finalize): Avoid buffer-modified
1742 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1744 * org-html.el (org-export-as-html):
1745 * org-docbook.el (org-export-as-docbook):
1746 Use (default-value 'major-mode) instead of default-major-mode.
1748 2009-08-08 Carsten Dominik <carsten.dominik@gmail.com>
1750 * org-docbook.el: Add arch-tag.
1752 * org-exp-blocks.el: Add arch-tag.
1754 * org-id.el: Add arch-tag.
1756 * org-indent.el: Add arch-tag.
1758 * org-inlinetask.el: Add arch-tag.
1760 * org-protocol.el: Add arch-tag.
1762 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1764 * org.el (org-create-formula-image): Remove the -E option for
1767 * org-exp.el (org-default-export-plist): Respect #+BIND.
1768 (org-export-confirm-letbind): New function.
1770 * org.el (org-paste-subtree): Test the kill ring entry if it is
1772 (org-copy-subtree): Use `org-forward-same-level'.
1773 (org-forward-same-level): Respect the `invisibe-ok' arg for
1776 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1778 * org.el (org-table-map-tables): Make sure cursor is back at table
1779 beginning after funcall.
1781 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1782 handled before children, and do not error if an entry is not
1783 found, probably because it hase been remove when the parent was
1784 archived or refiled.
1786 * org.el (org-ido-completing-read): Accept straight lists for
1787 completion as well as alists.
1789 * org-timer.el (org-timer-cancel-timers): Rename from
1790 `org-timer-cancel-timers'.
1792 * org.el (org-cycle-internal-local): Fix problem with finding next
1795 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1797 * org-list.el (org-list-send-list): Call
1798 `org-list-goto-true-beginning' instead of
1799 `org-list-find-true-beginning', which does not exist.
1801 * org-timer.el (org-timer-reset-timers): Use `mapc'.
1802 (org-timer-set-timer): Do not assign to heading.
1804 * org-id.el (org-id-open): Quote function name.
1806 * org-macs.el (org-unmodified): Turn off recording undo
1807 information while running inside the macro.
1809 * org-table.el (org-table-export): Also work in file-less
1812 * org.el (org-startup-indented): New option.
1813 (org-startup-options): Add new options indent and noindent.
1814 (org-unfontify-region): Remove line-prefix and wrap-prefix
1816 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
1818 (org-promote, org-demote): Run the new hooks.
1820 * org-table.el (org-table-align): Replace leading \n as well.
1822 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
1823 and `line-wrap' text properties.
1825 * org-compat.el (org-kill-new): New function.
1827 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
1828 `line-wrap' text properties.
1830 * org-indent.el: New file.
1832 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1834 * org.el (org-provide-todo-statistics): Tweak docstring.
1836 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
1838 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1840 * org-exp.el (org-export-as-org): Insert the "-source" string
1841 before the extension.
1843 * org.el (org-read-date): Make sure the calendar is in the current
1845 (org-set-emph-re): Remove the ? from the post-match.
1846 (org-emphasis-regexp-components): Add backslash to the
1848 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
1849 optional so that also lines at the end of the buffers will still
1850 be matched as headlines.
1852 * org-table.el (org-table-error-on-row-ref-crossing-hline):
1853 Variable made obsolete.
1854 (org-table-relative-ref-may-cross-hline): New option.
1855 (org-table-find-row-type): Honow the new option
1856 `org-table-relative-ref-may-cross-hline'.
1858 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1860 * org-table.el (org-table-cut-region, org-table-copy-region): Work
1861 on single field if no active region.
1863 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1865 * org-latex.el (org-export-latex-make-header): Only insert title
1868 * org.el (org-make-options-regexp): Allow empty values.
1870 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1872 * org.el (org-cycle-internal-local): Improved version of finding
1874 (org-cycle-hide-drawers): Only hide drawers if this is really
1876 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
1877 org-version of this function in Org-mode. We use advice to
1878 implement this change, so that future changes to this function in
1879 outline.el wil be handled properly.
1880 (org-forward-same-level, org-backward-same-level): New commands.
1882 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1884 * org.el (org-remove-empty-overlays-at)
1885 (org-clean-visibility-after-subtree-move): New functons.
1886 (org-move-subtree-down): Simplify cleanup of display.
1888 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1890 * org-mac-message.el (org-mac-message-get-links): Improve
1891 docstring. Make argument SELECT-OR-FLAGGED optional, default to
1892 "s". Fix the return value.
1893 (org-mac-message-insert-flagged): Simplify.
1895 * org.el (org-refile-get-location): Tamper with refile history o
1896 that history contains compete matches instead of the entered
1899 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1901 * org.el (org-store-link): Never store a link to an inline task.
1903 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
1904 inline tasks when positioning footnotes.
1906 * org.el (org-refile): Remove the END line when archiving an
1907 inline task that does have an END line.
1909 * org-archive.el (org-archive-subtree): Remove the END line when
1910 archiving an inline task that does have an END line.
1912 * org-macs.el (org-with-limited-levels): New macro.
1913 (org-get-limited-outline-regexp): New function.
1915 * org-exp.el (org-export-format-source-code-or-example): Fix bug
1916 that did not enumerate first line.
1917 (org-export-mark-radio-links): Skip matches in links.
1919 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1921 * org.el (org-activate-plain-links): Make single-match.
1922 (org-adapt-indentation): Fix docstring.
1924 * org-macs.el (org-unmodified): Turn of modification hooks while
1927 2009-08-06 Bastien Guerry <bzg@altern.org>
1929 * org.el (org-adapt-indentation): Slightly improve the docstring.
1930 (org-occur): Sends an error when the user inputs an empty string.
1931 (org-priority): Bugfix: the tag alignement should happen within
1934 2009-08-06 Bastien Guerry <bzg@altern.org>
1936 * org.el (org-make-link-regexps): Don't exclude parentheses from
1938 (org-cycle-internal-local): When locally cycling, switch directly
1939 from CHILDREN to FOLDED if there is no subtree
1940 (org-cycle): Update the docstring to document the new behavior of
1941 `org-cycle-internal-local'.
1943 2009-08-06 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
1945 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
1946 an abbreviated format for days.
1948 2009-08-06 Bastien Guerry <bzg@altern.org>
1950 * org-protocol.el (org-protocol-default-template-key): New
1953 * org.el (org-refile): Bugfix: save-excursion before reading the
1954 refile target, otherwise cursor moves might confuse `org-refile'.
1956 * org.el (org-toggle-heading): Bugfix: correctly convert list
1957 items before the first headline.
1959 * org.el (org-provide-todo-statistics): Allow a list of TODO
1960 keywords to compute statistics against headlines containing a
1961 keyword from this list.
1962 (org-update-parent-todo-statistics): Possibly use the new allowed
1963 value of `org-provide-todo-statistics'.
1965 2009-08-06 Bastien Guerry <bzg@altern.org>
1967 * org-timer.el: Add autoload cookie.
1969 * org.el (org-occur-link-in-agenda-files): New function.
1971 * org-timer.el (org-timer-last-timer): New variable.
1973 * org-agenda.el (org-agenda-mode-map): New key for
1974 org-timer-set-timer called from the agenda.
1976 * org.el (org-mode-map): New key for org-timer-set-timer.
1978 * org-timer.el (org-timer-reset-timers)
1979 (org-timer-show-remaining-time, org-timer-set-timer): New
1982 * org-clock.el (org-show-notification): Update the docstring.
1984 * org.el (org-provide-todo-statistics): Allow new value
1985 'all-headlines for this option, which includes entries with no
1986 TODO keywords in the todo statistics.
1987 (org-update-parent-todo-statistics): Possibly use the new
1988 'all-headline value from `org-provide-todo-statistics'.
1990 2009-08-06 Bastien Guerry <bzg@altern.org>
1992 * org-clock.el (org-dblock-write:clocktable): Add a new option
1993 :timestamp which allows display of timestamps in clock reports.
1995 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
1996 list to a subtree, preserving the structure of the list.
1997 (org-set-emph-re): Make the last element optional in the regexp.
1998 This regexp now matches an emphasized string at the end of a line.
2000 * org-list.el (org-list-goto-true-beginning)
2001 (org-list-make-subtree, org-list-make-subtrees): New functions.
2003 * org.el (org-eval-in-calendar): Select the right frame.
2004 (org-save-frame-excursion): Remove this macro.
2006 2009-08-06 Bastien Guerry <bzg@altern.org>
2008 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2009 trying to find the beginning of a list.
2011 * org-exp.el (org-get-file-contents): Use a new argument: markup.
2012 When present, tell org-get-file-contents not to protect org-like
2015 * org-id.el (org-id-uuid-program): New option to set the name of
2016 the uuidgen program.
2017 (org-id-method): Use `org-id-uuid-program'.
2018 (org-id-new): Use `org-id-uuid-program'.
2020 2009-08-06 Bastien Guerry <bzg@altern.org>
2022 * org-exp.el (org-export-number-lines): Allow whitespace in code
2023 references. Allow the -r switch to remove the references in the
2024 source code even when the lines are not numbered: the labels can
2027 * org.el (org-fontify-whole-heading-line): New option.
2028 (org-set-font-lock-defaults): Use the new option.
2030 * org-clock.el (org-show-notification-handler): New option.
2031 (org-show-notification): Use the new option.
2033 2009-08-06 Bastien Guerry <bzg@altern.org>
2035 * org.el (org-eval-in-calendar): Fix a bug about calendar
2036 navigation when `calendar-setup' value is 'calendar-only.
2038 2009-08-06 Bastien Guerry <bzg@altern.org>
2040 * org.el (orgstruct++-mode): Fix typo in docstring.
2041 (org-insert-link): Clean up: (or (...)) => (...)
2042 (org-insert-link): Use TAB for stored links completion.
2044 2009-08-06 Bastien Guerry <bzg@altern.org>
2046 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2047 building the list of targets.
2049 * org-remember.el (org-remember-delete-empty-lines-at-end): New
2051 (org-remember-handler): Use the new option.
2053 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
2055 * org.el (org-tags-sort-function): New option for sorting tags.
2056 (org-set-tags): Use the new option to sort tags.
2058 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2059 premature deletion of the data when using org-plot in a script.
2061 2009-08-06 Bastien Guerry <bzg@altern.org>
2063 * org-clock.el (org-clock-in-prepare-hook): New hook.
2064 (org-clock-in): Use this new hook.
2066 2009-08-06 Bastien Guerry <bzg@altern.org>
2068 * org.el (org-special-ctrl-a/e): Explicitely bind the value
2069 'reversed for this option to the "true line boundary first"
2071 (org-tags-match-list-sublevels): Document the 'indented value for
2074 * org-latex.el (org-export-latex-first-lines): Fix problem with
2075 publishing the region.
2077 * org-exp.el (org-export-format-source-code-or-example): Fix
2078 bad line numbering when exporting examples in HTML.
2080 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
2082 * org-colview.el (org-format-time-period): Formats a time in
2083 fractional days as days, hours, mins, seconds.
2084 (org-columns-display-here): Add special handling for SINCE and
2085 SINCE_IA to format for display.
2087 * org.el (org-time-since): Add a function to get the time since an
2089 (org-entry-properties): Add two new special properties: SINCE and
2090 SINCE_IA. These give the time since any active or inactive
2091 timestamp in an entry.
2092 (org-special-properties): Add SINCE, SINCE_IA.
2093 (org-tags-sort-function): Add custom declaration for tags
2095 (org-set-tags): Sort tags if org-tags-sort-function is set.
2097 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2099 * org-clock.el (org-clock-goto): Find hidden headlines as well.
2101 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2103 * org-plot.el (org-plot/add-options-to-plist): Add timeind
2106 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2108 * org-publish.el (org-publish-remove-all-timestamps): New function.
2109 (org-publish-all): Remove all timestamp files if `org-publish-all'
2110 is called with a prefix argument.
2112 * org-list.el (org-indent-item): Fix typo.
2113 (org-item-indent-positions): Normalize ordered bullet.
2115 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2117 * org-macs.el (org-set-local): Make a local variable, do not make
2118 the variable buffer-local!
2120 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2122 * org-exp.el (org-infile-export-plist): Read BIND lines.
2123 (org-install-letbind): New function.
2124 (org-export-as-org, org-export-preprocess-string): Call
2125 `org-install-letbind'.
2127 * org-list.el (org-list-demote-modify-bullet): New option.
2128 (org-first-list-item-p): Save point.
2129 (org-fix-bullet-type): New optional argument FORCE-BULLET.
2130 (org-indent-item): Honor `org-list-demote-modify-bullet'.
2131 (org-item-indent-positions): Return bullet types along with
2134 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2136 * org.el (org-show-entry): Hide drawers.
2138 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2140 * org-footnote.el (org-footnote-auto-adjust): New option.
2141 (org-footnote-auto-adjust-maybe): New function.
2142 (org-footnote-new, org-footnote-delete): Call
2143 `org-footnote-auto-adjust-maybe'.
2145 * org.el (org-startup-options): Add new footnote-related
2148 * org-publish.el (org-publish-timestamp-filename): Additional
2149 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2150 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2151 TRUE-PUB-DIR. Pass them through to
2152 `org-publish-timestamp-filename'.
2153 (org-publish-update-timestamp): Additional arguments PUB-DIR and
2154 PUB-FUNC, which are included in the hash.
2155 (org-publish-file): Delay timestamp test until the publishing
2158 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2160 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2161 setting the deadline.
2163 * org.el (org-read-date-final-answer): New variable.
2164 (org-read-date): Store the final answer string, including the date
2165 from the calendar, for reuse by agenda bulk commands.
2167 * org-publish.el (org-publish-attachment): Fix publishing of
2170 * org-latex.el (org-export-latex-quotation-marks): Fix export of
2171 quotation makrs in parenthesis.
2172 (org-remove-initial-hash): New function.
2173 (org-export-latex-preprocess): Fix bug with infinite loop if
2174 environment is not properly closed.
2176 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2179 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2180 highlight also when indented.
2182 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2184 * org-footnote.el (org-footnote-renumber-fn:N): New command.
2185 (org-footnote-action): Offer renumbering.
2187 * org.el (org-cycle): Honor the `integrate' value of
2188 org-cycle-include-plain-lists'.
2190 * org-list.el (org-cycle-include-plain-lists): New allowed value
2191 `internal'. Improve the docstring.
2193 * org.el (org-set-autofill-regexps): Improve the paragraph-start
2194 regexp to work better with LaTeX commands.
2196 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2198 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2201 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2203 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2206 * org.el (org-map-entries): No longer force
2207 `org-tags-match-list-sublevels' to t during a todo-only tags
2210 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2212 * org-latex.el (org-export-latex-low-levels): Allow user-defined
2214 (org-export-latex-subcontent): Handle user-defined environment.
2216 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2217 the View dispatcher.
2219 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2222 * org-latex.el (org-export-as-pdf): Protect match data during call
2223 to shell-quote-argument.
2225 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2226 (org-agenda-view-mode-dispatch): New function.
2228 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2230 * org-agenda.el (org-agenda-mode): Reset list of marks.
2231 (org-agenda-mode-map): Define new keys for refile and bulk action.
2232 (org-agenda-menu): Add menu itesm for refile and bulk action.
2233 (org-agenda-refile): New function.
2234 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2235 (org-agenda-marked-entries): New variable.
2236 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2237 (org-agenda-remove-all-bulk-action-marks)
2238 (org-agenda-bulk-action): New functions/commands.
2240 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2242 * org-exp.el (org-get-file-contents): Protect org-like lines in
2244 (org-export-format-source-code-or-example): Remove newlines.
2246 * org-latex.el (org-export-latex-links): Check for no-description
2249 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2250 argument separator back to comma.
2251 (org-export-normalize-links): Mark links without description.
2253 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2255 * org-exp.el (org-infile-export-plist): Fix bug in macro
2258 * org-agenda.el (org-agenda-clock-out): Update line after clocking
2260 (org-agenda-highlight-todo): Fix bug with highlighting.
2262 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2264 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2265 new alignment strings.
2267 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2269 (org-table-align): Check for forced align type.
2271 * org.el (org-self-insert-command): Add yas/expand to command
2274 * org-clock.el (org-clock-in-hook): New hook.
2275 (org-clock-in): Run `org-clock-in-hook.
2276 (org-clock-out-hook): New hook.
2277 (org-clock-out): Run `org-clock-out-hook.
2278 (org-clock-cancel-hook): New hook.
2279 (org-clock-cancel): Run `org-clock-cancel-hook.
2280 (org-clock-goto-hook): New hook.
2281 (org-clock-goto): Run `org-clock-goto-hook.
2283 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2285 * org.el (org-store-link): Better default description for link to
2288 * org-exp.el (org-export-generic): Autoload the generic exporter
2290 (org-export): Implement the `g' key for the generic exporter.
2292 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2294 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2297 * org-exp.el (org-infile-export-plist): Get macros also from
2300 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2302 * org-colview.el (org-columns-capture-view): Protect vertical bars
2304 (org-columns-capture-view): Exclude comment and archived trees.
2306 * org-colview-xemacs.el (org-columns-capture-view): Protect
2307 vertical bars in column values.
2308 (org-columns-capture-view): Exclude comment and archived trees.
2310 * org.el (org-quote-vert): New function.
2312 * org-latex.el (org-export-latex-verbatim-wrap): New option.
2314 * org-exp.el (org-export-format-source-code-or-example): Use
2315 `org-export-latex-verbatim-wrap'.
2317 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2320 2009-08-06 Eric Schulte <schulte.eric@gmail.com>
2322 * org-exp-blocks.el: New file.
2324 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2326 * org-remember.el (org-remember-templates): Allow the headline
2327 element to be a function.
2328 (org-remember-apply-template): If the headline is a function, call
2329 it to get the true function.
2331 * org-clock.el (org-clock-menu): New function.
2332 (org-clock-update-mode-line): Update help string.
2333 (org-clock-modify-effort-estimate): New function.
2334 (org-clock-mark-default-task): New function.
2336 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2338 (org-org-menu): Add new clocking stuff.
2339 (org-clock-is-active): New function.
2341 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2343 * org.el (org-open-non-existing-files): Improve docstring.
2345 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2347 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2349 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2351 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2353 * org-list.el (org-get-checkbox-statistics-face): Use the new
2356 * org-faces.el (org-checkbox-statistics-todo)
2357 (org-checkbox-statistics-done): New faces.
2359 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2361 * org-latex.el (org-export-latex-use-verb): New variable.
2362 (org-export-latex-emph-format): Prefer \texttt over \verb when
2363 org-export-latex-use-verb is set.
2365 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2367 * org-remember.el (org-remember-handler): Abort remember if the
2370 * org-exp.el (org-export-format-source-code-or-example): Run
2371 `org-src-mode-hook'.
2373 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2375 * org.el (org-indent-line-function): Fix indentation of +#end lines.
2377 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
2379 * org-gnus.el (org-gnus-store-link): Require message.el in
2380 org-gnus-store-link.
2382 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2384 * org-src.el: New file, split out of org.el.
2386 * org-macs.el (org-replace-match-keep-properties): New function.
2388 * org-exp.el (org-export-mark-blockquote-verse-center): Better
2389 preprocessing of center and quote and verse blocks.
2391 * org-list.el (org-list-end): Respect the stored "original"
2392 indentation when determining the end of the list.
2394 * org-exp.el (org-export-replace-src-segments-and-examples):
2395 Remember indentation correctly.
2397 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2399 * org-clock.el (org-clock-update-mode-line): Apply face
2400 org-mode-line-clock.
2402 * org-faces.el (org-mode-line-clock): New face.
2404 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
2406 * org-gnus.el (org-gnus-store-link): Fix bug where
2407 `org-gnus-store-link' used wrong subject when called in an article
2408 buffer. Patch provided by fengli AT gmail DOT com.
2410 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2412 * org-exp.el (org-export-format-source-code-or-example): Remember
2413 the original indentation of source code snippets and examples.
2415 * org-latex.el (org-export-as-latex): Relocate the table of
2418 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2420 * org-agenda.el (org-run-agenda-series): Scope global options also
2421 when creating the agenda buffer.
2423 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2425 * org.el (org-adapt-indentation): Improve documentation.
2426 (org-insert-property-drawer): Respect org-adapt-indentation when
2427 inserting the drawer.
2428 (org-remove-flyspell-overlays-in): New function.
2429 (org-do-emphasis-faces, org-activate-plain-links)
2430 (org-activate-code, org-fontify-meta-lines-and-blocks)
2431 (org-activate-angle-links, org-activate-footnote-links)
2432 (org-activate-bracket-links, org-activate-dates)
2433 (org-activate-target-links, org-activate-tags): Remove flyspell
2436 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2438 * org.el (org-edit-src-save): New function.
2440 * org-clock.el (org-clock-out-switch-to-state): New option.
2441 (org-clock-out): Honor `org-clock-out-switch-to-state'.
2443 * org-compat.el (org-compatible-face): Improve macro.
2445 * org.el (org-global-properties-fixed): Add default for
2446 CLOCK_MODELINE_TOTAL.
2448 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2450 (org-clock-sum-current-item): Optional argument TSTART, pass it to
2452 (org-clock-get-sum-start): New function.
2454 * org.el (org-startup-options): New keywords blockhide and
2456 (org-mode): Add new invisibility spec.
2457 (org-set-startup-visibility): Hide block on startup if so
2459 (org-hide-block-startup): New option.
2460 (org-block-regexp): New constant.
2461 (org-hide-block-overlays): New variable.
2462 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2463 (org-show-block-all, org-hide-block-toggle-maybe)
2464 (org-hide-block-toggle): New functions.
2465 (org-edit-src-exit): Do not quote lines starting with # and no +
2467 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2470 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2472 * org.el (org-buffer-property-keys): Add Effort property for
2475 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2477 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2478 when retrieving total clocked time in the subtree.
2480 * org.el (org-quoting-blocks): New variable.
2482 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2484 * org-table.el (org-table-store-formulas)
2485 (org-table-get-stored-formulas, org-table-fix-formulas)
2486 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2487 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2489 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2490 indented #+TBLFM line.
2492 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2493 indented #+TBLFM line.
2495 * org-colview.el (org-dblock-write:columnview): Allow indented
2498 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2499 indented #+TBLFM line.
2501 * org-clock.el (org-dblock-write:clocktable): Allow indented
2504 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2506 * org-exp.el (org-export-format-source-code-or-example): Make
2507 editing indented blocks work correctly.
2509 * org.el (org-edit-src-nindent): New variable.
2510 (org-edit-src-code, org-edit-fixed-width-region)
2511 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2512 editing indented blocks work correctly.
2514 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2516 * org-exp.el (org-export-replace-src-segments-and-examples): Find
2518 (org-export-format-source-code-or-example): Fix indentation of
2520 (org-export-remove-indentation): New function.
2521 (org-export-select-backend-specific-text): Allow backend-specific
2522 code to be indented.
2523 (org-export-mark-blockquote-verse-center): Allow markers to be
2526 * org.el (org-fontify-meta-lines): New function.
2527 (org-set-font-lock-defaults): Call the new fontification
2530 * org-faces.el (org-meta-line): New face
2531 (org-block): New face.
2533 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2535 * org.el (org-treat-insert-todo-heading-as-state-change)
2536 (org-treat-S-cursor-todo-selection-as-state-change): New
2538 (org-insert-todo-heading): Honor
2539 `org-treat-insert-todo-heading-as-state-change'.
2540 (org-shiftright, org-shiftleft): Honor
2541 `org-treat-S-cursor-todo-selection-as-state-change'.
2542 (org-inhibit-logging): New variable.
2544 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2546 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2547 range for marker position checking.
2549 * org-latex.el (org-export-latex-first-lines): Fix bug when
2552 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2554 * org-exp.el (org-export-push-to-kill-ring): Protect using
2555 x-set-selection, because that does not always work.
2557 * org-agenda.el (org-agenda-list): Apply the new face
2558 `org-agenda-date-today'.
2560 * org-faces.el (org-agenda-date-today): New face.
2562 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2564 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2565 creating appointments.
2567 * org-latex.el (org-export-latex-low-levels): Fix customization
2570 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2573 * org-agenda.el (org-agenda-priority): Disable priority commands.
2575 * org.el (org-enable-priority-commands): New option.
2577 * org-colview-xemacs.el (org-columns-compute)
2578 (org-columns-number-to-string): Fix problems with empty fields.
2580 * org-colview.el (org-columns-compute)
2581 (org-columns-number-to-string): Fix problems with empty fields.
2583 * org-exp.el (org-export-push-to-kill-ring): New function.
2584 (org-export-copy-to-kill-ring): New option.
2586 * org-latex.el (org-export-as-latex): Call
2587 `org-export-push-to-kill-ring'.
2589 * org-exp.el (org-export-show-temporary-export-buffer): New
2592 * org-latex.el (org-export-as-latex): Use
2593 `org-export-show-temporary-export-buffer'.
2595 * org-exp.el (org-export-show-temporary-export-buffer): New
2597 (org-export-push-to-kill-ring): New function.
2599 * org-colview.el (org-columns-compile-map): New variable.
2600 (org-columns-new, org-columns-compute)
2601 (org-columns-number-to-string, org-columns-uncompile-format)
2602 (org-columns-compile-format): Implement new operators.
2604 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2606 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2608 * org-list.el (org-update-checkbox-count): Make property
2611 * org.el (org-hierarchical-todo-statistics): New option.
2612 (org-update-parent-todo-statistics): Modify to handle recursive
2615 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2617 * org-publish.el (org-publish): Make this function behave
2618 correctly in interactive use when called with a prefix argument.
2620 * org.el (org-todo-statistics-hook): New hook.
2621 (org-update-parent-todo-statistics): Use new hook.
2622 (org-log-into-drawer): New function.
2623 (org-add-log-setup): Use the new `org-log-into-drawer' function to
2624 determine if we should be logging into a drawer.
2625 (org-log-into-drawer): Update docstring.
2626 (org-default-properties): Add LOG_INTO_DRAWER as a property.
2628 * org-list.el (org-checkbox-statistics-hook): New hook.
2629 (org-update-checkbox-count-maybe): Use new hook.
2631 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2633 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2634 better bufer-generating mechanism.
2635 (org-edit-src-find-buffer): New function.
2637 * org-icalendar.el (org-print-icalendar-entries): Don't check for
2638 archive tag, this is already done by `org-agenda-skip'.
2639 data while constructing lost of tags.
2641 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2643 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2644 as argument separator in macros.
2646 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2648 * org.el (org-after-sorting-entries-or-items-hook): New hook.
2649 (org-sort-entries-or-items): Run the new hook.
2650 (org-after-refile-insert-hook): New hook.
2651 (org-refile): Run `org-after-refile-insert-hook'.
2653 * org-agenda.el (org-agenda-get-progress): Never take time of day
2654 from headline when displaying progress.
2656 * org-latex.el (org-export-latex-complex-heading-re): New variable.
2657 (org-export-as-latex): Force the correct regexp in the
2658 preprocessor buffer.
2659 (org-export-latex-set-initial-vars): Set
2660 `org-export-latex-complex-heading-re'.
2662 * org-agenda.el (org-agenda-start-with-log-mode): New option.
2663 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2665 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2667 * org-latex.el (org-export-latex-tables-centered): New option.
2668 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2670 * org-exp.el (org-export-as-org): New command.
2671 (org-export-as-org): New command.
2673 * org-publish.el (org-publish-org-to-org): New function.
2675 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2677 * org.el (org-yank): Just call `org-yank-generic'.
2678 (org-yank-generic): New function, containing the formaer
2679 functionality of `org-yank'.
2681 * org-latex.el (org-export-latex-not-done-keywords)
2682 (org-export-latex-done-keywords): New variables.
2683 (org-export-latex-todo-keyword-markup): New option.
2684 (org-export-latex-set-initial-vars): Remember the TODO keywords.
2685 (org-export-latex-keywords-maybe): Apply the TODO markup.
2687 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2689 * org-exp.el (org-infile-export-plist): Add more default macros.
2690 (org-export-preprocess-apply-macros): Process macro arguments.
2692 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2694 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
2696 (org-print-icalendar-entries): Respect the new value of
2697 `org-icalendar-include-todo'.
2699 * org.el (org-link-try-special-completion)
2700 (org-file-complete-link): New functions.
2701 (org-insert-link): Add special completion support for some link
2704 * org-bbdb.el (org-bbdb-complete-link): New function.
2706 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2708 * org-list.el (org-update-checkbox-count): Allow recursive
2710 (org-hierarchical-checkbox-statistics): New option.
2712 * org.el (org-cycle): Remove erraneous space character.
2714 * org-icalendar.el (org-icalendar-timezone): Initialize from
2717 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2719 * org.el (org-autoload): Fix autoloading of ascii export
2721 (org-modules): Add org-special-blocks.
2723 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2725 * org-icalendar.el (org-start-icalendar-file): Use the new option.
2726 (org-ical-timezone): New option.
2728 * org-exp.el (org-export-get-coderef-format): Use the description
2731 * org.el (org-sort-entries-or-items): Improve docstring, and make
2732 better implementation for time sorting.
2734 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2736 * org.el (org-edit-src-persistent-message): New option.
2737 (org-edit-src-code, org-edit-fixed-width-region): Use the new
2740 * org-clock.el (org-clock-insert-selection-line): Fix prefious
2743 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
2744 separate buffer instead of indirect buffer to edit source code.
2745 (org-edit-src-exit): Make this function work with the new setup.
2747 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
2748 are properly fontified before shown in the selection menu.
2750 * org.el (org-fontify-like-in-org-mode): New function.
2752 * org-latex.el (org-export-latex-links): Use the property list to
2753 retrieve the default image attributes.
2755 * org-exp.el (org-export-plist-vars): Add a new option.
2757 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2759 * org-exp.el (org-export, org-export-visible): Support ASCII
2761 (org-export-normalize-links): Do not protect the description if it
2762 is explicitly given.
2764 * org-list.el (org-reset-checkbox-state-subtree): Move here from
2766 (org-reset-checkbox-state-subtree): Call
2767 `org-reset-checkbox-state-subtree'.
2769 * org-remember.el (org-select-remember-template): For the
2770 selection of a valid template.
2772 * org-latex.el (org-export-region-as-latex): Supply the
2773 force-no-subtree argument.
2774 (org-export-as-latex): Provide better limits when exporting the
2775 first line. When exporting to string, we still want the first
2777 (org-export-latex-first-lines): New argument END, to force the end
2779 (org-export-region-as-latex): Use the property list.
2780 (org-export-as-latex):
2782 * org-colview-xemacs.el (org-columns-remove-overlays)
2783 (org-columns): Fix call to `local-variable-p'.
2785 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2787 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
2788 (org-export-latex-preprocess): Run the new hook.
2790 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
2791 (org-export-preprocess-string): Run the new hook.
2793 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2795 * org-macs.el (org-check-external-command): New defsubst.
2797 * org.el (org-mode-map): New key for reload.
2798 (org-format-latex): Better error message when external programs
2801 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
2803 * org.el (org-sort-entries-or-items): Explicit sorting function
2804 for priorities, needed for XEmacs compatibility.
2806 * org-remember.el (org-remember-apply-template): Improve auto-save
2809 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2811 * org-latex.el (org-export-latex-preprocess): Also protect
2812 environments ending in a star.
2814 * org-list.el (org-at-item-p): Fix regular expression.
2816 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2818 * org.el (org-end-of-subtree): Improve speed.
2820 * org-agenda.el (org-agenda-get-timestamps)
2821 (org-agenda-get-progress, org-agenda-get-deadlines)
2822 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
2823 in particular, wait as long as possible to collect the tags.
2824 (org-stuck-projects): Improve docstring.
2826 * org.el (org-store-link): No errors when getting custom id before
2828 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
2830 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2832 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
2834 * org-protocol.el: Remove dependency on url.el.
2835 (org-protocol-unhex-compound, org-protocol-open-source): Remove
2836 dependency on url.el.
2838 * org-latex.el (org-export-as-pdf): Use
2839 `org-latex-to-pdf-process'.
2841 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2843 * org-latex.el (org-latex-to-pdf-process): New option.
2845 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
2847 (org-agenda-get-timestamps): Honor
2848 `org-agenda-skip-additional-timestamps-same-entry'.
2850 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
2851 (org-clock-goto): Find recent task only if
2852 `org-clock-goto-may-find-recent-task' allows it.
2854 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
2855 drawers, and drawers that are missing the :END: line.
2857 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2859 * org-clock.el (org-clock-goto): Go to recently clocked task if no
2862 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2864 * org.el (org-update-parent-todo-statistics): Check for
2865 STATISTICS_FROM property.
2867 * org-list.el (org-update-checkbox-count): Check for
2868 STATISTICS_FROM property.
2870 * org.el (org-tab-first-hook)
2871 (org-tab-after-check-for-table-hook)
2872 (org-tab-after-check-for-cycling-hook): New hooks.
2873 (org-cycle-internal-global, org-cycle-internal-local): New
2874 functions, split out from `org-cycle'.
2875 (org-cycle): Call the new hooks.
2877 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2879 * org-exp.el (org-export-preprocess-string): Reset the list of
2880 preferred targets for each run of the preprocessor.
2882 * org.el (org-refile-target-verify-function): Improve
2884 (org-get-refile-targets): Respect point being moved by the
2885 verification function.
2887 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
2889 (org-export-latex-keywords): Use new option.
2891 * org.el (org-rear-nonsticky-at): New defsubst.
2892 (org-activate-plain-links, org-activate-angle-links)
2893 (org-activate-footnote-links, org-activate-bracket-links)
2894 (org-activate-dates, org-activate-target-links)
2895 (org-activate-tags): Place the rear-nonsticky properties at the
2898 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2900 * org-protocol.el (server-edit): Declare `server-edit'.
2901 (org-protocol-unhex-string, org-protocol-unhex-compound): New
2903 (org-protocol-check-filename-for-protocol): Call `server-edit'.
2905 * org.el (org-default-properties): New default properteis for
2908 * org-exp.el (org-export-add-subtree-options): Add new properties
2911 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2913 * org-id.el (org-id-get-with-outline-path-completion): Turn off
2914 org-refile-target-verify-function for the duration of the command.
2916 * org.el (org-link-to-org-use-id): New possible value
2917 `create-if-interactive-and-no-custom-id'.
2918 (org-store-link): Use custom IDs.
2919 (org-link-search): Find custom ID properties from #link.
2920 (org-default-properties): Add CUSTOM_ID for property completion.
2921 (org-refile-target-verify-function): New option.
2922 (org-goto): Turn off org-refile-target-verify-function
2923 for the duration of the command.
2925 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2927 * org-exp.el (org-export-preferred-target-alist): New variable.
2928 (org-export-define-heading-targets): Find the new CUSTOM_ID
2930 (org-export-target-internal-links): Target the custom ids when
2933 * org-latex.el (org-export-latex-preprocess): Better regexp for
2934 matching latex macros with arguments.
2936 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2938 * org-remember.el (org-remember-handler): Allow filing to non-org
2941 2009-08-06 Magnus Henoch <magnus.henoch@gmail.com>
2943 * org-table.el (org-table-fix-formulas): Do not change references
2945 (org-table-get-remote-range): Convert standard coordinates to RC
2948 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
2950 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2952 * org-compat.el (org-sha1-string): Function removed.
2954 * org.el (org-refile-allow-creating-parent-nodes): New option.
2955 (org-refile-get-location): New argument NEW-NODES.
2956 (org-refile): Call `org-refile-get-location' with the new
2958 (org-refile-get-location): Arrange for adding a new child.
2959 (org-refile-new-child): New function.
2961 * org-clock.el: Fix a number of docstrings.
2962 (org-clock-find-position): New argument
2963 FIND-UNCLOSED to make the function find an unclosed clock in the
2965 (org-clock-in): Call `org-clock-find-position' with the new
2966 argument if we might be resuming a clock.
2968 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2970 * org-latex.el (org-export-latex-display-custom-times): New variable.
2971 (org-export-latex-timestamp-markup): New option.
2972 (org-export-latex-set-initial-vars): Remember the local value of
2973 `org-display-custom-times'.
2974 (org-export-latex-content): Process time stamps.
2975 (org-export-latex-time-stamps): New function.
2977 * org-macs.el (org-maybe-intangible): Add intangible property
2978 again to invisible text.
2980 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2982 * org-exp.el (org-default-export-plist): Handle undefined
2985 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2987 * org.el (org-sort-entries-or-items): Match TODO keywrds
2988 case-sensitively, when sorting.
2989 (org-priority): Do not match TODO keywords with wrong case.
2991 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2993 * org.el (org-todo): Honor the NOBLOCKING property.
2995 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
2996 NOBLOCKING property.
2998 * org.el (org-scan-tags): Fix bug in tag scanner.
3000 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3002 * org.el (org-modules): Mark obsolete packages.
3004 * org-html.el: New file, split out from org-exp.el.
3006 * org-icalendar.el: New file, split out from org-exp.el.
3008 * org-xoxo.el: New file, split out from org-exp.el.
3010 * org-ascii.el: New file, split out from org-exp.el.
3012 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3014 * org-compat.el (org-find-library-name): New function.
3016 * org.el (org-pre-cycle-hook): New hook.
3017 (org-cycle): Call the new hook in appropriate places.
3018 (org-reload): Only reload files that have been loaded before.
3020 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3022 * org.el (org-set-font-lock-defaults): Enforxe space or line end
3024 (org-todo): When changing TODO state, do matching
3026 (org-map-continue-from): New variable.
3027 (org-scan-tags): Respect values in `org-map-continue-from'.
3028 (org-reload): Make XEmacs compatible.
3030 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3032 * org-protocol.el (org-protocol-flatten-greedy): New function.
3033 (org-protocol-flatten): New function.
3035 * org.el (org-open-link-from-string): Pass reference buffer to
3036 `org-open-at-point'.
3037 (org-open-at-point): New optional argument `reference-buffer'.
3039 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3041 * org.el (org-scan-tags): Make tag scan find headline in first
3043 (org-get-refile-targets): Add the naked file name.
3044 (org-refile): Store as top-level entry when only file name was
3047 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3049 * org.el (org-block-todo-from-children-or-siblings-or-parent):
3050 Rename from org-block-todo-from-children-or-siblings, and
3051 enhanced to look for the parent's status as well.
3053 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3054 (org-agenda-get-progress): Add first notes line to log entry if so
3057 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3059 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3060 (org-agenda-cleanup-fancy-diary): Call the new hook.
3062 * org-remember.el (org-remember-apply-template): Take the default
3063 for the annotation from the :annotation property.
3065 * org-mac-message.el (org-mac-message-get-link): Remove the
3067 (org-mac-message-get-link): Return the result.
3069 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3071 * org.el (org-refile-get-location): Add file name only if not
3072 already included in outline path.
3074 * org-faces.el (org-n-level-faces): Fix customization type from
3077 * org-exp.el (org-export-headline-levels): Fix customization type
3078 from number to integer.
3080 * org-agenda.el (org-agenda-confirm-kill)
3081 (org-agenda-custom-commands-local-options)
3082 (org-timeline-show-empty-dates, org-agenda-ndays)
3083 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3084 customization type from number to integer.
3086 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3088 * org-protocol.el: Declare some functions.
3090 * org-agenda.el (org-agenda-compare-effort): Honor
3091 `org-sort-agenda-noeffort-is-high'.
3092 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3093 (org-agenda-compare-effort): Implement the "?" operator for
3094 finding entries without effort setting.
3096 * org.el (org-extract-attributes-from-string): New function.
3098 * org-exp.el (org-export-splice-attributes): New function.
3100 2009-08-06 Bastien Guerry <bzg@altern.org>
3101 Daniel M German <dmg@uvic.org>
3102 Sebastian Rose <sebastian_rose@gmx.de>
3103 Ross Patterson <me@rpatterson.net>
3105 * org-protocol.el: New file.
3107 2009-08-06 Baoqiu Cui <cbaoqiu@yahoo.com>
3109 * org-docbook.el: New file.
3111 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3113 * org-mouse.el: XEmacs compatibility fixes.
3115 * org.el (org-modules): Add org-inlinetasks.el
3116 (org-cycle): Implement limiting level on cycling.
3117 (org-move-subtree-down): Fix bug with swapping subtrees at end of
3120 * org-inlinetask.el: New file.
3122 * org.el (org-emphasis-regexp-components): Allow braces in
3123 emphasis pre and post match.
3125 * org-footnote.el (org-footnote-normalize): When only dorting, do
3126 not insert inline notes at the end.
3128 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3130 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3132 * org.el (org-reftex-citation): New command.
3134 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3136 * org-agenda.el (org-agenda-cmp-user-defined): New option.
3137 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3139 (org-entries-lessp): Apply the new sorting option.
3141 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3142 blocker code, when an older sibling has children.
3144 * org-mac-message.el (org-mac-message-get-link): Improve getting
3145 links from multiple selected messages.
3147 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3149 * org-remember.el (org-remember-finalize): Do not set buffer file
3151 (org-remember-handler): Mark buffer as unmodified.
3152 (org-remember-handler): Delete backup file and show message about
3153 remaining backup files.
3154 (org-remember-auto-remove-backup-files): New option.
3156 * org.el (org-store-link): Use buffer name as link description in
3158 (org-ido-switchb): Fix argument bug for completion.
3160 * org-remember.el (org-remember-apply-template): Set local
3161 variable `auto-save-visited-file-name' instead of global one.
3163 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3165 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3166 (org-agenda-get-todos): Mark file tags as inherited.
3167 (org-agenda-list): Always search diary lines for a time.
3169 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3171 * org-feed.el: New file.
3173 * org-exp.el (org-export-as-html): Close local lists depending on
3174 indentation, also when starting a table.
3176 * org-remember.el (org-remember-backup-directory)
3177 (org-remember-backup-name): New internal variable.
3179 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3181 * org-clock.el (org-clock-out-if-current): Make buffer detection
3182 work in indirect buffers as well.
3184 * org.el (org-emphasis-regexp-components): Add the exxclamation
3185 mark to the post-emphasis characters.
3187 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3189 * org.el (org-read-date-minibiffer-septup-hook): New hook.
3190 (org-read-date): Run the new hook.
3192 * org-mac-message.el (org-mac-flagged-mail): New group.
3193 (org-mac-mail-account): New variable.
3194 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3197 * org-remember.el (org-remember-backup-directory): New variable.
3198 (org-remember-apply-template): Write file to backup directory.
3200 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3202 * org-mouse.el (org-mouse-todo-menu): New function.
3203 (org-mouse-todo-keywords): Function removed.
3204 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3206 * org-table.el (org-table-beginning-of-field)
3207 (org-table-end-of-field): New commands
3208 (org-table-previous-field, org-table-beginning-of-field): Better
3210 (orgtbl-setup): Include `M-a' and `M-e'.
3212 * org.el (org-backward-sentence, org-forward-sentence): New
3215 * org-colview.el (org-colview-initial-truncate-line-value): New
3217 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3218 (org-columns): Remember the value of `truncate-lines'.
3220 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3222 (org-columns-remove-overlays): Restore the value of
3224 (org-columns): Remember the value of `truncate-lines'.
3226 * org.el (org-columns-skip-arrchived-trees): New option.
3228 * org-agenda.el (org-agenda-export-html-style): Define color for
3229 org-agenda-done face.
3230 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3231 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3233 * org.el (org-scan-tags): Use the new face.
3235 * org-faces.el (org-agenda-done): New face.
3237 * org.el (org-scan-tags): Test the value org
3238 `org-tags-match-list-sublevels'.
3239 (org-tags-match-list-sublevels): New allowed value: indented.
3241 * org-latex.el (org-export-latex-make-header): Apply macros
3244 * org-exp.el (org-export-apply-macros-in-string): New function.
3246 * org-latex.el (org-export-latex-list-parameters): Fix bug
3247 with the definition of a checked box.
3249 * org-clock.el (org-clock-find-position): Fix drawer indentations.
3251 * org-latex.el (org-export-latex-low-levels): More options
3252 for how to process lower levels in LaTeX.
3253 (org-export-latex-subcontent): Better treatment for lists as a
3254 means of publishing lower levels.
3256 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3258 * org.el (org-set-font-lock-defaults): Use new checkbox face.
3260 * org-faces.el (org-checkbox): New face.
3262 * org-exp.el (org-export-html-preprocess): Only create LaTeX
3263 fragement images if there is an export file.
3265 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3267 * org-agenda.el (org-stuck-projects): Document that the subtree of
3268 projects that are not stuck will now be searched for stuck
3270 (org-agenda-skip-entry-when-regexp-matches)
3271 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3272 (org-agenda-list-stuck-projects): Use
3273 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3275 * org-latex.el (org-export-latex-preprocess): Improve
3278 * org-exp.el (org-export-as-html): Implement centering as a div
3279 rather than a paragraph. Do a better job with line-end in verse
3282 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3284 * org.el (org-open-at-point): Fix tags searches by mouse click.
3286 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3288 * org-latex.el (org-export-latex-preprocess): Implement the
3291 * org-exp.el (org-export-mark-blockquote-verse-center): Rename
3292 from `org-export-mark-blockquote-and-verse'.
3293 (org-export-as-html): Implement the centering markup.
3295 * org-latex.el (org-export-latex-tables): Fix vertical
3298 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3300 * org.el (org-read-date-history): New variable.
3301 (org-read-date): Use new history variable.
3302 (org-toggle-heading): Fix bug when used before first headline.
3303 (org-store-log-note): Remove drawer if empty while note is
3305 (org-remove-empty-drawer-at): New function.
3306 (org-check-after-date): New command.
3307 (org-sparse-tree): New sparse tree command "a".
3309 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3311 2009-08-06 Bastien Guerry <bzg@altern.org>
3313 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3314 column and a space, not only a column.
3316 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3318 * org-latex.el (org-export-latex-emphasis-alist): Better
3319 defaults for verbose emphasis.
3320 (org-export-latex-emph-format): New function.
3321 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3323 * org-agenda.el (org-agenda-menu): Add new commands to menu.
3324 (org-agenda-do-date-later, org-agenda-do-date-earlier)
3325 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3326 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3329 * org.el (org-timestamp-change): Move end-time along with start
3332 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3334 * org-exp.el (org-export-target-internal-links)
3335 (org-export-as-html): Protect links specified as #name.
3337 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3339 * org.el (org-clone-subtree-with-time-shift): New command.
3341 * org-latex.el (org-export-latex-special-chars)
3342 (org-export-latex-treat-sub-super-char): Fix subscript export.
3344 * org-exp.el (org-create-multibrace-regexp): Do not add
3345 backslashes to the class.
3347 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3349 * org-colview.el (org-columns-map): Better functions for moving up
3350 and down a row, even if `truncate-line' is nil.
3352 * org.el (org-insert-todo-heading): Make sure the keyword is
3353 inserted at the correct position.
3355 * org-publish.el (org-publish-project-alist)
3356 (org-publish-projects, org-publish-org-index): Change default anme
3357 for the index of file names to "sitemap.org".
3359 * org-latex.el (org-export-latex-tables): Use
3360 `org-split-string', for Emacs 21 compatibility.
3362 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3364 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3366 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3368 * org-exp.el (org-export-page-description)
3369 (org-export-page-keywords): New variables.
3370 (org-export-plist-vars): Add entries for :keywords and
3372 (org-infile-export-plist): Parse for new keywords.
3373 (org-get-current-options): Add new keywords
3374 (org-export-as-html): Publish description and keywords.
3376 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3378 (org-agenda-add-entry-text): Honor
3379 `org-agenda-add-entry-text-descriptive-links'.
3381 * org-latex.el (org-export-latex-preprocess): Make all
3382 external preprocess functions use a PARAMETER arg.
3384 * org-exp.el (org-export-preprocess-string)
3385 (org-export-select-backend-specific-text)
3386 (org-export-format-source-code-or-example)
3387 (org-format-org-table-html): Support docbook export.
3388 (org-export-preprocess-string): Make all external preprocess
3389 functions use a PARAMETER arg.
3391 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3393 * org-exp.el (org-export-html-style-include-scripts): New option.
3394 (org-export-plist-vars): Add new option
3395 `org-export-html-style-include-scripts'.
3396 (org-export-as-html): Honor new option
3397 `org-export-html-style-include-scripts'.
3398 (org-export-html-scripts, org-export-html-style-default): Fix
3399 xml issues with the Safari browser.
3401 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3403 * org-publish.el (org-publish-attachment): Only copy file when the
3406 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3408 * org-clock.el (org-clocktable-steps): Use inactive time stamps
3409 for clocktable steps.
3411 * org.el (org-additional-option-like-keywords): Add two more
3414 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3416 * org-exp.el (org-export-format-source-code-or-example): Mark
3417 temporary buffer unmodified, so that it will be killed even if
3418 mode like message mode has decided to assign a file name.
3420 * org.el (org-scan-tags): Improve tag inheritance.
3421 (org-scan-tags, org-make-tags-matcher): Make tag comparison
3423 (org-scan-tags): Use the internal tags list instead of creating it
3425 (org-trust-scanner-tags, org-scanner-tags): New variables.
3426 (org-scan-tags): Set `org-scanner-tags'.
3427 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3428 (org-map-entries): Document the possible speedup using scanner
3431 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3433 * org.el (org-add-planning-info): Fix bug with looking for keyword
3436 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3437 option for tags filter preset.
3438 (org-prepare-agenda): Store filter preset as a property on the
3440 (org-finalize-agenda): Call the filter, if there is a preset.
3441 (org-agenda-filter-by-tag): Filter again after clearing the
3442 filter, when there still is a preset.
3443 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3444 Include the preset filter.
3445 (org-agenda-redo): Apply the filter again, also the preset filter.
3447 * org-exp.el (org-export-as-html): Use IDs in the correct way.
3449 * org.el (org-uuidgen-p): New funtion.
3451 * org-agenda.el (org-agenda-fontify-priorities): New default value
3453 (org-agenda-fontify-priorities): Rename from
3454 org-fontify-priorities.
3456 * org.el (org-set-font-lock-defaults): Call
3457 `org-font-lock-add-priority-faces'.
3458 (org-font-lock-add-priority-faces): New function.
3460 * org-faces.el (org-set-tag-faces): New option.
3461 (org-priority-faces): New variable.
3463 * org-exp.el (org-export-as-html): Add a "content" div around the
3464 entire content of the body tag.
3465 (org-export-html-get-bibliography): New function.
3466 (org-export-html-validation-link): New variable.
3467 (org-export-as-html): Add validation link to exported page.
3469 * org.el (org-match-sparse-tree): Rename from
3470 `org-tags-sparse-tree'.
3471 (org-tags-sparse-tree): New alias.
3473 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3475 * org.el (org-get-valid-level): Catch the case where the level
3478 * org-clock.el (org-clock-find-position): Better indentation of
3481 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3483 * org-agenda.el (org-agenda-quit): Delete window only when the
3484 frame-setup was not `current-window'.
3486 * org.el (org-tag-persistent-alist): New option.
3487 (org-startup-options): Add keyword `noptag'.
3488 (org-fast-todo-selection): Handle :newline correctly.
3489 (org-set-tags): Handle :newline correctly.
3490 (org-fast-tag-selection): Handle :newline correctly.
3492 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3494 * org-exp.el (org-export-as-ascii): Reverse link buffer before
3496 (org-export-ascii-push-links): Fix bug with pussing links into the
3499 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3501 * org-archive.el (org-archive-subtree): Do not add 1 to level if
3502 pasting at top level.
3504 * org-bbdb.el: Improve documentation.
3506 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3508 * org-list.el (org-insert-item): Only consider insert empty lines
3509 is `org-empty-line-terminates-plain-lists' is not nil.
3511 * org.el (org-blank-before-new-entry): Mention the dependence on
3512 `org-empty-line-terminates-plain-lists' in the docstring.
3514 * org-publish.el (org-publish-get-project-from-filename): New
3515 optional argument UP. Only find the top project if UP is set.
3516 (org-publish-current-project): Find the top encloding project.
3518 * org-agenda.el (org-agenda-before-write-hook)
3519 (org-agenda-add-entry-text-maxlines): New options.
3520 (org-write-agenda): Run the new hook in the temporary buffer.
3521 (org-agenda-add-entry-text): New function.
3522 (org-write-agenda): Implement PDF export, using ps2pdf.
3524 * org.el (org-global-properties-fixed, org-global-properties):
3525 Improve documentation string.
3527 * org-exp.el (org-export-ascii-links-to-notes): New option.
3528 (org-export-as-ascii): Handle links better.
3529 (org-export-ascii-wrap, org-export-ascii-push-links): New
3532 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3534 * org-agenda.el (org-agenda): Make prefix arg optional.
3535 (org-agenda-search-headline-for-time): New option.
3536 (org-format-agenda-item): Honor
3537 `org-agenda-search-headline-for-time'.
3539 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3542 * org.el (org-self-insert-cluster-for-undo): New option.
3543 (org-self-insert-command): Cluster undo for 20 characters.
3544 (org-self-insert-command-undo-counter): New variable.
3546 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3548 * org-exp.el (org-export-as-html): Fix problem with closing colone
3551 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3553 * org-latex.el (org-export-as-latex)
3554 (org-export-latex-first-lines): Avoid modification flag when
3555 adding or removing text properties.
3556 (org-export-latex-fontify): Catch error when org-emph-alist has
3557 entries that are not defined for LaTeX export.
3559 * org-export-latex.el: renamed to org-latex.el.
3561 * org-latex.el: renamed from org-export-latex.el.
3563 * org.el (orgstruct++-mode): New function.
3564 (turn-on-orgstruct++): Call `orgstruct++-mode'.
3565 (org-context-p): Allow detecting item context after the first line
3567 (orgstruct-make-binding): Detect if item-body context should be
3569 (orgstruct-is-++): New variable.
3570 (org-add-planning-info): Catch the case when there is no planning
3571 info yet and the call does not want to add anything, only maybe
3572 tries to remove something.
3573 (org-special-ctrl-a/e): All value to be a cons cell with separate
3574 settings for `C-a' and `C-e'.
3575 (org-beginning-of-line, org-end-of-line): Honor separate values
3576 for `C-a' and `C-e'.
3578 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3580 * org.el (org-reload): New command.
3582 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
3584 * org-gnus.el (org-gnus-store-link): Fix bug where
3585 org-gnus-store-link used wrong subject when called in an article
3586 buffer. Patch provided by fengli AT gmail DOT com.
3588 2009-03-13 D. Goel <deego3@gmail.com>
3590 * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
3591 replace ls by (values-list ls).
3593 2009-02-20 Carsten Dominik <dominik@science.uva.nl>
3595 * org-remember.el (org-remember-apply-template): Turn off ido for
3598 * org.el (org-priority): Also find invisible headings, for remote
3600 (org-completing-read-no-ido): New function.
3601 (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
3603 * org-colview.el (org-columns-edit-value): No special treatment of
3606 2009-02-19 Carsten Dominik <dominik@science.uva.nl>
3608 * org.el (org-block-todo-from-children-or-siblings): Use
3609 `org-up-heading-all' so that this will work correctly with hidden
3610 property drawers and entries.
3611 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
3612 falling back to normal, default command.
3613 (org-get-location): Temporarily turn off special behavior.
3615 2009-02-13 Glenn Morris <rgm@gnu.org>
3617 * org-rmail.el (rmail-show-message): Restore argument list to the
3618 declaration now that this functions behaves in Emacs 23 as in 22.
3620 2009-02-12 Glenn Morris <rgm@gnu.org>
3622 * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
3624 2009-02-12 Joachim Reiter <Reiter.Joachim@web.de> (tiny change)
3626 * org-footnote.el (org-footnote-action): Fix doc typo.
3628 2009-02-06 Carsten Dominik <dominik@science.uva.nl>
3630 * org-exp.el (org-export-preprocess-string): Fix bug with skipping
3631 text before first headline.
3632 (org-export-remove-or-extract-drawers): Fix regular expression for
3635 * org.el (org-format-latex): Stop LaTeX fragment processing in
3638 2009-02-05 Glenn Morris <rgm@gnu.org>
3640 * org-rmail.el (rmail-show-message): Update declaration.
3641 (rmail-buffer, rmail-view-buffer): Declare.
3642 (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
3644 2009-02-04 Carsten Dominik <dominik@science.uva.nl>
3646 * org.el (org-return-follows-link): Revert setting
3647 `org-return-follows-link' to t by default.
3649 2009-02-02 Carsten Dominik <dominik@science.uva.nl>
3651 * org.el (org-cycle-global-at-bob): Fix typo.
3653 * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
3655 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
3657 * org.el (org-mode): Make dependence stuff work more reliably.
3658 (org-update-parent-todo-statistics): Fix bug with updating
3660 (org-yank-adjusted-subtrees, org-return-follows-link)
3661 (org-use-fast-todo-selection, org-tags-column): New default
3662 setting for variables.
3664 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
3665 ~ as verbatim delimiters, to avoid table bug.
3666 (org-export-latex-classes): Remove the a4paper option from the
3669 * org-exp.el (org-export-html-format-image): New argument
3670 PAR-OPEN, to fix XHTM validation bug.
3671 (org-export-as-html): Pass par-open to
3672 `org-export-html-format-image'.
3673 (org-export-html-footnotes-section): Use a more consistent id for
3676 * org-agenda.el (org-agenda-sorting-strategy)
3677 (org-agenda-tags-column): New default setting for variables, based
3678 on a poll what typical uses use.
3679 (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
3680 setting the blocked tag.
3682 2009-01-31 Carsten Dominik <dominik@science.uva.nl>
3684 * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
3685 only checking for blocks.
3687 * org-exp.el (org-export-html-footnotes-section): Make the div id
3690 * org-export-latex.el (org-export-latex-classes): Remove
3691 paper size option from LaTeX classes.
3693 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
3695 * org.el (org-enforce-todo-checkbox-dependencies): New option.
3696 (org-block-todo-from-checkboxes): New function.
3697 (org-todo): Make tripple prefix arg circumvent blocking.
3699 2009-01-30 Glenn Morris <rgm@gnu.org>
3701 * org-list.el (org-empty-line-terminates-plain-lists)
3702 (org-toggle-checkbox): Doc fixes.
3704 * org-table.el (org-table-clean-before-export): Fix declaration.
3706 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
3708 * org-timer.el (org-timer): Provide the timer feature.
3710 * org.el (org-require-autoloaded-modules): Add a few more files to
3711 the list of autoloaded modules.
3713 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
3715 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
3716 drawers that are unprotected.
3717 (org-export-html-format-image): Make sure inlined LaTeX fragment
3718 images remain inlined.
3720 * org.el (org-toggle-ordered-property): New function.
3721 (org-mode-map): Add a key for `org-toggle-ordered-property'.
3722 (org-org-menu): Add menu entries for TODO dependencies.
3724 * org.el (org-default-properties): Add ORDERED to the default
3725 properties, to get completion support for it.
3727 * org-list.el (org-update-checkbox-count): Update more than one cookie.
3729 * org.el (org-update-parent-todo-statistics): Update more than one
3732 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
3734 * org-agenda.el (org-agenda-get-todos): Start search from correct
3737 * org.el (org-fast-todo-selection): Make sure TODO selection does
3738 not change buffer position.
3740 * org-list.el (org-toggle-checkbox): Implement adding or removing
3741 checkboxes from line or region when called with a prefix
3744 * org-rmail.el (org-rmail-store-link): Protect the call to
3745 `rmail-narrow-to-non-pruned-header'.
3747 * org-clock.el (org-clock-special-range): Fix week display in
3750 * org-exp.el (org-get-current-options): Fix bug when in indirect
3753 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
3754 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
3755 (org-agenda-dim-blocked-tasks): New function.
3757 * org.el (org-enforce-todo-dependencies): New option.
3758 (org-block-todo-from-children-or-siblings): New function.
3760 * org-faces.el (org-agenda-dimmed-todo-face): New face.
3762 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
3764 * org.el (org-todo): Return correct state type even if the blocker
3766 (org-modifier-cursor-error): Rename from
3767 `org-shiftcursor-error'.
3768 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3769 (org-shiftmetadown): Call `org-modifier-cursor-error'.
3771 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
3772 to get real errors from the blocker hook.
3774 * org.el (org-shiftselect-error, org-call-for-shift-select): New
3776 (org-set-visibility-according-to-property): Turn off the setting
3777 of `org-show-entry-below', to avoid overruling a FOLDED visibility
3780 * org.el (org-support-shift-select): New option.
3781 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
3782 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
3783 selection outside contexts.
3785 * org-list.el (org-at-item-bullet-p): New function.
3787 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
3790 * org-footnote.el (org-footnote-normalize): Remove unnecessary
3792 (org-insert-footnote-reference-near-definition): Remove
3793 unnecessary let form.
3795 2009-01-26 Carsten Dominik <dominik@science.uva.nl>
3797 * org-export-latex.el (org-export-as-latex): Call
3798 `org-export-latex-first-lines' with OPT-PLIST as a parameter.
3799 (org-export-latex-first-lines): New parameter OPT-PLIST.
3801 * org.el (org-yank): Tell `delete-selection-mode' about
3804 * org-faces.el (org-clock-overlay): Fix face definition.
3806 * org-export-latex.el (org-export-latex-first-lines): Pass
3807 timestamp and footnote parameters to the preprocessor.
3809 * org-exp.el (org-export-remove-timestamps): Do not remove time
3810 stamps inside tables.
3812 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3814 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
3816 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
3819 * org-table.el (org-table-insert-hline): Fix typo in fuction call
3822 * org-exp.el (org-export-as-html): Remove the initial space from
3825 * org.el (org-scan-tags): Call
3826 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3828 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
3829 customization groups.
3830 (org-agenda-tags-todo-honor-ignore-options): New option.
3831 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3833 (org-agenda-get-todos): Use
3834 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3836 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3838 * org-exp.el (org-export-format-source-code-or-example): Escape
3839 HTML characters also in examples that anre not treated with
3840 htmlize. Also, just switch to EXAMPLE processing if we do not
3841 have a good version of htmlize.
3843 * org-rmail.el: Fix copyright notice.
3845 * org.el (org-activate-footnote-links): Improve footnote link
3848 * org-footnote.el (org-footnote-normalize): Fix finding the end of
3849 a footnote definition at the end of the file.
3851 * org-table.el (org-table-get-specials): Add an imagined hline at
3852 the end of the table. This can be useful for references that want
3853 to go to the end of the table. Also fix bug when computing last
3854 row constants, in tables that do not start right at the right
3856 (org-table-eval-formula): Match and replace remove references.
3857 (org-table-formula-substitute-names): Make sure that names inside
3858 a "remote" call are left alone, the will be replaced later when
3859 the remote call is handled.
3860 (org-table-convert-refs-to-rc): Do not convert things that might
3861 look like a reference, but are really part of an ID or namei n a
3863 (org-table-get-remote-range): New function.
3865 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3867 * org-faces.el (org-clock-overlay): Fix bug in face definition.
3869 * org-clock.el (org-clock-put-overlay): Use new face instead of
3870 `secondary-selection'.
3872 * org-faces.el (org-clock-overlay): New face.
3874 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3876 * org-exp.el (org-get-current-options): Include the option for
3877 publishing time stamps.
3879 * org.el (org-toggle-heading): Rename from
3880 `org-toggel-region-headings'.
3881 No longer needs a region defined, but will use it if there is one.
3882 (org-ctrl-c-star): Simplify, relying more on the internal
3883 workings of `org-toggle-heading'.
3884 (org-toggle-item): Rename from `org-toggle-region-items'.
3885 No longer needs a region defined, but will use it if there is one.
3886 (org-ctrl-c-minus): Simplify, relying more on the inernal
3887 workings of `org-toggle-item'.
3889 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
3890 environment detection. Also, do real changes only in unprotected
3893 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3895 * org-export-latex.el (org-export-latex-quotation-marks): Use
3896 `org-if-unprotected-1'.
3897 (org-export-latex-set-initial-vars): Check for class definition in
3900 * org-macs.el (org-if-unprotected-1): New macro.
3902 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3904 * org-compat.el (org-count-lines): New function.
3906 * org-exp.el (org-export-format-source-code-or-example): Handle
3907 switches related to text areas.
3909 * org.el (org-activate-footnote-links): Don't allow match inside a
3912 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
3914 * org-export-latex.el (org-export-latex-links): Keep a relative
3915 path relative also after export.
3917 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
3919 * org.el (org-make-tags-matcher): Never use IDO for completing the
3920 tags matcher match string.
3921 (org-completing-read): Also remove the special biding for "?".
3923 * org-attach.el (org-attach-allow-inheritance): New option.
3924 (org-attach-inherited): New variable.
3925 (org-attach-dir): Handle properties related to the attachment
3927 (org-attach-check-absolute-path): New function.
3928 (org-attach-set-directory, org-attach-set-inherit): New commands.
3929 (org-attach): Accommodate the new commands in the dispatcher.
3931 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3933 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
3934 `window-full-width-p'.
3936 * org-exp.el (org-export-as-html): Only check for images files
3937 that really can be inlined.
3939 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
3940 list of extensions to be a parameter.
3942 * org-exp.el (org-export-html-inline-image-extensions): New
3945 * org-agenda.el (org-prepare-agenda): Use
3946 `org-agenda-block-separator'.
3947 (org-agenda-block-separator): New option.
3949 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3951 * org-export-latex.el (org-export-latex-tables): Call
3952 `org-table-clean-before-export' with the new optional argument.
3954 * org-exp.el (org-table-clean-before-export): New optional
3955 parameter MAYBE-QUOTED, allows for quoted characters like \# in
3958 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3960 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
3963 * org-colview.el (org-colview-construct-allowed-dates): Better
3964 error catching when a date/time property does not have allowed
3967 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
3968 Better error catching when a date/time property does not have
3969 allowed values defined.
3971 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3973 * org.el (org-map-entries): Restore point and restriction after
3976 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3978 * org.el (org-time=, org-time<, org-time<=, org-time>)
3979 (org-time>=, org-time<>): Make sure both values are dates.
3981 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3983 * org-archive.el (org-extract-archive-heading): Allow %s for file
3984 name also in achive location heading.
3986 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3988 * org-archive.el (org-add-archive-files): Uniquify the list before
3991 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3993 * org-compat.el (org-fit-window-to-buffer): Use
3994 `window-full-width-p'.
3996 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
3997 space after the colon in short examples.
3999 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4000 enforce a space after the colon. However, we also allow lines
4001 that are *only* a colon.
4002 (org-export-as-html): Enforce the space after the colon in short
4004 (org-export-preprocess-string): Do the colon example protection
4006 (org-export-remove-timestamps): Do not check for protection at the
4009 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4011 * org.el (org-format-latex-options): Add new matcher for single
4012 letters between dollars.
4013 (org-get-header): Function removed.
4014 (org-heading-components): New function.
4016 * org-exp.el (org-export-define-heading-targets): Record ID's also
4017 as alternative targets.
4018 (org-export-as-html): Interpret "id:" links to other files by
4019 preserving the relative path.
4021 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4024 * org-exp.el (org-export-normalize-links): Protect the main link,
4025 to avoid special character processing.
4027 * org-export-latex.el (org-export-latex-special-keyword-regexp):
4029 (org-export-latex-special-string-regexps): Variable removed.
4030 (org-export-latex-keywords): Use the new regexp.
4032 * org-exp.el (org-export-handle-include-files): Fetch switches and
4033 put them into the BEGIN statement.
4035 * org-timer.el (org-timer-mode-line-string): New variable.
4037 * org-clock.el (org-clock-mode-line-map): Rename from
4038 `org-clock-mode-map'.
4039 (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
4040 (org-clock-update-mode-line): Rename from `org-update-mode-line'.
4041 (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
4042 (org-clock-remove-overlays): Rename from
4043 `org-remove-clock-overlays'.
4045 * org-timer.el (org-timer-pause-or-continue): Implement stopping
4046 and mode line display.
4047 (org-timer-stop): New command.
4048 (org-timer-seconds): Return correct time when timer is paused.
4049 (org-timer-mode-line-timer): New variable.
4050 (org-timer-set-mode-line, org-timer-update-mode-line): New
4053 * org.el (org-insert-heading): Handle new value `auto' for
4054 `org-blank-before-new-entry'.
4055 (org-org-menu): Add new items for timer functions.
4057 * org-list.el (org-insert-item): Handle new value `auto' for
4058 `org-blank-before-new-entry'.
4060 * org.el (org-blank-before-new-entry): New value `auto', made
4063 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4065 * org-exp.el (org-export-normalize-links): If the link is also
4066 used as the description, protect the description.
4068 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4070 * org.el (org-closest-date): Fix bug with yearly repeats, in
4071 combination with preference of the past as it is used for deadline
4072 and scheduling search.
4074 * org-exp.el (org-html-handle-time-stamps): No longer check for
4075 the `org-export-with-timestamps' option, because the preprocesser
4076 has taken care of this already.
4078 * org.el (org-entry-properties): Catch the case when this is
4079 called in a non-org-mode file.
4081 * org-export-latex.el (org-export-latex-remove-from-headlines):
4082 Variable made obsolete, also LaTeX export now uses the standard
4084 (org-export-as-latex): Add the timestamps parameter to the
4085 preprocessor parameter list.
4086 (org-export-latex-content): Export the remaining keywords without
4087 considering to remove them.
4088 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4089 Use bold font instead of tt font for the keywords.
4090 (org-export-latex-fontify-headline): Format headlines, assuming
4091 that all keywords still present should be published.
4092 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4093 publish what ever remains of the time stamps.
4094 (org-export-latex-list-parameters): New option.
4095 (org-export-latex-lists): Pass additional parameters to the list
4098 * org-exp.el (org-export-preprocess-string): Remove clock lines
4099 and timestamps already in the preprocesor.
4100 (org-export-remove-timestamps, org-export-remove-clock-lines): New
4102 (org-export-as-ascii, org-export-as-html): Add the timestamps
4103 parameter to the preprocessor parameter list.
4105 * org-list.el (org-list-parse-list): Parse for checkboxes.
4106 (org-list-to-generic): Introduce and handle new parameters :cbon
4108 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4109 optional parameter PARAMS.
4111 * org-export-latex.el (org-export-latex-special-chars): Fix
4112 problems with interpreting dollar signs.
4113 (org-inside-latex-math-p): New function.
4114 (org-export-latex-preprocess): Protect all the math fragments.
4116 * org.el (org-latex-regexps): Allow a dash after a dollar.
4118 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4121 * org-agenda.el (org-run-agenda-series): Have series options set
4122 when finalizing the agenda.
4124 * org-exp.el (org-export-format-source-code-or-example): Protect
4125 the converted examples.
4127 * org.el (org-set-regexps-and-options): Fix the regexp
4128 `org-complex-heading-regexp'.
4130 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4132 * org.el (org-edit-src-get-label-format): New function.
4133 (org-coderef-label-format): New option.
4134 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4135 a label format specification and make sure it is used in the edit
4137 (org-edit-src-get-label-format): New function.
4138 (org-store-link): Handle new coderef formats.
4139 (org-link-search): Handle new coderef formats.
4141 * org-footnote.el (org-footnote-create-definition)
4142 (org-footnote-goto-local-insertion-point): Make footnote insertion
4143 work correctly when the "Footnotes" headline is the last line in
4146 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4149 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4151 * org-w3m.el (org-w3m): New customization group.
4152 (org-w3m-deactivate-mark): New option.
4153 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4156 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4158 * org.el (org-set-font-lock-defaults): Trigger footnote
4160 (org-activate-footnote-links): New function.
4161 (org-activate-links): New entry `footnote'.
4163 * org-faces.el (org-footnote): New face.
4165 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4167 * org-macs.el (org-re): Handle the [:word:] class.
4169 * org-exp.el (org-export-preprocess-string): Call
4170 `org-export-protect-colon-examples'.
4171 (org-export-protect-colon-examples): Rename from
4172 `org-export-protect-examples', and scope limited to lines starting
4175 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4177 * org-exp.el (org-export-preprocess-string): Move the preprocess
4178 hook to after turning on Org-mode.
4179 (org-export-preprocess-after-include-files-hook)
4180 (org-export-preprocess-after-tree-selection-hook)
4181 (org-export-preprocess-before-backend-specifics-hook)
4182 (org-export-preprocess-final-hook): New hooks.
4183 (org-export-preprocess-string): Run the new hooks.
4185 * org.el (org-ctrl-c-minus): Fix indentation for new items.
4187 * org-footnote.el: New file.
4189 * org.el (org-footnote): Require footnote code.
4190 (org-startup-options): Add new footnote options.
4191 (org-mode-map): New keybindig for footnotes.
4192 (org-ctrl-c-ctrl-c): Add function at footnotes.
4193 (org-org-menu): New menu entries for footnotes.
4195 * org-export-latex.el (org-export-as-latex): Pass footnote
4196 variable to preprocessor.
4197 (org-export-latex-preprocess): Treat multiple references to a
4200 * org-exp.el (org-export-preprocess-string): Call
4201 `org-footnote-normalize'.
4202 (org-export-as-ascii, org-export-as-html): Pass footnote variable
4204 (org-export-as-html): Treat multiple references to a footnote.
4206 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4208 * org-export-latex.el (org-export-latex-links): Handle coderef
4211 * org.el (org-bracket-link-analytic-regexp++): New variable.
4212 (org-make-link-regexps): Initialize
4213 `org-bracket-link-analytic-regexp++'.
4214 (org-store-link): Implement special case in edit-src buffer.
4215 (org-insert-link): No use of ide to insert stored links.
4216 (org-link-search): Implement special case for coderefs.
4218 * org-exp.el (org-export-html-scripts): New constant.
4219 (org-export-html-style-default): Add a new style for highlighted
4221 (org-export-code-refs): New variable.
4222 (org-export-preprocess-string): Initialize `org-export-code-refs'.
4223 Call `org-export-replace-src-segments-and-examples'
4224 No longer call `org-export-protect-examples'.
4225 (org-export-target-internal-links): Take care of coderef targets.
4226 (org-export-last-code-line-counter-value): New variable.
4227 (org-export-replace-src-segments-and-examples): Rename from
4228 `org-export-replace-src-segments', and modified.
4229 (org-export-format-source-code-or-example): Rename from
4230 `org-export-format-source-code'.
4231 (org-export-number-lines): New function.
4232 (org-export-as-ascii, org-export-as-html): Handle coderef links.
4234 2009-01-23 Glenn Morris <rgm@gnu.org>
4236 * org-rmail.el (rmail-narrow-to-non-pruned-header):
4237 Remove declaration of deleted function.
4239 2009-01-16 Glenn Morris <rgm@gnu.org>
4241 * org-mouse.el (org-mouse-show-context-menu): Use
4242 mouse-menu-major-mode-map, if defined, rather than the obsolete
4243 mouse-major-mode-menu.
4245 2008-12-23 Carsten Dominik <dominik@science.uva.nl>
4247 * org-remember.el (org-remember-handler): Safer way to get a new
4248 buffer accessing the target file.
4250 * org.el (org-refile-get-location): Handle case of current buffer
4251 not having a file associated with it.
4253 2008-12-22 Carsten Dominik <dominik@science.uva.nl>
4255 * org-table.el (org-table-get-formula): Only ask to overwrite
4256 field formula if there really is one.
4258 2008-12-21 Carsten Dominik <dominik@science.uva.nl>
4260 * org-export-latex.el (org-export-latex-make-header): Double the
4261 commenting % in the time stamp format.
4262 (org-export-latex-special-chars): Handle case where there is no
4265 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
4267 * org.el (org-get-refile-targets, org-refile-get-location): Use
4268 expanded file name to improve comparison.
4270 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
4272 * org.el (org-scan-tags): Rescan for tags, to get the correct
4273 upcase/downcase stuff. This slows things down for now, but it
4275 (org-mode): Make sure the tag-faces regexp is initialized.
4277 * org-export-latex.el (org-export-latex-links): Fix bug with
4280 * org-table.el (org-table-get-specials): Set
4281 `org-table-current-last-data-line'.
4282 (org-table-current-last-data-line): New variable.
4283 (org-table-insert-column, org-table-delete-column)
4284 (org-table-move-column, org-table-fix-formulas): Call
4285 `org-table-fix-formulas' a second time to fix the $LR references.
4286 (org-table-get-specials): Add the $LR references to the tables.
4287 (org-table-get-formula): Do not offer last-row names as LHS of
4290 * org.el (org-store-link): Capture link description from
4291 `org-id-store-link'.
4293 * org-exp.el (org-export-html-format-image): Add the / to the end
4295 (org-export-format-source-code): Surround example by empty lines,
4296 to make sure it will not be inside a paragraph.
4298 * org.el (org-ido-switchb): New function.
4300 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
4302 * org-agenda.el (org-agenda-show): New prefix argument
4305 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4308 2008-12-20 Glenn Morris <rgm@gnu.org>
4310 * org.el (org-org-menu): Fix some more menu entries.
4312 2008-12-18 Carsten Dominik <dominik@science.uva.nl>
4314 * org-table.el (org-table-get-specials): Revert introduction of @0
4315 as reference of the last table row, because of conflicts.
4317 * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
4318 argument, get the current tags directly.
4319 (org-agenda-set-tags): Leave getting current tags to
4320 `org-agenda-change-all-lines'.
4322 2008-12-17 Carsten Dominik <dominik@science.uva.nl>
4324 * org.el (org-org-menu): Do not quote the set-tags command.
4326 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
4328 * Fix typos in comments and docstrings throughout Org-mode.
4330 * org.el (org-get-outline-path): Fix bug if level is not given.
4332 * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
4334 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4336 * org.el (org-refile): Avoid refiling to within the region to be
4339 * org-export-latex.el (org-export-latex-special-chars): Replace
4340 special characters also in tables.
4342 * org-agenda.el (org-agenda-change-all-lines): New argument
4344 (org-agenda-set-tags): Get the new tags and pass them to
4345 `org-format-agenda-item'.
4347 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4349 * org-export-latex.el (org-export-latex-classes): Add longable as
4350 a default package to all classes.
4351 (org-export-latex-tables): Handle the longtable attribute and the
4354 * org-table.el (orgtbl-to-generic): Handle tables that start with
4357 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4358 \verb for colde-like snippets.
4359 (org-export-as-latex): Fix issues with region export.
4361 * org.el (org-up-heading-safe): Speed up function by using a
4362 direct regexp search.
4363 (org-olpa): New variable.
4364 (org-get-outline-path): Speed-up path constructions in cases where
4365 this is possible because the entire hierarchy is scanned anyway.
4366 (org-refile-get-location): Don't compare the truenames of files,
4368 (org-goto-max-level): New option.
4369 (org-goto): Use `org-goto-max-level'.
4371 2008-12-16 Tassilo Horn <tassilo@member.fsf.org>
4373 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4374 Strip angle brackets from message-ids in the former and don't do
4376 (org-gnus-follow-link): Open summary reliable, even if the last
4377 messages were deleted, and handle empty groups, too.
4379 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4381 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4382 instead of \texttt for the =...= and ~===~ emphasis environments.
4383 (org-export-as-latex): Remove any old :org-license-to-kill text
4385 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4386 (org-export-latex-make-header): Add some hard space after the
4388 (org-export-latex-first-lines): Accept RBEG argument. Mark
4389 exported text so that it will be excuded in further steps.
4391 * org-table.el (org-table-get-specials): Make @0 reference the
4392 last line in a table.
4393 (org-table-recalculate): Improve docstring.
4395 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4397 * org.el (org-log-done): Fix docstring.
4399 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4401 * org-exp.el (org-export-html-format-image): Fix bugs.
4403 * org-export-latex.el (org-export-latex-tables)
4404 (org-export-latex-links): Implement attribute, label, and caption
4407 * org-exp.el (org-export-html-style-default): Add style
4408 definitions for the figure div.
4409 (org-export-preprocess-string, org-export-as-html): Implement
4410 attribute, label, and caption handling.
4411 (org-export-attach-captions-and-attributes): New function.
4412 (org-export-html-format-image): New function.
4413 (org-format-org-table-html): Implement attribute, label, and
4416 * org.el (org-find-text-property-in-string): New function.
4417 (org-extract-attributes): Use the property org-attr instead of
4418 org-attrobutes, because this property is now set with the #+ATTR
4421 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4423 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
4424 the case that FROM is nil.
4426 * org.el (org-before-first-heading-p): New function.
4428 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4430 * org-exp.el (org-export-as-html): Do not add a space before
4431 enforces line breaks.
4432 (org-export-as-html): Close paragraph before blockquote and verse
4435 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4437 * org-id.el (org-id-locations-file): Wrap file name with
4438 `convert-standard-filename'.
4439 (org-id-files): New variable.
4440 (org-id-use-hash): New option.
4441 (org-id-update-id-locations): Also search in all files current
4442 listed in `org-id-files'. Convert the resulting alist to a hash
4443 if the user customation says so.
4444 (org-id-locations-save): Handle he case if `org-id-locations' is a
4446 (org-id-locations-load): Convert the alist to a hash.
4447 (org-id-add-location): Handle the hast case.
4448 (kill-emacs-hook): Make sure id locations are saved when Emacs is
4450 (org-id-hash-to-alist, org-id-alist-to-hash)
4451 (org-id-paste-tracker): New functions.
4453 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4455 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
4456 bindings of calendar variables.
4458 * org-table.el (org-table-find-row-type): Rename from
4459 `org-find-row-type'.
4460 (org-table-rewrite-old-row-references): Rename from
4461 `org-rewrite-old-row-references'.
4462 (org-table-shift-refpart): Rename from `org-shift-refpart'.
4463 (org-table-cleanup-narrow-column-properties): Rename from
4464 `org-cleanup-narrow-column-properties'.
4466 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4468 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
4469 for better error messages.
4470 (org-table-get-descriptor-line): Supply the new arguments to
4471 `org-find-row-type'.
4472 (org-table-error-on-row-ref-crossing-hline): New option.
4474 * org.el (org-target-link-regexp): Make buffer-local.
4475 (org-move-subtree-down): Fix bug with trees at beginning of
4478 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4480 * org-faces.el (org-set-tag-faces): New function.
4481 (org-tags-special-faces-re): New variable.
4483 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
4485 * org-faces.el (org-tag-faces): New option.
4486 (org-tag): Mention `org-tag-faces' in the docstring.
4488 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4490 * org-exp.el (org-export-html-style-default): Implement new
4493 * org-jsinfo.el (org-infojs-template): Implement new quoting.
4495 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
4496 command to the `w3m-minor-mode-map'.
4498 * org-archive.el (org-archive-to-archive-sibling): Protect
4499 `this-command' to avoid appending kills during archiving.
4501 * org-exp.el (org-export-with-priority): New variable.
4502 (org-export-add-options-to-plist): Use `org-export-plist-vars'
4503 instead of internal list of strings and properties.
4504 (org-print-icalendar-entries): Retrieve the location property with
4507 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4509 * org-exp.el (org-export-with-todo-keywords): New option.
4510 (org-export-plist-vars): Include also the keys for the #+OPTIONS
4512 (org-default-export-plist, org-export-add-options-to-plist)
4513 (org-export-as-ascii, org-export-as-html): Use the new structure
4514 of `org-export-plist-vars'.
4516 * org.el (org-map-entries): Return all values.
4518 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4520 * org.el (org-matcher-time): Recognize more special values.
4522 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
4524 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4526 * org.el (org-tags-exclude-from-inheritance): New option.
4527 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
4528 `org-tags-exclude-from-inheritance'.
4530 * org-agenda.el (org-agenda-show-inherited-tags): New option.
4531 (org-format-agenda-item): Add inherited tags to the agenda line
4532 string, and make sure that properties are kept when downcasing the
4534 (org-agenda-add-inherited-tags): New function.
4535 (org-downcase-keep-props): New function.
4537 * org.el (org-scan-tags): Mark inherited tags with a text
4539 (org-get-tags-at): Mark inherited tags with a text property.
4540 (org-add-prop-inherited): New function.
4542 * org-agenda.el (org-agenda-add-inherited-tags): New function.
4543 (org-agenda-show-inherited-tags): New option.
4545 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4547 * org.el (org-modules): Add org-w3m to the default modules.
4549 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
4551 (orgtabl-create-or-convert-from-region): New command.
4553 * org-exp.el (org-export-as-ascii): Remove the handling of
4555 (org-export-ascii-preprocess): Handle targets already in this
4558 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4560 * org-timer.el (org-timer-start-time): Define this variable.
4561 (org-timer-item): Make argument optional.
4563 * org-list.el (org-insert-item): Automatically insert a timer item
4564 if the current list is a timer list.
4566 * org-timer.el: New file.
4568 * org-publish.el (org-publish-org-index): Only exclude the index
4569 file in the main directory from being added to the site-map.
4570 (org-publish-get-project-from-filename): If the current project is
4571 a component, start publishing from the parent project.
4573 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4575 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
4577 * org-publish.el (org-publish-org-index): Improve removal of
4580 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
4582 * org-agenda.el (org-get-closed): Re-apply changes
4583 accidentially overwritten by last commit to Emacs.
4585 * org.el (org-outline-path-complete-in-steps): New option.
4586 (org-refile-get-location): Honor
4587 `org-outline-path-complete-in-steps'.
4588 (org-agenda-change-all-lines, org-tags-sparse-tree)
4589 (org-time-string-to-absolute, org-small-year-to-year)
4590 (org-link-escape): Re-apply changes accidentially overwritten
4591 by last commit to Emacs.
4593 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4595 * org-clock.el (org-dblock-write:clocktable): Make sure the
4596 clocktable sees the first line.
4597 (org-clock-in): Warn if the clock cannot be resumed.
4599 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4601 * org.el (org-open-at-point): Fix mixup about interactive and
4602 non-interactive elisp links.
4604 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4606 * org-exp.el (org-export-preprocess-string): Allow one comment
4607 line before the first headline to always be included. This is
4608 to not miss a commented target.
4610 * org-mouse.el (org-mouse-insert-item): Call
4611 `org-indent-to-column' instead of `indent-to', for XEmacs
4614 * org.el (org-refile-targets): Fix customize definition so
4615 that it works also in XEmacs.
4616 (org-fixup-indentation): Call `org-indent-to-column' instead
4617 of `indent-to', for XEmacs compatibility.
4619 2008-11-23 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
4621 * org-mew.el (org-mew-store-link): Get the correct case folder
4622 for refiled messages.
4624 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4626 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
4627 line break indicators.
4629 * org.el (org-ido-completing-read): Remove the "i:" prefix for
4630 ido-completion propts.
4632 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4634 * org-remember.el (org-remember-apply-template): Use
4635 `org-substring-no-properties'.
4637 * org-compat.el (org-substring-no-properties): New function.
4639 * org-remember.el (org-remember-apply-template): Use
4640 `org-substring-no-properties' for compatibility.
4642 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
4644 (org-fix-bullet-type): respect
4645 `org-list-two-spaces-after-bullet-regexp'.
4647 * org-clock.el (org-clock-load): Clean up the code.
4649 * org.el (org-adaptive-fill-function): Allow two spaces after
4650 "1." as a list bullet.
4652 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4654 * org-clock.el (org-clock-save, org-clock-load): Check for
4655 live buffers, existing files, and buffer file names to ensure
4656 consistent information.
4657 (org-clock-persist): Make `clock' a special value of this
4658 variable, and improve docstring.
4660 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
4661 (org-get-string-indentation): Adapt indentation when the bullet
4664 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4666 * org-remember.el (org-remember-finalize): Make interactive.
4667 (org-remember-kill): New command.
4668 (org-remember-finish-immediately): Call `org-remember-finalize'
4670 (org-remember-finalize): Make `org-remember-finalize' an interactive
4673 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4675 * org-remember.el (org-remember-apply-template): No ido completion
4676 for free prompts in remember templates.
4677 (org-remember-before-finalize-hook): New hook.
4678 (org-remember-mode): New minor mode.
4679 (org-remember-apply-template): Turn on `org-remember-mode'.
4681 * org-remember.el (org-remember-apply-template): Fix the way how
4682 the list of allowed properties is retrieved from the target file.
4684 * org.el (org-insert-link): Improve file link matching.
4686 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4688 * org-colview.el (org-columns-display-here): New argument
4689 DATELINE, to trigger using the new face.
4690 (org-agenda-colview-summarize): Call `org-columns-display-here'
4691 with the new argument.
4693 * org-faces.el (org-agenda-column-dateline): New face.
4695 * org-publish.el (org-publish-org-index): Use index-title at page
4696 title, not as section.
4698 * org-exp.el (org-export-html-format-desc): Respect the
4699 org-protect property.
4700 (org-export-as-html): Protect image specifiers that are in the
4701 description part of a link.
4703 * org.el (org-sort-entries-or-items, org-completing-read)
4704 (org-refile-get-location, org-olpath-completing-read, org-todo)
4705 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
4706 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
4707 (org-set-property, org-delete-property)
4708 (org-delete-property-globally): Use `org-ido-completing-read'.
4710 * org-remember.el (org-remember-apply-template): Use
4711 `org-ido-completing-read'.
4713 * org-publish.el (org-publish): Use `org-ido-completing-read'.
4715 * org-colview.el (org-columns-edit-value, org-columns-new)
4716 (org-insert-columns-dblock): Use `org-ido-completing-read'.
4718 * org-colview-xemacs.el (org-columns-edit-value)
4719 (org-columns-new, org-insert-columns-dblock): Use
4720 `org-ido-completing-read'.
4722 * org-attach.el (org-attach-delete-one, org-attach-open): Use
4723 `org-ido-completing-read'.
4725 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
4726 `org-ido-completing-read'.
4728 * org.el (org-time-today): New function.
4729 (org-matcher-time): Use `org-time-today'. Add special treatment
4730 for "<tomorrow>" and "<yesterday>".
4731 (org-ido-completing-read): New function.
4732 (org-completion-use-ido): New option.
4734 * org-exp.el (org-export-format-source-code): Fix bug in require
4736 (org-export-target-internal-links): Fix bug in search for text
4739 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4741 * org-export-latex.el (org-export-latex-subcontent): Interprete
4742 target aliases as additonal labels.
4744 * org-exp.el (org-export-target-aliases): New variable.
4745 (org-export-preprocess-string)
4746 (org-export-handle-invisible-targets): Fill the alias alist.
4747 (org-export-as-html): Remove the from the anchor, and also
4749 (org-html-level-start): Insert the target aliases as additonal
4752 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
4755 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4757 * org.el (org-open-at-mouse): Ensure correct link abbreviations
4758 when following a link with the mouse from the agenda.
4760 * org-exp.el (org-export-as-html): Avoid lone </div> when no
4761 headlines are created.
4763 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4765 * org.el (org-link-translation-function): New option.
4766 (org-open-at-point): Call `org-link-translation-function' if
4768 (org-translate-link): New function.
4769 (org-translate-link-from-planner): New function.
4770 (org-open-at-point): Allow interactive commands in elisp links.
4772 * org-exp.el (org-icalendar-cleanup-string): Restore the old
4773 iCalendar quoting. The new one seems to caus problems with
4776 * org.el (org-yank): Set `this-command' to `yank', so that
4777 `yank-pop' will work.
4779 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4781 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
4782 compliance as far as quoting is concerned.
4784 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
4785 hexified version of the tag.
4787 * org-vm.el (org-vm-follow-link): Require `vm-search'.
4789 * org.el (org-up-heading-safe, org-forward-same-level): Always
4790 call `org-back-to-heading' instead of `outline-back-to-heading'.
4791 (org-back-to-heading): New wrapper around outline-back-to-heading,
4792 with a useful error message telling where the error happened.
4794 * org-list.el (org-update-checkbox-count): Always call
4795 `org-back-to-heading' instead of `outline-back-to-heading'.
4797 * org-exp.el (org-export-as-html): Make sure that each <img> tag
4798 has an `alt' attribute, to ensure XHTML validation.
4800 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4802 * org-publish.el (org-publish-attachment): Allow publishing to
4803 overwrite attachment files.
4805 * org-agenda.el (org-agenda-timerange-leaders): New option.
4806 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
4808 * org.el (org-edit-src-exit): Untabify ASCII image before
4811 2008-11-19 Glenn Morris <rgm@gnu.org>
4813 * org.el, org-mouse.el (org-agenda-change-all-lines):
4816 2008-11-18 Carsten Dominik <dominik@science.uva.nl>
4818 * org.el ("speedbar"): Only show context if the file really is an
4821 2008-11-17 Juanma Barranquero <lekktu@gmail.com>
4823 * org.el (org-time-string-to-absolute, org-small-year-to-year)
4824 (org-tags-sparse-tree): Fix typos in docstrings.
4826 2008-11-15 Carsten Dominik <dominik@science.uva.nl>
4828 * org-publish.el (org-publish-attachment): Allow copy-file to
4831 2008-11-13 Glenn Morris <rgm@gnu.org>
4833 * org-agenda.el (org-get-closed): Fix alias.
4835 2008-11-12 Juanma Barranquero <lekktu@gmail.com>
4837 * org.el (org-link-escape): Fix typo in docstring.
4839 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4841 * org.el (org-yank): Make any prefix force normal yanking.
4842 Suppress folding if text would be swallowed into a folded
4844 (org-yank-folded-subtrees, org-yank): Docstring updates.
4846 * org-agenda.el (org-agenda-compare-effort): Treat no effort
4849 * org-exp.el (org-export-language-setup): Add Catalan and
4850 Esperanto language entries.
4852 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4854 * org.el (org-refile): Allow refiling of entire regions.
4856 * org-clock.el (org-clock-time%): New function.
4858 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
4859 retrieve property values.
4861 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4863 * org-agenda.el (org-agenda-list): Handle the value `only' of
4864 org-agenda-show-log'.
4865 (org-agenda-log-mode): Interpret a double prefix arg.
4867 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4869 * org-exp.el (org-export-html-footnotes-section): New variable.
4870 (org-export-as-html): Use `org-export-html-footnotes-section' to
4871 insert the footnotes.
4872 (org-export-language-setup): Add "Footnotes" to language words.
4874 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4876 * org.el (org-yank): Fix bug when not inserting a subtree.
4878 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4880 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
4881 instead of `vm-beginning-of-message'.
4883 * org.el (org-make-link-regexps): Make sure that links to gnus can
4886 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4888 * org-attach.el (org-attach-dir): Remove duplicate ID creation
4891 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
4894 * org.el (org-link-abbrev-alist): Improve customization type.
4896 * org-attach.el (org-attach-expand-link, org-attach-expand): New
4899 * org-agenda.el (org-agenda-get-progress): Rename from
4900 `org-get-closed'. Implement searching for state changes as well.
4901 (org-agenda-log-mode-items): New option.
4902 (org-agenda-log-mode): New option prefix argument, interpreted as
4903 request to show all possible progress info.
4904 (org-agenda-get-day-entries): Call `org-get-progress' instead of
4906 (org-agenda-set-mode-name): Handle the more complex log mode
4908 (org-get-closed): New alias, pointing to `org-get-progress'.
4910 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
4912 * org.el (org-file-apps-defaults-gnu)
4913 (org-file-apps-defaults-macosx)
4914 (org-file-apps-defaults-windowsnt): Add an entry defining the
4916 (org-file-apps): Allow `system' as key and value.
4917 (org-open-at-point): Explain the effect of a double prefix arg.
4918 (org-open-file): If the argument `in-emacs' is (16),
4919 i.e. corresponding to a double prefix argument, try to open the
4922 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
4924 * org.el (org-insert-link): Abbreviate absolute files names in
4925 links. Also, fix a bug in which the double C-u prefix would not
4928 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
4930 * org.el (org-insert-heading): If buffer does not end with a
4931 newline, add one if necessary to insert headline correctly.
4933 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
4934 paragraphs, not inside.
4936 * org.el (org-todo): Quote
4937 `org-agenda-headline-snapshot-before-repeat'.
4939 * org-exp.el (org-export-as-html): Fully process link descriptions.
4940 (org-export-html-format-desc): New function.
4941 (org-export-as-html): Collect footnotes into the correct basket.
4942 (org-html-protect): No longer protect quotations marks here, this
4945 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
4948 * org-compat.el (org-fit-window-to-buffer): New function (not
4949 really, a preliminary and incomplete version was present earlier,
4952 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
4953 `org-fit-window-to-buffer'.
4955 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
4957 * org-agenda.el (org-agenda-get-restriction-and-command)
4958 (org-fit-agenda-window, org-agenda-convert-date): Use
4959 `org-fit-window-to-buffer'.
4961 * org-exp.el (org-export-as-html): Process href links through
4962 `org-export-html-format-href'.
4963 (org-export-html-format-href): New function.
4965 * org-agenda.el (org-agenda-todo): Update only the current
4966 headline if this is a repeated TODO, marked done for today.
4967 (org-agenda-change-all-lines): New argument JUST-THIS, to change
4968 only the current line.
4970 * org.el (org-todo): Take a snapshot of the headline if the
4971 repeater might change it.
4973 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
4975 * org-publish.el (org-publish-find-title): Remove buffers visited
4976 only for extracting the title.
4978 * org-exp.el (org-export-html-style)
4979 (org-export-html-style-default): Mark style definitions as
4982 * org-publish.el (org-publish-validate-link): Function
4985 2008-11-12 Charles Sebold <csebold@gmail.com>
4987 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
4989 (org-plot-quote-timestamp-field): New function.
4990 (org-plot-quote-tsv-field): Call timestamp field function when
4991 necessary rather than just quoting as a string.
4992 (org-plot/gnuplot-to-data): Pass in timefmt property.
4993 (org-plot/gnuplot-script): Supports timefmt property.
4994 (org-plot/gnuplot): Checks for timestamp column before checking
4995 for text index column.
4997 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
4999 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5001 * org-publish.el (org-publish-org-index): Create a section in the
5003 (org-publish-org-index): Stop linking to directories.
5005 * org.el (org-emphasis-alist): Use span instead of <u> to
5008 * org-exp.el (org-export-as-html): Make sure <p> is closed before
5011 2008-11-12 Sebastian Rose <sebastian_rose@gmx.de>
5013 * org-jsinfo.el (org-infojs-template): Remove language attribute
5016 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5018 * org-agenda.el (org-agenda-remove-marked-text): New function.
5019 (org-agenda-mark-filtered-text)
5020 (org-agenda-unmark-filtered-text): New functions.
5021 (org-write-agenda): Remove fltered text.
5023 * org.el (org-make-tags-matcher): Give access to TODO "property"
5024 without speed penalty.
5026 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5028 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5030 (org-store-link-props): Make sure adding to the plist works
5033 * org-gnus.el (org-gnus-no-new-news): New function.
5034 (org-gnus-follow-link): Allow the article ID to be a message-id,
5035 in addition to allowing article numbers. Message IDs make much
5037 (org-gnus-store-link): Use message-id to create link.
5039 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5041 * org.el (org-emphasize): Reverse the selection array.
5042 (org-emphasis-alist): Set <code> tags for the verbatim
5045 * org-remember.el (org-remember-handler): Fix bug with
5046 prefix-related changing of the note storage target.
5048 * org-exp.el (org-print-icalendar-entries): Make the exported
5049 priorities compatible with RFC 2445.
5051 * org-clock.el (org-clock-save): Insert time stamp without
5052 dependence on time-stamp.el.
5054 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5056 * org.el ("saveplace"): If saveplace puts point into an invisible
5057 location, make it visible.
5058 (org-make-tags-matcher): Allow inactive time stamps in time
5060 (org-yank-adjusted-subtrees): New option.
5061 (org-yank): Incorporate adjusting trees.
5062 (org-paste-subtree): New argument FOR-YANK which will cause
5063 insertion at point without backing up over white lines, and leave
5064 point at the end of the inserted text. Also if the cursor is
5065 at the beginning of a headline, use the same level or the inserted
5068 * org-publish.el (org-publish-get-base-files-1): Deal correctly
5069 with broken symlinks.
5071 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5073 * org-exp.el (org-export-select-tags, org-get-current-options):
5076 2008-11-06 Glenn Morris <rgm@gnu.org>
5078 * org-publish.el (org-publish-attachment): Use copy-file rather than
5081 2008-11-04 Juanma Barranquero <lekktu@gmail.com>
5083 * org.el (org-columns-modify-value-for-display-function):
5084 * org-table.el (org-table-convert-region): Fix typos in docstrings.
5086 2008-10-28 Glenn Morris <rgm@gnu.org>
5088 * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
5090 * org-list.el (outline-next-heading, outline-back-to-heading):
5093 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5095 * org-agenda.el (org-format-agenda-item)
5096 (org-agenda-filter-make-matcher): Make sure tags are stored and
5099 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5101 * org.el (org-insert-todo-heading): Fix bug with force-heading
5104 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5106 * org-exp.el (org-export-as-ascii): Handle the case that we are
5107 bulishing from an indirect buffer.
5109 * org-table.el (org-table-copy-down): Fix bug with time stamp
5112 * org-mouse.el (org-mouse-features): New option.
5113 (org-mode-hook): Turn on features depending on
5114 `org-mouse-features'.
5116 * org.el (org-insert-heading-respect-content): Force heading
5118 (org-insert-heading): keep the folding state of the heading before
5121 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5123 * org-archive.el (org-archive-to-archive-sibling): Handle top
5124 level headlines better.
5126 2008-10-26 Bastien Guerry <bzg@altern.org>
5128 * org-export-latex.el (org-export-latex-classes): Add
5129 \usepackage{graphicx} to the default list of packages.
5131 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5133 * org-agenda.el (org-agenda-filter): Rename from
5134 `org-agenda-filter-tags'.
5136 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5138 * org.el (org-entry-properties): Add CATEGORY property, iven if it
5139 is not defined as a property in this entry.
5140 (org-add-log-note): Mask prefix argument when immediately storing
5143 * org-agenda.el (org-agenda-filter-effort-default-operator): New
5146 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
5148 * org.el (org-add-log-setup): Bugfix; code to find insertion point
5149 after drawers was skipping ahead one line too many, so notes were
5150 inserted after the first note instead of before it.
5152 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5154 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5156 (org-prepare-agenda): Reset the filter tags.
5157 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5158 Show filter tags in mode line.
5160 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5163 * org-export-latex.el (org-latex-entities-regexp): New constant.
5164 (org-export-as-pdf): Use two calls to `shell-command'.
5166 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5168 * org-export-latex.el (org-export-latex-treat-sub-super-char):
5169 Honor the {} value of the subsuperscript setting. Make sure that
5170 longer subsuperscripts are typeset in a roman font.
5172 * org.el (org-clock-update-time-maybe): Compute negative clock
5173 intervals correctly.
5175 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5177 * org.el (org-add-log-setup): Respect
5178 `org-log-state-notes-insert-after-drawers'.
5179 (org-log-state-notes-insert-after-drawers): New option.
5180 (org-todo-trigger-tag-changes): New function.
5181 (org-todo): Call `org-todo-trigger-tag-changes'.
5183 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
5185 * org.el (org-add-log-setup): Only skip drawers if the are
5186 immediately after the scheduling keywords.
5188 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5190 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5191 call it with the current todo state to get the state to switch to
5193 (org-clock-in): Use org-indent-line-function to indent clock lines.
5194 (org-clock-find-position): Fix indentation of empty clock drawers.
5196 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5198 * org-publish.el (org-publish-org-to): Handle case when
5199 org-export-to-pdf does return a file name, not a buffer.
5200 (org-publish-org-to-pdf): New function.
5202 * org-export-latex.el (org-export-as-pdf)
5203 (org-export-as-pdf-and-open): New commands.
5205 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5208 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5209 things in protexted regions.
5211 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5213 * org-export-latex.el (org-export-latex-preprocess): Improve
5214 quoting of LaTeX environments.
5216 2008-10-19 Eli Zaretskii <eliz@gnu.org>
5218 * org.el (org-default-notes-file):
5219 * org-publish.el (org-publish-timestamp-directory):
5220 * org-id.el (org-id-locations-file): Run file names that begin
5221 with a period thru `convert-standard-filename'.
5223 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5225 * org-plot.el: Switch coding system to unix.
5227 2008-10-12 John Wiegley <johnw@newartisans.com>
5229 * org-attach.el: New file.
5231 2008-10-12 Carsten Dominik <carsten.dominik@gmail.com>
5233 * org.el (org-edit-fixed-width-region): Exclude final newline from
5236 * org-export-latex.el (org-export-latex-subcontent): Add labels to
5237 sections, to make internal links work.
5238 (org-export-latex-fontify-headline): Do not remove all text
5239 properties, to make sure that target properties survive this
5242 * org-exp.el (org-export-preprocess-string): Change sequence of
5243 modifications, to make sure links are prepared before the LaTeX
5244 conversions do happen.
5246 * org-attach.el (org-attach-delete-all): Rename from
5247 `org-attch-delete'. Add a security query before deleting the
5248 entire directory. New optional argument FORCE can overrule the
5250 (org-attach-delete-one): New command.
5252 * org-attach.el (org-attach-file-list): Fix bug with directory.
5254 * org.el (org-apps-regexp-alist): New function.
5255 (org-file-apps): Add auto-mode to the default value.
5256 (org-open-file): Use the new structure of org-file-apps.
5258 * org-attach.el (org-attach): Support the new keys.
5259 (org-attach-method): New option.
5261 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5264 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5265 of the list value o `org-use-tag-inheritance'.
5267 * org-attach.el (org-attach-auto-tag): New option.
5268 (org-attach-tag, org-attach-untag): New functions.
5269 (org-attach-attach, org-attach-new, org-attach-sync): Call
5271 (org-attach-delete): Call `org-attach-untag'.
5273 * org-table.el (orgtbl-self-insert-command): Make this work for
5276 * org.el (org-add-log-setup): Limit searc for drawers to entry
5277 text, not to subtree.
5279 * org-clock.el (org-clock-heading-for-remember): New variable.
5280 (org-clock-in): Set `org-clock-heading-for-remember'.
5282 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
5284 * org-remember.el (org-remember-apply-template): Add new
5285 expansions: %k, %K for currently clocked task and a link to the
5286 currently clocked task, and %< to file notes in the currently
5289 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5291 * org-export-latex.el (org-export-latex-make-header): Also insert
5292 the content of the property :latex-header-extra.
5294 * org-exp.el (org-infile-export-plist): Put the content of
5295 #+LATEX_HEADER: into the property :latex-header-extra.
5297 * org-colview.el (org-columns-get-format-and-top-level): Remove
5298 resetting the marker.
5300 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5301 Remove resetting the marker.
5303 * org.el (org-entry-property-inherited-from): Improve docstring.
5304 (org-entry-get-with-inheritance): Reset marker before starting the
5307 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5309 * org.el (org-entry-get-multivalued-property)
5310 (org-entry-protect-space, org-entry-restore-space): New
5312 (org-file-apps-defaults-macosx): Let postscript files be opened by
5314 (org-time-stamp-inactive): Call `org-time-stamp'.
5315 (org-time-stamp): New argument `inactive'. Also edit inacive
5316 stamps. Convert time stamp type.
5317 (org-open-file): Interpret the `default' value for the `command'
5320 * org-id.el (org-id-int-to-b36-one-digit)
5321 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5322 (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
5325 * org-id.el (org-id-reverse-string): New function.
5326 (org-id-new): Use `org-id-reverse-string' to make sure the
5327 beginning chars of the ID are mutating fast. This allows to use a
5328 directory structure to spread things better.
5329 (org-id-prefix): Change default to nil.
5331 * org-list.el (org-move-item-down, org-move-item-up): Remember and
5332 restore the column of the cursor position.
5334 * org-remember.el (org-remember-apply-template): Remove properties
5337 * org-wl.el (org-wl-open): Remove useless call to
5338 `wl-thread-open-all'.
5340 * org-remember.el (org-remember-handler): Fix bug with `bottom'
5343 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5344 `org-bbdb-anniversaries'.
5346 * org.el (org-get-next-sibling, org-forward-same-level): New
5347 functions, similar to the outline versions, but invisible headings
5350 2008-10-12 Bastien Guerry <bzg@altern.org>
5352 * org.el (org-auto-repeat-maybe): Insert a space between
5353 the timestamp's type and the timestamp itself.
5355 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5357 * org-table.el (org-table-sum): Do not format the result with %g,
5358 it does rounding when there are too many digits.
5360 * org.el (org-map-entries): Protect the keyword-selecting variables.
5362 2008-10-12 Bastien Guerry <bzg@altern.org>
5364 * org-agenda.el (org-agenda-to-appt): Make sure the function check
5365 against all agenda files.
5367 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5368 Bastien Guerry <bzg@altern.org>
5370 * org-list.el: New file, aggregating list functions from org.el
5371 and org-export-latex.el.
5373 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5375 * org.el (org-edit-src-region-extra): New option.
5377 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5380 2008-10-12 Bastien Guerry <bzg@altern.org>
5382 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5384 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
5386 * org-plot.el (org-plot/gnuplot): Make tables starting with a
5387 hline work correctly.
5388 (org-plot/gnuplot-script): Put commas at the end of each script
5391 * org.el (org-get-refile-targets): Replace links with their
5393 (org-imenu-get-tree): Replace links with their descriptions.
5395 * org-remember.el (org-remember-apply-template): Add a new
5396 expansion for adding properties to remember items.
5398 * org.el (org-add-log-setup): Skip over drawers (properties,
5399 clocks etc) when adding notes.
5401 * org-agenda.el (org-agenda-get-closed): show durations of clocked
5402 items as well as the start and end times.
5404 * org-compat.el (org-get-x-clipboard-compat): Add a compat
5405 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
5407 * org-remember.el (org-get-x-clipboard): Use the compat
5408 function to get clipboard values when x-selection-value is
5409 unavailable. Use substring-no-properties instead of
5410 set-text-properties to remove text properties from the clipboard
5413 * lisp/org-clock.el (org-update-mode-line): Support limiting the
5414 modeline clock string, and display the full todo value in the
5415 tooltip. Set a local keymap so mouse-3 on the clock string goes to
5416 the currently clocked task.
5417 (org-clock-string-limit): Add a custom value for the maximum
5418 length of the clock string in the modeline.
5419 (org-clock-mode-map): Add a keymap for the modeline string.
5421 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5423 * org-compat.el (org-propertize): New function.
5425 2008-10-12 Bastien Guerry <bzg@altern.org>
5427 * org-export-latex.el (org-export-latex-tables): protect exported
5428 tables from further special chars conversion.
5429 (org-export-latex-preprocess): Preserve LaTeX environments.
5430 (org-list-parse-list): Parse descriptive lists.
5431 (org-list-to-generic, org-list-to-latex, org-list-to-html)
5432 (org-list-to-texinfo): Export descriptive lists.
5433 (org-quote-chars): Remove.
5434 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
5435 (org-export-latex-list-beginning-re): Rename to
5436 `org-list-beginning-re'
5437 (org-list-item-begin): Rename to `org-list-item-beginning'.
5439 2008-10-12 Eric Schulte <schulte.eric@gmail.com>
5441 * org-plot.el: New file.
5443 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5445 * org.el (org-refile): Allow refiling to the last entry in the
5447 (org-get-tags-at): Fix bug when inheritance is turned off.
5449 * org.el (org-indent-line-function): No longer check for src
5450 regions, this is too much overhead.
5452 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
5455 * org.el (org-scan-tags): Make sure that tags matching is not case
5456 sensitive. TODO keyword matching is case sensitive, however, to
5457 avoid confusion with similar words that are not meant to be
5460 * org.el (org-get-local-tags-at): New function.
5461 (org-get-local-tags): New function.
5463 * org-exp.el (org-export-get-categories): New function.
5465 * org-agenda.el (org-sorting-choice)
5466 (org-agenda-sorting-strategy, org-agenda-get-todos)
5467 (org-agenda-get-timestamps, org-agenda-get-deadlines)
5468 (org-agenda-get-scheduled, org-agenda-get-blocks)
5469 (org-entries-lessp): Implement sorting by TODO state.
5470 (org-cmp-todo-state): New defsubst.
5472 * org-colview.el (org-colview-construct-allowed-dates): New
5474 (org-columns-next-allowed-value): Use
5475 `org-colview-construct-allowed-dates'.
5477 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
5479 (org-columns-next-allowed-value): Use
5480 `org-colview-construct-allowed-dates'.
5482 * org.el (org-protect-slash): New function.
5483 (org-get-refile-targets): Use `org-protect-slash'.
5485 * org-agenda.el (org-global-tags-completion-table): New variable.
5487 * org-exp.el (org-export-handle-export-tags): New function.
5488 (org-export-preprocess-string): Call
5489 `org-export-handle-export-tags'.
5491 * org-publish.el (org-publish-expand-components): Function removed.
5492 (org-publish-expand-projects): Allow components to have components.
5494 * org.el (org-indent-line-function): Do not indent in regions that
5495 are external source code.
5496 (org-yank-and-fold-if-subtree): New function.
5498 * org-agenda.el (org-agenda-todayp): New function.
5499 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
5500 `org-agenda-todayp'.
5502 * org.el (org-insert-heading-respect-content)
5503 (org-insert-todo-heading-respect-content): New commands.
5504 (org-insert-heading-respect-content): New option.
5505 (org-insert-heading): Respect `org-insert-heading-respect-content'.
5507 * org-clock.el (org-clock-find-position): Make sure the note after
5508 the clock line gets moved into the new clock drawer.
5510 * org-id.el (org-id-new): New option.
5512 * org-table.el (org-table-copy-down): Avoid overflow during
5513 increment. Use prefix argument 0 to temporarily disable the
5516 * org-exp.el (org-export-as-html): Do not turn on the major mode
5517 if the buffer will be killed anyway.
5518 (org-get-current-options): Exclude the #+TEXT field.
5519 (org-export-as-html): Make sure text before the first headline is
5522 * org-publish.el (org-publish-org-to): Tell the exporter that this
5523 buffer will be killed, so it is not necessary to do major mode
5526 * org-archive.el (org-archive-to-archive-sibling): Show empty
5527 lines after folding the archive sibling.
5529 * org.el (org-log-note-extra): New variable.
5531 2008-10-12 Bastien Guerry <bzg@altern.org>
5533 * org.el (org-additional-option-like-keywords): Add keywords for
5534 the _QUOTE, _VERSE and _SRC environments.
5536 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
5537 exporting _QUOTE and _VERSE environments.
5539 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5541 * org-agenda.el (org-agenda-filter-by-tag): New command.
5543 * org-exp.el (org-get-current-options): Remove angular brackets
5544 from the date entry.
5546 * org.el (org-edit-fixed-width-region): New function.
5547 (org-edit-fixed-width-region): Also try
5548 `org-edit-fixed-width-region'.
5549 (org-edit-fixed-width-region-mode): New option.
5550 (org-activate-code): Only interprete lines starting with colon
5551 plus a space as example lines.
5553 * org-remember.el (org-remember-templates): Add nil instead of
5554 empty strings to fix the length of remember templates.
5556 * org-table.el (org-calc-default-modes): Fix the time format for
5557 calc, from 12 hour to 24 hour clock.
5559 * org-agenda.el (org-agenda-get-deadlines)
5560 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
5561 entries that are pre-warnings of deadlines or reminders.
5563 * org.el (org-sort-entries-or-items): Make numeric and alpha
5564 comparisons ignore any TODO keyword and priority cookie.
5566 * org-remember.el (org-remember-handler): Reinterpretation of the
5569 * org-agenda.el (org-agenda-get-scheduled): Use new
5570 `org-scheduled' face.
5572 * org-faces.el (org-scheduled): New face.
5574 * org-wl.el (org-wl-open): Remove incorrect declaration.
5576 * org-gnus.el (org-gnus-store-link): Support for :to information
5579 * org-exp.el (org-export-as-html): Fix typo in creator
5581 (org-export-protect-examples): New parameter indent. Insert extra
5582 spaces only when this parameter is specified.
5583 (org-export-preprocess-string): Call `org-export-protect-examples'
5584 with an indentation parameter when exporting to ASCII.
5586 * org-remember.el (org-remember-templates)
5587 (org-remember-apply-template): Allow the file component to be a
5590 * org.el (org-goto-local-search-headings): Rename from
5591 `org-goto-local-search-forward-headings'. Added the possibility
5592 to search backwards.
5594 * org-export-latex.el (org-export-latex): New customization
5597 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
5599 * org-exp.el (org-html-do-expand): Allow {} to terminate
5602 * org.el (org-buffer-list): Select buffers based on major mode,
5605 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
5608 * org-colview.el (org-columns-display-here): Use
5609 `org-columns-modify-value-for-display-function'.
5611 * org-colview-xemacs.el (org-columns-display-here): Use
5612 `org-columns-modify-value-for-display-function'.
5614 * org.el (org-columns-modify-value-for-display-function): New option.
5616 * org-publish.el (org-publish-file): Make sure the directory match
5617 for the publishing directory works correctly.
5619 * org-agenda.el (org-agenda-execute-calendar-command)
5620 (org-agenda-diary-entry): Additional optional argument.
5622 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
5624 * org-exp.el (org-export-as-html): Add attributes also in mailto
5627 * org.el (org-autoload): Add `org-dblock-write:columnview'.
5629 2008-08-11 Glenn Morris <rgm@gnu.org>
5631 * org-mac-message.el (do-applescript): Fix declaration.
5633 2008-08-10 Glenn Morris <rgm@gnu.org>
5635 * org-exp.el (org-export-as-html): Let-bind `i'.
5637 * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
5638 (org-extract-attributes): Let-bind `key', `value'.
5639 (org-make-tags-matcher): Let-bind `time-p'.
5641 2008-07-27 Carsten Dominik <dominik@science.uva.nl>
5643 * org-install.el: New file.
5645 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
5647 * org-exp.el (org-export-html-style)
5648 (org-export-html-style-extra): Declare as safe-local-variable.
5650 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
5652 * org-publish.el (org-publish-file): Use the true name of the
5655 * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
5658 * org-exp.el (org-export-plist-vars)
5659 (org-export-add-options-to-plist): Handle creator setting flag.
5660 (org-export-as-html): Handle attributes also for ftp and mailto
5663 * org-agenda.el (org-agenda-diary-entry)
5664 (org-agenda-execute-calendar-command): Cater for the second
5665 argument of `calendar-cursor-to-date'.
5667 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
5669 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
5670 sure that calls from `org-export-region-as-html' do not do the
5671 special check for a subtree.
5673 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
5675 * org.el (org-open-file): Use
5676 `org-open-directory-means-index-dot-org'.
5677 (org-open-directory-means-index-dot-org): New option.
5679 * org.el (org-make-link-string): Remove link attributes from
5681 (org-open-at-point): Remove link attributes before using the path.
5683 * org-exp.el (org-export-as-html): Handle link attributes.
5685 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
5687 * org-table.el (org-table-to-lisp): New function.
5689 * org.el (org-narrow-to-subtree): Do not include the final newline
5690 into the narrowed region.
5692 * org-agenda.el (org-agenda-custom-commands-local-options): Fix
5693 bug with user-define skipping condition.
5695 * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
5697 * org-exp.el (org-export-html-style-default): Automatic overflow
5698 handling for pre fields.
5699 (org-export-as-ascii, org-export-as-html): Change default format
5702 * org-table.el (org-table-export): Offer completion for translator
5703 functions, and do not require a heading above the table.
5705 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
5706 Cater for the case of a list starting in the first line of the
5709 * org-publish.el (org-publish-find-title): Bug fix.
5710 (org-publish-org-index): Implement new :index-style option.
5712 * org-publish.el (org-publish-timestamp-filename): Use
5713 SHA1-encoded file names in the timestamp directory.
5715 * org-publish.el (org-publish-needed-p): Be verbose about files
5716 published and files skipped.
5718 * org-exp.el (org-export-preprocess-string): Swap link
5719 normalization and internal link targeting.
5721 * org-publish.el (org-publish-needed-p): Create timestamp
5722 directory when it does not exist.
5724 * org-clock.el (org-clock-out-when-done): Doc fix.
5726 * org.el (org-agenda-skip-unavailable-files): Doc fix.
5728 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
5729 Ignore case when searching for the COMMENT cookie at export time.
5731 * org-exp.el (org-get-file-contents)
5732 (org-get-and-remove-property): New functions.
5733 (org-export-handle-include-files): Handle the new prefix options.
5734 (org-export-as-html): Fix the verse environment.
5736 * org.el (org-time=, org-time<, org-time<=, org-time>)
5737 (org-time>=, org-time<>, org-2ft): New functions.
5738 (org-op-to-function): Also provide for the time testing functions.
5740 * org-exp.el (org-export-html-style-default): New constant.
5742 * org-exp.el (org-export-html-style-extra): New variable.
5743 (org-export-splice-style): New function.
5745 * org-exp.el (org-export-plist-vars, org-export-as-html):
5746 Implement `org-export-creator-info'.
5747 (org-export-creator-info): New option.
5749 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
5750 (org-property-drawer-re, org-clock-drawer-re): New constants.
5752 * org-exp.el (org-icalendar-use-deadline)
5753 (org-icalendar-use-scheduled): New options.
5754 (org-icalendar-include-todo): Default changed to t.
5755 (org-print-icalendar-entries): Implement better utilization of
5756 scheduling and deadline time stamps.
5757 (org-export-target-internal-links, org-export-as-html): Allow file
5758 lines without the "file:" prefix if the file path is an absolute
5759 path or starts with ".".
5761 * org-clock.el (org-clocktable-shift): Also understand yesterday,
5763 (org-clock-special-range): Also understand yesterday, lastweek etc.
5765 * org.el (org-agenda-skip-archived-trees): Docstring now
5766 discourages using this.
5767 (org-scan-tags): Check for org-agenda-archives-mode.
5768 (org-map-entries): Make sure org-agenda-archives-mode is nil.
5769 (org-agenda-files): Functionality of second arg changed.
5771 * org-agenda.el (org-agenda-archives-mode): New variable
5772 (org-write-agenda, org-prepare-agenda, org-agenda-list)
5773 (org-search-view, org-todo-list, org-tags-view)
5774 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
5776 (org-agenda-quit): Reset the archives mode.
5777 (org-agenda-archives-mode): New command.
5778 (org-agenda-set-mode-name): Include archives info.
5780 * org.el (org-paste-subtree): Make sure the yanked headline is
5781 visible if it was yanked at a visible point.
5782 (org-move-item-up): Fix the bug with moving white space at the end
5784 (org-show-empty-lines-in-parent): New function.
5786 2008-07-19 Juri Linkov <juri@jurta.org>
5788 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
5789 new keymap `narrow-map' instead of binding "\C-xns".
5791 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
5793 * org.el (org-agenda-skip-unavailable-files):
5794 * org-clock.el (org-clock-out-when-done): Doc fixes.
5796 2008-06-18 Glenn Morris <rgm@gnu.org>
5798 * org.el (org-map-entries): Let-bind `file'.
5800 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5802 * org-colview.el (org-columns-next-allowed-value): Bug fix.
5804 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
5806 * org-agenda.el (org-agenda-get-closed): Get the end time into the
5807 agenda prefix as well.
5809 * org-publish.el (org-publish-org-index): Make a properly indented
5812 * org.el (org-calendar-agenda-action-key): New option.
5813 (org-get-cursor-date): New function.
5814 (org-mark-entry-for-agenda-action): New command.
5815 (org-overriding-default-time): New variable.
5816 (org-read-date): Respect `org-overriding-default-time'.
5818 * org-remember.el (org-remember-apply-template): Respect the
5819 overriding default time.
5821 * org-agenda.el (org-agenda-action-marker): New variable.
5822 (org-agenda-action): New command.
5823 (org-agenda-do-action): New function.
5825 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5827 * org.el (org-schedule, org-deadline): Protect scheduled and
5828 deadline tasks against changes that accidently remove the
5829 repeater. Also show a message with the new date when done.
5831 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5833 * org.el (org-beginning-of-line): Cater for the case when there
5834 are tags but no headline text.
5835 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
5838 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5840 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
5841 the return value is nil instead of "nil" when there is no match.
5843 * org-exp.el (org-insert-centered): Use fill-column instead of
5845 (org-export-as-ascii): Use string-width to measure the width of
5848 * org.el (org-diary-to-ical-string): No longer kill buffer
5849 FROMBUF, this is now done by the caller.
5851 * org-exp.el (org-print-icalendar-entries): Move the call to
5852 `org-diary-to-ical-string' out of the loop, and kill the buffer
5855 * org-remember.el (org-remember-visit-immediately): Position
5856 cursor after moving to the note.
5857 (org-remember-apply-template): Use a text property to record the
5859 (org-remember-handler): Align tags after pasting the note.
5861 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5863 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
5865 * org-agenda.el (org-agenda-open-link): If there is an
5866 org-bbdb-name property in the current line, jump to that bbdb
5869 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
5870 text property, so that the agenda knows where this entry comes
5873 * org-agenda.el (org-agenda-clock-in): Fix bug in the
5874 interaction between clocking-in from the agenda, and automatic
5875 task state switching.
5877 * org-macs.el (org-with-point-at): Bug fix in macro definition.
5879 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
5880 zmacs-region stays after this command in XEmacs.
5882 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5884 * org.el (org-scan-tags): Allow new values for ACTION parameter.
5886 * org-remember.el (org-remember-templates): Fix bug in
5887 customization type definition.
5889 * org.el (org-map-entries): New function.
5891 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5893 * org-agenda.el (org-agenda-skip-comment-trees): New option.
5894 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
5896 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5898 * org-remember.el (org-jump-to-target-location): New variable.
5899 (org-remember-apply-template): Set
5900 `org-remember-apply-template' if requested by template.
5901 (org-remember-handler): Start an idle timer to jump to
5904 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
5906 * org.el (org-set-regexps-and-options): Fix bug with parsing of
5908 (org-get-tags-at): Add the content of `org-file-tags'.
5910 * org-exp.el (org-export-handle-comments): Fix bug with several
5911 comment lines after each other.
5912 (org-number-to-roman, org-number-to-counter): New functions.
5913 (org-export-section-number-format): New option.
5915 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5917 * org-exp.el (org-export-protect-examples): Catch the case of a
5918 missing end_example line.
5920 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
5921 `org-file-tags' to nil.
5923 * org-colview.el (org-columns-next-allowed-value): Handle next
5924 argument NTH to directly select a value.
5926 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
5927 argument NTH to directly select a value.
5929 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5931 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
5933 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5935 * org.el (org-columns-ellipses): New option.
5937 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5939 * org-colview.el (org-columns-add-ellipses): New function.
5940 (org-columns-compact-links): New function.
5941 (org-columns-cleanup-item): Call `org-columns-compact-links'.
5942 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
5944 (org-columns-edit-value): Fix bug with editing values from
5946 (org-columns-redo): Also redo the agenda itself.
5948 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5950 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
5953 * org-colview.el (org-agenda-columns-cleanup-item): New function.
5955 * org-exp.el (org-export-ascii-preprocess): Rename from
5956 `org-export-ascii-clean-string'.
5957 (org-export-kill-licensed-text)
5958 (org-export-define-heading-targets)
5959 (org-export-handle-invisible-targets)
5960 (org-export-target-internal-links)
5961 (org-export-remove-or-extract-drawers)
5962 (org-export-remove-archived-trees)
5963 (org-export-protect-quoted-subtrees)
5964 (org-export-protect-verbatim, org-export-protect-examples)
5965 (org-export-select-backend-specific-text)
5966 (org-export-mark-blockquote-and-verse)
5967 (org-export-remove-comment-blocks-and-subtrees)
5968 (org-export-handle-comments, org-export-mark-radio-links)
5969 (org-export-remove-special-table-lines)
5970 (org-export-normalize-links)
5971 (org-export-concatenate-multiline-links)
5972 (org-export-concatenate-multiline-emphasis): New functions,
5973 obtained from spliting the export preprocessor.
5975 * org-table.el (org-table-recalculate): Improve error message if
5976 the row number is invalid.
5978 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5980 * org-archive.el (org-archive-save-context-info): Fix bugs in
5981 customization setup and docstring.
5983 * org-exp.el (org-export-html-style): Change the size of in the
5984 <pre> element to 90%.
5986 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5988 * org.el (org-find-src-example-start): Function removed.
5989 (org-edit-src-find-region-and-lang): New function.
5991 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5993 * org.el (org-edit-src-exit): New function.
5994 (org-exit-edit-mode): New minor mode.
5996 * org-exp.el (org-export-preprocess-string): Fix bug with removing
5997 comment-like lines from protected examples.
5999 * org.el (org-edit-src-example, org-find-src-example-start)
6000 (org-protect-source-example, org-edit-special): New functions.
6002 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6004 * org-publish.el (org-publish-project-alist): Fix typo in
6006 (org-publish-project-alist): Handle :index-title property.
6008 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6010 * org-export-latex.el (org-export-as-latex): Make sure region
6011 bounds are correct. Parse subtree properties relating to export.
6013 * org-exp.el (org-export-add-options-to-plist): New function.
6014 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6016 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6018 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6021 * org-exp.el (org-export-get-title-from-subtree)
6022 (org-export-as-ascii, org-export-as-html): Make sure the original
6023 region-beginning and region-end are used, even after moving point.
6024 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6027 * org-remember.el (org-remember-last-stored-marker): New variable.
6028 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6029 (org-remember-handler): Also use marker to remember
6030 last-stored position.
6032 * org.el (org-goto-marker-or-bmk): New function.
6034 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6036 * org.el (org-file-properties): Rename from `org-local-properties'.
6037 (org-scan-tags): Take file tags into account.
6038 (org-tags-match-list-sublevels): Default changed to t.
6040 * org-exp.el (org-export-as-html): Close paragraph after a footnote.
6042 * org.el (org-update-parent-todo-statistics): New function.
6044 * org-exp.el (org-icalendar-store-UID): New option.
6045 (org-icalendar-force-UID): Option removed.
6046 (org-print-icalendar-entries): IMplement UIDs.
6048 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6050 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6052 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6054 * org-faces.el (org-column): Document how this face is being used
6055 and why sometimes the background faces shine through.
6057 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6059 * org-publish.el (org-publish-attachment): Create publishing
6060 directory if it does not yet exist.
6062 * org-table.el (org-calc-default-modes): Change default number
6063 format to (float 8).
6065 * org.el (org-olpath-completing-read): New function.
6066 (org-time-clocksum-format): New option.
6067 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6069 * org-clock.el (org-clock-display, org-clock-out)
6070 (org-update-mode-line): Use `org-time-clocksum-format'.
6072 * org-colview-xemacs.el (org-columns-number-to-string): Use
6073 `org-time-clocksum-format'.
6075 * org-colview.el (org-columns-number-to-string): Use
6076 `org-time-clocksum-format'.
6078 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6080 * org-id.el: New file, move from contrib to core.
6082 * org-exp.el (org-icalendar-force-UID): New option.
6084 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6086 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6087 shifted by one day if there is a date range without an end time.
6089 * org.el (org-try-structure-completion): New function.
6091 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6093 * org.el (org-set-font-lock-defaults): Improve fontification of
6095 (org-insert-item): Handle description lists.
6096 (org-adaptive-fill-function): Improve auto indentation in
6099 * org-exp.el (org-export-as-html, org-export-preprocess-string):
6100 Implement VERSE environment.
6101 (org-export-preprocess-string): Implement the COMMENT
6104 * org-export-latex.el (org-export-latex-preprocess): Implement
6107 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6109 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6112 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6114 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6116 * org.el (org-quote-csv-field): New functions.
6118 * org-table.el (org-table-export-default-format): Remove :splice
6119 from default format, we get the same effect by not specifying
6121 (org-table-export): Improve setup, distinguish better between
6122 interactive and non-interactive use, allow specifying the format
6123 on the fly, better protection against wrong file names.
6124 (orgtbl-to-generic): Fix documentation. Do not require :tstart
6125 and :tend when :splice is omitted.
6127 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6129 * org-clock.el (org-clock-select-task): Make sure the selection
6130 letters are 1-9 and A-Z, no special characters.
6132 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6134 * org-exp.el (org-export-htmlize): New group.
6135 (org-export-htmlize-output-type)
6136 (org-export-htmlize-css-font-prefix): New options.
6137 (org-export-htmlize-region-for-paste): New function.
6138 (org-export-htmlize-generate-css): New command.
6140 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6142 * org.el (org-set-visibility-according-to-property): New function.
6143 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6144 and compute the regular expressions, and update font-lock.
6145 (org-property-re): Allow a dash in property names.
6147 * org-archive.el (org-extract-archive-file): Insert the file name
6148 without the path into the format, to allow the location format to
6149 contain a subdirectory.
6151 * org-agenda.el (org-agenda-post-command-hook): If point is at end
6152 of buffer, and the `org-agenda-type' property undefined, use the
6153 value from the character before.
6155 * org.el (org-add-planning-info): Don't let indentation for
6156 would-be timestamp become extra whitespace at the end of headline.
6158 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6160 * org.el (org-remove-double-quotes, org-file-contents): New
6163 * org-exp.el (org-infile-export-plist): Also parse the
6164 contents of #+SETUPFILE files, recursively.
6166 * org.el (org-set-regexps-and-options): Also parse the
6167 contents of #+SETUPFILE files, recursively.
6169 * org-exp.el (org-export-handle-include-files): New function.
6170 (org-export-preprocess-string): Call
6171 `org-export-handle-include-files'.
6173 * org.el (org-delete-property-globally)
6174 (org-delete-property, org-set-property): Ignore case during
6176 (org-set-property): Use `org-completing-read' instead of
6179 * org.el (org-complete-expand-structure-template): New,
6180 experimental function.
6181 (org-structure-template-alist): New, experimental option.
6182 (org-complete): Call `org-complete-expand-structure-template'.
6184 2008-06-17 Bastien Guerry <bzg@altern.org>
6186 * org-export-latex.el (org-export-latex-preprocess):
6187 Add support for blockquotes.
6189 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6191 * org.el (org-read-date-analyze): Catch the case where only a
6194 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6196 * org.el (org-set-font-lock-defaults): Make the description
6199 * org-exp.el (org-export-as-html, org-close-li): Implement
6202 2008-06-17 Jason Riedy <jason@acm.org>
6204 * org-table.el (*orgtbl-default-fmt*): New variable.
6205 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6206 when there is no other fmt available.
6208 (orgtbl-to-generic): Allow an explicitly nil :tstart or
6209 :tend to suppress the appropriate string.
6211 (orgtbl-to-orgtbl): New function for translating to another orgtbl
6214 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6216 * org.el (org-read-date-analyze): "." as an alias for "+0" in
6219 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6222 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6225 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6227 * org-clock.el (org-clock-find-position): Don't include notes
6230 * org-archive.el (org-archive-subtree): No longer remove an
6231 extra line after cutting the subtree. `org-cut-subtree' already
6234 * org-remember.el (org-remember-handler): Only kill the target
6235 buffer if it does not contain the running clock.
6237 * org.el (org-markers-to-move): New variable.
6238 (org-save-markers-in-region, org-check-and-save-marker)
6239 (org-reinstall-markers-in-region): New function.
6240 (org-move-subtree-down, org-copy-subtree): Remember relative
6241 marker positions before cutting.
6242 (org-move-subtree-down, org-paste-subtree): Restore relative
6243 marker positions after pasting.
6245 * org-remember.el (org-remember-clock-out-on-exit): New option.
6246 (org-remember-finalize): Clock out only if the setting in
6247 `org-remember-clock-out-on-exit' requires it.
6248 (org-remember-handler): Do the cleanup in the buffer, to make sure
6249 that the clock marker remains in tact.
6251 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6253 * org-clock.el (org-clock-goto): Widen buffer if necessary.
6254 (org-clock-in): Make sure that also tasks outside the narrowed
6255 region will be clocked in correctly.
6256 (org-clock-insert-selection-line): Widen the buffer so that we can
6257 find the correct task heading.
6259 * org.el (org-base-buffer): New function.
6261 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6262 and ";" are escaped.
6263 (org-print-icalendar-entries): Also apply
6264 `org-icalendar-cleanup-string' to the headline, not only to the
6267 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6269 * org-exp.el (org-export-preprocess-hook): New hook.
6270 (org-export-preprocess-string): Call `org-export-preprocess-hook'.
6272 * org.el (org-font-lock-hook): New variable.
6273 (org-font-lock-hook): New function.
6274 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6278 ;; add-log-time-zone-rule: t
6281 Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
6283 This file is part of GNU Emacs.
6285 GNU Emacs is free software: you can redistribute it and/or modify
6286 it under the terms of the GNU General Public License as published by
6287 the Free Software Foundation, either version 3 of the License, or
6288 (at your option) any later version.
6290 GNU Emacs is distributed in the hope that it will be useful,
6291 but WITHOUT ANY WARRANTY; without even the implied warranty of
6292 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6293 GNU General Public License for more details.
6295 You should have received a copy of the GNU General Public License
6296 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
6298 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c