1 2010-01-01 Juanma Barranquero <lekktu@gmail.com>
3 * org.el (org-get-outline-path, org-speed-command-help):
4 Fix typos in error messages.
6 2009-12-14 Juri Linkov <juri@jurta.org>
8 * org-html.el (org-export-html-style-include-default):
9 Put `safe-local-variable booleanp' on
10 `org-export-html-style-include-default' instead of mistakenly
11 duplicate `org-export-html-style'.
13 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
15 * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
16 agenda after adding new entry.
18 * org-datetree.el (org-datetree-find-day-create): Fix regular
21 * org.el (org-display-outline-path): Use a format specifier for
22 message, to avoid problems with heading containing `%'.
24 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
25 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
26 (org-agenda-fix-displayed-tags): New function.
27 (org-agenda-do-context-action): Just call
28 `org-display-outline-path', without piping the result through
31 * org-latex.el (org-export-latex-preprocess): Protect secondary
34 * org-indent.el (org-indent-initialize): Avoid empty strings as
37 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
38 hat checking for the mark does not throw an error.
39 (org-agenda-diary-entry-in-org-file): Catch the case that there is
40 not `day' text property in the cursor line.
42 * org.el (org-sort-entries-or-items): Make sure that the final
43 entry has a newline before doing the sorting.
45 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
46 property at the beginning of the line.
48 * org.el (org-make-link-string): Don't allow a description with
51 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
52 (org-agenda-insert-diary-as-top-level): New function.
53 (org-agenda-add-entry-to-org-agenda-diary-file): Call
54 `org-agenda-insert-diary-as-top-level'.
56 * org.el (org-occur-in-agenda-files): Make sure none of the
58 (org-activate-plain-links): Add the face property here.
59 (org-set-font-lock-defaults): Do not add the face to plain links,
60 the activator function does this.
62 * org-habit.el (org-is-habit-p): Add doc string.
64 * org-archive.el (org-archive-subtree-default-with-confirmation):
67 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
68 after match optional (happens at the end of a line...).
70 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
73 * org-faces.el (org-copy-face): Set lisp indentation.
74 (org-quote, org-verse): New faces.
76 * org-agenda.el (org-agenda-remove-date): Remove variable.
78 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
80 * org-html.el (org-export-as-html): Move the home/up link into
83 * org.el (org-export-latex-packages-alist): Option definition
84 moved here from org-latex.el.
86 * org-html.el (org-export-html-home/up-format): Add an ID to the
89 * org-wl.el (org-wl-store-link): Handle the case that
90 `wl-use-petname' is set.
92 * org.el (org-set-effort): Improve prompt.
93 (org-get-outline-path): Widen to get full path.
94 (org-compact-display-after-subtree-move): Function removed.
96 2009-11-20 Eric Schulte <schulte.eric@gmail.com>
98 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
99 hash keys to cache and re-use images generated by the
100 org-exp-blocks interface to ditaa and dot.
102 * org.el (org-format-latex): Latex images are now saved to files
103 named by the sha1 hash of the latex source text avoiding
104 regeneration of identical images.
106 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
108 * org-latex.el (org-export-as-latex): Add the :drawers property.
110 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
112 * org.el (org-speed-commands-user): Allow documentation headlines.
113 (org-speed-commands-default): Organize the value of this constant
114 with descriptive headlines.
115 (org-print-speed-command): Output the headlines.
117 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
119 * org-agenda.el (org-agenda-show-outline-path): New option.
120 (org-agenda-do-context-action): New function.
121 (org-agenda-next-line, org-agenda-previous-line): Use
122 `org-agenda-do-context-action'.
124 * org.el (org-use-speed-commands): Allow function value.
125 (org-speed-commands-default): Make headline motion safe, so that
126 these commands always end on a headline.
127 (org-speed-commands-default): New key `v' for `org-agenda'.
128 (org-speed-move-safe): New function.
129 (org-self-insert-command): Use the function value of
130 `org-use-speed-commands'.
131 (org-get-outline-path): Improve docstring.
132 (org-format-outline-path): New function.
133 (org-display-outline-path): New function.
135 2009-11-15 John Wiegley <jwiegley@gmail.com>
137 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
138 a string, use that to find the LOGBOOK drawer.
140 2009-11-15 Glenn Morris <rgm@gnu.org>
142 * org-agenda.el (org-datetree-find-date-create)
143 (org-habit-get-priority):
144 * org.el (org-format-agenda-item): Fix declarations.
146 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
148 * org.el (org-clone-subtree-with-time-shift): Make it work at the
151 * org-mobile.el (org-mobile-write-checksums): Specify coding
153 (org-mobile-timestamp-buffer): Keep local variable/mode line at
156 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
158 * org.el (org-block-todo-from-children-or-siblings-or-parent)
159 (org-block-todo-from-checkboxes): Do not block changes to a nil
162 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
164 * org-habit.el (org-habit-parse-todo): Indicate which habit is
165 wrongly set up in the error messages.
167 * org-colview.el (org-columns-display-here): Don't try to
168 calculate values if the underlying property is not set.
169 (org-columns-string-to-number): Convert age strings back into
171 (org-agenda-colview-summarize): Handle extended summary types
174 * org-colview-xemacs.el (org-columns-display-here): Don't try to
175 calculate values if the underlying property is not set.
176 (org-columns-string-to-number): Convert age strings back into
178 (org-agenda-colview-summarize): Handle extended summary types
181 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
183 * org-exp.el (org-export-format-drawer-function): New variable.
184 (org-export-format-drawer): New function.
185 (org-export-preprocess-string): Pass the backend as a parameter to
186 `org-export-remove-or-extract-drawers'.
187 (org-export-remove-or-extract-drawers): New parameter BACKEND.
189 * org-protocol.el (org-protocol-char-to-string): New defsubst.
191 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
193 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
194 message when no block is selected.
196 * org-latex.el (org-export-latex-links): Check for protectedness
197 in the last matched character, not after the match.
199 * org-datetree.el (org-datetree-find-date-create): Respect
200 restriction when KEEP-RESTRICTION is set.
201 (org-datetree-file-entry-under): New function.
202 (org-datetree-cleanup): New command.
204 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
206 * org-src.el (org-edit-src-code): New optional argument context
207 allows calling functions to avoid altering the saved window
209 (org-edit-src-exit): Do not restore window configuration when this
210 function is used in the context of saving the edit buffer.
212 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
214 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
215 instances to switching to with-current-buffer, because these seem
216 to cause problems - no idea why.
218 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
219 Require diary-lib for (diary-date-display-form).
221 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
223 * org.el (org-log-reschedule, org-log-redeadline): New options.
224 (org-log-note-headings): Add templates for rescheduling and
226 (org-startup-options): Add in-buffer settings for logging changing
227 schedule and deadline time stamps.
228 (org-deadline, org-schedule): Check for existing date and arrange
229 for logging if the user requests it.
230 (org-add-log-note): Prepare proper note buffers for rescheduling
231 and deadline changes.
233 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
235 * org-agenda.el (org-agenda-diary-entry-in-org-file)
236 (org-agenda-add-entry-to-org-agenda-diary-file)
237 (org-agenda-insert-diary-make-new-entry): New functions.
238 (org-agenda-diary-entry): Call
239 `org-agenda-diary-entry-in-org-file' when appropriate.
241 * org.el (org-calendar-insert-diary-entry-key): New option.
242 (org-agenda-diary-file): New option.
243 ("calendar"): Install our insertion function in the calendar.
245 * org-remember.el (org-datetree): Require.
246 (org-remember-templates): Add new positioning option.
247 (org-remember-reference-date): New variable.
248 (org-remember-apply-template): Store the reference date in a local
250 (org-remember-handler): Implement date tree positioning of entries.
252 * org-datetree.el: New file.
254 * org-latex.el (org-export-latex-preprocess): Protect targets in
257 * org-html.el (org-export-as-html): Protect targets in verbatim
260 * org-docbook.el (org-export-as-docbook): Protect targets in
263 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
265 * org-clock.el (org-show-notification): Handle messages that
266 contain a percent character.
268 * org-remember.el (org-remember-apply-template): Turn of partial
271 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
272 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
274 * org.el (org-indent-mode): Define variable already in org.el.
275 (org-unfontify-region): Remove line-prefix and wrap-prefix
276 properties only if org-indent-mode is active.
278 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
280 * org-icalendar.el (org-print-icalendar-entries): Save match data
281 around call to verify function.
282 (org-print-icalendar-entries): Add a call to the verification
285 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
286 save-restrivtion' form.
288 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
290 * org-exp.el (org-export-format-source-code-or-example): restrict
291 scope of preserve-indentp to the let binding.
292 (org-src): require org-src, since org-src-preserve-indentation is used.
294 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
296 * org-timer.el (org-timer-set-timer): Set variables
297 org-timer-timer[123] correctly.
300 * org-mobile.el (org-mobile-files-alist): Make it work when
301 `agenda-archives' is included in
302 `org-agenda-text-search-extra-files'.
303 (org-mobile-push): Restore agenda after mobile push.
305 2009-11-13 John Wiegley <jwiegley@gmail.com>
307 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
308 way the amount of idle time is presented in the minibuffer.
310 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
312 * org-icalendar.el (org-print-icalendar-entries): Use
313 org-icalendar-verify-function only if non-nil.
315 * org.el (org-refile): Refile to clock only if the prefix arg is
317 (org-sparse-tree): Fix docstring to be in line with prompt.
318 (org-update-parent-todo-statistics): Call
319 `org-after-todo-statistics-hook' on each level.
321 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
323 * org-remember.el (org-remember-apply-template): Make sure the
326 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
328 * org.el (org-tab-ind-state): New variable.
329 (org-cycle-level): New function.
330 (org-cycle-level-after-item/entry-creation): New option.
331 (org-flag-subtree): New function.
332 (org-hide-archived-subtrees): Call `org-flag-subtree'.
333 (org-set-effort): Indexed access.
335 * org-list.el (org-cycle-item-indentation): New function.
337 * org.el (org-refile): Make prefix argument 2 refile to current
339 (org-priority): Interpret action `remove' as call to remove the
342 * org-remember.el (org-remember-apply-template): Don't depend on
343 buffer name being like file name.
345 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
347 * org-clock.el (org-clock-play-sound): Expand file in
348 org-clock-sound, to allow ~ for home.
350 * org-remember.el (org-remember-handler): Set
351 text-before-node-creation even if this already looks like a node,
352 because the string might be needed on non-org-mode target files.
354 * org-agenda.el (org-agenda-open-link): Make this work in agenda
356 (org-agenda-switch-to): Follow a link at point if
357 org-return-follows-link' is set and there is nothing else to do in
360 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
362 * org-colview-xemacs.el: Add in changes from org-colview.el
364 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
366 * org-exp-blocks.el: Modify split separator regexp to avoid empty
369 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
371 * org-colview.el (org-columns-new): Make this work with the new
373 (org-columns-store-format): Make this work with the new operators.
375 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
377 * org-src.el (org-src-preserve-indentation): Document that this
378 variable is also used during export.
380 * org-exp.el (org-export-format-source-code-or-example): Preserve
381 indentation if a block has a -i option, or if
382 `org-src-preserve-indentation' is set.
384 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
385 indentation if a block has a -i option, or if
386 `org-src-preserve-indentation' is set.
388 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
390 * org.el (org-mode-map): Define the new archiving keys.
391 (org-speed-commands-default): Define an archiving key in the speed
393 (org-org-menu): Improve the menu structure concerning archiving.
395 * org-archive.el (org-archive-subtree-default-with-confirmation):
398 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
399 (org-agenda-menu): Add the new archiving commands to the menu.
400 (org-agenda-archive-default)
401 (org-agenda-archive-default-with-confirmation): New commands.
402 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
403 call `org-agenda-archive-with'.
404 (org-agenda-archive-with): New function.
406 * org-table.el (org-table-convert-region): Inert spaces around "|"
407 to avoid line beginnings like "|-1" which will be mistaken as
410 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
412 * org.el (org-offer-links-in-entry): Return nil if there are no
413 links, t if a link has been selected.
414 (org-open-at-point): Open attachment directory when called in the
415 headline and there are no links in the entry body.
416 (org-speed-commands-default): Add "o" for open-at-point as a speed
419 * org-attach.el (org-attach-reveal): Optional prefix arg
420 IF-EXISTS, which avoids creating the attachment directory if it
423 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
426 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
428 * org.el ("abbrev"): Work with abbrev tables only after they have
431 * org-list.el (org-list-send-list): Fix bug related to match
434 * org-latex.el (org-export-latex-fontify): Apply verbatim
436 (org-export-latex-make-header): Insert \obeylines if line breaks
439 * org-exp.el (org-export-protect-verbatim): Add an
440 `org-verbatim-emph' property to such text.
442 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
444 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
445 (org-print-icalendar-entries): Skip entries where the timestamp is
446 not a deadline and not scheduled, if the user requests that.
448 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
449 before an opening quote.
451 * org-archive.el (org-archive-subtree): Keep archive after
454 * org-id.el (org-id-update-id-locations): Add archive files if
455 that is required by `org-id-extra-files'.
457 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
459 * org-src.el (org-src-window-setup): New option.
460 (org-src-switch-to-buffer): New function.
461 (org-edit-src-exit): Add optional argument CONTEXT and use it to
462 restore window configuration.
463 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
464 Call `org-src-switch-to-buffer'.
466 * org.el (org-default-properties): Add STYLE property.
467 (org-files-list): Use the function call to get the files.
468 (org-additional-option-like-keywords): Add SETUPFILE to completion
471 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
473 * org-table.el (org-table-convert-region): Correctly interpret
474 quoting in csv import.
476 * org.el (org-icompleting-read): Make iswitchb completion work
477 with lists and tables.
479 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
480 while pushing the mobile agenda.
482 2009-11-13 John Wiegley <jwiegley@gmail.com>
485 (org-clock-auto-clock-resolution): Now takes three values: nil, t
486 and `when-no-clock-is-running'.
487 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
488 whether or not to resolve Org buffers on clock in.
490 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
492 * org-colview.el (org-format-time-period): Function to format
493 times in fractional days for display.
494 (org-columns-display-here): Add support for showing a calculated
495 value in place of the property.
496 (org-columns): Set `org-columns-time' to the current time so time
497 difference calculations will work.
498 (org-columns-time): Use to store the current time when column view
499 is displayed, so all time differences will use the same reference
501 (org-columns-compile-map): There is now an extra position in each
502 entry specifying the function to use to calculate the displayed
503 value for the non-calculated properties in the column,
504 (org-columns-compute-all): Set `org-columns-time' to the current
505 time so time difference calculations will work.
506 (org-columns-compute): Handle column operators where the values
507 used are calculated from the underlying property.
508 (org-columns-number-to-string): Handle the 'age' column format
509 (org-columns-string-to-number): Correct the function name (was
510 org-column...). Add support for the 'age' column format.
511 (org-columns-compile-format): Support the additional parameter in
512 org-columns-compile-map.
514 2009-11-13 Bastien Guerry <bzg@altern.org>
516 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
519 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
521 * org-clock.el (org-clock-has-been-used): New variable.
522 (org-clock-in): Set `org-clock-has-been-used'.
523 (org-clock-save): Save only if clock data has been used or created
526 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
528 * org-clock.el (org-clock-persist): New value, to store only the
530 (org-clock-save): Don't save the clock if only the history should
532 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
533 when restoring a saved clock.
535 2009-11-13 John Wiegley <jwiegley@gmail.com>
537 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
538 `org-time-clock-use-fractional'.
540 * org.el (org-time-clocksum-use-fractional)
541 (org-time-clocksum-fractional-format): Two new customizable
542 variables which allow the user to select fractional times (1.25
543 instead of 1:25) in the `org-clock-display' report.
545 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
547 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
550 * org.el (org-tag-alist): Fix customization type.
552 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
554 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
555 Make sure the regexp search can fail without throwing an error.
556 (org-mobile-apply): Save the inbox buffer after removing
557 successfully applied changes.
559 2009-11-13 John Wiegley <jwiegley@gmail.com>
561 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
562 time is reported after the user comes back (but before they
565 * org.el (org-get-repeat): Change so that this function can be
566 called with either `org-scheduled-string' or
567 `org-deadline-string'.
569 * org-clock.el (org-clock-auto-clock-resolution): Renamed
570 `org-clock-disable-clock-resolution', since negatives don't sound
571 good in customization variables.
572 (org-clock-in): Don't use the auto-resolution logic if the user is
573 clocking into a different task while an active clock is running.
574 This then allows the default behavior of clocking out of the open
575 task and then into the new task.
577 * org.el (org-modules): Made this variable more consistent, since
578 it was referring to Org, OrgMode and Org-mode, whereas the docs
579 for the variable always refer to Org-mode.
581 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
583 * org.el (org-repeat-re): The changed org-repeat-re no longer
584 matched simple +2d type repeaters. Fix it so it does.
586 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
588 * org-latex.el (org-export-latex-preprocess): Protect the vspace
589 macro in the VERSE environment.
591 2009-11-13 John Wiegley <jwiegley@gmail.com>
593 * org-habit.el (org-habit-get-priority): A new function that
594 determines the relative priority of a habit, based on how long
595 past its scheduled date it is, and how near the deadline is.
597 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
598 using `org-habit-get-priority'.
600 * org-habit.el (org-habit-build-graph): Start displaying colors
601 from the first scheduled date, if that date is earlier than the
602 first completion date.
604 * org-habit.el: Changed all "color" variables to faces, and made
605 them appropriate for light and dark backgrounds.
607 * org-habit.el (org-habit-duration-to-days): Made this function
609 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
611 * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
612 habits, since they don't use DEADLINE anymore.
614 * org.el (org-repeat-re, org-display-custom-time)
615 (org-timestamp-change): Extended to support the new ".+N/N"
616 syntax, used for habits.
618 * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
621 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
622 modeline when habits are being displayed (if that module is being
625 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
627 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
628 idle time using the xscreensaver extension.
629 (org-user-idle-seconds): Use X11 idle time if available.
631 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
633 * org-agenda.el (org-agenda-next-line): New command.
634 (org-agenda-previous-line): New commands.
635 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
637 (org-agenda-follow-mode): Do the follow immediately if the mode is
639 (previous-line, next-line): Replace keys with the corresponding
641 (org-agenda-mode-map): Bind backspace and delete to the scrolling
644 * org.el (org-icompleting-read): Turn off partial completion mode
645 for the duration of this completion round.
647 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
648 macros in author lines and similar stuff.
650 * org.el (org-file-tags): Fix docstring.
651 (org-get-buffer-tags): Add the #+FILETAGS tags.
652 ("ecb"): Maks ecb show context after jumping into an Org file.
654 2009-11-13 John Wiegley <johnw@newartisans.com>
656 * org-agenda.el (org-finalize-agenda): Draw habit consistency
657 graphs after everything else in the buffer has been setup.
659 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
661 * org-mobile.el (org-mobile-apply): Count success and failure.
663 * org.el (org-indent-line-function): Fix regexp replace problem.
665 2009-11-13 John Wiegley <johnw@newartisans.com>
667 * org-clock.el (org-clock-disable-clock-resolution): New
668 customization variable that disable automatic clock resolution on
670 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
671 not automatically resolve anything. This is does not affect
672 idle-time resolution, however, if `org-clock-idle-time' is set.
674 2009-11-13 John Wiegley <johnw@newartisans.com>
676 * org-habit.el: New file, which implements code to build a "habit
679 * org-agenda.el (org-agenda-get-deadlines)
680 (org-agenda-get-scheduled): Display consistency graphs when
681 outputting habits into the agenda. The graphs are always relative
683 (org-format-agenda-item): Added new parameter `habitp', which
684 indicates whether we are formatting a habit or not. Do not
685 display "extra" leading information if habitp is true.
687 * org.el (org-repeat-re): Improved regexp to include .+ and ++
688 leaders for repeat strings.
689 (org-get-repeat): Now takes a string parameter `tagline', so the
690 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
692 2009-11-13 John Wiegley <johnw@newartisans.com>
694 * org-agenda.el (org-agenda-auto-exclude-function): New
695 customization variable for allowing the user to create an "auto
696 exclusion" filter for doing context-aware auto tag filtering.
697 (org-agenda-filter-by-tag): Changes to support the use of
698 `org-agenda-auto-exclude-function'. See the new manual addition,.
700 2009-11-13 John Wiegley <johnw@newartisans.com>
702 * org.el (org-files-list): Don't attempt to return a file name for
703 Org buffers which have no associated file.
705 * org-agenda.el (org-agenda-do-action): Fixed a typo.
707 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
709 * org-mobile.el (org-mobile-locate-entry): Interpret files
710 relative to org-directory.
711 (org-mobile-inbox-for-pull): Document the best location for this
713 (org-mobile-check-setup): Verify `org-directory'.
714 (org-mobile-create-index-file): Sort the files to be listed in
717 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
719 * org.el (org-fast-tag-selection): Add a way to display a
720 description for a tag group. This is done by adding a string to
721 either the startgroup or endgroup cell.
723 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
725 * org-clock.el (org-clock-resolve, org-resolve-clocks)
726 (org-emacs-idle-seconds): Use `org-float-time' instead of
729 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
731 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
734 * org.el (org-pre-cycle-hook): Document that `empty' can also be
735 the value of ARG when doing local cycling.
737 2009-11-13 John Wiegley <johnw@newartisans.com>
739 * org-clock.el (org-clock-resolve-clock): If keeping or
740 subtracting time results in a clock out at a time in the past, and
741 if the resolution occurred due to idleness or invoking `M-x
742 org-resolve-clocks', remember that past moment in time. On the
743 next clock in, the user will be prompted to see if they want to
744 back-date their new clock to then.
745 (org-clock-resolve): Do not jump the user to the location of a
746 dangling clock if the resolution is occuring due to an idle
747 timeout. In that case there is typically only one dangling clock,
748 the active one, and there is no value gained by shuffling their
749 windows around to show it to them. Being prompted to resolve an
750 idle clock should be as inobtrusive as possible.
751 (org-resolve-clocks-if-idle): New function that resolves only the
752 currently active clock if the user has exceeded the time returned
753 by `org-user-idle-seconds', based on the value of
754 `org-clock-idle-time'.
755 (org-clock-in): If, after resolving clocks,
756 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
758 * org-clock.el (org-clock-resolve-clock): New function that
759 resolves a clock to a specific time, closing or resuming as need
760 be, and possibly even starting a new clock.
761 (org-clock-resolve): New function used by `org-resolve-clocks'
762 that sets up for the call to `org-clock-resolve-clock'. It
763 determines the time to resolve to based on a single-character
764 selection from the user to either keep time, subtract away time or
766 (org-resolve-clocks): New user command which resolves dangling
767 clocks -- that is, open but not active -- anywhere in the file
768 list returned by `org-files-list'.
769 (org-clock-in): Automatically resolve dangling clocks whenever a
771 (org-clock-cancel): If the user cancels the solely clock in a
772 LOGBOOK, remove the empty drawer.
774 * org-clock.el (org-clock-idle-time): New user customizable option
775 for detecting whether the user has left a clock idle. Note: it is
776 only used in this commit to test whether it's worthwhile to check
777 OS X to get the Mac user's current idle time. If the Emacs idle
778 time is less than the value, the user hasn't been away long enough
779 to be worth checking (a more expensive test than just getting
781 (org-user-idle-seconds, org-mac-idle-seconds)
782 (org-emacs-idle-seconds): This three functions, in conjunction
783 with the user customization variable `org-clock-idle-time', return
784 the number of seconds (as a floating point) that the user has been
785 away from their Emacs (or, if running on OS X, their computer).
787 * org-clock.el (org-find-open-clocks): New function that returns a
788 list of all open clocks in the given FILE. Note that each clock
789 it returns is a cons cell of the format (MARKER . START-TIME).
790 This "clock" value is used by several of the new clock module
792 (org-is-active-clock): New inline function which tests whether the
793 given clock value is the same as the currently active clock.
794 Returns non-nil if this is the case.
795 (org-with-clock-position): New macro that evaluates FORMS with
796 point in the buffer and at the position of the given clock.
797 Changes to the current clock are global.
798 (org-with-clock): New macro that evaluates FORMS with point in the
799 buffer and at the position of the given clock. However, changes
800 to the current clock are local and have no effect on the user's
801 active clock. This allows, for example, far any clock to be
802 cancelled without cancelling the active clock.
803 (org-clock-clock-in): New inline function that switches the active
804 clock to the given clock. If either the argument RESUME, or the
805 global `org-clock-in-resume', are non-nil, it will resume a clock
806 that was previously left open.
807 (org-clock-clock-out): New inline function that clocks out the
808 given clock value without affecting the currently active clock.
809 (org-clock-clock-cancel): New inline function that cancels the
810 given clock value without affecting the currently active clock.
812 * org-clock.el (org-clock-in): Before creating
813 `org-clock-mode-line-timer', check to make sure an older timer is
814 not currently running.
815 (org-clock-out): Accept new third parameter `at-time', which
816 permits a clock to be clocked out at a specific time. Note that
817 no attempt is made to verify that the clock out time is later than
820 * org.el (org-files-list): New utility function for returning a
821 list of all open org-mode buffers, plus all files used to build
822 the agenda buffer. Note that not all the files will necessarily
823 be visited by a buffer at time of call.
824 (org-entry-beginning-position): Like the function
825 `line-beginning-position', this inline function returns the
826 beginning position of the current heading/entry.
827 (org-entry-end-position): Like the function `line-end-position',
828 this inline function returns the end position of the current
831 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
833 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
836 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
838 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
840 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
842 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
843 entries that have no tags.
844 (org-agenda-search-view): New customize group.
845 (org-agenda-search-view-search-words-only): New option.
846 (org-search-view): Implement substring search.
848 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
850 * org.el (org-outline-level): Add doc string.
852 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
854 * org-inlinetask.el (org-inlinetask-export): Re-introduce
856 (org-inlinetask-export-handler): Only export inline task if the
857 user option calls for it.
859 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
861 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
864 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
866 * org-latex.el (org-export-latex-tables): Don't format in
869 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
871 * org-src.el (org-edit-src-code)
872 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
875 * org-agenda.el (org-prefix-category-max-length): New variable.
876 (org-format-agenda-item): Use `org-prefix-category-max-length'.
877 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
879 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
881 * org-mobile.el (org-mobile-create-index-file): Improve the
882 listing of tags and todo keywords.
884 * org-latex.el (org-export-latex-format-image): New function.
885 (org-export-latex-links): Use `org-export-latex-format-image'.
887 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
889 * org-inlinetask.el (org-inlinetask-get-current-indentation)
890 (org-inlinetask-remove-terminator): New functions.
891 (org-inlinetask-export-handler): Terminate the description list.
893 * org-exp.el (org-export-select-backend-specific-text): Remove the
896 * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
897 tasks without content.
899 * org-clock.el: Make sure the clock-in target position does not
900 move to a different node by widening the buffer.
902 * org-html.el (org-export-html-format-image): Wrap image into
903 figure div only when there is a caption.
905 * org-archive.el (org-archive-mark-done): Change default value to
908 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
910 * org.el (org-context): Call `bobp', not `eobp'.
912 * org-clock.el (org-clock-cancel): Remove quotes from marker
915 * org.el (org-read-date-prefer-future): New allowed value `time'.
916 (org-read-date-analyze): Shift day to tomorrow depending on time
917 entered and value of `org-read-date-prefer-future'.
919 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
921 * org.el (org-version, org-get-refile-targets, org-refile)
922 (org-store-log-note, org-diary-to-ical-string)
923 (org-speedbar-set-agenda-restriction):
924 * org-publish.el (org-publish-find-title):
925 * org-plot.el (org-plot/gnuplot):
926 * org-mouse.el (org-mouse-do-remotely):
927 * org-mobile.el (org-mobile-move-capture):
928 * org-mac-message.el (org-mac-message-insert-flagged):
929 * org-latex.el (org-replace-region-by-latex):
930 * org-docbook.el (org-replace-region-by-docbook):
931 * org-clock.el (org-clock-out, org-clock-cancel):
932 * org-bibtex.el (org-execute-file-search-in-bibtex):
933 Use with-current-buffer.
935 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
937 * org.el (org-directory, org-map-entries):
938 * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
940 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
942 * org.el (org-set-tags-to): New command.
944 * org-latex.el (org-export-latex-set-initial-vars): Also check in
947 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
950 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
952 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
954 * org-inlinetask.el (org-inlinetask-export): Option removed.
955 (org-inlinetask-export-handler): Better export.
957 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
958 (org-export-as-xoxo): Run the new hook.
960 * org-html.el (org-export-html-final-hook): New hook.
961 (org-export-as-html): Run the new hook.
963 * org-docbook.el (org-export-docbook-final-hook): New hook.
964 (org-export-as-docbook): Run the new hook.
966 * org-ascii.el (org-export-ascii-final-hook): New hook.
967 (org-export-as-ascii): Run the new hook.
969 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
970 space character as the character before the ^/_.
971 (org-export-latex-final-hook): New hook.
972 (org-export-as-latex): Run `org-export-latex-final-hook'.
974 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
976 * org-macs.el (org-if-unprotected-at): Fix docstring.
978 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
979 text in the prefix (if category is a link).
981 * org-latex.el (org-export-latex-preprocess): Deal properly with
982 empty lines in verse environments.
984 * org.el (org-format-latex-header): Inline fullpage.sty.
986 * org-footnote.el (org-footnote-create-definition): Reveal context
987 to add a new footnote definition.
989 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
990 org-table-recalculate when cursor is in TBLFM line.
992 * org-list.el (org-renumber-ordered-list): Fix cursor position
993 when bullet length has changed.
995 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
997 * org.el (org-format-latex): Mention `org-format-latex-options' in
1000 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1002 * org.el (org-agenda-get): New function.
1004 * org-agenda.el (org-agenda-post-command-hook): No longer move
1005 point away from end of line.
1006 (org-agenda-add-entry-text, org-agenda-collect-markers)
1007 (org-finalize-agenda, org-agenda-mark-clocking-task)
1008 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1009 (org-agenda-entry-text-show, org-agenda-highlight-todo)
1010 (org-agenda-compare-effort, org-agenda-filter-apply)
1011 (org-agenda-later, org-agenda-change-time-span)
1012 (org-agenda-post-command-hook, org-agenda-show-priority)
1013 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1014 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1015 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1016 (org-agenda-open-link, org-agenda-copy-local-variable)
1017 (org-agenda-switch-to, org-agenda-check-no-diary)
1018 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1019 (org-agenda-add-note, org-agenda-change-all-lines)
1020 (org-agenda-priority, org-agenda-set-tags)
1021 (org-agenda-set-property, org-agenda-set-effort)
1022 (org-agenda-toggle-archive-tag, org-agenda-date-later)
1023 (org-agenda-show-new-time, org-agenda-date-prompt)
1024 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1025 (org-agenda-clock-in, org-agenda-bulk-mark)
1026 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1029 * org-colview.el (org-columns-display-here)
1030 (org-columns-edit-allowed, org-agenda-columns): Use
1033 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1035 * org.el (org-special-ctrl-a/e): Improve documentation and
1037 (org-end-of-line): Don't jump to after the ellipsis.
1038 (org-mode-map): Bind <home> and <end> as well.
1040 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1042 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1043 space after #+ as comments.
1044 (org-open-at-point): Run `org-follow-link-hook' always.
1046 * org-latex.el (org-export-latex-emph-format): Use better commands
1047 to insert special characters in verbatim snippets.
1049 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1051 * org-faces.el (org-copy-face): New function. Use it to create
1052 various faces formerly created by using `copy-face'.
1054 * org-agenda.el (org-prepare-agenda): Don't officially mark this
1056 (org-agenda-quit): Kill the frame containing the agenda window if
1057 that frame was created for the agenda.
1059 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1061 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1062 stamp in the agenda.
1064 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1066 * org-agenda.el (org-prepare-agenda): Reset
1067 `org-drawers-for-agenda'.
1068 (org-prepare-agenda): Uniquify list of drawers.
1070 * org.el (org-complex-heading-regexp-format): New variable.
1071 (org-set-regexps-and-options): Define
1072 `org-complex-heading-regexp-format'.
1073 (org-drawers-for-agenda): New variable.
1074 (org-map-entries): Bind `org-drawers-for-agenda'.
1075 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1077 * org-remember.el (org-go-to-remember-target)
1078 (org-remember-handler): Use `org-complex-heading-regexp-format'.
1080 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1082 * org-agenda.el (org-agenda-highlight-todo): Fix text property
1085 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1086 always with `invisible-ok'.
1087 (org-store-link): No error when there is nothing to link to in the
1090 * org-list.el (org-update-checkbox-count): Insert changed cookie
1091 before the old, to avoid problems with invisibility at the end of
1093 (org-update-checkbox-count): Insert changed cookie before the old,
1094 to avoid problems with invisibility at the end of the line.
1096 * org.el (org-sort-entries-or-items): Include the final newline.
1097 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1098 lines for fontification.
1099 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1100 (org-prepare-dblock): Store the current indentation of the BEGIN
1102 (org-update-dblock): Apply the indentation of the begin line to
1103 the rest of the block.
1104 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1105 (org-startup-folded): New allowed value `showeverything'.
1106 (org-startup-options): Add STARTUP keyword `showeverything'.
1107 (org-set-startup-visibility): Respect value `showeverything' in
1110 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1112 * org.el (org-closest-date): Fix issue with past preference.
1114 * org-archive.el (org-archive-set-tag)
1115 (org-archive-subtree-default): New commands.
1117 * org-clock.el (org-clock-clocktable-default-properties): New
1119 (org-clock-report): Use
1120 `org-clock-clocktable-default-properties'.
1122 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1124 * org.el (org-iswitchb-completing-read): Fix typo.
1126 * org-crypt.el: New file.
1128 * org.el: Add an entry for org-crypt.
1130 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1132 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1134 (org-batch-store-agenda-views): New function.
1135 (org-agenda-title-append): Define variable.
1136 (org-write-agenda): New export to Org files.
1137 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1138 (org-agenda): Allow to keep the restricted file list if a special
1139 variable is bound to t.
1140 (org-agenda): Define a special agenda view for working on flagged
1142 (org-agenda-get-restriction-and-command): List the new agenda
1144 (org-agenda-show-the-flagging-note): New command.
1145 (org-agenda-mode-map): New key `?' for looking at the flagging
1148 * org.el (org-autoload): Autoload org-mobile.el.
1149 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1151 * org-mobile.el: New file.
1153 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1155 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1157 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1159 (org-table-get-remote-range): Match indented #+TBLNAME
1162 * org.el (org-convert-to-odd-levels)
1163 (org-convert-to-oddeven-levels): Work also correctly if the file
1166 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1168 * org.el (org-store-link): When in agenda buffer, link to
1170 (org-add-planning-info): Remove spaces at eol.
1172 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1175 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1177 * org-latex.el (org-export-latex-first-lines): Fix problem with
1178 LaTeX export of first line and selected subtree.
1180 * org.el (org-shifttab): Interpret arg differently when using only
1183 2009-10-01 Bastien Guerry <bzg@altern.org>
1185 * org.el (org-check-agenda-file): Use a more explicit message
1187 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1189 * org-exp.el (org-export-remove-special-table-lines): Don't remove
1192 2009-10-01 Bastien Guerry <bzg@altern.org>
1194 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1195 prompt in the temporary window.
1197 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1198 prefix for marked entries in the agenda view.
1200 2009-10-01 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
1202 * org.el (outline-end-of-subtree): Bugfix: advise this function in
1203 a way that prevents any trailing character from being displayed.
1205 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1207 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1210 * org-exp.el (org-export-remove-special-table-lines): Remove bad
1213 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1215 * org-latex.el (org-export-latex-preprocess): Do not protect in
1218 * org-src.el (org-edit-src-save): Save window setup while saving.
1219 (org-edit-src-code): Use new buffer name construction scheme.
1221 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1223 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1225 (org-agenda-entry-text-cleanup-hook): New hook.
1226 (org-agenda-get-some-entry-text): Remove matches of
1227 `org-agenda-entry-text-exclude-regexps' and run the hook
1228 `org-agenda-entry-text-cleanup-hook'.
1230 * org.el (org-offer-links-in-entry): New argument ZERO to
1231 implement a link with index zero.
1232 (org-cycle-show-empty-lines): Not keep empty line under header
1234 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1235 to nil for special completion.
1236 (org-store-link): Don't error before the first heading.
1238 * org-agenda.el (org-agenda-open-link): Pass the prefix to
1239 `org-offer-links-in-entry'.
1241 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1243 * org-agenda.el (org-agenda-quit): Provide the window argument for
1244 `window-dedicated-p', Emacs 22 needs it.
1245 (org-format-agenda-item): If the category is a link, arrange for
1246 invisible text to replaced with spaces.
1247 (org-compile-prefix-format): Add the extra space.
1248 (org-prefix-category-length): New variable.
1250 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1251 references from TOC lines.
1253 * org.el (org-selected-window): New variable.
1255 * org-table.el (org-table-edit-formulas): Remember the selected
1257 (org-table-fedit-finish, org-table-fedit-abort): Select the window
1258 that was originally selected.
1260 * org-exp.el (org-export-preprocess-apply-macros): Scan the
1261 expansion of a macro for more macro definitions.
1263 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1264 invisibility overlay starts on the newline.
1266 2009-10-01 Glenn Morris <rgm@gnu.org>
1268 * org-agenda.el (calendar-check-holidays):
1269 * org-exp.el (org-agenda-skip):
1270 * org-list.el (outline-back-to-heading):
1271 * org-wl.el (wl-summary-goto-folder-subr):
1272 * org.el (iswitchb-mode, remember, remember-buffer-desc)
1273 (remember-finalize, remember-save-after-remembering, remember-register)
1274 (remember-buffer, remember-handler-functions)
1275 (remember-annotation-functions): Remove unused declarations.
1277 * org.el (iswitchb-read-buffer): Fix declaration.
1279 2009-09-30 Glenn Morris <rgm@gnu.org>
1281 * org-compat.el (w32-focus-frame):
1282 * org-exp-blocks.el (R):
1283 * org-exp.el (htmlize-buffer):
1284 * org-protocol.el (server-edit):
1285 * org-table.el (org-format-org-table-html):
1286 * org.el (org-indent-mode): Fix declarations.
1288 * org-colview.el (org-columns-uncompile-format): Avoid assignment to
1289 free variable `fun'.
1291 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
1293 * org-agenda.el (org-agenda-restore-windows-after-quit):
1294 Fix typo in docstring.
1296 2009-09-23 Juanma Barranquero <lekktu@gmail.com>
1298 * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
1299 (org-shiftselect-error, org-ctrl-c-ctrl-c):
1300 * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
1301 * org-attach.el (org-attach-check-absolute-path):
1302 * org-docbook.el (org-export-as-docbook):
1303 * org-html.el (org-export-as-html):
1304 * org-id.el (org-id-update-id-locations):
1305 * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
1306 Fix typos in error messages.
1308 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1310 * org-ascii.el: Require CL for the `loop' macro.
1312 2009-09-05 Carsten Dominik <dominik@u016822.science.uva.nl>
1314 * org-gnus.el (require): Wrap (require gnus-sum) into
1317 2009-09-03 Carsten Dominik <dominik@u016822.science.uva.nl>
1319 * org-protocol.el (org-protocol-store-link)
1320 (org-protocol-remember, org-protocol-open-source): Remove autoload
1323 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
1324 referencing the start of the line.
1326 * org-gnus.el: Remove unnecessary declare-function forms.
1327 (gnus-sum): Always require gnus-sum.
1329 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1331 * org-protocol.el (org-protocol-store-link)
1332 (org-protocol-remember, org-protocol-open-source): Add autoloads.
1334 * org-compat.el (org-float-time): New function.
1336 * org.el (org-clock-update-time-maybe)
1337 (org-sort-entries-or-items, org-do-sort)
1338 (org-evaluate-time-range, org-time-string-to-seconds)
1339 (org-closed-in-range): Use `org-float-time'.
1341 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1342 (org-timer-seconds): Use `org-float-time'.
1344 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1345 (org-clock-sum, org-dblock-write:clocktable)
1346 (org-clocktable-steps): Use `org-float-time'.
1348 * org-agenda.el (org-agenda-last-marker-time)
1349 (org-agenda-new-marker, org-diary): Use `org-float-time'.
1351 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1354 * org-exp.el (org-get-file-contents): Only protect lines that
1357 * org-html.el (require): Require cl for compilation.
1359 * org.el: Avoid using `default-major-mode'.
1361 * org-plot.el (require): Require CL only at compile time.
1363 * org-exp.el (require): Require CL only at compile time.
1365 * org-agenda.el (org-agenda-quit): When the agenda window is
1366 dedicated, remove other windows before exiting, so that the frame
1367 really will be killed.
1369 * org-exp.el (org-export-handle-include-files): Reset START and
1370 END for each loop cycle.
1372 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1374 * org.el (org-eval-in-calendar): Use
1375 `org-select-frame-set-input-focus'.
1377 * org-compat.el (org-select-frame-set-input-focus): New function.
1379 * org.el (org-update-statistics-cookies): New function.
1380 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1382 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1384 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1385 after the local variables are set.
1387 * org-latex.el (org-export-latex-protect-amp): New function.
1388 (org-export-latex-links): Protect link ampersands in tables.
1390 * org-exp.el (org-export-select-backend-specific-text): Match in
1391 two steps, to avoid regexp problems.
1393 * org.el (org-offer-links-in-entry): Improve working with many and
1396 * org-agenda.el (org-agenda-show-1): Make more consistent with
1398 (org-agenda-cycle-show): Make more consistent with normal cycling.
1400 * org-gnus.el (org-gnus-store-link): Restore the linking to a
1403 2009-09-02 Bastien Guerry <bzg@altern.org>
1405 * org-latex.el (org-export-latex-first-lines): Bugfix.
1407 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1409 * org-clock.el (org-clock-modify-effort-estimate): Emit message
1412 * org.el (org-set-effort): New function.
1413 (org-mode-map): New key for effort setting command.
1415 * org-agenda.el (org-agenda): Keep window setup when calling
1416 agenda from within agenda window.
1417 (org-agenda-mode-map): New keys for effort setting commands.
1418 (org-agenda-menu): Add effort setting commands to menu.
1419 (org-agenda-set-property, org-agenda-set-effort): New functions.
1421 * org-latex.el (org-export-latex-tables): Fix
1422 `org-table-last-alignment' and `org-table-last-column-widths' if
1423 the first column has been removed.
1425 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1427 * org.el (org-remove-timestamp-with-keyword): Only remove in
1428 entry, not in subtree.
1430 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1433 * org.el (org-open-at-point): When on headline, offer all strings
1436 * org-remember.el (org-remember-templates): Documentation fix.
1438 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1439 `org-get-last-sibling' instead of the outline versions of these
1441 (org-get-last-sibling): New function.
1442 (org-refile): Use `org-get-next-sibling' instead of the outline
1443 version of this function.
1444 (org-clean-visibility-after-subtree-move): Use
1445 `org-get-next-sibling' and `org-get-last-sibling' instead of the
1446 outline versions of these functions.
1448 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1450 * org-agenda.el (org-prepare-agenda): When creating a new frame
1451 for the agenda, make the window dedicated.
1453 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1455 * org-table.el (org-table-align): Change the order of reinsertion
1456 and deletion, to avoid problems with overlays following the table.
1458 * org.el (org-parse-time-string): Better error message.
1459 (org-show-subtree): Use org-end-of-subtree.
1461 * org-macs.el (org-goto-line): New defsubst.
1463 * org.el (org-open-file, org-change-tag-in-region)
1464 (org-fast-tag-show-exit): Don't use `goto-line'.
1466 * org-table.el (org-table-align, org-table-insert-column)
1467 (org-table-delete-column, org-table-move-column)
1468 (org-table-sort-lines, org-table-copy-region)
1469 (org-table-paste-rectangle, org-table-wrap-region)
1470 (org-table-get-specials, org-table-rotate-recalc-marks)
1471 (org-table-get-range, org-table-recalculate)
1472 (org-table-edit-formulas, org-table-fedit-convert-buffer)
1473 (org-table-show-reference, org-table-highlight-rectangle): Don't
1476 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1477 (org-edit-src-exit): Don't use `goto-line'.
1479 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1481 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1482 Don't use `goto-line'.
1484 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1486 * org-colview.el (org-columns, org-columns-redo)
1487 (org-agenda-columns): Don't use `goto-line'.
1489 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1492 * org-agenda.el (org-agenda-mode): Force visual line motion off.
1493 (org-agenda-add-entry-text-maxlines): Improve docstring.
1494 (org-agenda-start-with-entry-text-mode): New option.
1495 (org-agenda-entry-text-maxlines): New option.
1496 (org-agenda-entry-text-mode): New variable.
1497 (org-agenda-mode): Set initial value of
1498 `org-agenda-entry-text-mode'.
1499 (org-agenda-mode-map): Add the `E' key.
1500 (org-agenda-menu): Add entry text mode to the menu.
1501 (org-agenda-get-some-entry-text): Fix line count bug.
1502 (org-finalize-agenda): Apply entry text mode if appropriate.
1503 (org-agenda-entry-text-show-here): New function.
1504 (org-agenda-entry-text-show): New function.
1505 (org-agenda-entry-text-hide): New function.
1506 (org-agenda-view-mode-dispatch): Add entry text mode to the view
1508 (org-agenda-entry-text-mode): New command.
1509 (org-agenda-set-mode-name): Add entry text mode to the mode line
1511 (org-agenda-undo, org-agenda-get-restriction-and-command)
1512 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1515 2009-09-02 Bernt Hansen <bernt@norang.ca>
1517 * org-clock.el (org-notify): Bugfix.
1519 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1521 * org-agenda.el (org-agenda-open-link): Handle multiple links and
1522 check for after-string.
1524 * org-gnus.el (org-gnus-store-link): Simplify.
1526 * org.el (org-latex-regexps): Don't add extra empty lines for
1529 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1531 * org-agenda.el (org-agenda-get-some-entry-text): New function.
1532 (org-agenda-add-entry-text): Use
1533 `org-agenda-get-some-entry-text'.
1535 * org.el (org-cycle-separator-lines): Update docstring.
1536 (org-cycle-show-empty-lines): Handle negative values for
1537 `org-cycle-show-empty-lines'.
1539 * org-exp.el (org-export-protect-sub-super): New function.
1540 (org-export-normalize-links): Protect the url of plain links from
1541 supscript and superscript processing.
1543 * org-remember.el (org-remember-escaped-%): New function.
1544 (org-remember-apply-template): Use `org-remember-escaped-%' to
1545 detect escaped % signs.
1547 2009-09-02 Bastien Guerry <bzg@altern.org>
1549 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1550 sound when showing the notification.
1552 * org-clock.el (org-notify): New function.
1553 (org-clock-notify-once-if-expired): Use `org-notify'.
1555 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1556 and `gnus-article-mode' separately.
1557 (gnus-summary-article-header): Fix the declare-function.
1559 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1561 * org-exp.el (org-export-format-source-code-or-example): Translate
1564 * org-src.el (org-src-lang-modes): New variable
1565 (org-edit-src-code): Translate language.
1567 * org-exp.el (org-export-format-source-code-or-example): Deal wit
1568 the new structure of the `org-export-latex-listings-langs'
1571 * org-latex.el (org-export-latex-listings-langs): Change structure
1572 of the variable from plist to alist.
1574 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1576 * org.el (org-in-commented-line): New function.
1578 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1580 * org.el (org-hide-block-toggle): Make folded blocks searchable.
1582 2009-09-02 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
1584 * org.el (org-flag-drawer): More useful error.
1586 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1588 * org-remember.el (org-remember-apply-template): Use
1589 org-icompleting-read.
1591 * org-publish.el (org-publish): Use org-icompleting-read.
1593 * org-colview.el (org-columns-edit-value, org-columns-new)
1594 (org-insert-columns-dblock): Use org-icompleting-read.
1596 * org-colview-xemacs.el (org-columns-edit-value)
1597 (org-columns-new, org-insert-columns-dblock): Use
1598 org-icompleting-read.
1600 * org-attach.el (org-attach-delete-one, org-attach-open): Use
1601 org-icompleting-read.
1603 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1605 * org.el (org-hierarchical-todo-statistics): Improve docstring.
1606 (org-version): Return the version text.
1607 (org-org-menu): Add a menu entry for the new bug reporter.
1608 (org-submit-bug-report): New command.
1610 * org-list.el (org-hierarchical-checkbox-statistics): Improve
1613 * org.el (org-emphasis-regexp-components): Add "`" to set of
1614 pre-emphasis characters.
1616 * org-latex.el (org-export-latex-classes): Always include the soul
1618 (org-export-latex-emphasis-alist): Use \st for strikethough.
1620 * org-exp-blocks.el (org-export-blocks-preprocess): Use
1621 `indent-code-rigidly' to indent.
1623 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1624 properties only if MATCH really is a string.
1626 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1628 * org-latex.el (org-export-latex-packages-alist): Fix
1631 * org.el (org-create-formula-image): Also use
1632 `org-export-latex-packages-alist'.
1634 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1635 (org-export-as-html): Format footnotes correctly.
1637 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1639 * org.el (org-fast-tag-selection): Avoid text properties on tags
1642 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1643 text properties on the match element.
1645 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1647 * org.el (org-set-regexps-and-options): Make sure the list of done
1648 keywords is not invalid.
1650 * org-exp.el (org-export-interpolate-newlines): New function.
1652 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1654 * org.el (org-format-latex): Avoid nested overlays.
1656 * org-latex.el (org-export-latex-listings-langs): Add a few more
1659 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1660 ignore newlines and space before the first macro argument.
1662 * org-latex.el (org-export-latex-tables): Remove save-excursion
1663 around `org-table-align'.
1665 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1667 * org.el (org-export-html-special-string-regexps): Definition
1670 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1673 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1675 * org-latex.el (org-export-latex-listings)
1676 (org-export-latex-listings-langs): New options.
1678 * org-exp.el (org-export-format-source-code-or-example): Use
1679 listing package if requested by the user.
1681 2009-09-02 Bastien Guerry <bzg@altern.org>
1683 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1684 command before actually switching to a buffer.
1686 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1688 * org-exp.el (org-get-file-contents): Only quote org lines when
1689 the markup is src or example.
1691 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1693 (org-agenda-get-day-entries): Remember deadline results and pass
1694 them on into the function getting the scheduling information.
1695 (org-agenda-get-scheduled): Accept deadline results as parameters
1696 and maybe skip some entries.
1697 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1699 * org.el (org-insert-heading): When respecting content, do not
1700 convert current line to headline.
1702 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1703 cheeeeeck the hd marker
1704 (org-clock-in): Also set the hd marker.
1705 (org-clock-out): Also set the hd marker.
1706 (org-clock-cancel): Reset markers.
1708 * org.el (org-clock-hd-marker): New marker.
1710 * org-faces.el (org-agenda-clocking): New face.
1712 * org-agenda.el (org-agenda-mark-clocking-task): New function.
1713 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1715 * org.el (org-modules): Add org-track.el.
1717 * org-agenda.el (org-agenda-bulk-marked-p): New function.
1718 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1719 `org-agenda-bulk-marked-p'.
1720 (org-agenda-bulk-toggle): New command.
1722 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1724 * org.el (org-move-subtree-down): Hide subtree if it was folded,
1727 * org-remember.el (org-remember-finalize): Avoid buffer-modified
1730 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1732 * org-html.el (org-export-as-html):
1733 * org-docbook.el (org-export-as-docbook):
1734 Use (default-value 'major-mode) instead of default-major-mode.
1736 2009-08-08 Carsten Dominik <carsten.dominik@gmail.com>
1738 * org-docbook.el: Add arch-tag.
1740 * org-exp-blocks.el: Add arch-tag.
1742 * org-id.el: Add arch-tag.
1744 * org-indent.el: Add arch-tag.
1746 * org-inlinetask.el: Add arch-tag.
1748 * org-protocol.el: Add arch-tag.
1750 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1752 * org.el (org-create-formula-image): Remove the -E option for
1755 * org-exp.el (org-default-export-plist): Respect #+BIND.
1756 (org-export-confirm-letbind): New function.
1758 * org.el (org-paste-subtree): Test the kill ring entry if it is
1760 (org-copy-subtree): Use `org-forward-same-level'.
1761 (org-forward-same-level): Respect the `invisibe-ok' arg for
1764 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1766 * org.el (org-table-map-tables): Make sure cursor is back at table
1767 beginning after funcall.
1769 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1770 handled before children, and do not error if an entry is not
1771 found, probably because it hase been remove when the parent was
1772 archived or refiled.
1774 * org.el (org-ido-completing-read): Accept straight lists for
1775 completion as well as alists.
1777 * org-timer.el (org-timer-cancel-timers): Rename from
1778 `org-timer-cancel-timers'.
1780 * org.el (org-cycle-internal-local): Fix problem with finding next
1783 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1785 * org-list.el (org-list-send-list): Call
1786 `org-list-goto-true-beginning' instead of
1787 `org-list-find-true-beginning', which does not exist.
1789 * org-timer.el (org-timer-reset-timers): Use `mapc'.
1790 (org-timer-set-timer): Do not assign to heading.
1792 * org-id.el (org-id-open): Quote function name.
1794 * org-macs.el (org-unmodified): Turn off recording undo
1795 information while running inside the macro.
1797 * org-table.el (org-table-export): Also work in file-less
1800 * org.el (org-startup-indented): New option.
1801 (org-startup-options): Add new options indent and noindent.
1802 (org-unfontify-region): Remove line-prefix and wrap-prefix
1804 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
1806 (org-promote, org-demote): Run the new hooks.
1808 * org-table.el (org-table-align): Replace leading \n as well.
1810 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
1811 and `line-wrap' text properties.
1813 * org-compat.el (org-kill-new): New function.
1815 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
1816 `line-wrap' text properties.
1818 * org-indent.el: New file.
1820 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1822 * org.el (org-provide-todo-statistics): Tweak docstring.
1824 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
1826 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1828 * org-exp.el (org-export-as-org): Insert the "-source" string
1829 before the extension.
1831 * org.el (org-read-date): Make sure the calendar is in the current
1833 (org-set-emph-re): Remove the ? from the post-match.
1834 (org-emphasis-regexp-components): Add backslash to the
1836 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
1837 optional so that also lines at the end of the buffers will still
1838 be matched as headlines.
1840 * org-table.el (org-table-error-on-row-ref-crossing-hline):
1841 Variable made obsolete.
1842 (org-table-relative-ref-may-cross-hline): New option.
1843 (org-table-find-row-type): Honow the new option
1844 `org-table-relative-ref-may-cross-hline'.
1846 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1848 * org-table.el (org-table-cut-region, org-table-copy-region): Work
1849 on single field if no active region.
1851 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1853 * org-latex.el (org-export-latex-make-header): Only insert title
1856 * org.el (org-make-options-regexp): Allow empty values.
1858 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1860 * org.el (org-cycle-internal-local): Improved version of finding
1862 (org-cycle-hide-drawers): Only hide drawers if this is really
1864 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
1865 org-version of this function in Org-mode. We use advice to
1866 implement this change, so that future changes to this function in
1867 outline.el wil be handled properly.
1868 (org-forward-same-level, org-backward-same-level): New commands.
1870 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1872 * org.el (org-remove-empty-overlays-at)
1873 (org-clean-visibility-after-subtree-move): New functons.
1874 (org-move-subtree-down): Simplify cleanup of display.
1876 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1878 * org-mac-message.el (org-mac-message-get-links): Improve
1879 docstring. Make argument SELECT-OR-FLAGGED optional, default to
1880 "s". Fix the return value.
1881 (org-mac-message-insert-flagged): Simplify.
1883 * org.el (org-refile-get-location): Tamper with refile history o
1884 that history contains compete matches instead of the entered
1887 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1889 * org.el (org-store-link): Never store a link to an inline task.
1891 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
1892 inline tasks when positioning footnotes.
1894 * org.el (org-refile): Remove the END line when archiving an
1895 inline task that does have an END line.
1897 * org-archive.el (org-archive-subtree): Remove the END line when
1898 archiving an inline task that does have an END line.
1900 * org-macs.el (org-with-limited-levels): New macro.
1901 (org-get-limited-outline-regexp): New function.
1903 * org-exp.el (org-export-format-source-code-or-example): Fix bug
1904 that did not enumerate first line.
1905 (org-export-mark-radio-links): Skip matches in links.
1907 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1909 * org.el (org-activate-plain-links): Make single-match.
1910 (org-adapt-indentation): Fix docstring.
1912 * org-macs.el (org-unmodified): Turn of modification hooks while
1915 2009-08-06 Bastien Guerry <bzg@altern.org>
1917 * org.el (org-adapt-indentation): Slightly improve the docstring.
1918 (org-occur): Sends an error when the user inputs an empty string.
1919 (org-priority): Bugfix: the tag alignement should happen within
1922 2009-08-06 Bastien Guerry <bzg@altern.org>
1924 * org.el (org-make-link-regexps): Don't exclude parentheses from
1926 (org-cycle-internal-local): When locally cycling, switch directly
1927 from CHILDREN to FOLDED if there is no subtree
1928 (org-cycle): Update the docstring to document the new behavior of
1929 `org-cycle-internal-local'.
1931 2009-08-06 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
1933 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
1934 an abbreviated format for days.
1936 2009-08-06 Bastien Guerry <bzg@altern.org>
1938 * org-protocol.el (org-protocol-default-template-key): New
1941 * org.el (org-refile): Bugfix: save-excursion before reading the
1942 refile target, otherwise cursor moves might confuse `org-refile'.
1944 * org.el (org-toggle-heading): Bugfix: correctly convert list
1945 items before the first headline.
1947 * org.el (org-provide-todo-statistics): Allow a list of TODO
1948 keywords to compute statistics against headlines containing a
1949 keyword from this list.
1950 (org-update-parent-todo-statistics): Possibly use the new allowed
1951 value of `org-provide-todo-statistics'.
1953 2009-08-06 Bastien Guerry <bzg@altern.org>
1955 * org-timer.el: Add autoload cookie.
1957 * org.el (org-occur-link-in-agenda-files): New function.
1959 * org-timer.el (org-timer-last-timer): New variable.
1961 * org-agenda.el (org-agenda-mode-map): New key for
1962 org-timer-set-timer called from the agenda.
1964 * org.el (org-mode-map): New key for org-timer-set-timer.
1966 * org-timer.el (org-timer-reset-timers)
1967 (org-timer-show-remaining-time, org-timer-set-timer): New
1970 * org-clock.el (org-show-notification): Update the docstring.
1972 * org.el (org-provide-todo-statistics): Allow new value
1973 'all-headlines for this option, which includes entries with no
1974 TODO keywords in the todo statistics.
1975 (org-update-parent-todo-statistics): Possibly use the new
1976 'all-headline value from `org-provide-todo-statistics'.
1978 2009-08-06 Bastien Guerry <bzg@altern.org>
1980 * org-clock.el (org-dblock-write:clocktable): Add a new option
1981 :timestamp which allows display of timestamps in clock reports.
1983 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
1984 list to a subtree, preserving the structure of the list.
1985 (org-set-emph-re): Make the last element optional in the regexp.
1986 This regexp now matches an emphasized string at the end of a line.
1988 * org-list.el (org-list-goto-true-beginning)
1989 (org-list-make-subtree, org-list-make-subtrees): New functions.
1991 * org.el (org-eval-in-calendar): Select the right frame.
1992 (org-save-frame-excursion): Remove this macro.
1994 2009-08-06 Bastien Guerry <bzg@altern.org>
1996 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
1997 trying to find the beginning of a list.
1999 * org-exp.el (org-get-file-contents): Use a new argument: markup.
2000 When present, tell org-get-file-contents not to protect org-like
2003 * org-id.el (org-id-uuid-program): New option to set the name of
2004 the uuidgen program.
2005 (org-id-method): Use `org-id-uuid-program'.
2006 (org-id-new): Use `org-id-uuid-program'.
2008 2009-08-06 Bastien Guerry <bzg@altern.org>
2010 * org-exp.el (org-export-number-lines): Allow whitespace in code
2011 references. Allow the -r switch to remove the references in the
2012 source code even when the lines are not numbered: the labels can
2015 * org.el (org-fontify-whole-heading-line): New option.
2016 (org-set-font-lock-defaults): Use the new option.
2018 * org-clock.el (org-show-notification-handler): New option.
2019 (org-show-notification): Use the new option.
2021 2009-08-06 Bastien Guerry <bzg@altern.org>
2023 * org.el (org-eval-in-calendar): Fix a bug about calendar
2024 navigation when `calendar-setup' value is 'calendar-only.
2026 2009-08-06 Bastien Guerry <bzg@altern.org>
2028 * org.el (orgstruct++-mode): Fix typo in docstring.
2029 (org-insert-link): Clean up: (or (...)) => (...)
2030 (org-insert-link): Use TAB for stored links completion.
2032 2009-08-06 Bastien Guerry <bzg@altern.org>
2034 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2035 building the list of targets.
2037 * org-remember.el (org-remember-delete-empty-lines-at-end): New
2039 (org-remember-handler): Use the new option.
2041 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
2043 * org.el (org-tags-sort-function): New option for sorting tags.
2044 (org-set-tags): Use the new option to sort tags.
2046 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2047 premature deletion of the data when using org-plot in a script.
2049 2009-08-06 Bastien Guerry <bzg@altern.org>
2051 * org-clock.el (org-clock-in-prepare-hook): New hook.
2052 (org-clock-in): Use this new hook.
2054 2009-08-06 Bastien Guerry <bzg@altern.org>
2056 * org.el (org-special-ctrl-a/e): Explicitely bind the value
2057 'reversed for this option to the "true line boundary first"
2059 (org-tags-match-list-sublevels): Document the 'indented value for
2062 * org-latex.el (org-export-latex-first-lines): Fix problem with
2063 publishing the region.
2065 * org-exp.el (org-export-format-source-code-or-example): Fix
2066 bad line numbering when exporting examples in HTML.
2068 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
2070 * org-colview.el (org-format-time-period): Formats a time in
2071 fractional days as days, hours, mins, seconds.
2072 (org-columns-display-here): Add special handling for SINCE and
2073 SINCE_IA to format for display.
2075 * org.el (org-time-since): Add a function to get the time since an
2077 (org-entry-properties): Add two new special properties: SINCE and
2078 SINCE_IA. These give the time since any active or inactive
2079 timestamp in an entry.
2080 (org-special-properties): Add SINCE, SINCE_IA.
2081 (org-tags-sort-function): Add custom declaration for tags
2083 (org-set-tags): Sort tags if org-tags-sort-function is set.
2085 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2087 * org-clock.el (org-clock-goto): Find hidden headlines as well.
2089 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2091 * org-plot.el (org-plot/add-options-to-plist): Add timeind
2094 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2096 * org-publish.el (org-publish-remove-all-timestamps): New function.
2097 (org-publish-all): Remove all timestamp files if `org-publish-all'
2098 is called with a prefix argument.
2100 * org-list.el (org-indent-item): Fix typo.
2101 (org-item-indent-positions): Normalize ordered bullet.
2103 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2105 * org-macs.el (org-set-local): Make a local variable, do not make
2106 the variable buffer-local!
2108 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2110 * org-exp.el (org-infile-export-plist): Read BIND lines.
2111 (org-install-letbind): New function.
2112 (org-export-as-org, org-export-preprocess-string): Call
2113 `org-install-letbind'.
2115 * org-list.el (org-list-demote-modify-bullet): New option.
2116 (org-first-list-item-p): Save point.
2117 (org-fix-bullet-type): New optional argument FORCE-BULLET.
2118 (org-indent-item): Honor `org-list-demote-modify-bullet'.
2119 (org-item-indent-positions): Return bullet types along with
2122 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2124 * org.el (org-show-entry): Hide drawers.
2126 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2128 * org-footnote.el (org-footnote-auto-adjust): New option.
2129 (org-footnote-auto-adjust-maybe): New function.
2130 (org-footnote-new, org-footnote-delete): Call
2131 `org-footnote-auto-adjust-maybe'.
2133 * org.el (org-startup-options): Add new footnote-related
2136 * org-publish.el (org-publish-timestamp-filename): Additional
2137 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2138 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2139 TRUE-PUB-DIR. Pass them through to
2140 `org-publish-timestamp-filename'.
2141 (org-publish-update-timestamp): Additional arguments PUB-DIR and
2142 PUB-FUNC, which are included in the hash.
2143 (org-publish-file): Delay timestamp test until the publishing
2146 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2148 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2149 setting the deadline.
2151 * org.el (org-read-date-final-answer): New variable.
2152 (org-read-date): Store the final answer string, including the date
2153 from the calendar, for reuse by agenda bulk commands.
2155 * org-publish.el (org-publish-attachment): Fix publishing of
2158 * org-latex.el (org-export-latex-quotation-marks): Fix export of
2159 quotation makrs in parenthesis.
2160 (org-remove-initial-hash): New function.
2161 (org-export-latex-preprocess): Fix bug with infinite loop if
2162 environment is not properly closed.
2164 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2167 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2168 highlight also when indented.
2170 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2172 * org-footnote.el (org-footnote-renumber-fn:N): New command.
2173 (org-footnote-action): Offer renumbering.
2175 * org.el (org-cycle): Honor the `integrate' value of
2176 org-cycle-include-plain-lists'.
2178 * org-list.el (org-cycle-include-plain-lists): New allowed value
2179 `internal'. Improve the docstring.
2181 * org.el (org-set-autofill-regexps): Improve the paragraph-start
2182 regexp to work better with LaTeX commands.
2184 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2186 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2189 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2191 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2194 * org.el (org-map-entries): No longer force
2195 `org-tags-match-list-sublevels' to t during a todo-only tags
2198 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2200 * org-latex.el (org-export-latex-low-levels): Allow user-defined
2202 (org-export-latex-subcontent): Handle user-defined environment.
2204 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2205 the View dispatcher.
2207 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2210 * org-latex.el (org-export-as-pdf): Protect match data during call
2211 to shell-quote-argument.
2213 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2214 (org-agenda-view-mode-dispatch): New function.
2216 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2218 * org-agenda.el (org-agenda-mode): Reset list of marks.
2219 (org-agenda-mode-map): Define new keys for refile and bulk action.
2220 (org-agenda-menu): Add menu itesm for refile and bulk action.
2221 (org-agenda-refile): New function.
2222 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2223 (org-agenda-marked-entries): New variable.
2224 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2225 (org-agenda-remove-all-bulk-action-marks)
2226 (org-agenda-bulk-action): New functions/commands.
2228 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2230 * org-exp.el (org-get-file-contents): Protect org-like lines in
2232 (org-export-format-source-code-or-example): Remove newlines.
2234 * org-latex.el (org-export-latex-links): Check for no-description
2237 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2238 argument separator back to comma.
2239 (org-export-normalize-links): Mark links without description.
2241 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2243 * org-exp.el (org-infile-export-plist): Fix bug in macro
2246 * org-agenda.el (org-agenda-clock-out): Update line after clocking
2248 (org-agenda-highlight-todo): Fix bug with highlighting.
2250 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2252 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2253 new alignment strings.
2255 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2257 (org-table-align): Check for forced align type.
2259 * org.el (org-self-insert-command): Add yas/expand to command
2262 * org-clock.el (org-clock-in-hook): New hook.
2263 (org-clock-in): Run `org-clock-in-hook.
2264 (org-clock-out-hook): New hook.
2265 (org-clock-out): Run `org-clock-out-hook.
2266 (org-clock-cancel-hook): New hook.
2267 (org-clock-cancel): Run `org-clock-cancel-hook.
2268 (org-clock-goto-hook): New hook.
2269 (org-clock-goto): Run `org-clock-goto-hook.
2271 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2273 * org.el (org-store-link): Better default description for link to
2276 * org-exp.el (org-export-generic): Autoload the generic exporter
2278 (org-export): Implement the `g' key for the generic exporter.
2280 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2282 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2285 * org-exp.el (org-infile-export-plist): Get macros also from
2288 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2290 * org-colview.el (org-columns-capture-view): Protect vertical bars
2292 (org-columns-capture-view): Exclude comment and archived trees.
2294 * org-colview-xemacs.el (org-columns-capture-view): Protect
2295 vertical bars in column values.
2296 (org-columns-capture-view): Exclude comment and archived trees.
2298 * org.el (org-quote-vert): New function.
2300 * org-latex.el (org-export-latex-verbatim-wrap): New option.
2302 * org-exp.el (org-export-format-source-code-or-example): Use
2303 `org-export-latex-verbatim-wrap'.
2305 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2308 2009-08-06 Eric Schulte <schulte.eric@gmail.com>
2310 * org-exp-blocks.el: New file.
2312 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2314 * org-remember.el (org-remember-templates): Allow the headline
2315 element to be a function.
2316 (org-remember-apply-template): If the headline is a function, call
2317 it to get the true function.
2319 * org-clock.el (org-clock-menu): New function.
2320 (org-clock-update-mode-line): Update help string.
2321 (org-clock-modify-effort-estimate): New function.
2322 (org-clock-mark-default-task): New function.
2324 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2326 (org-org-menu): Add new clocking stuff.
2327 (org-clock-is-active): New function.
2329 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2331 * org.el (org-open-non-existing-files): Improve docstring.
2333 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2335 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2337 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2339 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2341 * org-list.el (org-get-checkbox-statistics-face): Use the new
2344 * org-faces.el (org-checkbox-statistics-todo)
2345 (org-checkbox-statistics-done): New faces.
2347 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2349 * org-latex.el (org-export-latex-use-verb): New variable.
2350 (org-export-latex-emph-format): Prefer \texttt over \verb when
2351 org-export-latex-use-verb is set.
2353 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2355 * org-remember.el (org-remember-handler): Abort remember if the
2358 * org-exp.el (org-export-format-source-code-or-example): Run
2359 `org-src-mode-hook'.
2361 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2363 * org.el (org-indent-line-function): Fix indentation of +#end lines.
2365 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
2367 * org-gnus.el (org-gnus-store-link): Require message.el in
2368 org-gnus-store-link.
2370 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2372 * org-src.el: New file, split out of org.el.
2374 * org-macs.el (org-replace-match-keep-properties): New function.
2376 * org-exp.el (org-export-mark-blockquote-verse-center): Better
2377 preprocessing of center and quote and verse blocks.
2379 * org-list.el (org-list-end): Respect the stored "original"
2380 indentation when determining the end of the list.
2382 * org-exp.el (org-export-replace-src-segments-and-examples):
2383 Remember indentation correctly.
2385 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2387 * org-clock.el (org-clock-update-mode-line): Apply face
2388 org-mode-line-clock.
2390 * org-faces.el (org-mode-line-clock): New face.
2392 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
2394 * org-gnus.el (org-gnus-store-link): Fix bug where
2395 `org-gnus-store-link' used wrong subject when called in an article
2396 buffer. Patch provided by fengli AT gmail DOT com.
2398 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2400 * org-exp.el (org-export-format-source-code-or-example): Remember
2401 the original indentation of source code snippets and examples.
2403 * org-latex.el (org-export-as-latex): Relocate the table of
2406 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2408 * org-agenda.el (org-run-agenda-series): Scope global options also
2409 when creating the agenda buffer.
2411 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2413 * org.el (org-adapt-indentation): Improve documentation.
2414 (org-insert-property-drawer): Respect org-adapt-indentation when
2415 inserting the drawer.
2416 (org-remove-flyspell-overlays-in): New function.
2417 (org-do-emphasis-faces, org-activate-plain-links)
2418 (org-activate-code, org-fontify-meta-lines-and-blocks)
2419 (org-activate-angle-links, org-activate-footnote-links)
2420 (org-activate-bracket-links, org-activate-dates)
2421 (org-activate-target-links, org-activate-tags): Remove flyspell
2424 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2426 * org.el (org-edit-src-save): New function.
2428 * org-clock.el (org-clock-out-switch-to-state): New option.
2429 (org-clock-out): Honor `org-clock-out-switch-to-state'.
2431 * org-compat.el (org-compatible-face): Improve macro.
2433 * org.el (org-global-properties-fixed): Add default for
2434 CLOCK_MODELINE_TOTAL.
2436 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2438 (org-clock-sum-current-item): Optional argument TSTART, pass it to
2440 (org-clock-get-sum-start): New function.
2442 * org.el (org-startup-options): New keywords blockhide and
2444 (org-mode): Add new invisibility spec.
2445 (org-set-startup-visibility): Hide block on startup if so
2447 (org-hide-block-startup): New option.
2448 (org-block-regexp): New constant.
2449 (org-hide-block-overlays): New variable.
2450 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2451 (org-show-block-all, org-hide-block-toggle-maybe)
2452 (org-hide-block-toggle): New functions.
2453 (org-edit-src-exit): Do not quote lines starting with # and no +
2455 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2458 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2460 * org.el (org-buffer-property-keys): Add Effort property for
2463 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2465 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2466 when retrieving total clocked time in the subtree.
2468 * org.el (org-quoting-blocks): New variable.
2470 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2472 * org-table.el (org-table-store-formulas)
2473 (org-table-get-stored-formulas, org-table-fix-formulas)
2474 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2475 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2477 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2478 indented #+TBLFM line.
2480 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2481 indented #+TBLFM line.
2483 * org-colview.el (org-dblock-write:columnview): Allow indented
2486 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2487 indented #+TBLFM line.
2489 * org-clock.el (org-dblock-write:clocktable): Allow indented
2492 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2494 * org-exp.el (org-export-format-source-code-or-example): Make
2495 editing indented blocks work correctly.
2497 * org.el (org-edit-src-nindent): New variable.
2498 (org-edit-src-code, org-edit-fixed-width-region)
2499 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2500 editing indented blocks work correctly.
2502 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2504 * org-exp.el (org-export-replace-src-segments-and-examples): Find
2506 (org-export-format-source-code-or-example): Fix indentation of
2508 (org-export-remove-indentation): New function.
2509 (org-export-select-backend-specific-text): Allow backend-specific
2510 code to be indented.
2511 (org-export-mark-blockquote-verse-center): Allow markers to be
2514 * org.el (org-fontify-meta-lines): New function.
2515 (org-set-font-lock-defaults): Call the new fontification
2518 * org-faces.el (org-meta-line): New face
2519 (org-block): New face.
2521 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2523 * org.el (org-treat-insert-todo-heading-as-state-change)
2524 (org-treat-S-cursor-todo-selection-as-state-change): New
2526 (org-insert-todo-heading): Honor
2527 `org-treat-insert-todo-heading-as-state-change'.
2528 (org-shiftright, org-shiftleft): Honor
2529 `org-treat-S-cursor-todo-selection-as-state-change'.
2530 (org-inhibit-logging): New variable.
2532 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2534 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2535 range for marker position checking.
2537 * org-latex.el (org-export-latex-first-lines): Fix bug when
2540 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2542 * org-exp.el (org-export-push-to-kill-ring): Protect using
2543 x-set-selection, because that does not always work.
2545 * org-agenda.el (org-agenda-list): Apply the new face
2546 `org-agenda-date-today'.
2548 * org-faces.el (org-agenda-date-today): New face.
2550 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2552 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2553 creating appointments.
2555 * org-latex.el (org-export-latex-low-levels): Fix customization
2558 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2561 * org-agenda.el (org-agenda-priority): Disable priority commands.
2563 * org.el (org-enable-priority-commands): New option.
2565 * org-colview-xemacs.el (org-columns-compute)
2566 (org-columns-number-to-string): Fix problems with empty fields.
2568 * org-colview.el (org-columns-compute)
2569 (org-columns-number-to-string): Fix problems with empty fields.
2571 * org-exp.el (org-export-push-to-kill-ring): New function.
2572 (org-export-copy-to-kill-ring): New option.
2574 * org-latex.el (org-export-as-latex): Call
2575 `org-export-push-to-kill-ring'.
2577 * org-exp.el (org-export-show-temporary-export-buffer): New
2580 * org-latex.el (org-export-as-latex): Use
2581 `org-export-show-temporary-export-buffer'.
2583 * org-exp.el (org-export-show-temporary-export-buffer): New
2585 (org-export-push-to-kill-ring): New function.
2587 * org-colview.el (org-columns-compile-map): New variable.
2588 (org-columns-new, org-columns-compute)
2589 (org-columns-number-to-string, org-columns-uncompile-format)
2590 (org-columns-compile-format): Implement new operators.
2592 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2594 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2596 * org-list.el (org-update-checkbox-count): Make property
2599 * org.el (org-hierarchical-todo-statistics): New option.
2600 (org-update-parent-todo-statistics): Modify to handle recursive
2603 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2605 * org-publish.el (org-publish): Make this function behave
2606 correctly in interactive use when called with a prefix argument.
2608 * org.el (org-todo-statistics-hook): New hook.
2609 (org-update-parent-todo-statistics): Use new hook.
2610 (org-log-into-drawer): New function.
2611 (org-add-log-setup): Use the new `org-log-into-drawer' function to
2612 determine if we should be logging into a drawer.
2613 (org-log-into-drawer): Update docstring.
2614 (org-default-properties): Add LOG_INTO_DRAWER as a property.
2616 * org-list.el (org-checkbox-statistics-hook): New hook.
2617 (org-update-checkbox-count-maybe): Use new hook.
2619 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2621 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2622 better bufer-generating mechanism.
2623 (org-edit-src-find-buffer): New function.
2625 * org-icalendar.el (org-print-icalendar-entries): Don't check for
2626 archive tag, this is already done by `org-agenda-skip'.
2627 data while constructing lost of tags.
2629 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2631 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2632 as argument separator in macros.
2634 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2636 * org.el (org-after-sorting-entries-or-items-hook): New hook.
2637 (org-sort-entries-or-items): Run the new hook.
2638 (org-after-refile-insert-hook): New hook.
2639 (org-refile): Run `org-after-refile-insert-hook'.
2641 * org-agenda.el (org-agenda-get-progress): Never take time of day
2642 from headline when displaying progress.
2644 * org-latex.el (org-export-latex-complex-heading-re): New variable.
2645 (org-export-as-latex): Force the correct regexp in the
2646 preprocessor buffer.
2647 (org-export-latex-set-initial-vars): Set
2648 `org-export-latex-complex-heading-re'.
2650 * org-agenda.el (org-agenda-start-with-log-mode): New option.
2651 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2653 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2655 * org-latex.el (org-export-latex-tables-centered): New option.
2656 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2658 * org-exp.el (org-export-as-org): New command.
2659 (org-export-as-org): New command.
2661 * org-publish.el (org-publish-org-to-org): New function.
2663 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2665 * org.el (org-yank): Just call `org-yank-generic'.
2666 (org-yank-generic): New function, containing the formaer
2667 functionality of `org-yank'.
2669 * org-latex.el (org-export-latex-not-done-keywords)
2670 (org-export-latex-done-keywords): New variables.
2671 (org-export-latex-todo-keyword-markup): New option.
2672 (org-export-latex-set-initial-vars): Remember the TODO keywords.
2673 (org-export-latex-keywords-maybe): Apply the TODO markup.
2675 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2677 * org-exp.el (org-infile-export-plist): Add more default macros.
2678 (org-export-preprocess-apply-macros): Process macro arguments.
2680 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2682 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
2684 (org-print-icalendar-entries): Respect the new value of
2685 `org-icalendar-include-todo'.
2687 * org.el (org-link-try-special-completion)
2688 (org-file-complete-link): New functions.
2689 (org-insert-link): Add special completion support for some link
2692 * org-bbdb.el (org-bbdb-complete-link): New function.
2694 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2696 * org-list.el (org-update-checkbox-count): Allow recursive
2698 (org-hierarchical-checkbox-statistics): New option.
2700 * org.el (org-cycle): Remove erraneous space character.
2702 * org-icalendar.el (org-icalendar-timezone): Initialize from
2705 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2707 * org.el (org-autoload): Fix autoloading of ascii export
2709 (org-modules): Add org-special-blocks.
2711 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2713 * org-icalendar.el (org-start-icalendar-file): Use the new option.
2714 (org-ical-timezone): New option.
2716 * org-exp.el (org-export-get-coderef-format): Use the description
2719 * org.el (org-sort-entries-or-items): Improve docstring, and make
2720 better implementation for time sorting.
2722 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2724 * org.el (org-edit-src-persistent-message): New option.
2725 (org-edit-src-code, org-edit-fixed-width-region): Use the new
2728 * org-clock.el (org-clock-insert-selection-line): Fix prefious
2731 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
2732 separate buffer instead of indirect buffer to edit source code.
2733 (org-edit-src-exit): Make this function work with the new setup.
2735 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
2736 are properly fontified before shown in the selection menu.
2738 * org.el (org-fontify-like-in-org-mode): New function.
2740 * org-latex.el (org-export-latex-links): Use the property list to
2741 retrieve the default image attributes.
2743 * org-exp.el (org-export-plist-vars): Add a new option.
2745 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2747 * org-exp.el (org-export, org-export-visible): Support ASCII
2749 (org-export-normalize-links): Do not protect the description if it
2750 is explicitly given.
2752 * org-list.el (org-reset-checkbox-state-subtree): Move here from
2754 (org-reset-checkbox-state-subtree): Call
2755 `org-reset-checkbox-state-subtree'.
2757 * org-remember.el (org-select-remember-template): For the
2758 selection of a valid template.
2760 * org-latex.el (org-export-region-as-latex): Supply the
2761 force-no-subtree argument.
2762 (org-export-as-latex): Provide better limits when exporting the
2763 first line. When exporting to string, we still want the first
2765 (org-export-latex-first-lines): New argument END, to force the end
2767 (org-export-region-as-latex): Use the property list.
2768 (org-export-as-latex):
2770 * org-colview-xemacs.el (org-columns-remove-overlays)
2771 (org-columns): Fix call to `local-variable-p'.
2773 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2775 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
2776 (org-export-latex-preprocess): Run the new hook.
2778 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
2779 (org-export-preprocess-string): Run the new hook.
2781 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2783 * org-macs.el (org-check-external-command): New defsubst.
2785 * org.el (org-mode-map): New key for reload.
2786 (org-format-latex): Better error message when external programs
2789 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
2791 * org.el (org-sort-entries-or-items): Explicit sorting function
2792 for priorities, needed for XEmacs compatibility.
2794 * org-remember.el (org-remember-apply-template): Improve auto-save
2797 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2799 * org-latex.el (org-export-latex-preprocess): Also protect
2800 environments ending in a star.
2802 * org-list.el (org-at-item-p): Fix regular expression.
2804 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2806 * org.el (org-end-of-subtree): Improve speed.
2808 * org-agenda.el (org-agenda-get-timestamps)
2809 (org-agenda-get-progress, org-agenda-get-deadlines)
2810 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
2811 in particular, wait as long as possible to collect the tags.
2812 (org-stuck-projects): Improve docstring.
2814 * org.el (org-store-link): No errors when getting custom id before
2816 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
2818 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2820 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
2822 * org-protocol.el: Remove dependency on url.el.
2823 (org-protocol-unhex-compound, org-protocol-open-source): Remove
2824 dependency on url.el.
2826 * org-latex.el (org-export-as-pdf): Use
2827 `org-latex-to-pdf-process'.
2829 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2831 * org-latex.el (org-latex-to-pdf-process): New option.
2833 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
2835 (org-agenda-get-timestamps): Honor
2836 `org-agenda-skip-additional-timestamps-same-entry'.
2838 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
2839 (org-clock-goto): Find recent task only if
2840 `org-clock-goto-may-find-recent-task' allows it.
2842 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
2843 drawers, and drawers that are missing the :END: line.
2845 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2847 * org-clock.el (org-clock-goto): Go to recently clocked task if no
2850 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2852 * org.el (org-update-parent-todo-statistics): Check for
2853 STATISTICS_FROM property.
2855 * org-list.el (org-update-checkbox-count): Check for
2856 STATISTICS_FROM property.
2858 * org.el (org-tab-first-hook)
2859 (org-tab-after-check-for-table-hook)
2860 (org-tab-after-check-for-cycling-hook): New hooks.
2861 (org-cycle-internal-global, org-cycle-internal-local): New
2862 functions, split out from `org-cycle'.
2863 (org-cycle): Call the new hooks.
2865 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2867 * org-exp.el (org-export-preprocess-string): Reset the list of
2868 preferred targets for each run of the preprocessor.
2870 * org.el (org-refile-target-verify-function): Improve
2872 (org-get-refile-targets): Respect point being moved by the
2873 verification function.
2875 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
2877 (org-export-latex-keywords): Use new option.
2879 * org.el (org-rear-nonsticky-at): New defsubst.
2880 (org-activate-plain-links, org-activate-angle-links)
2881 (org-activate-footnote-links, org-activate-bracket-links)
2882 (org-activate-dates, org-activate-target-links)
2883 (org-activate-tags): Place the rear-nonsticky properties at the
2886 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2888 * org-protocol.el (server-edit): Declare `server-edit'.
2889 (org-protocol-unhex-string, org-protocol-unhex-compound): New
2891 (org-protocol-check-filename-for-protocol): Call `server-edit'.
2893 * org.el (org-default-properties): New default properteis for
2896 * org-exp.el (org-export-add-subtree-options): Add new properties
2899 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2901 * org-id.el (org-id-get-with-outline-path-completion): Turn off
2902 org-refile-target-verify-function for the duration of the command.
2904 * org.el (org-link-to-org-use-id): New possible value
2905 `create-if-interactive-and-no-custom-id'.
2906 (org-store-link): Use custom IDs.
2907 (org-link-search): Find custom ID properties from #link.
2908 (org-default-properties): Add CUSTOM_ID for property completion.
2909 (org-refile-target-verify-function): New option.
2910 (org-goto): Turn off org-refile-target-verify-function
2911 for the duration of the command.
2913 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2915 * org-exp.el (org-export-preferred-target-alist): New variable.
2916 (org-export-define-heading-targets): Find the new CUSTOM_ID
2918 (org-export-target-internal-links): Target the custom ids when
2921 * org-latex.el (org-export-latex-preprocess): Better regexp for
2922 matching latex macros with arguments.
2924 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2926 * org-remember.el (org-remember-handler): Allow filing to non-org
2929 2009-08-06 Magnus Henoch <magnus.henoch@gmail.com>
2931 * org-table.el (org-table-fix-formulas): Do not change references
2933 (org-table-get-remote-range): Convert standard coordinates to RC
2936 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
2938 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2940 * org-compat.el (org-sha1-string): Function removed.
2942 * org.el (org-refile-allow-creating-parent-nodes): New option.
2943 (org-refile-get-location): New argument NEW-NODES.
2944 (org-refile): Call `org-refile-get-location' with the new
2946 (org-refile-get-location): Arrange for adding a new child.
2947 (org-refile-new-child): New function.
2949 * org-clock.el: Fix a number of docstrings.
2950 (org-clock-find-position): New argument
2951 FIND-UNCLOSED to make the function find an unclosed clock in the
2953 (org-clock-in): Call `org-clock-find-position' with the new
2954 argument if we might be resuming a clock.
2956 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2958 * org-latex.el (org-export-latex-display-custom-times): New variable.
2959 (org-export-latex-timestamp-markup): New option.
2960 (org-export-latex-set-initial-vars): Remember the local value of
2961 `org-display-custom-times'.
2962 (org-export-latex-content): Process time stamps.
2963 (org-export-latex-time-stamps): New function.
2965 * org-macs.el (org-maybe-intangible): Add intangible property
2966 again to invisible text.
2968 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2970 * org-exp.el (org-default-export-plist): Handle undefined
2973 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2975 * org.el (org-sort-entries-or-items): Match TODO keywrds
2976 case-sensitively, when sorting.
2977 (org-priority): Do not match TODO keywords with wrong case.
2979 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2981 * org.el (org-todo): Honor the NOBLOCKING property.
2983 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
2984 NOBLOCKING property.
2986 * org.el (org-scan-tags): Fix bug in tag scanner.
2988 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2990 * org.el (org-modules): Mark obsolete packages.
2992 * org-html.el: New file, split out from org-exp.el.
2994 * org-icalendar.el: New file, split out from org-exp.el.
2996 * org-xoxo.el: New file, split out from org-exp.el.
2998 * org-ascii.el: New file, split out from org-exp.el.
3000 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3002 * org-compat.el (org-find-library-name): New function.
3004 * org.el (org-pre-cycle-hook): New hook.
3005 (org-cycle): Call the new hook in appropriate places.
3006 (org-reload): Only reload files that have been loaded before.
3008 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3010 * org.el (org-set-font-lock-defaults): Enforxe space or line end
3012 (org-todo): When changing TODO state, do matching
3014 (org-map-continue-from): New variable.
3015 (org-scan-tags): Respect values in `org-map-continue-from'.
3016 (org-reload): Make XEmacs compatible.
3018 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3020 * org-protocol.el (org-protocol-flatten-greedy): New function.
3021 (org-protocol-flatten): New function.
3023 * org.el (org-open-link-from-string): Pass reference buffer to
3024 `org-open-at-point'.
3025 (org-open-at-point): New optional argument `reference-buffer'.
3027 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3029 * org.el (org-scan-tags): Make tag scan find headline in first
3031 (org-get-refile-targets): Add the naked file name.
3032 (org-refile): Store as top-level entry when only file name was
3035 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3037 * org.el (org-block-todo-from-children-or-siblings-or-parent):
3038 Rename from org-block-todo-from-children-or-siblings, and
3039 enhanced to look for the parent's status as well.
3041 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3042 (org-agenda-get-progress): Add first notes line to log entry if so
3045 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3047 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3048 (org-agenda-cleanup-fancy-diary): Call the new hook.
3050 * org-remember.el (org-remember-apply-template): Take the default
3051 for the annotation from the :annotation property.
3053 * org-mac-message.el (org-mac-message-get-link): Remove the
3055 (org-mac-message-get-link): Return the result.
3057 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3059 * org.el (org-refile-get-location): Add file name only if not
3060 already included in outline path.
3062 * org-faces.el (org-n-level-faces): Fix customization type from
3065 * org-exp.el (org-export-headline-levels): Fix customization type
3066 from number to integer.
3068 * org-agenda.el (org-agenda-confirm-kill)
3069 (org-agenda-custom-commands-local-options)
3070 (org-timeline-show-empty-dates, org-agenda-ndays)
3071 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3072 customization type from number to integer.
3074 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3076 * org-protocol.el: Declare some functions.
3078 * org-agenda.el (org-agenda-compare-effort): Honor
3079 `org-sort-agenda-noeffort-is-high'.
3080 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3081 (org-agenda-compare-effort): Implement the "?" operator for
3082 finding entries without effort setting.
3084 * org.el (org-extract-attributes-from-string): New function.
3086 * org-exp.el (org-export-splice-attributes): New function.
3088 2009-08-06 Bastien Guerry <bzg@altern.org>
3089 Daniel M German <dmg@uvic.org>
3090 Sebastian Rose <sebastian_rose@gmx.de>
3091 Ross Patterson <me@rpatterson.net>
3093 * org-protocol.el: New file.
3095 2009-08-06 Baoqiu Cui <cbaoqiu@yahoo.com>
3097 * org-docbook.el: New file.
3099 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3101 * org-mouse.el: XEmacs compatibility fixes.
3103 * org.el (org-modules): Add org-inlinetasks.el
3104 (org-cycle): Implement limiting level on cycling.
3105 (org-move-subtree-down): Fix bug with swapping subtrees at end of
3108 * org-inlinetask.el: New file.
3110 * org.el (org-emphasis-regexp-components): Allow braces in
3111 emphasis pre and post match.
3113 * org-footnote.el (org-footnote-normalize): When only dorting, do
3114 not insert inline notes at the end.
3116 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3118 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3120 * org.el (org-reftex-citation): New command.
3122 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3124 * org-agenda.el (org-agenda-cmp-user-defined): New option.
3125 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3127 (org-entries-lessp): Apply the new sorting option.
3129 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3130 blocker code, when an older sibling has children.
3132 * org-mac-message.el (org-mac-message-get-link): Improve getting
3133 links from multiple selected messages.
3135 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3137 * org-remember.el (org-remember-finalize): Do not set buffer file
3139 (org-remember-handler): Mark buffer as unmodified.
3140 (org-remember-handler): Delete backup file and show message about
3141 remaining backup files.
3142 (org-remember-auto-remove-backup-files): New option.
3144 * org.el (org-store-link): Use buffer name as link description in
3146 (org-ido-switchb): Fix argument bug for completion.
3148 * org-remember.el (org-remember-apply-template): Set local
3149 variable `auto-save-visited-file-name' instead of global one.
3151 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3153 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3154 (org-agenda-get-todos): Mark file tags as inherited.
3155 (org-agenda-list): Always search diary lines for a time.
3157 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3159 * org-feed.el: New file.
3161 * org-exp.el (org-export-as-html): Close local lists depending on
3162 indentation, also when starting a table.
3164 * org-remember.el (org-remember-backup-directory)
3165 (org-remember-backup-name): New internal variable.
3167 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3169 * org-clock.el (org-clock-out-if-current): Make buffer detection
3170 work in indirect buffers as well.
3172 * org.el (org-emphasis-regexp-components): Add the exxclamation
3173 mark to the post-emphasis characters.
3175 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3177 * org.el (org-read-date-minibiffer-septup-hook): New hook.
3178 (org-read-date): Run the new hook.
3180 * org-mac-message.el (org-mac-flagged-mail): New group.
3181 (org-mac-mail-account): New variable.
3182 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3185 * org-remember.el (org-remember-backup-directory): New variable.
3186 (org-remember-apply-template): Write file to backup directory.
3188 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3190 * org-mouse.el (org-mouse-todo-menu): New function.
3191 (org-mouse-todo-keywords): Function removed.
3192 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3194 * org-table.el (org-table-beginning-of-field)
3195 (org-table-end-of-field): New commands
3196 (org-table-previous-field, org-table-beginning-of-field): Better
3198 (orgtbl-setup): Include `M-a' and `M-e'.
3200 * org.el (org-backward-sentence, org-forward-sentence): New
3203 * org-colview.el (org-colview-initial-truncate-line-value): New
3205 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3206 (org-columns): Remember the value of `truncate-lines'.
3208 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3210 (org-columns-remove-overlays): Restore the value of
3212 (org-columns): Remember the value of `truncate-lines'.
3214 * org.el (org-columns-skip-arrchived-trees): New option.
3216 * org-agenda.el (org-agenda-export-html-style): Define color for
3217 org-agenda-done face.
3218 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3219 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3221 * org.el (org-scan-tags): Use the new face.
3223 * org-faces.el (org-agenda-done): New face.
3225 * org.el (org-scan-tags): Test the value org
3226 `org-tags-match-list-sublevels'.
3227 (org-tags-match-list-sublevels): New allowed value: indented.
3229 * org-latex.el (org-export-latex-make-header): Apply macros
3232 * org-exp.el (org-export-apply-macros-in-string): New function.
3234 * org-latex.el (org-export-latex-list-parameters): Fix bug
3235 with the definition of a checked box.
3237 * org-clock.el (org-clock-find-position): Fix drawer indentations.
3239 * org-latex.el (org-export-latex-low-levels): More options
3240 for how to process lower levels in LaTeX.
3241 (org-export-latex-subcontent): Better treatment for lists as a
3242 means of publishing lower levels.
3244 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3246 * org.el (org-set-font-lock-defaults): Use new checkbox face.
3248 * org-faces.el (org-checkbox): New face.
3250 * org-exp.el (org-export-html-preprocess): Only create LaTeX
3251 fragement images if there is an export file.
3253 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3255 * org-agenda.el (org-stuck-projects): Document that the subtree of
3256 projects that are not stuck will now be searched for stuck
3258 (org-agenda-skip-entry-when-regexp-matches)
3259 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3260 (org-agenda-list-stuck-projects): Use
3261 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3263 * org-latex.el (org-export-latex-preprocess): Improve
3266 * org-exp.el (org-export-as-html): Implement centering as a div
3267 rather than a paragraph. Do a better job with line-end in verse
3270 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3272 * org.el (org-open-at-point): Fix tags searches by mouse click.
3274 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3276 * org-latex.el (org-export-latex-preprocess): Implement the
3279 * org-exp.el (org-export-mark-blockquote-verse-center): Rename
3280 from `org-export-mark-blockquote-and-verse'.
3281 (org-export-as-html): Implement the centering markup.
3283 * org-latex.el (org-export-latex-tables): Fix vertical
3286 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3288 * org.el (org-read-date-history): New variable.
3289 (org-read-date): Use new history variable.
3290 (org-toggle-heading): Fix bug when used before first headline.
3291 (org-store-log-note): Remove drawer if empty while note is
3293 (org-remove-empty-drawer-at): New function.
3294 (org-check-after-date): New command.
3295 (org-sparse-tree): New sparse tree command "a".
3297 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3299 2009-08-06 Bastien Guerry <bzg@altern.org>
3301 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3302 column and a space, not only a column.
3304 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3306 * org-latex.el (org-export-latex-emphasis-alist): Better
3307 defaults for verbose emphasis.
3308 (org-export-latex-emph-format): New function.
3309 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3311 * org-agenda.el (org-agenda-menu): Add new commands to menu.
3312 (org-agenda-do-date-later, org-agenda-do-date-earlier)
3313 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3314 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3317 * org.el (org-timestamp-change): Move end-time along with start
3320 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3322 * org-exp.el (org-export-target-internal-links)
3323 (org-export-as-html): Protect links specified as #name.
3325 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3327 * org.el (org-clone-subtree-with-time-shift): New command.
3329 * org-latex.el (org-export-latex-special-chars)
3330 (org-export-latex-treat-sub-super-char): Fix subscript export.
3332 * org-exp.el (org-create-multibrace-regexp): Do not add
3333 backslashes to the class.
3335 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3337 * org-colview.el (org-columns-map): Better functions for moving up
3338 and down a row, even if `truncate-line' is nil.
3340 * org.el (org-insert-todo-heading): Make sure the keyword is
3341 inserted at the correct position.
3343 * org-publish.el (org-publish-project-alist)
3344 (org-publish-projects, org-publish-org-index): Change default anme
3345 for the index of file names to "sitemap.org".
3347 * org-latex.el (org-export-latex-tables): Use
3348 `org-split-string', for Emacs 21 compatibility.
3350 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3352 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3354 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3356 * org-exp.el (org-export-page-description)
3357 (org-export-page-keywords): New variables.
3358 (org-export-plist-vars): Add entries for :keywords and
3360 (org-infile-export-plist): Parse for new keywords.
3361 (org-get-current-options): Add new keywords
3362 (org-export-as-html): Publish description and keywords.
3364 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3366 (org-agenda-add-entry-text): Honor
3367 `org-agenda-add-entry-text-descriptive-links'.
3369 * org-latex.el (org-export-latex-preprocess): Make all
3370 external preprocess functions use a PARAMETER arg.
3372 * org-exp.el (org-export-preprocess-string)
3373 (org-export-select-backend-specific-text)
3374 (org-export-format-source-code-or-example)
3375 (org-format-org-table-html): Support docbook export.
3376 (org-export-preprocess-string): Make all external preprocess
3377 functions use a PARAMETER arg.
3379 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3381 * org-exp.el (org-export-html-style-include-scripts): New option.
3382 (org-export-plist-vars): Add new option
3383 `org-export-html-style-include-scripts'.
3384 (org-export-as-html): Honor new option
3385 `org-export-html-style-include-scripts'.
3386 (org-export-html-scripts, org-export-html-style-default): Fix
3387 xml issues with the Safari browser.
3389 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3391 * org-publish.el (org-publish-attachment): Only copy file when the
3394 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3396 * org-clock.el (org-clocktable-steps): Use inactive time stamps
3397 for clocktable steps.
3399 * org.el (org-additional-option-like-keywords): Add two more
3402 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3404 * org-exp.el (org-export-format-source-code-or-example): Mark
3405 temporary buffer unmodified, so that it will be killed even if
3406 mode like message mode has decided to assign a file name.
3408 * org.el (org-scan-tags): Improve tag inheritance.
3409 (org-scan-tags, org-make-tags-matcher): Make tag comparison
3411 (org-scan-tags): Use the internal tags list instead of creating it
3413 (org-trust-scanner-tags, org-scanner-tags): New variables.
3414 (org-scan-tags): Set `org-scanner-tags'.
3415 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3416 (org-map-entries): Document the possible speedup using scanner
3419 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3421 * org.el (org-add-planning-info): Fix bug with looking for keyword
3424 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3425 option for tags filter preset.
3426 (org-prepare-agenda): Store filter preset as a property on the
3428 (org-finalize-agenda): Call the filter, if there is a preset.
3429 (org-agenda-filter-by-tag): Filter again after clearing the
3430 filter, when there still is a preset.
3431 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3432 Include the preset filter.
3433 (org-agenda-redo): Apply the filter again, also the preset filter.
3435 * org-exp.el (org-export-as-html): Use IDs in the correct way.
3437 * org.el (org-uuidgen-p): New funtion.
3439 * org-agenda.el (org-agenda-fontify-priorities): New default value
3441 (org-agenda-fontify-priorities): Rename from
3442 org-fontify-priorities.
3444 * org.el (org-set-font-lock-defaults): Call
3445 `org-font-lock-add-priority-faces'.
3446 (org-font-lock-add-priority-faces): New function.
3448 * org-faces.el (org-set-tag-faces): New option.
3449 (org-priority-faces): New variable.
3451 * org-exp.el (org-export-as-html): Add a "content" div around the
3452 entire content of the body tag.
3453 (org-export-html-get-bibliography): New function.
3454 (org-export-html-validation-link): New variable.
3455 (org-export-as-html): Add validation link to exported page.
3457 * org.el (org-match-sparse-tree): Rename from
3458 `org-tags-sparse-tree'.
3459 (org-tags-sparse-tree): New alias.
3461 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3463 * org.el (org-get-valid-level): Catch the case where the level
3466 * org-clock.el (org-clock-find-position): Better indentation of
3469 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3471 * org-agenda.el (org-agenda-quit): Delete window only when the
3472 frame-setup was not `current-window'.
3474 * org.el (org-tag-persistent-alist): New option.
3475 (org-startup-options): Add keyword `noptag'.
3476 (org-fast-todo-selection): Handle :newline correctly.
3477 (org-set-tags): Handle :newline correctly.
3478 (org-fast-tag-selection): Handle :newline correctly.
3480 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3482 * org-exp.el (org-export-as-ascii): Reverse link buffer before
3484 (org-export-ascii-push-links): Fix bug with pussing links into the
3487 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3489 * org-archive.el (org-archive-subtree): Do not add 1 to level if
3490 pasting at top level.
3492 * org-bbdb.el: Improve documentation.
3494 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3496 * org-list.el (org-insert-item): Only consider insert empty lines
3497 is `org-empty-line-terminates-plain-lists' is not nil.
3499 * org.el (org-blank-before-new-entry): Mention the dependence on
3500 `org-empty-line-terminates-plain-lists' in the docstring.
3502 * org-publish.el (org-publish-get-project-from-filename): New
3503 optional argument UP. Only find the top project if UP is set.
3504 (org-publish-current-project): Find the top encloding project.
3506 * org-agenda.el (org-agenda-before-write-hook)
3507 (org-agenda-add-entry-text-maxlines): New options.
3508 (org-write-agenda): Run the new hook in the temporary buffer.
3509 (org-agenda-add-entry-text): New function.
3510 (org-write-agenda): Implement PDF export, using ps2pdf.
3512 * org.el (org-global-properties-fixed, org-global-properties):
3513 Improve documentation string.
3515 * org-exp.el (org-export-ascii-links-to-notes): New option.
3516 (org-export-as-ascii): Handle links better.
3517 (org-export-ascii-wrap, org-export-ascii-push-links): New
3520 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3522 * org-agenda.el (org-agenda): Make prefix arg optional.
3523 (org-agenda-search-headline-for-time): New option.
3524 (org-format-agenda-item): Honor
3525 `org-agenda-search-headline-for-time'.
3527 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3530 * org.el (org-self-insert-cluster-for-undo): New option.
3531 (org-self-insert-command): Cluster undo for 20 characters.
3532 (org-self-insert-command-undo-counter): New variable.
3534 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3536 * org-exp.el (org-export-as-html): Fix problem with closing colone
3539 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3541 * org-latex.el (org-export-as-latex)
3542 (org-export-latex-first-lines): Avoid modification flag when
3543 adding or removing text properties.
3544 (org-export-latex-fontify): Catch error when org-emph-alist has
3545 entries that are not defined for LaTeX export.
3547 * org-export-latex.el: renamed to org-latex.el.
3549 * org-latex.el: renamed from org-export-latex.el.
3551 * org.el (orgstruct++-mode): New function.
3552 (turn-on-orgstruct++): Call `orgstruct++-mode'.
3553 (org-context-p): Allow detecting item context after the first line
3555 (orgstruct-make-binding): Detect if item-body context should be
3557 (orgstruct-is-++): New variable.
3558 (org-add-planning-info): Catch the case when there is no planning
3559 info yet and the call does not want to add anything, only maybe
3560 tries to remove something.
3561 (org-special-ctrl-a/e): All value to be a cons cell with separate
3562 settings for `C-a' and `C-e'.
3563 (org-beginning-of-line, org-end-of-line): Honor separate values
3564 for `C-a' and `C-e'.
3566 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3568 * org.el (org-reload): New command.
3570 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
3572 * org-gnus.el (org-gnus-store-link): Fix bug where
3573 org-gnus-store-link used wrong subject when called in an article
3574 buffer. Patch provided by fengli AT gmail DOT com.
3576 2009-03-13 D. Goel <deego3@gmail.com>
3578 * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
3579 replace ls by (values-list ls).
3581 2009-02-20 Carsten Dominik <dominik@science.uva.nl>
3583 * org-remember.el (org-remember-apply-template): Turn off ido for
3586 * org.el (org-priority): Also find invisible headings, for remote
3588 (org-completing-read-no-ido): New function.
3589 (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
3591 * org-colview.el (org-columns-edit-value): No special treatment of
3594 2009-02-19 Carsten Dominik <dominik@science.uva.nl>
3596 * org.el (org-block-todo-from-children-or-siblings): Use
3597 `org-up-heading-all' so that this will work correctly with hidden
3598 property drawers and entries.
3599 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
3600 falling back to normal, default command.
3601 (org-get-location): Temporarily turn off special behavior.
3603 2009-02-13 Glenn Morris <rgm@gnu.org>
3605 * org-rmail.el (rmail-show-message): Restore argument list to the
3606 declaration now that this functions behaves in Emacs 23 as in 22.
3608 2009-02-12 Glenn Morris <rgm@gnu.org>
3610 * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
3612 2009-02-12 Joachim Reiter <Reiter.Joachim@web.de> (tiny change)
3614 * org-footnote.el (org-footnote-action): Fix doc typo.
3616 2009-02-06 Carsten Dominik <dominik@science.uva.nl>
3618 * org-exp.el (org-export-preprocess-string): Fix bug with skipping
3619 text before first headline.
3620 (org-export-remove-or-extract-drawers): Fix regular expression for
3623 * org.el (org-format-latex): Stop LaTeX fragment processing in
3626 2009-02-05 Glenn Morris <rgm@gnu.org>
3628 * org-rmail.el (rmail-show-message): Update declaration.
3629 (rmail-buffer, rmail-view-buffer): Declare.
3630 (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
3632 2009-02-04 Carsten Dominik <dominik@science.uva.nl>
3634 * org.el (org-return-follows-link): Revert setting
3635 `org-return-follows-link' to t by default.
3637 2009-02-02 Carsten Dominik <dominik@science.uva.nl>
3639 * org.el (org-cycle-global-at-bob): Fix typo.
3641 * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
3643 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
3645 * org.el (org-mode): Make dependence stuff work more reliably.
3646 (org-update-parent-todo-statistics): Fix bug with updating
3648 (org-yank-adjusted-subtrees, org-return-follows-link)
3649 (org-use-fast-todo-selection, org-tags-column): New default
3650 setting for variables.
3652 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
3653 ~ as verbatim delimiters, to avoid table bug.
3654 (org-export-latex-classes): Remove the a4paper option from the
3657 * org-exp.el (org-export-html-format-image): New argument
3658 PAR-OPEN, to fix XHTM validation bug.
3659 (org-export-as-html): Pass par-open to
3660 `org-export-html-format-image'.
3661 (org-export-html-footnotes-section): Use a more consistent id for
3664 * org-agenda.el (org-agenda-sorting-strategy)
3665 (org-agenda-tags-column): New default setting for variables, based
3666 on a poll what typical uses use.
3667 (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
3668 setting the blocked tag.
3670 2009-01-31 Carsten Dominik <dominik@science.uva.nl>
3672 * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
3673 only checking for blocks.
3675 * org-exp.el (org-export-html-footnotes-section): Make the div id
3678 * org-export-latex.el (org-export-latex-classes): Remove
3679 paper size option from LaTeX classes.
3681 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
3683 * org.el (org-enforce-todo-checkbox-dependencies): New option.
3684 (org-block-todo-from-checkboxes): New function.
3685 (org-todo): Make tripple prefix arg circumvent blocking.
3687 2009-01-30 Glenn Morris <rgm@gnu.org>
3689 * org-list.el (org-empty-line-terminates-plain-lists)
3690 (org-toggle-checkbox): Doc fixes.
3692 * org-table.el (org-table-clean-before-export): Fix declaration.
3694 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
3696 * org-timer.el (org-timer): Provide the timer feature.
3698 * org.el (org-require-autoloaded-modules): Add a few more files to
3699 the list of autoloaded modules.
3701 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
3703 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
3704 drawers that are unprotected.
3705 (org-export-html-format-image): Make sure inlined LaTeX fragment
3706 images remain inlined.
3708 * org.el (org-toggle-ordered-property): New function.
3709 (org-mode-map): Add a key for `org-toggle-ordered-property'.
3710 (org-org-menu): Add menu entries for TODO dependencies.
3712 * org.el (org-default-properties): Add ORDERED to the default
3713 properties, to get completion support for it.
3715 * org-list.el (org-update-checkbox-count): Update more than one cookie.
3717 * org.el (org-update-parent-todo-statistics): Update more than one
3720 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
3722 * org-agenda.el (org-agenda-get-todos): Start search from correct
3725 * org.el (org-fast-todo-selection): Make sure TODO selection does
3726 not change buffer position.
3728 * org-list.el (org-toggle-checkbox): Implement adding or removing
3729 checkboxes from line or region when called with a prefix
3732 * org-rmail.el (org-rmail-store-link): Protect the call to
3733 `rmail-narrow-to-non-pruned-header'.
3735 * org-clock.el (org-clock-special-range): Fix week display in
3738 * org-exp.el (org-get-current-options): Fix bug when in indirect
3741 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
3742 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
3743 (org-agenda-dim-blocked-tasks): New function.
3745 * org.el (org-enforce-todo-dependencies): New option.
3746 (org-block-todo-from-children-or-siblings): New function.
3748 * org-faces.el (org-agenda-dimmed-todo-face): New face.
3750 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
3752 * org.el (org-todo): Return correct state type even if the blocker
3754 (org-modifier-cursor-error): Rename from
3755 `org-shiftcursor-error'.
3756 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3757 (org-shiftmetadown): Call `org-modifier-cursor-error'.
3759 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
3760 to get real errors from the blocker hook.
3762 * org.el (org-shiftselect-error, org-call-for-shift-select): New
3764 (org-set-visibility-according-to-property): Turn off the setting
3765 of `org-show-entry-below', to avoid overruling a FOLDED visibility
3768 * org.el (org-support-shift-select): New option.
3769 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
3770 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
3771 selection outside contexts.
3773 * org-list.el (org-at-item-bullet-p): New function.
3775 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
3778 * org-footnote.el (org-footnote-normalize): Remove unnecessary
3780 (org-insert-footnote-reference-near-definition): Remove
3781 unnecessary let form.
3783 2009-01-26 Carsten Dominik <dominik@science.uva.nl>
3785 * org-export-latex.el (org-export-as-latex): Call
3786 `org-export-latex-first-lines' with OPT-PLIST as a parameter.
3787 (org-export-latex-first-lines): New parameter OPT-PLIST.
3789 * org.el (org-yank): Tell `delete-selection-mode' about
3792 * org-faces.el (org-clock-overlay): Fix face definition.
3794 * org-export-latex.el (org-export-latex-first-lines): Pass
3795 timestamp and footnote parameters to the preprocessor.
3797 * org-exp.el (org-export-remove-timestamps): Do not remove time
3798 stamps inside tables.
3800 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3802 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
3804 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
3807 * org-table.el (org-table-insert-hline): Fix typo in fuction call
3810 * org-exp.el (org-export-as-html): Remove the initial space from
3813 * org.el (org-scan-tags): Call
3814 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3816 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
3817 customization groups.
3818 (org-agenda-tags-todo-honor-ignore-options): New option.
3819 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3821 (org-agenda-get-todos): Use
3822 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3824 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3826 * org-exp.el (org-export-format-source-code-or-example): Escape
3827 HTML characters also in examples that anre not treated with
3828 htmlize. Also, just switch to EXAMPLE processing if we do not
3829 have a good version of htmlize.
3831 * org-rmail.el: Fix copyright notice.
3833 * org.el (org-activate-footnote-links): Improve footnote link
3836 * org-footnote.el (org-footnote-normalize): Fix finding the end of
3837 a footnote definition at the end of the file.
3839 * org-table.el (org-table-get-specials): Add an imagined hline at
3840 the end of the table. This can be useful for references that want
3841 to go to the end of the table. Also fix bug when computing last
3842 row constants, in tables that do not start right at the right
3844 (org-table-eval-formula): Match and replace remove references.
3845 (org-table-formula-substitute-names): Make sure that names inside
3846 a "remote" call are left alone, the will be replaced later when
3847 the remote call is handled.
3848 (org-table-convert-refs-to-rc): Do not convert things that might
3849 look like a reference, but are really part of an ID or namei n a
3851 (org-table-get-remote-range): New function.
3853 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3855 * org-faces.el (org-clock-overlay): Fix bug in face definition.
3857 * org-clock.el (org-clock-put-overlay): Use new face instead of
3858 `secondary-selection'.
3860 * org-faces.el (org-clock-overlay): New face.
3862 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3864 * org-exp.el (org-get-current-options): Include the option for
3865 publishing time stamps.
3867 * org.el (org-toggle-heading): Rename from
3868 `org-toggel-region-headings'.
3869 No longer needs a region defined, but will use it if there is one.
3870 (org-ctrl-c-star): Simplify, relying more on the internal
3871 workings of `org-toggle-heading'.
3872 (org-toggle-item): Rename from `org-toggle-region-items'.
3873 No longer needs a region defined, but will use it if there is one.
3874 (org-ctrl-c-minus): Simplify, relying more on the inernal
3875 workings of `org-toggle-item'.
3877 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
3878 environment detection. Also, do real changes only in unprotected
3881 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3883 * org-export-latex.el (org-export-latex-quotation-marks): Use
3884 `org-if-unprotected-1'.
3885 (org-export-latex-set-initial-vars): Check for class definition in
3888 * org-macs.el (org-if-unprotected-1): New macro.
3890 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3892 * org-compat.el (org-count-lines): New function.
3894 * org-exp.el (org-export-format-source-code-or-example): Handle
3895 switches related to text areas.
3897 * org.el (org-activate-footnote-links): Don't allow match inside a
3900 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
3902 * org-export-latex.el (org-export-latex-links): Keep a relative
3903 path relative also after export.
3905 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
3907 * org.el (org-make-tags-matcher): Never use IDO for completing the
3908 tags matcher match string.
3909 (org-completing-read): Also remove the special biding for "?".
3911 * org-attach.el (org-attach-allow-inheritance): New option.
3912 (org-attach-inherited): New variable.
3913 (org-attach-dir): Handle properties related to the attachment
3915 (org-attach-check-absolute-path): New function.
3916 (org-attach-set-directory, org-attach-set-inherit): New commands.
3917 (org-attach): Accommodate the new commands in the dispatcher.
3919 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3921 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
3922 `window-full-width-p'.
3924 * org-exp.el (org-export-as-html): Only check for images files
3925 that really can be inlined.
3927 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
3928 list of extensions to be a parameter.
3930 * org-exp.el (org-export-html-inline-image-extensions): New
3933 * org-agenda.el (org-prepare-agenda): Use
3934 `org-agenda-block-separator'.
3935 (org-agenda-block-separator): New option.
3937 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3939 * org-export-latex.el (org-export-latex-tables): Call
3940 `org-table-clean-before-export' with the new optional argument.
3942 * org-exp.el (org-table-clean-before-export): New optional
3943 parameter MAYBE-QUOTED, allows for quoted characters like \# in
3946 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3948 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
3951 * org-colview.el (org-colview-construct-allowed-dates): Better
3952 error catching when a date/time property does not have allowed
3955 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
3956 Better error catching when a date/time property does not have
3957 allowed values defined.
3959 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3961 * org.el (org-map-entries): Restore point and restriction after
3964 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3966 * org.el (org-time=, org-time<, org-time<=, org-time>)
3967 (org-time>=, org-time<>): Make sure both values are dates.
3969 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3971 * org-archive.el (org-extract-archive-heading): Allow %s for file
3972 name also in achive location heading.
3974 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3976 * org-archive.el (org-add-archive-files): Uniquify the list before
3979 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3981 * org-compat.el (org-fit-window-to-buffer): Use
3982 `window-full-width-p'.
3984 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
3985 space after the colon in short examples.
3987 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
3988 enforce a space after the colon. However, we also allow lines
3989 that are *only* a colon.
3990 (org-export-as-html): Enforce the space after the colon in short
3992 (org-export-preprocess-string): Do the colon example protection
3994 (org-export-remove-timestamps): Do not check for protection at the
3997 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3999 * org.el (org-format-latex-options): Add new matcher for single
4000 letters between dollars.
4001 (org-get-header): Function removed.
4002 (org-heading-components): New function.
4004 * org-exp.el (org-export-define-heading-targets): Record ID's also
4005 as alternative targets.
4006 (org-export-as-html): Interpret "id:" links to other files by
4007 preserving the relative path.
4009 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4012 * org-exp.el (org-export-normalize-links): Protect the main link,
4013 to avoid special character processing.
4015 * org-export-latex.el (org-export-latex-special-keyword-regexp):
4017 (org-export-latex-special-string-regexps): Variable removed.
4018 (org-export-latex-keywords): Use the new regexp.
4020 * org-exp.el (org-export-handle-include-files): Fetch switches and
4021 put them into the BEGIN statement.
4023 * org-timer.el (org-timer-mode-line-string): New variable.
4025 * org-clock.el (org-clock-mode-line-map): Rename from
4026 `org-clock-mode-map'.
4027 (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
4028 (org-clock-update-mode-line): Rename from `org-update-mode-line'.
4029 (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
4030 (org-clock-remove-overlays): Rename from
4031 `org-remove-clock-overlays'.
4033 * org-timer.el (org-timer-pause-or-continue): Implement stopping
4034 and mode line display.
4035 (org-timer-stop): New command.
4036 (org-timer-seconds): Return correct time when timer is paused.
4037 (org-timer-mode-line-timer): New variable.
4038 (org-timer-set-mode-line, org-timer-update-mode-line): New
4041 * org.el (org-insert-heading): Handle new value `auto' for
4042 `org-blank-before-new-entry'.
4043 (org-org-menu): Add new items for timer functions.
4045 * org-list.el (org-insert-item): Handle new value `auto' for
4046 `org-blank-before-new-entry'.
4048 * org.el (org-blank-before-new-entry): New value `auto', made
4051 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4053 * org-exp.el (org-export-normalize-links): If the link is also
4054 used as the description, protect the description.
4056 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4058 * org.el (org-closest-date): Fix bug with yearly repeats, in
4059 combination with preference of the past as it is used for deadline
4060 and scheduling search.
4062 * org-exp.el (org-html-handle-time-stamps): No longer check for
4063 the `org-export-with-timestamps' option, because the preprocesser
4064 has taken care of this already.
4066 * org.el (org-entry-properties): Catch the case when this is
4067 called in a non-org-mode file.
4069 * org-export-latex.el (org-export-latex-remove-from-headlines):
4070 Variable made obsolete, also LaTeX export now uses the standard
4072 (org-export-as-latex): Add the timestamps parameter to the
4073 preprocessor parameter list.
4074 (org-export-latex-content): Export the remaining keywords without
4075 considering to remove them.
4076 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4077 Use bold font instead of tt font for the keywords.
4078 (org-export-latex-fontify-headline): Format headlines, assuming
4079 that all keywords still present should be published.
4080 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4081 publish what ever remains of the time stamps.
4082 (org-export-latex-list-parameters): New option.
4083 (org-export-latex-lists): Pass additional parameters to the list
4086 * org-exp.el (org-export-preprocess-string): Remove clock lines
4087 and timestamps already in the preprocesor.
4088 (org-export-remove-timestamps, org-export-remove-clock-lines): New
4090 (org-export-as-ascii, org-export-as-html): Add the timestamps
4091 parameter to the preprocessor parameter list.
4093 * org-list.el (org-list-parse-list): Parse for checkboxes.
4094 (org-list-to-generic): Introduce and handle new parameters :cbon
4096 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4097 optional parameter PARAMS.
4099 * org-export-latex.el (org-export-latex-special-chars): Fix
4100 problems with interpreting dollar signs.
4101 (org-inside-latex-math-p): New function.
4102 (org-export-latex-preprocess): Protect all the math fragments.
4104 * org.el (org-latex-regexps): Allow a dash after a dollar.
4106 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4109 * org-agenda.el (org-run-agenda-series): Have series options set
4110 when finalizing the agenda.
4112 * org-exp.el (org-export-format-source-code-or-example): Protect
4113 the converted examples.
4115 * org.el (org-set-regexps-and-options): Fix the regexp
4116 `org-complex-heading-regexp'.
4118 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4120 * org.el (org-edit-src-get-label-format): New function.
4121 (org-coderef-label-format): New option.
4122 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4123 a label format specification and make sure it is used in the edit
4125 (org-edit-src-get-label-format): New function.
4126 (org-store-link): Handle new coderef formats.
4127 (org-link-search): Handle new coderef formats.
4129 * org-footnote.el (org-footnote-create-definition)
4130 (org-footnote-goto-local-insertion-point): Make footnote insertion
4131 work correctly when the "Footnotes" headline is the last line in
4134 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4137 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4139 * org-w3m.el (org-w3m): New customization group.
4140 (org-w3m-deactivate-mark): New option.
4141 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4144 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4146 * org.el (org-set-font-lock-defaults): Trigger footnote
4148 (org-activate-footnote-links): New function.
4149 (org-activate-links): New entry `footnote'.
4151 * org-faces.el (org-footnote): New face.
4153 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4155 * org-macs.el (org-re): Handle the [:word:] class.
4157 * org-exp.el (org-export-preprocess-string): Call
4158 `org-export-protect-colon-examples'.
4159 (org-export-protect-colon-examples): Rename from
4160 `org-export-protect-examples', and scope limited to lines starting
4163 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4165 * org-exp.el (org-export-preprocess-string): Move the preprocess
4166 hook to after turning on Org-mode.
4167 (org-export-preprocess-after-include-files-hook)
4168 (org-export-preprocess-after-tree-selection-hook)
4169 (org-export-preprocess-before-backend-specifics-hook)
4170 (org-export-preprocess-final-hook): New hooks.
4171 (org-export-preprocess-string): Run the new hooks.
4173 * org.el (org-ctrl-c-minus): Fix indentation for new items.
4175 * org-footnote.el: New file.
4177 * org.el (org-footnote): Require footnote code.
4178 (org-startup-options): Add new footnote options.
4179 (org-mode-map): New keybindig for footnotes.
4180 (org-ctrl-c-ctrl-c): Add function at footnotes.
4181 (org-org-menu): New menu entries for footnotes.
4183 * org-export-latex.el (org-export-as-latex): Pass footnote
4184 variable to preprocessor.
4185 (org-export-latex-preprocess): Treat multiple references to a
4188 * org-exp.el (org-export-preprocess-string): Call
4189 `org-footnote-normalize'.
4190 (org-export-as-ascii, org-export-as-html): Pass footnote variable
4192 (org-export-as-html): Treat multiple references to a footnote.
4194 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4196 * org-export-latex.el (org-export-latex-links): Handle coderef
4199 * org.el (org-bracket-link-analytic-regexp++): New variable.
4200 (org-make-link-regexps): Initialize
4201 `org-bracket-link-analytic-regexp++'.
4202 (org-store-link): Implement special case in edit-src buffer.
4203 (org-insert-link): No use of ide to insert stored links.
4204 (org-link-search): Implement special case for coderefs.
4206 * org-exp.el (org-export-html-scripts): New constant.
4207 (org-export-html-style-default): Add a new style for highlighted
4209 (org-export-code-refs): New variable.
4210 (org-export-preprocess-string): Initialize `org-export-code-refs'.
4211 Call `org-export-replace-src-segments-and-examples'
4212 No longer call `org-export-protect-examples'.
4213 (org-export-target-internal-links): Take care of coderef targets.
4214 (org-export-last-code-line-counter-value): New variable.
4215 (org-export-replace-src-segments-and-examples): Rename from
4216 `org-export-replace-src-segments', and modified.
4217 (org-export-format-source-code-or-example): Rename from
4218 `org-export-format-source-code'.
4219 (org-export-number-lines): New function.
4220 (org-export-as-ascii, org-export-as-html): Handle coderef links.
4222 2009-01-23 Glenn Morris <rgm@gnu.org>
4224 * org-rmail.el (rmail-narrow-to-non-pruned-header):
4225 Remove declaration of deleted function.
4227 2009-01-16 Glenn Morris <rgm@gnu.org>
4229 * org-mouse.el (org-mouse-show-context-menu): Use
4230 mouse-menu-major-mode-map, if defined, rather than the obsolete
4231 mouse-major-mode-menu.
4233 2008-12-23 Carsten Dominik <dominik@science.uva.nl>
4235 * org-remember.el (org-remember-handler): Safer way to get a new
4236 buffer accessing the target file.
4238 * org.el (org-refile-get-location): Handle case of current buffer
4239 not having a file associated with it.
4241 2008-12-22 Carsten Dominik <dominik@science.uva.nl>
4243 * org-table.el (org-table-get-formula): Only ask to overwrite
4244 field formula if there really is one.
4246 2008-12-21 Carsten Dominik <dominik@science.uva.nl>
4248 * org-export-latex.el (org-export-latex-make-header): Double the
4249 commenting % in the time stamp format.
4250 (org-export-latex-special-chars): Handle case where there is no
4253 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
4255 * org.el (org-get-refile-targets, org-refile-get-location): Use
4256 expanded file name to improve comparison.
4258 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
4260 * org.el (org-scan-tags): Rescan for tags, to get the correct
4261 upcase/downcase stuff. This slows things down for now, but it
4263 (org-mode): Make sure the tag-faces regexp is initialized.
4265 * org-export-latex.el (org-export-latex-links): Fix bug with
4268 * org-table.el (org-table-get-specials): Set
4269 `org-table-current-last-data-line'.
4270 (org-table-current-last-data-line): New variable.
4271 (org-table-insert-column, org-table-delete-column)
4272 (org-table-move-column, org-table-fix-formulas): Call
4273 `org-table-fix-formulas' a second time to fix the $LR references.
4274 (org-table-get-specials): Add the $LR references to the tables.
4275 (org-table-get-formula): Do not offer last-row names as LHS of
4278 * org.el (org-store-link): Capture link description from
4279 `org-id-store-link'.
4281 * org-exp.el (org-export-html-format-image): Add the / to the end
4283 (org-export-format-source-code): Surround example by empty lines,
4284 to make sure it will not be inside a paragraph.
4286 * org.el (org-ido-switchb): New function.
4288 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
4290 * org-agenda.el (org-agenda-show): New prefix argument
4293 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4296 2008-12-20 Glenn Morris <rgm@gnu.org>
4298 * org.el (org-org-menu): Fix some more menu entries.
4300 2008-12-18 Carsten Dominik <dominik@science.uva.nl>
4302 * org-table.el (org-table-get-specials): Revert introduction of @0
4303 as reference of the last table row, because of conflicts.
4305 * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
4306 argument, get the current tags directly.
4307 (org-agenda-set-tags): Leave getting current tags to
4308 `org-agenda-change-all-lines'.
4310 2008-12-17 Carsten Dominik <dominik@science.uva.nl>
4312 * org.el (org-org-menu): Do not quote the set-tags command.
4314 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
4316 * Fix typos in comments and docstrings throughout Org-mode.
4318 * org.el (org-get-outline-path): Fix bug if level is not given.
4320 * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
4322 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4324 * org.el (org-refile): Avoid refiling to within the region to be
4327 * org-export-latex.el (org-export-latex-special-chars): Replace
4328 special characters also in tables.
4330 * org-agenda.el (org-agenda-change-all-lines): New argument
4332 (org-agenda-set-tags): Get the new tags and pass them to
4333 `org-format-agenda-item'.
4335 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4337 * org-export-latex.el (org-export-latex-classes): Add longable as
4338 a default package to all classes.
4339 (org-export-latex-tables): Handle the longtable attribute and the
4342 * org-table.el (orgtbl-to-generic): Handle tables that start with
4345 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4346 \verb for colde-like snippets.
4347 (org-export-as-latex): Fix issues with region export.
4349 * org.el (org-up-heading-safe): Speed up function by using a
4350 direct regexp search.
4351 (org-olpa): New variable.
4352 (org-get-outline-path): Speed-up path constructions in cases where
4353 this is possible because the entire hierarchy is scanned anyway.
4354 (org-refile-get-location): Don't compare the truenames of files,
4356 (org-goto-max-level): New option.
4357 (org-goto): Use `org-goto-max-level'.
4359 2008-12-16 Tassilo Horn <tassilo@member.fsf.org>
4361 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4362 Strip angle brackets from message-ids in the former and don't do
4364 (org-gnus-follow-link): Open summary reliable, even if the last
4365 messages were deleted, and handle empty groups, too.
4367 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4369 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4370 instead of \texttt for the =...= and ~===~ emphasis environments.
4371 (org-export-as-latex): Remove any old :org-license-to-kill text
4373 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4374 (org-export-latex-make-header): Add some hard space after the
4376 (org-export-latex-first-lines): Accept RBEG argument. Mark
4377 exported text so that it will be excuded in further steps.
4379 * org-table.el (org-table-get-specials): Make @0 reference the
4380 last line in a table.
4381 (org-table-recalculate): Improve docstring.
4383 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4385 * org.el (org-log-done): Fix docstring.
4387 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4389 * org-exp.el (org-export-html-format-image): Fix bugs.
4391 * org-export-latex.el (org-export-latex-tables)
4392 (org-export-latex-links): Implement attribute, label, and caption
4395 * org-exp.el (org-export-html-style-default): Add style
4396 definitions for the figure div.
4397 (org-export-preprocess-string, org-export-as-html): Implement
4398 attribute, label, and caption handling.
4399 (org-export-attach-captions-and-attributes): New function.
4400 (org-export-html-format-image): New function.
4401 (org-format-org-table-html): Implement attribute, label, and
4404 * org.el (org-find-text-property-in-string): New function.
4405 (org-extract-attributes): Use the property org-attr instead of
4406 org-attrobutes, because this property is now set with the #+ATTR
4409 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4411 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
4412 the case that FROM is nil.
4414 * org.el (org-before-first-heading-p): New function.
4416 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4418 * org-exp.el (org-export-as-html): Do not add a space before
4419 enforces line breaks.
4420 (org-export-as-html): Close paragraph before blockquote and verse
4423 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4425 * org-id.el (org-id-locations-file): Wrap file name with
4426 `convert-standard-filename'.
4427 (org-id-files): New variable.
4428 (org-id-use-hash): New option.
4429 (org-id-update-id-locations): Also search in all files current
4430 listed in `org-id-files'. Convert the resulting alist to a hash
4431 if the user customation says so.
4432 (org-id-locations-save): Handle he case if `org-id-locations' is a
4434 (org-id-locations-load): Convert the alist to a hash.
4435 (org-id-add-location): Handle the hast case.
4436 (kill-emacs-hook): Make sure id locations are saved when Emacs is
4438 (org-id-hash-to-alist, org-id-alist-to-hash)
4439 (org-id-paste-tracker): New functions.
4441 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4443 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
4444 bindings of calendar variables.
4446 * org-table.el (org-table-find-row-type): Rename from
4447 `org-find-row-type'.
4448 (org-table-rewrite-old-row-references): Rename from
4449 `org-rewrite-old-row-references'.
4450 (org-table-shift-refpart): Rename from `org-shift-refpart'.
4451 (org-table-cleanup-narrow-column-properties): Rename from
4452 `org-cleanup-narrow-column-properties'.
4454 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4456 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
4457 for better error messages.
4458 (org-table-get-descriptor-line): Supply the new arguments to
4459 `org-find-row-type'.
4460 (org-table-error-on-row-ref-crossing-hline): New option.
4462 * org.el (org-target-link-regexp): Make buffer-local.
4463 (org-move-subtree-down): Fix bug with trees at beginning of
4466 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4468 * org-faces.el (org-set-tag-faces): New function.
4469 (org-tags-special-faces-re): New variable.
4471 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
4473 * org-faces.el (org-tag-faces): New option.
4474 (org-tag): Mention `org-tag-faces' in the docstring.
4476 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4478 * org-exp.el (org-export-html-style-default): Implement new
4481 * org-jsinfo.el (org-infojs-template): Implement new quoting.
4483 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
4484 command to the `w3m-minor-mode-map'.
4486 * org-archive.el (org-archive-to-archive-sibling): Protect
4487 `this-command' to avoid appending kills during archiving.
4489 * org-exp.el (org-export-with-priority): New variable.
4490 (org-export-add-options-to-plist): Use `org-export-plist-vars'
4491 instead of internal list of strings and properties.
4492 (org-print-icalendar-entries): Retrieve the location property with
4495 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4497 * org-exp.el (org-export-with-todo-keywords): New option.
4498 (org-export-plist-vars): Include also the keys for the #+OPTIONS
4500 (org-default-export-plist, org-export-add-options-to-plist)
4501 (org-export-as-ascii, org-export-as-html): Use the new structure
4502 of `org-export-plist-vars'.
4504 * org.el (org-map-entries): Return all values.
4506 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4508 * org.el (org-matcher-time): Recognize more special values.
4510 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
4512 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4514 * org.el (org-tags-exclude-from-inheritance): New option.
4515 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
4516 `org-tags-exclude-from-inheritance'.
4518 * org-agenda.el (org-agenda-show-inherited-tags): New option.
4519 (org-format-agenda-item): Add inherited tags to the agenda line
4520 string, and make sure that properties are kept when downcasing the
4522 (org-agenda-add-inherited-tags): New function.
4523 (org-downcase-keep-props): New function.
4525 * org.el (org-scan-tags): Mark inherited tags with a text
4527 (org-get-tags-at): Mark inherited tags with a text property.
4528 (org-add-prop-inherited): New function.
4530 * org-agenda.el (org-agenda-add-inherited-tags): New function.
4531 (org-agenda-show-inherited-tags): New option.
4533 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4535 * org.el (org-modules): Add org-w3m to the default modules.
4537 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
4539 (orgtabl-create-or-convert-from-region): New command.
4541 * org-exp.el (org-export-as-ascii): Remove the handling of
4543 (org-export-ascii-preprocess): Handle targets already in this
4546 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4548 * org-timer.el (org-timer-start-time): Define this variable.
4549 (org-timer-item): Make argument optional.
4551 * org-list.el (org-insert-item): Automatically insert a timer item
4552 if the current list is a timer list.
4554 * org-timer.el: New file.
4556 * org-publish.el (org-publish-org-index): Only exclude the index
4557 file in the main directory from being added to the site-map.
4558 (org-publish-get-project-from-filename): If the current project is
4559 a component, start publishing from the parent project.
4561 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4563 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
4565 * org-publish.el (org-publish-org-index): Improve removal of
4568 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
4570 * org-agenda.el (org-get-closed): Re-apply changes
4571 accidentially overwritten by last commit to Emacs.
4573 * org.el (org-outline-path-complete-in-steps): New option.
4574 (org-refile-get-location): Honor
4575 `org-outline-path-complete-in-steps'.
4576 (org-agenda-change-all-lines, org-tags-sparse-tree)
4577 (org-time-string-to-absolute, org-small-year-to-year)
4578 (org-link-escape): Re-apply changes accidentially overwritten
4579 by last commit to Emacs.
4581 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4583 * org-clock.el (org-dblock-write:clocktable): Make sure the
4584 clocktable sees the first line.
4585 (org-clock-in): Warn if the clock cannot be resumed.
4587 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4589 * org.el (org-open-at-point): Fix mixup about interactive and
4590 non-interactive elisp links.
4592 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4594 * org-exp.el (org-export-preprocess-string): Allow one comment
4595 line before the first headline to always be included. This is
4596 to not miss a commented target.
4598 * org-mouse.el (org-mouse-insert-item): Call
4599 `org-indent-to-column' instead of `indent-to', for XEmacs
4602 * org.el (org-refile-targets): Fix customize definition so
4603 that it works also in XEmacs.
4604 (org-fixup-indentation): Call `org-indent-to-column' instead
4605 of `indent-to', for XEmacs compatibility.
4607 2008-11-23 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
4609 * org-mew.el (org-mew-store-link): Get the correct case folder
4610 for refiled messages.
4612 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4614 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
4615 line break indicators.
4617 * org.el (org-ido-completing-read): Remove the "i:" prefix for
4618 ido-completion propts.
4620 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4622 * org-remember.el (org-remember-apply-template): Use
4623 `org-substring-no-properties'.
4625 * org-compat.el (org-substring-no-properties): New function.
4627 * org-remember.el (org-remember-apply-template): Use
4628 `org-substring-no-properties' for compatibility.
4630 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
4632 (org-fix-bullet-type): respect
4633 `org-list-two-spaces-after-bullet-regexp'.
4635 * org-clock.el (org-clock-load): Clean up the code.
4637 * org.el (org-adaptive-fill-function): Allow two spaces after
4638 "1." as a list bullet.
4640 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4642 * org-clock.el (org-clock-save, org-clock-load): Check for
4643 live buffers, existing files, and buffer file names to ensure
4644 consistent information.
4645 (org-clock-persist): Make `clock' a special value of this
4646 variable, and improve docstring.
4648 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
4649 (org-get-string-indentation): Adapt indentation when the bullet
4652 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4654 * org-remember.el (org-remember-finalize): Make interactive.
4655 (org-remember-kill): New command.
4656 (org-remember-finish-immediately): Call `org-remember-finalize'
4658 (org-remember-finalize): Make `org-remember-finalize' an interactive
4661 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4663 * org-remember.el (org-remember-apply-template): No ido completion
4664 for free prompts in remember templates.
4665 (org-remember-before-finalize-hook): New hook.
4666 (org-remember-mode): New minor mode.
4667 (org-remember-apply-template): Turn on `org-remember-mode'.
4669 * org-remember.el (org-remember-apply-template): Fix the way how
4670 the list of allowed properties is retrieved from the target file.
4672 * org.el (org-insert-link): Improve file link matching.
4674 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4676 * org-colview.el (org-columns-display-here): New argument
4677 DATELINE, to trigger using the new face.
4678 (org-agenda-colview-summarize): Call `org-columns-display-here'
4679 with the new argument.
4681 * org-faces.el (org-agenda-column-dateline): New face.
4683 * org-publish.el (org-publish-org-index): Use index-title at page
4684 title, not as section.
4686 * org-exp.el (org-export-html-format-desc): Respect the
4687 org-protect property.
4688 (org-export-as-html): Protect image specifiers that are in the
4689 description part of a link.
4691 * org.el (org-sort-entries-or-items, org-completing-read)
4692 (org-refile-get-location, org-olpath-completing-read, org-todo)
4693 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
4694 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
4695 (org-set-property, org-delete-property)
4696 (org-delete-property-globally): Use `org-ido-completing-read'.
4698 * org-remember.el (org-remember-apply-template): Use
4699 `org-ido-completing-read'.
4701 * org-publish.el (org-publish): Use `org-ido-completing-read'.
4703 * org-colview.el (org-columns-edit-value, org-columns-new)
4704 (org-insert-columns-dblock): Use `org-ido-completing-read'.
4706 * org-colview-xemacs.el (org-columns-edit-value)
4707 (org-columns-new, org-insert-columns-dblock): Use
4708 `org-ido-completing-read'.
4710 * org-attach.el (org-attach-delete-one, org-attach-open): Use
4711 `org-ido-completing-read'.
4713 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
4714 `org-ido-completing-read'.
4716 * org.el (org-time-today): New function.
4717 (org-matcher-time): Use `org-time-today'. Add special treatment
4718 for "<tomorrow>" and "<yesterday>".
4719 (org-ido-completing-read): New function.
4720 (org-completion-use-ido): New option.
4722 * org-exp.el (org-export-format-source-code): Fix bug in require
4724 (org-export-target-internal-links): Fix bug in search for text
4727 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4729 * org-export-latex.el (org-export-latex-subcontent): Interprete
4730 target aliases as additonal labels.
4732 * org-exp.el (org-export-target-aliases): New variable.
4733 (org-export-preprocess-string)
4734 (org-export-handle-invisible-targets): Fill the alias alist.
4735 (org-export-as-html): Remove the from the anchor, and also
4737 (org-html-level-start): Insert the target aliases as additonal
4740 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
4743 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4745 * org.el (org-open-at-mouse): Ensure correct link abbreviations
4746 when following a link with the mouse from the agenda.
4748 * org-exp.el (org-export-as-html): Avoid lone </div> when no
4749 headlines are created.
4751 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4753 * org.el (org-link-translation-function): New option.
4754 (org-open-at-point): Call `org-link-translation-function' if
4756 (org-translate-link): New function.
4757 (org-translate-link-from-planner): New function.
4758 (org-open-at-point): Allow interactive commands in elisp links.
4760 * org-exp.el (org-icalendar-cleanup-string): Restore the old
4761 iCalendar quoting. The new one seems to caus problems with
4764 * org.el (org-yank): Set `this-command' to `yank', so that
4765 `yank-pop' will work.
4767 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4769 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
4770 compliance as far as quoting is concerned.
4772 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
4773 hexified version of the tag.
4775 * org-vm.el (org-vm-follow-link): Require `vm-search'.
4777 * org.el (org-up-heading-safe, org-forward-same-level): Always
4778 call `org-back-to-heading' instead of `outline-back-to-heading'.
4779 (org-back-to-heading): New wrapper around outline-back-to-heading,
4780 with a useful error message telling where the error happened.
4782 * org-list.el (org-update-checkbox-count): Always call
4783 `org-back-to-heading' instead of `outline-back-to-heading'.
4785 * org-exp.el (org-export-as-html): Make sure that each <img> tag
4786 has an `alt' attribute, to ensure XHTML validation.
4788 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4790 * org-publish.el (org-publish-attachment): Allow publishing to
4791 overwrite attachment files.
4793 * org-agenda.el (org-agenda-timerange-leaders): New option.
4794 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
4796 * org.el (org-edit-src-exit): Untabify ASCII image before
4799 2008-11-19 Glenn Morris <rgm@gnu.org>
4801 * org.el, org-mouse.el (org-agenda-change-all-lines):
4804 2008-11-18 Carsten Dominik <dominik@science.uva.nl>
4806 * org.el ("speedbar"): Only show context if the file really is an
4809 2008-11-17 Juanma Barranquero <lekktu@gmail.com>
4811 * org.el (org-time-string-to-absolute, org-small-year-to-year)
4812 (org-tags-sparse-tree): Fix typos in docstrings.
4814 2008-11-15 Carsten Dominik <dominik@science.uva.nl>
4816 * org-publish.el (org-publish-attachment): Allow copy-file to
4819 2008-11-13 Glenn Morris <rgm@gnu.org>
4821 * org-agenda.el (org-get-closed): Fix alias.
4823 2008-11-12 Juanma Barranquero <lekktu@gmail.com>
4825 * org.el (org-link-escape): Fix typo in docstring.
4827 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4829 * org.el (org-yank): Make any prefix force normal yanking.
4830 Suppress folding if text would be swallowed into a folded
4832 (org-yank-folded-subtrees, org-yank): Docstring updates.
4834 * org-agenda.el (org-agenda-compare-effort): Treat no effort
4837 * org-exp.el (org-export-language-setup): Add Catalan and
4838 Esperanto language entries.
4840 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4842 * org.el (org-refile): Allow refiling of entire regions.
4844 * org-clock.el (org-clock-time%): New function.
4846 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
4847 retrieve property values.
4849 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4851 * org-agenda.el (org-agenda-list): Handle the value `only' of
4852 org-agenda-show-log'.
4853 (org-agenda-log-mode): Interpret a double prefix arg.
4855 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4857 * org-exp.el (org-export-html-footnotes-section): New variable.
4858 (org-export-as-html): Use `org-export-html-footnotes-section' to
4859 insert the footnotes.
4860 (org-export-language-setup): Add "Footnotes" to language words.
4862 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4864 * org.el (org-yank): Fix bug when not inserting a subtree.
4866 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4868 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
4869 instead of `vm-beginning-of-message'.
4871 * org.el (org-make-link-regexps): Make sure that links to gnus can
4874 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4876 * org-attach.el (org-attach-dir): Remove duplicate ID creation
4879 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
4882 * org.el (org-link-abbrev-alist): Improve customization type.
4884 * org-attach.el (org-attach-expand-link, org-attach-expand): New
4887 * org-agenda.el (org-agenda-get-progress): Rename from
4888 `org-get-closed'. Implement searching for state changes as well.
4889 (org-agenda-log-mode-items): New option.
4890 (org-agenda-log-mode): New option prefix argument, interpreted as
4891 request to show all possible progress info.
4892 (org-agenda-get-day-entries): Call `org-get-progress' instead of
4894 (org-agenda-set-mode-name): Handle the more complex log mode
4896 (org-get-closed): New alias, pointing to `org-get-progress'.
4898 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
4900 * org.el (org-file-apps-defaults-gnu)
4901 (org-file-apps-defaults-macosx)
4902 (org-file-apps-defaults-windowsnt): Add an entry defining the
4904 (org-file-apps): Allow `system' as key and value.
4905 (org-open-at-point): Explain the effect of a double prefix arg.
4906 (org-open-file): If the argument `in-emacs' is (16),
4907 i.e. corresponding to a double prefix argument, try to open the
4910 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
4912 * org.el (org-insert-link): Abbreviate absolute files names in
4913 links. Also, fix a bug in which the double C-u prefix would not
4916 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
4918 * org.el (org-insert-heading): If buffer does not end with a
4919 newline, add one if necessary to insert headline correctly.
4921 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
4922 paragraphs, not inside.
4924 * org.el (org-todo): Quote
4925 `org-agenda-headline-snapshot-before-repeat'.
4927 * org-exp.el (org-export-as-html): Fully process link descriptions.
4928 (org-export-html-format-desc): New function.
4929 (org-export-as-html): Collect footnotes into the correct basket.
4930 (org-html-protect): No longer protect quotations marks here, this
4933 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
4936 * org-compat.el (org-fit-window-to-buffer): New function (not
4937 really, a preliminary and incomplete version was present earlier,
4940 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
4941 `org-fit-window-to-buffer'.
4943 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
4945 * org-agenda.el (org-agenda-get-restriction-and-command)
4946 (org-fit-agenda-window, org-agenda-convert-date): Use
4947 `org-fit-window-to-buffer'.
4949 * org-exp.el (org-export-as-html): Process href links through
4950 `org-export-html-format-href'.
4951 (org-export-html-format-href): New function.
4953 * org-agenda.el (org-agenda-todo): Update only the current
4954 headline if this is a repeated TODO, marked done for today.
4955 (org-agenda-change-all-lines): New argument JUST-THIS, to change
4956 only the current line.
4958 * org.el (org-todo): Take a snapshot of the headline if the
4959 repeater might change it.
4961 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
4963 * org-publish.el (org-publish-find-title): Remove buffers visited
4964 only for extracting the title.
4966 * org-exp.el (org-export-html-style)
4967 (org-export-html-style-default): Mark style definitions as
4970 * org-publish.el (org-publish-validate-link): Function
4973 2008-11-12 Charles Sebold <csebold@gmail.com>
4975 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
4977 (org-plot-quote-timestamp-field): New function.
4978 (org-plot-quote-tsv-field): Call timestamp field function when
4979 necessary rather than just quoting as a string.
4980 (org-plot/gnuplot-to-data): Pass in timefmt property.
4981 (org-plot/gnuplot-script): Supports timefmt property.
4982 (org-plot/gnuplot): Checks for timestamp column before checking
4983 for text index column.
4985 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
4987 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
4989 * org-publish.el (org-publish-org-index): Create a section in the
4991 (org-publish-org-index): Stop linking to directories.
4993 * org.el (org-emphasis-alist): Use span instead of <u> to
4996 * org-exp.el (org-export-as-html): Make sure <p> is closed before
4999 2008-11-12 Sebastian Rose <sebastian_rose@gmx.de>
5001 * org-jsinfo.el (org-infojs-template): Remove language attribute
5004 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5006 * org-agenda.el (org-agenda-remove-marked-text): New function.
5007 (org-agenda-mark-filtered-text)
5008 (org-agenda-unmark-filtered-text): New functions.
5009 (org-write-agenda): Remove fltered text.
5011 * org.el (org-make-tags-matcher): Give access to TODO "property"
5012 without speed penalty.
5014 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5016 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5018 (org-store-link-props): Make sure adding to the plist works
5021 * org-gnus.el (org-gnus-no-new-news): New function.
5022 (org-gnus-follow-link): Allow the article ID to be a message-id,
5023 in addition to allowing article numbers. Message IDs make much
5025 (org-gnus-store-link): Use message-id to create link.
5027 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5029 * org.el (org-emphasize): Reverse the selection array.
5030 (org-emphasis-alist): Set <code> tags for the verbatim
5033 * org-remember.el (org-remember-handler): Fix bug with
5034 prefix-related changing of the note storage target.
5036 * org-exp.el (org-print-icalendar-entries): Make the exported
5037 priorities compatible with RFC 2445.
5039 * org-clock.el (org-clock-save): Insert time stamp without
5040 dependence on time-stamp.el.
5042 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5044 * org.el ("saveplace"): If saveplace puts point into an invisible
5045 location, make it visible.
5046 (org-make-tags-matcher): Allow inactive time stamps in time
5048 (org-yank-adjusted-subtrees): New option.
5049 (org-yank): Incorporate adjusting trees.
5050 (org-paste-subtree): New argument FOR-YANK which will cause
5051 insertion at point without backing up over white lines, and leave
5052 point at the end of the inserted text. Also if the cursor is
5053 at the beginning of a headline, use the same level or the inserted
5056 * org-publish.el (org-publish-get-base-files-1): Deal correctly
5057 with broken symlinks.
5059 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5061 * org-exp.el (org-export-select-tags, org-get-current-options):
5064 2008-11-06 Glenn Morris <rgm@gnu.org>
5066 * org-publish.el (org-publish-attachment): Use copy-file rather than
5069 2008-11-04 Juanma Barranquero <lekktu@gmail.com>
5071 * org.el (org-columns-modify-value-for-display-function):
5072 * org-table.el (org-table-convert-region): Fix typos in docstrings.
5074 2008-10-28 Glenn Morris <rgm@gnu.org>
5076 * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
5078 * org-list.el (outline-next-heading, outline-back-to-heading):
5081 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5083 * org-agenda.el (org-format-agenda-item)
5084 (org-agenda-filter-make-matcher): Make sure tags are stored and
5087 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5089 * org.el (org-insert-todo-heading): Fix bug with force-heading
5092 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5094 * org-exp.el (org-export-as-ascii): Handle the case that we are
5095 bulishing from an indirect buffer.
5097 * org-table.el (org-table-copy-down): Fix bug with time stamp
5100 * org-mouse.el (org-mouse-features): New option.
5101 (org-mode-hook): Turn on features depending on
5102 `org-mouse-features'.
5104 * org.el (org-insert-heading-respect-content): Force heading
5106 (org-insert-heading): keep the folding state of the heading before
5109 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5111 * org-archive.el (org-archive-to-archive-sibling): Handle top
5112 level headlines better.
5114 2008-10-26 Bastien Guerry <bzg@altern.org>
5116 * org-export-latex.el (org-export-latex-classes): Add
5117 \usepackage{graphicx} to the default list of packages.
5119 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5121 * org-agenda.el (org-agenda-filter): Rename from
5122 `org-agenda-filter-tags'.
5124 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5126 * org.el (org-entry-properties): Add CATEGORY property, iven if it
5127 is not defined as a property in this entry.
5128 (org-add-log-note): Mask prefix argument when immediately storing
5131 * org-agenda.el (org-agenda-filter-effort-default-operator): New
5134 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
5136 * org.el (org-add-log-setup): Bugfix; code to find insertion point
5137 after drawers was skipping ahead one line too many, so notes were
5138 inserted after the first note instead of before it.
5140 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5142 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5144 (org-prepare-agenda): Reset the filter tags.
5145 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5146 Show filter tags in mode line.
5148 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5151 * org-export-latex.el (org-latex-entities-regexp): New constant.
5152 (org-export-as-pdf): Use two calls to `shell-command'.
5154 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5156 * org-export-latex.el (org-export-latex-treat-sub-super-char):
5157 Honor the {} value of the subsuperscript setting. Make sure that
5158 longer subsuperscripts are typeset in a roman font.
5160 * org.el (org-clock-update-time-maybe): Compute negative clock
5161 intervals correctly.
5163 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5165 * org.el (org-add-log-setup): Respect
5166 `org-log-state-notes-insert-after-drawers'.
5167 (org-log-state-notes-insert-after-drawers): New option.
5168 (org-todo-trigger-tag-changes): New function.
5169 (org-todo): Call `org-todo-trigger-tag-changes'.
5171 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
5173 * org.el (org-add-log-setup): Only skip drawers if the are
5174 immediately after the scheduling keywords.
5176 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5178 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5179 call it with the current todo state to get the state to switch to
5181 (org-clock-in): Use org-indent-line-function to indent clock lines.
5182 (org-clock-find-position): Fix indentation of empty clock drawers.
5184 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5186 * org-publish.el (org-publish-org-to): Handle case when
5187 org-export-to-pdf does return a file name, not a buffer.
5188 (org-publish-org-to-pdf): New function.
5190 * org-export-latex.el (org-export-as-pdf)
5191 (org-export-as-pdf-and-open): New commands.
5193 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5196 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5197 things in protexted regions.
5199 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5201 * org-export-latex.el (org-export-latex-preprocess): Improve
5202 quoting of LaTeX environments.
5204 2008-10-19 Eli Zaretskii <eliz@gnu.org>
5206 * org.el (org-default-notes-file):
5207 * org-publish.el (org-publish-timestamp-directory):
5208 * org-id.el (org-id-locations-file): Run file names that begin
5209 with a period thru `convert-standard-filename'.
5211 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5213 * org-plot.el: Switch coding system to unix.
5215 2008-10-12 John Wiegley <johnw@newartisans.com>
5217 * org-attach.el: New file.
5219 2008-10-12 Carsten Dominik <carsten.dominik@gmail.com>
5221 * org.el (org-edit-fixed-width-region): Exclude final newline from
5224 * org-export-latex.el (org-export-latex-subcontent): Add labels to
5225 sections, to make internal links work.
5226 (org-export-latex-fontify-headline): Do not remove all text
5227 properties, to make sure that target properties survive this
5230 * org-exp.el (org-export-preprocess-string): Change sequence of
5231 modifications, to make sure links are prepared before the LaTeX
5232 conversions do happen.
5234 * org-attach.el (org-attach-delete-all): Rename from
5235 `org-attch-delete'. Add a security query before deleting the
5236 entire directory. New optional argument FORCE can overrule the
5238 (org-attach-delete-one): New command.
5240 * org-attach.el (org-attach-file-list): Fix bug with directory.
5242 * org.el (org-apps-regexp-alist): New function.
5243 (org-file-apps): Add auto-mode to the default value.
5244 (org-open-file): Use the new structure of org-file-apps.
5246 * org-attach.el (org-attach): Support the new keys.
5247 (org-attach-method): New option.
5249 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5252 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5253 of the list value o `org-use-tag-inheritance'.
5255 * org-attach.el (org-attach-auto-tag): New option.
5256 (org-attach-tag, org-attach-untag): New functions.
5257 (org-attach-attach, org-attach-new, org-attach-sync): Call
5259 (org-attach-delete): Call `org-attach-untag'.
5261 * org-table.el (orgtbl-self-insert-command): Make this work for
5264 * org.el (org-add-log-setup): Limit searc for drawers to entry
5265 text, not to subtree.
5267 * org-clock.el (org-clock-heading-for-remember): New variable.
5268 (org-clock-in): Set `org-clock-heading-for-remember'.
5270 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
5272 * org-remember.el (org-remember-apply-template): Add new
5273 expansions: %k, %K for currently clocked task and a link to the
5274 currently clocked task, and %< to file notes in the currently
5277 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5279 * org-export-latex.el (org-export-latex-make-header): Also insert
5280 the content of the property :latex-header-extra.
5282 * org-exp.el (org-infile-export-plist): Put the content of
5283 #+LATEX_HEADER: into the property :latex-header-extra.
5285 * org-colview.el (org-columns-get-format-and-top-level): Remove
5286 resetting the marker.
5288 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5289 Remove resetting the marker.
5291 * org.el (org-entry-property-inherited-from): Improve docstring.
5292 (org-entry-get-with-inheritance): Reset marker before starting the
5295 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5297 * org.el (org-entry-get-multivalued-property)
5298 (org-entry-protect-space, org-entry-restore-space): New
5300 (org-file-apps-defaults-macosx): Let postscript files be opened by
5302 (org-time-stamp-inactive): Call `org-time-stamp'.
5303 (org-time-stamp): New argument `inactive'. Also edit inacive
5304 stamps. Convert time stamp type.
5305 (org-open-file): Interpret the `default' value for the `command'
5308 * org-id.el (org-id-int-to-b36-one-digit)
5309 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5310 (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
5313 * org-id.el (org-id-reverse-string): New function.
5314 (org-id-new): Use `org-id-reverse-string' to make sure the
5315 beginning chars of the ID are mutating fast. This allows to use a
5316 directory structure to spread things better.
5317 (org-id-prefix): Change default to nil.
5319 * org-list.el (org-move-item-down, org-move-item-up): Remember and
5320 restore the column of the cursor position.
5322 * org-remember.el (org-remember-apply-template): Remove properties
5325 * org-wl.el (org-wl-open): Remove useless call to
5326 `wl-thread-open-all'.
5328 * org-remember.el (org-remember-handler): Fix bug with `bottom'
5331 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5332 `org-bbdb-anniversaries'.
5334 * org.el (org-get-next-sibling, org-forward-same-level): New
5335 functions, similar to the outline versions, but invisible headings
5338 2008-10-12 Bastien Guerry <bzg@altern.org>
5340 * org.el (org-auto-repeat-maybe): Insert a space between
5341 the timestamp's type and the timestamp itself.
5343 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5345 * org-table.el (org-table-sum): Do not format the result with %g,
5346 it does rounding when there are too many digits.
5348 * org.el (org-map-entries): Protect the keyword-selecting variables.
5350 2008-10-12 Bastien Guerry <bzg@altern.org>
5352 * org-agenda.el (org-agenda-to-appt): Make sure the function check
5353 against all agenda files.
5355 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5356 Bastien Guerry <bzg@altern.org>
5358 * org-list.el: New file, aggregating list functions from org.el
5359 and org-export-latex.el.
5361 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5363 * org.el (org-edit-src-region-extra): New option.
5365 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5368 2008-10-12 Bastien Guerry <bzg@altern.org>
5370 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5372 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
5374 * org-plot.el (org-plot/gnuplot): Make tables starting with a
5375 hline work correctly.
5376 (org-plot/gnuplot-script): Put commas at the end of each script
5379 * org.el (org-get-refile-targets): Replace links with their
5381 (org-imenu-get-tree): Replace links with their descriptions.
5383 * org-remember.el (org-remember-apply-template): Add a new
5384 expansion for adding properties to remember items.
5386 * org.el (org-add-log-setup): Skip over drawers (properties,
5387 clocks etc) when adding notes.
5389 * org-agenda.el (org-agenda-get-closed): show durations of clocked
5390 items as well as the start and end times.
5392 * org-compat.el (org-get-x-clipboard-compat): Add a compat
5393 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
5395 * org-remember.el (org-get-x-clipboard): Use the compat
5396 function to get clipboard values when x-selection-value is
5397 unavailable. Use substring-no-properties instead of
5398 set-text-properties to remove text properties from the clipboard
5401 * lisp/org-clock.el (org-update-mode-line): Support limiting the
5402 modeline clock string, and display the full todo value in the
5403 tooltip. Set a local keymap so mouse-3 on the clock string goes to
5404 the currently clocked task.
5405 (org-clock-string-limit): Add a custom value for the maximum
5406 length of the clock string in the modeline.
5407 (org-clock-mode-map): Add a keymap for the modeline string.
5409 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5411 * org-compat.el (org-propertize): New function.
5413 2008-10-12 Bastien Guerry <bzg@altern.org>
5415 * org-export-latex.el (org-export-latex-tables): protect exported
5416 tables from further special chars conversion.
5417 (org-export-latex-preprocess): Preserve LaTeX environments.
5418 (org-list-parse-list): Parse descriptive lists.
5419 (org-list-to-generic, org-list-to-latex, org-list-to-html)
5420 (org-list-to-texinfo): Export descriptive lists.
5421 (org-quote-chars): Remove.
5422 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
5423 (org-export-latex-list-beginning-re): Rename to
5424 `org-list-beginning-re'
5425 (org-list-item-begin): Rename to `org-list-item-beginning'.
5427 2008-10-12 Eric Schulte <schulte.eric@gmail.com>
5429 * org-plot.el: New file.
5431 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5433 * org.el (org-refile): Allow refiling to the last entry in the
5435 (org-get-tags-at): Fix bug when inheritance is turned off.
5437 * org.el (org-indent-line-function): No longer check for src
5438 regions, this is too much overhead.
5440 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
5443 * org.el (org-scan-tags): Make sure that tags matching is not case
5444 sensitive. TODO keyword matching is case sensitive, however, to
5445 avoid confusion with similar words that are not meant to be
5448 * org.el (org-get-local-tags-at): New function.
5449 (org-get-local-tags): New function.
5451 * org-exp.el (org-export-get-categories): New function.
5453 * org-agenda.el (org-sorting-choice)
5454 (org-agenda-sorting-strategy, org-agenda-get-todos)
5455 (org-agenda-get-timestamps, org-agenda-get-deadlines)
5456 (org-agenda-get-scheduled, org-agenda-get-blocks)
5457 (org-entries-lessp): Implement sorting by TODO state.
5458 (org-cmp-todo-state): New defsubst.
5460 * org-colview.el (org-colview-construct-allowed-dates): New
5462 (org-columns-next-allowed-value): Use
5463 `org-colview-construct-allowed-dates'.
5465 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
5467 (org-columns-next-allowed-value): Use
5468 `org-colview-construct-allowed-dates'.
5470 * org.el (org-protect-slash): New function.
5471 (org-get-refile-targets): Use `org-protect-slash'.
5473 * org-agenda.el (org-global-tags-completion-table): New variable.
5475 * org-exp.el (org-export-handle-export-tags): New function.
5476 (org-export-preprocess-string): Call
5477 `org-export-handle-export-tags'.
5479 * org-publish.el (org-publish-expand-components): Function removed.
5480 (org-publish-expand-projects): Allow components to have components.
5482 * org.el (org-indent-line-function): Do not indent in regions that
5483 are external source code.
5484 (org-yank-and-fold-if-subtree): New function.
5486 * org-agenda.el (org-agenda-todayp): New function.
5487 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
5488 `org-agenda-todayp'.
5490 * org.el (org-insert-heading-respect-content)
5491 (org-insert-todo-heading-respect-content): New commands.
5492 (org-insert-heading-respect-content): New option.
5493 (org-insert-heading): Respect `org-insert-heading-respect-content'.
5495 * org-clock.el (org-clock-find-position): Make sure the note after
5496 the clock line gets moved into the new clock drawer.
5498 * org-id.el (org-id-new): New option.
5500 * org-table.el (org-table-copy-down): Avoid overflow during
5501 increment. Use prefix argument 0 to temporarily disable the
5504 * org-exp.el (org-export-as-html): Do not turn on the major mode
5505 if the buffer will be killed anyway.
5506 (org-get-current-options): Exclude the #+TEXT field.
5507 (org-export-as-html): Make sure text before the first headline is
5510 * org-publish.el (org-publish-org-to): Tell the exporter that this
5511 buffer will be killed, so it is not necessary to do major mode
5514 * org-archive.el (org-archive-to-archive-sibling): Show empty
5515 lines after folding the archive sibling.
5517 * org.el (org-log-note-extra): New variable.
5519 2008-10-12 Bastien Guerry <bzg@altern.org>
5521 * org.el (org-additional-option-like-keywords): Add keywords for
5522 the _QUOTE, _VERSE and _SRC environments.
5524 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
5525 exporting _QUOTE and _VERSE environments.
5527 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5529 * org-agenda.el (org-agenda-filter-by-tag): New command.
5531 * org-exp.el (org-get-current-options): Remove angular brackets
5532 from the date entry.
5534 * org.el (org-edit-fixed-width-region): New function.
5535 (org-edit-fixed-width-region): Also try
5536 `org-edit-fixed-width-region'.
5537 (org-edit-fixed-width-region-mode): New option.
5538 (org-activate-code): Only interprete lines starting with colon
5539 plus a space as example lines.
5541 * org-remember.el (org-remember-templates): Add nil instead of
5542 empty strings to fix the length of remember templates.
5544 * org-table.el (org-calc-default-modes): Fix the time format for
5545 calc, from 12 hour to 24 hour clock.
5547 * org-agenda.el (org-agenda-get-deadlines)
5548 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
5549 entries that are pre-warnings of deadlines or reminders.
5551 * org.el (org-sort-entries-or-items): Make numeric and alpha
5552 comparisons ignore any TODO keyword and priority cookie.
5554 * org-remember.el (org-remember-handler): Reinterpretation of the
5557 * org-agenda.el (org-agenda-get-scheduled): Use new
5558 `org-scheduled' face.
5560 * org-faces.el (org-scheduled): New face.
5562 * org-wl.el (org-wl-open): Remove incorrect declaration.
5564 * org-gnus.el (org-gnus-store-link): Support for :to information
5567 * org-exp.el (org-export-as-html): Fix typo in creator
5569 (org-export-protect-examples): New parameter indent. Insert extra
5570 spaces only when this parameter is specified.
5571 (org-export-preprocess-string): Call `org-export-protect-examples'
5572 with an indentation parameter when exporting to ASCII.
5574 * org-remember.el (org-remember-templates)
5575 (org-remember-apply-template): Allow the file component to be a
5578 * org.el (org-goto-local-search-headings): Rename from
5579 `org-goto-local-search-forward-headings'. Added the possibility
5580 to search backwards.
5582 * org-export-latex.el (org-export-latex): New customization
5585 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
5587 * org-exp.el (org-html-do-expand): Allow {} to terminate
5590 * org.el (org-buffer-list): Select buffers based on major mode,
5593 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
5596 * org-colview.el (org-columns-display-here): Use
5597 `org-columns-modify-value-for-display-function'.
5599 * org-colview-xemacs.el (org-columns-display-here): Use
5600 `org-columns-modify-value-for-display-function'.
5602 * org.el (org-columns-modify-value-for-display-function): New option.
5604 * org-publish.el (org-publish-file): Make sure the directory match
5605 for the publishing directory works correctly.
5607 * org-agenda.el (org-agenda-execute-calendar-command)
5608 (org-agenda-diary-entry): Additional optional argument.
5610 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
5612 * org-exp.el (org-export-as-html): Add attributes also in mailto
5615 * org.el (org-autoload): Add `org-dblock-write:columnview'.
5617 2008-08-11 Glenn Morris <rgm@gnu.org>
5619 * org-mac-message.el (do-applescript): Fix declaration.
5621 2008-08-10 Glenn Morris <rgm@gnu.org>
5623 * org-exp.el (org-export-as-html): Let-bind `i'.
5625 * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
5626 (org-extract-attributes): Let-bind `key', `value'.
5627 (org-make-tags-matcher): Let-bind `time-p'.
5629 2008-07-27 Carsten Dominik <dominik@science.uva.nl>
5631 * org-install.el: New file.
5633 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
5635 * org-exp.el (org-export-html-style)
5636 (org-export-html-style-extra): Declare as safe-local-variable.
5638 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
5640 * org-publish.el (org-publish-file): Use the true name of the
5643 * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
5646 * org-exp.el (org-export-plist-vars)
5647 (org-export-add-options-to-plist): Handle creator setting flag.
5648 (org-export-as-html): Handle attributes also for ftp and mailto
5651 * org-agenda.el (org-agenda-diary-entry)
5652 (org-agenda-execute-calendar-command): Cater for the second
5653 argument of `calendar-cursor-to-date'.
5655 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
5657 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
5658 sure that calls from `org-export-region-as-html' do not do the
5659 special check for a subtree.
5661 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
5663 * org.el (org-open-file): Use
5664 `org-open-directory-means-index-dot-org'.
5665 (org-open-directory-means-index-dot-org): New option.
5667 * org.el (org-make-link-string): Remove link attributes from
5669 (org-open-at-point): Remove link attributes before using the path.
5671 * org-exp.el (org-export-as-html): Handle link attributes.
5673 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
5675 * org-table.el (org-table-to-lisp): New function.
5677 * org.el (org-narrow-to-subtree): Do not include the final newline
5678 into the narrowed region.
5680 * org-agenda.el (org-agenda-custom-commands-local-options): Fix
5681 bug with user-define skipping condition.
5683 * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
5685 * org-exp.el (org-export-html-style-default): Automatic overflow
5686 handling for pre fields.
5687 (org-export-as-ascii, org-export-as-html): Change default format
5690 * org-table.el (org-table-export): Offer completion for translator
5691 functions, and do not require a heading above the table.
5693 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
5694 Cater for the case of a list starting in the first line of the
5697 * org-publish.el (org-publish-find-title): Bug fix.
5698 (org-publish-org-index): Implement new :index-style option.
5700 * org-publish.el (org-publish-timestamp-filename): Use
5701 SHA1-encoded file names in the timestamp directory.
5703 * org-publish.el (org-publish-needed-p): Be verbose about files
5704 published and files skipped.
5706 * org-exp.el (org-export-preprocess-string): Swap link
5707 normalization and internal link targeting.
5709 * org-publish.el (org-publish-needed-p): Create timestamp
5710 directory when it does not exist.
5712 * org-clock.el (org-clock-out-when-done): Doc fix.
5714 * org.el (org-agenda-skip-unavailable-files): Doc fix.
5716 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
5717 Ignore case when searching for the COMMENT cookie at export time.
5719 * org-exp.el (org-get-file-contents)
5720 (org-get-and-remove-property): New functions.
5721 (org-export-handle-include-files): Handle the new prefix options.
5722 (org-export-as-html): Fix the verse environment.
5724 * org.el (org-time=, org-time<, org-time<=, org-time>)
5725 (org-time>=, org-time<>, org-2ft): New functions.
5726 (org-op-to-function): Also provide for the time testing functions.
5728 * org-exp.el (org-export-html-style-default): New constant.
5730 * org-exp.el (org-export-html-style-extra): New variable.
5731 (org-export-splice-style): New function.
5733 * org-exp.el (org-export-plist-vars, org-export-as-html):
5734 Implement `org-export-creator-info'.
5735 (org-export-creator-info): New option.
5737 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
5738 (org-property-drawer-re, org-clock-drawer-re): New constants.
5740 * org-exp.el (org-icalendar-use-deadline)
5741 (org-icalendar-use-scheduled): New options.
5742 (org-icalendar-include-todo): Default changed to t.
5743 (org-print-icalendar-entries): Implement better utilization of
5744 scheduling and deadline time stamps.
5745 (org-export-target-internal-links, org-export-as-html): Allow file
5746 lines without the "file:" prefix if the file path is an absolute
5747 path or starts with ".".
5749 * org-clock.el (org-clocktable-shift): Also understand yesterday,
5751 (org-clock-special-range): Also understand yesterday, lastweek etc.
5753 * org.el (org-agenda-skip-archived-trees): Docstring now
5754 discourages using this.
5755 (org-scan-tags): Check for org-agenda-archives-mode.
5756 (org-map-entries): Make sure org-agenda-archives-mode is nil.
5757 (org-agenda-files): Functionality of second arg changed.
5759 * org-agenda.el (org-agenda-archives-mode): New variable
5760 (org-write-agenda, org-prepare-agenda, org-agenda-list)
5761 (org-search-view, org-todo-list, org-tags-view)
5762 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
5764 (org-agenda-quit): Reset the archives mode.
5765 (org-agenda-archives-mode): New command.
5766 (org-agenda-set-mode-name): Include archives info.
5768 * org.el (org-paste-subtree): Make sure the yanked headline is
5769 visible if it was yanked at a visible point.
5770 (org-move-item-up): Fix the bug with moving white space at the end
5772 (org-show-empty-lines-in-parent): New function.
5774 2008-07-19 Juri Linkov <juri@jurta.org>
5776 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
5777 new keymap `narrow-map' instead of binding "\C-xns".
5779 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
5781 * org.el (org-agenda-skip-unavailable-files):
5782 * org-clock.el (org-clock-out-when-done): Doc fixes.
5784 2008-06-18 Glenn Morris <rgm@gnu.org>
5786 * org.el (org-map-entries): Let-bind `file'.
5788 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5790 * org-colview.el (org-columns-next-allowed-value): Bug fix.
5792 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
5794 * org-agenda.el (org-agenda-get-closed): Get the end time into the
5795 agenda prefix as well.
5797 * org-publish.el (org-publish-org-index): Make a properly indented
5800 * org.el (org-calendar-agenda-action-key): New option.
5801 (org-get-cursor-date): New function.
5802 (org-mark-entry-for-agenda-action): New command.
5803 (org-overriding-default-time): New variable.
5804 (org-read-date): Respect `org-overriding-default-time'.
5806 * org-remember.el (org-remember-apply-template): Respect the
5807 overriding default time.
5809 * org-agenda.el (org-agenda-action-marker): New variable.
5810 (org-agenda-action): New command.
5811 (org-agenda-do-action): New function.
5813 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5815 * org.el (org-schedule, org-deadline): Protect scheduled and
5816 deadline tasks against changes that accidently remove the
5817 repeater. Also show a message with the new date when done.
5819 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5821 * org.el (org-beginning-of-line): Cater for the case when there
5822 are tags but no headline text.
5823 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
5826 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5828 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
5829 the return value is nil instead of "nil" when there is no match.
5831 * org-exp.el (org-insert-centered): Use fill-column instead of
5833 (org-export-as-ascii): Use string-width to measure the width of
5836 * org.el (org-diary-to-ical-string): No longer kill buffer
5837 FROMBUF, this is now done by the caller.
5839 * org-exp.el (org-print-icalendar-entries): Move the call to
5840 `org-diary-to-ical-string' out of the loop, and kill the buffer
5843 * org-remember.el (org-remember-visit-immediately): Position
5844 cursor after moving to the note.
5845 (org-remember-apply-template): Use a text property to record the
5847 (org-remember-handler): Align tags after pasting the note.
5849 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5851 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
5853 * org-agenda.el (org-agenda-open-link): If there is an
5854 org-bbdb-name property in the current line, jump to that bbdb
5857 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
5858 text property, so that the agenda knows where this entry comes
5861 * org-agenda.el (org-agenda-clock-in): Fix bug in the
5862 interaction between clocking-in from the agenda, and automatic
5863 task state switching.
5865 * org-macs.el (org-with-point-at): Bug fix in macro definition.
5867 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
5868 zmacs-region stays after this command in XEmacs.
5870 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5872 * org.el (org-scan-tags): Allow new values for ACTION parameter.
5874 * org-remember.el (org-remember-templates): Fix bug in
5875 customization type definition.
5877 * org.el (org-map-entries): New function.
5879 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5881 * org-agenda.el (org-agenda-skip-comment-trees): New option.
5882 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
5884 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5886 * org-remember.el (org-jump-to-target-location): New variable.
5887 (org-remember-apply-template): Set
5888 `org-remember-apply-template' if requested by template.
5889 (org-remember-handler): Start an idle timer to jump to
5892 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
5894 * org.el (org-set-regexps-and-options): Fix bug with parsing of
5896 (org-get-tags-at): Add the content of `org-file-tags'.
5898 * org-exp.el (org-export-handle-comments): Fix bug with several
5899 comment lines after each other.
5900 (org-number-to-roman, org-number-to-counter): New functions.
5901 (org-export-section-number-format): New option.
5903 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5905 * org-exp.el (org-export-protect-examples): Catch the case of a
5906 missing end_example line.
5908 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
5909 `org-file-tags' to nil.
5911 * org-colview.el (org-columns-next-allowed-value): Handle next
5912 argument NTH to directly select a value.
5914 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
5915 argument NTH to directly select a value.
5917 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5919 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
5921 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5923 * org.el (org-columns-ellipses): New option.
5925 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5927 * org-colview.el (org-columns-add-ellipses): New function.
5928 (org-columns-compact-links): New function.
5929 (org-columns-cleanup-item): Call `org-columns-compact-links'.
5930 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
5932 (org-columns-edit-value): Fix bug with editing values from
5934 (org-columns-redo): Also redo the agenda itself.
5936 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5938 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
5941 * org-colview.el (org-agenda-columns-cleanup-item): New function.
5943 * org-exp.el (org-export-ascii-preprocess): Rename from
5944 `org-export-ascii-clean-string'.
5945 (org-export-kill-licensed-text)
5946 (org-export-define-heading-targets)
5947 (org-export-handle-invisible-targets)
5948 (org-export-target-internal-links)
5949 (org-export-remove-or-extract-drawers)
5950 (org-export-remove-archived-trees)
5951 (org-export-protect-quoted-subtrees)
5952 (org-export-protect-verbatim, org-export-protect-examples)
5953 (org-export-select-backend-specific-text)
5954 (org-export-mark-blockquote-and-verse)
5955 (org-export-remove-comment-blocks-and-subtrees)
5956 (org-export-handle-comments, org-export-mark-radio-links)
5957 (org-export-remove-special-table-lines)
5958 (org-export-normalize-links)
5959 (org-export-concatenate-multiline-links)
5960 (org-export-concatenate-multiline-emphasis): New functions,
5961 obtained from spliting the export preprocessor.
5963 * org-table.el (org-table-recalculate): Improve error message if
5964 the row number is invalid.
5966 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5968 * org-archive.el (org-archive-save-context-info): Fix bugs in
5969 customization setup and docstring.
5971 * org-exp.el (org-export-html-style): Change the size of in the
5972 <pre> element to 90%.
5974 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5976 * org.el (org-find-src-example-start): Function removed.
5977 (org-edit-src-find-region-and-lang): New function.
5979 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5981 * org.el (org-edit-src-exit): New function.
5982 (org-exit-edit-mode): New minor mode.
5984 * org-exp.el (org-export-preprocess-string): Fix bug with removing
5985 comment-like lines from protected examples.
5987 * org.el (org-edit-src-example, org-find-src-example-start)
5988 (org-protect-source-example, org-edit-special): New functions.
5990 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5992 * org-publish.el (org-publish-project-alist): Fix typo in
5994 (org-publish-project-alist): Handle :index-title property.
5996 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5998 * org-export-latex.el (org-export-as-latex): Make sure region
5999 bounds are correct. Parse subtree properties relating to export.
6001 * org-exp.el (org-export-add-options-to-plist): New function.
6002 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6004 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6006 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6009 * org-exp.el (org-export-get-title-from-subtree)
6010 (org-export-as-ascii, org-export-as-html): Make sure the original
6011 region-beginning and region-end are used, even after moving point.
6012 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6015 * org-remember.el (org-remember-last-stored-marker): New variable.
6016 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6017 (org-remember-handler): Also use marker to remember
6018 last-stored position.
6020 * org.el (org-goto-marker-or-bmk): New function.
6022 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6024 * org.el (org-file-properties): Rename from `org-local-properties'.
6025 (org-scan-tags): Take file tags into account.
6026 (org-tags-match-list-sublevels): Default changed to t.
6028 * org-exp.el (org-export-as-html): Close paragraph after a footnote.
6030 * org.el (org-update-parent-todo-statistics): New function.
6032 * org-exp.el (org-icalendar-store-UID): New option.
6033 (org-icalendar-force-UID): Option removed.
6034 (org-print-icalendar-entries): IMplement UIDs.
6036 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6038 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6040 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6042 * org-faces.el (org-column): Document how this face is being used
6043 and why sometimes the background faces shine through.
6045 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6047 * org-publish.el (org-publish-attachment): Create publishing
6048 directory if it does not yet exist.
6050 * org-table.el (org-calc-default-modes): Change default number
6051 format to (float 8).
6053 * org.el (org-olpath-completing-read): New function.
6054 (org-time-clocksum-format): New option.
6055 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6057 * org-clock.el (org-clock-display, org-clock-out)
6058 (org-update-mode-line): Use `org-time-clocksum-format'.
6060 * org-colview-xemacs.el (org-columns-number-to-string): Use
6061 `org-time-clocksum-format'.
6063 * org-colview.el (org-columns-number-to-string): Use
6064 `org-time-clocksum-format'.
6066 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6068 * org-id.el: New file, move from contrib to core.
6070 * org-exp.el (org-icalendar-force-UID): New option.
6072 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6074 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6075 shifted by one day if there is a date range without an end time.
6077 * org.el (org-try-structure-completion): New function.
6079 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6081 * org.el (org-set-font-lock-defaults): Improve fontification of
6083 (org-insert-item): Handle description lists.
6084 (org-adaptive-fill-function): Improve auto indentation in
6087 * org-exp.el (org-export-as-html, org-export-preprocess-string):
6088 Implement VERSE environment.
6089 (org-export-preprocess-string): Implement the COMMENT
6092 * org-export-latex.el (org-export-latex-preprocess): Implement
6095 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6097 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6100 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6102 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6104 * org.el (org-quote-csv-field): New functions.
6106 * org-table.el (org-table-export-default-format): Remove :splice
6107 from default format, we get the same effect by not specifying
6109 (org-table-export): Improve setup, distinguish better between
6110 interactive and non-interactive use, allow specifying the format
6111 on the fly, better protection against wrong file names.
6112 (orgtbl-to-generic): Fix documentation. Do not require :tstart
6113 and :tend when :splice is omitted.
6115 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6117 * org-clock.el (org-clock-select-task): Make sure the selection
6118 letters are 1-9 and A-Z, no special characters.
6120 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6122 * org-exp.el (org-export-htmlize): New group.
6123 (org-export-htmlize-output-type)
6124 (org-export-htmlize-css-font-prefix): New options.
6125 (org-export-htmlize-region-for-paste): New function.
6126 (org-export-htmlize-generate-css): New command.
6128 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6130 * org.el (org-set-visibility-according-to-property): New function.
6131 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6132 and compute the regular expressions, and update font-lock.
6133 (org-property-re): Allow a dash in property names.
6135 * org-archive.el (org-extract-archive-file): Insert the file name
6136 without the path into the format, to allow the location format to
6137 contain a subdirectory.
6139 * org-agenda.el (org-agenda-post-command-hook): If point is at end
6140 of buffer, and the `org-agenda-type' property undefined, use the
6141 value from the character before.
6143 * org.el (org-add-planning-info): Don't let indentation for
6144 would-be timestamp become extra whitespace at the end of headline.
6146 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6148 * org.el (org-remove-double-quotes, org-file-contents): New
6151 * org-exp.el (org-infile-export-plist): Also parse the
6152 contents of #+SETUPFILE files, recursively.
6154 * org.el (org-set-regexps-and-options): Also parse the
6155 contents of #+SETUPFILE files, recursively.
6157 * org-exp.el (org-export-handle-include-files): New function.
6158 (org-export-preprocess-string): Call
6159 `org-export-handle-include-files'.
6161 * org.el (org-delete-property-globally)
6162 (org-delete-property, org-set-property): Ignore case during
6164 (org-set-property): Use `org-completing-read' instead of
6167 * org.el (org-complete-expand-structure-template): New,
6168 experimental function.
6169 (org-structure-template-alist): New, experimental option.
6170 (org-complete): Call `org-complete-expand-structure-template'.
6172 2008-06-17 Bastien Guerry <bzg@altern.org>
6174 * org-export-latex.el (org-export-latex-preprocess):
6175 Add support for blockquotes.
6177 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6179 * org.el (org-read-date-analyze): Catch the case where only a
6182 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6184 * org.el (org-set-font-lock-defaults): Make the description
6187 * org-exp.el (org-export-as-html, org-close-li): Implement
6190 2008-06-17 Jason Riedy <jason@acm.org>
6192 * org-table.el (*orgtbl-default-fmt*): New variable.
6193 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6194 when there is no other fmt available.
6196 (orgtbl-to-generic): Allow an explicitly nil :tstart or
6197 :tend to suppress the appropriate string.
6199 (orgtbl-to-orgtbl): New function for translating to another orgtbl
6202 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6204 * org.el (org-read-date-analyze): "." as an alias for "+0" in
6207 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6210 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6213 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6215 * org-clock.el (org-clock-find-position): Don't include notes
6218 * org-archive.el (org-archive-subtree): No longer remove an
6219 extra line after cutting the subtree. `org-cut-subtree' already
6222 * org-remember.el (org-remember-handler): Only kill the target
6223 buffer if it does not contain the running clock.
6225 * org.el (org-markers-to-move): New variable.
6226 (org-save-markers-in-region, org-check-and-save-marker)
6227 (org-reinstall-markers-in-region): New function.
6228 (org-move-subtree-down, org-copy-subtree): Remember relative
6229 marker positions before cutting.
6230 (org-move-subtree-down, org-paste-subtree): Restore relative
6231 marker positions after pasting.
6233 * org-remember.el (org-remember-clock-out-on-exit): New option.
6234 (org-remember-finalize): Clock out only if the setting in
6235 `org-remember-clock-out-on-exit' requires it.
6236 (org-remember-handler): Do the cleanup in the buffer, to make sure
6237 that the clock marker remains in tact.
6239 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6241 * org-clock.el (org-clock-goto): Widen buffer if necessary.
6242 (org-clock-in): Make sure that also tasks outside the narrowed
6243 region will be clocked in correctly.
6244 (org-clock-insert-selection-line): Widen the buffer so that we can
6245 find the correct task heading.
6247 * org.el (org-base-buffer): New function.
6249 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6250 and ";" are escaped.
6251 (org-print-icalendar-entries): Also apply
6252 `org-icalendar-cleanup-string' to the headline, not only to the
6255 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6257 * org-exp.el (org-export-preprocess-hook): New hook.
6258 (org-export-preprocess-string): Call `org-export-preprocess-hook'.
6260 * org.el (org-font-lock-hook): New variable.
6261 (org-font-lock-hook): New function.
6262 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6266 ;; add-log-time-zone-rule: t
6269 Copyright (C) 2008, 2009 Free Software Foundation, Inc.
6271 This file is part of GNU Emacs.
6273 GNU Emacs is free software: you can redistribute it and/or modify
6274 it under the terms of the GNU General Public License as published by
6275 the Free Software Foundation, either version 3 of the License, or
6276 (at your option) any later version.
6278 GNU Emacs is distributed in the hope that it will be useful,
6279 but WITHOUT ANY WARRANTY; without even the implied warranty of
6280 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6281 GNU General Public License for more details.
6283 You should have received a copy of the GNU General Public License
6284 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
6286 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c