1 2012-01-19 Chong Yidong <cyd@gnu.org>
3 * Version 23.4 released.
5 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
7 * Version 23.3 released.
9 2011-02-23 Juanma Barranquero <lekktu@gmail.com>
11 * org.el (org-maybe-keyword-time-regexp):
12 * org-icalendar.el (org-icalendar-store-UID):
13 * org-agenda.el (org-agenda-scheduled-leaders)
14 (org-agenda-deadline-leaders, org-agenda-filter-preset):
15 * org-table.el (org-table-current-line-types)
16 (org-table-current-begin-line, org-table-current-begin-pos):
17 (org-table-current-field-formula):
18 Fix typos in docstrings.
20 2010-10-22 Juanma Barranquero <lekktu@gmail.com>
22 * org-exp.el (org-export-visible): Fix typo in docstring.
24 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
26 * org-agenda.el (org-prefix-category-length)
27 (org-prefix-category-max-length): Fix typos in docstrings.
29 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
31 * Version 23.2 released.
33 2010-02-15 Chong Yidong <cyd@stupidchicken.com>
35 * org-freemind.el (org-freemind-from-org-mode-node)
36 (org-freemind-from-org-mode)
37 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
38 Pass arg to called-interactively-p.
40 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
42 * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
43 Fix typos in docstrings.
45 2010-01-01 Juanma Barranquero <lekktu@gmail.com>
47 * org.el (org-get-outline-path, org-speed-command-help):
48 Fix typos in error messages.
50 2009-12-14 Juri Linkov <juri@jurta.org>
52 * org-html.el (org-export-html-style-include-default):
53 Put `safe-local-variable booleanp' on
54 `org-export-html-style-include-default' instead of mistakenly
55 duplicate `org-export-html-style'.
57 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
59 * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
60 agenda after adding new entry.
62 * org-datetree.el (org-datetree-find-day-create): Fix regular
65 * org.el (org-display-outline-path): Use a format specifier for
66 message, to avoid problems with heading containing `%'.
68 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
69 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
70 (org-agenda-fix-displayed-tags): New function.
71 (org-agenda-do-context-action): Just call
72 `org-display-outline-path', without piping the result through
75 * org-latex.el (org-export-latex-preprocess): Protect secondary
78 * org-indent.el (org-indent-initialize): Avoid empty strings as
81 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
82 hat checking for the mark does not throw an error.
83 (org-agenda-diary-entry-in-org-file): Catch the case that there is
84 not `day' text property in the cursor line.
86 * org.el (org-sort-entries-or-items): Make sure that the final
87 entry has a newline before doing the sorting.
89 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
90 property at the beginning of the line.
92 * org.el (org-make-link-string): Don't allow a description with
95 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
96 (org-agenda-insert-diary-as-top-level): New function.
97 (org-agenda-add-entry-to-org-agenda-diary-file): Call
98 `org-agenda-insert-diary-as-top-level'.
100 * org.el (org-occur-in-agenda-files): Make sure none of the
102 (org-activate-plain-links): Add the face property here.
103 (org-set-font-lock-defaults): Do not add the face to plain links,
104 the activator function does this.
106 * org-habit.el (org-is-habit-p): Add doc string.
108 * org-archive.el (org-archive-subtree-default-with-confirmation):
111 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
112 after match optional (happens at the end of a line...).
114 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
117 * org-faces.el (org-copy-face): Set lisp indentation.
118 (org-quote, org-verse): New faces.
120 * org-agenda.el (org-agenda-remove-date): Remove variable.
122 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
124 * org-html.el (org-export-as-html): Move the home/up link into
127 * org.el (org-export-latex-packages-alist): Option definition
128 moved here from org-latex.el.
130 * org-html.el (org-export-html-home/up-format): Add an ID to the
133 * org-wl.el (org-wl-store-link): Handle the case that
134 `wl-use-petname' is set.
136 * org.el (org-set-effort): Improve prompt.
137 (org-get-outline-path): Widen to get full path.
138 (org-compact-display-after-subtree-move): Function removed.
140 2009-11-20 Eric Schulte <schulte.eric@gmail.com>
142 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
143 hash keys to cache and re-use images generated by the
144 org-exp-blocks interface to ditaa and dot.
146 * org.el (org-format-latex): Latex images are now saved to files
147 named by the sha1 hash of the latex source text avoiding
148 regeneration of identical images.
150 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
152 * org-latex.el (org-export-as-latex): Add the :drawers property.
154 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
156 * org.el (org-speed-commands-user): Allow documentation headlines.
157 (org-speed-commands-default): Organize the value of this constant
158 with descriptive headlines.
159 (org-print-speed-command): Output the headlines.
161 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
163 * org-agenda.el (org-agenda-show-outline-path): New option.
164 (org-agenda-do-context-action): New function.
165 (org-agenda-next-line, org-agenda-previous-line): Use
166 `org-agenda-do-context-action'.
168 * org.el (org-use-speed-commands): Allow function value.
169 (org-speed-commands-default): Make headline motion safe, so that
170 these commands always end on a headline.
171 (org-speed-commands-default): New key `v' for `org-agenda'.
172 (org-speed-move-safe): New function.
173 (org-self-insert-command): Use the function value of
174 `org-use-speed-commands'.
175 (org-get-outline-path): Improve docstring.
176 (org-format-outline-path): New function.
177 (org-display-outline-path): New function.
179 2009-11-15 John Wiegley <jwiegley@gmail.com>
181 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
182 a string, use that to find the LOGBOOK drawer.
184 2009-11-15 Glenn Morris <rgm@gnu.org>
186 * org-agenda.el (org-datetree-find-date-create)
187 (org-habit-get-priority):
188 * org.el (org-format-agenda-item): Fix declarations.
190 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
192 * org.el (org-clone-subtree-with-time-shift): Make it work at the
195 * org-mobile.el (org-mobile-write-checksums): Specify coding
197 (org-mobile-timestamp-buffer): Keep local variable/mode line at
200 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
202 * org.el (org-block-todo-from-children-or-siblings-or-parent)
203 (org-block-todo-from-checkboxes): Do not block changes to a nil
206 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
208 * org-habit.el (org-habit-parse-todo): Indicate which habit is
209 wrongly set up in the error messages.
211 * org-colview.el (org-columns-display-here): Don't try to
212 calculate values if the underlying property is not set.
213 (org-columns-string-to-number): Convert age strings back into
215 (org-agenda-colview-summarize): Handle extended summary types
218 * org-colview-xemacs.el (org-columns-display-here): Don't try to
219 calculate values if the underlying property is not set.
220 (org-columns-string-to-number): Convert age strings back into
222 (org-agenda-colview-summarize): Handle extended summary types
225 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
227 * org-exp.el (org-export-format-drawer-function): New variable.
228 (org-export-format-drawer): New function.
229 (org-export-preprocess-string): Pass the backend as a parameter to
230 `org-export-remove-or-extract-drawers'.
231 (org-export-remove-or-extract-drawers): New parameter BACKEND.
233 * org-protocol.el (org-protocol-char-to-string): New defsubst.
235 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
237 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
238 message when no block is selected.
240 * org-latex.el (org-export-latex-links): Check for protectedness
241 in the last matched character, not after the match.
243 * org-datetree.el (org-datetree-find-date-create): Respect
244 restriction when KEEP-RESTRICTION is set.
245 (org-datetree-file-entry-under): New function.
246 (org-datetree-cleanup): New command.
248 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
250 * org-src.el (org-edit-src-code): New optional argument context
251 allows calling functions to avoid altering the saved window
253 (org-edit-src-exit): Do not restore window configuration when this
254 function is used in the context of saving the edit buffer.
256 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
258 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
259 instances to switching to with-current-buffer, because these seem
260 to cause problems - no idea why.
262 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
263 Require diary-lib for (diary-date-display-form).
265 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
267 * org.el (org-log-reschedule, org-log-redeadline): New options.
268 (org-log-note-headings): Add templates for rescheduling and
270 (org-startup-options): Add in-buffer settings for logging changing
271 schedule and deadline time stamps.
272 (org-deadline, org-schedule): Check for existing date and arrange
273 for logging if the user requests it.
274 (org-add-log-note): Prepare proper note buffers for rescheduling
275 and deadline changes.
277 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
279 * org-agenda.el (org-agenda-diary-entry-in-org-file)
280 (org-agenda-add-entry-to-org-agenda-diary-file)
281 (org-agenda-insert-diary-make-new-entry): New functions.
282 (org-agenda-diary-entry): Call
283 `org-agenda-diary-entry-in-org-file' when appropriate.
285 * org.el (org-calendar-insert-diary-entry-key): New option.
286 (org-agenda-diary-file): New option.
287 ("calendar"): Install our insertion function in the calendar.
289 * org-remember.el (org-datetree): Require.
290 (org-remember-templates): Add new positioning option.
291 (org-remember-reference-date): New variable.
292 (org-remember-apply-template): Store the reference date in a local
294 (org-remember-handler): Implement date tree positioning of entries.
296 * org-datetree.el: New file.
298 * org-latex.el (org-export-latex-preprocess): Protect targets in
301 * org-html.el (org-export-as-html): Protect targets in verbatim
304 * org-docbook.el (org-export-as-docbook): Protect targets in
307 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
309 * org-clock.el (org-show-notification): Handle messages that
310 contain a percent character.
312 * org-remember.el (org-remember-apply-template): Turn of partial
315 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
316 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
318 * org.el (org-indent-mode): Define variable already in org.el.
319 (org-unfontify-region): Remove line-prefix and wrap-prefix
320 properties only if org-indent-mode is active.
322 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
324 * org-icalendar.el (org-print-icalendar-entries): Save match data
325 around call to verify function.
326 (org-print-icalendar-entries): Add a call to the verification
329 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
330 save-restrivtion' form.
332 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
334 * org-exp.el (org-export-format-source-code-or-example): restrict
335 scope of preserve-indentp to the let binding.
336 (org-src): require org-src, since org-src-preserve-indentation is used.
338 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
340 * org-timer.el (org-timer-set-timer): Set variables
341 org-timer-timer[123] correctly.
344 * org-mobile.el (org-mobile-files-alist): Make it work when
345 `agenda-archives' is included in
346 `org-agenda-text-search-extra-files'.
347 (org-mobile-push): Restore agenda after mobile push.
349 2009-11-13 John Wiegley <jwiegley@gmail.com>
351 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
352 way the amount of idle time is presented in the minibuffer.
354 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
356 * org-icalendar.el (org-print-icalendar-entries): Use
357 org-icalendar-verify-function only if non-nil.
359 * org.el (org-refile): Refile to clock only if the prefix arg is
361 (org-sparse-tree): Fix docstring to be in line with prompt.
362 (org-update-parent-todo-statistics): Call
363 `org-after-todo-statistics-hook' on each level.
365 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
367 * org-remember.el (org-remember-apply-template): Make sure the
370 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
372 * org.el (org-tab-ind-state): New variable.
373 (org-cycle-level): New function.
374 (org-cycle-level-after-item/entry-creation): New option.
375 (org-flag-subtree): New function.
376 (org-hide-archived-subtrees): Call `org-flag-subtree'.
377 (org-set-effort): Indexed access.
379 * org-list.el (org-cycle-item-indentation): New function.
381 * org.el (org-refile): Make prefix argument 2 refile to current
383 (org-priority): Interpret action `remove' as call to remove the
386 * org-remember.el (org-remember-apply-template): Don't depend on
387 buffer name being like file name.
389 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
391 * org-clock.el (org-clock-play-sound): Expand file in
392 org-clock-sound, to allow ~ for home.
394 * org-remember.el (org-remember-handler): Set
395 text-before-node-creation even if this already looks like a node,
396 because the string might be needed on non-org-mode target files.
398 * org-agenda.el (org-agenda-open-link): Make this work in agenda
400 (org-agenda-switch-to): Follow a link at point if
401 org-return-follows-link' is set and there is nothing else to do in
404 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
406 * org-colview-xemacs.el: Add in changes from org-colview.el
408 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
410 * org-exp-blocks.el: Modify split separator regexp to avoid empty
413 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
415 * org-colview.el (org-columns-new): Make this work with the new
417 (org-columns-store-format): Make this work with the new operators.
419 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
421 * org-src.el (org-src-preserve-indentation): Document that this
422 variable is also used during export.
424 * org-exp.el (org-export-format-source-code-or-example): Preserve
425 indentation if a block has a -i option, or if
426 `org-src-preserve-indentation' is set.
428 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
429 indentation if a block has a -i option, or if
430 `org-src-preserve-indentation' is set.
432 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
434 * org.el (org-mode-map): Define the new archiving keys.
435 (org-speed-commands-default): Define an archiving key in the speed
437 (org-org-menu): Improve the menu structure concerning archiving.
439 * org-archive.el (org-archive-subtree-default-with-confirmation):
442 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
443 (org-agenda-menu): Add the new archiving commands to the menu.
444 (org-agenda-archive-default)
445 (org-agenda-archive-default-with-confirmation): New commands.
446 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
447 call `org-agenda-archive-with'.
448 (org-agenda-archive-with): New function.
450 * org-table.el (org-table-convert-region): Inert spaces around "|"
451 to avoid line beginnings like "|-1" which will be mistaken as
454 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
456 * org.el (org-offer-links-in-entry): Return nil if there are no
457 links, t if a link has been selected.
458 (org-open-at-point): Open attachment directory when called in the
459 headline and there are no links in the entry body.
460 (org-speed-commands-default): Add "o" for open-at-point as a speed
463 * org-attach.el (org-attach-reveal): Optional prefix arg
464 IF-EXISTS, which avoids creating the attachment directory if it
467 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
470 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
472 * org.el ("abbrev"): Work with abbrev tables only after they have
475 * org-list.el (org-list-send-list): Fix bug related to match
478 * org-latex.el (org-export-latex-fontify): Apply verbatim
480 (org-export-latex-make-header): Insert \obeylines if line breaks
483 * org-exp.el (org-export-protect-verbatim): Add an
484 `org-verbatim-emph' property to such text.
486 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
488 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
489 (org-print-icalendar-entries): Skip entries where the timestamp is
490 not a deadline and not scheduled, if the user requests that.
492 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
493 before an opening quote.
495 * org-archive.el (org-archive-subtree): Keep archive after
498 * org-id.el (org-id-update-id-locations): Add archive files if
499 that is required by `org-id-extra-files'.
501 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
503 * org-src.el (org-src-window-setup): New option.
504 (org-src-switch-to-buffer): New function.
505 (org-edit-src-exit): Add optional argument CONTEXT and use it to
506 restore window configuration.
507 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
508 Call `org-src-switch-to-buffer'.
510 * org.el (org-default-properties): Add STYLE property.
511 (org-files-list): Use the function call to get the files.
512 (org-additional-option-like-keywords): Add SETUPFILE to completion
515 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
517 * org-table.el (org-table-convert-region): Correctly interpret
518 quoting in csv import.
520 * org.el (org-icompleting-read): Make iswitchb completion work
521 with lists and tables.
523 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
524 while pushing the mobile agenda.
526 2009-11-13 John Wiegley <jwiegley@gmail.com>
529 (org-clock-auto-clock-resolution): Now takes three values: nil, t
530 and `when-no-clock-is-running'.
531 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
532 whether or not to resolve Org buffers on clock in.
534 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
536 * org-colview.el (org-format-time-period): Function to format
537 times in fractional days for display.
538 (org-columns-display-here): Add support for showing a calculated
539 value in place of the property.
540 (org-columns): Set `org-columns-time' to the current time so time
541 difference calculations will work.
542 (org-columns-time): Use to store the current time when column view
543 is displayed, so all time differences will use the same reference
545 (org-columns-compile-map): There is now an extra position in each
546 entry specifying the function to use to calculate the displayed
547 value for the non-calculated properties in the column,
548 (org-columns-compute-all): Set `org-columns-time' to the current
549 time so time difference calculations will work.
550 (org-columns-compute): Handle column operators where the values
551 used are calculated from the underlying property.
552 (org-columns-number-to-string): Handle the 'age' column format
553 (org-columns-string-to-number): Correct the function name (was
554 org-column...). Add support for the 'age' column format.
555 (org-columns-compile-format): Support the additional parameter in
556 org-columns-compile-map.
558 2009-11-13 Bastien Guerry <bzg@altern.org>
560 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
563 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
565 * org-clock.el (org-clock-has-been-used): New variable.
566 (org-clock-in): Set `org-clock-has-been-used'.
567 (org-clock-save): Save only if clock data has been used or created
570 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
572 * org-clock.el (org-clock-persist): New value, to store only the
574 (org-clock-save): Don't save the clock if only the history should
576 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
577 when restoring a saved clock.
579 2009-11-13 John Wiegley <jwiegley@gmail.com>
581 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
582 `org-time-clock-use-fractional'.
584 * org.el (org-time-clocksum-use-fractional)
585 (org-time-clocksum-fractional-format): Two new customizable
586 variables which allow the user to select fractional times (1.25
587 instead of 1:25) in the `org-clock-display' report.
589 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
591 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
594 * org.el (org-tag-alist): Fix customization type.
596 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
598 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
599 Make sure the regexp search can fail without throwing an error.
600 (org-mobile-apply): Save the inbox buffer after removing
601 successfully applied changes.
603 2009-11-13 John Wiegley <jwiegley@gmail.com>
605 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
606 time is reported after the user comes back (but before they
609 * org.el (org-get-repeat): Change so that this function can be
610 called with either `org-scheduled-string' or
611 `org-deadline-string'.
613 * org-clock.el (org-clock-auto-clock-resolution): Renamed
614 `org-clock-disable-clock-resolution', since negatives don't sound
615 good in customization variables.
616 (org-clock-in): Don't use the auto-resolution logic if the user is
617 clocking into a different task while an active clock is running.
618 This then allows the default behavior of clocking out of the open
619 task and then into the new task.
621 * org.el (org-modules): Made this variable more consistent, since
622 it was referring to Org, OrgMode and Org-mode, whereas the docs
623 for the variable always refer to Org-mode.
625 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
627 * org.el (org-repeat-re): The changed org-repeat-re no longer
628 matched simple +2d type repeaters. Fix it so it does.
630 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
632 * org-latex.el (org-export-latex-preprocess): Protect the vspace
633 macro in the VERSE environment.
635 2009-11-13 John Wiegley <jwiegley@gmail.com>
637 * org-habit.el (org-habit-get-priority): A new function that
638 determines the relative priority of a habit, based on how long
639 past its scheduled date it is, and how near the deadline is.
641 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
642 using `org-habit-get-priority'.
644 * org-habit.el (org-habit-build-graph): Start displaying colors
645 from the first scheduled date, if that date is earlier than the
646 first completion date.
648 * org-habit.el: Changed all "color" variables to faces, and made
649 them appropriate for light and dark backgrounds.
651 * org-habit.el (org-habit-duration-to-days): Made this function
653 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
655 * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
656 habits, since they don't use DEADLINE anymore.
658 * org.el (org-repeat-re, org-display-custom-time)
659 (org-timestamp-change): Extended to support the new ".+N/N"
660 syntax, used for habits.
662 * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
665 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
666 modeline when habits are being displayed (if that module is being
669 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
671 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
672 idle time using the xscreensaver extension.
673 (org-user-idle-seconds): Use X11 idle time if available.
675 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
677 * org-agenda.el (org-agenda-next-line): New command.
678 (org-agenda-previous-line): New commands.
679 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
681 (org-agenda-follow-mode): Do the follow immediately if the mode is
683 (previous-line, next-line): Replace keys with the corresponding
685 (org-agenda-mode-map): Bind backspace and delete to the scrolling
688 * org.el (org-icompleting-read): Turn off partial completion mode
689 for the duration of this completion round.
691 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
692 macros in author lines and similar stuff.
694 * org.el (org-file-tags): Fix docstring.
695 (org-get-buffer-tags): Add the #+FILETAGS tags.
696 ("ecb"): Maks ecb show context after jumping into an Org file.
698 2009-11-13 John Wiegley <johnw@newartisans.com>
700 * org-agenda.el (org-finalize-agenda): Draw habit consistency
701 graphs after everything else in the buffer has been setup.
703 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
705 * org-mobile.el (org-mobile-apply): Count success and failure.
707 * org.el (org-indent-line-function): Fix regexp replace problem.
709 2009-11-13 John Wiegley <johnw@newartisans.com>
711 * org-clock.el (org-clock-disable-clock-resolution): New
712 customization variable that disable automatic clock resolution on
714 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
715 not automatically resolve anything. This is does not affect
716 idle-time resolution, however, if `org-clock-idle-time' is set.
718 2009-11-13 John Wiegley <johnw@newartisans.com>
720 * org-habit.el: New file, which implements code to build a "habit
723 * org-agenda.el (org-agenda-get-deadlines)
724 (org-agenda-get-scheduled): Display consistency graphs when
725 outputting habits into the agenda. The graphs are always relative
727 (org-format-agenda-item): Added new parameter `habitp', which
728 indicates whether we are formatting a habit or not. Do not
729 display "extra" leading information if habitp is true.
731 * org.el (org-repeat-re): Improved regexp to include .+ and ++
732 leaders for repeat strings.
733 (org-get-repeat): Now takes a string parameter `tagline', so the
734 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
736 2009-11-13 John Wiegley <johnw@newartisans.com>
738 * org-agenda.el (org-agenda-auto-exclude-function): New
739 customization variable for allowing the user to create an "auto
740 exclusion" filter for doing context-aware auto tag filtering.
741 (org-agenda-filter-by-tag): Changes to support the use of
742 `org-agenda-auto-exclude-function'. See the new manual addition,.
744 2009-11-13 John Wiegley <johnw@newartisans.com>
746 * org.el (org-files-list): Don't attempt to return a file name for
747 Org buffers which have no associated file.
749 * org-agenda.el (org-agenda-do-action): Fixed a typo.
751 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
753 * org-mobile.el (org-mobile-locate-entry): Interpret files
754 relative to org-directory.
755 (org-mobile-inbox-for-pull): Document the best location for this
757 (org-mobile-check-setup): Verify `org-directory'.
758 (org-mobile-create-index-file): Sort the files to be listed in
761 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
763 * org.el (org-fast-tag-selection): Add a way to display a
764 description for a tag group. This is done by adding a string to
765 either the startgroup or endgroup cell.
767 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
769 * org-clock.el (org-clock-resolve, org-resolve-clocks)
770 (org-emacs-idle-seconds): Use `org-float-time' instead of
773 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
775 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
778 * org.el (org-pre-cycle-hook): Document that `empty' can also be
779 the value of ARG when doing local cycling.
781 2009-11-13 John Wiegley <johnw@newartisans.com>
783 * org-clock.el (org-clock-resolve-clock): If keeping or
784 subtracting time results in a clock out at a time in the past, and
785 if the resolution occurred due to idleness or invoking `M-x
786 org-resolve-clocks', remember that past moment in time. On the
787 next clock in, the user will be prompted to see if they want to
788 back-date their new clock to then.
789 (org-clock-resolve): Do not jump the user to the location of a
790 dangling clock if the resolution is occurring due to an idle
791 timeout. In that case there is typically only one dangling clock,
792 the active one, and there is no value gained by shuffling their
793 windows around to show it to them. Being prompted to resolve an
794 idle clock should be as inobtrusive as possible.
795 (org-resolve-clocks-if-idle): New function that resolves only the
796 currently active clock if the user has exceeded the time returned
797 by `org-user-idle-seconds', based on the value of
798 `org-clock-idle-time'.
799 (org-clock-in): If, after resolving clocks,
800 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
802 * org-clock.el (org-clock-resolve-clock): New function that
803 resolves a clock to a specific time, closing or resuming as need
804 be, and possibly even starting a new clock.
805 (org-clock-resolve): New function used by `org-resolve-clocks'
806 that sets up for the call to `org-clock-resolve-clock'. It
807 determines the time to resolve to based on a single-character
808 selection from the user to either keep time, subtract away time or
810 (org-resolve-clocks): New user command which resolves dangling
811 clocks -- that is, open but not active -- anywhere in the file
812 list returned by `org-files-list'.
813 (org-clock-in): Automatically resolve dangling clocks whenever a
815 (org-clock-cancel): If the user cancels the solely clock in a
816 LOGBOOK, remove the empty drawer.
818 * org-clock.el (org-clock-idle-time): New user customizable option
819 for detecting whether the user has left a clock idle. Note: it is
820 only used in this commit to test whether it's worthwhile to check
821 OS X to get the Mac user's current idle time. If the Emacs idle
822 time is less than the value, the user hasn't been away long enough
823 to be worth checking (a more expensive test than just getting
825 (org-user-idle-seconds, org-mac-idle-seconds)
826 (org-emacs-idle-seconds): This three functions, in conjunction
827 with the user customization variable `org-clock-idle-time', return
828 the number of seconds (as a floating point) that the user has been
829 away from their Emacs (or, if running on OS X, their computer).
831 * org-clock.el (org-find-open-clocks): New function that returns a
832 list of all open clocks in the given FILE. Note that each clock
833 it returns is a cons cell of the format (MARKER . START-TIME).
834 This "clock" value is used by several of the new clock module
836 (org-is-active-clock): New inline function which tests whether the
837 given clock value is the same as the currently active clock.
838 Returns non-nil if this is the case.
839 (org-with-clock-position): New macro that evaluates FORMS with
840 point in the buffer and at the position of the given clock.
841 Changes to the current clock are global.
842 (org-with-clock): New macro that evaluates FORMS with point in the
843 buffer and at the position of the given clock. However, changes
844 to the current clock are local and have no effect on the user's
845 active clock. This allows, for example, far any clock to be
846 cancelled without cancelling the active clock.
847 (org-clock-clock-in): New inline function that switches the active
848 clock to the given clock. If either the argument RESUME, or the
849 global `org-clock-in-resume', are non-nil, it will resume a clock
850 that was previously left open.
851 (org-clock-clock-out): New inline function that clocks out the
852 given clock value without affecting the currently active clock.
853 (org-clock-clock-cancel): New inline function that cancels the
854 given clock value without affecting the currently active clock.
856 * org-clock.el (org-clock-in): Before creating
857 `org-clock-mode-line-timer', check to make sure an older timer is
858 not currently running.
859 (org-clock-out): Accept new third parameter `at-time', which
860 permits a clock to be clocked out at a specific time. Note that
861 no attempt is made to verify that the clock out time is later than
864 * org.el (org-files-list): New utility function for returning a
865 list of all open org-mode buffers, plus all files used to build
866 the agenda buffer. Note that not all the files will necessarily
867 be visited by a buffer at time of call.
868 (org-entry-beginning-position): Like the function
869 `line-beginning-position', this inline function returns the
870 beginning position of the current heading/entry.
871 (org-entry-end-position): Like the function `line-end-position',
872 this inline function returns the end position of the current
875 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
877 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
880 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
882 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
884 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
886 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
887 entries that have no tags.
888 (org-agenda-search-view): New customize group.
889 (org-agenda-search-view-search-words-only): New option.
890 (org-search-view): Implement substring search.
892 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
894 * org.el (org-outline-level): Add doc string.
896 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
898 * org-inlinetask.el (org-inlinetask-export): Re-introduce
900 (org-inlinetask-export-handler): Only export inline task if the
901 user option calls for it.
903 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
905 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
908 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
910 * org-latex.el (org-export-latex-tables): Don't format in
913 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
915 * org-src.el (org-edit-src-code)
916 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
919 * org-agenda.el (org-prefix-category-max-length): New variable.
920 (org-format-agenda-item): Use `org-prefix-category-max-length'.
921 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
923 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
925 * org-mobile.el (org-mobile-create-index-file): Improve the
926 listing of tags and todo keywords.
928 * org-latex.el (org-export-latex-format-image): New function.
929 (org-export-latex-links): Use `org-export-latex-format-image'.
931 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
933 * org-inlinetask.el (org-inlinetask-get-current-indentation)
934 (org-inlinetask-remove-terminator): New functions.
935 (org-inlinetask-export-handler): Terminate the description list.
937 * org-exp.el (org-export-select-backend-specific-text): Remove the
940 * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
941 tasks without content.
943 * org-clock.el: Make sure the clock-in target position does not
944 move to a different node by widening the buffer.
946 * org-html.el (org-export-html-format-image): Wrap image into
947 figure div only when there is a caption.
949 * org-archive.el (org-archive-mark-done): Change default value to
952 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
954 * org.el (org-context): Call `bobp', not `eobp'.
956 * org-clock.el (org-clock-cancel): Remove quotes from marker
959 * org.el (org-read-date-prefer-future): New allowed value `time'.
960 (org-read-date-analyze): Shift day to tomorrow depending on time
961 entered and value of `org-read-date-prefer-future'.
963 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
965 * org.el (org-version, org-get-refile-targets, org-refile)
966 (org-store-log-note, org-diary-to-ical-string)
967 (org-speedbar-set-agenda-restriction):
968 * org-publish.el (org-publish-find-title):
969 * org-plot.el (org-plot/gnuplot):
970 * org-mouse.el (org-mouse-do-remotely):
971 * org-mobile.el (org-mobile-move-capture):
972 * org-mac-message.el (org-mac-message-insert-flagged):
973 * org-latex.el (org-replace-region-by-latex):
974 * org-docbook.el (org-replace-region-by-docbook):
975 * org-clock.el (org-clock-out, org-clock-cancel):
976 * org-bibtex.el (org-execute-file-search-in-bibtex):
977 Use with-current-buffer.
979 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
981 * org.el (org-directory, org-map-entries):
982 * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
984 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
986 * org.el (org-set-tags-to): New command.
988 * org-latex.el (org-export-latex-set-initial-vars): Also check in
991 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
994 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
996 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
998 * org-inlinetask.el (org-inlinetask-export): Option removed.
999 (org-inlinetask-export-handler): Better export.
1001 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
1002 (org-export-as-xoxo): Run the new hook.
1004 * org-html.el (org-export-html-final-hook): New hook.
1005 (org-export-as-html): Run the new hook.
1007 * org-docbook.el (org-export-docbook-final-hook): New hook.
1008 (org-export-as-docbook): Run the new hook.
1010 * org-ascii.el (org-export-ascii-final-hook): New hook.
1011 (org-export-as-ascii): Run the new hook.
1013 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1014 space character as the character before the ^/_.
1015 (org-export-latex-final-hook): New hook.
1016 (org-export-as-latex): Run `org-export-latex-final-hook'.
1018 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1020 * org-macs.el (org-if-unprotected-at): Fix docstring.
1022 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1023 text in the prefix (if category is a link).
1025 * org-latex.el (org-export-latex-preprocess): Deal properly with
1026 empty lines in verse environments.
1028 * org.el (org-format-latex-header): Inline fullpage.sty.
1030 * org-footnote.el (org-footnote-create-definition): Reveal context
1031 to add a new footnote definition.
1033 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1034 org-table-recalculate when cursor is in TBLFM line.
1036 * org-list.el (org-renumber-ordered-list): Fix cursor position
1037 when bullet length has changed.
1039 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1041 * org.el (org-format-latex): Mention `org-format-latex-options' in
1044 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1046 * org.el (org-agenda-get): New function.
1048 * org-agenda.el (org-agenda-post-command-hook): No longer move
1049 point away from end of line.
1050 (org-agenda-add-entry-text, org-agenda-collect-markers)
1051 (org-finalize-agenda, org-agenda-mark-clocking-task)
1052 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1053 (org-agenda-entry-text-show, org-agenda-highlight-todo)
1054 (org-agenda-compare-effort, org-agenda-filter-apply)
1055 (org-agenda-later, org-agenda-change-time-span)
1056 (org-agenda-post-command-hook, org-agenda-show-priority)
1057 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1058 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1059 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1060 (org-agenda-open-link, org-agenda-copy-local-variable)
1061 (org-agenda-switch-to, org-agenda-check-no-diary)
1062 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1063 (org-agenda-add-note, org-agenda-change-all-lines)
1064 (org-agenda-priority, org-agenda-set-tags)
1065 (org-agenda-set-property, org-agenda-set-effort)
1066 (org-agenda-toggle-archive-tag, org-agenda-date-later)
1067 (org-agenda-show-new-time, org-agenda-date-prompt)
1068 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1069 (org-agenda-clock-in, org-agenda-bulk-mark)
1070 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1073 * org-colview.el (org-columns-display-here)
1074 (org-columns-edit-allowed, org-agenda-columns): Use
1077 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1079 * org.el (org-special-ctrl-a/e): Improve documentation and
1081 (org-end-of-line): Don't jump to after the ellipsis.
1082 (org-mode-map): Bind <home> and <end> as well.
1084 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1086 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1087 space after #+ as comments.
1088 (org-open-at-point): Run `org-follow-link-hook' always.
1090 * org-latex.el (org-export-latex-emph-format): Use better commands
1091 to insert special characters in verbatim snippets.
1093 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1095 * org-faces.el (org-copy-face): New function. Use it to create
1096 various faces formerly created by using `copy-face'.
1098 * org-agenda.el (org-prepare-agenda): Don't officially mark this
1100 (org-agenda-quit): Kill the frame containing the agenda window if
1101 that frame was created for the agenda.
1103 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1105 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1106 stamp in the agenda.
1108 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1110 * org-agenda.el (org-prepare-agenda): Reset
1111 `org-drawers-for-agenda'.
1112 (org-prepare-agenda): Uniquify list of drawers.
1114 * org.el (org-complex-heading-regexp-format): New variable.
1115 (org-set-regexps-and-options): Define
1116 `org-complex-heading-regexp-format'.
1117 (org-drawers-for-agenda): New variable.
1118 (org-map-entries): Bind `org-drawers-for-agenda'.
1119 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1121 * org-remember.el (org-go-to-remember-target)
1122 (org-remember-handler): Use `org-complex-heading-regexp-format'.
1124 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1126 * org-agenda.el (org-agenda-highlight-todo): Fix text property
1129 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1130 always with `invisible-ok'.
1131 (org-store-link): No error when there is nothing to link to in the
1134 * org-list.el (org-update-checkbox-count): Insert changed cookie
1135 before the old, to avoid problems with invisibility at the end of
1137 (org-update-checkbox-count): Insert changed cookie before the old,
1138 to avoid problems with invisibility at the end of the line.
1140 * org.el (org-sort-entries-or-items): Include the final newline.
1141 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1142 lines for fontification.
1143 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1144 (org-prepare-dblock): Store the current indentation of the BEGIN
1146 (org-update-dblock): Apply the indentation of the begin line to
1147 the rest of the block.
1148 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1149 (org-startup-folded): New allowed value `showeverything'.
1150 (org-startup-options): Add STARTUP keyword `showeverything'.
1151 (org-set-startup-visibility): Respect value `showeverything' in
1154 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1156 * org.el (org-closest-date): Fix issue with past preference.
1158 * org-archive.el (org-archive-set-tag)
1159 (org-archive-subtree-default): New commands.
1161 * org-clock.el (org-clock-clocktable-default-properties): New
1163 (org-clock-report): Use
1164 `org-clock-clocktable-default-properties'.
1166 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1168 * org.el (org-iswitchb-completing-read): Fix typo.
1170 * org-crypt.el: New file.
1172 * org.el: Add an entry for org-crypt.
1174 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1176 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1178 (org-batch-store-agenda-views): New function.
1179 (org-agenda-title-append): Define variable.
1180 (org-write-agenda): New export to Org files.
1181 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1182 (org-agenda): Allow to keep the restricted file list if a special
1183 variable is bound to t.
1184 (org-agenda): Define a special agenda view for working on flagged
1186 (org-agenda-get-restriction-and-command): List the new agenda
1188 (org-agenda-show-the-flagging-note): New command.
1189 (org-agenda-mode-map): New key `?' for looking at the flagging
1192 * org.el (org-autoload): Autoload org-mobile.el.
1193 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1195 * org-mobile.el: New file.
1197 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1199 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1201 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1203 (org-table-get-remote-range): Match indented #+TBLNAME
1206 * org.el (org-convert-to-odd-levels)
1207 (org-convert-to-oddeven-levels): Work also correctly if the file
1210 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1212 * org.el (org-store-link): When in agenda buffer, link to
1214 (org-add-planning-info): Remove spaces at eol.
1216 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1219 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1221 * org-latex.el (org-export-latex-first-lines): Fix problem with
1222 LaTeX export of first line and selected subtree.
1224 * org.el (org-shifttab): Interpret arg differently when using only
1227 2009-10-01 Bastien Guerry <bzg@altern.org>
1229 * org.el (org-check-agenda-file): Use a more explicit message
1231 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1233 * org-exp.el (org-export-remove-special-table-lines): Don't remove
1236 2009-10-01 Bastien Guerry <bzg@altern.org>
1238 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1239 prompt in the temporary window.
1241 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1242 prefix for marked entries in the agenda view.
1244 2009-10-01 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
1246 * org.el (outline-end-of-subtree): Bugfix: advise this function in
1247 a way that prevents any trailing character from being displayed.
1249 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1251 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1254 * org-exp.el (org-export-remove-special-table-lines): Remove bad
1257 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1259 * org-latex.el (org-export-latex-preprocess): Do not protect in
1262 * org-src.el (org-edit-src-save): Save window setup while saving.
1263 (org-edit-src-code): Use new buffer name construction scheme.
1265 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1267 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1269 (org-agenda-entry-text-cleanup-hook): New hook.
1270 (org-agenda-get-some-entry-text): Remove matches of
1271 `org-agenda-entry-text-exclude-regexps' and run the hook
1272 `org-agenda-entry-text-cleanup-hook'.
1274 * org.el (org-offer-links-in-entry): New argument ZERO to
1275 implement a link with index zero.
1276 (org-cycle-show-empty-lines): Not keep empty line under header
1278 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1279 to nil for special completion.
1280 (org-store-link): Don't error before the first heading.
1282 * org-agenda.el (org-agenda-open-link): Pass the prefix to
1283 `org-offer-links-in-entry'.
1285 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1287 * org-agenda.el (org-agenda-quit): Provide the window argument for
1288 `window-dedicated-p', Emacs 22 needs it.
1289 (org-format-agenda-item): If the category is a link, arrange for
1290 invisible text to replaced with spaces.
1291 (org-compile-prefix-format): Add the extra space.
1292 (org-prefix-category-length): New variable.
1294 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1295 references from TOC lines.
1297 * org.el (org-selected-window): New variable.
1299 * org-table.el (org-table-edit-formulas): Remember the selected
1301 (org-table-fedit-finish, org-table-fedit-abort): Select the window
1302 that was originally selected.
1304 * org-exp.el (org-export-preprocess-apply-macros): Scan the
1305 expansion of a macro for more macro definitions.
1307 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1308 invisibility overlay starts on the newline.
1310 2009-10-01 Glenn Morris <rgm@gnu.org>
1312 * org-agenda.el (calendar-check-holidays):
1313 * org-exp.el (org-agenda-skip):
1314 * org-list.el (outline-back-to-heading):
1315 * org-wl.el (wl-summary-goto-folder-subr):
1316 * org.el (iswitchb-mode, remember, remember-buffer-desc)
1317 (remember-finalize, remember-save-after-remembering, remember-register)
1318 (remember-buffer, remember-handler-functions)
1319 (remember-annotation-functions): Remove unused declarations.
1321 * org.el (iswitchb-read-buffer): Fix declaration.
1323 2009-09-30 Glenn Morris <rgm@gnu.org>
1325 * org-compat.el (w32-focus-frame):
1326 * org-exp-blocks.el (R):
1327 * org-exp.el (htmlize-buffer):
1328 * org-protocol.el (server-edit):
1329 * org-table.el (org-format-org-table-html):
1330 * org.el (org-indent-mode): Fix declarations.
1332 * org-colview.el (org-columns-uncompile-format): Avoid assignment to
1333 free variable `fun'.
1335 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
1337 * org-agenda.el (org-agenda-restore-windows-after-quit):
1338 Fix typo in docstring.
1340 2009-09-23 Juanma Barranquero <lekktu@gmail.com>
1342 * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
1343 (org-shiftselect-error, org-ctrl-c-ctrl-c):
1344 * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
1345 * org-attach.el (org-attach-check-absolute-path):
1346 * org-docbook.el (org-export-as-docbook):
1347 * org-html.el (org-export-as-html):
1348 * org-id.el (org-id-update-id-locations):
1349 * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
1350 Fix typos in error messages.
1352 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1354 * org-ascii.el: Require CL for the `loop' macro.
1356 2009-09-05 Carsten Dominik <dominik@u016822.science.uva.nl>
1358 * org-gnus.el (require): Wrap (require gnus-sum) into
1361 2009-09-03 Carsten Dominik <dominik@u016822.science.uva.nl>
1363 * org-protocol.el (org-protocol-store-link)
1364 (org-protocol-remember, org-protocol-open-source): Remove autoload
1367 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
1368 referencing the start of the line.
1370 * org-gnus.el: Remove unnecessary declare-function forms.
1371 (gnus-sum): Always require gnus-sum.
1373 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1375 * org-protocol.el (org-protocol-store-link)
1376 (org-protocol-remember, org-protocol-open-source): Add autoloads.
1378 * org-compat.el (org-float-time): New function.
1380 * org.el (org-clock-update-time-maybe)
1381 (org-sort-entries-or-items, org-do-sort)
1382 (org-evaluate-time-range, org-time-string-to-seconds)
1383 (org-closed-in-range): Use `org-float-time'.
1385 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1386 (org-timer-seconds): Use `org-float-time'.
1388 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1389 (org-clock-sum, org-dblock-write:clocktable)
1390 (org-clocktable-steps): Use `org-float-time'.
1392 * org-agenda.el (org-agenda-last-marker-time)
1393 (org-agenda-new-marker, org-diary): Use `org-float-time'.
1395 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1398 * org-exp.el (org-get-file-contents): Only protect lines that
1401 * org-html.el (require): Require cl for compilation.
1403 * org.el: Avoid using `default-major-mode'.
1405 * org-plot.el (require): Require CL only at compile time.
1407 * org-exp.el (require): Require CL only at compile time.
1409 * org-agenda.el (org-agenda-quit): When the agenda window is
1410 dedicated, remove other windows before exiting, so that the frame
1411 really will be killed.
1413 * org-exp.el (org-export-handle-include-files): Reset START and
1414 END for each loop cycle.
1416 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1418 * org.el (org-eval-in-calendar): Use
1419 `org-select-frame-set-input-focus'.
1421 * org-compat.el (org-select-frame-set-input-focus): New function.
1423 * org.el (org-update-statistics-cookies): New function.
1424 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1426 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1428 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1429 after the local variables are set.
1431 * org-latex.el (org-export-latex-protect-amp): New function.
1432 (org-export-latex-links): Protect link ampersands in tables.
1434 * org-exp.el (org-export-select-backend-specific-text): Match in
1435 two steps, to avoid regexp problems.
1437 * org.el (org-offer-links-in-entry): Improve working with many and
1440 * org-agenda.el (org-agenda-show-1): Make more consistent with
1442 (org-agenda-cycle-show): Make more consistent with normal cycling.
1444 * org-gnus.el (org-gnus-store-link): Restore the linking to a
1447 2009-09-02 Bastien Guerry <bzg@altern.org>
1449 * org-latex.el (org-export-latex-first-lines): Bugfix.
1451 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1453 * org-clock.el (org-clock-modify-effort-estimate): Emit message
1456 * org.el (org-set-effort): New function.
1457 (org-mode-map): New key for effort setting command.
1459 * org-agenda.el (org-agenda): Keep window setup when calling
1460 agenda from within agenda window.
1461 (org-agenda-mode-map): New keys for effort setting commands.
1462 (org-agenda-menu): Add effort setting commands to menu.
1463 (org-agenda-set-property, org-agenda-set-effort): New functions.
1465 * org-latex.el (org-export-latex-tables): Fix
1466 `org-table-last-alignment' and `org-table-last-column-widths' if
1467 the first column has been removed.
1469 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1471 * org.el (org-remove-timestamp-with-keyword): Only remove in
1472 entry, not in subtree.
1474 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1477 * org.el (org-open-at-point): When on headline, offer all strings
1480 * org-remember.el (org-remember-templates): Documentation fix.
1482 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1483 `org-get-last-sibling' instead of the outline versions of these
1485 (org-get-last-sibling): New function.
1486 (org-refile): Use `org-get-next-sibling' instead of the outline
1487 version of this function.
1488 (org-clean-visibility-after-subtree-move): Use
1489 `org-get-next-sibling' and `org-get-last-sibling' instead of the
1490 outline versions of these functions.
1492 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1494 * org-agenda.el (org-prepare-agenda): When creating a new frame
1495 for the agenda, make the window dedicated.
1497 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1499 * org-table.el (org-table-align): Change the order of reinsertion
1500 and deletion, to avoid problems with overlays following the table.
1502 * org.el (org-parse-time-string): Better error message.
1503 (org-show-subtree): Use org-end-of-subtree.
1505 * org-macs.el (org-goto-line): New defsubst.
1507 * org.el (org-open-file, org-change-tag-in-region)
1508 (org-fast-tag-show-exit): Don't use `goto-line'.
1510 * org-table.el (org-table-align, org-table-insert-column)
1511 (org-table-delete-column, org-table-move-column)
1512 (org-table-sort-lines, org-table-copy-region)
1513 (org-table-paste-rectangle, org-table-wrap-region)
1514 (org-table-get-specials, org-table-rotate-recalc-marks)
1515 (org-table-get-range, org-table-recalculate)
1516 (org-table-edit-formulas, org-table-fedit-convert-buffer)
1517 (org-table-show-reference, org-table-highlight-rectangle): Don't
1520 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1521 (org-edit-src-exit): Don't use `goto-line'.
1523 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1525 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1526 Don't use `goto-line'.
1528 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1530 * org-colview.el (org-columns, org-columns-redo)
1531 (org-agenda-columns): Don't use `goto-line'.
1533 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1536 * org-agenda.el (org-agenda-mode): Force visual line motion off.
1537 (org-agenda-add-entry-text-maxlines): Improve docstring.
1538 (org-agenda-start-with-entry-text-mode): New option.
1539 (org-agenda-entry-text-maxlines): New option.
1540 (org-agenda-entry-text-mode): New variable.
1541 (org-agenda-mode): Set initial value of
1542 `org-agenda-entry-text-mode'.
1543 (org-agenda-mode-map): Add the `E' key.
1544 (org-agenda-menu): Add entry text mode to the menu.
1545 (org-agenda-get-some-entry-text): Fix line count bug.
1546 (org-finalize-agenda): Apply entry text mode if appropriate.
1547 (org-agenda-entry-text-show-here): New function.
1548 (org-agenda-entry-text-show): New function.
1549 (org-agenda-entry-text-hide): New function.
1550 (org-agenda-view-mode-dispatch): Add entry text mode to the view
1552 (org-agenda-entry-text-mode): New command.
1553 (org-agenda-set-mode-name): Add entry text mode to the mode line
1555 (org-agenda-undo, org-agenda-get-restriction-and-command)
1556 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1559 2009-09-02 Bernt Hansen <bernt@norang.ca>
1561 * org-clock.el (org-notify): Bugfix.
1563 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1565 * org-agenda.el (org-agenda-open-link): Handle multiple links and
1566 check for after-string.
1568 * org-gnus.el (org-gnus-store-link): Simplify.
1570 * org.el (org-latex-regexps): Don't add extra empty lines for
1573 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1575 * org-agenda.el (org-agenda-get-some-entry-text): New function.
1576 (org-agenda-add-entry-text): Use
1577 `org-agenda-get-some-entry-text'.
1579 * org.el (org-cycle-separator-lines): Update docstring.
1580 (org-cycle-show-empty-lines): Handle negative values for
1581 `org-cycle-show-empty-lines'.
1583 * org-exp.el (org-export-protect-sub-super): New function.
1584 (org-export-normalize-links): Protect the url of plain links from
1585 supscript and superscript processing.
1587 * org-remember.el (org-remember-escaped-%): New function.
1588 (org-remember-apply-template): Use `org-remember-escaped-%' to
1589 detect escaped % signs.
1591 2009-09-02 Bastien Guerry <bzg@altern.org>
1593 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1594 sound when showing the notification.
1596 * org-clock.el (org-notify): New function.
1597 (org-clock-notify-once-if-expired): Use `org-notify'.
1599 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1600 and `gnus-article-mode' separately.
1601 (gnus-summary-article-header): Fix the declare-function.
1603 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1605 * org-exp.el (org-export-format-source-code-or-example): Translate
1608 * org-src.el (org-src-lang-modes): New variable
1609 (org-edit-src-code): Translate language.
1611 * org-exp.el (org-export-format-source-code-or-example): Deal wit
1612 the new structure of the `org-export-latex-listings-langs'
1615 * org-latex.el (org-export-latex-listings-langs): Change structure
1616 of the variable from plist to alist.
1618 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1620 * org.el (org-in-commented-line): New function.
1622 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1624 * org.el (org-hide-block-toggle): Make folded blocks searchable.
1626 2009-09-02 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
1628 * org.el (org-flag-drawer): More useful error.
1630 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1632 * org-remember.el (org-remember-apply-template): Use
1633 org-icompleting-read.
1635 * org-publish.el (org-publish): Use org-icompleting-read.
1637 * org-colview.el (org-columns-edit-value, org-columns-new)
1638 (org-insert-columns-dblock): Use org-icompleting-read.
1640 * org-colview-xemacs.el (org-columns-edit-value)
1641 (org-columns-new, org-insert-columns-dblock): Use
1642 org-icompleting-read.
1644 * org-attach.el (org-attach-delete-one, org-attach-open): Use
1645 org-icompleting-read.
1647 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1649 * org.el (org-hierarchical-todo-statistics): Improve docstring.
1650 (org-version): Return the version text.
1651 (org-org-menu): Add a menu entry for the new bug reporter.
1652 (org-submit-bug-report): New command.
1654 * org-list.el (org-hierarchical-checkbox-statistics): Improve
1657 * org.el (org-emphasis-regexp-components): Add "`" to set of
1658 pre-emphasis characters.
1660 * org-latex.el (org-export-latex-classes): Always include the soul
1662 (org-export-latex-emphasis-alist): Use \st for strikethough.
1664 * org-exp-blocks.el (org-export-blocks-preprocess): Use
1665 `indent-code-rigidly' to indent.
1667 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1668 properties only if MATCH really is a string.
1670 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1672 * org-latex.el (org-export-latex-packages-alist): Fix
1675 * org.el (org-create-formula-image): Also use
1676 `org-export-latex-packages-alist'.
1678 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1679 (org-export-as-html): Format footnotes correctly.
1681 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1683 * org.el (org-fast-tag-selection): Avoid text properties on tags
1686 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1687 text properties on the match element.
1689 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1691 * org.el (org-set-regexps-and-options): Make sure the list of done
1692 keywords is not invalid.
1694 * org-exp.el (org-export-interpolate-newlines): New function.
1696 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1698 * org.el (org-format-latex): Avoid nested overlays.
1700 * org-latex.el (org-export-latex-listings-langs): Add a few more
1703 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1704 ignore newlines and space before the first macro argument.
1706 * org-latex.el (org-export-latex-tables): Remove save-excursion
1707 around `org-table-align'.
1709 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1711 * org.el (org-export-html-special-string-regexps): Definition
1714 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1717 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1719 * org-latex.el (org-export-latex-listings)
1720 (org-export-latex-listings-langs): New options.
1722 * org-exp.el (org-export-format-source-code-or-example): Use
1723 listing package if requested by the user.
1725 2009-09-02 Bastien Guerry <bzg@altern.org>
1727 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1728 command before actually switching to a buffer.
1730 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1732 * org-exp.el (org-get-file-contents): Only quote org lines when
1733 the markup is src or example.
1735 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1737 (org-agenda-get-day-entries): Remember deadline results and pass
1738 them on into the function getting the scheduling information.
1739 (org-agenda-get-scheduled): Accept deadline results as parameters
1740 and maybe skip some entries.
1741 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1743 * org.el (org-insert-heading): When respecting content, do not
1744 convert current line to headline.
1746 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1747 cheeeeeck the hd marker
1748 (org-clock-in): Also set the hd marker.
1749 (org-clock-out): Also set the hd marker.
1750 (org-clock-cancel): Reset markers.
1752 * org.el (org-clock-hd-marker): New marker.
1754 * org-faces.el (org-agenda-clocking): New face.
1756 * org-agenda.el (org-agenda-mark-clocking-task): New function.
1757 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1759 * org.el (org-modules): Add org-track.el.
1761 * org-agenda.el (org-agenda-bulk-marked-p): New function.
1762 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1763 `org-agenda-bulk-marked-p'.
1764 (org-agenda-bulk-toggle): New command.
1766 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1768 * org.el (org-move-subtree-down): Hide subtree if it was folded,
1771 * org-remember.el (org-remember-finalize): Avoid buffer-modified
1774 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1776 * org-html.el (org-export-as-html):
1777 * org-docbook.el (org-export-as-docbook):
1778 Use (default-value 'major-mode) instead of default-major-mode.
1780 2009-08-08 Carsten Dominik <carsten.dominik@gmail.com>
1782 * org-docbook.el: Add arch-tag.
1784 * org-exp-blocks.el: Add arch-tag.
1786 * org-id.el: Add arch-tag.
1788 * org-indent.el: Add arch-tag.
1790 * org-inlinetask.el: Add arch-tag.
1792 * org-protocol.el: Add arch-tag.
1794 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1796 * org.el (org-create-formula-image): Remove the -E option for
1799 * org-exp.el (org-default-export-plist): Respect #+BIND.
1800 (org-export-confirm-letbind): New function.
1802 * org.el (org-paste-subtree): Test the kill ring entry if it is
1804 (org-copy-subtree): Use `org-forward-same-level'.
1805 (org-forward-same-level): Respect the `invisibe-ok' arg for
1808 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1810 * org.el (org-table-map-tables): Make sure cursor is back at table
1811 beginning after funcall.
1813 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1814 handled before children, and do not error if an entry is not
1815 found, probably because it hase been remove when the parent was
1816 archived or refiled.
1818 * org.el (org-ido-completing-read): Accept straight lists for
1819 completion as well as alists.
1821 * org-timer.el (org-timer-cancel-timers): Rename from
1822 `org-timer-cancel-timers'.
1824 * org.el (org-cycle-internal-local): Fix problem with finding next
1827 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1829 * org-list.el (org-list-send-list): Call
1830 `org-list-goto-true-beginning' instead of
1831 `org-list-find-true-beginning', which does not exist.
1833 * org-timer.el (org-timer-reset-timers): Use `mapc'.
1834 (org-timer-set-timer): Do not assign to heading.
1836 * org-id.el (org-id-open): Quote function name.
1838 * org-macs.el (org-unmodified): Turn off recording undo
1839 information while running inside the macro.
1841 * org-table.el (org-table-export): Also work in file-less
1844 * org.el (org-startup-indented): New option.
1845 (org-startup-options): Add new options indent and noindent.
1846 (org-unfontify-region): Remove line-prefix and wrap-prefix
1848 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
1850 (org-promote, org-demote): Run the new hooks.
1852 * org-table.el (org-table-align): Replace leading \n as well.
1854 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
1855 and `line-wrap' text properties.
1857 * org-compat.el (org-kill-new): New function.
1859 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
1860 `line-wrap' text properties.
1862 * org-indent.el: New file.
1864 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1866 * org.el (org-provide-todo-statistics): Tweak docstring.
1868 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
1870 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1872 * org-exp.el (org-export-as-org): Insert the "-source" string
1873 before the extension.
1875 * org.el (org-read-date): Make sure the calendar is in the current
1877 (org-set-emph-re): Remove the ? from the post-match.
1878 (org-emphasis-regexp-components): Add backslash to the
1880 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
1881 optional so that also lines at the end of the buffers will still
1882 be matched as headlines.
1884 * org-table.el (org-table-error-on-row-ref-crossing-hline):
1885 Variable made obsolete.
1886 (org-table-relative-ref-may-cross-hline): New option.
1887 (org-table-find-row-type): Honow the new option
1888 `org-table-relative-ref-may-cross-hline'.
1890 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1892 * org-table.el (org-table-cut-region, org-table-copy-region): Work
1893 on single field if no active region.
1895 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1897 * org-latex.el (org-export-latex-make-header): Only insert title
1900 * org.el (org-make-options-regexp): Allow empty values.
1902 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1904 * org.el (org-cycle-internal-local): Improved version of finding
1906 (org-cycle-hide-drawers): Only hide drawers if this is really
1908 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
1909 org-version of this function in Org-mode. We use advice to
1910 implement this change, so that future changes to this function in
1911 outline.el wil be handled properly.
1912 (org-forward-same-level, org-backward-same-level): New commands.
1914 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1916 * org.el (org-remove-empty-overlays-at)
1917 (org-clean-visibility-after-subtree-move): New functons.
1918 (org-move-subtree-down): Simplify cleanup of display.
1920 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1922 * org-mac-message.el (org-mac-message-get-links): Improve
1923 docstring. Make argument SELECT-OR-FLAGGED optional, default to
1924 "s". Fix the return value.
1925 (org-mac-message-insert-flagged): Simplify.
1927 * org.el (org-refile-get-location): Tamper with refile history o
1928 that history contains compete matches instead of the entered
1931 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1933 * org.el (org-store-link): Never store a link to an inline task.
1935 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
1936 inline tasks when positioning footnotes.
1938 * org.el (org-refile): Remove the END line when archiving an
1939 inline task that does have an END line.
1941 * org-archive.el (org-archive-subtree): Remove the END line when
1942 archiving an inline task that does have an END line.
1944 * org-macs.el (org-with-limited-levels): New macro.
1945 (org-get-limited-outline-regexp): New function.
1947 * org-exp.el (org-export-format-source-code-or-example): Fix bug
1948 that did not enumerate first line.
1949 (org-export-mark-radio-links): Skip matches in links.
1951 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1953 * org.el (org-activate-plain-links): Make single-match.
1954 (org-adapt-indentation): Fix docstring.
1956 * org-macs.el (org-unmodified): Turn of modification hooks while
1959 2009-08-06 Bastien Guerry <bzg@altern.org>
1961 * org.el (org-adapt-indentation): Slightly improve the docstring.
1962 (org-occur): Sends an error when the user inputs an empty string.
1963 (org-priority): Bugfix: the tag alignement should happen within
1966 2009-08-06 Bastien Guerry <bzg@altern.org>
1968 * org.el (org-make-link-regexps): Don't exclude parentheses from
1970 (org-cycle-internal-local): When locally cycling, switch directly
1971 from CHILDREN to FOLDED if there is no subtree
1972 (org-cycle): Update the docstring to document the new behavior of
1973 `org-cycle-internal-local'.
1975 2009-08-06 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
1977 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
1978 an abbreviated format for days.
1980 2009-08-06 Bastien Guerry <bzg@altern.org>
1982 * org-protocol.el (org-protocol-default-template-key): New
1985 * org.el (org-refile): Bugfix: save-excursion before reading the
1986 refile target, otherwise cursor moves might confuse `org-refile'.
1988 * org.el (org-toggle-heading): Bugfix: correctly convert list
1989 items before the first headline.
1991 * org.el (org-provide-todo-statistics): Allow a list of TODO
1992 keywords to compute statistics against headlines containing a
1993 keyword from this list.
1994 (org-update-parent-todo-statistics): Possibly use the new allowed
1995 value of `org-provide-todo-statistics'.
1997 2009-08-06 Bastien Guerry <bzg@altern.org>
1999 * org-timer.el: Add autoload cookie.
2001 * org.el (org-occur-link-in-agenda-files): New function.
2003 * org-timer.el (org-timer-last-timer): New variable.
2005 * org-agenda.el (org-agenda-mode-map): New key for
2006 org-timer-set-timer called from the agenda.
2008 * org.el (org-mode-map): New key for org-timer-set-timer.
2010 * org-timer.el (org-timer-reset-timers)
2011 (org-timer-show-remaining-time, org-timer-set-timer): New
2014 * org-clock.el (org-show-notification): Update the docstring.
2016 * org.el (org-provide-todo-statistics): Allow new value
2017 'all-headlines for this option, which includes entries with no
2018 TODO keywords in the todo statistics.
2019 (org-update-parent-todo-statistics): Possibly use the new
2020 'all-headline value from `org-provide-todo-statistics'.
2022 2009-08-06 Bastien Guerry <bzg@altern.org>
2024 * org-clock.el (org-dblock-write:clocktable): Add a new option
2025 :timestamp which allows display of timestamps in clock reports.
2027 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2028 list to a subtree, preserving the structure of the list.
2029 (org-set-emph-re): Make the last element optional in the regexp.
2030 This regexp now matches an emphasized string at the end of a line.
2032 * org-list.el (org-list-goto-true-beginning)
2033 (org-list-make-subtree, org-list-make-subtrees): New functions.
2035 * org.el (org-eval-in-calendar): Select the right frame.
2036 (org-save-frame-excursion): Remove this macro.
2038 2009-08-06 Bastien Guerry <bzg@altern.org>
2040 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2041 trying to find the beginning of a list.
2043 * org-exp.el (org-get-file-contents): Use a new argument: markup.
2044 When present, tell org-get-file-contents not to protect org-like
2047 * org-id.el (org-id-uuid-program): New option to set the name of
2048 the uuidgen program.
2049 (org-id-method): Use `org-id-uuid-program'.
2050 (org-id-new): Use `org-id-uuid-program'.
2052 2009-08-06 Bastien Guerry <bzg@altern.org>
2054 * org-exp.el (org-export-number-lines): Allow whitespace in code
2055 references. Allow the -r switch to remove the references in the
2056 source code even when the lines are not numbered: the labels can
2059 * org.el (org-fontify-whole-heading-line): New option.
2060 (org-set-font-lock-defaults): Use the new option.
2062 * org-clock.el (org-show-notification-handler): New option.
2063 (org-show-notification): Use the new option.
2065 2009-08-06 Bastien Guerry <bzg@altern.org>
2067 * org.el (org-eval-in-calendar): Fix a bug about calendar
2068 navigation when `calendar-setup' value is 'calendar-only.
2070 2009-08-06 Bastien Guerry <bzg@altern.org>
2072 * org.el (orgstruct++-mode): Fix typo in docstring.
2073 (org-insert-link): Clean up: (or (...)) => (...)
2074 (org-insert-link): Use TAB for stored links completion.
2076 2009-08-06 Bastien Guerry <bzg@altern.org>
2078 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2079 building the list of targets.
2081 * org-remember.el (org-remember-delete-empty-lines-at-end): New
2083 (org-remember-handler): Use the new option.
2085 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
2087 * org.el (org-tags-sort-function): New option for sorting tags.
2088 (org-set-tags): Use the new option to sort tags.
2090 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2091 premature deletion of the data when using org-plot in a script.
2093 2009-08-06 Bastien Guerry <bzg@altern.org>
2095 * org-clock.el (org-clock-in-prepare-hook): New hook.
2096 (org-clock-in): Use this new hook.
2098 2009-08-06 Bastien Guerry <bzg@altern.org>
2100 * org.el (org-special-ctrl-a/e): Explicitely bind the value
2101 'reversed for this option to the "true line boundary first"
2103 (org-tags-match-list-sublevels): Document the 'indented value for
2106 * org-latex.el (org-export-latex-first-lines): Fix problem with
2107 publishing the region.
2109 * org-exp.el (org-export-format-source-code-or-example): Fix
2110 bad line numbering when exporting examples in HTML.
2112 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
2114 * org-colview.el (org-format-time-period): Formats a time in
2115 fractional days as days, hours, mins, seconds.
2116 (org-columns-display-here): Add special handling for SINCE and
2117 SINCE_IA to format for display.
2119 * org.el (org-time-since): Add a function to get the time since an
2121 (org-entry-properties): Add two new special properties: SINCE and
2122 SINCE_IA. These give the time since any active or inactive
2123 timestamp in an entry.
2124 (org-special-properties): Add SINCE, SINCE_IA.
2125 (org-tags-sort-function): Add custom declaration for tags
2127 (org-set-tags): Sort tags if org-tags-sort-function is set.
2129 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2131 * org-clock.el (org-clock-goto): Find hidden headlines as well.
2133 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2135 * org-plot.el (org-plot/add-options-to-plist): Add timeind
2138 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2140 * org-publish.el (org-publish-remove-all-timestamps): New function.
2141 (org-publish-all): Remove all timestamp files if `org-publish-all'
2142 is called with a prefix argument.
2144 * org-list.el (org-indent-item): Fix typo.
2145 (org-item-indent-positions): Normalize ordered bullet.
2147 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2149 * org-macs.el (org-set-local): Make a local variable, do not make
2150 the variable buffer-local!
2152 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2154 * org-exp.el (org-infile-export-plist): Read BIND lines.
2155 (org-install-letbind): New function.
2156 (org-export-as-org, org-export-preprocess-string): Call
2157 `org-install-letbind'.
2159 * org-list.el (org-list-demote-modify-bullet): New option.
2160 (org-first-list-item-p): Save point.
2161 (org-fix-bullet-type): New optional argument FORCE-BULLET.
2162 (org-indent-item): Honor `org-list-demote-modify-bullet'.
2163 (org-item-indent-positions): Return bullet types along with
2166 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2168 * org.el (org-show-entry): Hide drawers.
2170 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2172 * org-footnote.el (org-footnote-auto-adjust): New option.
2173 (org-footnote-auto-adjust-maybe): New function.
2174 (org-footnote-new, org-footnote-delete): Call
2175 `org-footnote-auto-adjust-maybe'.
2177 * org.el (org-startup-options): Add new footnote-related
2180 * org-publish.el (org-publish-timestamp-filename): Additional
2181 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2182 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2183 TRUE-PUB-DIR. Pass them through to
2184 `org-publish-timestamp-filename'.
2185 (org-publish-update-timestamp): Additional arguments PUB-DIR and
2186 PUB-FUNC, which are included in the hash.
2187 (org-publish-file): Delay timestamp test until the publishing
2190 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2192 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2193 setting the deadline.
2195 * org.el (org-read-date-final-answer): New variable.
2196 (org-read-date): Store the final answer string, including the date
2197 from the calendar, for reuse by agenda bulk commands.
2199 * org-publish.el (org-publish-attachment): Fix publishing of
2202 * org-latex.el (org-export-latex-quotation-marks): Fix export of
2203 quotation makrs in parenthesis.
2204 (org-remove-initial-hash): New function.
2205 (org-export-latex-preprocess): Fix bug with infinite loop if
2206 environment is not properly closed.
2208 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2211 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2212 highlight also when indented.
2214 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2216 * org-footnote.el (org-footnote-renumber-fn:N): New command.
2217 (org-footnote-action): Offer renumbering.
2219 * org.el (org-cycle): Honor the `integrate' value of
2220 org-cycle-include-plain-lists'.
2222 * org-list.el (org-cycle-include-plain-lists): New allowed value
2223 `internal'. Improve the docstring.
2225 * org.el (org-set-autofill-regexps): Improve the paragraph-start
2226 regexp to work better with LaTeX commands.
2228 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2230 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2233 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2235 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2238 * org.el (org-map-entries): No longer force
2239 `org-tags-match-list-sublevels' to t during a todo-only tags
2242 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2244 * org-latex.el (org-export-latex-low-levels): Allow user-defined
2246 (org-export-latex-subcontent): Handle user-defined environment.
2248 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2249 the View dispatcher.
2251 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2254 * org-latex.el (org-export-as-pdf): Protect match data during call
2255 to shell-quote-argument.
2257 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2258 (org-agenda-view-mode-dispatch): New function.
2260 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2262 * org-agenda.el (org-agenda-mode): Reset list of marks.
2263 (org-agenda-mode-map): Define new keys for refile and bulk action.
2264 (org-agenda-menu): Add menu itesm for refile and bulk action.
2265 (org-agenda-refile): New function.
2266 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2267 (org-agenda-marked-entries): New variable.
2268 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2269 (org-agenda-remove-all-bulk-action-marks)
2270 (org-agenda-bulk-action): New functions/commands.
2272 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2274 * org-exp.el (org-get-file-contents): Protect org-like lines in
2276 (org-export-format-source-code-or-example): Remove newlines.
2278 * org-latex.el (org-export-latex-links): Check for no-description
2281 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2282 argument separator back to comma.
2283 (org-export-normalize-links): Mark links without description.
2285 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2287 * org-exp.el (org-infile-export-plist): Fix bug in macro
2290 * org-agenda.el (org-agenda-clock-out): Update line after clocking
2292 (org-agenda-highlight-todo): Fix bug with highlighting.
2294 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2296 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2297 new alignment strings.
2299 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2301 (org-table-align): Check for forced align type.
2303 * org.el (org-self-insert-command): Add yas/expand to command
2306 * org-clock.el (org-clock-in-hook): New hook.
2307 (org-clock-in): Run `org-clock-in-hook.
2308 (org-clock-out-hook): New hook.
2309 (org-clock-out): Run `org-clock-out-hook.
2310 (org-clock-cancel-hook): New hook.
2311 (org-clock-cancel): Run `org-clock-cancel-hook.
2312 (org-clock-goto-hook): New hook.
2313 (org-clock-goto): Run `org-clock-goto-hook.
2315 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2317 * org.el (org-store-link): Better default description for link to
2320 * org-exp.el (org-export-generic): Autoload the generic exporter
2322 (org-export): Implement the `g' key for the generic exporter.
2324 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2326 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2329 * org-exp.el (org-infile-export-plist): Get macros also from
2332 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2334 * org-colview.el (org-columns-capture-view): Protect vertical bars
2336 (org-columns-capture-view): Exclude comment and archived trees.
2338 * org-colview-xemacs.el (org-columns-capture-view): Protect
2339 vertical bars in column values.
2340 (org-columns-capture-view): Exclude comment and archived trees.
2342 * org.el (org-quote-vert): New function.
2344 * org-latex.el (org-export-latex-verbatim-wrap): New option.
2346 * org-exp.el (org-export-format-source-code-or-example): Use
2347 `org-export-latex-verbatim-wrap'.
2349 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2352 2009-08-06 Eric Schulte <schulte.eric@gmail.com>
2354 * org-exp-blocks.el: New file.
2356 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2358 * org-remember.el (org-remember-templates): Allow the headline
2359 element to be a function.
2360 (org-remember-apply-template): If the headline is a function, call
2361 it to get the true function.
2363 * org-clock.el (org-clock-menu): New function.
2364 (org-clock-update-mode-line): Update help string.
2365 (org-clock-modify-effort-estimate): New function.
2366 (org-clock-mark-default-task): New function.
2368 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2370 (org-org-menu): Add new clocking stuff.
2371 (org-clock-is-active): New function.
2373 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2375 * org.el (org-open-non-existing-files): Improve docstring.
2377 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2379 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2381 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2383 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2385 * org-list.el (org-get-checkbox-statistics-face): Use the new
2388 * org-faces.el (org-checkbox-statistics-todo)
2389 (org-checkbox-statistics-done): New faces.
2391 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2393 * org-latex.el (org-export-latex-use-verb): New variable.
2394 (org-export-latex-emph-format): Prefer \texttt over \verb when
2395 org-export-latex-use-verb is set.
2397 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2399 * org-remember.el (org-remember-handler): Abort remember if the
2402 * org-exp.el (org-export-format-source-code-or-example): Run
2403 `org-src-mode-hook'.
2405 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2407 * org.el (org-indent-line-function): Fix indentation of +#end lines.
2409 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
2411 * org-gnus.el (org-gnus-store-link): Require message.el in
2412 org-gnus-store-link.
2414 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2416 * org-src.el: New file, split out of org.el.
2418 * org-macs.el (org-replace-match-keep-properties): New function.
2420 * org-exp.el (org-export-mark-blockquote-verse-center): Better
2421 preprocessing of center and quote and verse blocks.
2423 * org-list.el (org-list-end): Respect the stored "original"
2424 indentation when determining the end of the list.
2426 * org-exp.el (org-export-replace-src-segments-and-examples):
2427 Remember indentation correctly.
2429 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2431 * org-clock.el (org-clock-update-mode-line): Apply face
2432 org-mode-line-clock.
2434 * org-faces.el (org-mode-line-clock): New face.
2436 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
2438 * org-gnus.el (org-gnus-store-link): Fix bug where
2439 `org-gnus-store-link' used wrong subject when called in an article
2440 buffer. Patch provided by fengli AT gmail DOT com.
2442 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2444 * org-exp.el (org-export-format-source-code-or-example): Remember
2445 the original indentation of source code snippets and examples.
2447 * org-latex.el (org-export-as-latex): Relocate the table of
2450 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2452 * org-agenda.el (org-run-agenda-series): Scope global options also
2453 when creating the agenda buffer.
2455 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2457 * org.el (org-adapt-indentation): Improve documentation.
2458 (org-insert-property-drawer): Respect org-adapt-indentation when
2459 inserting the drawer.
2460 (org-remove-flyspell-overlays-in): New function.
2461 (org-do-emphasis-faces, org-activate-plain-links)
2462 (org-activate-code, org-fontify-meta-lines-and-blocks)
2463 (org-activate-angle-links, org-activate-footnote-links)
2464 (org-activate-bracket-links, org-activate-dates)
2465 (org-activate-target-links, org-activate-tags): Remove flyspell
2468 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2470 * org.el (org-edit-src-save): New function.
2472 * org-clock.el (org-clock-out-switch-to-state): New option.
2473 (org-clock-out): Honor `org-clock-out-switch-to-state'.
2475 * org-compat.el (org-compatible-face): Improve macro.
2477 * org.el (org-global-properties-fixed): Add default for
2478 CLOCK_MODELINE_TOTAL.
2480 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2482 (org-clock-sum-current-item): Optional argument TSTART, pass it to
2484 (org-clock-get-sum-start): New function.
2486 * org.el (org-startup-options): New keywords blockhide and
2488 (org-mode): Add new invisibility spec.
2489 (org-set-startup-visibility): Hide block on startup if so
2491 (org-hide-block-startup): New option.
2492 (org-block-regexp): New constant.
2493 (org-hide-block-overlays): New variable.
2494 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2495 (org-show-block-all, org-hide-block-toggle-maybe)
2496 (org-hide-block-toggle): New functions.
2497 (org-edit-src-exit): Do not quote lines starting with # and no +
2499 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2502 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2504 * org.el (org-buffer-property-keys): Add Effort property for
2507 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2509 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2510 when retrieving total clocked time in the subtree.
2512 * org.el (org-quoting-blocks): New variable.
2514 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2516 * org-table.el (org-table-store-formulas)
2517 (org-table-get-stored-formulas, org-table-fix-formulas)
2518 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2519 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2521 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2522 indented #+TBLFM line.
2524 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2525 indented #+TBLFM line.
2527 * org-colview.el (org-dblock-write:columnview): Allow indented
2530 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2531 indented #+TBLFM line.
2533 * org-clock.el (org-dblock-write:clocktable): Allow indented
2536 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2538 * org-exp.el (org-export-format-source-code-or-example): Make
2539 editing indented blocks work correctly.
2541 * org.el (org-edit-src-nindent): New variable.
2542 (org-edit-src-code, org-edit-fixed-width-region)
2543 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2544 editing indented blocks work correctly.
2546 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2548 * org-exp.el (org-export-replace-src-segments-and-examples): Find
2550 (org-export-format-source-code-or-example): Fix indentation of
2552 (org-export-remove-indentation): New function.
2553 (org-export-select-backend-specific-text): Allow backend-specific
2554 code to be indented.
2555 (org-export-mark-blockquote-verse-center): Allow markers to be
2558 * org.el (org-fontify-meta-lines): New function.
2559 (org-set-font-lock-defaults): Call the new fontification
2562 * org-faces.el (org-meta-line): New face
2563 (org-block): New face.
2565 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2567 * org.el (org-treat-insert-todo-heading-as-state-change)
2568 (org-treat-S-cursor-todo-selection-as-state-change): New
2570 (org-insert-todo-heading): Honor
2571 `org-treat-insert-todo-heading-as-state-change'.
2572 (org-shiftright, org-shiftleft): Honor
2573 `org-treat-S-cursor-todo-selection-as-state-change'.
2574 (org-inhibit-logging): New variable.
2576 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2578 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2579 range for marker position checking.
2581 * org-latex.el (org-export-latex-first-lines): Fix bug when
2584 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2586 * org-exp.el (org-export-push-to-kill-ring): Protect using
2587 x-set-selection, because that does not always work.
2589 * org-agenda.el (org-agenda-list): Apply the new face
2590 `org-agenda-date-today'.
2592 * org-faces.el (org-agenda-date-today): New face.
2594 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2596 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2597 creating appointments.
2599 * org-latex.el (org-export-latex-low-levels): Fix customization
2602 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2605 * org-agenda.el (org-agenda-priority): Disable priority commands.
2607 * org.el (org-enable-priority-commands): New option.
2609 * org-colview-xemacs.el (org-columns-compute)
2610 (org-columns-number-to-string): Fix problems with empty fields.
2612 * org-colview.el (org-columns-compute)
2613 (org-columns-number-to-string): Fix problems with empty fields.
2615 * org-exp.el (org-export-push-to-kill-ring): New function.
2616 (org-export-copy-to-kill-ring): New option.
2618 * org-latex.el (org-export-as-latex): Call
2619 `org-export-push-to-kill-ring'.
2621 * org-exp.el (org-export-show-temporary-export-buffer): New
2624 * org-latex.el (org-export-as-latex): Use
2625 `org-export-show-temporary-export-buffer'.
2627 * org-exp.el (org-export-show-temporary-export-buffer): New
2629 (org-export-push-to-kill-ring): New function.
2631 * org-colview.el (org-columns-compile-map): New variable.
2632 (org-columns-new, org-columns-compute)
2633 (org-columns-number-to-string, org-columns-uncompile-format)
2634 (org-columns-compile-format): Implement new operators.
2636 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2638 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2640 * org-list.el (org-update-checkbox-count): Make property
2643 * org.el (org-hierarchical-todo-statistics): New option.
2644 (org-update-parent-todo-statistics): Modify to handle recursive
2647 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2649 * org-publish.el (org-publish): Make this function behave
2650 correctly in interactive use when called with a prefix argument.
2652 * org.el (org-todo-statistics-hook): New hook.
2653 (org-update-parent-todo-statistics): Use new hook.
2654 (org-log-into-drawer): New function.
2655 (org-add-log-setup): Use the new `org-log-into-drawer' function to
2656 determine if we should be logging into a drawer.
2657 (org-log-into-drawer): Update docstring.
2658 (org-default-properties): Add LOG_INTO_DRAWER as a property.
2660 * org-list.el (org-checkbox-statistics-hook): New hook.
2661 (org-update-checkbox-count-maybe): Use new hook.
2663 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2665 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2666 better bufer-generating mechanism.
2667 (org-edit-src-find-buffer): New function.
2669 * org-icalendar.el (org-print-icalendar-entries): Don't check for
2670 archive tag, this is already done by `org-agenda-skip'.
2671 data while constructing lost of tags.
2673 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2675 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2676 as argument separator in macros.
2678 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2680 * org.el (org-after-sorting-entries-or-items-hook): New hook.
2681 (org-sort-entries-or-items): Run the new hook.
2682 (org-after-refile-insert-hook): New hook.
2683 (org-refile): Run `org-after-refile-insert-hook'.
2685 * org-agenda.el (org-agenda-get-progress): Never take time of day
2686 from headline when displaying progress.
2688 * org-latex.el (org-export-latex-complex-heading-re): New variable.
2689 (org-export-as-latex): Force the correct regexp in the
2690 preprocessor buffer.
2691 (org-export-latex-set-initial-vars): Set
2692 `org-export-latex-complex-heading-re'.
2694 * org-agenda.el (org-agenda-start-with-log-mode): New option.
2695 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2697 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2699 * org-latex.el (org-export-latex-tables-centered): New option.
2700 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2702 * org-exp.el (org-export-as-org): New command.
2703 (org-export-as-org): New command.
2705 * org-publish.el (org-publish-org-to-org): New function.
2707 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2709 * org.el (org-yank): Just call `org-yank-generic'.
2710 (org-yank-generic): New function, containing the formaer
2711 functionality of `org-yank'.
2713 * org-latex.el (org-export-latex-not-done-keywords)
2714 (org-export-latex-done-keywords): New variables.
2715 (org-export-latex-todo-keyword-markup): New option.
2716 (org-export-latex-set-initial-vars): Remember the TODO keywords.
2717 (org-export-latex-keywords-maybe): Apply the TODO markup.
2719 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2721 * org-exp.el (org-infile-export-plist): Add more default macros.
2722 (org-export-preprocess-apply-macros): Process macro arguments.
2724 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2726 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
2728 (org-print-icalendar-entries): Respect the new value of
2729 `org-icalendar-include-todo'.
2731 * org.el (org-link-try-special-completion)
2732 (org-file-complete-link): New functions.
2733 (org-insert-link): Add special completion support for some link
2736 * org-bbdb.el (org-bbdb-complete-link): New function.
2738 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2740 * org-list.el (org-update-checkbox-count): Allow recursive
2742 (org-hierarchical-checkbox-statistics): New option.
2744 * org.el (org-cycle): Remove erraneous space character.
2746 * org-icalendar.el (org-icalendar-timezone): Initialize from
2749 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2751 * org.el (org-autoload): Fix autoloading of ascii export
2753 (org-modules): Add org-special-blocks.
2755 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2757 * org-icalendar.el (org-start-icalendar-file): Use the new option.
2758 (org-ical-timezone): New option.
2760 * org-exp.el (org-export-get-coderef-format): Use the description
2763 * org.el (org-sort-entries-or-items): Improve docstring, and make
2764 better implementation for time sorting.
2766 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2768 * org.el (org-edit-src-persistent-message): New option.
2769 (org-edit-src-code, org-edit-fixed-width-region): Use the new
2772 * org-clock.el (org-clock-insert-selection-line): Fix prefious
2775 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
2776 separate buffer instead of indirect buffer to edit source code.
2777 (org-edit-src-exit): Make this function work with the new setup.
2779 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
2780 are properly fontified before shown in the selection menu.
2782 * org.el (org-fontify-like-in-org-mode): New function.
2784 * org-latex.el (org-export-latex-links): Use the property list to
2785 retrieve the default image attributes.
2787 * org-exp.el (org-export-plist-vars): Add a new option.
2789 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2791 * org-exp.el (org-export, org-export-visible): Support ASCII
2793 (org-export-normalize-links): Do not protect the description if it
2794 is explicitly given.
2796 * org-list.el (org-reset-checkbox-state-subtree): Move here from
2798 (org-reset-checkbox-state-subtree): Call
2799 `org-reset-checkbox-state-subtree'.
2801 * org-remember.el (org-select-remember-template): For the
2802 selection of a valid template.
2804 * org-latex.el (org-export-region-as-latex): Supply the
2805 force-no-subtree argument.
2806 (org-export-as-latex): Provide better limits when exporting the
2807 first line. When exporting to string, we still want the first
2809 (org-export-latex-first-lines): New argument END, to force the end
2811 (org-export-region-as-latex): Use the property list.
2812 (org-export-as-latex):
2814 * org-colview-xemacs.el (org-columns-remove-overlays)
2815 (org-columns): Fix call to `local-variable-p'.
2817 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2819 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
2820 (org-export-latex-preprocess): Run the new hook.
2822 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
2823 (org-export-preprocess-string): Run the new hook.
2825 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2827 * org-macs.el (org-check-external-command): New defsubst.
2829 * org.el (org-mode-map): New key for reload.
2830 (org-format-latex): Better error message when external programs
2833 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
2835 * org.el (org-sort-entries-or-items): Explicit sorting function
2836 for priorities, needed for XEmacs compatibility.
2838 * org-remember.el (org-remember-apply-template): Improve auto-save
2841 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2843 * org-latex.el (org-export-latex-preprocess): Also protect
2844 environments ending in a star.
2846 * org-list.el (org-at-item-p): Fix regular expression.
2848 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2850 * org.el (org-end-of-subtree): Improve speed.
2852 * org-agenda.el (org-agenda-get-timestamps)
2853 (org-agenda-get-progress, org-agenda-get-deadlines)
2854 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
2855 in particular, wait as long as possible to collect the tags.
2856 (org-stuck-projects): Improve docstring.
2858 * org.el (org-store-link): No errors when getting custom id before
2860 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
2862 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2864 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
2866 * org-protocol.el: Remove dependency on url.el.
2867 (org-protocol-unhex-compound, org-protocol-open-source): Remove
2868 dependency on url.el.
2870 * org-latex.el (org-export-as-pdf): Use
2871 `org-latex-to-pdf-process'.
2873 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2875 * org-latex.el (org-latex-to-pdf-process): New option.
2877 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
2879 (org-agenda-get-timestamps): Honor
2880 `org-agenda-skip-additional-timestamps-same-entry'.
2882 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
2883 (org-clock-goto): Find recent task only if
2884 `org-clock-goto-may-find-recent-task' allows it.
2886 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
2887 drawers, and drawers that are missing the :END: line.
2889 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2891 * org-clock.el (org-clock-goto): Go to recently clocked task if no
2894 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2896 * org.el (org-update-parent-todo-statistics): Check for
2897 STATISTICS_FROM property.
2899 * org-list.el (org-update-checkbox-count): Check for
2900 STATISTICS_FROM property.
2902 * org.el (org-tab-first-hook)
2903 (org-tab-after-check-for-table-hook)
2904 (org-tab-after-check-for-cycling-hook): New hooks.
2905 (org-cycle-internal-global, org-cycle-internal-local): New
2906 functions, split out from `org-cycle'.
2907 (org-cycle): Call the new hooks.
2909 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2911 * org-exp.el (org-export-preprocess-string): Reset the list of
2912 preferred targets for each run of the preprocessor.
2914 * org.el (org-refile-target-verify-function): Improve
2916 (org-get-refile-targets): Respect point being moved by the
2917 verification function.
2919 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
2921 (org-export-latex-keywords): Use new option.
2923 * org.el (org-rear-nonsticky-at): New defsubst.
2924 (org-activate-plain-links, org-activate-angle-links)
2925 (org-activate-footnote-links, org-activate-bracket-links)
2926 (org-activate-dates, org-activate-target-links)
2927 (org-activate-tags): Place the rear-nonsticky properties at the
2930 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2932 * org-protocol.el (server-edit): Declare `server-edit'.
2933 (org-protocol-unhex-string, org-protocol-unhex-compound): New
2935 (org-protocol-check-filename-for-protocol): Call `server-edit'.
2937 * org.el (org-default-properties): New default properteis for
2940 * org-exp.el (org-export-add-subtree-options): Add new properties
2943 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2945 * org-id.el (org-id-get-with-outline-path-completion): Turn off
2946 org-refile-target-verify-function for the duration of the command.
2948 * org.el (org-link-to-org-use-id): New possible value
2949 `create-if-interactive-and-no-custom-id'.
2950 (org-store-link): Use custom IDs.
2951 (org-link-search): Find custom ID properties from #link.
2952 (org-default-properties): Add CUSTOM_ID for property completion.
2953 (org-refile-target-verify-function): New option.
2954 (org-goto): Turn off org-refile-target-verify-function
2955 for the duration of the command.
2957 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2959 * org-exp.el (org-export-preferred-target-alist): New variable.
2960 (org-export-define-heading-targets): Find the new CUSTOM_ID
2962 (org-export-target-internal-links): Target the custom ids when
2965 * org-latex.el (org-export-latex-preprocess): Better regexp for
2966 matching latex macros with arguments.
2968 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2970 * org-remember.el (org-remember-handler): Allow filing to non-org
2973 2009-08-06 Magnus Henoch <magnus.henoch@gmail.com>
2975 * org-table.el (org-table-fix-formulas): Do not change references
2977 (org-table-get-remote-range): Convert standard coordinates to RC
2980 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
2982 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2984 * org-compat.el (org-sha1-string): Function removed.
2986 * org.el (org-refile-allow-creating-parent-nodes): New option.
2987 (org-refile-get-location): New argument NEW-NODES.
2988 (org-refile): Call `org-refile-get-location' with the new
2990 (org-refile-get-location): Arrange for adding a new child.
2991 (org-refile-new-child): New function.
2993 * org-clock.el: Fix a number of docstrings.
2994 (org-clock-find-position): New argument
2995 FIND-UNCLOSED to make the function find an unclosed clock in the
2997 (org-clock-in): Call `org-clock-find-position' with the new
2998 argument if we might be resuming a clock.
3000 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3002 * org-latex.el (org-export-latex-display-custom-times): New variable.
3003 (org-export-latex-timestamp-markup): New option.
3004 (org-export-latex-set-initial-vars): Remember the local value of
3005 `org-display-custom-times'.
3006 (org-export-latex-content): Process time stamps.
3007 (org-export-latex-time-stamps): New function.
3009 * org-macs.el (org-maybe-intangible): Add intangible property
3010 again to invisible text.
3012 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3014 * org-exp.el (org-default-export-plist): Handle undefined
3017 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3019 * org.el (org-sort-entries-or-items): Match TODO keywrds
3020 case-sensitively, when sorting.
3021 (org-priority): Do not match TODO keywords with wrong case.
3023 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3025 * org.el (org-todo): Honor the NOBLOCKING property.
3027 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3028 NOBLOCKING property.
3030 * org.el (org-scan-tags): Fix bug in tag scanner.
3032 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3034 * org.el (org-modules): Mark obsolete packages.
3036 * org-html.el: New file, split out from org-exp.el.
3038 * org-icalendar.el: New file, split out from org-exp.el.
3040 * org-xoxo.el: New file, split out from org-exp.el.
3042 * org-ascii.el: New file, split out from org-exp.el.
3044 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3046 * org-compat.el (org-find-library-name): New function.
3048 * org.el (org-pre-cycle-hook): New hook.
3049 (org-cycle): Call the new hook in appropriate places.
3050 (org-reload): Only reload files that have been loaded before.
3052 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3054 * org.el (org-set-font-lock-defaults): Enforxe space or line end
3056 (org-todo): When changing TODO state, do matching
3058 (org-map-continue-from): New variable.
3059 (org-scan-tags): Respect values in `org-map-continue-from'.
3060 (org-reload): Make XEmacs compatible.
3062 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3064 * org-protocol.el (org-protocol-flatten-greedy): New function.
3065 (org-protocol-flatten): New function.
3067 * org.el (org-open-link-from-string): Pass reference buffer to
3068 `org-open-at-point'.
3069 (org-open-at-point): New optional argument `reference-buffer'.
3071 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3073 * org.el (org-scan-tags): Make tag scan find headline in first
3075 (org-get-refile-targets): Add the naked file name.
3076 (org-refile): Store as top-level entry when only file name was
3079 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3081 * org.el (org-block-todo-from-children-or-siblings-or-parent):
3082 Rename from org-block-todo-from-children-or-siblings, and
3083 enhanced to look for the parent's status as well.
3085 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3086 (org-agenda-get-progress): Add first notes line to log entry if so
3089 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3091 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3092 (org-agenda-cleanup-fancy-diary): Call the new hook.
3094 * org-remember.el (org-remember-apply-template): Take the default
3095 for the annotation from the :annotation property.
3097 * org-mac-message.el (org-mac-message-get-link): Remove the
3099 (org-mac-message-get-link): Return the result.
3101 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3103 * org.el (org-refile-get-location): Add file name only if not
3104 already included in outline path.
3106 * org-faces.el (org-n-level-faces): Fix customization type from
3109 * org-exp.el (org-export-headline-levels): Fix customization type
3110 from number to integer.
3112 * org-agenda.el (org-agenda-confirm-kill)
3113 (org-agenda-custom-commands-local-options)
3114 (org-timeline-show-empty-dates, org-agenda-ndays)
3115 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3116 customization type from number to integer.
3118 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3120 * org-protocol.el: Declare some functions.
3122 * org-agenda.el (org-agenda-compare-effort): Honor
3123 `org-sort-agenda-noeffort-is-high'.
3124 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3125 (org-agenda-compare-effort): Implement the "?" operator for
3126 finding entries without effort setting.
3128 * org.el (org-extract-attributes-from-string): New function.
3130 * org-exp.el (org-export-splice-attributes): New function.
3132 2009-08-06 Bastien Guerry <bzg@altern.org>
3133 Daniel M German <dmg@uvic.org>
3134 Sebastian Rose <sebastian_rose@gmx.de>
3135 Ross Patterson <me@rpatterson.net>
3137 * org-protocol.el: New file.
3139 2009-08-06 Baoqiu Cui <cbaoqiu@yahoo.com>
3141 * org-docbook.el: New file.
3143 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3145 * org-mouse.el: XEmacs compatibility fixes.
3147 * org.el (org-modules): Add org-inlinetasks.el
3148 (org-cycle): Implement limiting level on cycling.
3149 (org-move-subtree-down): Fix bug with swapping subtrees at end of
3152 * org-inlinetask.el: New file.
3154 * org.el (org-emphasis-regexp-components): Allow braces in
3155 emphasis pre and post match.
3157 * org-footnote.el (org-footnote-normalize): When only dorting, do
3158 not insert inline notes at the end.
3160 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3162 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3164 * org.el (org-reftex-citation): New command.
3166 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3168 * org-agenda.el (org-agenda-cmp-user-defined): New option.
3169 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3171 (org-entries-lessp): Apply the new sorting option.
3173 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3174 blocker code, when an older sibling has children.
3176 * org-mac-message.el (org-mac-message-get-link): Improve getting
3177 links from multiple selected messages.
3179 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3181 * org-remember.el (org-remember-finalize): Do not set buffer file
3183 (org-remember-handler): Mark buffer as unmodified.
3184 (org-remember-handler): Delete backup file and show message about
3185 remaining backup files.
3186 (org-remember-auto-remove-backup-files): New option.
3188 * org.el (org-store-link): Use buffer name as link description in
3190 (org-ido-switchb): Fix argument bug for completion.
3192 * org-remember.el (org-remember-apply-template): Set local
3193 variable `auto-save-visited-file-name' instead of global one.
3195 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3197 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3198 (org-agenda-get-todos): Mark file tags as inherited.
3199 (org-agenda-list): Always search diary lines for a time.
3201 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3203 * org-feed.el: New file.
3205 * org-exp.el (org-export-as-html): Close local lists depending on
3206 indentation, also when starting a table.
3208 * org-remember.el (org-remember-backup-directory)
3209 (org-remember-backup-name): New internal variable.
3211 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3213 * org-clock.el (org-clock-out-if-current): Make buffer detection
3214 work in indirect buffers as well.
3216 * org.el (org-emphasis-regexp-components): Add the exxclamation
3217 mark to the post-emphasis characters.
3219 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3221 * org.el (org-read-date-minibiffer-septup-hook): New hook.
3222 (org-read-date): Run the new hook.
3224 * org-mac-message.el (org-mac-flagged-mail): New group.
3225 (org-mac-mail-account): New variable.
3226 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3229 * org-remember.el (org-remember-backup-directory): New variable.
3230 (org-remember-apply-template): Write file to backup directory.
3232 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3234 * org-mouse.el (org-mouse-todo-menu): New function.
3235 (org-mouse-todo-keywords): Function removed.
3236 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3238 * org-table.el (org-table-beginning-of-field)
3239 (org-table-end-of-field): New commands
3240 (org-table-previous-field, org-table-beginning-of-field): Better
3242 (orgtbl-setup): Include `M-a' and `M-e'.
3244 * org.el (org-backward-sentence, org-forward-sentence): New
3247 * org-colview.el (org-colview-initial-truncate-line-value): New
3249 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3250 (org-columns): Remember the value of `truncate-lines'.
3252 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3254 (org-columns-remove-overlays): Restore the value of
3256 (org-columns): Remember the value of `truncate-lines'.
3258 * org.el (org-columns-skip-arrchived-trees): New option.
3260 * org-agenda.el (org-agenda-export-html-style): Define color for
3261 org-agenda-done face.
3262 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3263 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3265 * org.el (org-scan-tags): Use the new face.
3267 * org-faces.el (org-agenda-done): New face.
3269 * org.el (org-scan-tags): Test the value org
3270 `org-tags-match-list-sublevels'.
3271 (org-tags-match-list-sublevels): New allowed value: indented.
3273 * org-latex.el (org-export-latex-make-header): Apply macros
3276 * org-exp.el (org-export-apply-macros-in-string): New function.
3278 * org-latex.el (org-export-latex-list-parameters): Fix bug
3279 with the definition of a checked box.
3281 * org-clock.el (org-clock-find-position): Fix drawer indentations.
3283 * org-latex.el (org-export-latex-low-levels): More options
3284 for how to process lower levels in LaTeX.
3285 (org-export-latex-subcontent): Better treatment for lists as a
3286 means of publishing lower levels.
3288 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3290 * org.el (org-set-font-lock-defaults): Use new checkbox face.
3292 * org-faces.el (org-checkbox): New face.
3294 * org-exp.el (org-export-html-preprocess): Only create LaTeX
3295 fragement images if there is an export file.
3297 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3299 * org-agenda.el (org-stuck-projects): Document that the subtree of
3300 projects that are not stuck will now be searched for stuck
3302 (org-agenda-skip-entry-when-regexp-matches)
3303 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3304 (org-agenda-list-stuck-projects): Use
3305 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3307 * org-latex.el (org-export-latex-preprocess): Improve
3310 * org-exp.el (org-export-as-html): Implement centering as a div
3311 rather than a paragraph. Do a better job with line-end in verse
3314 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3316 * org.el (org-open-at-point): Fix tags searches by mouse click.
3318 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3320 * org-latex.el (org-export-latex-preprocess): Implement the
3323 * org-exp.el (org-export-mark-blockquote-verse-center): Rename
3324 from `org-export-mark-blockquote-and-verse'.
3325 (org-export-as-html): Implement the centering markup.
3327 * org-latex.el (org-export-latex-tables): Fix vertical
3330 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3332 * org.el (org-read-date-history): New variable.
3333 (org-read-date): Use new history variable.
3334 (org-toggle-heading): Fix bug when used before first headline.
3335 (org-store-log-note): Remove drawer if empty while note is
3337 (org-remove-empty-drawer-at): New function.
3338 (org-check-after-date): New command.
3339 (org-sparse-tree): New sparse tree command "a".
3341 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3343 2009-08-06 Bastien Guerry <bzg@altern.org>
3345 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3346 column and a space, not only a column.
3348 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3350 * org-latex.el (org-export-latex-emphasis-alist): Better
3351 defaults for verbose emphasis.
3352 (org-export-latex-emph-format): New function.
3353 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3355 * org-agenda.el (org-agenda-menu): Add new commands to menu.
3356 (org-agenda-do-date-later, org-agenda-do-date-earlier)
3357 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3358 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3361 * org.el (org-timestamp-change): Move end-time along with start
3364 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3366 * org-exp.el (org-export-target-internal-links)
3367 (org-export-as-html): Protect links specified as #name.
3369 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3371 * org.el (org-clone-subtree-with-time-shift): New command.
3373 * org-latex.el (org-export-latex-special-chars)
3374 (org-export-latex-treat-sub-super-char): Fix subscript export.
3376 * org-exp.el (org-create-multibrace-regexp): Do not add
3377 backslashes to the class.
3379 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3381 * org-colview.el (org-columns-map): Better functions for moving up
3382 and down a row, even if `truncate-line' is nil.
3384 * org.el (org-insert-todo-heading): Make sure the keyword is
3385 inserted at the correct position.
3387 * org-publish.el (org-publish-project-alist)
3388 (org-publish-projects, org-publish-org-index): Change default anme
3389 for the index of file names to "sitemap.org".
3391 * org-latex.el (org-export-latex-tables): Use
3392 `org-split-string', for Emacs 21 compatibility.
3394 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3396 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3398 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3400 * org-exp.el (org-export-page-description)
3401 (org-export-page-keywords): New variables.
3402 (org-export-plist-vars): Add entries for :keywords and
3404 (org-infile-export-plist): Parse for new keywords.
3405 (org-get-current-options): Add new keywords
3406 (org-export-as-html): Publish description and keywords.
3408 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3410 (org-agenda-add-entry-text): Honor
3411 `org-agenda-add-entry-text-descriptive-links'.
3413 * org-latex.el (org-export-latex-preprocess): Make all
3414 external preprocess functions use a PARAMETER arg.
3416 * org-exp.el (org-export-preprocess-string)
3417 (org-export-select-backend-specific-text)
3418 (org-export-format-source-code-or-example)
3419 (org-format-org-table-html): Support docbook export.
3420 (org-export-preprocess-string): Make all external preprocess
3421 functions use a PARAMETER arg.
3423 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3425 * org-exp.el (org-export-html-style-include-scripts): New option.
3426 (org-export-plist-vars): Add new option
3427 `org-export-html-style-include-scripts'.
3428 (org-export-as-html): Honor new option
3429 `org-export-html-style-include-scripts'.
3430 (org-export-html-scripts, org-export-html-style-default): Fix
3431 xml issues with the Safari browser.
3433 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3435 * org-publish.el (org-publish-attachment): Only copy file when the
3438 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3440 * org-clock.el (org-clocktable-steps): Use inactive time stamps
3441 for clocktable steps.
3443 * org.el (org-additional-option-like-keywords): Add two more
3446 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3448 * org-exp.el (org-export-format-source-code-or-example): Mark
3449 temporary buffer unmodified, so that it will be killed even if
3450 mode like message mode has decided to assign a file name.
3452 * org.el (org-scan-tags): Improve tag inheritance.
3453 (org-scan-tags, org-make-tags-matcher): Make tag comparison
3455 (org-scan-tags): Use the internal tags list instead of creating it
3457 (org-trust-scanner-tags, org-scanner-tags): New variables.
3458 (org-scan-tags): Set `org-scanner-tags'.
3459 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3460 (org-map-entries): Document the possible speedup using scanner
3463 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3465 * org.el (org-add-planning-info): Fix bug with looking for keyword
3468 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3469 option for tags filter preset.
3470 (org-prepare-agenda): Store filter preset as a property on the
3472 (org-finalize-agenda): Call the filter, if there is a preset.
3473 (org-agenda-filter-by-tag): Filter again after clearing the
3474 filter, when there still is a preset.
3475 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3476 Include the preset filter.
3477 (org-agenda-redo): Apply the filter again, also the preset filter.
3479 * org-exp.el (org-export-as-html): Use IDs in the correct way.
3481 * org.el (org-uuidgen-p): New funtion.
3483 * org-agenda.el (org-agenda-fontify-priorities): New default value
3485 (org-agenda-fontify-priorities): Rename from
3486 org-fontify-priorities.
3488 * org.el (org-set-font-lock-defaults): Call
3489 `org-font-lock-add-priority-faces'.
3490 (org-font-lock-add-priority-faces): New function.
3492 * org-faces.el (org-set-tag-faces): New option.
3493 (org-priority-faces): New variable.
3495 * org-exp.el (org-export-as-html): Add a "content" div around the
3496 entire content of the body tag.
3497 (org-export-html-get-bibliography): New function.
3498 (org-export-html-validation-link): New variable.
3499 (org-export-as-html): Add validation link to exported page.
3501 * org.el (org-match-sparse-tree): Rename from
3502 `org-tags-sparse-tree'.
3503 (org-tags-sparse-tree): New alias.
3505 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3507 * org.el (org-get-valid-level): Catch the case where the level
3510 * org-clock.el (org-clock-find-position): Better indentation of
3513 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3515 * org-agenda.el (org-agenda-quit): Delete window only when the
3516 frame-setup was not `current-window'.
3518 * org.el (org-tag-persistent-alist): New option.
3519 (org-startup-options): Add keyword `noptag'.
3520 (org-fast-todo-selection): Handle :newline correctly.
3521 (org-set-tags): Handle :newline correctly.
3522 (org-fast-tag-selection): Handle :newline correctly.
3524 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3526 * org-exp.el (org-export-as-ascii): Reverse link buffer before
3528 (org-export-ascii-push-links): Fix bug with pussing links into the
3531 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3533 * org-archive.el (org-archive-subtree): Do not add 1 to level if
3534 pasting at top level.
3536 * org-bbdb.el: Improve documentation.
3538 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3540 * org-list.el (org-insert-item): Only consider insert empty lines
3541 is `org-empty-line-terminates-plain-lists' is not nil.
3543 * org.el (org-blank-before-new-entry): Mention the dependence on
3544 `org-empty-line-terminates-plain-lists' in the docstring.
3546 * org-publish.el (org-publish-get-project-from-filename): New
3547 optional argument UP. Only find the top project if UP is set.
3548 (org-publish-current-project): Find the top encloding project.
3550 * org-agenda.el (org-agenda-before-write-hook)
3551 (org-agenda-add-entry-text-maxlines): New options.
3552 (org-write-agenda): Run the new hook in the temporary buffer.
3553 (org-agenda-add-entry-text): New function.
3554 (org-write-agenda): Implement PDF export, using ps2pdf.
3556 * org.el (org-global-properties-fixed, org-global-properties):
3557 Improve documentation string.
3559 * org-exp.el (org-export-ascii-links-to-notes): New option.
3560 (org-export-as-ascii): Handle links better.
3561 (org-export-ascii-wrap, org-export-ascii-push-links): New
3564 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3566 * org-agenda.el (org-agenda): Make prefix arg optional.
3567 (org-agenda-search-headline-for-time): New option.
3568 (org-format-agenda-item): Honor
3569 `org-agenda-search-headline-for-time'.
3571 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3574 * org.el (org-self-insert-cluster-for-undo): New option.
3575 (org-self-insert-command): Cluster undo for 20 characters.
3576 (org-self-insert-command-undo-counter): New variable.
3578 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3580 * org-exp.el (org-export-as-html): Fix problem with closing colone
3583 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3585 * org-latex.el (org-export-as-latex)
3586 (org-export-latex-first-lines): Avoid modification flag when
3587 adding or removing text properties.
3588 (org-export-latex-fontify): Catch error when org-emph-alist has
3589 entries that are not defined for LaTeX export.
3591 * org-export-latex.el: renamed to org-latex.el.
3593 * org-latex.el: renamed from org-export-latex.el.
3595 * org.el (orgstruct++-mode): New function.
3596 (turn-on-orgstruct++): Call `orgstruct++-mode'.
3597 (org-context-p): Allow detecting item context after the first line
3599 (orgstruct-make-binding): Detect if item-body context should be
3601 (orgstruct-is-++): New variable.
3602 (org-add-planning-info): Catch the case when there is no planning
3603 info yet and the call does not want to add anything, only maybe
3604 tries to remove something.
3605 (org-special-ctrl-a/e): All value to be a cons cell with separate
3606 settings for `C-a' and `C-e'.
3607 (org-beginning-of-line, org-end-of-line): Honor separate values
3608 for `C-a' and `C-e'.
3610 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3612 * org.el (org-reload): New command.
3614 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
3616 * org-gnus.el (org-gnus-store-link): Fix bug where
3617 org-gnus-store-link used wrong subject when called in an article
3618 buffer. Patch provided by fengli AT gmail DOT com.
3620 2009-03-13 D. Goel <deego3@gmail.com>
3622 * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
3623 replace ls by (values-list ls).
3625 2009-02-20 Carsten Dominik <dominik@science.uva.nl>
3627 * org-remember.el (org-remember-apply-template): Turn off ido for
3630 * org.el (org-priority): Also find invisible headings, for remote
3632 (org-completing-read-no-ido): New function.
3633 (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
3635 * org-colview.el (org-columns-edit-value): No special treatment of
3638 2009-02-19 Carsten Dominik <dominik@science.uva.nl>
3640 * org.el (org-block-todo-from-children-or-siblings): Use
3641 `org-up-heading-all' so that this will work correctly with hidden
3642 property drawers and entries.
3643 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
3644 falling back to normal, default command.
3645 (org-get-location): Temporarily turn off special behavior.
3647 2009-02-13 Glenn Morris <rgm@gnu.org>
3649 * org-rmail.el (rmail-show-message): Restore argument list to the
3650 declaration now that this functions behaves in Emacs 23 as in 22.
3652 2009-02-12 Glenn Morris <rgm@gnu.org>
3654 * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
3656 2009-02-12 Joachim Reiter <Reiter.Joachim@web.de> (tiny change)
3658 * org-footnote.el (org-footnote-action): Fix doc typo.
3660 2009-02-06 Carsten Dominik <dominik@science.uva.nl>
3662 * org-exp.el (org-export-preprocess-string): Fix bug with skipping
3663 text before first headline.
3664 (org-export-remove-or-extract-drawers): Fix regular expression for
3667 * org.el (org-format-latex): Stop LaTeX fragment processing in
3670 2009-02-05 Glenn Morris <rgm@gnu.org>
3672 * org-rmail.el (rmail-show-message): Update declaration.
3673 (rmail-buffer, rmail-view-buffer): Declare.
3674 (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
3676 2009-02-04 Carsten Dominik <dominik@science.uva.nl>
3678 * org.el (org-return-follows-link): Revert setting
3679 `org-return-follows-link' to t by default.
3681 2009-02-02 Carsten Dominik <dominik@science.uva.nl>
3683 * org.el (org-cycle-global-at-bob): Fix typo.
3685 * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
3687 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
3689 * org.el (org-mode): Make dependence stuff work more reliably.
3690 (org-update-parent-todo-statistics): Fix bug with updating
3692 (org-yank-adjusted-subtrees, org-return-follows-link)
3693 (org-use-fast-todo-selection, org-tags-column): New default
3694 setting for variables.
3696 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
3697 ~ as verbatim delimiters, to avoid table bug.
3698 (org-export-latex-classes): Remove the a4paper option from the
3701 * org-exp.el (org-export-html-format-image): New argument
3702 PAR-OPEN, to fix XHTM validation bug.
3703 (org-export-as-html): Pass par-open to
3704 `org-export-html-format-image'.
3705 (org-export-html-footnotes-section): Use a more consistent id for
3708 * org-agenda.el (org-agenda-sorting-strategy)
3709 (org-agenda-tags-column): New default setting for variables, based
3710 on a poll what typical uses use.
3711 (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
3712 setting the blocked tag.
3714 2009-01-31 Carsten Dominik <dominik@science.uva.nl>
3716 * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
3717 only checking for blocks.
3719 * org-exp.el (org-export-html-footnotes-section): Make the div id
3722 * org-export-latex.el (org-export-latex-classes): Remove
3723 paper size option from LaTeX classes.
3725 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
3727 * org.el (org-enforce-todo-checkbox-dependencies): New option.
3728 (org-block-todo-from-checkboxes): New function.
3729 (org-todo): Make tripple prefix arg circumvent blocking.
3731 2009-01-30 Glenn Morris <rgm@gnu.org>
3733 * org-list.el (org-empty-line-terminates-plain-lists)
3734 (org-toggle-checkbox): Doc fixes.
3736 * org-table.el (org-table-clean-before-export): Fix declaration.
3738 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
3740 * org-timer.el (org-timer): Provide the timer feature.
3742 * org.el (org-require-autoloaded-modules): Add a few more files to
3743 the list of autoloaded modules.
3745 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
3747 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
3748 drawers that are unprotected.
3749 (org-export-html-format-image): Make sure inlined LaTeX fragment
3750 images remain inlined.
3752 * org.el (org-toggle-ordered-property): New function.
3753 (org-mode-map): Add a key for `org-toggle-ordered-property'.
3754 (org-org-menu): Add menu entries for TODO dependencies.
3756 * org.el (org-default-properties): Add ORDERED to the default
3757 properties, to get completion support for it.
3759 * org-list.el (org-update-checkbox-count): Update more than one cookie.
3761 * org.el (org-update-parent-todo-statistics): Update more than one
3764 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
3766 * org-agenda.el (org-agenda-get-todos): Start search from correct
3769 * org.el (org-fast-todo-selection): Make sure TODO selection does
3770 not change buffer position.
3772 * org-list.el (org-toggle-checkbox): Implement adding or removing
3773 checkboxes from line or region when called with a prefix
3776 * org-rmail.el (org-rmail-store-link): Protect the call to
3777 `rmail-narrow-to-non-pruned-header'.
3779 * org-clock.el (org-clock-special-range): Fix week display in
3782 * org-exp.el (org-get-current-options): Fix bug when in indirect
3785 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
3786 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
3787 (org-agenda-dim-blocked-tasks): New function.
3789 * org.el (org-enforce-todo-dependencies): New option.
3790 (org-block-todo-from-children-or-siblings): New function.
3792 * org-faces.el (org-agenda-dimmed-todo-face): New face.
3794 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
3796 * org.el (org-todo): Return correct state type even if the blocker
3798 (org-modifier-cursor-error): Rename from
3799 `org-shiftcursor-error'.
3800 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3801 (org-shiftmetadown): Call `org-modifier-cursor-error'.
3803 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
3804 to get real errors from the blocker hook.
3806 * org.el (org-shiftselect-error, org-call-for-shift-select): New
3808 (org-set-visibility-according-to-property): Turn off the setting
3809 of `org-show-entry-below', to avoid overruling a FOLDED visibility
3812 * org.el (org-support-shift-select): New option.
3813 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
3814 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
3815 selection outside contexts.
3817 * org-list.el (org-at-item-bullet-p): New function.
3819 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
3822 * org-footnote.el (org-footnote-normalize): Remove unnecessary
3824 (org-insert-footnote-reference-near-definition): Remove
3825 unnecessary let form.
3827 2009-01-26 Carsten Dominik <dominik@science.uva.nl>
3829 * org-export-latex.el (org-export-as-latex): Call
3830 `org-export-latex-first-lines' with OPT-PLIST as a parameter.
3831 (org-export-latex-first-lines): New parameter OPT-PLIST.
3833 * org.el (org-yank): Tell `delete-selection-mode' about
3836 * org-faces.el (org-clock-overlay): Fix face definition.
3838 * org-export-latex.el (org-export-latex-first-lines): Pass
3839 timestamp and footnote parameters to the preprocessor.
3841 * org-exp.el (org-export-remove-timestamps): Do not remove time
3842 stamps inside tables.
3844 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3846 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
3848 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
3851 * org-table.el (org-table-insert-hline): Fix typo in fuction call
3854 * org-exp.el (org-export-as-html): Remove the initial space from
3857 * org.el (org-scan-tags): Call
3858 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3860 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
3861 customization groups.
3862 (org-agenda-tags-todo-honor-ignore-options): New option.
3863 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3865 (org-agenda-get-todos): Use
3866 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3868 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3870 * org-exp.el (org-export-format-source-code-or-example): Escape
3871 HTML characters also in examples that anre not treated with
3872 htmlize. Also, just switch to EXAMPLE processing if we do not
3873 have a good version of htmlize.
3875 * org-rmail.el: Fix copyright notice.
3877 * org.el (org-activate-footnote-links): Improve footnote link
3880 * org-footnote.el (org-footnote-normalize): Fix finding the end of
3881 a footnote definition at the end of the file.
3883 * org-table.el (org-table-get-specials): Add an imagined hline at
3884 the end of the table. This can be useful for references that want
3885 to go to the end of the table. Also fix bug when computing last
3886 row constants, in tables that do not start right at the right
3888 (org-table-eval-formula): Match and replace remove references.
3889 (org-table-formula-substitute-names): Make sure that names inside
3890 a "remote" call are left alone, the will be replaced later when
3891 the remote call is handled.
3892 (org-table-convert-refs-to-rc): Do not convert things that might
3893 look like a reference, but are really part of an ID or namei n a
3895 (org-table-get-remote-range): New function.
3897 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3899 * org-faces.el (org-clock-overlay): Fix bug in face definition.
3901 * org-clock.el (org-clock-put-overlay): Use new face instead of
3902 `secondary-selection'.
3904 * org-faces.el (org-clock-overlay): New face.
3906 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3908 * org-exp.el (org-get-current-options): Include the option for
3909 publishing time stamps.
3911 * org.el (org-toggle-heading): Rename from
3912 `org-toggel-region-headings'.
3913 No longer needs a region defined, but will use it if there is one.
3914 (org-ctrl-c-star): Simplify, relying more on the internal
3915 workings of `org-toggle-heading'.
3916 (org-toggle-item): Rename from `org-toggle-region-items'.
3917 No longer needs a region defined, but will use it if there is one.
3918 (org-ctrl-c-minus): Simplify, relying more on the inernal
3919 workings of `org-toggle-item'.
3921 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
3922 environment detection. Also, do real changes only in unprotected
3925 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3927 * org-export-latex.el (org-export-latex-quotation-marks): Use
3928 `org-if-unprotected-1'.
3929 (org-export-latex-set-initial-vars): Check for class definition in
3932 * org-macs.el (org-if-unprotected-1): New macro.
3934 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3936 * org-compat.el (org-count-lines): New function.
3938 * org-exp.el (org-export-format-source-code-or-example): Handle
3939 switches related to text areas.
3941 * org.el (org-activate-footnote-links): Don't allow match inside a
3944 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
3946 * org-export-latex.el (org-export-latex-links): Keep a relative
3947 path relative also after export.
3949 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
3951 * org.el (org-make-tags-matcher): Never use IDO for completing the
3952 tags matcher match string.
3953 (org-completing-read): Also remove the special biding for "?".
3955 * org-attach.el (org-attach-allow-inheritance): New option.
3956 (org-attach-inherited): New variable.
3957 (org-attach-dir): Handle properties related to the attachment
3959 (org-attach-check-absolute-path): New function.
3960 (org-attach-set-directory, org-attach-set-inherit): New commands.
3961 (org-attach): Accommodate the new commands in the dispatcher.
3963 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3965 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
3966 `window-full-width-p'.
3968 * org-exp.el (org-export-as-html): Only check for images files
3969 that really can be inlined.
3971 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
3972 list of extensions to be a parameter.
3974 * org-exp.el (org-export-html-inline-image-extensions): New
3977 * org-agenda.el (org-prepare-agenda): Use
3978 `org-agenda-block-separator'.
3979 (org-agenda-block-separator): New option.
3981 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3983 * org-export-latex.el (org-export-latex-tables): Call
3984 `org-table-clean-before-export' with the new optional argument.
3986 * org-exp.el (org-table-clean-before-export): New optional
3987 parameter MAYBE-QUOTED, allows for quoted characters like \# in
3990 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3992 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
3995 * org-colview.el (org-colview-construct-allowed-dates): Better
3996 error catching when a date/time property does not have allowed
3999 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4000 Better error catching when a date/time property does not have
4001 allowed values defined.
4003 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4005 * org.el (org-map-entries): Restore point and restriction after
4008 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4010 * org.el (org-time=, org-time<, org-time<=, org-time>)
4011 (org-time>=, org-time<>): Make sure both values are dates.
4013 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4015 * org-archive.el (org-extract-archive-heading): Allow %s for file
4016 name also in achive location heading.
4018 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4020 * org-archive.el (org-add-archive-files): Uniquify the list before
4023 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4025 * org-compat.el (org-fit-window-to-buffer): Use
4026 `window-full-width-p'.
4028 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4029 space after the colon in short examples.
4031 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4032 enforce a space after the colon. However, we also allow lines
4033 that are *only* a colon.
4034 (org-export-as-html): Enforce the space after the colon in short
4036 (org-export-preprocess-string): Do the colon example protection
4038 (org-export-remove-timestamps): Do not check for protection at the
4041 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4043 * org.el (org-format-latex-options): Add new matcher for single
4044 letters between dollars.
4045 (org-get-header): Function removed.
4046 (org-heading-components): New function.
4048 * org-exp.el (org-export-define-heading-targets): Record ID's also
4049 as alternative targets.
4050 (org-export-as-html): Interpret "id:" links to other files by
4051 preserving the relative path.
4053 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4056 * org-exp.el (org-export-normalize-links): Protect the main link,
4057 to avoid special character processing.
4059 * org-export-latex.el (org-export-latex-special-keyword-regexp):
4061 (org-export-latex-special-string-regexps): Variable removed.
4062 (org-export-latex-keywords): Use the new regexp.
4064 * org-exp.el (org-export-handle-include-files): Fetch switches and
4065 put them into the BEGIN statement.
4067 * org-timer.el (org-timer-mode-line-string): New variable.
4069 * org-clock.el (org-clock-mode-line-map): Rename from
4070 `org-clock-mode-map'.
4071 (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
4072 (org-clock-update-mode-line): Rename from `org-update-mode-line'.
4073 (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
4074 (org-clock-remove-overlays): Rename from
4075 `org-remove-clock-overlays'.
4077 * org-timer.el (org-timer-pause-or-continue): Implement stopping
4078 and mode line display.
4079 (org-timer-stop): New command.
4080 (org-timer-seconds): Return correct time when timer is paused.
4081 (org-timer-mode-line-timer): New variable.
4082 (org-timer-set-mode-line, org-timer-update-mode-line): New
4085 * org.el (org-insert-heading): Handle new value `auto' for
4086 `org-blank-before-new-entry'.
4087 (org-org-menu): Add new items for timer functions.
4089 * org-list.el (org-insert-item): Handle new value `auto' for
4090 `org-blank-before-new-entry'.
4092 * org.el (org-blank-before-new-entry): New value `auto', made
4095 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4097 * org-exp.el (org-export-normalize-links): If the link is also
4098 used as the description, protect the description.
4100 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4102 * org.el (org-closest-date): Fix bug with yearly repeats, in
4103 combination with preference of the past as it is used for deadline
4104 and scheduling search.
4106 * org-exp.el (org-html-handle-time-stamps): No longer check for
4107 the `org-export-with-timestamps' option, because the preprocesser
4108 has taken care of this already.
4110 * org.el (org-entry-properties): Catch the case when this is
4111 called in a non-org-mode file.
4113 * org-export-latex.el (org-export-latex-remove-from-headlines):
4114 Variable made obsolete, also LaTeX export now uses the standard
4116 (org-export-as-latex): Add the timestamps parameter to the
4117 preprocessor parameter list.
4118 (org-export-latex-content): Export the remaining keywords without
4119 considering to remove them.
4120 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4121 Use bold font instead of tt font for the keywords.
4122 (org-export-latex-fontify-headline): Format headlines, assuming
4123 that all keywords still present should be published.
4124 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4125 publish what ever remains of the time stamps.
4126 (org-export-latex-list-parameters): New option.
4127 (org-export-latex-lists): Pass additional parameters to the list
4130 * org-exp.el (org-export-preprocess-string): Remove clock lines
4131 and timestamps already in the preprocesor.
4132 (org-export-remove-timestamps, org-export-remove-clock-lines): New
4134 (org-export-as-ascii, org-export-as-html): Add the timestamps
4135 parameter to the preprocessor parameter list.
4137 * org-list.el (org-list-parse-list): Parse for checkboxes.
4138 (org-list-to-generic): Introduce and handle new parameters :cbon
4140 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4141 optional parameter PARAMS.
4143 * org-export-latex.el (org-export-latex-special-chars): Fix
4144 problems with interpreting dollar signs.
4145 (org-inside-latex-math-p): New function.
4146 (org-export-latex-preprocess): Protect all the math fragments.
4148 * org.el (org-latex-regexps): Allow a dash after a dollar.
4150 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4153 * org-agenda.el (org-run-agenda-series): Have series options set
4154 when finalizing the agenda.
4156 * org-exp.el (org-export-format-source-code-or-example): Protect
4157 the converted examples.
4159 * org.el (org-set-regexps-and-options): Fix the regexp
4160 `org-complex-heading-regexp'.
4162 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4164 * org.el (org-edit-src-get-label-format): New function.
4165 (org-coderef-label-format): New option.
4166 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4167 a label format specification and make sure it is used in the edit
4169 (org-edit-src-get-label-format): New function.
4170 (org-store-link): Handle new coderef formats.
4171 (org-link-search): Handle new coderef formats.
4173 * org-footnote.el (org-footnote-create-definition)
4174 (org-footnote-goto-local-insertion-point): Make footnote insertion
4175 work correctly when the "Footnotes" headline is the last line in
4178 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4181 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4183 * org-w3m.el (org-w3m): New customization group.
4184 (org-w3m-deactivate-mark): New option.
4185 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4188 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4190 * org.el (org-set-font-lock-defaults): Trigger footnote
4192 (org-activate-footnote-links): New function.
4193 (org-activate-links): New entry `footnote'.
4195 * org-faces.el (org-footnote): New face.
4197 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4199 * org-macs.el (org-re): Handle the [:word:] class.
4201 * org-exp.el (org-export-preprocess-string): Call
4202 `org-export-protect-colon-examples'.
4203 (org-export-protect-colon-examples): Rename from
4204 `org-export-protect-examples', and scope limited to lines starting
4207 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4209 * org-exp.el (org-export-preprocess-string): Move the preprocess
4210 hook to after turning on Org-mode.
4211 (org-export-preprocess-after-include-files-hook)
4212 (org-export-preprocess-after-tree-selection-hook)
4213 (org-export-preprocess-before-backend-specifics-hook)
4214 (org-export-preprocess-final-hook): New hooks.
4215 (org-export-preprocess-string): Run the new hooks.
4217 * org.el (org-ctrl-c-minus): Fix indentation for new items.
4219 * org-footnote.el: New file.
4221 * org.el (org-footnote): Require footnote code.
4222 (org-startup-options): Add new footnote options.
4223 (org-mode-map): New keybindig for footnotes.
4224 (org-ctrl-c-ctrl-c): Add function at footnotes.
4225 (org-org-menu): New menu entries for footnotes.
4227 * org-export-latex.el (org-export-as-latex): Pass footnote
4228 variable to preprocessor.
4229 (org-export-latex-preprocess): Treat multiple references to a
4232 * org-exp.el (org-export-preprocess-string): Call
4233 `org-footnote-normalize'.
4234 (org-export-as-ascii, org-export-as-html): Pass footnote variable
4236 (org-export-as-html): Treat multiple references to a footnote.
4238 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4240 * org-export-latex.el (org-export-latex-links): Handle coderef
4243 * org.el (org-bracket-link-analytic-regexp++): New variable.
4244 (org-make-link-regexps): Initialize
4245 `org-bracket-link-analytic-regexp++'.
4246 (org-store-link): Implement special case in edit-src buffer.
4247 (org-insert-link): No use of ide to insert stored links.
4248 (org-link-search): Implement special case for coderefs.
4250 * org-exp.el (org-export-html-scripts): New constant.
4251 (org-export-html-style-default): Add a new style for highlighted
4253 (org-export-code-refs): New variable.
4254 (org-export-preprocess-string): Initialize `org-export-code-refs'.
4255 Call `org-export-replace-src-segments-and-examples'
4256 No longer call `org-export-protect-examples'.
4257 (org-export-target-internal-links): Take care of coderef targets.
4258 (org-export-last-code-line-counter-value): New variable.
4259 (org-export-replace-src-segments-and-examples): Rename from
4260 `org-export-replace-src-segments', and modified.
4261 (org-export-format-source-code-or-example): Rename from
4262 `org-export-format-source-code'.
4263 (org-export-number-lines): New function.
4264 (org-export-as-ascii, org-export-as-html): Handle coderef links.
4266 2009-01-23 Glenn Morris <rgm@gnu.org>
4268 * org-rmail.el (rmail-narrow-to-non-pruned-header):
4269 Remove declaration of deleted function.
4271 2009-01-16 Glenn Morris <rgm@gnu.org>
4273 * org-mouse.el (org-mouse-show-context-menu): Use
4274 mouse-menu-major-mode-map, if defined, rather than the obsolete
4275 mouse-major-mode-menu.
4277 2008-12-23 Carsten Dominik <dominik@science.uva.nl>
4279 * org-remember.el (org-remember-handler): Safer way to get a new
4280 buffer accessing the target file.
4282 * org.el (org-refile-get-location): Handle case of current buffer
4283 not having a file associated with it.
4285 2008-12-22 Carsten Dominik <dominik@science.uva.nl>
4287 * org-table.el (org-table-get-formula): Only ask to overwrite
4288 field formula if there really is one.
4290 2008-12-21 Carsten Dominik <dominik@science.uva.nl>
4292 * org-export-latex.el (org-export-latex-make-header): Double the
4293 commenting % in the time stamp format.
4294 (org-export-latex-special-chars): Handle case where there is no
4297 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
4299 * org.el (org-get-refile-targets, org-refile-get-location): Use
4300 expanded file name to improve comparison.
4302 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
4304 * org.el (org-scan-tags): Rescan for tags, to get the correct
4305 upcase/downcase stuff. This slows things down for now, but it
4307 (org-mode): Make sure the tag-faces regexp is initialized.
4309 * org-export-latex.el (org-export-latex-links): Fix bug with
4312 * org-table.el (org-table-get-specials): Set
4313 `org-table-current-last-data-line'.
4314 (org-table-current-last-data-line): New variable.
4315 (org-table-insert-column, org-table-delete-column)
4316 (org-table-move-column, org-table-fix-formulas): Call
4317 `org-table-fix-formulas' a second time to fix the $LR references.
4318 (org-table-get-specials): Add the $LR references to the tables.
4319 (org-table-get-formula): Do not offer last-row names as LHS of
4322 * org.el (org-store-link): Capture link description from
4323 `org-id-store-link'.
4325 * org-exp.el (org-export-html-format-image): Add the / to the end
4327 (org-export-format-source-code): Surround example by empty lines,
4328 to make sure it will not be inside a paragraph.
4330 * org.el (org-ido-switchb): New function.
4332 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
4334 * org-agenda.el (org-agenda-show): New prefix argument
4337 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4340 2008-12-20 Glenn Morris <rgm@gnu.org>
4342 * org.el (org-org-menu): Fix some more menu entries.
4344 2008-12-18 Carsten Dominik <dominik@science.uva.nl>
4346 * org-table.el (org-table-get-specials): Revert introduction of @0
4347 as reference of the last table row, because of conflicts.
4349 * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
4350 argument, get the current tags directly.
4351 (org-agenda-set-tags): Leave getting current tags to
4352 `org-agenda-change-all-lines'.
4354 2008-12-17 Carsten Dominik <dominik@science.uva.nl>
4356 * org.el (org-org-menu): Do not quote the set-tags command.
4358 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
4360 * Fix typos in comments and docstrings throughout Org-mode.
4362 * org.el (org-get-outline-path): Fix bug if level is not given.
4364 * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
4366 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4368 * org.el (org-refile): Avoid refiling to within the region to be
4371 * org-export-latex.el (org-export-latex-special-chars): Replace
4372 special characters also in tables.
4374 * org-agenda.el (org-agenda-change-all-lines): New argument
4376 (org-agenda-set-tags): Get the new tags and pass them to
4377 `org-format-agenda-item'.
4379 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4381 * org-export-latex.el (org-export-latex-classes): Add longable as
4382 a default package to all classes.
4383 (org-export-latex-tables): Handle the longtable attribute and the
4386 * org-table.el (orgtbl-to-generic): Handle tables that start with
4389 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4390 \verb for colde-like snippets.
4391 (org-export-as-latex): Fix issues with region export.
4393 * org.el (org-up-heading-safe): Speed up function by using a
4394 direct regexp search.
4395 (org-olpa): New variable.
4396 (org-get-outline-path): Speed-up path constructions in cases where
4397 this is possible because the entire hierarchy is scanned anyway.
4398 (org-refile-get-location): Don't compare the truenames of files,
4400 (org-goto-max-level): New option.
4401 (org-goto): Use `org-goto-max-level'.
4403 2008-12-16 Tassilo Horn <tassilo@member.fsf.org>
4405 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4406 Strip angle brackets from message-ids in the former and don't do
4408 (org-gnus-follow-link): Open summary reliable, even if the last
4409 messages were deleted, and handle empty groups, too.
4411 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4413 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4414 instead of \texttt for the =...= and ~===~ emphasis environments.
4415 (org-export-as-latex): Remove any old :org-license-to-kill text
4417 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4418 (org-export-latex-make-header): Add some hard space after the
4420 (org-export-latex-first-lines): Accept RBEG argument. Mark
4421 exported text so that it will be excuded in further steps.
4423 * org-table.el (org-table-get-specials): Make @0 reference the
4424 last line in a table.
4425 (org-table-recalculate): Improve docstring.
4427 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4429 * org.el (org-log-done): Fix docstring.
4431 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4433 * org-exp.el (org-export-html-format-image): Fix bugs.
4435 * org-export-latex.el (org-export-latex-tables)
4436 (org-export-latex-links): Implement attribute, label, and caption
4439 * org-exp.el (org-export-html-style-default): Add style
4440 definitions for the figure div.
4441 (org-export-preprocess-string, org-export-as-html): Implement
4442 attribute, label, and caption handling.
4443 (org-export-attach-captions-and-attributes): New function.
4444 (org-export-html-format-image): New function.
4445 (org-format-org-table-html): Implement attribute, label, and
4448 * org.el (org-find-text-property-in-string): New function.
4449 (org-extract-attributes): Use the property org-attr instead of
4450 org-attrobutes, because this property is now set with the #+ATTR
4453 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4455 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
4456 the case that FROM is nil.
4458 * org.el (org-before-first-heading-p): New function.
4460 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4462 * org-exp.el (org-export-as-html): Do not add a space before
4463 enforces line breaks.
4464 (org-export-as-html): Close paragraph before blockquote and verse
4467 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4469 * org-id.el (org-id-locations-file): Wrap file name with
4470 `convert-standard-filename'.
4471 (org-id-files): New variable.
4472 (org-id-use-hash): New option.
4473 (org-id-update-id-locations): Also search in all files current
4474 listed in `org-id-files'. Convert the resulting alist to a hash
4475 if the user customation says so.
4476 (org-id-locations-save): Handle he case if `org-id-locations' is a
4478 (org-id-locations-load): Convert the alist to a hash.
4479 (org-id-add-location): Handle the hast case.
4480 (kill-emacs-hook): Make sure id locations are saved when Emacs is
4482 (org-id-hash-to-alist, org-id-alist-to-hash)
4483 (org-id-paste-tracker): New functions.
4485 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4487 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
4488 bindings of calendar variables.
4490 * org-table.el (org-table-find-row-type): Rename from
4491 `org-find-row-type'.
4492 (org-table-rewrite-old-row-references): Rename from
4493 `org-rewrite-old-row-references'.
4494 (org-table-shift-refpart): Rename from `org-shift-refpart'.
4495 (org-table-cleanup-narrow-column-properties): Rename from
4496 `org-cleanup-narrow-column-properties'.
4498 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4500 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
4501 for better error messages.
4502 (org-table-get-descriptor-line): Supply the new arguments to
4503 `org-find-row-type'.
4504 (org-table-error-on-row-ref-crossing-hline): New option.
4506 * org.el (org-target-link-regexp): Make buffer-local.
4507 (org-move-subtree-down): Fix bug with trees at beginning of
4510 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4512 * org-faces.el (org-set-tag-faces): New function.
4513 (org-tags-special-faces-re): New variable.
4515 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
4517 * org-faces.el (org-tag-faces): New option.
4518 (org-tag): Mention `org-tag-faces' in the docstring.
4520 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4522 * org-exp.el (org-export-html-style-default): Implement new
4525 * org-jsinfo.el (org-infojs-template): Implement new quoting.
4527 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
4528 command to the `w3m-minor-mode-map'.
4530 * org-archive.el (org-archive-to-archive-sibling): Protect
4531 `this-command' to avoid appending kills during archiving.
4533 * org-exp.el (org-export-with-priority): New variable.
4534 (org-export-add-options-to-plist): Use `org-export-plist-vars'
4535 instead of internal list of strings and properties.
4536 (org-print-icalendar-entries): Retrieve the location property with
4539 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4541 * org-exp.el (org-export-with-todo-keywords): New option.
4542 (org-export-plist-vars): Include also the keys for the #+OPTIONS
4544 (org-default-export-plist, org-export-add-options-to-plist)
4545 (org-export-as-ascii, org-export-as-html): Use the new structure
4546 of `org-export-plist-vars'.
4548 * org.el (org-map-entries): Return all values.
4550 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4552 * org.el (org-matcher-time): Recognize more special values.
4554 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
4556 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4558 * org.el (org-tags-exclude-from-inheritance): New option.
4559 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
4560 `org-tags-exclude-from-inheritance'.
4562 * org-agenda.el (org-agenda-show-inherited-tags): New option.
4563 (org-format-agenda-item): Add inherited tags to the agenda line
4564 string, and make sure that properties are kept when downcasing the
4566 (org-agenda-add-inherited-tags): New function.
4567 (org-downcase-keep-props): New function.
4569 * org.el (org-scan-tags): Mark inherited tags with a text
4571 (org-get-tags-at): Mark inherited tags with a text property.
4572 (org-add-prop-inherited): New function.
4574 * org-agenda.el (org-agenda-add-inherited-tags): New function.
4575 (org-agenda-show-inherited-tags): New option.
4577 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4579 * org.el (org-modules): Add org-w3m to the default modules.
4581 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
4583 (orgtabl-create-or-convert-from-region): New command.
4585 * org-exp.el (org-export-as-ascii): Remove the handling of
4587 (org-export-ascii-preprocess): Handle targets already in this
4590 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4592 * org-timer.el (org-timer-start-time): Define this variable.
4593 (org-timer-item): Make argument optional.
4595 * org-list.el (org-insert-item): Automatically insert a timer item
4596 if the current list is a timer list.
4598 * org-timer.el: New file.
4600 * org-publish.el (org-publish-org-index): Only exclude the index
4601 file in the main directory from being added to the site-map.
4602 (org-publish-get-project-from-filename): If the current project is
4603 a component, start publishing from the parent project.
4605 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4607 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
4609 * org-publish.el (org-publish-org-index): Improve removal of
4612 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
4614 * org-agenda.el (org-get-closed): Re-apply changes
4615 accidentially overwritten by last commit to Emacs.
4617 * org.el (org-outline-path-complete-in-steps): New option.
4618 (org-refile-get-location): Honor
4619 `org-outline-path-complete-in-steps'.
4620 (org-agenda-change-all-lines, org-tags-sparse-tree)
4621 (org-time-string-to-absolute, org-small-year-to-year)
4622 (org-link-escape): Re-apply changes accidentially overwritten
4623 by last commit to Emacs.
4625 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4627 * org-clock.el (org-dblock-write:clocktable): Make sure the
4628 clocktable sees the first line.
4629 (org-clock-in): Warn if the clock cannot be resumed.
4631 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4633 * org.el (org-open-at-point): Fix mixup about interactive and
4634 non-interactive elisp links.
4636 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4638 * org-exp.el (org-export-preprocess-string): Allow one comment
4639 line before the first headline to always be included. This is
4640 to not miss a commented target.
4642 * org-mouse.el (org-mouse-insert-item): Call
4643 `org-indent-to-column' instead of `indent-to', for XEmacs
4646 * org.el (org-refile-targets): Fix customize definition so
4647 that it works also in XEmacs.
4648 (org-fixup-indentation): Call `org-indent-to-column' instead
4649 of `indent-to', for XEmacs compatibility.
4651 2008-11-23 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
4653 * org-mew.el (org-mew-store-link): Get the correct case folder
4654 for refiled messages.
4656 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4658 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
4659 line break indicators.
4661 * org.el (org-ido-completing-read): Remove the "i:" prefix for
4662 ido-completion propts.
4664 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4666 * org-remember.el (org-remember-apply-template): Use
4667 `org-substring-no-properties'.
4669 * org-compat.el (org-substring-no-properties): New function.
4671 * org-remember.el (org-remember-apply-template): Use
4672 `org-substring-no-properties' for compatibility.
4674 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
4676 (org-fix-bullet-type): respect
4677 `org-list-two-spaces-after-bullet-regexp'.
4679 * org-clock.el (org-clock-load): Clean up the code.
4681 * org.el (org-adaptive-fill-function): Allow two spaces after
4682 "1." as a list bullet.
4684 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4686 * org-clock.el (org-clock-save, org-clock-load): Check for
4687 live buffers, existing files, and buffer file names to ensure
4688 consistent information.
4689 (org-clock-persist): Make `clock' a special value of this
4690 variable, and improve docstring.
4692 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
4693 (org-get-string-indentation): Adapt indentation when the bullet
4696 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4698 * org-remember.el (org-remember-finalize): Make interactive.
4699 (org-remember-kill): New command.
4700 (org-remember-finish-immediately): Call `org-remember-finalize'
4702 (org-remember-finalize): Make `org-remember-finalize' an interactive
4705 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4707 * org-remember.el (org-remember-apply-template): No ido completion
4708 for free prompts in remember templates.
4709 (org-remember-before-finalize-hook): New hook.
4710 (org-remember-mode): New minor mode.
4711 (org-remember-apply-template): Turn on `org-remember-mode'.
4713 * org-remember.el (org-remember-apply-template): Fix the way how
4714 the list of allowed properties is retrieved from the target file.
4716 * org.el (org-insert-link): Improve file link matching.
4718 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4720 * org-colview.el (org-columns-display-here): New argument
4721 DATELINE, to trigger using the new face.
4722 (org-agenda-colview-summarize): Call `org-columns-display-here'
4723 with the new argument.
4725 * org-faces.el (org-agenda-column-dateline): New face.
4727 * org-publish.el (org-publish-org-index): Use index-title at page
4728 title, not as section.
4730 * org-exp.el (org-export-html-format-desc): Respect the
4731 org-protect property.
4732 (org-export-as-html): Protect image specifiers that are in the
4733 description part of a link.
4735 * org.el (org-sort-entries-or-items, org-completing-read)
4736 (org-refile-get-location, org-olpath-completing-read, org-todo)
4737 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
4738 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
4739 (org-set-property, org-delete-property)
4740 (org-delete-property-globally): Use `org-ido-completing-read'.
4742 * org-remember.el (org-remember-apply-template): Use
4743 `org-ido-completing-read'.
4745 * org-publish.el (org-publish): Use `org-ido-completing-read'.
4747 * org-colview.el (org-columns-edit-value, org-columns-new)
4748 (org-insert-columns-dblock): Use `org-ido-completing-read'.
4750 * org-colview-xemacs.el (org-columns-edit-value)
4751 (org-columns-new, org-insert-columns-dblock): Use
4752 `org-ido-completing-read'.
4754 * org-attach.el (org-attach-delete-one, org-attach-open): Use
4755 `org-ido-completing-read'.
4757 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
4758 `org-ido-completing-read'.
4760 * org.el (org-time-today): New function.
4761 (org-matcher-time): Use `org-time-today'. Add special treatment
4762 for "<tomorrow>" and "<yesterday>".
4763 (org-ido-completing-read): New function.
4764 (org-completion-use-ido): New option.
4766 * org-exp.el (org-export-format-source-code): Fix bug in require
4768 (org-export-target-internal-links): Fix bug in search for text
4771 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4773 * org-export-latex.el (org-export-latex-subcontent): Interprete
4774 target aliases as additonal labels.
4776 * org-exp.el (org-export-target-aliases): New variable.
4777 (org-export-preprocess-string)
4778 (org-export-handle-invisible-targets): Fill the alias alist.
4779 (org-export-as-html): Remove the from the anchor, and also
4781 (org-html-level-start): Insert the target aliases as additonal
4784 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
4787 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4789 * org.el (org-open-at-mouse): Ensure correct link abbreviations
4790 when following a link with the mouse from the agenda.
4792 * org-exp.el (org-export-as-html): Avoid lone </div> when no
4793 headlines are created.
4795 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4797 * org.el (org-link-translation-function): New option.
4798 (org-open-at-point): Call `org-link-translation-function' if
4800 (org-translate-link): New function.
4801 (org-translate-link-from-planner): New function.
4802 (org-open-at-point): Allow interactive commands in elisp links.
4804 * org-exp.el (org-icalendar-cleanup-string): Restore the old
4805 iCalendar quoting. The new one seems to caus problems with
4808 * org.el (org-yank): Set `this-command' to `yank', so that
4809 `yank-pop' will work.
4811 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4813 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
4814 compliance as far as quoting is concerned.
4816 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
4817 hexified version of the tag.
4819 * org-vm.el (org-vm-follow-link): Require `vm-search'.
4821 * org.el (org-up-heading-safe, org-forward-same-level): Always
4822 call `org-back-to-heading' instead of `outline-back-to-heading'.
4823 (org-back-to-heading): New wrapper around outline-back-to-heading,
4824 with a useful error message telling where the error happened.
4826 * org-list.el (org-update-checkbox-count): Always call
4827 `org-back-to-heading' instead of `outline-back-to-heading'.
4829 * org-exp.el (org-export-as-html): Make sure that each <img> tag
4830 has an `alt' attribute, to ensure XHTML validation.
4832 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4834 * org-publish.el (org-publish-attachment): Allow publishing to
4835 overwrite attachment files.
4837 * org-agenda.el (org-agenda-timerange-leaders): New option.
4838 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
4840 * org.el (org-edit-src-exit): Untabify ASCII image before
4843 2008-11-19 Glenn Morris <rgm@gnu.org>
4845 * org.el, org-mouse.el (org-agenda-change-all-lines):
4848 2008-11-18 Carsten Dominik <dominik@science.uva.nl>
4850 * org.el ("speedbar"): Only show context if the file really is an
4853 2008-11-17 Juanma Barranquero <lekktu@gmail.com>
4855 * org.el (org-time-string-to-absolute, org-small-year-to-year)
4856 (org-tags-sparse-tree): Fix typos in docstrings.
4858 2008-11-15 Carsten Dominik <dominik@science.uva.nl>
4860 * org-publish.el (org-publish-attachment): Allow copy-file to
4863 2008-11-13 Glenn Morris <rgm@gnu.org>
4865 * org-agenda.el (org-get-closed): Fix alias.
4867 2008-11-12 Juanma Barranquero <lekktu@gmail.com>
4869 * org.el (org-link-escape): Fix typo in docstring.
4871 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4873 * org.el (org-yank): Make any prefix force normal yanking.
4874 Suppress folding if text would be swallowed into a folded
4876 (org-yank-folded-subtrees, org-yank): Docstring updates.
4878 * org-agenda.el (org-agenda-compare-effort): Treat no effort
4881 * org-exp.el (org-export-language-setup): Add Catalan and
4882 Esperanto language entries.
4884 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4886 * org.el (org-refile): Allow refiling of entire regions.
4888 * org-clock.el (org-clock-time%): New function.
4890 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
4891 retrieve property values.
4893 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4895 * org-agenda.el (org-agenda-list): Handle the value `only' of
4896 org-agenda-show-log'.
4897 (org-agenda-log-mode): Interpret a double prefix arg.
4899 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4901 * org-exp.el (org-export-html-footnotes-section): New variable.
4902 (org-export-as-html): Use `org-export-html-footnotes-section' to
4903 insert the footnotes.
4904 (org-export-language-setup): Add "Footnotes" to language words.
4906 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4908 * org.el (org-yank): Fix bug when not inserting a subtree.
4910 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4912 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
4913 instead of `vm-beginning-of-message'.
4915 * org.el (org-make-link-regexps): Make sure that links to gnus can
4918 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4920 * org-attach.el (org-attach-dir): Remove duplicate ID creation
4923 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
4926 * org.el (org-link-abbrev-alist): Improve customization type.
4928 * org-attach.el (org-attach-expand-link, org-attach-expand): New
4931 * org-agenda.el (org-agenda-get-progress): Rename from
4932 `org-get-closed'. Implement searching for state changes as well.
4933 (org-agenda-log-mode-items): New option.
4934 (org-agenda-log-mode): New option prefix argument, interpreted as
4935 request to show all possible progress info.
4936 (org-agenda-get-day-entries): Call `org-get-progress' instead of
4938 (org-agenda-set-mode-name): Handle the more complex log mode
4940 (org-get-closed): New alias, pointing to `org-get-progress'.
4942 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
4944 * org.el (org-file-apps-defaults-gnu)
4945 (org-file-apps-defaults-macosx)
4946 (org-file-apps-defaults-windowsnt): Add an entry defining the
4948 (org-file-apps): Allow `system' as key and value.
4949 (org-open-at-point): Explain the effect of a double prefix arg.
4950 (org-open-file): If the argument `in-emacs' is (16),
4951 i.e. corresponding to a double prefix argument, try to open the
4954 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
4956 * org.el (org-insert-link): Abbreviate absolute files names in
4957 links. Also, fix a bug in which the double C-u prefix would not
4960 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
4962 * org.el (org-insert-heading): If buffer does not end with a
4963 newline, add one if necessary to insert headline correctly.
4965 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
4966 paragraphs, not inside.
4968 * org.el (org-todo): Quote
4969 `org-agenda-headline-snapshot-before-repeat'.
4971 * org-exp.el (org-export-as-html): Fully process link descriptions.
4972 (org-export-html-format-desc): New function.
4973 (org-export-as-html): Collect footnotes into the correct basket.
4974 (org-html-protect): No longer protect quotations marks here, this
4977 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
4980 * org-compat.el (org-fit-window-to-buffer): New function (not
4981 really, a preliminary and incomplete version was present earlier,
4984 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
4985 `org-fit-window-to-buffer'.
4987 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
4989 * org-agenda.el (org-agenda-get-restriction-and-command)
4990 (org-fit-agenda-window, org-agenda-convert-date): Use
4991 `org-fit-window-to-buffer'.
4993 * org-exp.el (org-export-as-html): Process href links through
4994 `org-export-html-format-href'.
4995 (org-export-html-format-href): New function.
4997 * org-agenda.el (org-agenda-todo): Update only the current
4998 headline if this is a repeated TODO, marked done for today.
4999 (org-agenda-change-all-lines): New argument JUST-THIS, to change
5000 only the current line.
5002 * org.el (org-todo): Take a snapshot of the headline if the
5003 repeater might change it.
5005 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5007 * org-publish.el (org-publish-find-title): Remove buffers visited
5008 only for extracting the title.
5010 * org-exp.el (org-export-html-style)
5011 (org-export-html-style-default): Mark style definitions as
5014 * org-publish.el (org-publish-validate-link): Function
5017 2008-11-12 Charles Sebold <csebold@gmail.com>
5019 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5021 (org-plot-quote-timestamp-field): New function.
5022 (org-plot-quote-tsv-field): Call timestamp field function when
5023 necessary rather than just quoting as a string.
5024 (org-plot/gnuplot-to-data): Pass in timefmt property.
5025 (org-plot/gnuplot-script): Supports timefmt property.
5026 (org-plot/gnuplot): Checks for timestamp column before checking
5027 for text index column.
5029 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5031 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5033 * org-publish.el (org-publish-org-index): Create a section in the
5035 (org-publish-org-index): Stop linking to directories.
5037 * org.el (org-emphasis-alist): Use span instead of <u> to
5040 * org-exp.el (org-export-as-html): Make sure <p> is closed before
5043 2008-11-12 Sebastian Rose <sebastian_rose@gmx.de>
5045 * org-jsinfo.el (org-infojs-template): Remove language attribute
5048 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5050 * org-agenda.el (org-agenda-remove-marked-text): New function.
5051 (org-agenda-mark-filtered-text)
5052 (org-agenda-unmark-filtered-text): New functions.
5053 (org-write-agenda): Remove fltered text.
5055 * org.el (org-make-tags-matcher): Give access to TODO "property"
5056 without speed penalty.
5058 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5060 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5062 (org-store-link-props): Make sure adding to the plist works
5065 * org-gnus.el (org-gnus-no-new-news): New function.
5066 (org-gnus-follow-link): Allow the article ID to be a message-id,
5067 in addition to allowing article numbers. Message IDs make much
5069 (org-gnus-store-link): Use message-id to create link.
5071 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5073 * org.el (org-emphasize): Reverse the selection array.
5074 (org-emphasis-alist): Set <code> tags for the verbatim
5077 * org-remember.el (org-remember-handler): Fix bug with
5078 prefix-related changing of the note storage target.
5080 * org-exp.el (org-print-icalendar-entries): Make the exported
5081 priorities compatible with RFC 2445.
5083 * org-clock.el (org-clock-save): Insert time stamp without
5084 dependence on time-stamp.el.
5086 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5088 * org.el ("saveplace"): If saveplace puts point into an invisible
5089 location, make it visible.
5090 (org-make-tags-matcher): Allow inactive time stamps in time
5092 (org-yank-adjusted-subtrees): New option.
5093 (org-yank): Incorporate adjusting trees.
5094 (org-paste-subtree): New argument FOR-YANK which will cause
5095 insertion at point without backing up over white lines, and leave
5096 point at the end of the inserted text. Also if the cursor is
5097 at the beginning of a headline, use the same level or the inserted
5100 * org-publish.el (org-publish-get-base-files-1): Deal correctly
5101 with broken symlinks.
5103 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5105 * org-exp.el (org-export-select-tags, org-get-current-options):
5108 2008-11-06 Glenn Morris <rgm@gnu.org>
5110 * org-publish.el (org-publish-attachment): Use copy-file rather than
5113 2008-11-04 Juanma Barranquero <lekktu@gmail.com>
5115 * org.el (org-columns-modify-value-for-display-function):
5116 * org-table.el (org-table-convert-region): Fix typos in docstrings.
5118 2008-10-28 Glenn Morris <rgm@gnu.org>
5120 * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
5122 * org-list.el (outline-next-heading, outline-back-to-heading):
5125 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5127 * org-agenda.el (org-format-agenda-item)
5128 (org-agenda-filter-make-matcher): Make sure tags are stored and
5131 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5133 * org.el (org-insert-todo-heading): Fix bug with force-heading
5136 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5138 * org-exp.el (org-export-as-ascii): Handle the case that we are
5139 bulishing from an indirect buffer.
5141 * org-table.el (org-table-copy-down): Fix bug with time stamp
5144 * org-mouse.el (org-mouse-features): New option.
5145 (org-mode-hook): Turn on features depending on
5146 `org-mouse-features'.
5148 * org.el (org-insert-heading-respect-content): Force heading
5150 (org-insert-heading): keep the folding state of the heading before
5153 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5155 * org-archive.el (org-archive-to-archive-sibling): Handle top
5156 level headlines better.
5158 2008-10-26 Bastien Guerry <bzg@altern.org>
5160 * org-export-latex.el (org-export-latex-classes): Add
5161 \usepackage{graphicx} to the default list of packages.
5163 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5165 * org-agenda.el (org-agenda-filter): Rename from
5166 `org-agenda-filter-tags'.
5168 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5170 * org.el (org-entry-properties): Add CATEGORY property, iven if it
5171 is not defined as a property in this entry.
5172 (org-add-log-note): Mask prefix argument when immediately storing
5175 * org-agenda.el (org-agenda-filter-effort-default-operator): New
5178 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
5180 * org.el (org-add-log-setup): Bugfix; code to find insertion point
5181 after drawers was skipping ahead one line too many, so notes were
5182 inserted after the first note instead of before it.
5184 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5186 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5188 (org-prepare-agenda): Reset the filter tags.
5189 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5190 Show filter tags in mode line.
5192 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5195 * org-export-latex.el (org-latex-entities-regexp): New constant.
5196 (org-export-as-pdf): Use two calls to `shell-command'.
5198 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5200 * org-export-latex.el (org-export-latex-treat-sub-super-char):
5201 Honor the {} value of the subsuperscript setting. Make sure that
5202 longer subsuperscripts are typeset in a roman font.
5204 * org.el (org-clock-update-time-maybe): Compute negative clock
5205 intervals correctly.
5207 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5209 * org.el (org-add-log-setup): Respect
5210 `org-log-state-notes-insert-after-drawers'.
5211 (org-log-state-notes-insert-after-drawers): New option.
5212 (org-todo-trigger-tag-changes): New function.
5213 (org-todo): Call `org-todo-trigger-tag-changes'.
5215 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
5217 * org.el (org-add-log-setup): Only skip drawers if they are
5218 immediately after the scheduling keywords.
5220 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5222 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5223 call it with the current todo state to get the state to switch to
5225 (org-clock-in): Use org-indent-line-function to indent clock lines.
5226 (org-clock-find-position): Fix indentation of empty clock drawers.
5228 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5230 * org-publish.el (org-publish-org-to): Handle case when
5231 org-export-to-pdf does return a file name, not a buffer.
5232 (org-publish-org-to-pdf): New function.
5234 * org-export-latex.el (org-export-as-pdf)
5235 (org-export-as-pdf-and-open): New commands.
5237 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5240 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5241 things in protexted regions.
5243 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5245 * org-export-latex.el (org-export-latex-preprocess): Improve
5246 quoting of LaTeX environments.
5248 2008-10-19 Eli Zaretskii <eliz@gnu.org>
5250 * org.el (org-default-notes-file):
5251 * org-publish.el (org-publish-timestamp-directory):
5252 * org-id.el (org-id-locations-file): Run file names that begin
5253 with a period thru `convert-standard-filename'.
5255 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5257 * org-plot.el: Switch coding system to unix.
5259 2008-10-12 John Wiegley <johnw@newartisans.com>
5261 * org-attach.el: New file.
5263 2008-10-12 Carsten Dominik <carsten.dominik@gmail.com>
5265 * org.el (org-edit-fixed-width-region): Exclude final newline from
5268 * org-export-latex.el (org-export-latex-subcontent): Add labels to
5269 sections, to make internal links work.
5270 (org-export-latex-fontify-headline): Do not remove all text
5271 properties, to make sure that target properties survive this
5274 * org-exp.el (org-export-preprocess-string): Change sequence of
5275 modifications, to make sure links are prepared before the LaTeX
5276 conversions do happen.
5278 * org-attach.el (org-attach-delete-all): Rename from
5279 `org-attch-delete'. Add a security query before deleting the
5280 entire directory. New optional argument FORCE can overrule the
5282 (org-attach-delete-one): New command.
5284 * org-attach.el (org-attach-file-list): Fix bug with directory.
5286 * org.el (org-apps-regexp-alist): New function.
5287 (org-file-apps): Add auto-mode to the default value.
5288 (org-open-file): Use the new structure of org-file-apps.
5290 * org-attach.el (org-attach): Support the new keys.
5291 (org-attach-method): New option.
5293 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5296 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5297 of the list value o `org-use-tag-inheritance'.
5299 * org-attach.el (org-attach-auto-tag): New option.
5300 (org-attach-tag, org-attach-untag): New functions.
5301 (org-attach-attach, org-attach-new, org-attach-sync): Call
5303 (org-attach-delete): Call `org-attach-untag'.
5305 * org-table.el (orgtbl-self-insert-command): Make this work for
5308 * org.el (org-add-log-setup): Limit searc for drawers to entry
5309 text, not to subtree.
5311 * org-clock.el (org-clock-heading-for-remember): New variable.
5312 (org-clock-in): Set `org-clock-heading-for-remember'.
5314 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
5316 * org-remember.el (org-remember-apply-template): Add new
5317 expansions: %k, %K for currently clocked task and a link to the
5318 currently clocked task, and %< to file notes in the currently
5321 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5323 * org-export-latex.el (org-export-latex-make-header): Also insert
5324 the content of the property :latex-header-extra.
5326 * org-exp.el (org-infile-export-plist): Put the content of
5327 #+LATEX_HEADER: into the property :latex-header-extra.
5329 * org-colview.el (org-columns-get-format-and-top-level): Remove
5330 resetting the marker.
5332 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5333 Remove resetting the marker.
5335 * org.el (org-entry-property-inherited-from): Improve docstring.
5336 (org-entry-get-with-inheritance): Reset marker before starting the
5339 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5341 * org.el (org-entry-get-multivalued-property)
5342 (org-entry-protect-space, org-entry-restore-space): New
5344 (org-file-apps-defaults-macosx): Let postscript files be opened by
5346 (org-time-stamp-inactive): Call `org-time-stamp'.
5347 (org-time-stamp): New argument `inactive'. Also edit inacive
5348 stamps. Convert time stamp type.
5349 (org-open-file): Interpret the `default' value for the `command'
5352 * org-id.el (org-id-int-to-b36-one-digit)
5353 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5354 (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
5357 * org-id.el (org-id-reverse-string): New function.
5358 (org-id-new): Use `org-id-reverse-string' to make sure the
5359 beginning chars of the ID are mutating fast. This allows to use a
5360 directory structure to spread things better.
5361 (org-id-prefix): Change default to nil.
5363 * org-list.el (org-move-item-down, org-move-item-up): Remember and
5364 restore the column of the cursor position.
5366 * org-remember.el (org-remember-apply-template): Remove properties
5369 * org-wl.el (org-wl-open): Remove useless call to
5370 `wl-thread-open-all'.
5372 * org-remember.el (org-remember-handler): Fix bug with `bottom'
5375 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5376 `org-bbdb-anniversaries'.
5378 * org.el (org-get-next-sibling, org-forward-same-level): New
5379 functions, similar to the outline versions, but invisible headings
5382 2008-10-12 Bastien Guerry <bzg@altern.org>
5384 * org.el (org-auto-repeat-maybe): Insert a space between
5385 the timestamp's type and the timestamp itself.
5387 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5389 * org-table.el (org-table-sum): Do not format the result with %g,
5390 it does rounding when there are too many digits.
5392 * org.el (org-map-entries): Protect the keyword-selecting variables.
5394 2008-10-12 Bastien Guerry <bzg@altern.org>
5396 * org-agenda.el (org-agenda-to-appt): Make sure the function check
5397 against all agenda files.
5399 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5400 Bastien Guerry <bzg@altern.org>
5402 * org-list.el: New file, aggregating list functions from org.el
5403 and org-export-latex.el.
5405 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5407 * org.el (org-edit-src-region-extra): New option.
5409 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5412 2008-10-12 Bastien Guerry <bzg@altern.org>
5414 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5416 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
5418 * org-plot.el (org-plot/gnuplot): Make tables starting with a
5419 hline work correctly.
5420 (org-plot/gnuplot-script): Put commas at the end of each script
5423 * org.el (org-get-refile-targets): Replace links with their
5425 (org-imenu-get-tree): Replace links with their descriptions.
5427 * org-remember.el (org-remember-apply-template): Add a new
5428 expansion for adding properties to remember items.
5430 * org.el (org-add-log-setup): Skip over drawers (properties,
5431 clocks etc) when adding notes.
5433 * org-agenda.el (org-agenda-get-closed): show durations of clocked
5434 items as well as the start and end times.
5436 * org-compat.el (org-get-x-clipboard-compat): Add a compat
5437 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
5439 * org-remember.el (org-get-x-clipboard): Use the compat
5440 function to get clipboard values when x-selection-value is
5441 unavailable. Use substring-no-properties instead of
5442 set-text-properties to remove text properties from the clipboard
5445 * lisp/org-clock.el (org-update-mode-line): Support limiting the
5446 modeline clock string, and display the full todo value in the
5447 tooltip. Set a local keymap so mouse-3 on the clock string goes to
5448 the currently clocked task.
5449 (org-clock-string-limit): Add a custom value for the maximum
5450 length of the clock string in the modeline.
5451 (org-clock-mode-map): Add a keymap for the modeline string.
5453 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5455 * org-compat.el (org-propertize): New function.
5457 2008-10-12 Bastien Guerry <bzg@altern.org>
5459 * org-export-latex.el (org-export-latex-tables): protect exported
5460 tables from further special chars conversion.
5461 (org-export-latex-preprocess): Preserve LaTeX environments.
5462 (org-list-parse-list): Parse descriptive lists.
5463 (org-list-to-generic, org-list-to-latex, org-list-to-html)
5464 (org-list-to-texinfo): Export descriptive lists.
5465 (org-quote-chars): Remove.
5466 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
5467 (org-export-latex-list-beginning-re): Rename to
5468 `org-list-beginning-re'
5469 (org-list-item-begin): Rename to `org-list-item-beginning'.
5471 2008-10-12 Eric Schulte <schulte.eric@gmail.com>
5473 * org-plot.el: New file.
5475 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5477 * org.el (org-refile): Allow refiling to the last entry in the
5479 (org-get-tags-at): Fix bug when inheritance is turned off.
5481 * org.el (org-indent-line-function): No longer check for src
5482 regions, this is too much overhead.
5484 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
5487 * org.el (org-scan-tags): Make sure that tags matching is not case
5488 sensitive. TODO keyword matching is case sensitive, however, to
5489 avoid confusion with similar words that are not meant to be
5492 * org.el (org-get-local-tags-at): New function.
5493 (org-get-local-tags): New function.
5495 * org-exp.el (org-export-get-categories): New function.
5497 * org-agenda.el (org-sorting-choice)
5498 (org-agenda-sorting-strategy, org-agenda-get-todos)
5499 (org-agenda-get-timestamps, org-agenda-get-deadlines)
5500 (org-agenda-get-scheduled, org-agenda-get-blocks)
5501 (org-entries-lessp): Implement sorting by TODO state.
5502 (org-cmp-todo-state): New defsubst.
5504 * org-colview.el (org-colview-construct-allowed-dates): New
5506 (org-columns-next-allowed-value): Use
5507 `org-colview-construct-allowed-dates'.
5509 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
5511 (org-columns-next-allowed-value): Use
5512 `org-colview-construct-allowed-dates'.
5514 * org.el (org-protect-slash): New function.
5515 (org-get-refile-targets): Use `org-protect-slash'.
5517 * org-agenda.el (org-global-tags-completion-table): New variable.
5519 * org-exp.el (org-export-handle-export-tags): New function.
5520 (org-export-preprocess-string): Call
5521 `org-export-handle-export-tags'.
5523 * org-publish.el (org-publish-expand-components): Function removed.
5524 (org-publish-expand-projects): Allow components to have components.
5526 * org.el (org-indent-line-function): Do not indent in regions that
5527 are external source code.
5528 (org-yank-and-fold-if-subtree): New function.
5530 * org-agenda.el (org-agenda-todayp): New function.
5531 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
5532 `org-agenda-todayp'.
5534 * org.el (org-insert-heading-respect-content)
5535 (org-insert-todo-heading-respect-content): New commands.
5536 (org-insert-heading-respect-content): New option.
5537 (org-insert-heading): Respect `org-insert-heading-respect-content'.
5539 * org-clock.el (org-clock-find-position): Make sure the note after
5540 the clock line gets moved into the new clock drawer.
5542 * org-id.el (org-id-new): New option.
5544 * org-table.el (org-table-copy-down): Avoid overflow during
5545 increment. Use prefix argument 0 to temporarily disable the
5548 * org-exp.el (org-export-as-html): Do not turn on the major mode
5549 if the buffer will be killed anyway.
5550 (org-get-current-options): Exclude the #+TEXT field.
5551 (org-export-as-html): Make sure text before the first headline is
5554 * org-publish.el (org-publish-org-to): Tell the exporter that this
5555 buffer will be killed, so it is not necessary to do major mode
5558 * org-archive.el (org-archive-to-archive-sibling): Show empty
5559 lines after folding the archive sibling.
5561 * org.el (org-log-note-extra): New variable.
5563 2008-10-12 Bastien Guerry <bzg@altern.org>
5565 * org.el (org-additional-option-like-keywords): Add keywords for
5566 the _QUOTE, _VERSE and _SRC environments.
5568 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
5569 exporting _QUOTE and _VERSE environments.
5571 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5573 * org-agenda.el (org-agenda-filter-by-tag): New command.
5575 * org-exp.el (org-get-current-options): Remove angular brackets
5576 from the date entry.
5578 * org.el (org-edit-fixed-width-region): New function.
5579 (org-edit-fixed-width-region): Also try
5580 `org-edit-fixed-width-region'.
5581 (org-edit-fixed-width-region-mode): New option.
5582 (org-activate-code): Only interprete lines starting with colon
5583 plus a space as example lines.
5585 * org-remember.el (org-remember-templates): Add nil instead of
5586 empty strings to fix the length of remember templates.
5588 * org-table.el (org-calc-default-modes): Fix the time format for
5589 calc, from 12 hour to 24 hour clock.
5591 * org-agenda.el (org-agenda-get-deadlines)
5592 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
5593 entries that are pre-warnings of deadlines or reminders.
5595 * org.el (org-sort-entries-or-items): Make numeric and alpha
5596 comparisons ignore any TODO keyword and priority cookie.
5598 * org-remember.el (org-remember-handler): Reinterpretation of the
5601 * org-agenda.el (org-agenda-get-scheduled): Use new
5602 `org-scheduled' face.
5604 * org-faces.el (org-scheduled): New face.
5606 * org-wl.el (org-wl-open): Remove incorrect declaration.
5608 * org-gnus.el (org-gnus-store-link): Support for :to information
5611 * org-exp.el (org-export-as-html): Fix typo in creator
5613 (org-export-protect-examples): New parameter indent. Insert extra
5614 spaces only when this parameter is specified.
5615 (org-export-preprocess-string): Call `org-export-protect-examples'
5616 with an indentation parameter when exporting to ASCII.
5618 * org-remember.el (org-remember-templates)
5619 (org-remember-apply-template): Allow the file component to be a
5622 * org.el (org-goto-local-search-headings): Rename from
5623 `org-goto-local-search-forward-headings'. Added the possibility
5624 to search backwards.
5626 * org-export-latex.el (org-export-latex): New customization
5629 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
5631 * org-exp.el (org-html-do-expand): Allow {} to terminate
5634 * org.el (org-buffer-list): Select buffers based on major mode,
5637 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
5640 * org-colview.el (org-columns-display-here): Use
5641 `org-columns-modify-value-for-display-function'.
5643 * org-colview-xemacs.el (org-columns-display-here): Use
5644 `org-columns-modify-value-for-display-function'.
5646 * org.el (org-columns-modify-value-for-display-function): New option.
5648 * org-publish.el (org-publish-file): Make sure the directory match
5649 for the publishing directory works correctly.
5651 * org-agenda.el (org-agenda-execute-calendar-command)
5652 (org-agenda-diary-entry): Additional optional argument.
5654 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
5656 * org-exp.el (org-export-as-html): Add attributes also in mailto
5659 * org.el (org-autoload): Add `org-dblock-write:columnview'.
5661 2008-08-11 Glenn Morris <rgm@gnu.org>
5663 * org-mac-message.el (do-applescript): Fix declaration.
5665 2008-08-10 Glenn Morris <rgm@gnu.org>
5667 * org-exp.el (org-export-as-html): Let-bind `i'.
5669 * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
5670 (org-extract-attributes): Let-bind `key', `value'.
5671 (org-make-tags-matcher): Let-bind `time-p'.
5673 2008-07-27 Carsten Dominik <dominik@science.uva.nl>
5675 * org-install.el: New file.
5677 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
5679 * org-exp.el (org-export-html-style)
5680 (org-export-html-style-extra): Declare as safe-local-variable.
5682 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
5684 * org-publish.el (org-publish-file): Use the true name of the
5687 * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
5690 * org-exp.el (org-export-plist-vars)
5691 (org-export-add-options-to-plist): Handle creator setting flag.
5692 (org-export-as-html): Handle attributes also for ftp and mailto
5695 * org-agenda.el (org-agenda-diary-entry)
5696 (org-agenda-execute-calendar-command): Cater for the second
5697 argument of `calendar-cursor-to-date'.
5699 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
5701 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
5702 sure that calls from `org-export-region-as-html' do not do the
5703 special check for a subtree.
5705 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
5707 * org.el (org-open-file): Use
5708 `org-open-directory-means-index-dot-org'.
5709 (org-open-directory-means-index-dot-org): New option.
5711 * org.el (org-make-link-string): Remove link attributes from
5713 (org-open-at-point): Remove link attributes before using the path.
5715 * org-exp.el (org-export-as-html): Handle link attributes.
5717 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
5719 * org-table.el (org-table-to-lisp): New function.
5721 * org.el (org-narrow-to-subtree): Do not include the final newline
5722 into the narrowed region.
5724 * org-agenda.el (org-agenda-custom-commands-local-options): Fix
5725 bug with user-define skipping condition.
5727 * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
5729 * org-exp.el (org-export-html-style-default): Automatic overflow
5730 handling for pre fields.
5731 (org-export-as-ascii, org-export-as-html): Change default format
5734 * org-table.el (org-table-export): Offer completion for translator
5735 functions, and do not require a heading above the table.
5737 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
5738 Cater for the case of a list starting in the first line of the
5741 * org-publish.el (org-publish-find-title): Bug fix.
5742 (org-publish-org-index): Implement new :index-style option.
5744 * org-publish.el (org-publish-timestamp-filename): Use
5745 SHA1-encoded file names in the timestamp directory.
5747 * org-publish.el (org-publish-needed-p): Be verbose about files
5748 published and files skipped.
5750 * org-exp.el (org-export-preprocess-string): Swap link
5751 normalization and internal link targeting.
5753 * org-publish.el (org-publish-needed-p): Create timestamp
5754 directory when it does not exist.
5756 * org-clock.el (org-clock-out-when-done): Doc fix.
5758 * org.el (org-agenda-skip-unavailable-files): Doc fix.
5760 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
5761 Ignore case when searching for the COMMENT cookie at export time.
5763 * org-exp.el (org-get-file-contents)
5764 (org-get-and-remove-property): New functions.
5765 (org-export-handle-include-files): Handle the new prefix options.
5766 (org-export-as-html): Fix the verse environment.
5768 * org.el (org-time=, org-time<, org-time<=, org-time>)
5769 (org-time>=, org-time<>, org-2ft): New functions.
5770 (org-op-to-function): Also provide for the time testing functions.
5772 * org-exp.el (org-export-html-style-default): New constant.
5774 * org-exp.el (org-export-html-style-extra): New variable.
5775 (org-export-splice-style): New function.
5777 * org-exp.el (org-export-plist-vars, org-export-as-html):
5778 Implement `org-export-creator-info'.
5779 (org-export-creator-info): New option.
5781 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
5782 (org-property-drawer-re, org-clock-drawer-re): New constants.
5784 * org-exp.el (org-icalendar-use-deadline)
5785 (org-icalendar-use-scheduled): New options.
5786 (org-icalendar-include-todo): Default changed to t.
5787 (org-print-icalendar-entries): Implement better utilization of
5788 scheduling and deadline time stamps.
5789 (org-export-target-internal-links, org-export-as-html): Allow file
5790 lines without the "file:" prefix if the file path is an absolute
5791 path or starts with ".".
5793 * org-clock.el (org-clocktable-shift): Also understand yesterday,
5795 (org-clock-special-range): Also understand yesterday, lastweek etc.
5797 * org.el (org-agenda-skip-archived-trees): Docstring now
5798 discourages using this.
5799 (org-scan-tags): Check for org-agenda-archives-mode.
5800 (org-map-entries): Make sure org-agenda-archives-mode is nil.
5801 (org-agenda-files): Functionality of second arg changed.
5803 * org-agenda.el (org-agenda-archives-mode): New variable
5804 (org-write-agenda, org-prepare-agenda, org-agenda-list)
5805 (org-search-view, org-todo-list, org-tags-view)
5806 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
5808 (org-agenda-quit): Reset the archives mode.
5809 (org-agenda-archives-mode): New command.
5810 (org-agenda-set-mode-name): Include archives info.
5812 * org.el (org-paste-subtree): Make sure the yanked headline is
5813 visible if it was yanked at a visible point.
5814 (org-move-item-up): Fix the bug with moving white space at the end
5816 (org-show-empty-lines-in-parent): New function.
5818 2008-07-19 Juri Linkov <juri@jurta.org>
5820 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
5821 new keymap `narrow-map' instead of binding "\C-xns".
5823 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
5825 * org.el (org-agenda-skip-unavailable-files):
5826 * org-clock.el (org-clock-out-when-done): Doc fixes.
5828 2008-06-18 Glenn Morris <rgm@gnu.org>
5830 * org.el (org-map-entries): Let-bind `file'.
5832 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5834 * org-colview.el (org-columns-next-allowed-value): Bug fix.
5836 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
5838 * org-agenda.el (org-agenda-get-closed): Get the end time into the
5839 agenda prefix as well.
5841 * org-publish.el (org-publish-org-index): Make a properly indented
5844 * org.el (org-calendar-agenda-action-key): New option.
5845 (org-get-cursor-date): New function.
5846 (org-mark-entry-for-agenda-action): New command.
5847 (org-overriding-default-time): New variable.
5848 (org-read-date): Respect `org-overriding-default-time'.
5850 * org-remember.el (org-remember-apply-template): Respect the
5851 overriding default time.
5853 * org-agenda.el (org-agenda-action-marker): New variable.
5854 (org-agenda-action): New command.
5855 (org-agenda-do-action): New function.
5857 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5859 * org.el (org-schedule, org-deadline): Protect scheduled and
5860 deadline tasks against changes that accidently remove the
5861 repeater. Also show a message with the new date when done.
5863 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5865 * org.el (org-beginning-of-line): Cater for the case when there
5866 are tags but no headline text.
5867 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
5870 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5872 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
5873 the return value is nil instead of "nil" when there is no match.
5875 * org-exp.el (org-insert-centered): Use fill-column instead of
5877 (org-export-as-ascii): Use string-width to measure the width of
5880 * org.el (org-diary-to-ical-string): No longer kill buffer
5881 FROMBUF, this is now done by the caller.
5883 * org-exp.el (org-print-icalendar-entries): Move the call to
5884 `org-diary-to-ical-string' out of the loop, and kill the buffer
5887 * org-remember.el (org-remember-visit-immediately): Position
5888 cursor after moving to the note.
5889 (org-remember-apply-template): Use a text property to record the
5891 (org-remember-handler): Align tags after pasting the note.
5893 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5895 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
5897 * org-agenda.el (org-agenda-open-link): If there is an
5898 org-bbdb-name property in the current line, jump to that bbdb
5901 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
5902 text property, so that the agenda knows where this entry comes
5905 * org-agenda.el (org-agenda-clock-in): Fix bug in the
5906 interaction between clocking-in from the agenda, and automatic
5907 task state switching.
5909 * org-macs.el (org-with-point-at): Bug fix in macro definition.
5911 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
5912 zmacs-region stays after this command in XEmacs.
5914 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5916 * org.el (org-scan-tags): Allow new values for ACTION parameter.
5918 * org-remember.el (org-remember-templates): Fix bug in
5919 customization type definition.
5921 * org.el (org-map-entries): New function.
5923 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5925 * org-agenda.el (org-agenda-skip-comment-trees): New option.
5926 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
5928 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5930 * org-remember.el (org-jump-to-target-location): New variable.
5931 (org-remember-apply-template): Set
5932 `org-remember-apply-template' if requested by template.
5933 (org-remember-handler): Start an idle timer to jump to
5936 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
5938 * org.el (org-set-regexps-and-options): Fix bug with parsing of
5940 (org-get-tags-at): Add the content of `org-file-tags'.
5942 * org-exp.el (org-export-handle-comments): Fix bug with several
5943 comment lines after each other.
5944 (org-number-to-roman, org-number-to-counter): New functions.
5945 (org-export-section-number-format): New option.
5947 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5949 * org-exp.el (org-export-protect-examples): Catch the case of a
5950 missing end_example line.
5952 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
5953 `org-file-tags' to nil.
5955 * org-colview.el (org-columns-next-allowed-value): Handle next
5956 argument NTH to directly select a value.
5958 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
5959 argument NTH to directly select a value.
5961 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5963 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
5965 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5967 * org.el (org-columns-ellipses): New option.
5969 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5971 * org-colview.el (org-columns-add-ellipses): New function.
5972 (org-columns-compact-links): New function.
5973 (org-columns-cleanup-item): Call `org-columns-compact-links'.
5974 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
5976 (org-columns-edit-value): Fix bug with editing values from
5978 (org-columns-redo): Also redo the agenda itself.
5980 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5982 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
5985 * org-colview.el (org-agenda-columns-cleanup-item): New function.
5987 * org-exp.el (org-export-ascii-preprocess): Rename from
5988 `org-export-ascii-clean-string'.
5989 (org-export-kill-licensed-text)
5990 (org-export-define-heading-targets)
5991 (org-export-handle-invisible-targets)
5992 (org-export-target-internal-links)
5993 (org-export-remove-or-extract-drawers)
5994 (org-export-remove-archived-trees)
5995 (org-export-protect-quoted-subtrees)
5996 (org-export-protect-verbatim, org-export-protect-examples)
5997 (org-export-select-backend-specific-text)
5998 (org-export-mark-blockquote-and-verse)
5999 (org-export-remove-comment-blocks-and-subtrees)
6000 (org-export-handle-comments, org-export-mark-radio-links)
6001 (org-export-remove-special-table-lines)
6002 (org-export-normalize-links)
6003 (org-export-concatenate-multiline-links)
6004 (org-export-concatenate-multiline-emphasis): New functions,
6005 obtained from spliting the export preprocessor.
6007 * org-table.el (org-table-recalculate): Improve error message if
6008 the row number is invalid.
6010 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6012 * org-archive.el (org-archive-save-context-info): Fix bugs in
6013 customization setup and docstring.
6015 * org-exp.el (org-export-html-style): Change the size of in the
6016 <pre> element to 90%.
6018 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6020 * org.el (org-find-src-example-start): Function removed.
6021 (org-edit-src-find-region-and-lang): New function.
6023 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6025 * org.el (org-edit-src-exit): New function.
6026 (org-exit-edit-mode): New minor mode.
6028 * org-exp.el (org-export-preprocess-string): Fix bug with removing
6029 comment-like lines from protected examples.
6031 * org.el (org-edit-src-example, org-find-src-example-start)
6032 (org-protect-source-example, org-edit-special): New functions.
6034 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6036 * org-publish.el (org-publish-project-alist): Fix typo in
6038 (org-publish-project-alist): Handle :index-title property.
6040 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6042 * org-export-latex.el (org-export-as-latex): Make sure region
6043 bounds are correct. Parse subtree properties relating to export.
6045 * org-exp.el (org-export-add-options-to-plist): New function.
6046 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6048 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6050 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6053 * org-exp.el (org-export-get-title-from-subtree)
6054 (org-export-as-ascii, org-export-as-html): Make sure the original
6055 region-beginning and region-end are used, even after moving point.
6056 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6059 * org-remember.el (org-remember-last-stored-marker): New variable.
6060 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6061 (org-remember-handler): Also use marker to remember
6062 last-stored position.
6064 * org.el (org-goto-marker-or-bmk): New function.
6066 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6068 * org.el (org-file-properties): Rename from `org-local-properties'.
6069 (org-scan-tags): Take file tags into account.
6070 (org-tags-match-list-sublevels): Default changed to t.
6072 * org-exp.el (org-export-as-html): Close paragraph after a footnote.
6074 * org.el (org-update-parent-todo-statistics): New function.
6076 * org-exp.el (org-icalendar-store-UID): New option.
6077 (org-icalendar-force-UID): Option removed.
6078 (org-print-icalendar-entries): IMplement UIDs.
6080 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6082 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6084 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6086 * org-faces.el (org-column): Document how this face is being used
6087 and why sometimes the background faces shine through.
6089 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6091 * org-publish.el (org-publish-attachment): Create publishing
6092 directory if it does not yet exist.
6094 * org-table.el (org-calc-default-modes): Change default number
6095 format to (float 8).
6097 * org.el (org-olpath-completing-read): New function.
6098 (org-time-clocksum-format): New option.
6099 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6101 * org-clock.el (org-clock-display, org-clock-out)
6102 (org-update-mode-line): Use `org-time-clocksum-format'.
6104 * org-colview-xemacs.el (org-columns-number-to-string): Use
6105 `org-time-clocksum-format'.
6107 * org-colview.el (org-columns-number-to-string): Use
6108 `org-time-clocksum-format'.
6110 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6112 * org-id.el: New file, move from contrib to core.
6114 * org-exp.el (org-icalendar-force-UID): New option.
6116 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6118 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6119 shifted by one day if there is a date range without an end time.
6121 * org.el (org-try-structure-completion): New function.
6123 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6125 * org.el (org-set-font-lock-defaults): Improve fontification of
6127 (org-insert-item): Handle description lists.
6128 (org-adaptive-fill-function): Improve auto indentation in
6131 * org-exp.el (org-export-as-html, org-export-preprocess-string):
6132 Implement VERSE environment.
6133 (org-export-preprocess-string): Implement the COMMENT
6136 * org-export-latex.el (org-export-latex-preprocess): Implement
6139 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6141 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6144 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6146 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6148 * org.el (org-quote-csv-field): New functions.
6150 * org-table.el (org-table-export-default-format): Remove :splice
6151 from default format, we get the same effect by not specifying
6153 (org-table-export): Improve setup, distinguish better between
6154 interactive and non-interactive use, allow specifying the format
6155 on the fly, better protection against wrong file names.
6156 (orgtbl-to-generic): Fix documentation. Do not require :tstart
6157 and :tend when :splice is omitted.
6159 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6161 * org-clock.el (org-clock-select-task): Make sure the selection
6162 letters are 1-9 and A-Z, no special characters.
6164 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6166 * org-exp.el (org-export-htmlize): New group.
6167 (org-export-htmlize-output-type)
6168 (org-export-htmlize-css-font-prefix): New options.
6169 (org-export-htmlize-region-for-paste): New function.
6170 (org-export-htmlize-generate-css): New command.
6172 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6174 * org.el (org-set-visibility-according-to-property): New function.
6175 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6176 and compute the regular expressions, and update font-lock.
6177 (org-property-re): Allow a dash in property names.
6179 * org-archive.el (org-extract-archive-file): Insert the file name
6180 without the path into the format, to allow the location format to
6181 contain a subdirectory.
6183 * org-agenda.el (org-agenda-post-command-hook): If point is at end
6184 of buffer, and the `org-agenda-type' property undefined, use the
6185 value from the character before.
6187 * org.el (org-add-planning-info): Don't let indentation for
6188 would-be timestamp become extra whitespace at the end of headline.
6190 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6192 * org.el (org-remove-double-quotes, org-file-contents): New
6195 * org-exp.el (org-infile-export-plist): Also parse the
6196 contents of #+SETUPFILE files, recursively.
6198 * org.el (org-set-regexps-and-options): Also parse the
6199 contents of #+SETUPFILE files, recursively.
6201 * org-exp.el (org-export-handle-include-files): New function.
6202 (org-export-preprocess-string): Call
6203 `org-export-handle-include-files'.
6205 * org.el (org-delete-property-globally)
6206 (org-delete-property, org-set-property): Ignore case during
6208 (org-set-property): Use `org-completing-read' instead of
6211 * org.el (org-complete-expand-structure-template): New,
6212 experimental function.
6213 (org-structure-template-alist): New, experimental option.
6214 (org-complete): Call `org-complete-expand-structure-template'.
6216 2008-06-17 Bastien Guerry <bzg@altern.org>
6218 * org-export-latex.el (org-export-latex-preprocess):
6219 Add support for blockquotes.
6221 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6223 * org.el (org-read-date-analyze): Catch the case where only a
6226 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6228 * org.el (org-set-font-lock-defaults): Make the description
6231 * org-exp.el (org-export-as-html, org-close-li): Implement
6234 2008-06-17 Jason Riedy <jason@acm.org>
6236 * org-table.el (*orgtbl-default-fmt*): New variable.
6237 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6238 when there is no other fmt available.
6240 (orgtbl-to-generic): Allow an explicitly nil :tstart or
6241 :tend to suppress the appropriate string.
6243 (orgtbl-to-orgtbl): New function for translating to another orgtbl
6246 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6248 * org.el (org-read-date-analyze): "." as an alias for "+0" in
6251 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6254 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6257 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6259 * org-clock.el (org-clock-find-position): Don't include notes
6262 * org-archive.el (org-archive-subtree): No longer remove an
6263 extra line after cutting the subtree. `org-cut-subtree' already
6266 * org-remember.el (org-remember-handler): Only kill the target
6267 buffer if it does not contain the running clock.
6269 * org.el (org-markers-to-move): New variable.
6270 (org-save-markers-in-region, org-check-and-save-marker)
6271 (org-reinstall-markers-in-region): New function.
6272 (org-move-subtree-down, org-copy-subtree): Remember relative
6273 marker positions before cutting.
6274 (org-move-subtree-down, org-paste-subtree): Restore relative
6275 marker positions after pasting.
6277 * org-remember.el (org-remember-clock-out-on-exit): New option.
6278 (org-remember-finalize): Clock out only if the setting in
6279 `org-remember-clock-out-on-exit' requires it.
6280 (org-remember-handler): Do the cleanup in the buffer, to make sure
6281 that the clock marker remains in tact.
6283 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6285 * org-clock.el (org-clock-goto): Widen buffer if necessary.
6286 (org-clock-in): Make sure that also tasks outside the narrowed
6287 region will be clocked in correctly.
6288 (org-clock-insert-selection-line): Widen the buffer so that we can
6289 find the correct task heading.
6291 * org.el (org-base-buffer): New function.
6293 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6294 and ";" are escaped.
6295 (org-print-icalendar-entries): Also apply
6296 `org-icalendar-cleanup-string' to the headline, not only to the
6299 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6301 * org-exp.el (org-export-preprocess-hook): New hook.
6302 (org-export-preprocess-string): Call `org-export-preprocess-hook'.
6304 * org.el (org-font-lock-hook): New variable.
6305 (org-font-lock-hook): New function.
6306 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6310 ;; add-log-time-zone-rule: t
6313 Copyright (C) 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
6315 This file is part of GNU Emacs.
6317 GNU Emacs is free software: you can redistribute it and/or modify
6318 it under the terms of the GNU General Public License as published by
6319 the Free Software Foundation, either version 3 of the License, or
6320 (at your option) any later version.
6322 GNU Emacs is distributed in the hope that it will be useful,
6323 but WITHOUT ANY WARRANTY; without even the implied warranty of
6324 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6325 GNU General Public License for more details.
6327 You should have received a copy of the GNU General Public License
6328 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
6330 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c