1 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
3 * Version 23.3 released.
5 2011-02-23 Juanma Barranquero <lekktu@gmail.com>
7 * org.el (org-maybe-keyword-time-regexp):
8 * org-icalendar.el (org-icalendar-store-UID):
9 * org-agenda.el (org-agenda-scheduled-leaders)
10 (org-agenda-deadline-leaders, org-agenda-filter-preset):
11 * org-table.el (org-table-current-line-types)
12 (org-table-current-begin-line, org-table-current-begin-pos):
13 (org-table-current-field-formula):
14 Fix typos in docstrings.
16 2010-10-22 Juanma Barranquero <lekktu@gmail.com>
18 * org-exp.el (org-export-visible): Fix typo in docstring.
20 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
22 * org-agenda.el (org-prefix-category-length)
23 (org-prefix-category-max-length): Fix typos in docstrings.
25 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
27 * Version 23.2 released.
29 2010-02-15 Chong Yidong <cyd@stupidchicken.com>
31 * org-freemind.el (org-freemind-from-org-mode-node)
32 (org-freemind-from-org-mode)
33 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
34 Pass arg to called-interactively-p.
36 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
38 * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
39 Fix typos in docstrings.
41 2010-01-01 Juanma Barranquero <lekktu@gmail.com>
43 * org.el (org-get-outline-path, org-speed-command-help):
44 Fix typos in error messages.
46 2009-12-14 Juri Linkov <juri@jurta.org>
48 * org-html.el (org-export-html-style-include-default):
49 Put `safe-local-variable booleanp' on
50 `org-export-html-style-include-default' instead of mistakenly
51 duplicate `org-export-html-style'.
53 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
55 * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
56 agenda after adding new entry.
58 * org-datetree.el (org-datetree-find-day-create): Fix regular
61 * org.el (org-display-outline-path): Use a format specifier for
62 message, to avoid problems with heading containing `%'.
64 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
65 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
66 (org-agenda-fix-displayed-tags): New function.
67 (org-agenda-do-context-action): Just call
68 `org-display-outline-path', without piping the result through
71 * org-latex.el (org-export-latex-preprocess): Protect secondary
74 * org-indent.el (org-indent-initialize): Avoid empty strings as
77 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
78 hat checking for the mark does not throw an error.
79 (org-agenda-diary-entry-in-org-file): Catch the case that there is
80 not `day' text property in the cursor line.
82 * org.el (org-sort-entries-or-items): Make sure that the final
83 entry has a newline before doing the sorting.
85 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
86 property at the beginning of the line.
88 * org.el (org-make-link-string): Don't allow a description with
91 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
92 (org-agenda-insert-diary-as-top-level): New function.
93 (org-agenda-add-entry-to-org-agenda-diary-file): Call
94 `org-agenda-insert-diary-as-top-level'.
96 * org.el (org-occur-in-agenda-files): Make sure none of the
98 (org-activate-plain-links): Add the face property here.
99 (org-set-font-lock-defaults): Do not add the face to plain links,
100 the activator function does this.
102 * org-habit.el (org-is-habit-p): Add doc string.
104 * org-archive.el (org-archive-subtree-default-with-confirmation):
107 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
108 after match optional (happens at the end of a line...).
110 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
113 * org-faces.el (org-copy-face): Set lisp indentation.
114 (org-quote, org-verse): New faces.
116 * org-agenda.el (org-agenda-remove-date): Remove variable.
118 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
120 * org-html.el (org-export-as-html): Move the home/up link into
123 * org.el (org-export-latex-packages-alist): Option definition
124 moved here from org-latex.el.
126 * org-html.el (org-export-html-home/up-format): Add an ID to the
129 * org-wl.el (org-wl-store-link): Handle the case that
130 `wl-use-petname' is set.
132 * org.el (org-set-effort): Improve prompt.
133 (org-get-outline-path): Widen to get full path.
134 (org-compact-display-after-subtree-move): Function removed.
136 2009-11-20 Eric Schulte <schulte.eric@gmail.com>
138 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
139 hash keys to cache and re-use images generated by the
140 org-exp-blocks interface to ditaa and dot.
142 * org.el (org-format-latex): Latex images are now saved to files
143 named by the sha1 hash of the latex source text avoiding
144 regeneration of identical images.
146 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
148 * org-latex.el (org-export-as-latex): Add the :drawers property.
150 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
152 * org.el (org-speed-commands-user): Allow documentation headlines.
153 (org-speed-commands-default): Organize the value of this constant
154 with descriptive headlines.
155 (org-print-speed-command): Output the headlines.
157 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
159 * org-agenda.el (org-agenda-show-outline-path): New option.
160 (org-agenda-do-context-action): New function.
161 (org-agenda-next-line, org-agenda-previous-line): Use
162 `org-agenda-do-context-action'.
164 * org.el (org-use-speed-commands): Allow function value.
165 (org-speed-commands-default): Make headline motion safe, so that
166 these commands always end on a headline.
167 (org-speed-commands-default): New key `v' for `org-agenda'.
168 (org-speed-move-safe): New function.
169 (org-self-insert-command): Use the function value of
170 `org-use-speed-commands'.
171 (org-get-outline-path): Improve docstring.
172 (org-format-outline-path): New function.
173 (org-display-outline-path): New function.
175 2009-11-15 John Wiegley <jwiegley@gmail.com>
177 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
178 a string, use that to find the LOGBOOK drawer.
180 2009-11-15 Glenn Morris <rgm@gnu.org>
182 * org-agenda.el (org-datetree-find-date-create)
183 (org-habit-get-priority):
184 * org.el (org-format-agenda-item): Fix declarations.
186 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
188 * org.el (org-clone-subtree-with-time-shift): Make it work at the
191 * org-mobile.el (org-mobile-write-checksums): Specify coding
193 (org-mobile-timestamp-buffer): Keep local variable/mode line at
196 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
198 * org.el (org-block-todo-from-children-or-siblings-or-parent)
199 (org-block-todo-from-checkboxes): Do not block changes to a nil
202 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
204 * org-habit.el (org-habit-parse-todo): Indicate which habit is
205 wrongly set up in the error messages.
207 * org-colview.el (org-columns-display-here): Don't try to
208 calculate values if the underlying property is not set.
209 (org-columns-string-to-number): Convert age strings back into
211 (org-agenda-colview-summarize): Handle extended summary types
214 * org-colview-xemacs.el (org-columns-display-here): Don't try to
215 calculate values if the underlying property is not set.
216 (org-columns-string-to-number): Convert age strings back into
218 (org-agenda-colview-summarize): Handle extended summary types
221 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
223 * org-exp.el (org-export-format-drawer-function): New variable.
224 (org-export-format-drawer): New function.
225 (org-export-preprocess-string): Pass the backend as a parameter to
226 `org-export-remove-or-extract-drawers'.
227 (org-export-remove-or-extract-drawers): New parameter BACKEND.
229 * org-protocol.el (org-protocol-char-to-string): New defsubst.
231 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
233 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
234 message when no block is selected.
236 * org-latex.el (org-export-latex-links): Check for protectedness
237 in the last matched character, not after the match.
239 * org-datetree.el (org-datetree-find-date-create): Respect
240 restriction when KEEP-RESTRICTION is set.
241 (org-datetree-file-entry-under): New function.
242 (org-datetree-cleanup): New command.
244 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
246 * org-src.el (org-edit-src-code): New optional argument context
247 allows calling functions to avoid altering the saved window
249 (org-edit-src-exit): Do not restore window configuration when this
250 function is used in the context of saving the edit buffer.
252 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
254 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
255 instances to switching to with-current-buffer, because these seem
256 to cause problems - no idea why.
258 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
259 Require diary-lib for (diary-date-display-form).
261 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
263 * org.el (org-log-reschedule, org-log-redeadline): New options.
264 (org-log-note-headings): Add templates for rescheduling and
266 (org-startup-options): Add in-buffer settings for logging changing
267 schedule and deadline time stamps.
268 (org-deadline, org-schedule): Check for existing date and arrange
269 for logging if the user requests it.
270 (org-add-log-note): Prepare proper note buffers for rescheduling
271 and deadline changes.
273 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
275 * org-agenda.el (org-agenda-diary-entry-in-org-file)
276 (org-agenda-add-entry-to-org-agenda-diary-file)
277 (org-agenda-insert-diary-make-new-entry): New functions.
278 (org-agenda-diary-entry): Call
279 `org-agenda-diary-entry-in-org-file' when appropriate.
281 * org.el (org-calendar-insert-diary-entry-key): New option.
282 (org-agenda-diary-file): New option.
283 ("calendar"): Install our insertion function in the calendar.
285 * org-remember.el (org-datetree): Require.
286 (org-remember-templates): Add new positioning option.
287 (org-remember-reference-date): New variable.
288 (org-remember-apply-template): Store the reference date in a local
290 (org-remember-handler): Implement date tree positioning of entries.
292 * org-datetree.el: New file.
294 * org-latex.el (org-export-latex-preprocess): Protect targets in
297 * org-html.el (org-export-as-html): Protect targets in verbatim
300 * org-docbook.el (org-export-as-docbook): Protect targets in
303 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
305 * org-clock.el (org-show-notification): Handle messages that
306 contain a percent character.
308 * org-remember.el (org-remember-apply-template): Turn of partial
311 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
312 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
314 * org.el (org-indent-mode): Define variable already in org.el.
315 (org-unfontify-region): Remove line-prefix and wrap-prefix
316 properties only if org-indent-mode is active.
318 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
320 * org-icalendar.el (org-print-icalendar-entries): Save match data
321 around call to verify function.
322 (org-print-icalendar-entries): Add a call to the verification
325 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
326 save-restrivtion' form.
328 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
330 * org-exp.el (org-export-format-source-code-or-example): restrict
331 scope of preserve-indentp to the let binding.
332 (org-src): require org-src, since org-src-preserve-indentation is used.
334 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
336 * org-timer.el (org-timer-set-timer): Set variables
337 org-timer-timer[123] correctly.
340 * org-mobile.el (org-mobile-files-alist): Make it work when
341 `agenda-archives' is included in
342 `org-agenda-text-search-extra-files'.
343 (org-mobile-push): Restore agenda after mobile push.
345 2009-11-13 John Wiegley <jwiegley@gmail.com>
347 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
348 way the amount of idle time is presented in the minibuffer.
350 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
352 * org-icalendar.el (org-print-icalendar-entries): Use
353 org-icalendar-verify-function only if non-nil.
355 * org.el (org-refile): Refile to clock only if the prefix arg is
357 (org-sparse-tree): Fix docstring to be in line with prompt.
358 (org-update-parent-todo-statistics): Call
359 `org-after-todo-statistics-hook' on each level.
361 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
363 * org-remember.el (org-remember-apply-template): Make sure the
366 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
368 * org.el (org-tab-ind-state): New variable.
369 (org-cycle-level): New function.
370 (org-cycle-level-after-item/entry-creation): New option.
371 (org-flag-subtree): New function.
372 (org-hide-archived-subtrees): Call `org-flag-subtree'.
373 (org-set-effort): Indexed access.
375 * org-list.el (org-cycle-item-indentation): New function.
377 * org.el (org-refile): Make prefix argument 2 refile to current
379 (org-priority): Interpret action `remove' as call to remove the
382 * org-remember.el (org-remember-apply-template): Don't depend on
383 buffer name being like file name.
385 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
387 * org-clock.el (org-clock-play-sound): Expand file in
388 org-clock-sound, to allow ~ for home.
390 * org-remember.el (org-remember-handler): Set
391 text-before-node-creation even if this already looks like a node,
392 because the string might be needed on non-org-mode target files.
394 * org-agenda.el (org-agenda-open-link): Make this work in agenda
396 (org-agenda-switch-to): Follow a link at point if
397 org-return-follows-link' is set and there is nothing else to do in
400 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
402 * org-colview-xemacs.el: Add in changes from org-colview.el
404 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
406 * org-exp-blocks.el: Modify split separator regexp to avoid empty
409 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
411 * org-colview.el (org-columns-new): Make this work with the new
413 (org-columns-store-format): Make this work with the new operators.
415 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
417 * org-src.el (org-src-preserve-indentation): Document that this
418 variable is also used during export.
420 * org-exp.el (org-export-format-source-code-or-example): Preserve
421 indentation if a block has a -i option, or if
422 `org-src-preserve-indentation' is set.
424 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
425 indentation if a block has a -i option, or if
426 `org-src-preserve-indentation' is set.
428 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
430 * org.el (org-mode-map): Define the new archiving keys.
431 (org-speed-commands-default): Define an archiving key in the speed
433 (org-org-menu): Improve the menu structure concerning archiving.
435 * org-archive.el (org-archive-subtree-default-with-confirmation):
438 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
439 (org-agenda-menu): Add the new archiving commands to the menu.
440 (org-agenda-archive-default)
441 (org-agenda-archive-default-with-confirmation): New commands.
442 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
443 call `org-agenda-archive-with'.
444 (org-agenda-archive-with): New function.
446 * org-table.el (org-table-convert-region): Inert spaces around "|"
447 to avoid line beginnings like "|-1" which will be mistaken as
450 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
452 * org.el (org-offer-links-in-entry): Return nil if there are no
453 links, t if a link has been selected.
454 (org-open-at-point): Open attachment directory when called in the
455 headline and there are no links in the entry body.
456 (org-speed-commands-default): Add "o" for open-at-point as a speed
459 * org-attach.el (org-attach-reveal): Optional prefix arg
460 IF-EXISTS, which avoids creating the attachment directory if it
463 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
466 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
468 * org.el ("abbrev"): Work with abbrev tables only after they have
471 * org-list.el (org-list-send-list): Fix bug related to match
474 * org-latex.el (org-export-latex-fontify): Apply verbatim
476 (org-export-latex-make-header): Insert \obeylines if line breaks
479 * org-exp.el (org-export-protect-verbatim): Add an
480 `org-verbatim-emph' property to such text.
482 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
484 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
485 (org-print-icalendar-entries): Skip entries where the timestamp is
486 not a deadline and not scheduled, if the user requests that.
488 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
489 before an opening quote.
491 * org-archive.el (org-archive-subtree): Keep archive after
494 * org-id.el (org-id-update-id-locations): Add archive files if
495 that is required by `org-id-extra-files'.
497 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
499 * org-src.el (org-src-window-setup): New option.
500 (org-src-switch-to-buffer): New function.
501 (org-edit-src-exit): Add optional argument CONTEXT and use it to
502 restore window configuration.
503 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
504 Call `org-src-switch-to-buffer'.
506 * org.el (org-default-properties): Add STYLE property.
507 (org-files-list): Use the function call to get the files.
508 (org-additional-option-like-keywords): Add SETUPFILE to completion
511 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
513 * org-table.el (org-table-convert-region): Correctly interpret
514 quoting in csv import.
516 * org.el (org-icompleting-read): Make iswitchb completion work
517 with lists and tables.
519 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
520 while pushing the mobile agenda.
522 2009-11-13 John Wiegley <jwiegley@gmail.com>
525 (org-clock-auto-clock-resolution): Now takes three values: nil, t
526 and `when-no-clock-is-running'.
527 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
528 whether or not to resolve Org buffers on clock in.
530 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
532 * org-colview.el (org-format-time-period): Function to format
533 times in fractional days for display.
534 (org-columns-display-here): Add support for showing a calculated
535 value in place of the property.
536 (org-columns): Set `org-columns-time' to the current time so time
537 difference calculations will work.
538 (org-columns-time): Use to store the current time when column view
539 is displayed, so all time differences will use the same reference
541 (org-columns-compile-map): There is now an extra position in each
542 entry specifying the function to use to calculate the displayed
543 value for the non-calculated properties in the column,
544 (org-columns-compute-all): Set `org-columns-time' to the current
545 time so time difference calculations will work.
546 (org-columns-compute): Handle column operators where the values
547 used are calculated from the underlying property.
548 (org-columns-number-to-string): Handle the 'age' column format
549 (org-columns-string-to-number): Correct the function name (was
550 org-column...). Add support for the 'age' column format.
551 (org-columns-compile-format): Support the additional parameter in
552 org-columns-compile-map.
554 2009-11-13 Bastien Guerry <bzg@altern.org>
556 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
559 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
561 * org-clock.el (org-clock-has-been-used): New variable.
562 (org-clock-in): Set `org-clock-has-been-used'.
563 (org-clock-save): Save only if clock data has been used or created
566 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
568 * org-clock.el (org-clock-persist): New value, to store only the
570 (org-clock-save): Don't save the clock if only the history should
572 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
573 when restoring a saved clock.
575 2009-11-13 John Wiegley <jwiegley@gmail.com>
577 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
578 `org-time-clock-use-fractional'.
580 * org.el (org-time-clocksum-use-fractional)
581 (org-time-clocksum-fractional-format): Two new customizable
582 variables which allow the user to select fractional times (1.25
583 instead of 1:25) in the `org-clock-display' report.
585 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
587 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
590 * org.el (org-tag-alist): Fix customization type.
592 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
594 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
595 Make sure the regexp search can fail without throwing an error.
596 (org-mobile-apply): Save the inbox buffer after removing
597 successfully applied changes.
599 2009-11-13 John Wiegley <jwiegley@gmail.com>
601 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
602 time is reported after the user comes back (but before they
605 * org.el (org-get-repeat): Change so that this function can be
606 called with either `org-scheduled-string' or
607 `org-deadline-string'.
609 * org-clock.el (org-clock-auto-clock-resolution): Renamed
610 `org-clock-disable-clock-resolution', since negatives don't sound
611 good in customization variables.
612 (org-clock-in): Don't use the auto-resolution logic if the user is
613 clocking into a different task while an active clock is running.
614 This then allows the default behavior of clocking out of the open
615 task and then into the new task.
617 * org.el (org-modules): Made this variable more consistent, since
618 it was referring to Org, OrgMode and Org-mode, whereas the docs
619 for the variable always refer to Org-mode.
621 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
623 * org.el (org-repeat-re): The changed org-repeat-re no longer
624 matched simple +2d type repeaters. Fix it so it does.
626 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
628 * org-latex.el (org-export-latex-preprocess): Protect the vspace
629 macro in the VERSE environment.
631 2009-11-13 John Wiegley <jwiegley@gmail.com>
633 * org-habit.el (org-habit-get-priority): A new function that
634 determines the relative priority of a habit, based on how long
635 past its scheduled date it is, and how near the deadline is.
637 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
638 using `org-habit-get-priority'.
640 * org-habit.el (org-habit-build-graph): Start displaying colors
641 from the first scheduled date, if that date is earlier than the
642 first completion date.
644 * org-habit.el: Changed all "color" variables to faces, and made
645 them appropriate for light and dark backgrounds.
647 * org-habit.el (org-habit-duration-to-days): Made this function
649 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
651 * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
652 habits, since they don't use DEADLINE anymore.
654 * org.el (org-repeat-re, org-display-custom-time)
655 (org-timestamp-change): Extended to support the new ".+N/N"
656 syntax, used for habits.
658 * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
661 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
662 modeline when habits are being displayed (if that module is being
665 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
667 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
668 idle time using the xscreensaver extension.
669 (org-user-idle-seconds): Use X11 idle time if available.
671 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
673 * org-agenda.el (org-agenda-next-line): New command.
674 (org-agenda-previous-line): New commands.
675 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
677 (org-agenda-follow-mode): Do the follow immediately if the mode is
679 (previous-line, next-line): Replace keys with the corresponding
681 (org-agenda-mode-map): Bind backspace and delete to the scrolling
684 * org.el (org-icompleting-read): Turn off partial completion mode
685 for the duration of this completion round.
687 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
688 macros in author lines and similar stuff.
690 * org.el (org-file-tags): Fix docstring.
691 (org-get-buffer-tags): Add the #+FILETAGS tags.
692 ("ecb"): Maks ecb show context after jumping into an Org file.
694 2009-11-13 John Wiegley <johnw@newartisans.com>
696 * org-agenda.el (org-finalize-agenda): Draw habit consistency
697 graphs after everything else in the buffer has been setup.
699 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
701 * org-mobile.el (org-mobile-apply): Count success and failure.
703 * org.el (org-indent-line-function): Fix regexp replace problem.
705 2009-11-13 John Wiegley <johnw@newartisans.com>
707 * org-clock.el (org-clock-disable-clock-resolution): New
708 customization variable that disable automatic clock resolution on
710 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
711 not automatically resolve anything. This is does not affect
712 idle-time resolution, however, if `org-clock-idle-time' is set.
714 2009-11-13 John Wiegley <johnw@newartisans.com>
716 * org-habit.el: New file, which implements code to build a "habit
719 * org-agenda.el (org-agenda-get-deadlines)
720 (org-agenda-get-scheduled): Display consistency graphs when
721 outputting habits into the agenda. The graphs are always relative
723 (org-format-agenda-item): Added new parameter `habitp', which
724 indicates whether we are formatting a habit or not. Do not
725 display "extra" leading information if habitp is true.
727 * org.el (org-repeat-re): Improved regexp to include .+ and ++
728 leaders for repeat strings.
729 (org-get-repeat): Now takes a string parameter `tagline', so the
730 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
732 2009-11-13 John Wiegley <johnw@newartisans.com>
734 * org-agenda.el (org-agenda-auto-exclude-function): New
735 customization variable for allowing the user to create an "auto
736 exclusion" filter for doing context-aware auto tag filtering.
737 (org-agenda-filter-by-tag): Changes to support the use of
738 `org-agenda-auto-exclude-function'. See the new manual addition,.
740 2009-11-13 John Wiegley <johnw@newartisans.com>
742 * org.el (org-files-list): Don't attempt to return a file name for
743 Org buffers which have no associated file.
745 * org-agenda.el (org-agenda-do-action): Fixed a typo.
747 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
749 * org-mobile.el (org-mobile-locate-entry): Interpret files
750 relative to org-directory.
751 (org-mobile-inbox-for-pull): Document the best location for this
753 (org-mobile-check-setup): Verify `org-directory'.
754 (org-mobile-create-index-file): Sort the files to be listed in
757 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
759 * org.el (org-fast-tag-selection): Add a way to display a
760 description for a tag group. This is done by adding a string to
761 either the startgroup or endgroup cell.
763 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
765 * org-clock.el (org-clock-resolve, org-resolve-clocks)
766 (org-emacs-idle-seconds): Use `org-float-time' instead of
769 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
771 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
774 * org.el (org-pre-cycle-hook): Document that `empty' can also be
775 the value of ARG when doing local cycling.
777 2009-11-13 John Wiegley <johnw@newartisans.com>
779 * org-clock.el (org-clock-resolve-clock): If keeping or
780 subtracting time results in a clock out at a time in the past, and
781 if the resolution occurred due to idleness or invoking `M-x
782 org-resolve-clocks', remember that past moment in time. On the
783 next clock in, the user will be prompted to see if they want to
784 back-date their new clock to then.
785 (org-clock-resolve): Do not jump the user to the location of a
786 dangling clock if the resolution is occurring due to an idle
787 timeout. In that case there is typically only one dangling clock,
788 the active one, and there is no value gained by shuffling their
789 windows around to show it to them. Being prompted to resolve an
790 idle clock should be as inobtrusive as possible.
791 (org-resolve-clocks-if-idle): New function that resolves only the
792 currently active clock if the user has exceeded the time returned
793 by `org-user-idle-seconds', based on the value of
794 `org-clock-idle-time'.
795 (org-clock-in): If, after resolving clocks,
796 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
798 * org-clock.el (org-clock-resolve-clock): New function that
799 resolves a clock to a specific time, closing or resuming as need
800 be, and possibly even starting a new clock.
801 (org-clock-resolve): New function used by `org-resolve-clocks'
802 that sets up for the call to `org-clock-resolve-clock'. It
803 determines the time to resolve to based on a single-character
804 selection from the user to either keep time, subtract away time or
806 (org-resolve-clocks): New user command which resolves dangling
807 clocks -- that is, open but not active -- anywhere in the file
808 list returned by `org-files-list'.
809 (org-clock-in): Automatically resolve dangling clocks whenever a
811 (org-clock-cancel): If the user cancels the solely clock in a
812 LOGBOOK, remove the empty drawer.
814 * org-clock.el (org-clock-idle-time): New user customizable option
815 for detecting whether the user has left a clock idle. Note: it is
816 only used in this commit to test whether it's worthwhile to check
817 OS X to get the Mac user's current idle time. If the Emacs idle
818 time is less than the value, the user hasn't been away long enough
819 to be worth checking (a more expensive test than just getting
821 (org-user-idle-seconds, org-mac-idle-seconds)
822 (org-emacs-idle-seconds): This three functions, in conjunction
823 with the user customization variable `org-clock-idle-time', return
824 the number of seconds (as a floating point) that the user has been
825 away from their Emacs (or, if running on OS X, their computer).
827 * org-clock.el (org-find-open-clocks): New function that returns a
828 list of all open clocks in the given FILE. Note that each clock
829 it returns is a cons cell of the format (MARKER . START-TIME).
830 This "clock" value is used by several of the new clock module
832 (org-is-active-clock): New inline function which tests whether the
833 given clock value is the same as the currently active clock.
834 Returns non-nil if this is the case.
835 (org-with-clock-position): New macro that evaluates FORMS with
836 point in the buffer and at the position of the given clock.
837 Changes to the current clock are global.
838 (org-with-clock): New macro that evaluates FORMS with point in the
839 buffer and at the position of the given clock. However, changes
840 to the current clock are local and have no effect on the user's
841 active clock. This allows, for example, far any clock to be
842 cancelled without cancelling the active clock.
843 (org-clock-clock-in): New inline function that switches the active
844 clock to the given clock. If either the argument RESUME, or the
845 global `org-clock-in-resume', are non-nil, it will resume a clock
846 that was previously left open.
847 (org-clock-clock-out): New inline function that clocks out the
848 given clock value without affecting the currently active clock.
849 (org-clock-clock-cancel): New inline function that cancels the
850 given clock value without affecting the currently active clock.
852 * org-clock.el (org-clock-in): Before creating
853 `org-clock-mode-line-timer', check to make sure an older timer is
854 not currently running.
855 (org-clock-out): Accept new third parameter `at-time', which
856 permits a clock to be clocked out at a specific time. Note that
857 no attempt is made to verify that the clock out time is later than
860 * org.el (org-files-list): New utility function for returning a
861 list of all open org-mode buffers, plus all files used to build
862 the agenda buffer. Note that not all the files will necessarily
863 be visited by a buffer at time of call.
864 (org-entry-beginning-position): Like the function
865 `line-beginning-position', this inline function returns the
866 beginning position of the current heading/entry.
867 (org-entry-end-position): Like the function `line-end-position',
868 this inline function returns the end position of the current
871 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
873 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
876 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
878 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
880 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
882 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
883 entries that have no tags.
884 (org-agenda-search-view): New customize group.
885 (org-agenda-search-view-search-words-only): New option.
886 (org-search-view): Implement substring search.
888 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
890 * org.el (org-outline-level): Add doc string.
892 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
894 * org-inlinetask.el (org-inlinetask-export): Re-introduce
896 (org-inlinetask-export-handler): Only export inline task if the
897 user option calls for it.
899 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
901 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
904 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
906 * org-latex.el (org-export-latex-tables): Don't format in
909 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
911 * org-src.el (org-edit-src-code)
912 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
915 * org-agenda.el (org-prefix-category-max-length): New variable.
916 (org-format-agenda-item): Use `org-prefix-category-max-length'.
917 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
919 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
921 * org-mobile.el (org-mobile-create-index-file): Improve the
922 listing of tags and todo keywords.
924 * org-latex.el (org-export-latex-format-image): New function.
925 (org-export-latex-links): Use `org-export-latex-format-image'.
927 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
929 * org-inlinetask.el (org-inlinetask-get-current-indentation)
930 (org-inlinetask-remove-terminator): New functions.
931 (org-inlinetask-export-handler): Terminate the description list.
933 * org-exp.el (org-export-select-backend-specific-text): Remove the
936 * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
937 tasks without content.
939 * org-clock.el: Make sure the clock-in target position does not
940 move to a different node by widening the buffer.
942 * org-html.el (org-export-html-format-image): Wrap image into
943 figure div only when there is a caption.
945 * org-archive.el (org-archive-mark-done): Change default value to
948 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
950 * org.el (org-context): Call `bobp', not `eobp'.
952 * org-clock.el (org-clock-cancel): Remove quotes from marker
955 * org.el (org-read-date-prefer-future): New allowed value `time'.
956 (org-read-date-analyze): Shift day to tomorrow depending on time
957 entered and value of `org-read-date-prefer-future'.
959 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
961 * org.el (org-version, org-get-refile-targets, org-refile)
962 (org-store-log-note, org-diary-to-ical-string)
963 (org-speedbar-set-agenda-restriction):
964 * org-publish.el (org-publish-find-title):
965 * org-plot.el (org-plot/gnuplot):
966 * org-mouse.el (org-mouse-do-remotely):
967 * org-mobile.el (org-mobile-move-capture):
968 * org-mac-message.el (org-mac-message-insert-flagged):
969 * org-latex.el (org-replace-region-by-latex):
970 * org-docbook.el (org-replace-region-by-docbook):
971 * org-clock.el (org-clock-out, org-clock-cancel):
972 * org-bibtex.el (org-execute-file-search-in-bibtex):
973 Use with-current-buffer.
975 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
977 * org.el (org-directory, org-map-entries):
978 * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
980 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
982 * org.el (org-set-tags-to): New command.
984 * org-latex.el (org-export-latex-set-initial-vars): Also check in
987 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
990 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
992 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
994 * org-inlinetask.el (org-inlinetask-export): Option removed.
995 (org-inlinetask-export-handler): Better export.
997 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
998 (org-export-as-xoxo): Run the new hook.
1000 * org-html.el (org-export-html-final-hook): New hook.
1001 (org-export-as-html): Run the new hook.
1003 * org-docbook.el (org-export-docbook-final-hook): New hook.
1004 (org-export-as-docbook): Run the new hook.
1006 * org-ascii.el (org-export-ascii-final-hook): New hook.
1007 (org-export-as-ascii): Run the new hook.
1009 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
1010 space character as the character before the ^/_.
1011 (org-export-latex-final-hook): New hook.
1012 (org-export-as-latex): Run `org-export-latex-final-hook'.
1014 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1016 * org-macs.el (org-if-unprotected-at): Fix docstring.
1018 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
1019 text in the prefix (if category is a link).
1021 * org-latex.el (org-export-latex-preprocess): Deal properly with
1022 empty lines in verse environments.
1024 * org.el (org-format-latex-header): Inline fullpage.sty.
1026 * org-footnote.el (org-footnote-create-definition): Reveal context
1027 to add a new footnote definition.
1029 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1030 org-table-recalculate when cursor is in TBLFM line.
1032 * org-list.el (org-renumber-ordered-list): Fix cursor position
1033 when bullet length has changed.
1035 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1037 * org.el (org-format-latex): Mention `org-format-latex-options' in
1040 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1042 * org.el (org-agenda-get): New function.
1044 * org-agenda.el (org-agenda-post-command-hook): No longer move
1045 point away from end of line.
1046 (org-agenda-add-entry-text, org-agenda-collect-markers)
1047 (org-finalize-agenda, org-agenda-mark-clocking-task)
1048 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1049 (org-agenda-entry-text-show, org-agenda-highlight-todo)
1050 (org-agenda-compare-effort, org-agenda-filter-apply)
1051 (org-agenda-later, org-agenda-change-time-span)
1052 (org-agenda-post-command-hook, org-agenda-show-priority)
1053 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1054 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1055 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1056 (org-agenda-open-link, org-agenda-copy-local-variable)
1057 (org-agenda-switch-to, org-agenda-check-no-diary)
1058 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1059 (org-agenda-add-note, org-agenda-change-all-lines)
1060 (org-agenda-priority, org-agenda-set-tags)
1061 (org-agenda-set-property, org-agenda-set-effort)
1062 (org-agenda-toggle-archive-tag, org-agenda-date-later)
1063 (org-agenda-show-new-time, org-agenda-date-prompt)
1064 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1065 (org-agenda-clock-in, org-agenda-bulk-mark)
1066 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1069 * org-colview.el (org-columns-display-here)
1070 (org-columns-edit-allowed, org-agenda-columns): Use
1073 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1075 * org.el (org-special-ctrl-a/e): Improve documentation and
1077 (org-end-of-line): Don't jump to after the ellipsis.
1078 (org-mode-map): Bind <home> and <end> as well.
1080 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1082 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1083 space after #+ as comments.
1084 (org-open-at-point): Run `org-follow-link-hook' always.
1086 * org-latex.el (org-export-latex-emph-format): Use better commands
1087 to insert special characters in verbatim snippets.
1089 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1091 * org-faces.el (org-copy-face): New function. Use it to create
1092 various faces formerly created by using `copy-face'.
1094 * org-agenda.el (org-prepare-agenda): Don't officially mark this
1096 (org-agenda-quit): Kill the frame containing the agenda window if
1097 that frame was created for the agenda.
1099 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1101 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1102 stamp in the agenda.
1104 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1106 * org-agenda.el (org-prepare-agenda): Reset
1107 `org-drawers-for-agenda'.
1108 (org-prepare-agenda): Uniquify list of drawers.
1110 * org.el (org-complex-heading-regexp-format): New variable.
1111 (org-set-regexps-and-options): Define
1112 `org-complex-heading-regexp-format'.
1113 (org-drawers-for-agenda): New variable.
1114 (org-map-entries): Bind `org-drawers-for-agenda'.
1115 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1117 * org-remember.el (org-go-to-remember-target)
1118 (org-remember-handler): Use `org-complex-heading-regexp-format'.
1120 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1122 * org-agenda.el (org-agenda-highlight-todo): Fix text property
1125 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1126 always with `invisible-ok'.
1127 (org-store-link): No error when there is nothing to link to in the
1130 * org-list.el (org-update-checkbox-count): Insert changed cookie
1131 before the old, to avoid problems with invisibility at the end of
1133 (org-update-checkbox-count): Insert changed cookie before the old,
1134 to avoid problems with invisibility at the end of the line.
1136 * org.el (org-sort-entries-or-items): Include the final newline.
1137 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1138 lines for fontification.
1139 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1140 (org-prepare-dblock): Store the current indentation of the BEGIN
1142 (org-update-dblock): Apply the indentation of the begin line to
1143 the rest of the block.
1144 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1145 (org-startup-folded): New allowed value `showeverything'.
1146 (org-startup-options): Add STARTUP keyword `showeverything'.
1147 (org-set-startup-visibility): Respect value `showeverything' in
1150 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1152 * org.el (org-closest-date): Fix issue with past preference.
1154 * org-archive.el (org-archive-set-tag)
1155 (org-archive-subtree-default): New commands.
1157 * org-clock.el (org-clock-clocktable-default-properties): New
1159 (org-clock-report): Use
1160 `org-clock-clocktable-default-properties'.
1162 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1164 * org.el (org-iswitchb-completing-read): Fix typo.
1166 * org-crypt.el: New file.
1168 * org.el: Add an entry for org-crypt.
1170 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1172 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1174 (org-batch-store-agenda-views): New function.
1175 (org-agenda-title-append): Define variable.
1176 (org-write-agenda): New export to Org files.
1177 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1178 (org-agenda): Allow to keep the restricted file list if a special
1179 variable is bound to t.
1180 (org-agenda): Define a special agenda view for working on flagged
1182 (org-agenda-get-restriction-and-command): List the new agenda
1184 (org-agenda-show-the-flagging-note): New command.
1185 (org-agenda-mode-map): New key `?' for looking at the flagging
1188 * org.el (org-autoload): Autoload org-mobile.el.
1189 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1191 * org-mobile.el: New file.
1193 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1195 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1197 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1199 (org-table-get-remote-range): Match indented #+TBLNAME
1202 * org.el (org-convert-to-odd-levels)
1203 (org-convert-to-oddeven-levels): Work also correctly if the file
1206 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1208 * org.el (org-store-link): When in agenda buffer, link to
1210 (org-add-planning-info): Remove spaces at eol.
1212 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1215 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1217 * org-latex.el (org-export-latex-first-lines): Fix problem with
1218 LaTeX export of first line and selected subtree.
1220 * org.el (org-shifttab): Interpret arg differently when using only
1223 2009-10-01 Bastien Guerry <bzg@altern.org>
1225 * org.el (org-check-agenda-file): Use a more explicit message
1227 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1229 * org-exp.el (org-export-remove-special-table-lines): Don't remove
1232 2009-10-01 Bastien Guerry <bzg@altern.org>
1234 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1235 prompt in the temporary window.
1237 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1238 prefix for marked entries in the agenda view.
1240 2009-10-01 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
1242 * org.el (outline-end-of-subtree): Bugfix: advise this function in
1243 a way that prevents any trailing character from being displayed.
1245 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1247 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1250 * org-exp.el (org-export-remove-special-table-lines): Remove bad
1253 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1255 * org-latex.el (org-export-latex-preprocess): Do not protect in
1258 * org-src.el (org-edit-src-save): Save window setup while saving.
1259 (org-edit-src-code): Use new buffer name construction scheme.
1261 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1263 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1265 (org-agenda-entry-text-cleanup-hook): New hook.
1266 (org-agenda-get-some-entry-text): Remove matches of
1267 `org-agenda-entry-text-exclude-regexps' and run the hook
1268 `org-agenda-entry-text-cleanup-hook'.
1270 * org.el (org-offer-links-in-entry): New argument ZERO to
1271 implement a link with index zero.
1272 (org-cycle-show-empty-lines): Not keep empty line under header
1274 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1275 to nil for special completion.
1276 (org-store-link): Don't error before the first heading.
1278 * org-agenda.el (org-agenda-open-link): Pass the prefix to
1279 `org-offer-links-in-entry'.
1281 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
1283 * org-agenda.el (org-agenda-quit): Provide the window argument for
1284 `window-dedicated-p', Emacs 22 needs it.
1285 (org-format-agenda-item): If the category is a link, arrange for
1286 invisible text to replaced with spaces.
1287 (org-compile-prefix-format): Add the extra space.
1288 (org-prefix-category-length): New variable.
1290 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1291 references from TOC lines.
1293 * org.el (org-selected-window): New variable.
1295 * org-table.el (org-table-edit-formulas): Remember the selected
1297 (org-table-fedit-finish, org-table-fedit-abort): Select the window
1298 that was originally selected.
1300 * org-exp.el (org-export-preprocess-apply-macros): Scan the
1301 expansion of a macro for more macro definitions.
1303 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1304 invisibility overlay starts on the newline.
1306 2009-10-01 Glenn Morris <rgm@gnu.org>
1308 * org-agenda.el (calendar-check-holidays):
1309 * org-exp.el (org-agenda-skip):
1310 * org-list.el (outline-back-to-heading):
1311 * org-wl.el (wl-summary-goto-folder-subr):
1312 * org.el (iswitchb-mode, remember, remember-buffer-desc)
1313 (remember-finalize, remember-save-after-remembering, remember-register)
1314 (remember-buffer, remember-handler-functions)
1315 (remember-annotation-functions): Remove unused declarations.
1317 * org.el (iswitchb-read-buffer): Fix declaration.
1319 2009-09-30 Glenn Morris <rgm@gnu.org>
1321 * org-compat.el (w32-focus-frame):
1322 * org-exp-blocks.el (R):
1323 * org-exp.el (htmlize-buffer):
1324 * org-protocol.el (server-edit):
1325 * org-table.el (org-format-org-table-html):
1326 * org.el (org-indent-mode): Fix declarations.
1328 * org-colview.el (org-columns-uncompile-format): Avoid assignment to
1329 free variable `fun'.
1331 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
1333 * org-agenda.el (org-agenda-restore-windows-after-quit):
1334 Fix typo in docstring.
1336 2009-09-23 Juanma Barranquero <lekktu@gmail.com>
1338 * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
1339 (org-shiftselect-error, org-ctrl-c-ctrl-c):
1340 * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
1341 * org-attach.el (org-attach-check-absolute-path):
1342 * org-docbook.el (org-export-as-docbook):
1343 * org-html.el (org-export-as-html):
1344 * org-id.el (org-id-update-id-locations):
1345 * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
1346 Fix typos in error messages.
1348 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1350 * org-ascii.el: Require CL for the `loop' macro.
1352 2009-09-05 Carsten Dominik <dominik@u016822.science.uva.nl>
1354 * org-gnus.el (require): Wrap (require gnus-sum) into
1357 2009-09-03 Carsten Dominik <dominik@u016822.science.uva.nl>
1359 * org-protocol.el (org-protocol-store-link)
1360 (org-protocol-remember, org-protocol-open-source): Remove autoload
1363 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
1364 referencing the start of the line.
1366 * org-gnus.el: Remove unnecessary declare-function forms.
1367 (gnus-sum): Always require gnus-sum.
1369 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1371 * org-protocol.el (org-protocol-store-link)
1372 (org-protocol-remember, org-protocol-open-source): Add autoloads.
1374 * org-compat.el (org-float-time): New function.
1376 * org.el (org-clock-update-time-maybe)
1377 (org-sort-entries-or-items, org-do-sort)
1378 (org-evaluate-time-range, org-time-string-to-seconds)
1379 (org-closed-in-range): Use `org-float-time'.
1381 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1382 (org-timer-seconds): Use `org-float-time'.
1384 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1385 (org-clock-sum, org-dblock-write:clocktable)
1386 (org-clocktable-steps): Use `org-float-time'.
1388 * org-agenda.el (org-agenda-last-marker-time)
1389 (org-agenda-new-marker, org-diary): Use `org-float-time'.
1391 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1394 * org-exp.el (org-get-file-contents): Only protect lines that
1397 * org-html.el (require): Require cl for compilation.
1399 * org.el: Avoid using `default-major-mode'.
1401 * org-plot.el (require): Require CL only at compile time.
1403 * org-exp.el (require): Require CL only at compile time.
1405 * org-agenda.el (org-agenda-quit): When the agenda window is
1406 dedicated, remove other windows before exiting, so that the frame
1407 really will be killed.
1409 * org-exp.el (org-export-handle-include-files): Reset START and
1410 END for each loop cycle.
1412 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1414 * org.el (org-eval-in-calendar): Use
1415 `org-select-frame-set-input-focus'.
1417 * org-compat.el (org-select-frame-set-input-focus): New function.
1419 * org.el (org-update-statistics-cookies): New function.
1420 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1422 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1424 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1425 after the local variables are set.
1427 * org-latex.el (org-export-latex-protect-amp): New function.
1428 (org-export-latex-links): Protect link ampersands in tables.
1430 * org-exp.el (org-export-select-backend-specific-text): Match in
1431 two steps, to avoid regexp problems.
1433 * org.el (org-offer-links-in-entry): Improve working with many and
1436 * org-agenda.el (org-agenda-show-1): Make more consistent with
1438 (org-agenda-cycle-show): Make more consistent with normal cycling.
1440 * org-gnus.el (org-gnus-store-link): Restore the linking to a
1443 2009-09-02 Bastien Guerry <bzg@altern.org>
1445 * org-latex.el (org-export-latex-first-lines): Bugfix.
1447 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1449 * org-clock.el (org-clock-modify-effort-estimate): Emit message
1452 * org.el (org-set-effort): New function.
1453 (org-mode-map): New key for effort setting command.
1455 * org-agenda.el (org-agenda): Keep window setup when calling
1456 agenda from within agenda window.
1457 (org-agenda-mode-map): New keys for effort setting commands.
1458 (org-agenda-menu): Add effort setting commands to menu.
1459 (org-agenda-set-property, org-agenda-set-effort): New functions.
1461 * org-latex.el (org-export-latex-tables): Fix
1462 `org-table-last-alignment' and `org-table-last-column-widths' if
1463 the first column has been removed.
1465 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1467 * org.el (org-remove-timestamp-with-keyword): Only remove in
1468 entry, not in subtree.
1470 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1473 * org.el (org-open-at-point): When on headline, offer all strings
1476 * org-remember.el (org-remember-templates): Documentation fix.
1478 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1479 `org-get-last-sibling' instead of the outline versions of these
1481 (org-get-last-sibling): New function.
1482 (org-refile): Use `org-get-next-sibling' instead of the outline
1483 version of this function.
1484 (org-clean-visibility-after-subtree-move): Use
1485 `org-get-next-sibling' and `org-get-last-sibling' instead of the
1486 outline versions of these functions.
1488 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1490 * org-agenda.el (org-prepare-agenda): When creating a new frame
1491 for the agenda, make the window dedicated.
1493 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1495 * org-table.el (org-table-align): Change the order of reinsertion
1496 and deletion, to avoid problems with overlays following the table.
1498 * org.el (org-parse-time-string): Better error message.
1499 (org-show-subtree): Use org-end-of-subtree.
1501 * org-macs.el (org-goto-line): New defsubst.
1503 * org.el (org-open-file, org-change-tag-in-region)
1504 (org-fast-tag-show-exit): Don't use `goto-line'.
1506 * org-table.el (org-table-align, org-table-insert-column)
1507 (org-table-delete-column, org-table-move-column)
1508 (org-table-sort-lines, org-table-copy-region)
1509 (org-table-paste-rectangle, org-table-wrap-region)
1510 (org-table-get-specials, org-table-rotate-recalc-marks)
1511 (org-table-get-range, org-table-recalculate)
1512 (org-table-edit-formulas, org-table-fedit-convert-buffer)
1513 (org-table-show-reference, org-table-highlight-rectangle): Don't
1516 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1517 (org-edit-src-exit): Don't use `goto-line'.
1519 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1521 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1522 Don't use `goto-line'.
1524 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1526 * org-colview.el (org-columns, org-columns-redo)
1527 (org-agenda-columns): Don't use `goto-line'.
1529 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1532 * org-agenda.el (org-agenda-mode): Force visual line motion off.
1533 (org-agenda-add-entry-text-maxlines): Improve docstring.
1534 (org-agenda-start-with-entry-text-mode): New option.
1535 (org-agenda-entry-text-maxlines): New option.
1536 (org-agenda-entry-text-mode): New variable.
1537 (org-agenda-mode): Set initial value of
1538 `org-agenda-entry-text-mode'.
1539 (org-agenda-mode-map): Add the `E' key.
1540 (org-agenda-menu): Add entry text mode to the menu.
1541 (org-agenda-get-some-entry-text): Fix line count bug.
1542 (org-finalize-agenda): Apply entry text mode if appropriate.
1543 (org-agenda-entry-text-show-here): New function.
1544 (org-agenda-entry-text-show): New function.
1545 (org-agenda-entry-text-hide): New function.
1546 (org-agenda-view-mode-dispatch): Add entry text mode to the view
1548 (org-agenda-entry-text-mode): New command.
1549 (org-agenda-set-mode-name): Add entry text mode to the mode line
1551 (org-agenda-undo, org-agenda-get-restriction-and-command)
1552 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1555 2009-09-02 Bernt Hansen <bernt@norang.ca>
1557 * org-clock.el (org-notify): Bugfix.
1559 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1561 * org-agenda.el (org-agenda-open-link): Handle multiple links and
1562 check for after-string.
1564 * org-gnus.el (org-gnus-store-link): Simplify.
1566 * org.el (org-latex-regexps): Don't add extra empty lines for
1569 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1571 * org-agenda.el (org-agenda-get-some-entry-text): New function.
1572 (org-agenda-add-entry-text): Use
1573 `org-agenda-get-some-entry-text'.
1575 * org.el (org-cycle-separator-lines): Update docstring.
1576 (org-cycle-show-empty-lines): Handle negative values for
1577 `org-cycle-show-empty-lines'.
1579 * org-exp.el (org-export-protect-sub-super): New function.
1580 (org-export-normalize-links): Protect the url of plain links from
1581 supscript and superscript processing.
1583 * org-remember.el (org-remember-escaped-%): New function.
1584 (org-remember-apply-template): Use `org-remember-escaped-%' to
1585 detect escaped % signs.
1587 2009-09-02 Bastien Guerry <bzg@altern.org>
1589 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1590 sound when showing the notification.
1592 * org-clock.el (org-notify): New function.
1593 (org-clock-notify-once-if-expired): Use `org-notify'.
1595 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1596 and `gnus-article-mode' separately.
1597 (gnus-summary-article-header): Fix the declare-function.
1599 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1601 * org-exp.el (org-export-format-source-code-or-example): Translate
1604 * org-src.el (org-src-lang-modes): New variable
1605 (org-edit-src-code): Translate language.
1607 * org-exp.el (org-export-format-source-code-or-example): Deal wit
1608 the new structure of the `org-export-latex-listings-langs'
1611 * org-latex.el (org-export-latex-listings-langs): Change structure
1612 of the variable from plist to alist.
1614 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1616 * org.el (org-in-commented-line): New function.
1618 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1620 * org.el (org-hide-block-toggle): Make folded blocks searchable.
1622 2009-09-02 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
1624 * org.el (org-flag-drawer): More useful error.
1626 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1628 * org-remember.el (org-remember-apply-template): Use
1629 org-icompleting-read.
1631 * org-publish.el (org-publish): Use org-icompleting-read.
1633 * org-colview.el (org-columns-edit-value, org-columns-new)
1634 (org-insert-columns-dblock): Use org-icompleting-read.
1636 * org-colview-xemacs.el (org-columns-edit-value)
1637 (org-columns-new, org-insert-columns-dblock): Use
1638 org-icompleting-read.
1640 * org-attach.el (org-attach-delete-one, org-attach-open): Use
1641 org-icompleting-read.
1643 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1645 * org.el (org-hierarchical-todo-statistics): Improve docstring.
1646 (org-version): Return the version text.
1647 (org-org-menu): Add a menu entry for the new bug reporter.
1648 (org-submit-bug-report): New command.
1650 * org-list.el (org-hierarchical-checkbox-statistics): Improve
1653 * org.el (org-emphasis-regexp-components): Add "`" to set of
1654 pre-emphasis characters.
1656 * org-latex.el (org-export-latex-classes): Always include the soul
1658 (org-export-latex-emphasis-alist): Use \st for strikethough.
1660 * org-exp-blocks.el (org-export-blocks-preprocess): Use
1661 `indent-code-rigidly' to indent.
1663 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1664 properties only if MATCH really is a string.
1666 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1668 * org-latex.el (org-export-latex-packages-alist): Fix
1671 * org.el (org-create-formula-image): Also use
1672 `org-export-latex-packages-alist'.
1674 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1675 (org-export-as-html): Format footnotes correctly.
1677 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1679 * org.el (org-fast-tag-selection): Avoid text properties on tags
1682 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1683 text properties on the match element.
1685 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1687 * org.el (org-set-regexps-and-options): Make sure the list of done
1688 keywords is not invalid.
1690 * org-exp.el (org-export-interpolate-newlines): New function.
1692 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1694 * org.el (org-format-latex): Avoid nested overlays.
1696 * org-latex.el (org-export-latex-listings-langs): Add a few more
1699 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1700 ignore newlines and space before the first macro argument.
1702 * org-latex.el (org-export-latex-tables): Remove save-excursion
1703 around `org-table-align'.
1705 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1707 * org.el (org-export-html-special-string-regexps): Definition
1710 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1713 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1715 * org-latex.el (org-export-latex-listings)
1716 (org-export-latex-listings-langs): New options.
1718 * org-exp.el (org-export-format-source-code-or-example): Use
1719 listing package if requested by the user.
1721 2009-09-02 Bastien Guerry <bzg@altern.org>
1723 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1724 command before actually switching to a buffer.
1726 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1728 * org-exp.el (org-get-file-contents): Only quote org lines when
1729 the markup is src or example.
1731 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1733 (org-agenda-get-day-entries): Remember deadline results and pass
1734 them on into the function getting the scheduling information.
1735 (org-agenda-get-scheduled): Accept deadline results as parameters
1736 and maybe skip some entries.
1737 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1739 * org.el (org-insert-heading): When respecting content, do not
1740 convert current line to headline.
1742 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1743 cheeeeeck the hd marker
1744 (org-clock-in): Also set the hd marker.
1745 (org-clock-out): Also set the hd marker.
1746 (org-clock-cancel): Reset markers.
1748 * org.el (org-clock-hd-marker): New marker.
1750 * org-faces.el (org-agenda-clocking): New face.
1752 * org-agenda.el (org-agenda-mark-clocking-task): New function.
1753 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1755 * org.el (org-modules): Add org-track.el.
1757 * org-agenda.el (org-agenda-bulk-marked-p): New function.
1758 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1759 `org-agenda-bulk-marked-p'.
1760 (org-agenda-bulk-toggle): New command.
1762 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1764 * org.el (org-move-subtree-down): Hide subtree if it was folded,
1767 * org-remember.el (org-remember-finalize): Avoid buffer-modified
1770 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1772 * org-html.el (org-export-as-html):
1773 * org-docbook.el (org-export-as-docbook):
1774 Use (default-value 'major-mode) instead of default-major-mode.
1776 2009-08-08 Carsten Dominik <carsten.dominik@gmail.com>
1778 * org-docbook.el: Add arch-tag.
1780 * org-exp-blocks.el: Add arch-tag.
1782 * org-id.el: Add arch-tag.
1784 * org-indent.el: Add arch-tag.
1786 * org-inlinetask.el: Add arch-tag.
1788 * org-protocol.el: Add arch-tag.
1790 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1792 * org.el (org-create-formula-image): Remove the -E option for
1795 * org-exp.el (org-default-export-plist): Respect #+BIND.
1796 (org-export-confirm-letbind): New function.
1798 * org.el (org-paste-subtree): Test the kill ring entry if it is
1800 (org-copy-subtree): Use `org-forward-same-level'.
1801 (org-forward-same-level): Respect the `invisibe-ok' arg for
1804 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1806 * org.el (org-table-map-tables): Make sure cursor is back at table
1807 beginning after funcall.
1809 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1810 handled before children, and do not error if an entry is not
1811 found, probably because it hase been remove when the parent was
1812 archived or refiled.
1814 * org.el (org-ido-completing-read): Accept straight lists for
1815 completion as well as alists.
1817 * org-timer.el (org-timer-cancel-timers): Rename from
1818 `org-timer-cancel-timers'.
1820 * org.el (org-cycle-internal-local): Fix problem with finding next
1823 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1825 * org-list.el (org-list-send-list): Call
1826 `org-list-goto-true-beginning' instead of
1827 `org-list-find-true-beginning', which does not exist.
1829 * org-timer.el (org-timer-reset-timers): Use `mapc'.
1830 (org-timer-set-timer): Do not assign to heading.
1832 * org-id.el (org-id-open): Quote function name.
1834 * org-macs.el (org-unmodified): Turn off recording undo
1835 information while running inside the macro.
1837 * org-table.el (org-table-export): Also work in file-less
1840 * org.el (org-startup-indented): New option.
1841 (org-startup-options): Add new options indent and noindent.
1842 (org-unfontify-region): Remove line-prefix and wrap-prefix
1844 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
1846 (org-promote, org-demote): Run the new hooks.
1848 * org-table.el (org-table-align): Replace leading \n as well.
1850 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
1851 and `line-wrap' text properties.
1853 * org-compat.el (org-kill-new): New function.
1855 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
1856 `line-wrap' text properties.
1858 * org-indent.el: New file.
1860 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1862 * org.el (org-provide-todo-statistics): Tweak docstring.
1864 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
1866 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1868 * org-exp.el (org-export-as-org): Insert the "-source" string
1869 before the extension.
1871 * org.el (org-read-date): Make sure the calendar is in the current
1873 (org-set-emph-re): Remove the ? from the post-match.
1874 (org-emphasis-regexp-components): Add backslash to the
1876 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
1877 optional so that also lines at the end of the buffers will still
1878 be matched as headlines.
1880 * org-table.el (org-table-error-on-row-ref-crossing-hline):
1881 Variable made obsolete.
1882 (org-table-relative-ref-may-cross-hline): New option.
1883 (org-table-find-row-type): Honow the new option
1884 `org-table-relative-ref-may-cross-hline'.
1886 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1888 * org-table.el (org-table-cut-region, org-table-copy-region): Work
1889 on single field if no active region.
1891 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1893 * org-latex.el (org-export-latex-make-header): Only insert title
1896 * org.el (org-make-options-regexp): Allow empty values.
1898 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1900 * org.el (org-cycle-internal-local): Improved version of finding
1902 (org-cycle-hide-drawers): Only hide drawers if this is really
1904 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
1905 org-version of this function in Org-mode. We use advice to
1906 implement this change, so that future changes to this function in
1907 outline.el wil be handled properly.
1908 (org-forward-same-level, org-backward-same-level): New commands.
1910 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1912 * org.el (org-remove-empty-overlays-at)
1913 (org-clean-visibility-after-subtree-move): New functons.
1914 (org-move-subtree-down): Simplify cleanup of display.
1916 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1918 * org-mac-message.el (org-mac-message-get-links): Improve
1919 docstring. Make argument SELECT-OR-FLAGGED optional, default to
1920 "s". Fix the return value.
1921 (org-mac-message-insert-flagged): Simplify.
1923 * org.el (org-refile-get-location): Tamper with refile history o
1924 that history contains compete matches instead of the entered
1927 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1929 * org.el (org-store-link): Never store a link to an inline task.
1931 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
1932 inline tasks when positioning footnotes.
1934 * org.el (org-refile): Remove the END line when archiving an
1935 inline task that does have an END line.
1937 * org-archive.el (org-archive-subtree): Remove the END line when
1938 archiving an inline task that does have an END line.
1940 * org-macs.el (org-with-limited-levels): New macro.
1941 (org-get-limited-outline-regexp): New function.
1943 * org-exp.el (org-export-format-source-code-or-example): Fix bug
1944 that did not enumerate first line.
1945 (org-export-mark-radio-links): Skip matches in links.
1947 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1949 * org.el (org-activate-plain-links): Make single-match.
1950 (org-adapt-indentation): Fix docstring.
1952 * org-macs.el (org-unmodified): Turn of modification hooks while
1955 2009-08-06 Bastien Guerry <bzg@altern.org>
1957 * org.el (org-adapt-indentation): Slightly improve the docstring.
1958 (org-occur): Sends an error when the user inputs an empty string.
1959 (org-priority): Bugfix: the tag alignement should happen within
1962 2009-08-06 Bastien Guerry <bzg@altern.org>
1964 * org.el (org-make-link-regexps): Don't exclude parentheses from
1966 (org-cycle-internal-local): When locally cycling, switch directly
1967 from CHILDREN to FOLDED if there is no subtree
1968 (org-cycle): Update the docstring to document the new behavior of
1969 `org-cycle-internal-local'.
1971 2009-08-06 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
1973 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
1974 an abbreviated format for days.
1976 2009-08-06 Bastien Guerry <bzg@altern.org>
1978 * org-protocol.el (org-protocol-default-template-key): New
1981 * org.el (org-refile): Bugfix: save-excursion before reading the
1982 refile target, otherwise cursor moves might confuse `org-refile'.
1984 * org.el (org-toggle-heading): Bugfix: correctly convert list
1985 items before the first headline.
1987 * org.el (org-provide-todo-statistics): Allow a list of TODO
1988 keywords to compute statistics against headlines containing a
1989 keyword from this list.
1990 (org-update-parent-todo-statistics): Possibly use the new allowed
1991 value of `org-provide-todo-statistics'.
1993 2009-08-06 Bastien Guerry <bzg@altern.org>
1995 * org-timer.el: Add autoload cookie.
1997 * org.el (org-occur-link-in-agenda-files): New function.
1999 * org-timer.el (org-timer-last-timer): New variable.
2001 * org-agenda.el (org-agenda-mode-map): New key for
2002 org-timer-set-timer called from the agenda.
2004 * org.el (org-mode-map): New key for org-timer-set-timer.
2006 * org-timer.el (org-timer-reset-timers)
2007 (org-timer-show-remaining-time, org-timer-set-timer): New
2010 * org-clock.el (org-show-notification): Update the docstring.
2012 * org.el (org-provide-todo-statistics): Allow new value
2013 'all-headlines for this option, which includes entries with no
2014 TODO keywords in the todo statistics.
2015 (org-update-parent-todo-statistics): Possibly use the new
2016 'all-headline value from `org-provide-todo-statistics'.
2018 2009-08-06 Bastien Guerry <bzg@altern.org>
2020 * org-clock.el (org-dblock-write:clocktable): Add a new option
2021 :timestamp which allows display of timestamps in clock reports.
2023 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2024 list to a subtree, preserving the structure of the list.
2025 (org-set-emph-re): Make the last element optional in the regexp.
2026 This regexp now matches an emphasized string at the end of a line.
2028 * org-list.el (org-list-goto-true-beginning)
2029 (org-list-make-subtree, org-list-make-subtrees): New functions.
2031 * org.el (org-eval-in-calendar): Select the right frame.
2032 (org-save-frame-excursion): Remove this macro.
2034 2009-08-06 Bastien Guerry <bzg@altern.org>
2036 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2037 trying to find the beginning of a list.
2039 * org-exp.el (org-get-file-contents): Use a new argument: markup.
2040 When present, tell org-get-file-contents not to protect org-like
2043 * org-id.el (org-id-uuid-program): New option to set the name of
2044 the uuidgen program.
2045 (org-id-method): Use `org-id-uuid-program'.
2046 (org-id-new): Use `org-id-uuid-program'.
2048 2009-08-06 Bastien Guerry <bzg@altern.org>
2050 * org-exp.el (org-export-number-lines): Allow whitespace in code
2051 references. Allow the -r switch to remove the references in the
2052 source code even when the lines are not numbered: the labels can
2055 * org.el (org-fontify-whole-heading-line): New option.
2056 (org-set-font-lock-defaults): Use the new option.
2058 * org-clock.el (org-show-notification-handler): New option.
2059 (org-show-notification): Use the new option.
2061 2009-08-06 Bastien Guerry <bzg@altern.org>
2063 * org.el (org-eval-in-calendar): Fix a bug about calendar
2064 navigation when `calendar-setup' value is 'calendar-only.
2066 2009-08-06 Bastien Guerry <bzg@altern.org>
2068 * org.el (orgstruct++-mode): Fix typo in docstring.
2069 (org-insert-link): Clean up: (or (...)) => (...)
2070 (org-insert-link): Use TAB for stored links completion.
2072 2009-08-06 Bastien Guerry <bzg@altern.org>
2074 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2075 building the list of targets.
2077 * org-remember.el (org-remember-delete-empty-lines-at-end): New
2079 (org-remember-handler): Use the new option.
2081 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
2083 * org.el (org-tags-sort-function): New option for sorting tags.
2084 (org-set-tags): Use the new option to sort tags.
2086 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2087 premature deletion of the data when using org-plot in a script.
2089 2009-08-06 Bastien Guerry <bzg@altern.org>
2091 * org-clock.el (org-clock-in-prepare-hook): New hook.
2092 (org-clock-in): Use this new hook.
2094 2009-08-06 Bastien Guerry <bzg@altern.org>
2096 * org.el (org-special-ctrl-a/e): Explicitely bind the value
2097 'reversed for this option to the "true line boundary first"
2099 (org-tags-match-list-sublevels): Document the 'indented value for
2102 * org-latex.el (org-export-latex-first-lines): Fix problem with
2103 publishing the region.
2105 * org-exp.el (org-export-format-source-code-or-example): Fix
2106 bad line numbering when exporting examples in HTML.
2108 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
2110 * org-colview.el (org-format-time-period): Formats a time in
2111 fractional days as days, hours, mins, seconds.
2112 (org-columns-display-here): Add special handling for SINCE and
2113 SINCE_IA to format for display.
2115 * org.el (org-time-since): Add a function to get the time since an
2117 (org-entry-properties): Add two new special properties: SINCE and
2118 SINCE_IA. These give the time since any active or inactive
2119 timestamp in an entry.
2120 (org-special-properties): Add SINCE, SINCE_IA.
2121 (org-tags-sort-function): Add custom declaration for tags
2123 (org-set-tags): Sort tags if org-tags-sort-function is set.
2125 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2127 * org-clock.el (org-clock-goto): Find hidden headlines as well.
2129 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2131 * org-plot.el (org-plot/add-options-to-plist): Add timeind
2134 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2136 * org-publish.el (org-publish-remove-all-timestamps): New function.
2137 (org-publish-all): Remove all timestamp files if `org-publish-all'
2138 is called with a prefix argument.
2140 * org-list.el (org-indent-item): Fix typo.
2141 (org-item-indent-positions): Normalize ordered bullet.
2143 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2145 * org-macs.el (org-set-local): Make a local variable, do not make
2146 the variable buffer-local!
2148 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2150 * org-exp.el (org-infile-export-plist): Read BIND lines.
2151 (org-install-letbind): New function.
2152 (org-export-as-org, org-export-preprocess-string): Call
2153 `org-install-letbind'.
2155 * org-list.el (org-list-demote-modify-bullet): New option.
2156 (org-first-list-item-p): Save point.
2157 (org-fix-bullet-type): New optional argument FORCE-BULLET.
2158 (org-indent-item): Honor `org-list-demote-modify-bullet'.
2159 (org-item-indent-positions): Return bullet types along with
2162 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2164 * org.el (org-show-entry): Hide drawers.
2166 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2168 * org-footnote.el (org-footnote-auto-adjust): New option.
2169 (org-footnote-auto-adjust-maybe): New function.
2170 (org-footnote-new, org-footnote-delete): Call
2171 `org-footnote-auto-adjust-maybe'.
2173 * org.el (org-startup-options): Add new footnote-related
2176 * org-publish.el (org-publish-timestamp-filename): Additional
2177 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2178 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2179 TRUE-PUB-DIR. Pass them through to
2180 `org-publish-timestamp-filename'.
2181 (org-publish-update-timestamp): Additional arguments PUB-DIR and
2182 PUB-FUNC, which are included in the hash.
2183 (org-publish-file): Delay timestamp test until the publishing
2186 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2188 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2189 setting the deadline.
2191 * org.el (org-read-date-final-answer): New variable.
2192 (org-read-date): Store the final answer string, including the date
2193 from the calendar, for reuse by agenda bulk commands.
2195 * org-publish.el (org-publish-attachment): Fix publishing of
2198 * org-latex.el (org-export-latex-quotation-marks): Fix export of
2199 quotation makrs in parenthesis.
2200 (org-remove-initial-hash): New function.
2201 (org-export-latex-preprocess): Fix bug with infinite loop if
2202 environment is not properly closed.
2204 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2207 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2208 highlight also when indented.
2210 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2212 * org-footnote.el (org-footnote-renumber-fn:N): New command.
2213 (org-footnote-action): Offer renumbering.
2215 * org.el (org-cycle): Honor the `integrate' value of
2216 org-cycle-include-plain-lists'.
2218 * org-list.el (org-cycle-include-plain-lists): New allowed value
2219 `internal'. Improve the docstring.
2221 * org.el (org-set-autofill-regexps): Improve the paragraph-start
2222 regexp to work better with LaTeX commands.
2224 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2226 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2229 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2231 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2234 * org.el (org-map-entries): No longer force
2235 `org-tags-match-list-sublevels' to t during a todo-only tags
2238 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2240 * org-latex.el (org-export-latex-low-levels): Allow user-defined
2242 (org-export-latex-subcontent): Handle user-defined environment.
2244 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2245 the View dispatcher.
2247 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2250 * org-latex.el (org-export-as-pdf): Protect match data during call
2251 to shell-quote-argument.
2253 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2254 (org-agenda-view-mode-dispatch): New function.
2256 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2258 * org-agenda.el (org-agenda-mode): Reset list of marks.
2259 (org-agenda-mode-map): Define new keys for refile and bulk action.
2260 (org-agenda-menu): Add menu itesm for refile and bulk action.
2261 (org-agenda-refile): New function.
2262 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2263 (org-agenda-marked-entries): New variable.
2264 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2265 (org-agenda-remove-all-bulk-action-marks)
2266 (org-agenda-bulk-action): New functions/commands.
2268 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2270 * org-exp.el (org-get-file-contents): Protect org-like lines in
2272 (org-export-format-source-code-or-example): Remove newlines.
2274 * org-latex.el (org-export-latex-links): Check for no-description
2277 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2278 argument separator back to comma.
2279 (org-export-normalize-links): Mark links without description.
2281 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2283 * org-exp.el (org-infile-export-plist): Fix bug in macro
2286 * org-agenda.el (org-agenda-clock-out): Update line after clocking
2288 (org-agenda-highlight-todo): Fix bug with highlighting.
2290 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2292 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2293 new alignment strings.
2295 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2297 (org-table-align): Check for forced align type.
2299 * org.el (org-self-insert-command): Add yas/expand to command
2302 * org-clock.el (org-clock-in-hook): New hook.
2303 (org-clock-in): Run `org-clock-in-hook.
2304 (org-clock-out-hook): New hook.
2305 (org-clock-out): Run `org-clock-out-hook.
2306 (org-clock-cancel-hook): New hook.
2307 (org-clock-cancel): Run `org-clock-cancel-hook.
2308 (org-clock-goto-hook): New hook.
2309 (org-clock-goto): Run `org-clock-goto-hook.
2311 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2313 * org.el (org-store-link): Better default description for link to
2316 * org-exp.el (org-export-generic): Autoload the generic exporter
2318 (org-export): Implement the `g' key for the generic exporter.
2320 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2322 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2325 * org-exp.el (org-infile-export-plist): Get macros also from
2328 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2330 * org-colview.el (org-columns-capture-view): Protect vertical bars
2332 (org-columns-capture-view): Exclude comment and archived trees.
2334 * org-colview-xemacs.el (org-columns-capture-view): Protect
2335 vertical bars in column values.
2336 (org-columns-capture-view): Exclude comment and archived trees.
2338 * org.el (org-quote-vert): New function.
2340 * org-latex.el (org-export-latex-verbatim-wrap): New option.
2342 * org-exp.el (org-export-format-source-code-or-example): Use
2343 `org-export-latex-verbatim-wrap'.
2345 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2348 2009-08-06 Eric Schulte <schulte.eric@gmail.com>
2350 * org-exp-blocks.el: New file.
2352 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2354 * org-remember.el (org-remember-templates): Allow the headline
2355 element to be a function.
2356 (org-remember-apply-template): If the headline is a function, call
2357 it to get the true function.
2359 * org-clock.el (org-clock-menu): New function.
2360 (org-clock-update-mode-line): Update help string.
2361 (org-clock-modify-effort-estimate): New function.
2362 (org-clock-mark-default-task): New function.
2364 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2366 (org-org-menu): Add new clocking stuff.
2367 (org-clock-is-active): New function.
2369 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2371 * org.el (org-open-non-existing-files): Improve docstring.
2373 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2375 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2377 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2379 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2381 * org-list.el (org-get-checkbox-statistics-face): Use the new
2384 * org-faces.el (org-checkbox-statistics-todo)
2385 (org-checkbox-statistics-done): New faces.
2387 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2389 * org-latex.el (org-export-latex-use-verb): New variable.
2390 (org-export-latex-emph-format): Prefer \texttt over \verb when
2391 org-export-latex-use-verb is set.
2393 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2395 * org-remember.el (org-remember-handler): Abort remember if the
2398 * org-exp.el (org-export-format-source-code-or-example): Run
2399 `org-src-mode-hook'.
2401 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2403 * org.el (org-indent-line-function): Fix indentation of +#end lines.
2405 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
2407 * org-gnus.el (org-gnus-store-link): Require message.el in
2408 org-gnus-store-link.
2410 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2412 * org-src.el: New file, split out of org.el.
2414 * org-macs.el (org-replace-match-keep-properties): New function.
2416 * org-exp.el (org-export-mark-blockquote-verse-center): Better
2417 preprocessing of center and quote and verse blocks.
2419 * org-list.el (org-list-end): Respect the stored "original"
2420 indentation when determining the end of the list.
2422 * org-exp.el (org-export-replace-src-segments-and-examples):
2423 Remember indentation correctly.
2425 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2427 * org-clock.el (org-clock-update-mode-line): Apply face
2428 org-mode-line-clock.
2430 * org-faces.el (org-mode-line-clock): New face.
2432 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
2434 * org-gnus.el (org-gnus-store-link): Fix bug where
2435 `org-gnus-store-link' used wrong subject when called in an article
2436 buffer. Patch provided by fengli AT gmail DOT com.
2438 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2440 * org-exp.el (org-export-format-source-code-or-example): Remember
2441 the original indentation of source code snippets and examples.
2443 * org-latex.el (org-export-as-latex): Relocate the table of
2446 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2448 * org-agenda.el (org-run-agenda-series): Scope global options also
2449 when creating the agenda buffer.
2451 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2453 * org.el (org-adapt-indentation): Improve documentation.
2454 (org-insert-property-drawer): Respect org-adapt-indentation when
2455 inserting the drawer.
2456 (org-remove-flyspell-overlays-in): New function.
2457 (org-do-emphasis-faces, org-activate-plain-links)
2458 (org-activate-code, org-fontify-meta-lines-and-blocks)
2459 (org-activate-angle-links, org-activate-footnote-links)
2460 (org-activate-bracket-links, org-activate-dates)
2461 (org-activate-target-links, org-activate-tags): Remove flyspell
2464 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2466 * org.el (org-edit-src-save): New function.
2468 * org-clock.el (org-clock-out-switch-to-state): New option.
2469 (org-clock-out): Honor `org-clock-out-switch-to-state'.
2471 * org-compat.el (org-compatible-face): Improve macro.
2473 * org.el (org-global-properties-fixed): Add default for
2474 CLOCK_MODELINE_TOTAL.
2476 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2478 (org-clock-sum-current-item): Optional argument TSTART, pass it to
2480 (org-clock-get-sum-start): New function.
2482 * org.el (org-startup-options): New keywords blockhide and
2484 (org-mode): Add new invisibility spec.
2485 (org-set-startup-visibility): Hide block on startup if so
2487 (org-hide-block-startup): New option.
2488 (org-block-regexp): New constant.
2489 (org-hide-block-overlays): New variable.
2490 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2491 (org-show-block-all, org-hide-block-toggle-maybe)
2492 (org-hide-block-toggle): New functions.
2493 (org-edit-src-exit): Do not quote lines starting with # and no +
2495 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2498 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2500 * org.el (org-buffer-property-keys): Add Effort property for
2503 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2505 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2506 when retrieving total clocked time in the subtree.
2508 * org.el (org-quoting-blocks): New variable.
2510 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2512 * org-table.el (org-table-store-formulas)
2513 (org-table-get-stored-formulas, org-table-fix-formulas)
2514 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2515 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2517 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2518 indented #+TBLFM line.
2520 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2521 indented #+TBLFM line.
2523 * org-colview.el (org-dblock-write:columnview): Allow indented
2526 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2527 indented #+TBLFM line.
2529 * org-clock.el (org-dblock-write:clocktable): Allow indented
2532 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2534 * org-exp.el (org-export-format-source-code-or-example): Make
2535 editing indented blocks work correctly.
2537 * org.el (org-edit-src-nindent): New variable.
2538 (org-edit-src-code, org-edit-fixed-width-region)
2539 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2540 editing indented blocks work correctly.
2542 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2544 * org-exp.el (org-export-replace-src-segments-and-examples): Find
2546 (org-export-format-source-code-or-example): Fix indentation of
2548 (org-export-remove-indentation): New function.
2549 (org-export-select-backend-specific-text): Allow backend-specific
2550 code to be indented.
2551 (org-export-mark-blockquote-verse-center): Allow markers to be
2554 * org.el (org-fontify-meta-lines): New function.
2555 (org-set-font-lock-defaults): Call the new fontification
2558 * org-faces.el (org-meta-line): New face
2559 (org-block): New face.
2561 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2563 * org.el (org-treat-insert-todo-heading-as-state-change)
2564 (org-treat-S-cursor-todo-selection-as-state-change): New
2566 (org-insert-todo-heading): Honor
2567 `org-treat-insert-todo-heading-as-state-change'.
2568 (org-shiftright, org-shiftleft): Honor
2569 `org-treat-S-cursor-todo-selection-as-state-change'.
2570 (org-inhibit-logging): New variable.
2572 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2574 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2575 range for marker position checking.
2577 * org-latex.el (org-export-latex-first-lines): Fix bug when
2580 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2582 * org-exp.el (org-export-push-to-kill-ring): Protect using
2583 x-set-selection, because that does not always work.
2585 * org-agenda.el (org-agenda-list): Apply the new face
2586 `org-agenda-date-today'.
2588 * org-faces.el (org-agenda-date-today): New face.
2590 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2592 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2593 creating appointments.
2595 * org-latex.el (org-export-latex-low-levels): Fix customization
2598 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2601 * org-agenda.el (org-agenda-priority): Disable priority commands.
2603 * org.el (org-enable-priority-commands): New option.
2605 * org-colview-xemacs.el (org-columns-compute)
2606 (org-columns-number-to-string): Fix problems with empty fields.
2608 * org-colview.el (org-columns-compute)
2609 (org-columns-number-to-string): Fix problems with empty fields.
2611 * org-exp.el (org-export-push-to-kill-ring): New function.
2612 (org-export-copy-to-kill-ring): New option.
2614 * org-latex.el (org-export-as-latex): Call
2615 `org-export-push-to-kill-ring'.
2617 * org-exp.el (org-export-show-temporary-export-buffer): New
2620 * org-latex.el (org-export-as-latex): Use
2621 `org-export-show-temporary-export-buffer'.
2623 * org-exp.el (org-export-show-temporary-export-buffer): New
2625 (org-export-push-to-kill-ring): New function.
2627 * org-colview.el (org-columns-compile-map): New variable.
2628 (org-columns-new, org-columns-compute)
2629 (org-columns-number-to-string, org-columns-uncompile-format)
2630 (org-columns-compile-format): Implement new operators.
2632 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2634 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2636 * org-list.el (org-update-checkbox-count): Make property
2639 * org.el (org-hierarchical-todo-statistics): New option.
2640 (org-update-parent-todo-statistics): Modify to handle recursive
2643 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2645 * org-publish.el (org-publish): Make this function behave
2646 correctly in interactive use when called with a prefix argument.
2648 * org.el (org-todo-statistics-hook): New hook.
2649 (org-update-parent-todo-statistics): Use new hook.
2650 (org-log-into-drawer): New function.
2651 (org-add-log-setup): Use the new `org-log-into-drawer' function to
2652 determine if we should be logging into a drawer.
2653 (org-log-into-drawer): Update docstring.
2654 (org-default-properties): Add LOG_INTO_DRAWER as a property.
2656 * org-list.el (org-checkbox-statistics-hook): New hook.
2657 (org-update-checkbox-count-maybe): Use new hook.
2659 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2661 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2662 better bufer-generating mechanism.
2663 (org-edit-src-find-buffer): New function.
2665 * org-icalendar.el (org-print-icalendar-entries): Don't check for
2666 archive tag, this is already done by `org-agenda-skip'.
2667 data while constructing lost of tags.
2669 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2671 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2672 as argument separator in macros.
2674 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2676 * org.el (org-after-sorting-entries-or-items-hook): New hook.
2677 (org-sort-entries-or-items): Run the new hook.
2678 (org-after-refile-insert-hook): New hook.
2679 (org-refile): Run `org-after-refile-insert-hook'.
2681 * org-agenda.el (org-agenda-get-progress): Never take time of day
2682 from headline when displaying progress.
2684 * org-latex.el (org-export-latex-complex-heading-re): New variable.
2685 (org-export-as-latex): Force the correct regexp in the
2686 preprocessor buffer.
2687 (org-export-latex-set-initial-vars): Set
2688 `org-export-latex-complex-heading-re'.
2690 * org-agenda.el (org-agenda-start-with-log-mode): New option.
2691 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2693 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2695 * org-latex.el (org-export-latex-tables-centered): New option.
2696 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2698 * org-exp.el (org-export-as-org): New command.
2699 (org-export-as-org): New command.
2701 * org-publish.el (org-publish-org-to-org): New function.
2703 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2705 * org.el (org-yank): Just call `org-yank-generic'.
2706 (org-yank-generic): New function, containing the formaer
2707 functionality of `org-yank'.
2709 * org-latex.el (org-export-latex-not-done-keywords)
2710 (org-export-latex-done-keywords): New variables.
2711 (org-export-latex-todo-keyword-markup): New option.
2712 (org-export-latex-set-initial-vars): Remember the TODO keywords.
2713 (org-export-latex-keywords-maybe): Apply the TODO markup.
2715 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2717 * org-exp.el (org-infile-export-plist): Add more default macros.
2718 (org-export-preprocess-apply-macros): Process macro arguments.
2720 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2722 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
2724 (org-print-icalendar-entries): Respect the new value of
2725 `org-icalendar-include-todo'.
2727 * org.el (org-link-try-special-completion)
2728 (org-file-complete-link): New functions.
2729 (org-insert-link): Add special completion support for some link
2732 * org-bbdb.el (org-bbdb-complete-link): New function.
2734 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2736 * org-list.el (org-update-checkbox-count): Allow recursive
2738 (org-hierarchical-checkbox-statistics): New option.
2740 * org.el (org-cycle): Remove erraneous space character.
2742 * org-icalendar.el (org-icalendar-timezone): Initialize from
2745 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2747 * org.el (org-autoload): Fix autoloading of ascii export
2749 (org-modules): Add org-special-blocks.
2751 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2753 * org-icalendar.el (org-start-icalendar-file): Use the new option.
2754 (org-ical-timezone): New option.
2756 * org-exp.el (org-export-get-coderef-format): Use the description
2759 * org.el (org-sort-entries-or-items): Improve docstring, and make
2760 better implementation for time sorting.
2762 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2764 * org.el (org-edit-src-persistent-message): New option.
2765 (org-edit-src-code, org-edit-fixed-width-region): Use the new
2768 * org-clock.el (org-clock-insert-selection-line): Fix prefious
2771 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
2772 separate buffer instead of indirect buffer to edit source code.
2773 (org-edit-src-exit): Make this function work with the new setup.
2775 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
2776 are properly fontified before shown in the selection menu.
2778 * org.el (org-fontify-like-in-org-mode): New function.
2780 * org-latex.el (org-export-latex-links): Use the property list to
2781 retrieve the default image attributes.
2783 * org-exp.el (org-export-plist-vars): Add a new option.
2785 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2787 * org-exp.el (org-export, org-export-visible): Support ASCII
2789 (org-export-normalize-links): Do not protect the description if it
2790 is explicitly given.
2792 * org-list.el (org-reset-checkbox-state-subtree): Move here from
2794 (org-reset-checkbox-state-subtree): Call
2795 `org-reset-checkbox-state-subtree'.
2797 * org-remember.el (org-select-remember-template): For the
2798 selection of a valid template.
2800 * org-latex.el (org-export-region-as-latex): Supply the
2801 force-no-subtree argument.
2802 (org-export-as-latex): Provide better limits when exporting the
2803 first line. When exporting to string, we still want the first
2805 (org-export-latex-first-lines): New argument END, to force the end
2807 (org-export-region-as-latex): Use the property list.
2808 (org-export-as-latex):
2810 * org-colview-xemacs.el (org-columns-remove-overlays)
2811 (org-columns): Fix call to `local-variable-p'.
2813 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2815 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
2816 (org-export-latex-preprocess): Run the new hook.
2818 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
2819 (org-export-preprocess-string): Run the new hook.
2821 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2823 * org-macs.el (org-check-external-command): New defsubst.
2825 * org.el (org-mode-map): New key for reload.
2826 (org-format-latex): Better error message when external programs
2829 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
2831 * org.el (org-sort-entries-or-items): Explicit sorting function
2832 for priorities, needed for XEmacs compatibility.
2834 * org-remember.el (org-remember-apply-template): Improve auto-save
2837 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2839 * org-latex.el (org-export-latex-preprocess): Also protect
2840 environments ending in a star.
2842 * org-list.el (org-at-item-p): Fix regular expression.
2844 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2846 * org.el (org-end-of-subtree): Improve speed.
2848 * org-agenda.el (org-agenda-get-timestamps)
2849 (org-agenda-get-progress, org-agenda-get-deadlines)
2850 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
2851 in particular, wait as long as possible to collect the tags.
2852 (org-stuck-projects): Improve docstring.
2854 * org.el (org-store-link): No errors when getting custom id before
2856 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
2858 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2860 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
2862 * org-protocol.el: Remove dependency on url.el.
2863 (org-protocol-unhex-compound, org-protocol-open-source): Remove
2864 dependency on url.el.
2866 * org-latex.el (org-export-as-pdf): Use
2867 `org-latex-to-pdf-process'.
2869 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2871 * org-latex.el (org-latex-to-pdf-process): New option.
2873 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
2875 (org-agenda-get-timestamps): Honor
2876 `org-agenda-skip-additional-timestamps-same-entry'.
2878 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
2879 (org-clock-goto): Find recent task only if
2880 `org-clock-goto-may-find-recent-task' allows it.
2882 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
2883 drawers, and drawers that are missing the :END: line.
2885 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2887 * org-clock.el (org-clock-goto): Go to recently clocked task if no
2890 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2892 * org.el (org-update-parent-todo-statistics): Check for
2893 STATISTICS_FROM property.
2895 * org-list.el (org-update-checkbox-count): Check for
2896 STATISTICS_FROM property.
2898 * org.el (org-tab-first-hook)
2899 (org-tab-after-check-for-table-hook)
2900 (org-tab-after-check-for-cycling-hook): New hooks.
2901 (org-cycle-internal-global, org-cycle-internal-local): New
2902 functions, split out from `org-cycle'.
2903 (org-cycle): Call the new hooks.
2905 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2907 * org-exp.el (org-export-preprocess-string): Reset the list of
2908 preferred targets for each run of the preprocessor.
2910 * org.el (org-refile-target-verify-function): Improve
2912 (org-get-refile-targets): Respect point being moved by the
2913 verification function.
2915 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
2917 (org-export-latex-keywords): Use new option.
2919 * org.el (org-rear-nonsticky-at): New defsubst.
2920 (org-activate-plain-links, org-activate-angle-links)
2921 (org-activate-footnote-links, org-activate-bracket-links)
2922 (org-activate-dates, org-activate-target-links)
2923 (org-activate-tags): Place the rear-nonsticky properties at the
2926 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2928 * org-protocol.el (server-edit): Declare `server-edit'.
2929 (org-protocol-unhex-string, org-protocol-unhex-compound): New
2931 (org-protocol-check-filename-for-protocol): Call `server-edit'.
2933 * org.el (org-default-properties): New default properteis for
2936 * org-exp.el (org-export-add-subtree-options): Add new properties
2939 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2941 * org-id.el (org-id-get-with-outline-path-completion): Turn off
2942 org-refile-target-verify-function for the duration of the command.
2944 * org.el (org-link-to-org-use-id): New possible value
2945 `create-if-interactive-and-no-custom-id'.
2946 (org-store-link): Use custom IDs.
2947 (org-link-search): Find custom ID properties from #link.
2948 (org-default-properties): Add CUSTOM_ID for property completion.
2949 (org-refile-target-verify-function): New option.
2950 (org-goto): Turn off org-refile-target-verify-function
2951 for the duration of the command.
2953 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2955 * org-exp.el (org-export-preferred-target-alist): New variable.
2956 (org-export-define-heading-targets): Find the new CUSTOM_ID
2958 (org-export-target-internal-links): Target the custom ids when
2961 * org-latex.el (org-export-latex-preprocess): Better regexp for
2962 matching latex macros with arguments.
2964 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2966 * org-remember.el (org-remember-handler): Allow filing to non-org
2969 2009-08-06 Magnus Henoch <magnus.henoch@gmail.com>
2971 * org-table.el (org-table-fix-formulas): Do not change references
2973 (org-table-get-remote-range): Convert standard coordinates to RC
2976 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
2978 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2980 * org-compat.el (org-sha1-string): Function removed.
2982 * org.el (org-refile-allow-creating-parent-nodes): New option.
2983 (org-refile-get-location): New argument NEW-NODES.
2984 (org-refile): Call `org-refile-get-location' with the new
2986 (org-refile-get-location): Arrange for adding a new child.
2987 (org-refile-new-child): New function.
2989 * org-clock.el: Fix a number of docstrings.
2990 (org-clock-find-position): New argument
2991 FIND-UNCLOSED to make the function find an unclosed clock in the
2993 (org-clock-in): Call `org-clock-find-position' with the new
2994 argument if we might be resuming a clock.
2996 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
2998 * org-latex.el (org-export-latex-display-custom-times): New variable.
2999 (org-export-latex-timestamp-markup): New option.
3000 (org-export-latex-set-initial-vars): Remember the local value of
3001 `org-display-custom-times'.
3002 (org-export-latex-content): Process time stamps.
3003 (org-export-latex-time-stamps): New function.
3005 * org-macs.el (org-maybe-intangible): Add intangible property
3006 again to invisible text.
3008 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3010 * org-exp.el (org-default-export-plist): Handle undefined
3013 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3015 * org.el (org-sort-entries-or-items): Match TODO keywrds
3016 case-sensitively, when sorting.
3017 (org-priority): Do not match TODO keywords with wrong case.
3019 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3021 * org.el (org-todo): Honor the NOBLOCKING property.
3023 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3024 NOBLOCKING property.
3026 * org.el (org-scan-tags): Fix bug in tag scanner.
3028 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3030 * org.el (org-modules): Mark obsolete packages.
3032 * org-html.el: New file, split out from org-exp.el.
3034 * org-icalendar.el: New file, split out from org-exp.el.
3036 * org-xoxo.el: New file, split out from org-exp.el.
3038 * org-ascii.el: New file, split out from org-exp.el.
3040 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3042 * org-compat.el (org-find-library-name): New function.
3044 * org.el (org-pre-cycle-hook): New hook.
3045 (org-cycle): Call the new hook in appropriate places.
3046 (org-reload): Only reload files that have been loaded before.
3048 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3050 * org.el (org-set-font-lock-defaults): Enforxe space or line end
3052 (org-todo): When changing TODO state, do matching
3054 (org-map-continue-from): New variable.
3055 (org-scan-tags): Respect values in `org-map-continue-from'.
3056 (org-reload): Make XEmacs compatible.
3058 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3060 * org-protocol.el (org-protocol-flatten-greedy): New function.
3061 (org-protocol-flatten): New function.
3063 * org.el (org-open-link-from-string): Pass reference buffer to
3064 `org-open-at-point'.
3065 (org-open-at-point): New optional argument `reference-buffer'.
3067 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3069 * org.el (org-scan-tags): Make tag scan find headline in first
3071 (org-get-refile-targets): Add the naked file name.
3072 (org-refile): Store as top-level entry when only file name was
3075 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3077 * org.el (org-block-todo-from-children-or-siblings-or-parent):
3078 Rename from org-block-todo-from-children-or-siblings, and
3079 enhanced to look for the parent's status as well.
3081 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3082 (org-agenda-get-progress): Add first notes line to log entry if so
3085 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3087 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3088 (org-agenda-cleanup-fancy-diary): Call the new hook.
3090 * org-remember.el (org-remember-apply-template): Take the default
3091 for the annotation from the :annotation property.
3093 * org-mac-message.el (org-mac-message-get-link): Remove the
3095 (org-mac-message-get-link): Return the result.
3097 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3099 * org.el (org-refile-get-location): Add file name only if not
3100 already included in outline path.
3102 * org-faces.el (org-n-level-faces): Fix customization type from
3105 * org-exp.el (org-export-headline-levels): Fix customization type
3106 from number to integer.
3108 * org-agenda.el (org-agenda-confirm-kill)
3109 (org-agenda-custom-commands-local-options)
3110 (org-timeline-show-empty-dates, org-agenda-ndays)
3111 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3112 customization type from number to integer.
3114 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3116 * org-protocol.el: Declare some functions.
3118 * org-agenda.el (org-agenda-compare-effort): Honor
3119 `org-sort-agenda-noeffort-is-high'.
3120 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3121 (org-agenda-compare-effort): Implement the "?" operator for
3122 finding entries without effort setting.
3124 * org.el (org-extract-attributes-from-string): New function.
3126 * org-exp.el (org-export-splice-attributes): New function.
3128 2009-08-06 Bastien Guerry <bzg@altern.org>
3129 Daniel M German <dmg@uvic.org>
3130 Sebastian Rose <sebastian_rose@gmx.de>
3131 Ross Patterson <me@rpatterson.net>
3133 * org-protocol.el: New file.
3135 2009-08-06 Baoqiu Cui <cbaoqiu@yahoo.com>
3137 * org-docbook.el: New file.
3139 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3141 * org-mouse.el: XEmacs compatibility fixes.
3143 * org.el (org-modules): Add org-inlinetasks.el
3144 (org-cycle): Implement limiting level on cycling.
3145 (org-move-subtree-down): Fix bug with swapping subtrees at end of
3148 * org-inlinetask.el: New file.
3150 * org.el (org-emphasis-regexp-components): Allow braces in
3151 emphasis pre and post match.
3153 * org-footnote.el (org-footnote-normalize): When only dorting, do
3154 not insert inline notes at the end.
3156 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3158 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3160 * org.el (org-reftex-citation): New command.
3162 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3164 * org-agenda.el (org-agenda-cmp-user-defined): New option.
3165 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3167 (org-entries-lessp): Apply the new sorting option.
3169 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3170 blocker code, when an older sibling has children.
3172 * org-mac-message.el (org-mac-message-get-link): Improve getting
3173 links from multiple selected messages.
3175 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3177 * org-remember.el (org-remember-finalize): Do not set buffer file
3179 (org-remember-handler): Mark buffer as unmodified.
3180 (org-remember-handler): Delete backup file and show message about
3181 remaining backup files.
3182 (org-remember-auto-remove-backup-files): New option.
3184 * org.el (org-store-link): Use buffer name as link description in
3186 (org-ido-switchb): Fix argument bug for completion.
3188 * org-remember.el (org-remember-apply-template): Set local
3189 variable `auto-save-visited-file-name' instead of global one.
3191 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3193 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3194 (org-agenda-get-todos): Mark file tags as inherited.
3195 (org-agenda-list): Always search diary lines for a time.
3197 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3199 * org-feed.el: New file.
3201 * org-exp.el (org-export-as-html): Close local lists depending on
3202 indentation, also when starting a table.
3204 * org-remember.el (org-remember-backup-directory)
3205 (org-remember-backup-name): New internal variable.
3207 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3209 * org-clock.el (org-clock-out-if-current): Make buffer detection
3210 work in indirect buffers as well.
3212 * org.el (org-emphasis-regexp-components): Add the exxclamation
3213 mark to the post-emphasis characters.
3215 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3217 * org.el (org-read-date-minibiffer-septup-hook): New hook.
3218 (org-read-date): Run the new hook.
3220 * org-mac-message.el (org-mac-flagged-mail): New group.
3221 (org-mac-mail-account): New variable.
3222 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3225 * org-remember.el (org-remember-backup-directory): New variable.
3226 (org-remember-apply-template): Write file to backup directory.
3228 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3230 * org-mouse.el (org-mouse-todo-menu): New function.
3231 (org-mouse-todo-keywords): Function removed.
3232 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3234 * org-table.el (org-table-beginning-of-field)
3235 (org-table-end-of-field): New commands
3236 (org-table-previous-field, org-table-beginning-of-field): Better
3238 (orgtbl-setup): Include `M-a' and `M-e'.
3240 * org.el (org-backward-sentence, org-forward-sentence): New
3243 * org-colview.el (org-colview-initial-truncate-line-value): New
3245 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3246 (org-columns): Remember the value of `truncate-lines'.
3248 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3250 (org-columns-remove-overlays): Restore the value of
3252 (org-columns): Remember the value of `truncate-lines'.
3254 * org.el (org-columns-skip-arrchived-trees): New option.
3256 * org-agenda.el (org-agenda-export-html-style): Define color for
3257 org-agenda-done face.
3258 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3259 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3261 * org.el (org-scan-tags): Use the new face.
3263 * org-faces.el (org-agenda-done): New face.
3265 * org.el (org-scan-tags): Test the value org
3266 `org-tags-match-list-sublevels'.
3267 (org-tags-match-list-sublevels): New allowed value: indented.
3269 * org-latex.el (org-export-latex-make-header): Apply macros
3272 * org-exp.el (org-export-apply-macros-in-string): New function.
3274 * org-latex.el (org-export-latex-list-parameters): Fix bug
3275 with the definition of a checked box.
3277 * org-clock.el (org-clock-find-position): Fix drawer indentations.
3279 * org-latex.el (org-export-latex-low-levels): More options
3280 for how to process lower levels in LaTeX.
3281 (org-export-latex-subcontent): Better treatment for lists as a
3282 means of publishing lower levels.
3284 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3286 * org.el (org-set-font-lock-defaults): Use new checkbox face.
3288 * org-faces.el (org-checkbox): New face.
3290 * org-exp.el (org-export-html-preprocess): Only create LaTeX
3291 fragement images if there is an export file.
3293 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3295 * org-agenda.el (org-stuck-projects): Document that the subtree of
3296 projects that are not stuck will now be searched for stuck
3298 (org-agenda-skip-entry-when-regexp-matches)
3299 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3300 (org-agenda-list-stuck-projects): Use
3301 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3303 * org-latex.el (org-export-latex-preprocess): Improve
3306 * org-exp.el (org-export-as-html): Implement centering as a div
3307 rather than a paragraph. Do a better job with line-end in verse
3310 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3312 * org.el (org-open-at-point): Fix tags searches by mouse click.
3314 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3316 * org-latex.el (org-export-latex-preprocess): Implement the
3319 * org-exp.el (org-export-mark-blockquote-verse-center): Rename
3320 from `org-export-mark-blockquote-and-verse'.
3321 (org-export-as-html): Implement the centering markup.
3323 * org-latex.el (org-export-latex-tables): Fix vertical
3326 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3328 * org.el (org-read-date-history): New variable.
3329 (org-read-date): Use new history variable.
3330 (org-toggle-heading): Fix bug when used before first headline.
3331 (org-store-log-note): Remove drawer if empty while note is
3333 (org-remove-empty-drawer-at): New function.
3334 (org-check-after-date): New command.
3335 (org-sparse-tree): New sparse tree command "a".
3337 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3339 2009-08-06 Bastien Guerry <bzg@altern.org>
3341 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3342 column and a space, not only a column.
3344 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3346 * org-latex.el (org-export-latex-emphasis-alist): Better
3347 defaults for verbose emphasis.
3348 (org-export-latex-emph-format): New function.
3349 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3351 * org-agenda.el (org-agenda-menu): Add new commands to menu.
3352 (org-agenda-do-date-later, org-agenda-do-date-earlier)
3353 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3354 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3357 * org.el (org-timestamp-change): Move end-time along with start
3360 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3362 * org-exp.el (org-export-target-internal-links)
3363 (org-export-as-html): Protect links specified as #name.
3365 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3367 * org.el (org-clone-subtree-with-time-shift): New command.
3369 * org-latex.el (org-export-latex-special-chars)
3370 (org-export-latex-treat-sub-super-char): Fix subscript export.
3372 * org-exp.el (org-create-multibrace-regexp): Do not add
3373 backslashes to the class.
3375 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3377 * org-colview.el (org-columns-map): Better functions for moving up
3378 and down a row, even if `truncate-line' is nil.
3380 * org.el (org-insert-todo-heading): Make sure the keyword is
3381 inserted at the correct position.
3383 * org-publish.el (org-publish-project-alist)
3384 (org-publish-projects, org-publish-org-index): Change default anme
3385 for the index of file names to "sitemap.org".
3387 * org-latex.el (org-export-latex-tables): Use
3388 `org-split-string', for Emacs 21 compatibility.
3390 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3392 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3394 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3396 * org-exp.el (org-export-page-description)
3397 (org-export-page-keywords): New variables.
3398 (org-export-plist-vars): Add entries for :keywords and
3400 (org-infile-export-plist): Parse for new keywords.
3401 (org-get-current-options): Add new keywords
3402 (org-export-as-html): Publish description and keywords.
3404 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3406 (org-agenda-add-entry-text): Honor
3407 `org-agenda-add-entry-text-descriptive-links'.
3409 * org-latex.el (org-export-latex-preprocess): Make all
3410 external preprocess functions use a PARAMETER arg.
3412 * org-exp.el (org-export-preprocess-string)
3413 (org-export-select-backend-specific-text)
3414 (org-export-format-source-code-or-example)
3415 (org-format-org-table-html): Support docbook export.
3416 (org-export-preprocess-string): Make all external preprocess
3417 functions use a PARAMETER arg.
3419 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3421 * org-exp.el (org-export-html-style-include-scripts): New option.
3422 (org-export-plist-vars): Add new option
3423 `org-export-html-style-include-scripts'.
3424 (org-export-as-html): Honor new option
3425 `org-export-html-style-include-scripts'.
3426 (org-export-html-scripts, org-export-html-style-default): Fix
3427 xml issues with the Safari browser.
3429 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3431 * org-publish.el (org-publish-attachment): Only copy file when the
3434 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3436 * org-clock.el (org-clocktable-steps): Use inactive time stamps
3437 for clocktable steps.
3439 * org.el (org-additional-option-like-keywords): Add two more
3442 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3444 * org-exp.el (org-export-format-source-code-or-example): Mark
3445 temporary buffer unmodified, so that it will be killed even if
3446 mode like message mode has decided to assign a file name.
3448 * org.el (org-scan-tags): Improve tag inheritance.
3449 (org-scan-tags, org-make-tags-matcher): Make tag comparison
3451 (org-scan-tags): Use the internal tags list instead of creating it
3453 (org-trust-scanner-tags, org-scanner-tags): New variables.
3454 (org-scan-tags): Set `org-scanner-tags'.
3455 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3456 (org-map-entries): Document the possible speedup using scanner
3459 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3461 * org.el (org-add-planning-info): Fix bug with looking for keyword
3464 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3465 option for tags filter preset.
3466 (org-prepare-agenda): Store filter preset as a property on the
3468 (org-finalize-agenda): Call the filter, if there is a preset.
3469 (org-agenda-filter-by-tag): Filter again after clearing the
3470 filter, when there still is a preset.
3471 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3472 Include the preset filter.
3473 (org-agenda-redo): Apply the filter again, also the preset filter.
3475 * org-exp.el (org-export-as-html): Use IDs in the correct way.
3477 * org.el (org-uuidgen-p): New funtion.
3479 * org-agenda.el (org-agenda-fontify-priorities): New default value
3481 (org-agenda-fontify-priorities): Rename from
3482 org-fontify-priorities.
3484 * org.el (org-set-font-lock-defaults): Call
3485 `org-font-lock-add-priority-faces'.
3486 (org-font-lock-add-priority-faces): New function.
3488 * org-faces.el (org-set-tag-faces): New option.
3489 (org-priority-faces): New variable.
3491 * org-exp.el (org-export-as-html): Add a "content" div around the
3492 entire content of the body tag.
3493 (org-export-html-get-bibliography): New function.
3494 (org-export-html-validation-link): New variable.
3495 (org-export-as-html): Add validation link to exported page.
3497 * org.el (org-match-sparse-tree): Rename from
3498 `org-tags-sparse-tree'.
3499 (org-tags-sparse-tree): New alias.
3501 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3503 * org.el (org-get-valid-level): Catch the case where the level
3506 * org-clock.el (org-clock-find-position): Better indentation of
3509 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3511 * org-agenda.el (org-agenda-quit): Delete window only when the
3512 frame-setup was not `current-window'.
3514 * org.el (org-tag-persistent-alist): New option.
3515 (org-startup-options): Add keyword `noptag'.
3516 (org-fast-todo-selection): Handle :newline correctly.
3517 (org-set-tags): Handle :newline correctly.
3518 (org-fast-tag-selection): Handle :newline correctly.
3520 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3522 * org-exp.el (org-export-as-ascii): Reverse link buffer before
3524 (org-export-ascii-push-links): Fix bug with pussing links into the
3527 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3529 * org-archive.el (org-archive-subtree): Do not add 1 to level if
3530 pasting at top level.
3532 * org-bbdb.el: Improve documentation.
3534 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3536 * org-list.el (org-insert-item): Only consider insert empty lines
3537 is `org-empty-line-terminates-plain-lists' is not nil.
3539 * org.el (org-blank-before-new-entry): Mention the dependence on
3540 `org-empty-line-terminates-plain-lists' in the docstring.
3542 * org-publish.el (org-publish-get-project-from-filename): New
3543 optional argument UP. Only find the top project if UP is set.
3544 (org-publish-current-project): Find the top encloding project.
3546 * org-agenda.el (org-agenda-before-write-hook)
3547 (org-agenda-add-entry-text-maxlines): New options.
3548 (org-write-agenda): Run the new hook in the temporary buffer.
3549 (org-agenda-add-entry-text): New function.
3550 (org-write-agenda): Implement PDF export, using ps2pdf.
3552 * org.el (org-global-properties-fixed, org-global-properties):
3553 Improve documentation string.
3555 * org-exp.el (org-export-ascii-links-to-notes): New option.
3556 (org-export-as-ascii): Handle links better.
3557 (org-export-ascii-wrap, org-export-ascii-push-links): New
3560 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3562 * org-agenda.el (org-agenda): Make prefix arg optional.
3563 (org-agenda-search-headline-for-time): New option.
3564 (org-format-agenda-item): Honor
3565 `org-agenda-search-headline-for-time'.
3567 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3570 * org.el (org-self-insert-cluster-for-undo): New option.
3571 (org-self-insert-command): Cluster undo for 20 characters.
3572 (org-self-insert-command-undo-counter): New variable.
3574 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3576 * org-exp.el (org-export-as-html): Fix problem with closing colone
3579 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3581 * org-latex.el (org-export-as-latex)
3582 (org-export-latex-first-lines): Avoid modification flag when
3583 adding or removing text properties.
3584 (org-export-latex-fontify): Catch error when org-emph-alist has
3585 entries that are not defined for LaTeX export.
3587 * org-export-latex.el: renamed to org-latex.el.
3589 * org-latex.el: renamed from org-export-latex.el.
3591 * org.el (orgstruct++-mode): New function.
3592 (turn-on-orgstruct++): Call `orgstruct++-mode'.
3593 (org-context-p): Allow detecting item context after the first line
3595 (orgstruct-make-binding): Detect if item-body context should be
3597 (orgstruct-is-++): New variable.
3598 (org-add-planning-info): Catch the case when there is no planning
3599 info yet and the call does not want to add anything, only maybe
3600 tries to remove something.
3601 (org-special-ctrl-a/e): All value to be a cons cell with separate
3602 settings for `C-a' and `C-e'.
3603 (org-beginning-of-line, org-end-of-line): Honor separate values
3604 for `C-a' and `C-e'.
3606 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
3608 * org.el (org-reload): New command.
3610 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
3612 * org-gnus.el (org-gnus-store-link): Fix bug where
3613 org-gnus-store-link used wrong subject when called in an article
3614 buffer. Patch provided by fengli AT gmail DOT com.
3616 2009-03-13 D. Goel <deego3@gmail.com>
3618 * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
3619 replace ls by (values-list ls).
3621 2009-02-20 Carsten Dominik <dominik@science.uva.nl>
3623 * org-remember.el (org-remember-apply-template): Turn off ido for
3626 * org.el (org-priority): Also find invisible headings, for remote
3628 (org-completing-read-no-ido): New function.
3629 (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
3631 * org-colview.el (org-columns-edit-value): No special treatment of
3634 2009-02-19 Carsten Dominik <dominik@science.uva.nl>
3636 * org.el (org-block-todo-from-children-or-siblings): Use
3637 `org-up-heading-all' so that this will work correctly with hidden
3638 property drawers and entries.
3639 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
3640 falling back to normal, default command.
3641 (org-get-location): Temporarily turn off special behavior.
3643 2009-02-13 Glenn Morris <rgm@gnu.org>
3645 * org-rmail.el (rmail-show-message): Restore argument list to the
3646 declaration now that this functions behaves in Emacs 23 as in 22.
3648 2009-02-12 Glenn Morris <rgm@gnu.org>
3650 * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
3652 2009-02-12 Joachim Reiter <Reiter.Joachim@web.de> (tiny change)
3654 * org-footnote.el (org-footnote-action): Fix doc typo.
3656 2009-02-06 Carsten Dominik <dominik@science.uva.nl>
3658 * org-exp.el (org-export-preprocess-string): Fix bug with skipping
3659 text before first headline.
3660 (org-export-remove-or-extract-drawers): Fix regular expression for
3663 * org.el (org-format-latex): Stop LaTeX fragment processing in
3666 2009-02-05 Glenn Morris <rgm@gnu.org>
3668 * org-rmail.el (rmail-show-message): Update declaration.
3669 (rmail-buffer, rmail-view-buffer): Declare.
3670 (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
3672 2009-02-04 Carsten Dominik <dominik@science.uva.nl>
3674 * org.el (org-return-follows-link): Revert setting
3675 `org-return-follows-link' to t by default.
3677 2009-02-02 Carsten Dominik <dominik@science.uva.nl>
3679 * org.el (org-cycle-global-at-bob): Fix typo.
3681 * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
3683 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
3685 * org.el (org-mode): Make dependence stuff work more reliably.
3686 (org-update-parent-todo-statistics): Fix bug with updating
3688 (org-yank-adjusted-subtrees, org-return-follows-link)
3689 (org-use-fast-todo-selection, org-tags-column): New default
3690 setting for variables.
3692 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
3693 ~ as verbatim delimiters, to avoid table bug.
3694 (org-export-latex-classes): Remove the a4paper option from the
3697 * org-exp.el (org-export-html-format-image): New argument
3698 PAR-OPEN, to fix XHTM validation bug.
3699 (org-export-as-html): Pass par-open to
3700 `org-export-html-format-image'.
3701 (org-export-html-footnotes-section): Use a more consistent id for
3704 * org-agenda.el (org-agenda-sorting-strategy)
3705 (org-agenda-tags-column): New default setting for variables, based
3706 on a poll what typical uses use.
3707 (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
3708 setting the blocked tag.
3710 2009-01-31 Carsten Dominik <dominik@science.uva.nl>
3712 * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
3713 only checking for blocks.
3715 * org-exp.el (org-export-html-footnotes-section): Make the div id
3718 * org-export-latex.el (org-export-latex-classes): Remove
3719 paper size option from LaTeX classes.
3721 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
3723 * org.el (org-enforce-todo-checkbox-dependencies): New option.
3724 (org-block-todo-from-checkboxes): New function.
3725 (org-todo): Make tripple prefix arg circumvent blocking.
3727 2009-01-30 Glenn Morris <rgm@gnu.org>
3729 * org-list.el (org-empty-line-terminates-plain-lists)
3730 (org-toggle-checkbox): Doc fixes.
3732 * org-table.el (org-table-clean-before-export): Fix declaration.
3734 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
3736 * org-timer.el (org-timer): Provide the timer feature.
3738 * org.el (org-require-autoloaded-modules): Add a few more files to
3739 the list of autoloaded modules.
3741 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
3743 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
3744 drawers that are unprotected.
3745 (org-export-html-format-image): Make sure inlined LaTeX fragment
3746 images remain inlined.
3748 * org.el (org-toggle-ordered-property): New function.
3749 (org-mode-map): Add a key for `org-toggle-ordered-property'.
3750 (org-org-menu): Add menu entries for TODO dependencies.
3752 * org.el (org-default-properties): Add ORDERED to the default
3753 properties, to get completion support for it.
3755 * org-list.el (org-update-checkbox-count): Update more than one cookie.
3757 * org.el (org-update-parent-todo-statistics): Update more than one
3760 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
3762 * org-agenda.el (org-agenda-get-todos): Start search from correct
3765 * org.el (org-fast-todo-selection): Make sure TODO selection does
3766 not change buffer position.
3768 * org-list.el (org-toggle-checkbox): Implement adding or removing
3769 checkboxes from line or region when called with a prefix
3772 * org-rmail.el (org-rmail-store-link): Protect the call to
3773 `rmail-narrow-to-non-pruned-header'.
3775 * org-clock.el (org-clock-special-range): Fix week display in
3778 * org-exp.el (org-get-current-options): Fix bug when in indirect
3781 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
3782 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
3783 (org-agenda-dim-blocked-tasks): New function.
3785 * org.el (org-enforce-todo-dependencies): New option.
3786 (org-block-todo-from-children-or-siblings): New function.
3788 * org-faces.el (org-agenda-dimmed-todo-face): New face.
3790 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
3792 * org.el (org-todo): Return correct state type even if the blocker
3794 (org-modifier-cursor-error): Rename from
3795 `org-shiftcursor-error'.
3796 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3797 (org-shiftmetadown): Call `org-modifier-cursor-error'.
3799 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
3800 to get real errors from the blocker hook.
3802 * org.el (org-shiftselect-error, org-call-for-shift-select): New
3804 (org-set-visibility-according-to-property): Turn off the setting
3805 of `org-show-entry-below', to avoid overruling a FOLDED visibility
3808 * org.el (org-support-shift-select): New option.
3809 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
3810 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
3811 selection outside contexts.
3813 * org-list.el (org-at-item-bullet-p): New function.
3815 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
3818 * org-footnote.el (org-footnote-normalize): Remove unnecessary
3820 (org-insert-footnote-reference-near-definition): Remove
3821 unnecessary let form.
3823 2009-01-26 Carsten Dominik <dominik@science.uva.nl>
3825 * org-export-latex.el (org-export-as-latex): Call
3826 `org-export-latex-first-lines' with OPT-PLIST as a parameter.
3827 (org-export-latex-first-lines): New parameter OPT-PLIST.
3829 * org.el (org-yank): Tell `delete-selection-mode' about
3832 * org-faces.el (org-clock-overlay): Fix face definition.
3834 * org-export-latex.el (org-export-latex-first-lines): Pass
3835 timestamp and footnote parameters to the preprocessor.
3837 * org-exp.el (org-export-remove-timestamps): Do not remove time
3838 stamps inside tables.
3840 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3842 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
3844 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
3847 * org-table.el (org-table-insert-hline): Fix typo in fuction call
3850 * org-exp.el (org-export-as-html): Remove the initial space from
3853 * org.el (org-scan-tags): Call
3854 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3856 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
3857 customization groups.
3858 (org-agenda-tags-todo-honor-ignore-options): New option.
3859 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3861 (org-agenda-get-todos): Use
3862 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3864 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3866 * org-exp.el (org-export-format-source-code-or-example): Escape
3867 HTML characters also in examples that anre not treated with
3868 htmlize. Also, just switch to EXAMPLE processing if we do not
3869 have a good version of htmlize.
3871 * org-rmail.el: Fix copyright notice.
3873 * org.el (org-activate-footnote-links): Improve footnote link
3876 * org-footnote.el (org-footnote-normalize): Fix finding the end of
3877 a footnote definition at the end of the file.
3879 * org-table.el (org-table-get-specials): Add an imagined hline at
3880 the end of the table. This can be useful for references that want
3881 to go to the end of the table. Also fix bug when computing last
3882 row constants, in tables that do not start right at the right
3884 (org-table-eval-formula): Match and replace remove references.
3885 (org-table-formula-substitute-names): Make sure that names inside
3886 a "remote" call are left alone, the will be replaced later when
3887 the remote call is handled.
3888 (org-table-convert-refs-to-rc): Do not convert things that might
3889 look like a reference, but are really part of an ID or namei n a
3891 (org-table-get-remote-range): New function.
3893 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3895 * org-faces.el (org-clock-overlay): Fix bug in face definition.
3897 * org-clock.el (org-clock-put-overlay): Use new face instead of
3898 `secondary-selection'.
3900 * org-faces.el (org-clock-overlay): New face.
3902 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3904 * org-exp.el (org-get-current-options): Include the option for
3905 publishing time stamps.
3907 * org.el (org-toggle-heading): Rename from
3908 `org-toggel-region-headings'.
3909 No longer needs a region defined, but will use it if there is one.
3910 (org-ctrl-c-star): Simplify, relying more on the internal
3911 workings of `org-toggle-heading'.
3912 (org-toggle-item): Rename from `org-toggle-region-items'.
3913 No longer needs a region defined, but will use it if there is one.
3914 (org-ctrl-c-minus): Simplify, relying more on the inernal
3915 workings of `org-toggle-item'.
3917 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
3918 environment detection. Also, do real changes only in unprotected
3921 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3923 * org-export-latex.el (org-export-latex-quotation-marks): Use
3924 `org-if-unprotected-1'.
3925 (org-export-latex-set-initial-vars): Check for class definition in
3928 * org-macs.el (org-if-unprotected-1): New macro.
3930 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3932 * org-compat.el (org-count-lines): New function.
3934 * org-exp.el (org-export-format-source-code-or-example): Handle
3935 switches related to text areas.
3937 * org.el (org-activate-footnote-links): Don't allow match inside a
3940 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
3942 * org-export-latex.el (org-export-latex-links): Keep a relative
3943 path relative also after export.
3945 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
3947 * org.el (org-make-tags-matcher): Never use IDO for completing the
3948 tags matcher match string.
3949 (org-completing-read): Also remove the special biding for "?".
3951 * org-attach.el (org-attach-allow-inheritance): New option.
3952 (org-attach-inherited): New variable.
3953 (org-attach-dir): Handle properties related to the attachment
3955 (org-attach-check-absolute-path): New function.
3956 (org-attach-set-directory, org-attach-set-inherit): New commands.
3957 (org-attach): Accommodate the new commands in the dispatcher.
3959 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3961 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
3962 `window-full-width-p'.
3964 * org-exp.el (org-export-as-html): Only check for images files
3965 that really can be inlined.
3967 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
3968 list of extensions to be a parameter.
3970 * org-exp.el (org-export-html-inline-image-extensions): New
3973 * org-agenda.el (org-prepare-agenda): Use
3974 `org-agenda-block-separator'.
3975 (org-agenda-block-separator): New option.
3977 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3979 * org-export-latex.el (org-export-latex-tables): Call
3980 `org-table-clean-before-export' with the new optional argument.
3982 * org-exp.el (org-table-clean-before-export): New optional
3983 parameter MAYBE-QUOTED, allows for quoted characters like \# in
3986 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3988 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
3991 * org-colview.el (org-colview-construct-allowed-dates): Better
3992 error catching when a date/time property does not have allowed
3995 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
3996 Better error catching when a date/time property does not have
3997 allowed values defined.
3999 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4001 * org.el (org-map-entries): Restore point and restriction after
4004 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4006 * org.el (org-time=, org-time<, org-time<=, org-time>)
4007 (org-time>=, org-time<>): Make sure both values are dates.
4009 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4011 * org-archive.el (org-extract-archive-heading): Allow %s for file
4012 name also in achive location heading.
4014 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4016 * org-archive.el (org-add-archive-files): Uniquify the list before
4019 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4021 * org-compat.el (org-fit-window-to-buffer): Use
4022 `window-full-width-p'.
4024 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4025 space after the colon in short examples.
4027 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4028 enforce a space after the colon. However, we also allow lines
4029 that are *only* a colon.
4030 (org-export-as-html): Enforce the space after the colon in short
4032 (org-export-preprocess-string): Do the colon example protection
4034 (org-export-remove-timestamps): Do not check for protection at the
4037 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4039 * org.el (org-format-latex-options): Add new matcher for single
4040 letters between dollars.
4041 (org-get-header): Function removed.
4042 (org-heading-components): New function.
4044 * org-exp.el (org-export-define-heading-targets): Record ID's also
4045 as alternative targets.
4046 (org-export-as-html): Interpret "id:" links to other files by
4047 preserving the relative path.
4049 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4052 * org-exp.el (org-export-normalize-links): Protect the main link,
4053 to avoid special character processing.
4055 * org-export-latex.el (org-export-latex-special-keyword-regexp):
4057 (org-export-latex-special-string-regexps): Variable removed.
4058 (org-export-latex-keywords): Use the new regexp.
4060 * org-exp.el (org-export-handle-include-files): Fetch switches and
4061 put them into the BEGIN statement.
4063 * org-timer.el (org-timer-mode-line-string): New variable.
4065 * org-clock.el (org-clock-mode-line-map): Rename from
4066 `org-clock-mode-map'.
4067 (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
4068 (org-clock-update-mode-line): Rename from `org-update-mode-line'.
4069 (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
4070 (org-clock-remove-overlays): Rename from
4071 `org-remove-clock-overlays'.
4073 * org-timer.el (org-timer-pause-or-continue): Implement stopping
4074 and mode line display.
4075 (org-timer-stop): New command.
4076 (org-timer-seconds): Return correct time when timer is paused.
4077 (org-timer-mode-line-timer): New variable.
4078 (org-timer-set-mode-line, org-timer-update-mode-line): New
4081 * org.el (org-insert-heading): Handle new value `auto' for
4082 `org-blank-before-new-entry'.
4083 (org-org-menu): Add new items for timer functions.
4085 * org-list.el (org-insert-item): Handle new value `auto' for
4086 `org-blank-before-new-entry'.
4088 * org.el (org-blank-before-new-entry): New value `auto', made
4091 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4093 * org-exp.el (org-export-normalize-links): If the link is also
4094 used as the description, protect the description.
4096 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4098 * org.el (org-closest-date): Fix bug with yearly repeats, in
4099 combination with preference of the past as it is used for deadline
4100 and scheduling search.
4102 * org-exp.el (org-html-handle-time-stamps): No longer check for
4103 the `org-export-with-timestamps' option, because the preprocesser
4104 has taken care of this already.
4106 * org.el (org-entry-properties): Catch the case when this is
4107 called in a non-org-mode file.
4109 * org-export-latex.el (org-export-latex-remove-from-headlines):
4110 Variable made obsolete, also LaTeX export now uses the standard
4112 (org-export-as-latex): Add the timestamps parameter to the
4113 preprocessor parameter list.
4114 (org-export-latex-content): Export the remaining keywords without
4115 considering to remove them.
4116 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4117 Use bold font instead of tt font for the keywords.
4118 (org-export-latex-fontify-headline): Format headlines, assuming
4119 that all keywords still present should be published.
4120 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4121 publish what ever remains of the time stamps.
4122 (org-export-latex-list-parameters): New option.
4123 (org-export-latex-lists): Pass additional parameters to the list
4126 * org-exp.el (org-export-preprocess-string): Remove clock lines
4127 and timestamps already in the preprocesor.
4128 (org-export-remove-timestamps, org-export-remove-clock-lines): New
4130 (org-export-as-ascii, org-export-as-html): Add the timestamps
4131 parameter to the preprocessor parameter list.
4133 * org-list.el (org-list-parse-list): Parse for checkboxes.
4134 (org-list-to-generic): Introduce and handle new parameters :cbon
4136 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4137 optional parameter PARAMS.
4139 * org-export-latex.el (org-export-latex-special-chars): Fix
4140 problems with interpreting dollar signs.
4141 (org-inside-latex-math-p): New function.
4142 (org-export-latex-preprocess): Protect all the math fragments.
4144 * org.el (org-latex-regexps): Allow a dash after a dollar.
4146 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4149 * org-agenda.el (org-run-agenda-series): Have series options set
4150 when finalizing the agenda.
4152 * org-exp.el (org-export-format-source-code-or-example): Protect
4153 the converted examples.
4155 * org.el (org-set-regexps-and-options): Fix the regexp
4156 `org-complex-heading-regexp'.
4158 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4160 * org.el (org-edit-src-get-label-format): New function.
4161 (org-coderef-label-format): New option.
4162 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4163 a label format specification and make sure it is used in the edit
4165 (org-edit-src-get-label-format): New function.
4166 (org-store-link): Handle new coderef formats.
4167 (org-link-search): Handle new coderef formats.
4169 * org-footnote.el (org-footnote-create-definition)
4170 (org-footnote-goto-local-insertion-point): Make footnote insertion
4171 work correctly when the "Footnotes" headline is the last line in
4174 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4177 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4179 * org-w3m.el (org-w3m): New customization group.
4180 (org-w3m-deactivate-mark): New option.
4181 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4184 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4186 * org.el (org-set-font-lock-defaults): Trigger footnote
4188 (org-activate-footnote-links): New function.
4189 (org-activate-links): New entry `footnote'.
4191 * org-faces.el (org-footnote): New face.
4193 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4195 * org-macs.el (org-re): Handle the [:word:] class.
4197 * org-exp.el (org-export-preprocess-string): Call
4198 `org-export-protect-colon-examples'.
4199 (org-export-protect-colon-examples): Rename from
4200 `org-export-protect-examples', and scope limited to lines starting
4203 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4205 * org-exp.el (org-export-preprocess-string): Move the preprocess
4206 hook to after turning on Org-mode.
4207 (org-export-preprocess-after-include-files-hook)
4208 (org-export-preprocess-after-tree-selection-hook)
4209 (org-export-preprocess-before-backend-specifics-hook)
4210 (org-export-preprocess-final-hook): New hooks.
4211 (org-export-preprocess-string): Run the new hooks.
4213 * org.el (org-ctrl-c-minus): Fix indentation for new items.
4215 * org-footnote.el: New file.
4217 * org.el (org-footnote): Require footnote code.
4218 (org-startup-options): Add new footnote options.
4219 (org-mode-map): New keybindig for footnotes.
4220 (org-ctrl-c-ctrl-c): Add function at footnotes.
4221 (org-org-menu): New menu entries for footnotes.
4223 * org-export-latex.el (org-export-as-latex): Pass footnote
4224 variable to preprocessor.
4225 (org-export-latex-preprocess): Treat multiple references to a
4228 * org-exp.el (org-export-preprocess-string): Call
4229 `org-footnote-normalize'.
4230 (org-export-as-ascii, org-export-as-html): Pass footnote variable
4232 (org-export-as-html): Treat multiple references to a footnote.
4234 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
4236 * org-export-latex.el (org-export-latex-links): Handle coderef
4239 * org.el (org-bracket-link-analytic-regexp++): New variable.
4240 (org-make-link-regexps): Initialize
4241 `org-bracket-link-analytic-regexp++'.
4242 (org-store-link): Implement special case in edit-src buffer.
4243 (org-insert-link): No use of ide to insert stored links.
4244 (org-link-search): Implement special case for coderefs.
4246 * org-exp.el (org-export-html-scripts): New constant.
4247 (org-export-html-style-default): Add a new style for highlighted
4249 (org-export-code-refs): New variable.
4250 (org-export-preprocess-string): Initialize `org-export-code-refs'.
4251 Call `org-export-replace-src-segments-and-examples'
4252 No longer call `org-export-protect-examples'.
4253 (org-export-target-internal-links): Take care of coderef targets.
4254 (org-export-last-code-line-counter-value): New variable.
4255 (org-export-replace-src-segments-and-examples): Rename from
4256 `org-export-replace-src-segments', and modified.
4257 (org-export-format-source-code-or-example): Rename from
4258 `org-export-format-source-code'.
4259 (org-export-number-lines): New function.
4260 (org-export-as-ascii, org-export-as-html): Handle coderef links.
4262 2009-01-23 Glenn Morris <rgm@gnu.org>
4264 * org-rmail.el (rmail-narrow-to-non-pruned-header):
4265 Remove declaration of deleted function.
4267 2009-01-16 Glenn Morris <rgm@gnu.org>
4269 * org-mouse.el (org-mouse-show-context-menu): Use
4270 mouse-menu-major-mode-map, if defined, rather than the obsolete
4271 mouse-major-mode-menu.
4273 2008-12-23 Carsten Dominik <dominik@science.uva.nl>
4275 * org-remember.el (org-remember-handler): Safer way to get a new
4276 buffer accessing the target file.
4278 * org.el (org-refile-get-location): Handle case of current buffer
4279 not having a file associated with it.
4281 2008-12-22 Carsten Dominik <dominik@science.uva.nl>
4283 * org-table.el (org-table-get-formula): Only ask to overwrite
4284 field formula if there really is one.
4286 2008-12-21 Carsten Dominik <dominik@science.uva.nl>
4288 * org-export-latex.el (org-export-latex-make-header): Double the
4289 commenting % in the time stamp format.
4290 (org-export-latex-special-chars): Handle case where there is no
4293 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
4295 * org.el (org-get-refile-targets, org-refile-get-location): Use
4296 expanded file name to improve comparison.
4298 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
4300 * org.el (org-scan-tags): Rescan for tags, to get the correct
4301 upcase/downcase stuff. This slows things down for now, but it
4303 (org-mode): Make sure the tag-faces regexp is initialized.
4305 * org-export-latex.el (org-export-latex-links): Fix bug with
4308 * org-table.el (org-table-get-specials): Set
4309 `org-table-current-last-data-line'.
4310 (org-table-current-last-data-line): New variable.
4311 (org-table-insert-column, org-table-delete-column)
4312 (org-table-move-column, org-table-fix-formulas): Call
4313 `org-table-fix-formulas' a second time to fix the $LR references.
4314 (org-table-get-specials): Add the $LR references to the tables.
4315 (org-table-get-formula): Do not offer last-row names as LHS of
4318 * org.el (org-store-link): Capture link description from
4319 `org-id-store-link'.
4321 * org-exp.el (org-export-html-format-image): Add the / to the end
4323 (org-export-format-source-code): Surround example by empty lines,
4324 to make sure it will not be inside a paragraph.
4326 * org.el (org-ido-switchb): New function.
4328 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
4330 * org-agenda.el (org-agenda-show): New prefix argument
4333 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4336 2008-12-20 Glenn Morris <rgm@gnu.org>
4338 * org.el (org-org-menu): Fix some more menu entries.
4340 2008-12-18 Carsten Dominik <dominik@science.uva.nl>
4342 * org-table.el (org-table-get-specials): Revert introduction of @0
4343 as reference of the last table row, because of conflicts.
4345 * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
4346 argument, get the current tags directly.
4347 (org-agenda-set-tags): Leave getting current tags to
4348 `org-agenda-change-all-lines'.
4350 2008-12-17 Carsten Dominik <dominik@science.uva.nl>
4352 * org.el (org-org-menu): Do not quote the set-tags command.
4354 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
4356 * Fix typos in comments and docstrings throughout Org-mode.
4358 * org.el (org-get-outline-path): Fix bug if level is not given.
4360 * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
4362 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4364 * org.el (org-refile): Avoid refiling to within the region to be
4367 * org-export-latex.el (org-export-latex-special-chars): Replace
4368 special characters also in tables.
4370 * org-agenda.el (org-agenda-change-all-lines): New argument
4372 (org-agenda-set-tags): Get the new tags and pass them to
4373 `org-format-agenda-item'.
4375 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4377 * org-export-latex.el (org-export-latex-classes): Add longable as
4378 a default package to all classes.
4379 (org-export-latex-tables): Handle the longtable attribute and the
4382 * org-table.el (orgtbl-to-generic): Handle tables that start with
4385 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4386 \verb for colde-like snippets.
4387 (org-export-as-latex): Fix issues with region export.
4389 * org.el (org-up-heading-safe): Speed up function by using a
4390 direct regexp search.
4391 (org-olpa): New variable.
4392 (org-get-outline-path): Speed-up path constructions in cases where
4393 this is possible because the entire hierarchy is scanned anyway.
4394 (org-refile-get-location): Don't compare the truenames of files,
4396 (org-goto-max-level): New option.
4397 (org-goto): Use `org-goto-max-level'.
4399 2008-12-16 Tassilo Horn <tassilo@member.fsf.org>
4401 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4402 Strip angle brackets from message-ids in the former and don't do
4404 (org-gnus-follow-link): Open summary reliable, even if the last
4405 messages were deleted, and handle empty groups, too.
4407 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4409 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4410 instead of \texttt for the =...= and ~===~ emphasis environments.
4411 (org-export-as-latex): Remove any old :org-license-to-kill text
4413 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4414 (org-export-latex-make-header): Add some hard space after the
4416 (org-export-latex-first-lines): Accept RBEG argument. Mark
4417 exported text so that it will be excuded in further steps.
4419 * org-table.el (org-table-get-specials): Make @0 reference the
4420 last line in a table.
4421 (org-table-recalculate): Improve docstring.
4423 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4425 * org.el (org-log-done): Fix docstring.
4427 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4429 * org-exp.el (org-export-html-format-image): Fix bugs.
4431 * org-export-latex.el (org-export-latex-tables)
4432 (org-export-latex-links): Implement attribute, label, and caption
4435 * org-exp.el (org-export-html-style-default): Add style
4436 definitions for the figure div.
4437 (org-export-preprocess-string, org-export-as-html): Implement
4438 attribute, label, and caption handling.
4439 (org-export-attach-captions-and-attributes): New function.
4440 (org-export-html-format-image): New function.
4441 (org-format-org-table-html): Implement attribute, label, and
4444 * org.el (org-find-text-property-in-string): New function.
4445 (org-extract-attributes): Use the property org-attr instead of
4446 org-attrobutes, because this property is now set with the #+ATTR
4449 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4451 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
4452 the case that FROM is nil.
4454 * org.el (org-before-first-heading-p): New function.
4456 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4458 * org-exp.el (org-export-as-html): Do not add a space before
4459 enforces line breaks.
4460 (org-export-as-html): Close paragraph before blockquote and verse
4463 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4465 * org-id.el (org-id-locations-file): Wrap file name with
4466 `convert-standard-filename'.
4467 (org-id-files): New variable.
4468 (org-id-use-hash): New option.
4469 (org-id-update-id-locations): Also search in all files current
4470 listed in `org-id-files'. Convert the resulting alist to a hash
4471 if the user customation says so.
4472 (org-id-locations-save): Handle he case if `org-id-locations' is a
4474 (org-id-locations-load): Convert the alist to a hash.
4475 (org-id-add-location): Handle the hast case.
4476 (kill-emacs-hook): Make sure id locations are saved when Emacs is
4478 (org-id-hash-to-alist, org-id-alist-to-hash)
4479 (org-id-paste-tracker): New functions.
4481 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4483 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
4484 bindings of calendar variables.
4486 * org-table.el (org-table-find-row-type): Rename from
4487 `org-find-row-type'.
4488 (org-table-rewrite-old-row-references): Rename from
4489 `org-rewrite-old-row-references'.
4490 (org-table-shift-refpart): Rename from `org-shift-refpart'.
4491 (org-table-cleanup-narrow-column-properties): Rename from
4492 `org-cleanup-narrow-column-properties'.
4494 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4496 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
4497 for better error messages.
4498 (org-table-get-descriptor-line): Supply the new arguments to
4499 `org-find-row-type'.
4500 (org-table-error-on-row-ref-crossing-hline): New option.
4502 * org.el (org-target-link-regexp): Make buffer-local.
4503 (org-move-subtree-down): Fix bug with trees at beginning of
4506 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4508 * org-faces.el (org-set-tag-faces): New function.
4509 (org-tags-special-faces-re): New variable.
4511 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
4513 * org-faces.el (org-tag-faces): New option.
4514 (org-tag): Mention `org-tag-faces' in the docstring.
4516 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4518 * org-exp.el (org-export-html-style-default): Implement new
4521 * org-jsinfo.el (org-infojs-template): Implement new quoting.
4523 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
4524 command to the `w3m-minor-mode-map'.
4526 * org-archive.el (org-archive-to-archive-sibling): Protect
4527 `this-command' to avoid appending kills during archiving.
4529 * org-exp.el (org-export-with-priority): New variable.
4530 (org-export-add-options-to-plist): Use `org-export-plist-vars'
4531 instead of internal list of strings and properties.
4532 (org-print-icalendar-entries): Retrieve the location property with
4535 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4537 * org-exp.el (org-export-with-todo-keywords): New option.
4538 (org-export-plist-vars): Include also the keys for the #+OPTIONS
4540 (org-default-export-plist, org-export-add-options-to-plist)
4541 (org-export-as-ascii, org-export-as-html): Use the new structure
4542 of `org-export-plist-vars'.
4544 * org.el (org-map-entries): Return all values.
4546 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4548 * org.el (org-matcher-time): Recognize more special values.
4550 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
4552 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4554 * org.el (org-tags-exclude-from-inheritance): New option.
4555 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
4556 `org-tags-exclude-from-inheritance'.
4558 * org-agenda.el (org-agenda-show-inherited-tags): New option.
4559 (org-format-agenda-item): Add inherited tags to the agenda line
4560 string, and make sure that properties are kept when downcasing the
4562 (org-agenda-add-inherited-tags): New function.
4563 (org-downcase-keep-props): New function.
4565 * org.el (org-scan-tags): Mark inherited tags with a text
4567 (org-get-tags-at): Mark inherited tags with a text property.
4568 (org-add-prop-inherited): New function.
4570 * org-agenda.el (org-agenda-add-inherited-tags): New function.
4571 (org-agenda-show-inherited-tags): New option.
4573 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4575 * org.el (org-modules): Add org-w3m to the default modules.
4577 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
4579 (orgtabl-create-or-convert-from-region): New command.
4581 * org-exp.el (org-export-as-ascii): Remove the handling of
4583 (org-export-ascii-preprocess): Handle targets already in this
4586 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4588 * org-timer.el (org-timer-start-time): Define this variable.
4589 (org-timer-item): Make argument optional.
4591 * org-list.el (org-insert-item): Automatically insert a timer item
4592 if the current list is a timer list.
4594 * org-timer.el: New file.
4596 * org-publish.el (org-publish-org-index): Only exclude the index
4597 file in the main directory from being added to the site-map.
4598 (org-publish-get-project-from-filename): If the current project is
4599 a component, start publishing from the parent project.
4601 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4603 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
4605 * org-publish.el (org-publish-org-index): Improve removal of
4608 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
4610 * org-agenda.el (org-get-closed): Re-apply changes
4611 accidentially overwritten by last commit to Emacs.
4613 * org.el (org-outline-path-complete-in-steps): New option.
4614 (org-refile-get-location): Honor
4615 `org-outline-path-complete-in-steps'.
4616 (org-agenda-change-all-lines, org-tags-sparse-tree)
4617 (org-time-string-to-absolute, org-small-year-to-year)
4618 (org-link-escape): Re-apply changes accidentially overwritten
4619 by last commit to Emacs.
4621 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4623 * org-clock.el (org-dblock-write:clocktable): Make sure the
4624 clocktable sees the first line.
4625 (org-clock-in): Warn if the clock cannot be resumed.
4627 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4629 * org.el (org-open-at-point): Fix mixup about interactive and
4630 non-interactive elisp links.
4632 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4634 * org-exp.el (org-export-preprocess-string): Allow one comment
4635 line before the first headline to always be included. This is
4636 to not miss a commented target.
4638 * org-mouse.el (org-mouse-insert-item): Call
4639 `org-indent-to-column' instead of `indent-to', for XEmacs
4642 * org.el (org-refile-targets): Fix customize definition so
4643 that it works also in XEmacs.
4644 (org-fixup-indentation): Call `org-indent-to-column' instead
4645 of `indent-to', for XEmacs compatibility.
4647 2008-11-23 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
4649 * org-mew.el (org-mew-store-link): Get the correct case folder
4650 for refiled messages.
4652 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4654 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
4655 line break indicators.
4657 * org.el (org-ido-completing-read): Remove the "i:" prefix for
4658 ido-completion propts.
4660 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4662 * org-remember.el (org-remember-apply-template): Use
4663 `org-substring-no-properties'.
4665 * org-compat.el (org-substring-no-properties): New function.
4667 * org-remember.el (org-remember-apply-template): Use
4668 `org-substring-no-properties' for compatibility.
4670 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
4672 (org-fix-bullet-type): respect
4673 `org-list-two-spaces-after-bullet-regexp'.
4675 * org-clock.el (org-clock-load): Clean up the code.
4677 * org.el (org-adaptive-fill-function): Allow two spaces after
4678 "1." as a list bullet.
4680 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4682 * org-clock.el (org-clock-save, org-clock-load): Check for
4683 live buffers, existing files, and buffer file names to ensure
4684 consistent information.
4685 (org-clock-persist): Make `clock' a special value of this
4686 variable, and improve docstring.
4688 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
4689 (org-get-string-indentation): Adapt indentation when the bullet
4692 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4694 * org-remember.el (org-remember-finalize): Make interactive.
4695 (org-remember-kill): New command.
4696 (org-remember-finish-immediately): Call `org-remember-finalize'
4698 (org-remember-finalize): Make `org-remember-finalize' an interactive
4701 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4703 * org-remember.el (org-remember-apply-template): No ido completion
4704 for free prompts in remember templates.
4705 (org-remember-before-finalize-hook): New hook.
4706 (org-remember-mode): New minor mode.
4707 (org-remember-apply-template): Turn on `org-remember-mode'.
4709 * org-remember.el (org-remember-apply-template): Fix the way how
4710 the list of allowed properties is retrieved from the target file.
4712 * org.el (org-insert-link): Improve file link matching.
4714 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4716 * org-colview.el (org-columns-display-here): New argument
4717 DATELINE, to trigger using the new face.
4718 (org-agenda-colview-summarize): Call `org-columns-display-here'
4719 with the new argument.
4721 * org-faces.el (org-agenda-column-dateline): New face.
4723 * org-publish.el (org-publish-org-index): Use index-title at page
4724 title, not as section.
4726 * org-exp.el (org-export-html-format-desc): Respect the
4727 org-protect property.
4728 (org-export-as-html): Protect image specifiers that are in the
4729 description part of a link.
4731 * org.el (org-sort-entries-or-items, org-completing-read)
4732 (org-refile-get-location, org-olpath-completing-read, org-todo)
4733 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
4734 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
4735 (org-set-property, org-delete-property)
4736 (org-delete-property-globally): Use `org-ido-completing-read'.
4738 * org-remember.el (org-remember-apply-template): Use
4739 `org-ido-completing-read'.
4741 * org-publish.el (org-publish): Use `org-ido-completing-read'.
4743 * org-colview.el (org-columns-edit-value, org-columns-new)
4744 (org-insert-columns-dblock): Use `org-ido-completing-read'.
4746 * org-colview-xemacs.el (org-columns-edit-value)
4747 (org-columns-new, org-insert-columns-dblock): Use
4748 `org-ido-completing-read'.
4750 * org-attach.el (org-attach-delete-one, org-attach-open): Use
4751 `org-ido-completing-read'.
4753 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
4754 `org-ido-completing-read'.
4756 * org.el (org-time-today): New function.
4757 (org-matcher-time): Use `org-time-today'. Add special treatment
4758 for "<tomorrow>" and "<yesterday>".
4759 (org-ido-completing-read): New function.
4760 (org-completion-use-ido): New option.
4762 * org-exp.el (org-export-format-source-code): Fix bug in require
4764 (org-export-target-internal-links): Fix bug in search for text
4767 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4769 * org-export-latex.el (org-export-latex-subcontent): Interprete
4770 target aliases as additonal labels.
4772 * org-exp.el (org-export-target-aliases): New variable.
4773 (org-export-preprocess-string)
4774 (org-export-handle-invisible-targets): Fill the alias alist.
4775 (org-export-as-html): Remove the from the anchor, and also
4777 (org-html-level-start): Insert the target aliases as additonal
4780 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
4783 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4785 * org.el (org-open-at-mouse): Ensure correct link abbreviations
4786 when following a link with the mouse from the agenda.
4788 * org-exp.el (org-export-as-html): Avoid lone </div> when no
4789 headlines are created.
4791 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4793 * org.el (org-link-translation-function): New option.
4794 (org-open-at-point): Call `org-link-translation-function' if
4796 (org-translate-link): New function.
4797 (org-translate-link-from-planner): New function.
4798 (org-open-at-point): Allow interactive commands in elisp links.
4800 * org-exp.el (org-icalendar-cleanup-string): Restore the old
4801 iCalendar quoting. The new one seems to caus problems with
4804 * org.el (org-yank): Set `this-command' to `yank', so that
4805 `yank-pop' will work.
4807 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4809 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
4810 compliance as far as quoting is concerned.
4812 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
4813 hexified version of the tag.
4815 * org-vm.el (org-vm-follow-link): Require `vm-search'.
4817 * org.el (org-up-heading-safe, org-forward-same-level): Always
4818 call `org-back-to-heading' instead of `outline-back-to-heading'.
4819 (org-back-to-heading): New wrapper around outline-back-to-heading,
4820 with a useful error message telling where the error happened.
4822 * org-list.el (org-update-checkbox-count): Always call
4823 `org-back-to-heading' instead of `outline-back-to-heading'.
4825 * org-exp.el (org-export-as-html): Make sure that each <img> tag
4826 has an `alt' attribute, to ensure XHTML validation.
4828 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4830 * org-publish.el (org-publish-attachment): Allow publishing to
4831 overwrite attachment files.
4833 * org-agenda.el (org-agenda-timerange-leaders): New option.
4834 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
4836 * org.el (org-edit-src-exit): Untabify ASCII image before
4839 2008-11-19 Glenn Morris <rgm@gnu.org>
4841 * org.el, org-mouse.el (org-agenda-change-all-lines):
4844 2008-11-18 Carsten Dominik <dominik@science.uva.nl>
4846 * org.el ("speedbar"): Only show context if the file really is an
4849 2008-11-17 Juanma Barranquero <lekktu@gmail.com>
4851 * org.el (org-time-string-to-absolute, org-small-year-to-year)
4852 (org-tags-sparse-tree): Fix typos in docstrings.
4854 2008-11-15 Carsten Dominik <dominik@science.uva.nl>
4856 * org-publish.el (org-publish-attachment): Allow copy-file to
4859 2008-11-13 Glenn Morris <rgm@gnu.org>
4861 * org-agenda.el (org-get-closed): Fix alias.
4863 2008-11-12 Juanma Barranquero <lekktu@gmail.com>
4865 * org.el (org-link-escape): Fix typo in docstring.
4867 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4869 * org.el (org-yank): Make any prefix force normal yanking.
4870 Suppress folding if text would be swallowed into a folded
4872 (org-yank-folded-subtrees, org-yank): Docstring updates.
4874 * org-agenda.el (org-agenda-compare-effort): Treat no effort
4877 * org-exp.el (org-export-language-setup): Add Catalan and
4878 Esperanto language entries.
4880 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4882 * org.el (org-refile): Allow refiling of entire regions.
4884 * org-clock.el (org-clock-time%): New function.
4886 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
4887 retrieve property values.
4889 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4891 * org-agenda.el (org-agenda-list): Handle the value `only' of
4892 org-agenda-show-log'.
4893 (org-agenda-log-mode): Interpret a double prefix arg.
4895 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4897 * org-exp.el (org-export-html-footnotes-section): New variable.
4898 (org-export-as-html): Use `org-export-html-footnotes-section' to
4899 insert the footnotes.
4900 (org-export-language-setup): Add "Footnotes" to language words.
4902 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4904 * org.el (org-yank): Fix bug when not inserting a subtree.
4906 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4908 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
4909 instead of `vm-beginning-of-message'.
4911 * org.el (org-make-link-regexps): Make sure that links to gnus can
4914 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4916 * org-attach.el (org-attach-dir): Remove duplicate ID creation
4919 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
4922 * org.el (org-link-abbrev-alist): Improve customization type.
4924 * org-attach.el (org-attach-expand-link, org-attach-expand): New
4927 * org-agenda.el (org-agenda-get-progress): Rename from
4928 `org-get-closed'. Implement searching for state changes as well.
4929 (org-agenda-log-mode-items): New option.
4930 (org-agenda-log-mode): New option prefix argument, interpreted as
4931 request to show all possible progress info.
4932 (org-agenda-get-day-entries): Call `org-get-progress' instead of
4934 (org-agenda-set-mode-name): Handle the more complex log mode
4936 (org-get-closed): New alias, pointing to `org-get-progress'.
4938 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
4940 * org.el (org-file-apps-defaults-gnu)
4941 (org-file-apps-defaults-macosx)
4942 (org-file-apps-defaults-windowsnt): Add an entry defining the
4944 (org-file-apps): Allow `system' as key and value.
4945 (org-open-at-point): Explain the effect of a double prefix arg.
4946 (org-open-file): If the argument `in-emacs' is (16),
4947 i.e. corresponding to a double prefix argument, try to open the
4950 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
4952 * org.el (org-insert-link): Abbreviate absolute files names in
4953 links. Also, fix a bug in which the double C-u prefix would not
4956 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
4958 * org.el (org-insert-heading): If buffer does not end with a
4959 newline, add one if necessary to insert headline correctly.
4961 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
4962 paragraphs, not inside.
4964 * org.el (org-todo): Quote
4965 `org-agenda-headline-snapshot-before-repeat'.
4967 * org-exp.el (org-export-as-html): Fully process link descriptions.
4968 (org-export-html-format-desc): New function.
4969 (org-export-as-html): Collect footnotes into the correct basket.
4970 (org-html-protect): No longer protect quotations marks here, this
4973 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
4976 * org-compat.el (org-fit-window-to-buffer): New function (not
4977 really, a preliminary and incomplete version was present earlier,
4980 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
4981 `org-fit-window-to-buffer'.
4983 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
4985 * org-agenda.el (org-agenda-get-restriction-and-command)
4986 (org-fit-agenda-window, org-agenda-convert-date): Use
4987 `org-fit-window-to-buffer'.
4989 * org-exp.el (org-export-as-html): Process href links through
4990 `org-export-html-format-href'.
4991 (org-export-html-format-href): New function.
4993 * org-agenda.el (org-agenda-todo): Update only the current
4994 headline if this is a repeated TODO, marked done for today.
4995 (org-agenda-change-all-lines): New argument JUST-THIS, to change
4996 only the current line.
4998 * org.el (org-todo): Take a snapshot of the headline if the
4999 repeater might change it.
5001 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5003 * org-publish.el (org-publish-find-title): Remove buffers visited
5004 only for extracting the title.
5006 * org-exp.el (org-export-html-style)
5007 (org-export-html-style-default): Mark style definitions as
5010 * org-publish.el (org-publish-validate-link): Function
5013 2008-11-12 Charles Sebold <csebold@gmail.com>
5015 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5017 (org-plot-quote-timestamp-field): New function.
5018 (org-plot-quote-tsv-field): Call timestamp field function when
5019 necessary rather than just quoting as a string.
5020 (org-plot/gnuplot-to-data): Pass in timefmt property.
5021 (org-plot/gnuplot-script): Supports timefmt property.
5022 (org-plot/gnuplot): Checks for timestamp column before checking
5023 for text index column.
5025 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5027 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5029 * org-publish.el (org-publish-org-index): Create a section in the
5031 (org-publish-org-index): Stop linking to directories.
5033 * org.el (org-emphasis-alist): Use span instead of <u> to
5036 * org-exp.el (org-export-as-html): Make sure <p> is closed before
5039 2008-11-12 Sebastian Rose <sebastian_rose@gmx.de>
5041 * org-jsinfo.el (org-infojs-template): Remove language attribute
5044 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5046 * org-agenda.el (org-agenda-remove-marked-text): New function.
5047 (org-agenda-mark-filtered-text)
5048 (org-agenda-unmark-filtered-text): New functions.
5049 (org-write-agenda): Remove fltered text.
5051 * org.el (org-make-tags-matcher): Give access to TODO "property"
5052 without speed penalty.
5054 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5056 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5058 (org-store-link-props): Make sure adding to the plist works
5061 * org-gnus.el (org-gnus-no-new-news): New function.
5062 (org-gnus-follow-link): Allow the article ID to be a message-id,
5063 in addition to allowing article numbers. Message IDs make much
5065 (org-gnus-store-link): Use message-id to create link.
5067 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5069 * org.el (org-emphasize): Reverse the selection array.
5070 (org-emphasis-alist): Set <code> tags for the verbatim
5073 * org-remember.el (org-remember-handler): Fix bug with
5074 prefix-related changing of the note storage target.
5076 * org-exp.el (org-print-icalendar-entries): Make the exported
5077 priorities compatible with RFC 2445.
5079 * org-clock.el (org-clock-save): Insert time stamp without
5080 dependence on time-stamp.el.
5082 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5084 * org.el ("saveplace"): If saveplace puts point into an invisible
5085 location, make it visible.
5086 (org-make-tags-matcher): Allow inactive time stamps in time
5088 (org-yank-adjusted-subtrees): New option.
5089 (org-yank): Incorporate adjusting trees.
5090 (org-paste-subtree): New argument FOR-YANK which will cause
5091 insertion at point without backing up over white lines, and leave
5092 point at the end of the inserted text. Also if the cursor is
5093 at the beginning of a headline, use the same level or the inserted
5096 * org-publish.el (org-publish-get-base-files-1): Deal correctly
5097 with broken symlinks.
5099 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
5101 * org-exp.el (org-export-select-tags, org-get-current-options):
5104 2008-11-06 Glenn Morris <rgm@gnu.org>
5106 * org-publish.el (org-publish-attachment): Use copy-file rather than
5109 2008-11-04 Juanma Barranquero <lekktu@gmail.com>
5111 * org.el (org-columns-modify-value-for-display-function):
5112 * org-table.el (org-table-convert-region): Fix typos in docstrings.
5114 2008-10-28 Glenn Morris <rgm@gnu.org>
5116 * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
5118 * org-list.el (outline-next-heading, outline-back-to-heading):
5121 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5123 * org-agenda.el (org-format-agenda-item)
5124 (org-agenda-filter-make-matcher): Make sure tags are stored and
5127 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5129 * org.el (org-insert-todo-heading): Fix bug with force-heading
5132 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5134 * org-exp.el (org-export-as-ascii): Handle the case that we are
5135 bulishing from an indirect buffer.
5137 * org-table.el (org-table-copy-down): Fix bug with time stamp
5140 * org-mouse.el (org-mouse-features): New option.
5141 (org-mode-hook): Turn on features depending on
5142 `org-mouse-features'.
5144 * org.el (org-insert-heading-respect-content): Force heading
5146 (org-insert-heading): keep the folding state of the heading before
5149 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5151 * org-archive.el (org-archive-to-archive-sibling): Handle top
5152 level headlines better.
5154 2008-10-26 Bastien Guerry <bzg@altern.org>
5156 * org-export-latex.el (org-export-latex-classes): Add
5157 \usepackage{graphicx} to the default list of packages.
5159 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5161 * org-agenda.el (org-agenda-filter): Rename from
5162 `org-agenda-filter-tags'.
5164 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5166 * org.el (org-entry-properties): Add CATEGORY property, iven if it
5167 is not defined as a property in this entry.
5168 (org-add-log-note): Mask prefix argument when immediately storing
5171 * org-agenda.el (org-agenda-filter-effort-default-operator): New
5174 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
5176 * org.el (org-add-log-setup): Bugfix; code to find insertion point
5177 after drawers was skipping ahead one line too many, so notes were
5178 inserted after the first note instead of before it.
5180 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5182 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5184 (org-prepare-agenda): Reset the filter tags.
5185 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5186 Show filter tags in mode line.
5188 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5191 * org-export-latex.el (org-latex-entities-regexp): New constant.
5192 (org-export-as-pdf): Use two calls to `shell-command'.
5194 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5196 * org-export-latex.el (org-export-latex-treat-sub-super-char):
5197 Honor the {} value of the subsuperscript setting. Make sure that
5198 longer subsuperscripts are typeset in a roman font.
5200 * org.el (org-clock-update-time-maybe): Compute negative clock
5201 intervals correctly.
5203 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5205 * org.el (org-add-log-setup): Respect
5206 `org-log-state-notes-insert-after-drawers'.
5207 (org-log-state-notes-insert-after-drawers): New option.
5208 (org-todo-trigger-tag-changes): New function.
5209 (org-todo): Call `org-todo-trigger-tag-changes'.
5211 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
5213 * org.el (org-add-log-setup): Only skip drawers if they are
5214 immediately after the scheduling keywords.
5216 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5218 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5219 call it with the current todo state to get the state to switch to
5221 (org-clock-in): Use org-indent-line-function to indent clock lines.
5222 (org-clock-find-position): Fix indentation of empty clock drawers.
5224 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5226 * org-publish.el (org-publish-org-to): Handle case when
5227 org-export-to-pdf does return a file name, not a buffer.
5228 (org-publish-org-to-pdf): New function.
5230 * org-export-latex.el (org-export-as-pdf)
5231 (org-export-as-pdf-and-open): New commands.
5233 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5236 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5237 things in protexted regions.
5239 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5241 * org-export-latex.el (org-export-latex-preprocess): Improve
5242 quoting of LaTeX environments.
5244 2008-10-19 Eli Zaretskii <eliz@gnu.org>
5246 * org.el (org-default-notes-file):
5247 * org-publish.el (org-publish-timestamp-directory):
5248 * org-id.el (org-id-locations-file): Run file names that begin
5249 with a period thru `convert-standard-filename'.
5251 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5253 * org-plot.el: Switch coding system to unix.
5255 2008-10-12 John Wiegley <johnw@newartisans.com>
5257 * org-attach.el: New file.
5259 2008-10-12 Carsten Dominik <carsten.dominik@gmail.com>
5261 * org.el (org-edit-fixed-width-region): Exclude final newline from
5264 * org-export-latex.el (org-export-latex-subcontent): Add labels to
5265 sections, to make internal links work.
5266 (org-export-latex-fontify-headline): Do not remove all text
5267 properties, to make sure that target properties survive this
5270 * org-exp.el (org-export-preprocess-string): Change sequence of
5271 modifications, to make sure links are prepared before the LaTeX
5272 conversions do happen.
5274 * org-attach.el (org-attach-delete-all): Rename from
5275 `org-attch-delete'. Add a security query before deleting the
5276 entire directory. New optional argument FORCE can overrule the
5278 (org-attach-delete-one): New command.
5280 * org-attach.el (org-attach-file-list): Fix bug with directory.
5282 * org.el (org-apps-regexp-alist): New function.
5283 (org-file-apps): Add auto-mode to the default value.
5284 (org-open-file): Use the new structure of org-file-apps.
5286 * org-attach.el (org-attach): Support the new keys.
5287 (org-attach-method): New option.
5289 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5292 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5293 of the list value o `org-use-tag-inheritance'.
5295 * org-attach.el (org-attach-auto-tag): New option.
5296 (org-attach-tag, org-attach-untag): New functions.
5297 (org-attach-attach, org-attach-new, org-attach-sync): Call
5299 (org-attach-delete): Call `org-attach-untag'.
5301 * org-table.el (orgtbl-self-insert-command): Make this work for
5304 * org.el (org-add-log-setup): Limit searc for drawers to entry
5305 text, not to subtree.
5307 * org-clock.el (org-clock-heading-for-remember): New variable.
5308 (org-clock-in): Set `org-clock-heading-for-remember'.
5310 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
5312 * org-remember.el (org-remember-apply-template): Add new
5313 expansions: %k, %K for currently clocked task and a link to the
5314 currently clocked task, and %< to file notes in the currently
5317 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5319 * org-export-latex.el (org-export-latex-make-header): Also insert
5320 the content of the property :latex-header-extra.
5322 * org-exp.el (org-infile-export-plist): Put the content of
5323 #+LATEX_HEADER: into the property :latex-header-extra.
5325 * org-colview.el (org-columns-get-format-and-top-level): Remove
5326 resetting the marker.
5328 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5329 Remove resetting the marker.
5331 * org.el (org-entry-property-inherited-from): Improve docstring.
5332 (org-entry-get-with-inheritance): Reset marker before starting the
5335 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5337 * org.el (org-entry-get-multivalued-property)
5338 (org-entry-protect-space, org-entry-restore-space): New
5340 (org-file-apps-defaults-macosx): Let postscript files be opened by
5342 (org-time-stamp-inactive): Call `org-time-stamp'.
5343 (org-time-stamp): New argument `inactive'. Also edit inacive
5344 stamps. Convert time stamp type.
5345 (org-open-file): Interpret the `default' value for the `command'
5348 * org-id.el (org-id-int-to-b36-one-digit)
5349 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5350 (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
5353 * org-id.el (org-id-reverse-string): New function.
5354 (org-id-new): Use `org-id-reverse-string' to make sure the
5355 beginning chars of the ID are mutating fast. This allows to use a
5356 directory structure to spread things better.
5357 (org-id-prefix): Change default to nil.
5359 * org-list.el (org-move-item-down, org-move-item-up): Remember and
5360 restore the column of the cursor position.
5362 * org-remember.el (org-remember-apply-template): Remove properties
5365 * org-wl.el (org-wl-open): Remove useless call to
5366 `wl-thread-open-all'.
5368 * org-remember.el (org-remember-handler): Fix bug with `bottom'
5371 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5372 `org-bbdb-anniversaries'.
5374 * org.el (org-get-next-sibling, org-forward-same-level): New
5375 functions, similar to the outline versions, but invisible headings
5378 2008-10-12 Bastien Guerry <bzg@altern.org>
5380 * org.el (org-auto-repeat-maybe): Insert a space between
5381 the timestamp's type and the timestamp itself.
5383 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5385 * org-table.el (org-table-sum): Do not format the result with %g,
5386 it does rounding when there are too many digits.
5388 * org.el (org-map-entries): Protect the keyword-selecting variables.
5390 2008-10-12 Bastien Guerry <bzg@altern.org>
5392 * org-agenda.el (org-agenda-to-appt): Make sure the function check
5393 against all agenda files.
5395 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5396 Bastien Guerry <bzg@altern.org>
5398 * org-list.el: New file, aggregating list functions from org.el
5399 and org-export-latex.el.
5401 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5403 * org.el (org-edit-src-region-extra): New option.
5405 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5408 2008-10-12 Bastien Guerry <bzg@altern.org>
5410 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5412 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
5414 * org-plot.el (org-plot/gnuplot): Make tables starting with a
5415 hline work correctly.
5416 (org-plot/gnuplot-script): Put commas at the end of each script
5419 * org.el (org-get-refile-targets): Replace links with their
5421 (org-imenu-get-tree): Replace links with their descriptions.
5423 * org-remember.el (org-remember-apply-template): Add a new
5424 expansion for adding properties to remember items.
5426 * org.el (org-add-log-setup): Skip over drawers (properties,
5427 clocks etc) when adding notes.
5429 * org-agenda.el (org-agenda-get-closed): show durations of clocked
5430 items as well as the start and end times.
5432 * org-compat.el (org-get-x-clipboard-compat): Add a compat
5433 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
5435 * org-remember.el (org-get-x-clipboard): Use the compat
5436 function to get clipboard values when x-selection-value is
5437 unavailable. Use substring-no-properties instead of
5438 set-text-properties to remove text properties from the clipboard
5441 * lisp/org-clock.el (org-update-mode-line): Support limiting the
5442 modeline clock string, and display the full todo value in the
5443 tooltip. Set a local keymap so mouse-3 on the clock string goes to
5444 the currently clocked task.
5445 (org-clock-string-limit): Add a custom value for the maximum
5446 length of the clock string in the modeline.
5447 (org-clock-mode-map): Add a keymap for the modeline string.
5449 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5451 * org-compat.el (org-propertize): New function.
5453 2008-10-12 Bastien Guerry <bzg@altern.org>
5455 * org-export-latex.el (org-export-latex-tables): protect exported
5456 tables from further special chars conversion.
5457 (org-export-latex-preprocess): Preserve LaTeX environments.
5458 (org-list-parse-list): Parse descriptive lists.
5459 (org-list-to-generic, org-list-to-latex, org-list-to-html)
5460 (org-list-to-texinfo): Export descriptive lists.
5461 (org-quote-chars): Remove.
5462 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
5463 (org-export-latex-list-beginning-re): Rename to
5464 `org-list-beginning-re'
5465 (org-list-item-begin): Rename to `org-list-item-beginning'.
5467 2008-10-12 Eric Schulte <schulte.eric@gmail.com>
5469 * org-plot.el: New file.
5471 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5473 * org.el (org-refile): Allow refiling to the last entry in the
5475 (org-get-tags-at): Fix bug when inheritance is turned off.
5477 * org.el (org-indent-line-function): No longer check for src
5478 regions, this is too much overhead.
5480 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
5483 * org.el (org-scan-tags): Make sure that tags matching is not case
5484 sensitive. TODO keyword matching is case sensitive, however, to
5485 avoid confusion with similar words that are not meant to be
5488 * org.el (org-get-local-tags-at): New function.
5489 (org-get-local-tags): New function.
5491 * org-exp.el (org-export-get-categories): New function.
5493 * org-agenda.el (org-sorting-choice)
5494 (org-agenda-sorting-strategy, org-agenda-get-todos)
5495 (org-agenda-get-timestamps, org-agenda-get-deadlines)
5496 (org-agenda-get-scheduled, org-agenda-get-blocks)
5497 (org-entries-lessp): Implement sorting by TODO state.
5498 (org-cmp-todo-state): New defsubst.
5500 * org-colview.el (org-colview-construct-allowed-dates): New
5502 (org-columns-next-allowed-value): Use
5503 `org-colview-construct-allowed-dates'.
5505 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
5507 (org-columns-next-allowed-value): Use
5508 `org-colview-construct-allowed-dates'.
5510 * org.el (org-protect-slash): New function.
5511 (org-get-refile-targets): Use `org-protect-slash'.
5513 * org-agenda.el (org-global-tags-completion-table): New variable.
5515 * org-exp.el (org-export-handle-export-tags): New function.
5516 (org-export-preprocess-string): Call
5517 `org-export-handle-export-tags'.
5519 * org-publish.el (org-publish-expand-components): Function removed.
5520 (org-publish-expand-projects): Allow components to have components.
5522 * org.el (org-indent-line-function): Do not indent in regions that
5523 are external source code.
5524 (org-yank-and-fold-if-subtree): New function.
5526 * org-agenda.el (org-agenda-todayp): New function.
5527 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
5528 `org-agenda-todayp'.
5530 * org.el (org-insert-heading-respect-content)
5531 (org-insert-todo-heading-respect-content): New commands.
5532 (org-insert-heading-respect-content): New option.
5533 (org-insert-heading): Respect `org-insert-heading-respect-content'.
5535 * org-clock.el (org-clock-find-position): Make sure the note after
5536 the clock line gets moved into the new clock drawer.
5538 * org-id.el (org-id-new): New option.
5540 * org-table.el (org-table-copy-down): Avoid overflow during
5541 increment. Use prefix argument 0 to temporarily disable the
5544 * org-exp.el (org-export-as-html): Do not turn on the major mode
5545 if the buffer will be killed anyway.
5546 (org-get-current-options): Exclude the #+TEXT field.
5547 (org-export-as-html): Make sure text before the first headline is
5550 * org-publish.el (org-publish-org-to): Tell the exporter that this
5551 buffer will be killed, so it is not necessary to do major mode
5554 * org-archive.el (org-archive-to-archive-sibling): Show empty
5555 lines after folding the archive sibling.
5557 * org.el (org-log-note-extra): New variable.
5559 2008-10-12 Bastien Guerry <bzg@altern.org>
5561 * org.el (org-additional-option-like-keywords): Add keywords for
5562 the _QUOTE, _VERSE and _SRC environments.
5564 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
5565 exporting _QUOTE and _VERSE environments.
5567 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
5569 * org-agenda.el (org-agenda-filter-by-tag): New command.
5571 * org-exp.el (org-get-current-options): Remove angular brackets
5572 from the date entry.
5574 * org.el (org-edit-fixed-width-region): New function.
5575 (org-edit-fixed-width-region): Also try
5576 `org-edit-fixed-width-region'.
5577 (org-edit-fixed-width-region-mode): New option.
5578 (org-activate-code): Only interprete lines starting with colon
5579 plus a space as example lines.
5581 * org-remember.el (org-remember-templates): Add nil instead of
5582 empty strings to fix the length of remember templates.
5584 * org-table.el (org-calc-default-modes): Fix the time format for
5585 calc, from 12 hour to 24 hour clock.
5587 * org-agenda.el (org-agenda-get-deadlines)
5588 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
5589 entries that are pre-warnings of deadlines or reminders.
5591 * org.el (org-sort-entries-or-items): Make numeric and alpha
5592 comparisons ignore any TODO keyword and priority cookie.
5594 * org-remember.el (org-remember-handler): Reinterpretation of the
5597 * org-agenda.el (org-agenda-get-scheduled): Use new
5598 `org-scheduled' face.
5600 * org-faces.el (org-scheduled): New face.
5602 * org-wl.el (org-wl-open): Remove incorrect declaration.
5604 * org-gnus.el (org-gnus-store-link): Support for :to information
5607 * org-exp.el (org-export-as-html): Fix typo in creator
5609 (org-export-protect-examples): New parameter indent. Insert extra
5610 spaces only when this parameter is specified.
5611 (org-export-preprocess-string): Call `org-export-protect-examples'
5612 with an indentation parameter when exporting to ASCII.
5614 * org-remember.el (org-remember-templates)
5615 (org-remember-apply-template): Allow the file component to be a
5618 * org.el (org-goto-local-search-headings): Rename from
5619 `org-goto-local-search-forward-headings'. Added the possibility
5620 to search backwards.
5622 * org-export-latex.el (org-export-latex): New customization
5625 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
5627 * org-exp.el (org-html-do-expand): Allow {} to terminate
5630 * org.el (org-buffer-list): Select buffers based on major mode,
5633 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
5636 * org-colview.el (org-columns-display-here): Use
5637 `org-columns-modify-value-for-display-function'.
5639 * org-colview-xemacs.el (org-columns-display-here): Use
5640 `org-columns-modify-value-for-display-function'.
5642 * org.el (org-columns-modify-value-for-display-function): New option.
5644 * org-publish.el (org-publish-file): Make sure the directory match
5645 for the publishing directory works correctly.
5647 * org-agenda.el (org-agenda-execute-calendar-command)
5648 (org-agenda-diary-entry): Additional optional argument.
5650 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
5652 * org-exp.el (org-export-as-html): Add attributes also in mailto
5655 * org.el (org-autoload): Add `org-dblock-write:columnview'.
5657 2008-08-11 Glenn Morris <rgm@gnu.org>
5659 * org-mac-message.el (do-applescript): Fix declaration.
5661 2008-08-10 Glenn Morris <rgm@gnu.org>
5663 * org-exp.el (org-export-as-html): Let-bind `i'.
5665 * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
5666 (org-extract-attributes): Let-bind `key', `value'.
5667 (org-make-tags-matcher): Let-bind `time-p'.
5669 2008-07-27 Carsten Dominik <dominik@science.uva.nl>
5671 * org-install.el: New file.
5673 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
5675 * org-exp.el (org-export-html-style)
5676 (org-export-html-style-extra): Declare as safe-local-variable.
5678 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
5680 * org-publish.el (org-publish-file): Use the true name of the
5683 * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
5686 * org-exp.el (org-export-plist-vars)
5687 (org-export-add-options-to-plist): Handle creator setting flag.
5688 (org-export-as-html): Handle attributes also for ftp and mailto
5691 * org-agenda.el (org-agenda-diary-entry)
5692 (org-agenda-execute-calendar-command): Cater for the second
5693 argument of `calendar-cursor-to-date'.
5695 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
5697 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
5698 sure that calls from `org-export-region-as-html' do not do the
5699 special check for a subtree.
5701 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
5703 * org.el (org-open-file): Use
5704 `org-open-directory-means-index-dot-org'.
5705 (org-open-directory-means-index-dot-org): New option.
5707 * org.el (org-make-link-string): Remove link attributes from
5709 (org-open-at-point): Remove link attributes before using the path.
5711 * org-exp.el (org-export-as-html): Handle link attributes.
5713 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
5715 * org-table.el (org-table-to-lisp): New function.
5717 * org.el (org-narrow-to-subtree): Do not include the final newline
5718 into the narrowed region.
5720 * org-agenda.el (org-agenda-custom-commands-local-options): Fix
5721 bug with user-define skipping condition.
5723 * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
5725 * org-exp.el (org-export-html-style-default): Automatic overflow
5726 handling for pre fields.
5727 (org-export-as-ascii, org-export-as-html): Change default format
5730 * org-table.el (org-table-export): Offer completion for translator
5731 functions, and do not require a heading above the table.
5733 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
5734 Cater for the case of a list starting in the first line of the
5737 * org-publish.el (org-publish-find-title): Bug fix.
5738 (org-publish-org-index): Implement new :index-style option.
5740 * org-publish.el (org-publish-timestamp-filename): Use
5741 SHA1-encoded file names in the timestamp directory.
5743 * org-publish.el (org-publish-needed-p): Be verbose about files
5744 published and files skipped.
5746 * org-exp.el (org-export-preprocess-string): Swap link
5747 normalization and internal link targeting.
5749 * org-publish.el (org-publish-needed-p): Create timestamp
5750 directory when it does not exist.
5752 * org-clock.el (org-clock-out-when-done): Doc fix.
5754 * org.el (org-agenda-skip-unavailable-files): Doc fix.
5756 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
5757 Ignore case when searching for the COMMENT cookie at export time.
5759 * org-exp.el (org-get-file-contents)
5760 (org-get-and-remove-property): New functions.
5761 (org-export-handle-include-files): Handle the new prefix options.
5762 (org-export-as-html): Fix the verse environment.
5764 * org.el (org-time=, org-time<, org-time<=, org-time>)
5765 (org-time>=, org-time<>, org-2ft): New functions.
5766 (org-op-to-function): Also provide for the time testing functions.
5768 * org-exp.el (org-export-html-style-default): New constant.
5770 * org-exp.el (org-export-html-style-extra): New variable.
5771 (org-export-splice-style): New function.
5773 * org-exp.el (org-export-plist-vars, org-export-as-html):
5774 Implement `org-export-creator-info'.
5775 (org-export-creator-info): New option.
5777 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
5778 (org-property-drawer-re, org-clock-drawer-re): New constants.
5780 * org-exp.el (org-icalendar-use-deadline)
5781 (org-icalendar-use-scheduled): New options.
5782 (org-icalendar-include-todo): Default changed to t.
5783 (org-print-icalendar-entries): Implement better utilization of
5784 scheduling and deadline time stamps.
5785 (org-export-target-internal-links, org-export-as-html): Allow file
5786 lines without the "file:" prefix if the file path is an absolute
5787 path or starts with ".".
5789 * org-clock.el (org-clocktable-shift): Also understand yesterday,
5791 (org-clock-special-range): Also understand yesterday, lastweek etc.
5793 * org.el (org-agenda-skip-archived-trees): Docstring now
5794 discourages using this.
5795 (org-scan-tags): Check for org-agenda-archives-mode.
5796 (org-map-entries): Make sure org-agenda-archives-mode is nil.
5797 (org-agenda-files): Functionality of second arg changed.
5799 * org-agenda.el (org-agenda-archives-mode): New variable
5800 (org-write-agenda, org-prepare-agenda, org-agenda-list)
5801 (org-search-view, org-todo-list, org-tags-view)
5802 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
5804 (org-agenda-quit): Reset the archives mode.
5805 (org-agenda-archives-mode): New command.
5806 (org-agenda-set-mode-name): Include archives info.
5808 * org.el (org-paste-subtree): Make sure the yanked headline is
5809 visible if it was yanked at a visible point.
5810 (org-move-item-up): Fix the bug with moving white space at the end
5812 (org-show-empty-lines-in-parent): New function.
5814 2008-07-19 Juri Linkov <juri@jurta.org>
5816 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
5817 new keymap `narrow-map' instead of binding "\C-xns".
5819 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
5821 * org.el (org-agenda-skip-unavailable-files):
5822 * org-clock.el (org-clock-out-when-done): Doc fixes.
5824 2008-06-18 Glenn Morris <rgm@gnu.org>
5826 * org.el (org-map-entries): Let-bind `file'.
5828 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5830 * org-colview.el (org-columns-next-allowed-value): Bug fix.
5832 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
5834 * org-agenda.el (org-agenda-get-closed): Get the end time into the
5835 agenda prefix as well.
5837 * org-publish.el (org-publish-org-index): Make a properly indented
5840 * org.el (org-calendar-agenda-action-key): New option.
5841 (org-get-cursor-date): New function.
5842 (org-mark-entry-for-agenda-action): New command.
5843 (org-overriding-default-time): New variable.
5844 (org-read-date): Respect `org-overriding-default-time'.
5846 * org-remember.el (org-remember-apply-template): Respect the
5847 overriding default time.
5849 * org-agenda.el (org-agenda-action-marker): New variable.
5850 (org-agenda-action): New command.
5851 (org-agenda-do-action): New function.
5853 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5855 * org.el (org-schedule, org-deadline): Protect scheduled and
5856 deadline tasks against changes that accidently remove the
5857 repeater. Also show a message with the new date when done.
5859 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5861 * org.el (org-beginning-of-line): Cater for the case when there
5862 are tags but no headline text.
5863 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
5866 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5868 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
5869 the return value is nil instead of "nil" when there is no match.
5871 * org-exp.el (org-insert-centered): Use fill-column instead of
5873 (org-export-as-ascii): Use string-width to measure the width of
5876 * org.el (org-diary-to-ical-string): No longer kill buffer
5877 FROMBUF, this is now done by the caller.
5879 * org-exp.el (org-print-icalendar-entries): Move the call to
5880 `org-diary-to-ical-string' out of the loop, and kill the buffer
5883 * org-remember.el (org-remember-visit-immediately): Position
5884 cursor after moving to the note.
5885 (org-remember-apply-template): Use a text property to record the
5887 (org-remember-handler): Align tags after pasting the note.
5889 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5891 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
5893 * org-agenda.el (org-agenda-open-link): If there is an
5894 org-bbdb-name property in the current line, jump to that bbdb
5897 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
5898 text property, so that the agenda knows where this entry comes
5901 * org-agenda.el (org-agenda-clock-in): Fix bug in the
5902 interaction between clocking-in from the agenda, and automatic
5903 task state switching.
5905 * org-macs.el (org-with-point-at): Bug fix in macro definition.
5907 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
5908 zmacs-region stays after this command in XEmacs.
5910 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5912 * org.el (org-scan-tags): Allow new values for ACTION parameter.
5914 * org-remember.el (org-remember-templates): Fix bug in
5915 customization type definition.
5917 * org.el (org-map-entries): New function.
5919 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5921 * org-agenda.el (org-agenda-skip-comment-trees): New option.
5922 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
5924 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5926 * org-remember.el (org-jump-to-target-location): New variable.
5927 (org-remember-apply-template): Set
5928 `org-remember-apply-template' if requested by template.
5929 (org-remember-handler): Start an idle timer to jump to
5932 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
5934 * org.el (org-set-regexps-and-options): Fix bug with parsing of
5936 (org-get-tags-at): Add the content of `org-file-tags'.
5938 * org-exp.el (org-export-handle-comments): Fix bug with several
5939 comment lines after each other.
5940 (org-number-to-roman, org-number-to-counter): New functions.
5941 (org-export-section-number-format): New option.
5943 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5945 * org-exp.el (org-export-protect-examples): Catch the case of a
5946 missing end_example line.
5948 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
5949 `org-file-tags' to nil.
5951 * org-colview.el (org-columns-next-allowed-value): Handle next
5952 argument NTH to directly select a value.
5954 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
5955 argument NTH to directly select a value.
5957 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5959 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
5961 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5963 * org.el (org-columns-ellipses): New option.
5965 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5967 * org-colview.el (org-columns-add-ellipses): New function.
5968 (org-columns-compact-links): New function.
5969 (org-columns-cleanup-item): Call `org-columns-compact-links'.
5970 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
5972 (org-columns-edit-value): Fix bug with editing values from
5974 (org-columns-redo): Also redo the agenda itself.
5976 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
5978 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
5981 * org-colview.el (org-agenda-columns-cleanup-item): New function.
5983 * org-exp.el (org-export-ascii-preprocess): Rename from
5984 `org-export-ascii-clean-string'.
5985 (org-export-kill-licensed-text)
5986 (org-export-define-heading-targets)
5987 (org-export-handle-invisible-targets)
5988 (org-export-target-internal-links)
5989 (org-export-remove-or-extract-drawers)
5990 (org-export-remove-archived-trees)
5991 (org-export-protect-quoted-subtrees)
5992 (org-export-protect-verbatim, org-export-protect-examples)
5993 (org-export-select-backend-specific-text)
5994 (org-export-mark-blockquote-and-verse)
5995 (org-export-remove-comment-blocks-and-subtrees)
5996 (org-export-handle-comments, org-export-mark-radio-links)
5997 (org-export-remove-special-table-lines)
5998 (org-export-normalize-links)
5999 (org-export-concatenate-multiline-links)
6000 (org-export-concatenate-multiline-emphasis): New functions,
6001 obtained from spliting the export preprocessor.
6003 * org-table.el (org-table-recalculate): Improve error message if
6004 the row number is invalid.
6006 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6008 * org-archive.el (org-archive-save-context-info): Fix bugs in
6009 customization setup and docstring.
6011 * org-exp.el (org-export-html-style): Change the size of in the
6012 <pre> element to 90%.
6014 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6016 * org.el (org-find-src-example-start): Function removed.
6017 (org-edit-src-find-region-and-lang): New function.
6019 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6021 * org.el (org-edit-src-exit): New function.
6022 (org-exit-edit-mode): New minor mode.
6024 * org-exp.el (org-export-preprocess-string): Fix bug with removing
6025 comment-like lines from protected examples.
6027 * org.el (org-edit-src-example, org-find-src-example-start)
6028 (org-protect-source-example, org-edit-special): New functions.
6030 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6032 * org-publish.el (org-publish-project-alist): Fix typo in
6034 (org-publish-project-alist): Handle :index-title property.
6036 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6038 * org-export-latex.el (org-export-as-latex): Make sure region
6039 bounds are correct. Parse subtree properties relating to export.
6041 * org-exp.el (org-export-add-options-to-plist): New function.
6042 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6044 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6046 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6049 * org-exp.el (org-export-get-title-from-subtree)
6050 (org-export-as-ascii, org-export-as-html): Make sure the original
6051 region-beginning and region-end are used, even after moving point.
6052 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6055 * org-remember.el (org-remember-last-stored-marker): New variable.
6056 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6057 (org-remember-handler): Also use marker to remember
6058 last-stored position.
6060 * org.el (org-goto-marker-or-bmk): New function.
6062 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6064 * org.el (org-file-properties): Rename from `org-local-properties'.
6065 (org-scan-tags): Take file tags into account.
6066 (org-tags-match-list-sublevels): Default changed to t.
6068 * org-exp.el (org-export-as-html): Close paragraph after a footnote.
6070 * org.el (org-update-parent-todo-statistics): New function.
6072 * org-exp.el (org-icalendar-store-UID): New option.
6073 (org-icalendar-force-UID): Option removed.
6074 (org-print-icalendar-entries): IMplement UIDs.
6076 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6078 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6080 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6082 * org-faces.el (org-column): Document how this face is being used
6083 and why sometimes the background faces shine through.
6085 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6087 * org-publish.el (org-publish-attachment): Create publishing
6088 directory if it does not yet exist.
6090 * org-table.el (org-calc-default-modes): Change default number
6091 format to (float 8).
6093 * org.el (org-olpath-completing-read): New function.
6094 (org-time-clocksum-format): New option.
6095 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6097 * org-clock.el (org-clock-display, org-clock-out)
6098 (org-update-mode-line): Use `org-time-clocksum-format'.
6100 * org-colview-xemacs.el (org-columns-number-to-string): Use
6101 `org-time-clocksum-format'.
6103 * org-colview.el (org-columns-number-to-string): Use
6104 `org-time-clocksum-format'.
6106 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6108 * org-id.el: New file, move from contrib to core.
6110 * org-exp.el (org-icalendar-force-UID): New option.
6112 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6114 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6115 shifted by one day if there is a date range without an end time.
6117 * org.el (org-try-structure-completion): New function.
6119 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6121 * org.el (org-set-font-lock-defaults): Improve fontification of
6123 (org-insert-item): Handle description lists.
6124 (org-adaptive-fill-function): Improve auto indentation in
6127 * org-exp.el (org-export-as-html, org-export-preprocess-string):
6128 Implement VERSE environment.
6129 (org-export-preprocess-string): Implement the COMMENT
6132 * org-export-latex.el (org-export-latex-preprocess): Implement
6135 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6137 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6140 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6142 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6144 * org.el (org-quote-csv-field): New functions.
6146 * org-table.el (org-table-export-default-format): Remove :splice
6147 from default format, we get the same effect by not specifying
6149 (org-table-export): Improve setup, distinguish better between
6150 interactive and non-interactive use, allow specifying the format
6151 on the fly, better protection against wrong file names.
6152 (orgtbl-to-generic): Fix documentation. Do not require :tstart
6153 and :tend when :splice is omitted.
6155 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6157 * org-clock.el (org-clock-select-task): Make sure the selection
6158 letters are 1-9 and A-Z, no special characters.
6160 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6162 * org-exp.el (org-export-htmlize): New group.
6163 (org-export-htmlize-output-type)
6164 (org-export-htmlize-css-font-prefix): New options.
6165 (org-export-htmlize-region-for-paste): New function.
6166 (org-export-htmlize-generate-css): New command.
6168 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6170 * org.el (org-set-visibility-according-to-property): New function.
6171 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6172 and compute the regular expressions, and update font-lock.
6173 (org-property-re): Allow a dash in property names.
6175 * org-archive.el (org-extract-archive-file): Insert the file name
6176 without the path into the format, to allow the location format to
6177 contain a subdirectory.
6179 * org-agenda.el (org-agenda-post-command-hook): If point is at end
6180 of buffer, and the `org-agenda-type' property undefined, use the
6181 value from the character before.
6183 * org.el (org-add-planning-info): Don't let indentation for
6184 would-be timestamp become extra whitespace at the end of headline.
6186 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6188 * org.el (org-remove-double-quotes, org-file-contents): New
6191 * org-exp.el (org-infile-export-plist): Also parse the
6192 contents of #+SETUPFILE files, recursively.
6194 * org.el (org-set-regexps-and-options): Also parse the
6195 contents of #+SETUPFILE files, recursively.
6197 * org-exp.el (org-export-handle-include-files): New function.
6198 (org-export-preprocess-string): Call
6199 `org-export-handle-include-files'.
6201 * org.el (org-delete-property-globally)
6202 (org-delete-property, org-set-property): Ignore case during
6204 (org-set-property): Use `org-completing-read' instead of
6207 * org.el (org-complete-expand-structure-template): New,
6208 experimental function.
6209 (org-structure-template-alist): New, experimental option.
6210 (org-complete): Call `org-complete-expand-structure-template'.
6212 2008-06-17 Bastien Guerry <bzg@altern.org>
6214 * org-export-latex.el (org-export-latex-preprocess):
6215 Add support for blockquotes.
6217 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6219 * org.el (org-read-date-analyze): Catch the case where only a
6222 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6224 * org.el (org-set-font-lock-defaults): Make the description
6227 * org-exp.el (org-export-as-html, org-close-li): Implement
6230 2008-06-17 Jason Riedy <jason@acm.org>
6232 * org-table.el (*orgtbl-default-fmt*): New variable.
6233 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6234 when there is no other fmt available.
6236 (orgtbl-to-generic): Allow an explicitly nil :tstart or
6237 :tend to suppress the appropriate string.
6239 (orgtbl-to-orgtbl): New function for translating to another orgtbl
6242 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6244 * org.el (org-read-date-analyze): "." as an alias for "+0" in
6247 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6250 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6253 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6255 * org-clock.el (org-clock-find-position): Don't include notes
6258 * org-archive.el (org-archive-subtree): No longer remove an
6259 extra line after cutting the subtree. `org-cut-subtree' already
6262 * org-remember.el (org-remember-handler): Only kill the target
6263 buffer if it does not contain the running clock.
6265 * org.el (org-markers-to-move): New variable.
6266 (org-save-markers-in-region, org-check-and-save-marker)
6267 (org-reinstall-markers-in-region): New function.
6268 (org-move-subtree-down, org-copy-subtree): Remember relative
6269 marker positions before cutting.
6270 (org-move-subtree-down, org-paste-subtree): Restore relative
6271 marker positions after pasting.
6273 * org-remember.el (org-remember-clock-out-on-exit): New option.
6274 (org-remember-finalize): Clock out only if the setting in
6275 `org-remember-clock-out-on-exit' requires it.
6276 (org-remember-handler): Do the cleanup in the buffer, to make sure
6277 that the clock marker remains in tact.
6279 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6281 * org-clock.el (org-clock-goto): Widen buffer if necessary.
6282 (org-clock-in): Make sure that also tasks outside the narrowed
6283 region will be clocked in correctly.
6284 (org-clock-insert-selection-line): Widen the buffer so that we can
6285 find the correct task heading.
6287 * org.el (org-base-buffer): New function.
6289 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6290 and ";" are escaped.
6291 (org-print-icalendar-entries): Also apply
6292 `org-icalendar-cleanup-string' to the headline, not only to the
6295 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
6297 * org-exp.el (org-export-preprocess-hook): New hook.
6298 (org-export-preprocess-string): Call `org-export-preprocess-hook'.
6300 * org.el (org-font-lock-hook): New variable.
6301 (org-font-lock-hook): New function.
6302 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6306 ;; add-log-time-zone-rule: t
6309 Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
6311 This file is part of GNU Emacs.
6313 GNU Emacs is free software: you can redistribute it and/or modify
6314 it under the terms of the GNU General Public License as published by
6315 the Free Software Foundation, either version 3 of the License, or
6316 (at your option) any later version.
6318 GNU Emacs is distributed in the hope that it will be useful,
6319 but WITHOUT ANY WARRANTY; without even the implied warranty of
6320 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6321 GNU General Public License for more details.
6323 You should have received a copy of the GNU General Public License
6324 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
6326 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c