1 2009-11-05 John Wiegley <jwiegley@gmail.com>
3 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
4 way the amount of idle time is presented in the minibuffer.
6 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
8 * org-icalendar.el (org-print-icalendar-entries): Use
9 org-icalendar-verify-function only if non-nil.
11 * org.el (org-refile): Refile to clock only if the prefix arg is
13 (org-sparse-tree): Fix docstring to be in line with prompt.
14 (org-update-parent-todo-statistics): Call
15 `org-after-todo-statistics-hook' on each level.
17 2009-11-04 Carsten Dominik <carsten.dominik@gmail.com>
19 * org-remember.el (org-remember-apply-template): Make sure the
22 2009-11-03 Carsten Dominik <carsten.dominik@gmail.com>
24 * org.el (org-tab-ind-state): New variable.
25 (org-cycle-level): New function.
26 (org-cycle-level-after-item/entry-creation): New option.
27 (org-flag-subtree): New function.
28 (org-hide-archived-subtrees): Call `org-flag-subtree'.
29 (org-set-effort): Indexed access.
31 * org-list.el (org-cycle-item-indentation): New function.
33 * org.el (org-refile): Make prefix argument 2 refile to current
35 (org-priority): Interpret action `remove' as call to remove the
38 * org-remember.el (org-remember-apply-template): Don't depend on
39 buffer name being like file name.
41 2009-11-02 Carsten Dominik <carsten.dominik@gmail.com>
43 * org-clock.el (org-clock-play-sound): Expand file in
44 org-clock-sound, to allow ~ for home.
46 * org-remember.el (org-remember-handler): Set
47 text-before-node-creation even if this already looks like a node,
48 because the string might be needed on non-org-mode target files.
50 * org-agenda.el (org-agenda-open-link): Make this work in agenda
52 (org-agenda-switch-to): Follow a link at point if
53 org-return-follows-link' is set and there is nothing else to do in
56 2009-11-01 Dan Davison <davison@stats.ox.ac.uk>
58 * org-exp-blocks.el: Modify split separator regexp to avoid empty
61 2009-11-01 Carsten Dominik <carsten.dominik@gmail.com>
63 * org-src.el (org-src-preserve-indentation): Document that this
64 variable is also used during export.
66 * org-exp.el (org-export-format-source-code-or-example): Preserve
67 indentation if a block has a -i option, or if
68 `org-src-preserve-indentation' is set.
70 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
71 indentation if a block has a -i option, or if
72 `org-src-preserve-indentation' is set.
74 2009-10-31 Carsten Dominik <carsten.dominik@gmail.com>
76 * org.el (org-mode-map): Define the new archiving keys.
77 (org-speed-commands-default): Define an archiving key in the speed
79 (org-org-menu): Improve the menu structure concerning archiving.
81 * org-archive.el (org-archive-subtree-default-with-confirmation):
84 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
85 (org-agenda-menu): Add the new archiving commands to the menu.
86 (org-agenda-archive-default)
87 (org-agenda-archive-default-with-confirmation): New commands.
88 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
89 call `org-agenda-archive-with'.
90 (org-agenda-archive-with): New function.
92 * org-table.el (org-table-convert-region): Inert spaces around "|"
93 to avoid line beginnings like "|-1" which will be mistaken as
96 2009-10-30 Carsten Dominik <carsten.dominik@gmail.com>
98 * org.el (org-offer-links-in-entry): Return nil if there are no
99 links, t if a link has been selected.
100 (org-open-at-point): Open attachment directory when called in the
101 headline and there are no links in the entry body.
102 (org-speed-commands-default): Add "o" for open-at-point as a speed
105 * org-attach.el (org-attach-reveal): Optional prefix arg
106 IF-EXISTS, which avoids creating the attachment directory if it
109 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
112 2009-10-29 Carsten Dominik <carsten.dominik@gmail.com>
114 * org.el ("abbrev"): Work with abbrev tables only after they have
117 * org-list.el (org-list-send-list): Fix bug related to match
120 * org-latex.el (org-export-latex-fontify): Apply verbatim
122 (org-export-latex-make-header): Insert \obeylines if line breaks
125 * org-exp.el (org-export-protect-verbatim): Add an
126 `org-verbatim-emph' property to such text.
128 2009-10-28 Carsten Dominik <carsten.dominik@gmail.com>
130 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
131 (org-print-icalendar-entries): Skip entries where the timestamp is
132 not a deadline and not scheduled, if the user requests that.
134 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
135 before an opening quote.
137 * org-archive.el (org-archive-subtree): Keep archive after
140 * org-id.el (org-id-update-id-locations): Add archive files if
141 that is required by `org-id-extra-files'.
143 2009-10-27 Carsten Dominik <carsten.dominik@gmail.com>
145 * org-src.el (org-src-window-setup): New option.
146 (org-src-switch-to-buffer): New function.
147 (org-edit-src-exit): Add optional argument CONTEXT and use it to
148 restore window configuration.
149 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
150 Call `org-src-switch-to-buffer'.
152 * org.el (org-default-properties): Add STYLE property.
153 (org-files-list): Use the function call to get the files.
154 (org-additional-option-like-keywords): Add SETUPFILE to completion
157 2009-10-26 Carsten Dominik <carsten.dominik@gmail.com>
159 * org-table.el (org-table-convert-region): Correctly interpret
160 quoting in csv import.
162 * org.el (org-icompleting-read): Make iswitchb completion work
163 with lists and tables.
165 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
166 while pushing the mobile agenda.
168 2009-10-25 John Wiegley <jwiegley@gmail.com>
171 (org-clock-auto-clock-resolution): Now takes three values: nil, t
172 and `when-no-clock-is-running'.
173 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
174 whether or not to resolve Org buffers on clock in.
176 2009-10-26 Bastien Guerry <bzg@altern.org>
178 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
181 2009-10-25 Carsten Dominik <carsten.dominik@gmail.com>
183 * org-clock.el (org-clock-has-been-used): New variable.
184 (org-clock-in): Set `org-clock-has-been-used'.
185 (org-clock-save): Save only if clock data has been used or created
188 2009-10-24 Carsten Dominik <carsten.dominik@gmail.com>
190 * org-clock.el (org-clock-persist): New value, to store only the
192 (org-clock-save): Don't save the clock if only the history should
194 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
195 when restoring a saved clock.
197 2009-10-24 John Wiegley <jwiegley@gmail.com>
199 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
200 `org-time-clock-use-fractional'.
202 * org.el (org-time-clocksum-use-fractional)
203 (org-time-clocksum-fractional-format): Two new customizable
204 variables which allow the user to select fractional times (1.25
205 instead of 1:25) in the `org-clock-display' report.
207 2009-10-23 John Wiegley <jwiegley@gmail.com>
209 * org-habit.el (org-habit-build-graph): None of the arguments
211 (org-habit-parse-todo, org-habit-deadline)
212 (org-habit-get-priority, org-habit-get-faces)
213 (org-habit-build-graph): Further simplifications by storing all
214 past, scheduled and deadline dates as a number of days past the
215 epoch, and not as times.
217 * org-habit.el (org-habit-warning-face)
218 (org-habit-warning-future-face): Removed because these are no
220 (org-habit-deadline, org-habit-deadline-repeat): Now always
221 returns a date; computed if there was a scheduled repeater but no
223 (org-habit-get-priority): Further improvements to the priority
224 algorithm. In particular, items past due should always appear
225 before items due or not yet due.
226 (org-habit-get-faces): Greatly simplified the logic, now that
227 `org-habit-deadline' always returns a valid time.
229 2009-10-23 Carsten Dominik <carsten.dominik@gmail.com>
231 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
234 * org.el (org-tag-alist): Fix customization type.
236 2009-10-22 Carsten Dominik <carsten.dominik@gmail.com>
238 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
239 Make sure the regexp search can fail without throwing an error.
240 (org-mobile-apply): Save the inbox buffer after removing
241 successfully applied changes.
243 2009-10-22 John Wiegley <jwiegley@gmail.com>
245 * org-habit.el (org-habit-build-graph): Fix to the graph building
246 when last DONE date is earlier than `org-habit-preceding-days'.
248 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
249 time is reported after the user comes back (but before they
252 * org.el (org-get-repeat): Change so that this function can be
253 called with either `org-scheduled-string' or
254 `org-deadline-string'.
256 * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
257 to find the scheduled date.
259 * org-clock.el (org-clock-auto-clock-resolution): Renamed
260 `org-clock-disable-clock-resolution', since negatives don't sound
261 good in customization variables.
262 (org-clock-in): Don't use the auto-resolution logic if the user is
263 clocking into a different task while an active clock is running.
264 This then allows the default behavior of clocking out of the open
265 task and then into the new task.
267 * org-habit.el (org-habit-parse-todo): Generate an error if a
268 habit has a scheduled repeat period < 1.
269 (org-habit-get-faces): Fixes to the way that colors are computed.
270 (org-habit-build-graph): The graph wasn't displaying beyond any
271 day that had two completions in it.
273 * org.el (org-modules): Made this variable more consistent, since
274 it was referring to Org, OrgMode and Org-mode, whereas the docs
275 for the variable always refer to Org-mode.
277 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
279 * org.el (org-repeat-re): The changed org-repeat-re no longer
280 matched simple +2d type repeaters. Fix it so it does.
282 2009-10-21 Carsten Dominik <carsten.dominik@gmail.com>
284 * org-latex.el (org-export-latex-preprocess): Protect the vspace
285 macro in the VERSE environment.
287 2009-10-20 John Wiegley <jwiegley@gmail.com>
289 * org-habit.el (org-habit-get-priority): A new function that
290 determines the relative priority of a habit, based on how long
291 past its scheduled date it is, and how near the deadline is.
293 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
294 using `org-habit-get-priority'.
296 * org-habit.el (org-habit-build-graph): Start displaying colors
297 from the first scheduled date, if that date is earlier than the
298 first completion date.
300 * org-habit.el: Changed all "color" variables to faces, and made
301 them appropriate for light and dark backgrounds.
303 * org-habit.el (org-habit-duration-to-days): Made this function
305 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
307 * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
308 habits, since they don't use DEADLINE anymore.
310 * org.el (org-repeat-re, org-display-custom-time)
311 (org-timestamp-change): Extended to support the new ".+N/N"
312 syntax, used for habits.
314 * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
317 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
318 modeline when habits are being displayed (if that module is being
321 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
323 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
324 idle time using the xscreensaver extension.
325 (org-user-idle-seconds): Use X11 idle time if available.
327 2009-10-20 Carsten Dominik <carsten.dominik@gmail.com>
329 * org-agenda.el (org-agenda-next-line): New command.
330 (org-agenda-previous-line): New commands.
331 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
333 (org-agenda-follow-mode): Do the follow immediately if the mode is
335 (previous-line, next-line): Replace keys with the corresponding
337 (org-agenda-mode-map): Bind backspace and delete to the scrolling
340 * org.el (org-icompleting-read): Turn off partial completion mode
341 for the duration of this completion round.
343 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
344 macros in author lines and similar stuff.
346 * org.el (org-file-tags): Fix docstring.
347 (org-get-buffer-tags): Add the #+FILETAGS tags.
348 ("ecb"): Maks ecb show context after jumping into an Org file.
350 2009-10-20 John Wiegley <johnw@newartisans.com>
352 * org-agenda.el (org-finalize-agenda): Draw habit consistency
353 graphs after everything else in the buffer has been setup.
355 2009-10-19 Carsten Dominik <carsten.dominik@gmail.com>
357 * org-mobile.el (org-mobile-apply): Count success and failure.
359 * org.el (org-indent-line-function): Fix regexp replace problem.
361 2009-10-19 John Wiegley <johnw@newartisans.com>
363 * org-clock.el (org-clock-disable-clock-resolution): New
364 customization variable that disable automatic clock resolution on
366 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
367 not automatically resolve anything. This is does not affect
368 idle-time resolution, however, if `org-clock-idle-time' is set.
370 2009-10-19 John Wiegley <johnw@newartisans.com>
372 * org-habit.el: New file, which implements code to build a "habit
375 * org-agenda.el (org-agenda-get-deadlines)
376 (org-agenda-get-scheduled): Display consistency graphs when
377 outputting habits into the agenda. The graphs are always relative
379 (org-format-agenda-item): Added new parameter `habitp', which
380 indicates whether we are formatting a habit or not. Do not
381 display "extra" leading information if habitp is true.
383 * org.el (org-repeat-re): Improved regexp to include .+ and ++
384 leaders for repeat strings.
385 (org-get-repeat): Now takes a string parameter `tagline', so the
386 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
388 2009-10-19 John Wiegley <johnw@newartisans.com>
390 * org-agenda.el (org-agenda-auto-exclude-function): New
391 customization variable for allowing the user to create an "auto
392 exclusion" filter for doing context-aware auto tag filtering.
393 (org-agenda-filter-by-tag): Changes to support the use of
394 `org-agenda-auto-exclude-function'. See the new manual addition,.
396 2009-10-18 John Wiegley <johnw@newartisans.com>
398 * org.el (org-files-list): Don't attempt to return a file name for
399 Org buffers which have no associated file.
401 * org-agenda.el (org-agenda-do-action): Fixed a typo.
403 2009-10-18 Carsten Dominik <carsten.dominik@gmail.com>
405 * org-mobile.el (org-mobile-locate-entry): Interpret files
406 relative to org-directory.
407 (org-mobile-inbox-for-pull): Document the best location for this
409 (org-mobile-check-setup): Verify `org-directory'.
410 (org-mobile-create-index-file): Sort the files to be listed in
413 2009-10-17 James TD Smith <ahktenzero@mohorovi.cc>
415 * org.el (org-fast-tag-selection): Add a way to display a
416 description for a tag group. This is done by adding a string to
417 either the startgroup or endgroup cell.
419 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
421 * org-clock.el (org-clock-resolve, org-resolve-clocks)
422 (org-emacs-idle-seconds): Use `org-float-time' instead of
425 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
427 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
430 * org.el (org-pre-cycle-hook): Document that `empty' can also be
431 the value of ARG when doing local cycling.
433 2009-10-17 John Wiegley <johnw@newartisans.com>
435 * org-clock.el (org-clock-resolve-clock): If keeping or
436 subtracting time results in a clock out at a time in the past, and
437 if the resolution occurred due to idleness or invoking `M-x
438 org-resolve-clocks', remember that past moment in time. On the
439 next clock in, the user will be prompted to see if they want to
440 back-date their new clock to then.
441 (org-clock-resolve): Do not jump the user to the location of a
442 dangling clock if the resolution is occuring due to an idle
443 timeout. In that case there is typically only one dangling clock,
444 the active one, and there is no value gained by shuffling their
445 windows around to show it to them. Being prompted to resolve an
446 idle clock should be as inobtrusive as possible.
447 (org-resolve-clocks-if-idle): New function that resolves only the
448 currently active clock if the user has exceeded the time returned
449 by `org-user-idle-seconds', based on the value of
450 `org-clock-idle-time'.
451 (org-clock-in): If, after resolving clocks,
452 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
454 * org-clock.el (org-clock-resolve-clock): New function that
455 resolves a clock to a specific time, closing or resuming as need
456 be, and possibly even starting a new clock.
457 (org-clock-resolve): New function used by `org-resolve-clocks'
458 that sets up for the call to `org-clock-resolve-clock'. It
459 determines the time to resolve to based on a single-character
460 selection from the user to either keep time, subtract away time or
462 (org-resolve-clocks): New user command which resolves dangling
463 clocks -- that is, open but not active -- anywhere in the file
464 list returned by `org-files-list'.
465 (org-clock-in): Automatically resolve dangling clocks whenever a
467 (org-clock-cancel): If the user cancels the solely clock in a
468 LOGBOOK, remove the empty drawer.
470 * org-clock.el (org-clock-idle-time): New user customizable option
471 for detecting whether the user has left a clock idle. Note: it is
472 only used in this commit to test whether it's worthwhile to check
473 OS X to get the Mac user's current idle time. If the Emacs idle
474 time is less than the value, the user hasn't been away long enough
475 to be worth checking (a more expensive test than just getting
477 (org-user-idle-seconds, org-mac-idle-seconds)
478 (org-emacs-idle-seconds): This three functions, in conjunction
479 with the user customization variable `org-clock-idle-time', return
480 the number of seconds (as a floating point) that the user has been
481 away from their Emacs (or, if running on OS X, their computer).
483 * org-clock.el (org-find-open-clocks): New function that returns a
484 list of all open clocks in the given FILE. Note that each clock
485 it returns is a cons cell of the format (MARKER . START-TIME).
486 This "clock" value is used by several of the new clock module
488 (org-is-active-clock): New inline function which tests whether the
489 given clock value is the same as the currently active clock.
490 Returns non-nil if this is the case.
491 (org-with-clock-position): New macro that evaluates FORMS with
492 point in the buffer and at the position of the given clock.
493 Changes to the current clock are global.
494 (org-with-clock): New macro that evaluates FORMS with point in the
495 buffer and at the position of the given clock. However, changes
496 to the current clock are local and have no effect on the user's
497 active clock. This allows, for example, far any clock to be
498 cancelled without cancelling the active clock.
499 (org-clock-clock-in): New inline function that switches the active
500 clock to the given clock. If either the argument RESUME, or the
501 global `org-clock-in-resume', are non-nil, it will resume a clock
502 that was previously left open.
503 (org-clock-clock-out): New inline function that clocks out the
504 given clock value without affecting the currently active clock.
505 (org-clock-clock-cancel): New inline function that cancels the
506 given clock value without affecting the currently active clock.
508 * org-clock.el (org-clock-in): Before creating
509 `org-clock-mode-line-timer', check to make sure an older timer is
510 not currently running.
511 (org-clock-out): Accept new third parameter `at-time', which
512 permits a clock to be clocked out at a specific time. Note that
513 no attempt is made to verify that the clock out time is later than
516 * org.el (org-files-list): New utility function for returning a
517 list of all open org-mode buffers, plus all files used to build
518 the agenda buffer. Note that not all the files will necessarily
519 be visited by a buffer at time of call.
520 (org-entry-beginning-position): Like the function
521 `line-beginning-position', this inline function returns the
522 beginning position of the current heading/entry.
523 (org-entry-end-position): Like the function `line-end-position',
524 this inline function returns the end position of the current
527 2009-10-16 Carsten Dominik <carsten.dominik@gmail.com>
529 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
532 2009-10-15 Carsten Dominik <carsten.dominik@gmail.com>
534 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
536 2009-10-14 Carsten Dominik <carsten.dominik@gmail.com>
538 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
539 entries that have no tags.
540 (org-agenda-search-view): New customize group.
541 (org-agenda-search-view-search-words-only): New option.
542 (org-search-view): Implement substring search.
544 2009-10-13 Carsten Dominik <carsten.dominik@gmail.com>
546 * org.el (org-outline-level): Add doc string.
548 2009-10-12 Carsten Dominik <carsten.dominik@gmail.com>
550 * org-inlinetask.el (org-inlinetask-export): Re-introduce
552 (org-inlinetask-export-handler): Only export inline task if the
553 user option calls for it.
555 2009-10-10 Carsten Dominik <carsten.dominik@gmail.com>
557 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
560 2009-10-07 Carsten Dominik <carsten.dominik@gmail.com>
562 * org-latex.el (org-export-latex-tables): Don't format in
565 2009-10-06 Carsten Dominik <carsten.dominik@gmail.com>
567 * org-src.el (org-edit-src-code)
568 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
571 * org-agenda.el (org-prefix-category-max-length): New variable.
572 (org-format-agenda-item): Use `org-prefix-category-max-length'.
573 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
575 2009-10-03 Carsten Dominik <carsten.dominik@gmail.com>
577 * org-mobile.el (org-mobile-create-index-file): Improve the
578 listing of tags and todo keywords.
580 * org-latex.el (org-export-latex-format-image): New function.
581 (org-export-latex-links): Use `org-export-latex-format-image'.
583 2009-10-02 Carsten Dominik <carsten.dominik@gmail.com>
585 * org-inlinetask.el (org-inlinetask-get-current-indentation)
586 (org-inlinetask-remove-terminator): New functions.
587 (org-inlinetask-export-handler): Terminate the description list.
589 * org-exp.el (org-export-select-backend-specific-text): Remove the
592 * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
593 tasks without content.
595 * org-clock.el: Make sure the clock-in target position does not
596 move to a different node by widening the buffer.
598 * org-html.el (org-export-html-format-image): Wrap image into
599 figure div only when there is a caption.
601 * org-archive.el (org-archive-mark-done): Change default value to
604 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
606 * org.el (org-context): Call `bobp', not `eobp'.
608 * org-clock.el (org-clock-cancel): Remove quotes from marker
611 * org.el (org-read-date-prefer-future): New allowed value `time'.
612 (org-read-date-analyze): Shift day to tomorrow depending on time
613 entered and value of `org-read-date-prefer-future'.
615 2009-09-30 Carsten Dominik <carsten.dominik@gmail.com>
617 * org.el (org-set-tags-to): New command.
619 * org-mobile.el (org-mobile-action-alist): Add more options and
620 update the docstring.
621 (org-mobile-apply-flags): Parse for and use the data.
623 * org-latex.el (org-export-latex-set-initial-vars): Also check in
626 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
629 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
631 2009-09-29 Carsten Dominik <carsten.dominik@gmail.com>
633 * org-inlinetask.el (org-inlinetask-export): Option removed.
634 (org-inlinetask-export-handler): Better export.
636 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
637 (org-export-as-xoxo): Run the new hook.
639 * org-html.el (org-export-html-final-hook): New hook.
640 (org-export-as-html): Run the new hook.
642 * org-docbook.el (org-export-docbook-final-hook): New hook.
643 (org-export-as-docbook): Run the new hook.
645 * org-ascii.el (org-export-ascii-final-hook): New hook.
646 (org-export-as-ascii): Run the new hook.
648 * org-mobile.el (org-mobile-create-sumo-agenda): Call
649 `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
651 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
652 space character as the character before the ^/_.
653 (org-export-latex-final-hook): New hook.
654 (org-export-as-latex): Run `org-export-latex-final-hook'.
656 2009-09-28 Carsten Dominik <carsten.dominik@gmail.com>
658 * org-macs.el (org-if-unprotected-at): Fix docstring.
660 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
661 text in the prefix (if category is a link).
663 * org-latex.el (org-export-latex-preprocess): Deal properly with
664 empty lines in verse environments.
666 * org.el (org-format-latex-header): Inline fullpage.sty.
668 * org-footnote.el (org-footnote-create-definition): Reveal context
669 to add a new footnote definition.
671 * org-mobile.el (org-mobile-files-alist): Add the list of tags to
673 (org-mobile-files): New option.
674 (org-mobile-files-alist, org-mobile-checksum-files): New variable.
675 (org-mobile-prepare-file-lists, org-mobile-files-alist): New
677 (org-mobile-push): Start by creating the files lists.
678 (org-mobile-copy-agenda-files): Move killing the buffer to after
679 the save-excursion has exited.
680 (org-mobile-write-checksums): Write checksums also for files in
683 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
684 org-table-recalculate when cursor is in TBLFM line.
686 * org-list.el (org-renumber-ordered-list): Fix cursor position
687 when bullet length has changed.
689 2009-09-26 Carsten Dominik <carsten.dominik@gmail.com>
691 * org.el (org-format-latex): Mention `org-format-latex-options' in
694 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
696 * org.el (org-agenda-get): New function.
698 * org-agenda.el (org-agenda-post-command-hook): No longer move
699 point away from end of line.
700 (org-agenda-add-entry-text, org-agenda-collect-markers)
701 (org-finalize-agenda, org-agenda-mark-clocking-task)
702 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
703 (org-agenda-entry-text-show, org-agenda-highlight-todo)
704 (org-agenda-compare-effort, org-agenda-filter-apply)
705 (org-agenda-later, org-agenda-change-time-span)
706 (org-agenda-post-command-hook, org-agenda-show-priority)
707 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
708 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
709 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
710 (org-agenda-open-link, org-agenda-copy-local-variable)
711 (org-agenda-switch-to, org-agenda-check-no-diary)
712 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
713 (org-agenda-add-note, org-agenda-change-all-lines)
714 (org-agenda-priority, org-agenda-set-tags)
715 (org-agenda-set-property, org-agenda-set-effort)
716 (org-agenda-toggle-archive-tag, org-agenda-date-later)
717 (org-agenda-show-new-time, org-agenda-date-prompt)
718 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
719 (org-agenda-clock-in, org-agenda-bulk-mark)
720 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
723 * org-colview.el (org-columns-display-here)
724 (org-columns-edit-allowed, org-agenda-columns): Use
727 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
729 * org.el (org-special-ctrl-a/e): Improve documentation and
731 (org-end-of-line): Don't jump to after the ellipsis.
732 (org-mode-map): Bind <home> and <end> as well.
734 2009-09-24 Carsten Dominik <carsten.dominik@gmail.com>
736 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
737 space after #+ as comments.
738 (org-open-at-point): Run `org-follow-link-hook' always.
740 * org-latex.el (org-export-latex-emph-format): Use better commands
741 to insert special characters in verbatim snippets.
743 2009-09-22 Carsten Dominik <carsten.dominik@gmail.com>
745 * org-faces.el (org-copy-face): New function. Use it to create
746 various faces formerly created by using `copy-face'.
748 * org-agenda.el (org-prepare-agenda): Don't officially mark this
750 (org-agenda-quit): Kill the frame containing the agenda window if
751 that frame was created for the agenda.
753 2009-09-21 Carsten Dominik <carsten.dominik@gmail.com>
755 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
758 2009-09-19 Carsten Dominik <carsten.dominik@gmail.com>
760 * org-mobile.el (org-mobile-create-index-file): Add the list of
761 TODO keywords, and the list of drawers to the index file.
763 * org-agenda.el (org-prepare-agenda): Reset
764 `org-drawers-for-agenda'.
765 (org-prepare-agenda): Uniquify list of drawers.
767 * org.el (org-complex-heading-regexp-format): New variable.
768 (org-set-regexps-and-options): Define
769 `org-complex-heading-regexp-format'.
770 (org-drawers-for-agenda): New variable.
771 (org-map-entries): Bind `org-drawers-for-agenda'.
772 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
774 * org-remember.el (org-go-to-remember-target)
775 (org-remember-handler): Use `org-complex-heading-regexp-format'.
777 2009-09-18 Carsten Dominik <carsten.dominik@gmail.com>
779 * org-agenda.el (org-agenda-highlight-todo): Fix text property
782 * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
783 the capture file, and make it non-configurable.
785 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
786 always with `invisible-ok'.
787 (org-store-link): No error when there is nothing to link to in the
790 * org-list.el (org-update-checkbox-count): Insert changed cookie
791 before the old, to avoid problems with invisibility at the end of
793 (org-update-checkbox-count): Insert changed cookie before the old,
794 to avoid problems with invisibility at the end of the line.
796 * org.el (org-sort-entries-or-items): Include the final newline.
797 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
798 lines for fontification.
799 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
800 (org-prepare-dblock): Store the current indentation of the BEGIN
802 (org-update-dblock): Apply the indentation of the begin line to
803 the rest of the block.
804 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
805 (org-startup-folded): New allowed value `showeverything'.
806 (org-startup-options): Add STARTUP keyword `showeverything'.
807 (org-set-startup-visibility): Respect value `showeverything' in
810 2009-09-17 Carsten Dominik <carsten.dominik@gmail.com>
812 * org.el (org-closest-date): Fix issue with past preference.
814 * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
816 * org-archive.el (org-archive-set-tag)
817 (org-archive-subtree-default): New commands.
819 * org-mobile.el (org-mobile-create-index-file): Fix link to
821 (org-mobile-copy-agenda-files): Create the capture file if it does
824 * org-clock.el (org-clock-clocktable-default-properties): New
826 (org-clock-report): Use
827 `org-clock-clocktable-default-properties'.
829 2009-09-16 Carsten Dominik <carsten.dominik@gmail.com>
831 * org.el (org-iswitchb-completing-read): Fix typo.
833 * org-crypt.el: New file.
835 * org.el: Add an entry for org-crypt.
837 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
839 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
841 (org-batch-store-agenda-views): New function.
842 (org-mobile-force-id-on-agenda-items): Mention variable.
843 (org-agenda-title-append): Define variable.
844 (org-write-agenda): New export to Org files.
845 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
846 (org-agenda): Allow to keep the restricted file list if a special
847 variable is bound to t.
848 (org-agenda): Define a special agenda view for working on flagged
850 (org-agenda-get-restriction-and-command): List the new agenda
852 (org-agenda-show-the-flagging-note): New command.
853 (org-agenda-mode-map): New key `?' for looking at the flagging
856 * org.el (org-autoload): Autoload org-mobile.el.
857 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
859 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
861 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
863 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
865 (org-table-get-remote-range): Match indented #+TBLNAME
868 * org.el (org-convert-to-odd-levels)
869 (org-convert-to-oddeven-levels): Work also correctly if the file
872 2009-09-12 Carsten Dominik <carsten.dominik@gmail.com>
874 * org.el (org-store-link): When in agenda buffer, link to
876 (org-add-planning-info): Remove spaces at eol.
878 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
881 2009-09-10 Carsten Dominik <carsten.dominik@gmail.com>
883 * org-latex.el (org-export-latex-first-lines): Fix problem with
884 LaTeX export of first line and selected subtree.
886 * org.el (org-shifttab): Interpret arg differently when using only
889 2009-09-09 Bastien Guerry <bzg@altern.org>
891 * org.el (org-check-agenda-file): Use a more explicit message
893 2009-09-08 Carsten Dominik <carsten.dominik@gmail.com>
895 * org-exp.el (org-export-remove-special-table-lines): Don't remove
898 2009-09-08 Bastien Guerry <bzg@altern.org>
900 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
901 prompt in the temporary window.
903 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
904 prefix for marked entries in the agenda view.
906 2009-09-07 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
908 * org.el (outline-end-of-subtree): Bugfix: advise this function in
909 a way that prevents any trailing character from being displayed.
911 2009-09-07 Carsten Dominik <carsten.dominik@gmail.com>
913 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
916 * org-exp.el (org-export-remove-special-table-lines): Remove bad
919 2009-09-06 Carsten Dominik <carsten.dominik@gmail.com>
921 * org-latex.el (org-export-latex-preprocess): Do not protect in
924 * org-src.el (org-edit-src-save): Save window setup while saving.
925 (org-edit-src-code): Use new buffer name construction scheme.
927 2009-09-04 Carsten Dominik <carsten.dominik@gmail.com>
929 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
931 (org-agenda-entry-text-cleanup-hook): New hook.
932 (org-agenda-get-some-entry-text): Remove matches of
933 `org-agenda-entry-text-exclude-regexps' and run the hook
934 `org-agenda-entry-text-cleanup-hook'.
936 * org.el (org-offer-links-in-entry): New argument ZERO to
937 implement a link with index zero.
938 (org-cycle-show-empty-lines): Not keep empty line under header
940 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
941 to nil for special completion.
942 (org-store-link): Don't error before the first heading.
944 * org-agenda.el (org-agenda-open-link): Pass the prefix to
945 `org-offer-links-in-entry'.
947 2009-09-03 Carsten Dominik <carsten.dominik@gmail.com>
949 * org-agenda.el (org-agenda-quit): Provide the window argument for
950 `window-dedicated-p', Emacs 22 needs it.
951 (org-format-agenda-item): If the category is a link, arrange for
952 invisible text to replaced with spaces.
953 (org-compile-prefix-format): Add the extra space.
954 (org-prefix-category-length): New variable.
956 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
957 references from TOC lines.
959 * org.el (org-selected-window): New variable.
961 * org-table.el (org-table-edit-formulas): Remember the selected
963 (org-table-fedit-finish, org-table-fedit-abort): Select the window
964 that was originally selected.
966 * org-exp.el (org-export-preprocess-apply-macros): Scan the
967 expansion of a macro for more macro definitions.
969 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
970 invisibility overlay starts on the newline.
972 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
974 * org-protocol.el (org-protocol-store-link)
975 (org-protocol-remember, org-protocol-open-source): Add autoloads.
977 * org-compat.el (org-float-time): New function.
979 * org.el (org-clock-update-time-maybe)
980 (org-sort-entries-or-items, org-do-sort)
981 (org-evaluate-time-range, org-time-string-to-seconds)
982 (org-closed-in-range): Use `org-float-time'.
984 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
985 (org-timer-seconds): Use `org-float-time'.
987 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
988 (org-clock-sum, org-dblock-write:clocktable)
989 (org-clocktable-steps): Use `org-float-time'.
991 * org-agenda.el (org-agenda-last-marker-time)
992 (org-agenda-new-marker, org-diary): Use `org-float-time'.
994 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
997 * org-exp.el (org-get-file-contents): Only protect lines that
1000 * org-html.el (require): Require cl for compilation.
1002 * org.el: Avoid using `default-major-mode'.
1004 * org-plot.el (require): Require CL only at compile time.
1006 * org-exp.el (require): Require CL only at compile time.
1008 * org-agenda.el (org-agenda-quit): When the agenda window is
1009 dedicated, remove other windows before exiting, so that the frame
1010 really will be killed.
1012 * org-exp.el (org-export-handle-include-files): Reset START and
1013 END for each loop cycle.
1015 2009-09-01 Carsten Dominik <carsten.dominik@gmail.com>
1017 * org.el (org-eval-in-calendar): Use
1018 `org-select-frame-set-input-focus'.
1020 * org-compat.el (org-select-frame-set-input-focus): New function.
1022 * org.el (org-update-statistics-cookies): New function.
1023 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1025 2009-08-31 Carsten Dominik <carsten.dominik@gmail.com>
1027 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1028 after the local variables are set.
1030 * org-latex.el (org-export-latex-protect-amp): New function.
1031 (org-export-latex-links): Protect link ampersands in tables.
1033 * org-exp.el (org-export-select-backend-specific-text): Match in
1034 two steps, to avoid regexp problems.
1036 * org.el (org-offer-links-in-entry): Improve working with many and
1039 * org-agenda.el (org-agenda-show-1): Make more consistent with
1041 (org-agenda-cycle-show): Make more consistent with normal cycling.
1043 * org-gnus.el (org-gnus-store-link): Restore the linking to a
1046 2009-08-30 Bastien Guerry <bzg@altern.org>
1048 * org-latex.el (org-export-latex-first-lines): Bugfix.
1050 2009-08-29 Carsten Dominik <carsten.dominik@gmail.com>
1052 * org-clock.el (org-clock-modify-effort-estimate): Emit message
1055 * org.el (org-set-effort): New function.
1056 (org-mode-map): New key for effort setting command.
1058 * org-agenda.el (org-agenda): Keep window setup when calling
1059 agenda from within agenda window.
1060 (org-agenda-mode-map): New keys for effort setting commands.
1061 (org-agenda-menu): Add effort setting commands to menu.
1062 (org-agenda-set-property, org-agenda-set-effort): New functions.
1064 * org-latex.el (org-export-latex-tables): Fix
1065 `org-table-last-alignment' and `org-table-last-column-widths' if
1066 the first column has been removed.
1068 2009-08-28 Carsten Dominik <carsten.dominik@gmail.com>
1070 * org.el (org-remove-timestamp-with-keyword): Only remove in
1071 entry, not in subtree.
1073 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1076 * org.el (org-open-at-point): When on headline, offer all strings
1079 * org-remember.el (org-remember-templates): Documentation fix.
1081 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1082 `org-get-last-sibling' instead of the outline versions of these
1084 (org-get-last-sibling): New function.
1085 (org-refile): Use `org-get-next-sibling' instead of the outline
1086 version of this function.
1087 (org-clean-visibility-after-subtree-move): Use
1088 `org-get-next-sibling' and `org-get-last-sibling' instead of the
1089 outline versions of these functions.
1091 2009-08-27 Carsten Dominik <carsten.dominik@gmail.com>
1093 * org-agenda.el (org-prepare-agenda): When creating a new frame
1094 for the agenda, make the window dedicated.
1096 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1098 * org-table.el (org-table-align): Change the order of reinsertion
1099 and deletion, to avoid problems with overlays following the table.
1101 * org.el (org-parse-time-string): Better error message.
1102 (org-show-subtree): Use org-end-of-subtree.
1104 * org-macs.el (org-goto-line): New defsubst.
1106 * org.el (org-open-file, org-change-tag-in-region)
1107 (org-fast-tag-show-exit): Don't use `goto-line'.
1109 * org-table.el (org-table-align, org-table-insert-column)
1110 (org-table-delete-column, org-table-move-column)
1111 (org-table-sort-lines, org-table-copy-region)
1112 (org-table-paste-rectangle, org-table-wrap-region)
1113 (org-table-get-specials, org-table-rotate-recalc-marks)
1114 (org-table-get-range, org-table-recalculate)
1115 (org-table-edit-formulas, org-table-fedit-convert-buffer)
1116 (org-table-show-reference, org-table-highlight-rectangle): Don't
1119 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1120 (org-edit-src-exit): Don't use `goto-line'.
1122 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1124 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1125 Don't use `goto-line'.
1127 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1129 * org-colview.el (org-columns, org-columns-redo)
1130 (org-agenda-columns): Don't use `goto-line'.
1132 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1135 * org-agenda.el (org-agenda-mode): Force visual line motion off.
1136 (org-agenda-add-entry-text-maxlines): Improve docstring.
1137 (org-agenda-start-with-entry-text-mode): New option.
1138 (org-agenda-entry-text-maxlines): New option.
1139 (org-agenda-entry-text-mode): New variable.
1140 (org-agenda-mode): Set initial value of
1141 `org-agenda-entry-text-mode'.
1142 (org-agenda-mode-map): Add the `E' key.
1143 (org-agenda-menu): Add entry text mode to the menu.
1144 (org-agenda-get-some-entry-text): Fix line count bug.
1145 (org-finalize-agenda): Apply entry text mode if appropriate.
1146 (org-agenda-entry-text-show-here): New function.
1147 (org-agenda-entry-text-show): New function.
1148 (org-agenda-entry-text-hide): New function.
1149 (org-agenda-view-mode-dispatch): Add entry text mode to the view
1151 (org-agenda-entry-text-mode): New command.
1152 (org-agenda-set-mode-name): Add entry text mode to the mode line
1154 (org-agenda-undo, org-agenda-get-restriction-and-command)
1155 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1158 2009-08-26 Bernt Hansen <bernt@norang.ca>
1160 * org-clock.el (org-notify): Bugfix.
1162 2009-08-25 Carsten Dominik <carsten.dominik@gmail.com>
1164 * org-agenda.el (org-agenda-open-link): Handle multiple links and
1165 check for after-string.
1167 * org-gnus.el (org-gnus-store-link): Simplify.
1169 * org.el (org-latex-regexps): Don't add extra empty lines for
1172 2009-08-24 Carsten Dominik <carsten.dominik@gmail.com>
1174 * org-agenda.el (org-agenda-get-some-entry-text): New function.
1175 (org-agenda-add-entry-text): Use
1176 `org-agenda-get-some-entry-text'.
1178 * org.el (org-cycle-separator-lines): Update docstring.
1179 (org-cycle-show-empty-lines): Handle negative values for
1180 `org-cycle-show-empty-lines'.
1182 * org-exp.el (org-export-protect-sub-super): New function.
1183 (org-export-normalize-links): Protect the url of plain links from
1184 supscript and superscript processing.
1186 * org-remember.el (org-remember-escaped-%): New function.
1187 (org-remember-apply-template): Use `org-remember-escaped-%' to
1188 detect escaped % signs.
1190 2009-08-23 Bastien Guerry <bzg@altern.org>
1192 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1193 sound when showing the notification.
1195 * org-clock.el (org-notify): New function.
1196 (org-clock-notify-once-if-expired): Use `org-notify'.
1198 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1199 and `gnus-article-mode' separately.
1200 (gnus-summary-article-header): Fix the declare-function.
1202 2009-08-23 Carsten Dominik <carsten.dominik@gmail.com>
1204 * org-exp.el (org-export-format-source-code-or-example): Translate
1207 * org-src.el (org-src-lang-modes): New variable
1208 (org-edit-src-code): Translate language.
1210 * org-exp.el (org-export-format-source-code-or-example): Deal wit
1211 the new structure of the `org-export-latex-listings-langs'
1214 * org-latex.el (org-export-latex-listings-langs): Change structure
1215 of the variable from plist to alist.
1217 2009-08-21 Carsten Dominik <carsten.dominik@gmail.com>
1219 * org.el (org-in-commented-line): New function.
1221 2009-08-20 Carsten Dominik <carsten.dominik@gmail.com>
1223 * org.el (org-hide-block-toggle): Make folded blocks searchable.
1225 2009-08-19 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
1227 * org.el (org-flag-drawer): More useful error.
1229 2009-08-19 Carsten Dominik <carsten.dominik@gmail.com>
1231 * org-remember.el (org-remember-apply-template): Use
1232 org-icompleting-read.
1234 * org-publish.el (org-publish): Use org-icompleting-read.
1236 * org-colview.el (org-columns-edit-value, org-columns-new)
1237 (org-insert-columns-dblock): Use org-icompleting-read.
1239 * org-colview-xemacs.el (org-columns-edit-value)
1240 (org-columns-new, org-insert-columns-dblock): Use
1241 org-icompleting-read.
1243 * org-attach.el (org-attach-delete-one, org-attach-open): Use
1244 org-icompleting-read.
1246 2009-08-18 Carsten Dominik <carsten.dominik@gmail.com>
1248 * org.el (org-hierarchical-todo-statistics): Improve docstring.
1249 (org-version): Return the version text.
1250 (org-org-menu): Add a menu entry for the new bug reporter.
1251 (org-submit-bug-report): New command.
1253 * org-list.el (org-hierarchical-checkbox-statistics): Improve
1256 * org.el (org-emphasis-regexp-components): Add "`" to set of
1257 pre-emphasis characters.
1259 * org-latex.el (org-export-latex-classes): Always include the soul
1261 (org-export-latex-emphasis-alist): Use \st for strikethough.
1263 * org-exp-blocks.el (org-export-blocks-preprocess): Use
1264 `indent-code-rigidly' to indent.
1266 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1267 properties only if MATCH really is a string.
1269 2009-08-16 Carsten Dominik <carsten.dominik@gmail.com>
1271 * org-latex.el (org-export-latex-packages-alist): Fix
1274 * org.el (org-create-formula-image): Also use
1275 `org-export-latex-packages-alist'.
1277 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1278 (org-export-as-html): Format footnotes correctly.
1280 2009-08-14 Carsten Dominik <carsten.dominik@gmail.com>
1282 * org.el (org-fast-tag-selection): Avoid text properties on tags
1285 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1286 text properties on the match element.
1288 2009-08-12 Carsten Dominik <carsten.dominik@gmail.com>
1290 * org.el (org-set-regexps-and-options): Make sure the list of done
1291 keywords is not invalid.
1293 * org-exp.el (org-export-interpolate-newlines): New function.
1295 2009-08-11 Carsten Dominik <carsten.dominik@gmail.com>
1297 * org.el (org-format-latex): Avoid nested overlays.
1299 * org-latex.el (org-export-latex-listings-langs): Add a few more
1302 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1303 ignore newlines and space before the first macro argument.
1305 * org-latex.el (org-export-latex-tables): Remove save-excursion
1306 around `org-table-align'.
1308 2009-08-10 Carsten Dominik <carsten.dominik@gmail.com>
1310 * org.el (org-export-html-special-string-regexps): Definition
1313 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1316 2009-08-09 Carsten Dominik <carsten.dominik@gmail.com>
1318 * org-latex.el (org-export-latex-listings)
1319 (org-export-latex-listings-langs): New options.
1321 * org-exp.el (org-export-format-source-code-or-example): Use
1322 listing package if requested by the user.
1324 2009-08-08 Bastien Guerry <bzg@altern.org>
1326 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1327 command before actually switching to a buffer.
1329 2009-08-07 Carsten Dominik <carsten.dominik@gmail.com>
1331 * org-exp.el (org-get-file-contents): Only quote org lines when
1332 the markup is src or example.
1334 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1336 (org-agenda-get-day-entries): Remember deadline results and pass
1337 them on into the function getting the scheduling information.
1338 (org-agenda-get-scheduled): Accept deadline results as parameters
1339 and maybe skip some entries.
1340 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1342 * org.el (org-insert-heading): When respecting content, do not
1343 convert current line to headline.
1345 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1346 cheeeeeck the hd marker
1347 (org-clock-in): Also set the hd marker.
1348 (org-clock-out): Also set the hd marker.
1349 (org-clock-cancel): Reset markers.
1351 * org.el (org-clock-hd-marker): New marker.
1353 * org-faces.el (org-agenda-clocking): New face.
1355 * org-agenda.el (org-agenda-mark-clocking-task): New function.
1356 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1358 * org.el (org-modules): Add org-track.el.
1360 * org-agenda.el (org-agenda-bulk-marked-p): New function.
1361 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1362 `org-agenda-bulk-marked-p'.
1363 (org-agenda-bulk-toggle): New command.
1365 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1367 * org.el (org-move-subtree-down): Hide subtree if it was folded,
1370 * org-remember.el (org-remember-finalize): Avoid buffer-modified
1373 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
1375 * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
1376 before gnuplot can read it.
1378 2009-08-05 Carsten Dominik <carsten.dominik@gmail.com>
1380 * org-latex.el (org-export-latex-first-lines): Fix bug with
1381 finding the end of the first lines.
1383 * org.el (org-create-formula-image): Remove the -E option for
1386 * org-exp.el (org-default-export-plist): Respect #+BIND.
1387 (org-export-confirm-letbind): New function.
1389 * org.el (org-paste-subtree): Test the kill ring entry if it is
1391 (org-copy-subtree): Use `org-forward-same-level'.
1392 (org-forward-same-level): Respect the `invisibe-ok' arg for
1395 2009-08-04 Carsten Dominik <carsten.dominik@gmail.com>
1397 * org.el (org-table-map-tables): Make sure cursor is back at table
1398 beginning after funcall.
1400 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1401 handled before children, and do not error if an entry is not
1402 found, probably because it hase been remove when the parent was
1403 archived or refiled.
1405 * org.el (org-ido-completing-read): Accept straight lists for
1406 completion as well as alists.
1408 * org-html.el (org-export-as-html): Fix parenthesis error in
1411 * org-timer.el (org-timer-cancel-timers): Renamed from
1412 `org-timer-cancel-timers'.
1414 * org.el (org-cycle-internal-local): Fix problem with finding next
1417 2009-08-03 Carsten Dominik <carsten.dominik@gmail.com>
1419 * org-list.el (org-list-send-list): Call
1420 `org-list-goto-true-beginning' instead of
1421 `org-list-find-true-beginning', which does not exist.
1423 * org-timer.el (org-timer-reset-timers): Use `mapc'.
1424 (org-timer-set-timer): Do not assign to heading.
1426 * org-id.el (org-id-open): Quote function name.
1428 * org-macs.el (org-unmodified): Turn off recording undo
1429 information while running inside the macro.
1431 * org-indent.el (org-hide-leading-stars-before-indent-mode): New
1433 (org-indent-mode): Remember and restore value of
1434 org-hide-leading-stars before `org-indent-mode'.
1436 * org-table.el (org-table-export): Also work in file-less
1439 * org.el (org-startup-indented): New option.
1440 (org-startup-options): Add new options indent and noindent.
1441 (org-unfontify-region): Remove line-prefix and wrap-prefix
1443 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
1445 (org-promote, org-demote): Run the new hooks.
1447 * org-table.el (org-table-align): Replace leading \n as well.
1449 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
1450 and `line-wrap' text properties.
1452 * org-compat.el (org-kill-new): New function.
1454 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
1455 `line-wrap' text properties.
1457 * org-indent.el: New file.
1459 2009-08-02 Carsten Dominik <carsten.dominik@gmail.com>
1461 * org.el (org-provide-todo-statistics): Tweak docstring.
1463 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
1465 2009-08-01 Carsten Dominik <carsten.dominik@gmail.com>
1467 * org-exp.el (org-export-as-org): Insert the "-source" string
1468 before the extension.
1470 * org.el (org-read-date): Make sure the calendar is in the current
1472 (org-set-emph-re): Remove the ? from the post-match.
1473 (org-emphasis-regexp-components): Add backslash to the
1475 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
1476 optional so that also lines at the end of the buffers will still
1477 be matched as headlines.
1479 * org-table.el (org-table-error-on-row-ref-crossing-hline):
1480 Variable made obsolete.
1481 (org-table-relative-ref-may-cross-hline): New option.
1482 (org-table-find-row-type): Honow the new option
1483 `org-table-relative-ref-may-cross-hline'.
1485 2009-07-31 Carsten Dominik <carsten.dominik@gmail.com>
1487 * org-table.el (org-table-cut-region, org-table-copy-region): Work
1488 on single field if no active region.
1490 2009-07-27 Carsten Dominik <carsten.dominik@gmail.com>
1492 * org-latex.el (org-export-latex-make-header): Only insert title
1495 * org.el (org-make-options-regexp): Allow empty values.
1497 * org-html.el (org-export-as-html): Move hrule detection to after
1498 plain list handling.
1500 2009-07-26 Carsten Dominik <carsten.dominik@gmail.com>
1502 * org-html.el (org-format-org-table-html): Fix colgroup tags.
1504 2009-07-23 Carsten Dominik <carsten.dominik@gmail.com>
1506 * org.el (org-cycle-internal-local): Improved version of finding
1508 (org-cycle-hide-drawers): Only hide drawers if this is really
1510 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
1511 org-version of this function in Org-mode. We use advice to
1512 implement this change, so that future changes to this function in
1513 outline.el wil be handled properly.
1514 (org-forward-same-level, org-backward-same-level): New commands.
1516 2009-07-21 Carsten Dominik <carsten.dominik@gmail.com>
1518 * org.el (org-remove-empty-overlays-at)
1519 (org-clean-visibility-after-subtree-move): New functons.
1520 (org-move-subtree-down): Simplify cleanup of display.
1522 2009-07-20 Carsten Dominik <carsten.dominik@gmail.com>
1524 * org-mac-message.el (org-mac-message-get-links): Improve
1525 docstring. Make argument SELECT-OR-FLAGGED optional, default to
1526 "s". Fix the return value.
1527 (org-mac-message-insert-flagged): Simplify.
1529 * org.el (org-refile-get-location): Tamper with refile history o
1530 that history contains compete matches instead of the entered
1533 2009-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1535 * org.el (org-store-link): Never store a link to an inline task.
1537 * org-inlinetask.el (org-inlinetask-insert-task): New command.
1539 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
1540 inline tasks when positioning footnotes.
1542 * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
1545 * org.el (org-refile): Remove the END line when archiving an
1546 inline task that does have an END line.
1548 * org-archive.el (org-archive-subtree): Remove the END line when
1549 archiving an inline task that does have an END line.
1551 * org-macs.el (org-with-limited-levels): New macro.
1552 (org-get-limited-outline-regexp): New function.
1554 * org-exp.el (org-export-format-source-code-or-example): Fix bug
1555 that did not enumerate first line.
1556 (org-export-mark-radio-links): Skip matches in links.
1558 2009-07-18 Carsten Dominik <carsten.dominik@gmail.com>
1560 * org.el (org-activate-plain-links): Make single-match.
1561 (org-adapt-indentation): Fix docstring.
1563 * org-macs.el (org-unmodified): Turn of modification hooks while
1566 2009-08-02 Bastien Guerry <bzg@altern.org>
1568 * org.el (org-adapt-indentation): Slightly improve the docstring.
1569 (org-occur): Sends an error when the user inputs an empty string.
1570 (org-priority): Bugfix: the tag alignement should happen within
1573 2009-07-31 Bastien Guerry <bzg@altern.org>
1575 * org.el (org-make-link-regexps): Don't exclude parentheses from
1577 (org-cycle-internal-local): When locally cycling, switch directly
1578 from CHILDREN to FOLDED if there is no subtree
1579 (org-cycle): Update the docstring to document the new behavior of
1580 `org-cycle-internal-local'.
1582 2009-07-29 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
1584 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
1585 an abbreviated format for days.
1587 2009-07-27 Bastien Guerry <bzg@altern.org>
1589 * org-protocol.el (org-protocol-default-template-key): New
1592 * org.el (org-refile): Bugfix: save-excursion before reading the
1593 refile target, otherwise cursor moves might confuse `org-refile'.
1595 * org-html.el (org-export-as-html): Bugfix: correctly convert the
1596 footnote reference before the footnote itself.
1598 * org.el (org-toggle-heading): Bugfix: correctly convert list
1599 items before the first headline.
1601 * org-html.el (org-export-html-footnote-format): New option for
1602 formatting the footnote reference.
1603 (org-export-as-html): Use the new option.
1605 * org.el (org-provide-todo-statistics): Allow a list of TODO
1606 keywords to compute statistics against headlines containing a
1607 keyword from this list.
1608 (org-update-parent-todo-statistics): Possibly use the new allowed
1609 value of `org-provide-todo-statistics'.
1611 2009-07-26 Bastien Guerry <bzg@altern.org>
1613 * org-timer.el: Add autoload cookie.
1615 * org.el (org-occur-link-in-agenda-files): New function.
1617 * org-timer.el (org-timer-last-timer): New variable.
1619 * org-agenda.el (org-agenda-mode-map): New key for
1620 org-timer-set-timer called from the agenda.
1622 * org.el (org-mode-map): New key for org-timer-set-timer.
1624 * org-timer.el (org-timer-reset-timers)
1625 (org-timer-show-remaining-time, org-timer-set-timer): New
1628 * org-clock.el (org-show-notification): Update the docstring.
1630 * org.el (org-provide-todo-statistics): Allow new value
1631 'all-headlines for this option, which includes entries with no
1632 TODO keywords in the todo statistics.
1633 (org-update-parent-todo-statistics): Possibly use the new
1634 'all-headline value from `org-provide-todo-statistics'.
1636 2009-07-25 Bastien Guerry <bzg@altern.org>
1638 * org-clock.el (org-dblock-write:clocktable): Add a new option
1639 :timestamp which allows display of timestamps in clock reports.
1641 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
1642 list to a subtree, preserving the structure of the list.
1643 (org-set-emph-re): Make the last element optional in the regexp.
1644 This regexp now matches an emphasized string at the end of a line.
1646 * org-list.el (org-list-goto-true-beginning)
1647 (org-list-make-subtree, org-list-make-subtrees): New functions.
1649 * org.el (org-eval-in-calendar): Select the right frame.
1650 (org-save-frame-excursion): Remove this macro.
1652 2009-07-24 Bastien Guerry <bzg@altern.org>
1654 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
1655 trying to find the beginning of a list.
1657 * org-exp.el (org-get-file-contents): Use a new argument: markup.
1658 When present, tell org-get-file-contents not to protect org-like
1661 * org-id.el (org-id-uuid-program): New option to set the name of
1662 the uuidgen program.
1663 (org-id-method): Use `org-id-uuid-program'.
1664 (org-id-new): Use `org-id-uuid-program'.
1666 2009-07-23 Bastien Guerry <bzg@altern.org>
1668 * org-exp.el (org-export-number-lines): Allow whitespace in code
1669 references. Allow the -r switch to remove the references in the
1670 source code even when the lines are not numbered: the labels can
1673 * org.el (org-fontify-whole-heading-line): New option.
1674 (org-set-font-lock-defaults): Use the new option.
1676 * org-clock.el (org-show-notification-handler): New option.
1677 (org-show-notification): Use the new option.
1679 2009-07-21 Bastien Guerry <bzg@altern.org>
1681 * org.el (org-eval-in-calendar): Fix a bug about calendar
1682 navigation when `calendar-setup' value is 'calendar-only.
1684 2009-07-19 Bastien Guerry <bzg@altern.org>
1686 * org.el (orgstruct++-mode): Fix typo in docstring.
1687 (org-insert-link): Clean up: (or (...)) => (...)
1688 (org-insert-link): Use TAB for stored links completion.
1690 2009-07-18 Bastien Guerry <bzg@altern.org>
1692 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
1693 building the list of targets.
1695 * org-remember.el (org-remember-delete-empty-lines-at-end): New
1697 (org-remember-handler): Use the new option.
1699 2009-07-17 James TD Smith <ahktenzero@mohorovi.cc>
1701 * org.el (org-tags-sort-function): New option for sorting tags.
1702 (org-set-tags): Use the new option to sort tags.
1704 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
1705 premature deletion of the data when using org-plot in a script.
1707 2009-07-17 Bastien Guerry <bzg@altern.org>
1709 * org-clock.el (org-clock-in-prepare-hook): New hook.
1710 (org-clock-in): Use this new hook.
1712 2009-07-16 Bastien Guerry <bzg@altern.org>
1714 * org.el (org-special-ctrl-a/e): Explicitely bind the value
1715 'reversed for this option to the "true line boundary first"
1717 (org-tags-match-list-sublevels): Document the 'indented value for
1720 * org-latex.el (org-export-latex-first-lines): Fix problem with
1721 publishing the region.
1723 * org-exp.el (org-export-format-source-code-or-example): Fix
1724 bad line numbering when exporting examples in HTML.
1726 2009-07-12 James TD Smith <ahktenzero@mohorovi.cc>
1728 * org-colview.el (org-format-time-period): Formats a time in
1729 fractional days as days, hours, mins, seconds.
1730 (org-columns-display-here): Add special handling for SINCE and
1731 SINCE_IA to format for display.
1733 * org.el (org-time-since): Add a function to get the time since an
1735 (org-entry-properties): Add two new special properties: SINCE and
1736 SINCE_IA. These give the time since any active or inactive
1737 timestamp in an entry.
1738 (org-special-properties): Add SINCE, SINCE_IA.
1739 (org-tags-sort-function): Add custom declaration for tags
1741 (org-set-tags): Sort tags if org-tags-sort-function is set
1743 2009-07-08 Carsten Dominik <carsten.dominik@gmail.com>
1745 * org-clock.el (org-clock-goto): Find hidden headlines as well.
1747 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
1749 * org-plot.el (org-plot/add-options-to-plist): Add timeind
1752 2009-07-07 Carsten Dominik <carsten.dominik@gmail.com>
1754 * org-publish.el (org-publish-remove-all-timestamps): New function.
1755 (org-publish-all): Remove all timestamp files if `org-publish-all'
1756 is called with a prefix argument.
1758 * org-list.el (org-indent-item): Fix typo.
1759 (org-item-indent-positions): Normalize ordered bullet.
1761 * org-html.el (org-export-html-home/up-format): New option.
1762 (org-export-as-html): Insert the up and HOME links.
1764 2009-07-06 Carsten Dominik <carsten.dominik@gmail.com>
1766 * org-html.el (org-export-as-html): Insert the title into the
1768 (org-export-html-insert-plist-item): New function.
1769 (org-export-as-html): Call `org-export-html-insert-plist-item'.
1771 * org-macs.el (org-set-local): Make a local variable, do not make
1772 the variable buffer-local!
1774 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
1776 * org-html.el (org-export-as-html): Call `org-install-letbind'.
1778 * org-docbook.el (org-export-as-docbook): Call
1779 `org-install-letbind'.
1781 * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
1783 * org-exp.el (org-infile-export-plist): Read BIND lines.
1784 (org-install-letbind): New function.
1785 (org-export-as-org, org-export-preprocess-string): Call
1786 `org-install-letbind'.
1788 * org-src.el (org-edit-src-exit): Untabify the example before
1791 * org-list.el (org-list-demote-modify-bullet): New option.
1792 (org-first-list-item-p): Save point.
1793 (org-fix-bullet-type): New optional argument FORCE-BULLET.
1794 (org-indent-item): Honor `org-list-demote-modify-bullet'.
1795 (org-item-indent-positions): Return bullet types along with
1798 2009-07-05 Carsten Dominik <carsten.dominik@gmail.com>
1800 * org.el (org-show-entry): Hide drawers.
1802 2009-07-03 Carsten Dominik <carsten.dominik@gmail.com>
1804 * org-footnote.el (org-footnote-auto-adjust): New option.
1805 (org-footnote-auto-adjust-maybe): New function.
1806 (org-footnote-new, org-footnote-delete): Call
1807 `org-footnote-auto-adjust-maybe'.
1809 * org.el (org-startup-options): Add new footnote-related
1812 * org-publish.el (org-publish-timestamp-filename): Additional
1813 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
1814 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
1815 TRUE-PUB-DIR. Pass them through to
1816 `org-publish-timestamp-filename'.
1817 (org-publish-update-timestamp): Additional arguments PUB-DIR and
1818 PUB-FUNC, which are included in the hash.
1819 (org-publish-file): Delay timestamp test until the publishing
1822 2009-07-02 Carsten Dominik <carsten.dominik@gmail.com>
1824 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
1825 setting the deadline.
1827 * org.el (org-read-date-final-answer): New variable.
1828 (org-read-date): Store the final answer string, including the date
1829 from the calendar, for reuse by agenda bulk commands.
1831 * org-publish.el (org-publish-attachment): Fix publishing of
1834 * org-latex.el (org-export-latex-quotation-marks): Fix export of
1835 quotation makrs in parenthesis.
1836 (org-remove-initial-hash): New function.
1837 (org-export-latex-preprocess): Fix bug with infinite loop if
1838 environment is not properly closed.
1840 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
1843 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
1844 highlight also when indented.
1846 2009-07-01 Carsten Dominik <carsten.dominik@gmail.com>
1848 * org-footnote.el (org-footnote-renumber-fn:N): New command.
1849 (org-footnote-action): Offer renumbering.
1851 * org.el (org-cycle): Honor the `integrate' value of
1852 org-cycle-include-plain-lists'.
1854 * org-list.el (org-cycle-include-plain-lists): New allowed value
1855 `internal'. Improve the docstring.
1857 * org.el (org-set-autofill-regexps): Improve the paragraph-start
1858 regexp to work better with LaTeX commands.
1860 2009-06-30 Carsten Dominik <carsten.dominik@gmail.com>
1862 * org-feed.el (org-feed-update): fix problem with non-existing
1864 (org-feed-skip-http-headers): New function.
1865 (org-feed-get-feed): Call `org-feed-skip-http-headers'.
1866 (org-feed-get-feed): Fix command line arguments for curl.
1868 2009-06-28 Carsten Dominik <carsten.dominik@gmail.com>
1870 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
1873 2009-06-27 Carsten Dominik <carsten.dominik@gmail.com>
1875 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
1878 * org.el (org-map-entries): No longer force
1879 `org-tags-match-list-sublevels' to t during a todo-only tags
1882 2009-06-26 Carsten Dominik <carsten.dominik@gmail.com>
1884 * org-latex.el (org-export-latex-low-levels): Allow user-defined
1886 (org-export-latex-subcontent): Handle user-defined environment.
1888 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
1889 the View dispatcher.
1891 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
1894 * org-latex.el (org-export-as-pdf): Protect match data during call
1895 to shell-quote-argument.
1897 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
1898 (org-agenda-view-mode-dispatch): New function.
1900 2009-06-24 Carsten Dominik <carsten.dominik@gmail.com>
1902 * org-agenda.el (org-agenda-mode): Reset list of marks.
1903 (org-agenda-mode-map): Define new keys for refile and bulk action.
1904 (org-agenda-menu): Add menu itesm for refile and bulk action.
1905 (org-agenda-refile): New function.
1906 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
1907 (org-agenda-marked-entries): New variable.
1908 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
1909 (org-agenda-remove-all-bulk-action-marks)
1910 (org-agenda-bulk-action): New functions/commands.
1912 2009-06-23 Carsten Dominik <carsten.dominik@gmail.com>
1914 * org-exp.el (org-get-file-contents): Protect org-like lines in
1916 (org-export-format-source-code-or-example): Remove newlines.
1918 * org-latex.el (org-export-latex-links): Check for no-description
1921 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
1922 argument separator back to comma.
1923 (org-export-normalize-links): Mark links without description.
1925 2009-06-22 Carsten Dominik <carsten.dominik@gmail.com>
1927 * org-exp.el (org-infile-export-plist): Fix bug in macro
1930 * org-agenda.el (org-agenda-clock-out): Update line after clocking
1932 (org-agenda-highlight-todo): Fix bug with highlighting.
1934 2009-06-21 Carsten Dominik <carsten.dominik@gmail.com>
1936 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
1937 new alignment strings.
1939 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
1941 (org-table-align): Check for forced align type.
1943 * org.el (org-self-insert-command): Add yas/expand to command
1946 * org-clock.el (org-clock-in-hook): New hook.
1947 (org-clock-in): Run `org-clock-in-hook.
1948 (org-clock-out-hook): New hook.
1949 (org-clock-out): Run `org-clock-out-hook.
1950 (org-clock-cancel-hook): New hook.
1951 (org-clock-cancel): Run `org-clock-cancel-hook.
1952 (org-clock-goto-hook): New hook.
1953 (org-clock-goto): Run `org-clock-goto-hook.
1955 2009-06-20 Carsten Dominik <carsten.dominik@gmail.com>
1957 * org.el (org-store-link): Better default description for link to
1960 * org-exp.el (org-export-generic): Autoload the generic exporter
1962 (org-export): Implement the `g' key for the generic exporter.
1964 2009-06-19 Carsten Dominik <carsten.dominik@gmail.com>
1966 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
1969 * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
1971 * org-exp.el (org-infile-export-plist): Get macros also from
1974 2009-06-18 Carsten Dominik <carsten.dominik@gmail.com>
1976 * org-colview.el (org-columns-capture-view): Protect vertical bars
1978 (org-columns-capture-view): Exclude comment and archived trees.
1980 * org-colview-xemacs.el (org-columns-capture-view): Protect
1981 vertical bars in column values.
1982 (org-columns-capture-view): Exclude comment and archived trees.
1984 * org.el (org-quote-vert): New function.
1986 * org-latex.el (org-export-latex-verbatim-wrap): New option.
1988 * org-exp.el (org-export-format-source-code-or-example): Use
1989 `org-export-latex-verbatim-wrap'.
1991 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
1994 * org-html.el (org-export-table-row-tags): New option.
1995 (org-format-org-table-html): Rename `nlines' to `nline', use new
1999 2009-06-17 Carsten Dominik <carsten.dominik@gmail.com>
2001 * org-exp-blocks.el: Declare functions and variables.
2003 * org-remember.el (org-remember-templates): Allow the headline
2004 element to be a function.
2005 (org-remember-apply-template): If the headline is a function, call
2006 it to get the true function.
2008 * org-clock.el (org-clock-menu): New function.
2009 (org-clock-update-mode-line): Update help string.
2010 (org-clock-modify-effort-estimate): New function.
2011 (org-clock-mark-default-task): New function.
2013 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2015 (org-org-menu): Add new clocking stuff.
2016 (org-clock-is-active): New function.
2018 2009-06-14 Carsten Dominik <carsten.dominik@gmail.com>
2020 * org.el (org-open-non-existing-files): Improve docstring.
2022 2009-06-11 Carsten Dominik <carsten.dominik@gmail.com>
2024 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2026 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2028 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2030 * org-list.el (org-get-checkbox-statistics-face): Use the new
2033 * org-faces.el (org-checkbox-statistics-todo)
2034 (org-checkbox-statistics-done): New faces.
2036 2009-06-09 Carsten Dominik <carsten.dominik@gmail.com>
2038 * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2039 (org-edit-src-exit): Better cursor positioning when returning from
2042 * org-latex.el (org-export-latex-use-verb): New variable.
2043 (org-export-latex-emph-format): Prefer \texttt over \verb when
2044 org-export-latex-use-verb is set.
2046 2009-06-08 Carsten Dominik <carsten.dominik@gmail.com>
2048 * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2049 at normal indentation.
2051 * org-html.el (org-export-html-close-lists-maybe): Also look at
2054 * org-remember.el (org-remember-handler): Abort remember if the
2057 * org-src.el (org-edit-src-content-indentation): New option.
2058 (org-edit-src-exit): Apply extra indentation.
2060 * org-exp.el (org-export-format-source-code-or-example): Run
2061 `org-src-mode-hook'.
2063 * org-src.el (org-src-mode-hook): New variable.
2064 (org-edit-src-code): Run `org-src-mode-hook'.
2066 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
2068 * org.el (org-indent-line-function): Fix indentation of +#end lines.
2070 * org-src.el (org-edit-src-get-indentation): New function.
2071 (org-edit-src-code): Base indentation on the begin line.
2073 2009-06-07 Tassilo Horn <tassilo@member.fsf.org>
2075 * org-gnus.el (org-gnus-store-link): Require message.el in
2076 org-gnus-store-link.
2078 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
2080 * org-src.el: New file, split out of org.el
2082 * org-docbook.el (org-export-as-docbook): Better indentation
2085 * org-macs.el (org-replace-match-keep-properties): New function.
2087 * org-exp.el (org-export-mark-blockquote-verse-center): Better
2088 preprocessing of center and quote and verse blocks.
2090 * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2091 (org-export-as-docbook): Close lists when original indentation
2094 * org-html.el (org-export-html-close-lists-maybe): New function.
2095 (org-export-as-html): Close lists when original indentation
2098 * org-list.el (org-list-end): Respect the stored "original"
2099 indentation when determining the end of the list.
2101 * org-exp.el (org-export-replace-src-segments-and-examples):
2102 Remember indentation correctly.
2104 2009-06-06 Carsten Dominik <carsten.dominik@gmail.com>
2106 * org-clock.el (org-clock-update-mode-line): Apply face
2107 org-mode-line-clock.
2109 * org-faces.el (org-mode-line-clock): New face.
2111 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
2113 * org-gnus.el (org-gnus-store-link): Fix bug where
2114 `org-gnus-store-link' used wrong subject when called in an article
2115 buffer. Patch provided by fengli AT gmail DOT com.
2117 2009-06-04 Carsten Dominik <carsten.dominik@gmail.com>
2119 * org-exp.el (org-export-format-source-code-or-example): Remember
2120 the original indentation of source code snippets and examples.
2122 * org-latex.el (org-export-as-latex): Relocate the table of
2125 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2127 * org-agenda.el (org-run-agenda-series): Scope global options also
2128 when creating the agenda buffer.
2130 2009-06-03 Carsten Dominik <carsten.dominik@gmail.com>
2132 * org.el (org-adapt-indentation): Improve documentation.
2133 (org-insert-property-drawer): Respect org-adapt-indentation when
2134 inserting the drawer.
2135 (org-remove-flyspell-overlays-in): New function.
2136 (org-do-emphasis-faces, org-activate-plain-links)
2137 (org-activate-code, org-fontify-meta-lines-and-blocks)
2138 (org-activate-angle-links, org-activate-footnote-links)
2139 (org-activate-bracket-links, org-activate-dates)
2140 (org-activate-target-links, org-activate-tags): Remove flyspell
2143 2009-06-02 Carsten Dominik <carsten.dominik@gmail.com>
2145 * org.el (org-edit-src-save): New function.
2147 * org-clock.el (org-clock-out-switch-to-state): New option.
2148 (org-clock-out): Honor `org-clock-out-switch-to-state'.
2150 * org-compat.el (org-compatible-face): Improve macro.
2152 * org.el (org-global-properties-fixed): Add default for
2153 CLOCK_MODELINE_TOTAL.
2155 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2157 (org-clock-sum-current-item): Optional argument TSTART, pass it to
2159 (org-clock-get-sum-start): New function.
2161 * org.el (org-startup-options): New keywords blockhide and
2163 (org-mode): Add new invisibility spec.
2164 (org-set-startup-visibility): Hide block on startup if so
2166 (org-hide-block-startup): New option.
2167 (org-block-regexp): New constant.
2168 (org-hide-block-overlays): New variable.
2169 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2170 (org-show-block-all, org-hide-block-toggle-maybe)
2171 (org-hide-block-toggle): New functions.
2172 (org-edit-src-exit): Do not quote lines starting with # and no +
2174 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2177 2009-05-30 Carsten Dominik <carsten.dominik@gmail.com>
2179 * org.el (org-buffer-property-keys): Add Effort property for
2182 2009-05-28 Carsten Dominik <carsten.dominik@gmail.com>
2184 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2185 when retrieving total clocked time in the subtree.
2187 * org.el (org-quoting-blocks): New variable.
2189 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
2191 * org-table.el (org-table-store-formulas)
2192 (org-table-get-stored-formulas, org-table-fix-formulas)
2193 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2194 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2196 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2197 indented #+TBLFM line.
2199 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2200 indented #+TBLFM line.
2202 * org-colview.el (org-dblock-write:columnview): Allow indented
2205 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2206 indented #+TBLFM line.
2208 * org-clock.el (org-dblock-write:clocktable): Allow indented
2211 2009-05-26 Carsten Dominik <carsten.dominik@gmail.com>
2213 * org-exp.el (org-export-format-source-code-or-example): Make
2214 editing indented blocks work correctly.
2216 * org.el (org-edit-src-nindent): New variable.
2217 (org-edit-src-code, org-edit-fixed-width-region)
2218 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2219 editing indented blocks work correctly.
2221 2009-05-24 Carsten Dominik <carsten.dominik@gmail.com>
2223 * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2225 (org-export-format-source-code-or-example): Fix indentation of
2227 (org-export-remove-indentation): New function.
2228 (org-export-select-backend-specific-text): Allow backend-specific
2229 code to be indented.
2230 (org-export-mark-blockquote-verse-center): Allow markers to be
2233 * org.el (org-fontify-meta-lines): New function.
2234 (org-set-font-lock-defaults): Call the new fontification
2237 * org-faces.el (org-meta-line): New face
2238 (org-block): New face.
2240 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
2242 * org.el (org-treat-insert-todo-heading-as-state-change)
2243 (org-treat-S-cursor-todo-selection-as-state-change): New
2245 (org-insert-todo-heading): Honor
2246 `org-treat-insert-todo-heading-as-state-change'.
2247 (org-shiftright, org-shiftleft): Honor
2248 `org-treat-S-cursor-todo-selection-as-state-change'.
2249 (org-inhibit-logging): New variable.
2251 2009-05-23 Carsten Dominik <carsten.dominik@gmail.com>
2253 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2254 range for marker position checking.
2256 * org-latex.el (org-export-latex-first-lines): Fix bug when
2259 2009-05-22 Carsten Dominik <carsten.dominik@gmail.com>
2261 * org-exp.el (org-export-push-to-kill-ring): Protect using
2262 x-set-selection, because that does not always work.
2264 * org-agenda.el (org-agenda-list): Apply the new face
2265 `org-agenda-date-today'.
2267 * org-faces.el (org-agenda-date-today): New face.
2269 2009-05-21 Carsten Dominik <carsten.dominik@gmail.com>
2271 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2272 creating appointments.
2274 * org-latex.el (org-export-latex-low-levels): Fix customization
2277 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2280 * org-agenda.el (org-agenda-priority): Disable priority commands.
2282 * org.el (org-enable-priority-commands): New option.
2284 * org-colview-xemacs.el (org-columns-compute)
2285 (org-columns-number-to-string): Fix problems with empty fields.
2287 * org-colview.el (org-columns-compute)
2288 (org-columns-number-to-string): Fix problems with empty fields.
2290 * org-exp.el (org-export-push-to-kill-ring): New function.
2291 (org-export-copy-to-kill-ring): New option.
2293 * org-latex.el (org-export-as-latex): Call
2294 `org-export-push-to-kill-ring'.
2296 * org-html.el (org-export-as-html): Call
2297 `org-export-push-to-kill-ring'.
2299 * org-docbook.el (org-export-as-docbook): Call
2300 `org-export-push-to-kill-ring'.
2302 * org-ascii.el (org-export-as-ascii): Call
2303 `org-export-push-to-kill-ring'.
2305 * org-exp.el (org-export-show-temporary-export-buffer): New
2308 * org-latex.el (org-export-as-latex): Use
2309 `org-export-show-temporary-export-buffer'.
2311 * org-html.el (org-export-as-html): Use
2312 `org-export-show-temporary-export-buffer'.
2314 * org-docbook.el (org-export-as-docbook): Use
2315 `org-export-show-temporary-export-buffer'.
2317 * org-ascii.el (org-export-as-ascii-to-buffer): Use
2318 `org-export-show-temporary-export-buffer'.
2320 * org-exp.el (org-export-show-temporary-export-buffer): New
2322 (org-export-push-to-kill-ring): New function.
2324 * org-colview.el (org-columns-compile-map): New variable.
2325 (org-columns-new, org-columns-compute)
2326 (org-columns-number-to-string, org-columns-uncompile-format)
2327 (org-columns-compile-format): Implement new operators.
2329 2009-05-20 Carsten Dominik <carsten.dominik@gmail.com>
2331 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2333 * org-html.el (org-export-html-xml-declaration): New option.
2334 (org-export-as-html): Use `org-export-html-xml-declaration'.
2336 * org-list.el (org-update-checkbox-count): Make property
2339 * org.el (org-hierarchical-todo-statistics): New option.
2340 (org-update-parent-todo-statistics): Modified to handle recursive
2343 2009-05-19 Carsten Dominik <carsten.dominik@gmail.com>
2345 * org-publish.el (org-publish): Make this function behave
2346 correctly in interactive use when called with a prefix argument.
2348 * org.el (org-todo-statistics-hook): New hook.
2349 (org-update-parent-todo-statistics): Use new hook.
2350 (org-log-into-drawer): New function.
2351 (org-add-log-setup): Use the new `org-log-into-drawer' function to
2352 determine if we should be logging into a drawer.
2353 (org-log-into-drawer): Update docstring.
2354 (org-default-properties): Add LOG_INTO_DRAWER as a property.
2356 * org-list.el (org-checkbox-statistics-hook): New hook.
2357 (org-update-checkbox-count-maybe): Use new hook.
2359 * org-ascii.el (org-export-ascii-copy-to-kill): New option.
2360 (org-export-as-ascii): Hide export buffer, and copy exported ASCII
2363 2009-05-17 Carsten Dominik <carsten.dominik@gmail.com>
2365 * org-ascii.el (org-export-as-ascii): Fix bug with match string in
2368 2009-05-16 Carsten Dominik <carsten.dominik@gmail.com>
2370 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2371 better bufer-generating mechanism.
2372 (org-edit-src-find-buffer): New function.
2374 * org-icalendar.el (org-print-icalendar-entries): Don't check for
2375 archive tag, this is already done by `org-agenda-skip'.
2376 data while constructing lost of tags.
2378 2009-05-15 Carsten Dominik <carsten.dominik@gmail.com>
2380 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2381 as argument separator in macros.
2383 * org-html.el (org-export-as-html): Add xml declaration.
2385 2009-05-14 Carsten Dominik <carsten.dominik@gmail.com>
2387 * org.el (org-after-sorting-entries-or-items-hook): New hook.
2388 (org-sort-entries-or-items): Run the new hook.
2389 (org-after-refile-insert-hook): New hook.
2390 (org-refile): Run `org-after-refile-insert-hook'.
2392 * org-agenda.el (org-agenda-get-progress): Never take time of day
2393 from headline when displaying progress.
2395 * org-latex.el (org-export-latex-complex-heading-re): New variable.
2396 (org-export-as-latex): Force the correct regexp in the
2397 preprocessor buffer.
2398 (org-export-latex-set-initial-vars): Set
2399 `org-export-latex-complex-heading-re'.
2401 * org-agenda.el (org-agenda-start-with-log-mode): New option.
2402 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2404 2009-05-13 Carsten Dominik <carsten.dominik@gmail.com>
2406 * org-latex.el (org-export-latex-tables-centered): New option.
2407 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2409 * org-exp.el (org-export-as-org): New command.
2410 (org-export-as-org): New command.
2412 * org-publish.el (org-publish-org-to-org): New function.
2414 2009-05-12 Carsten Dominik <carsten.dominik@gmail.com>
2416 * org.el (org-yank): Just call `org-yank-generic'.
2417 (org-yank-generic): New function, containing the formaer
2418 functionality of `org-yank'.
2420 * org-latex.el (org-export-latex-not-done-keywords)
2421 (org-export-latex-done-keywords): New variables.
2422 (org-export-latex-todo-keyword-markup): New option.
2423 (org-export-latex-set-initial-vars): Remember the TODO keywords.
2424 (org-export-latex-keywords-maybe): Apply the TODO markup.
2426 2009-05-11 Carsten Dominik <carsten.dominik@gmail.com>
2428 * org-exp.el (org-infile-export-plist): Add more default macros.
2429 (org-export-preprocess-apply-macros): Process macro arguments.
2431 2009-05-10 Carsten Dominik <carsten.dominik@gmail.com>
2433 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
2435 (org-print-icalendar-entries): Respect the new value of
2436 `org-icalendar-include-todo'.
2438 * org.el (org-link-try-special-completion)
2439 (org-file-complete-link): New functions.
2440 (org-insert-link): Add special completion support for some link
2443 * org-bbdb.el (org-bbdb-complete-link): New function.
2445 2009-05-08 Carsten Dominik <carsten.dominik@gmail.com>
2447 * org-list.el (org-update-checkbox-count): Allow recursive
2449 (org-hierarchical-checkbox-statistics): New option.
2451 * org.el (org-cycle): Remove erraneous space character.
2453 * org-icalendar.el (org-icalendar-timezone): Initialize from
2456 * org-html.el (org-format-org-table-html): Specify the scope.
2457 (org-format-table-table-html): Specify the scope.
2458 (org-export-table-header-tags): Prepare the scope parameter.
2460 2009-05-07 Carsten Dominik <carsten.dominik@gmail.com>
2463 (org-export-html-table-use-header-tags-for-first-column): New
2466 * org.el (org-autoload): Fix autoloading of ascii export
2468 (org-modules): Add org-special-blocks.
2470 2009-05-06 Carsten Dominik <carsten.dominik@gmail.com>
2472 * org-icalendar.el (org-start-icalendar-file): Use the new option.
2473 (org-ical-timezone): New option.
2475 * org-exp.el (org-export-get-coderef-format): Use the description
2478 * org.el (org-sort-entries-or-items): Improve docstring, and make
2479 better implementation for time sorting.
2481 2009-05-05 Carsten Dominik <carsten.dominik@gmail.com>
2483 * org.el (org-edit-src-persistent-message): New option.
2484 (org-edit-src-code, org-edit-fixed-width-region): Use the new
2487 * org-clock.el (org-clock-insert-selection-line): Fix prefious
2490 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
2491 separate buffer instead of indirect buffer to edit source code.
2492 (org-edit-src-exit): Make this function work with the new setup.
2494 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
2495 are properly fontified before shown in the selection menu.
2497 * org.el (org-fontify-like-in-org-mode): New function.
2499 * org-latex.el (org-export-latex-links): Use the property list to
2500 retrieve the default image attributes.
2502 * org-exp.el (org-export-plist-vars): Add a new option.
2504 2009-05-04 Carsten Dominik <carsten.dominik@gmail.com>
2506 * org-exp.el (org-export, org-export-visible): Support ASCII
2508 (org-export-normalize-links): Do not protect the description if it
2509 is explicitly given.
2511 * org-ascii.el (org-export-as-ascii-to-buffer)
2512 (org-replace-region-by-ascii, org-export-region-as-ascii): New
2514 (org-export-as-ascii): Add all the same parameters that are also
2515 supported by the other export functions.
2517 * org-list.el (org-reset-checkbox-state-subtree): Moved here from
2519 (org-reset-checkbox-state-subtree): Call
2520 `org-reset-checkbox-state-subtree'.
2522 * org-remember.el (org-select-remember-template): For the
2523 selection of a valid template.
2525 * org-latex.el (org-export-region-as-latex): Supply the
2526 force-no-subtree argument.
2527 (org-export-as-latex): Provide better limits when exporting the
2528 first line. When exporting to string, we still want the first
2530 (org-export-latex-first-lines): New argument END, to force the end
2532 (org-export-region-as-latex): Use the property list.
2533 (org-export-as-latex):
2535 * org-colview-xemacs.el (org-columns-remove-overlays)
2536 (org-columns): Fix call to `local-variable-p'.
2538 2009-05-02 Carsten Dominik <carsten.dominik@gmail.com>
2540 * org-html.el (org-export-html-after-blockquotes-hook): New hook.
2541 (org-export-as-html): Run the new hook.
2543 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
2544 (org-export-latex-preprocess): Run the new hook.
2546 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
2547 (org-export-preprocess-string): Run the new hook.
2549 2009-04-30 Carsten Dominik <carsten.dominik@gmail.com>
2551 * org-macs.el (org-check-external-command): New defsubst.
2553 * org.el (org-mode-map): New key for reload.
2554 (org-format-latex): Better error message when external programs
2557 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
2559 * org.el (org-sort-entries-or-items): Explicit sorting function
2560 for priorities, needed for XEmacs compatibility.
2562 * org-remember.el (org-remember-apply-template): Improve auto-save
2565 2009-04-29 Carsten Dominik <carsten.dominik@gmail.com>
2567 * org-latex.el (org-export-latex-preprocess): Also protect
2568 environments ending in a star.
2570 * org-list.el (org-at-item-p): Fix regular expression.
2572 2009-04-24 Carsten Dominik <carsten.dominik@gmail.com>
2574 * org.el (org-end-of-subtree): Improve speed.
2576 * org-agenda.el (org-agenda-get-timestamps)
2577 (org-agenda-get-progress, org-agenda-get-deadlines)
2578 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
2579 in particular, wait as long as possible to collect the tags.
2580 (org-stuck-projects): Improve docstring.
2582 * org.el (org-store-link): No errors when getting custom id before
2584 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
2586 2009-04-23 Carsten Dominik <carsten.dominik@gmail.com>
2588 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
2590 * org-protocol.el: Remove dependency on url.el.
2591 (org-protocol-unhex-compound, org-protocol-open-source): Remove
2592 dependency on url.el.
2594 * org-latex.el (org-export-as-pdf): Use
2595 `org-latex-to-pdf-process'.
2597 2009-04-22 Carsten Dominik <carsten.dominik@gmail.com>
2599 * org-latex.el (org-latex-to-pdf-process): New option.
2601 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
2603 (org-agenda-get-timestamps): Honor
2604 `org-agenda-skip-additional-timestamps-same-entry'.
2606 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
2607 (org-clock-goto): Find recent task only if
2608 `org-clock-goto-may-find-recent-task' allows it.
2610 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
2611 drawers, and drawers that are missing the :END: line.
2613 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
2615 * org-clock.el (org-clock-goto): Go to recently clocked task if no
2618 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
2620 * org.el (org-update-parent-todo-statistics): Check for
2621 STATISTICS_FROM property.
2623 * org-list.el (org-update-checkbox-count): Check for
2624 STATISTICS_FROM property.
2626 * org.el (org-tab-first-hook)
2627 (org-tab-after-check-for-table-hook)
2628 (org-tab-after-check-for-cycling-hook): New hooks.
2629 (org-cycle-internal-global, org-cycle-internal-local): New
2630 functions, split out from `org-cycle'.
2631 (org-cycle): Call the new hooks.
2633 2009-04-19 Carsten Dominik <carsten.dominik@gmail.com>
2635 * org-exp.el (org-export-preprocess-string): Reset the list of
2636 preferred targets for each run of the preprocessor.
2638 * org.el (org-refile-target-verify-function): Improve
2640 (org-get-refile-targets): Respect point being moved by the
2641 verification function.
2643 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
2645 (org-export-latex-keywords): Use new option.
2647 * org.el (org-rear-nonsticky-at): New defsubst.
2648 (org-activate-plain-links, org-activate-angle-links)
2649 (org-activate-footnote-links, org-activate-bracket-links)
2650 (org-activate-dates, org-activate-target-links)
2651 (org-activate-tags): Place the rear-nonsticky properties at the
2654 2009-04-18 Carsten Dominik <carsten.dominik@gmail.com>
2656 * org-protocol.el (server-edit): Declare `server-edit'.
2657 (org-protocol-unhex-string, org-protocol-unhex-compound): New
2659 (org-protocol-check-filename-for-protocol): Call `server-edit'.
2661 * org.el (org-default-properties): New default properteis for
2664 * org-exp.el (org-export-add-subtree-options): Add new properties
2667 * org-docbook.el (org-export-docbook-keywords-markup)
2668 (org-export-docbook-timestamp-markup): New options.
2669 (org-export-docbook-protect-tags): New function.
2671 2009-04-17 Carsten Dominik <carsten.dominik@gmail.com>
2673 * org-id.el (org-id-get-with-outline-path-completion): Turn off
2674 org-refile-target-verify-function for the duration of the command.
2676 * org.el (org-link-to-org-use-id): New possible value
2677 `create-if-interactive-and-no-custom-id'.
2678 (org-store-link): Use custom IDs.
2679 (org-link-search): Find custom ID properties from #link.
2680 (org-default-properties): Add CUSTOM_ID for property completion.
2681 (org-refile-target-verify-function): New option.
2682 (org-goto): Turn off org-refile-target-verify-function
2683 for the duration of the command.
2685 2009-04-16 Carsten Dominik <carsten.dominik@gmail.com>
2687 * org-html.el (org-export-as-html): Use custom IDs in the toc.
2689 * org-exp.el (org-export-preferred-target-alist): New variable.
2690 (org-export-define-heading-targets): Find the new CUSTOM_ID
2692 (org-export-target-internal-links): Target the custom ids when
2695 * org-latex.el (org-export-latex-preprocess): Better regexp for
2696 matching latex macros with arguments.
2698 2009-04-15 Carsten Dominik <carsten.dominik@gmail.com>
2700 * org-remember.el (org-remember-handler): Allow filing to non-org
2703 2009-04-15 Magnus Henoch <magnus.henoch@gmail.com>
2705 * org-feed.el (org-feed-alist): New keyword options.
2706 (org-feed-update): Use the new options.
2707 (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
2708 (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
2709 (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
2712 * org-table.el (org-table-fix-formulas): Do not change references
2714 (org-table-get-remote-range): Convert standard coordinates to RC
2717 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
2719 2009-04-14 Carsten Dominik <carsten.dominik@gmail.com>
2721 * org-compat.el (org-sha1-string): Function removed.
2723 * org.el (org-refile-allow-creating-parent-nodes): New option.
2724 (org-refile-get-location): New argument NEW-NODES.
2725 (org-refile): Call `org-refile-get-location' with the new
2727 (org-refile-get-location): Arrange for adding a new child.
2728 (org-refile-new-child): New function.
2730 * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
2731 an additional span element.
2733 * org-clock.el: Fix a number of docstrings.
2734 (org-clock-find-position): New argument
2735 FIND-UNCLOSED to make the function find an unclosed clock in the
2737 (org-clock-in): Call `org-clock-find-position' with the new
2738 argument if we might be resuming a clock.
2740 2009-04-13 Carsten Dominik <carsten.dominik@gmail.com>
2742 * org-latex.el (org-export-latex-display-custom-times): New variable.
2743 (org-export-latex-timestamp-markup): New option.
2744 (org-export-latex-set-initial-vars): Remember the local value of
2745 `org-display-custom-times'.
2746 (org-export-latex-content): Process time stamps.
2747 (org-export-latex-time-stamps): New function.
2749 * org-macs.el (org-maybe-intangible): Add intangible property
2750 again to invisible text.
2752 2009-04-12 Carsten Dominik <carsten.dominik@gmail.com>
2754 * org-exp.el (org-default-export-plist): Handle undefined
2757 2009-04-11 Carsten Dominik <carsten.dominik@gmail.com>
2759 * org.el (org-sort-entries-or-items): Match TODO keywrds
2760 case-sensitively, when sorting.
2761 (org-priority): Do not match TODO keywords with wrong case.
2763 2009-04-09 Carsten Dominik <carsten.dominik@gmail.com>
2765 * org-feed.el (org-feed-update): Bind the variable
2768 * org-html.el (org-export-as-html): Start paragraphs after literal
2771 * org-docbook.el (org-export-as-docbook): Start paragraphs after
2774 2009-04-08 Carsten Dominik <carsten.dominik@gmail.com>
2776 * org.el (org-todo): Honor the NOBLOCKING property.
2778 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
2779 NOBLOCKING property.
2781 * org.el (org-scan-tags): Fix bug in tag scanner
2783 2009-04-07 Carsten Dominik <carsten.dominik@gmail.com>
2785 * org.el (org-modules): Mark obsolete packages.
2787 * org-html.el: New file, split out from org-exp.el.
2789 * org-icalendar.el: New file, split out from org-exp.el.
2791 * org-xoxo.el: New file, split out from org-exp.el.
2793 * org-ascii.el: New file, split out from org-exp.el.
2795 2009-04-06 Carsten Dominik <carsten.dominik@gmail.com>
2797 * org-compat.el (org-find-library-name): New function.
2799 * org.el (org-pre-cycle-hook): New hook.
2800 (org-cycle): Call the new hook in appropriate places.
2801 (org-reload): Only reload files that have been loaded before.
2803 2009-04-05 Carsten Dominik <carsten.dominik@gmail.com>
2805 * org.el (org-set-font-lock-defaults): Enforxe space or line end
2807 (org-todo): When changing TODO state, do matching
2809 (org-map-continue-from): New variable.
2810 (org-scan-tags): Respect values in `org-map-continue-from'.
2811 (org-reload): Make XEmacs compatible.
2813 2009-04-04 Carsten Dominik <carsten.dominik@gmail.com>
2815 * org-protocol.el (org-protocol-flatten-greedy): New function.
2816 (org-protocol-flatten): New function.
2818 * org.el (org-open-link-from-string): Pass reference buffer to
2819 `org-open-at-point'.
2820 (org-open-at-point): New optional argument `reference-buffer'.
2822 2009-04-03 Carsten Dominik <carsten.dominik@gmail.com>
2824 * org.el (org-scan-tags): Make tag scan find headline in first
2826 (org-get-refile-targets): Add the naked file name.
2827 (org-refile): Store as top-level entry when only file name was
2830 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
2832 * org.el (org-block-todo-from-children-or-siblings-or-parent):
2833 Renamed from org-block-todo-from-children-or-siblings, and
2834 enhanced to look for the parent's status as well.
2836 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
2837 (org-agenda-get-progress): Add first notes line to log entry if so
2840 2009-04-02 Carsten Dominik <carsten.dominik@gmail.com>
2842 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
2843 (org-agenda-cleanup-fancy-diary): Call the new hook.
2845 * org-remember.el (org-remember-apply-template): Take the default
2846 for the annotation from the :annotation property.
2848 * org-mac-message.el (org-mac-message-get-link): Remove the
2850 (org-mac-message-get-link): Return the result.
2852 2009-04-01 Carsten Dominik <carsten.dominik@gmail.com>
2854 * org.el (org-refile-get-location): Add file name only if not
2855 already included in outline path.
2857 * org-faces.el (org-n-level-faces): Fix customization type from
2860 * org-exp.el (org-export-headline-levels): Fix customization type
2861 from number to integer.
2863 * org-agenda.el (org-agenda-confirm-kill)
2864 (org-agenda-custom-commands-local-options)
2865 (org-timeline-show-empty-dates, org-agenda-ndays)
2866 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
2867 customization type from number to integer.
2869 2009-03-31 Carsten Dominik <carsten.dominik@gmail.com>
2871 * org-protocol.el: Declare some functions.
2873 * org-inlinetask.el (org-inlinetask-export-handler): Fix line
2874 postion before inserting modified headline.
2876 * org-agenda.el (org-agenda-compare-effort): Honor
2877 `org-sort-agenda-noeffort-is-high'.
2878 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
2879 (org-agenda-compare-effort): Implement the "?" operator for
2880 finding entries without effort setting.
2882 * org.el (org-extract-attributes-from-string): New function.
2884 * org-exp.el (org-export-splice-attributes): New function.
2886 2009-03-30 Carsten Dominik <carsten.dominik@gmail.com>
2888 * org-mouse.el: XEmacs compatibility fixes
2890 * org-docbook.el (org-export-as-docbook): Process footnotes like
2893 * org.el (org-modules): Add org-inlinetasks.el
2894 (org-cycle): Implement limiting level on cycling.
2895 (org-move-subtree-down): Fix bug with swapping subtrees at end of
2898 * org-inlinetask.el: New file.
2900 * org.el (org-emphasis-regexp-components): Allow braces in
2901 emphasis pre and post match.
2903 * org-footnote.el (org-footnote-normalize): When only dorting, do
2904 not insert inline notes at the end.
2906 * org-docbook.el (org-id-find-id-file): Add function declaration.
2908 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
2910 * org-docbook.el: New file.
2912 2009-03-28 Carsten Dominik <carsten.dominik@gmail.com>
2914 * org.el (org-reftex-citation): New command.
2916 2009-03-27 Carsten Dominik <carsten.dominik@gmail.com>
2918 * org-agenda.el (org-agenda-cmp-user-defined): New option.
2919 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
2921 (org-entries-lessp): Apply the new sorting option.
2923 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
2924 blocker code, when an older sibling has children.
2926 * org-mac-message.el (org-mac-message-get-link): Improve getting
2927 links from multiple selected messages.
2929 2009-03-26 Carsten Dominik <carsten.dominik@gmail.com>
2931 * org-remember.el (org-remember-finalize): Do not set buffer file
2933 (org-remember-handler): Mark buffer as unmodified.
2934 (org-remember-handler): Delete backup file and show message about
2935 remaining backup files.
2936 (org-remember-auto-remove-backup-files): New option.
2938 * org.el (org-store-link): Use buffer name as link description in
2940 (org-ido-switchb): Fix argument bug for completion.
2942 * org-remember.el (org-remember-apply-template): Set local
2943 variable `auto-save-visited-file-name' instead of global one.
2945 2009-03-25 Carsten Dominik <carsten.dominik@gmail.com>
2947 * org-feed.el: Re-write.
2949 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
2950 (org-agenda-get-todos): Mark file tags as inherited.
2951 (org-agenda-list): Always search diary lines for a time.
2953 2009-03-24 Carsten Dominik <carsten.dominik@gmail.com>
2955 * org-feed.el (org-feed-assume-stable): New option.
2956 (org-feed-before-adding-hook): New hook.
2958 * org-exp.el (org-export-as-html): Close local lists depending on
2959 indentation, also when starting a table.
2961 * org-remember.el (org-remember-backup-directory)
2962 (org-remember-backup-name): New internal variable.
2964 2009-03-23 Carsten Dominik <carsten.dominik@gmail.com>
2966 * org-clock.el (org-clock-out-if-current): Make buffer detection
2967 work in indirect buffers as well.
2969 * org.el (org-emphasis-regexp-components): Add the exxclamation
2970 mark to the post-emphasis characters.
2972 2009-03-22 Carsten Dominik <carsten.dominik@gmail.com>
2974 * org.el (org-read-date-minibiffer-septup-hook): New hook.
2975 (org-read-date): Run the new hook.
2977 * org-mac-message.el (org-mac-flagged-mail): New group.
2978 (org-mac-mail-account): New variable.
2979 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
2982 * org-remember.el (org-remember-backup-directory): New variable.
2983 (org-remember-apply-template): Write file to backup directory.
2985 2009-03-21 Carsten Dominik <carsten.dominik@gmail.com>
2987 * org-mouse.el (org-mouse-todo-menu): New function.
2988 (org-mouse-todo-keywords): Function removed.
2989 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
2991 * org-table.el (org-table-beginning-of-field)
2992 (org-table-end-of-field): New commands
2993 (org-table-previous-field, org-table-beginning-of-field): Better
2995 (orgtbl-setup): Include `M-a' and `M-e'.
2997 * org.el (org-backward-sentence, org-forward-sentence): New
3000 * org-colview.el (org-colview-initial-truncate-line-value): New
3002 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3003 (org-columns): Remember the value of `truncate-lines'.
3005 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3007 (org-columns-remove-overlays): Restore the value of
3009 (org-columns): Remember the value of `truncate-lines'.
3011 * org.el (org-columns-skip-arrchived-trees): New option.
3013 * org-agenda.el (org-agenda-export-html-style): Define color for
3014 org-agenda-done face.
3015 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3016 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3018 * org.el (org-scan-tags): Use the new face.
3020 * org-faces.el (org-agenda-done): New face.
3022 * org.el (org-scan-tags): Test the value org
3023 `org-tags-match-list-sublevels'.
3024 (org-tags-match-list-sublevels): New allowed value: indented.
3026 * org-export-latex.el (org-export-latex-make-header): Apply macros
3029 * org-exp.el (org-export-apply-macros-in-string): New function.
3031 * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3032 with the definition of a checked box.
3034 * org-clock.el (org-clock-find-position): Fix drawer indentations.
3036 * org-export-latex.el (org-export-latex-low-levels): More options
3037 for how to process lower levels in LaTeX.
3038 (org-export-latex-subcontent): Better treatment for lists as a
3039 means of publishing lower levels.
3041 2009-03-20 Carsten Dominik <carsten.dominik@gmail.com>
3043 * org.el (org-set-font-lock-defaults): Use new checkbox face.
3045 * org-faces.el (org-checkbox): New face.
3047 * org-exp.el (org-export-html-preprocess): Only create LaTeX
3048 fragement images if there is an export file.
3050 2009-03-19 Carsten Dominik <carsten.dominik@gmail.com>
3052 * org-agenda.el (org-stuck-projects): Document that the subtree of
3053 projects that are not stuck will now be searched for stuck
3055 (org-agenda-skip-entry-when-regexp-matches)
3056 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3057 (org-agenda-list-stuck-projects): Use
3058 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3060 * org-export-latex.el (org-export-latex-preprocess): Improve
3063 * org-exp.el (org-export-as-html): Implement centering as a div
3064 rather than a paragraph. Do a better job with line-end in verse
3067 2009-03-17 Carsten Dominik <carsten.dominik@gmail.com>
3069 * org.el (org-open-at-point): Fix tags searches by mouse click.
3071 2009-03-16 Carsten Dominik <carsten.dominik@gmail.com>
3073 * org-export-latex.el (org-export-latex-preprocess): Implement the
3076 * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3077 from `org-export-mark-blockquote-and-verse'.
3078 (org-export-as-html): Implement the centering markup.
3080 * org-export-latex.el (org-export-latex-tables): Fix vertical
3083 2009-03-15 Carsten Dominik <carsten.dominik@gmail.com>
3085 * org.el (org-read-date-history): New variable.
3086 (org-read-date): Use new history variable.
3087 (org-toggle-heading): Fix bug when used before first headline.
3088 (org-store-log-note): Remove drawer if empty while note is
3090 (org-remove-empty-drawer-at): New function.
3091 (org-check-after-date): New command.
3092 (org-sparse-tree): New sparse tree command "a".
3094 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3096 2009-03-14 Bastien Guerry <bzg@altern.org>
3098 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3099 column and a space, not only a column.
3101 2009-03-14 Carsten Dominik <carsten.dominik@gmail.com>
3103 * org-export-latex.el (org-export-latex-emphasis-alist): Better
3104 defaults for verbose emphasis.
3105 (org-export-latex-emph-format): New function.
3106 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3108 * org-agenda.el (org-agenda-menu): Add new commands to menu.
3109 (org-agenda-do-date-later, org-agenda-do-date-earlier)
3110 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3111 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3114 * org.el (org-timestamp-change): Move end-time along with start
3117 2009-03-12 Carsten Dominik <carsten.dominik@gmail.com>
3119 * org-exp.el (org-export-target-internal-links)
3120 (org-export-as-html): Protect links specified as #name.
3122 2009-03-11 Carsten Dominik <carsten.dominik@gmail.com>
3124 * org.el (org-clone-subtree-with-time-shift): New command.
3126 * org-export-latex.el (org-export-latex-special-chars)
3127 (org-export-latex-treat-sub-super-char): Fix subscript export.
3129 * org-exp.el (org-create-multibrace-regexp): Do not add
3130 backslashes to the class.
3132 2009-03-10 Carsten Dominik <carsten.dominik@gmail.com>
3134 * org-colview.el (org-columns-map): Better functions for moving up
3135 and down a row, even if `truncate-line' is nil.
3137 * org.el (org-insert-todo-heading): Make sure the keyword is
3138 inserted at the correct position.
3140 * org-publish.el (org-publish-project-alist)
3141 (org-publish-projects, org-publish-org-index): Change default anme
3142 for the index of file names to "sitemap.org".
3144 * org-export-latex.el (org-export-latex-tables): Use
3145 `org-split-string', for Emacs 21 compatibility.
3147 2009-03-09 Carsten Dominik <carsten.dominik@gmail.com>
3149 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3151 2009-03-08 Carsten Dominik <carsten.dominik@gmail.com>
3153 * org-exp.el (org-export-page-description)
3154 (org-export-page-keywords): New variables.
3155 (org-export-plist-vars): Add entries for :keywords and
3157 (org-infile-export-plist): Parse for new keywords.
3158 (org-get-current-options): Add new keywords
3159 (org-export-as-html): Publish description and keywords.
3161 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3163 (org-agenda-add-entry-text): Honor
3164 `org-agenda-add-entry-text-descriptive-links'.
3166 * org-export-latex.el (org-export-latex-preprocess): Make all
3167 external preprocess functions use a PARAMETER arg.
3169 * org-exp.el (org-export-preprocess-string)
3170 (org-export-select-backend-specific-text)
3171 (org-export-format-source-code-or-example)
3172 (org-format-org-table-html): Support docbook export.
3173 (org-export-preprocess-string): Make all external preprocess
3174 functions use a PARAMETER arg.
3176 2009-03-07 Carsten Dominik <carsten.dominik@gmail.com>
3178 * org-exp.el (org-export-html-style-include-scripts): New option.
3179 (org-export-plist-vars): Add new option
3180 `org-export-html-style-include-scripts'.
3181 (org-export-as-html): Honor new option
3182 `org-export-html-style-include-scripts'.
3183 (org-export-html-scripts, org-export-html-style-default): Fix
3184 xml issues with the Safari browser.
3186 2009-03-06 Carsten Dominik <carsten.dominik@gmail.com>
3188 * org-publish.el (org-publish-attachment): Only copy file when the
3191 2009-03-05 Carsten Dominik <carsten.dominik@gmail.com>
3193 * org-clock.el (org-clocktable-steps): Use inactive time stamps
3194 for clocktable steps.
3196 * org.el (org-additional-option-like-keywords): Add two more
3199 2009-03-04 Carsten Dominik <carsten.dominik@gmail.com>
3201 * org-exp.el (org-export-format-source-code-or-example): Mark
3202 temporary buffer unmodified, so that it will be killed even if
3203 mode like message mode has decided to assign a file name.
3205 * org.el (org-scan-tags): Improve tag inheritance.
3206 (org-scan-tags, org-make-tags-matcher): Make tag comparison
3208 (org-scan-tags): Use the internal tags list instead of creating it
3210 (org-trust-scanner-tags, org-scanner-tags): New variables.
3211 (org-scan-tags): Set `org-scanner-tags'.
3212 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3213 (org-map-entries): Document the possible speedup using scanner
3216 2009-03-03 Carsten Dominik <carsten.dominik@gmail.com>
3218 * org.el (org-add-planning-info): Fix bug with looking for keyword
3221 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3222 option for tags filter preset.
3223 (org-prepare-agenda): Store filter preset as a property on the
3225 (org-finalize-agenda): Call the filter, if there is a preset.
3226 (org-agenda-filter-by-tag): Filter again after clearing the
3227 filter, when there still is a preset.
3228 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3229 Include the preset filter.
3230 (org-agenda-redo): Apply the filter again, also the preset filter.
3232 * org-exp.el (org-export-as-html): Use IDs in the correct way.
3234 * org.el (org-uuidgen-p): New funtion.
3236 * org-agenda.el (org-agenda-fontify-priorities): New default value
3238 (org-agenda-fontify-priorities): Renamed from
3239 org-fontify-priorities.
3241 * org.el (org-set-font-lock-defaults): Call
3242 `org-font-lock-add-priority-faces'.
3243 (org-font-lock-add-priority-faces): New function.
3245 * org-faces.el: (org-set-tag-faces): New option.
3246 (org-priority-faces): New variable.
3248 * org-exp.el (org-export-as-html): Add a "content" div around the
3249 entire content of the body tag.
3250 (org-export-html-get-bibliography): New function.
3251 (org-export-html-validation-link): New variable.
3252 (org-export-as-html): Add validation link to exported page.
3254 * org.el (org-match-sparse-tree): Renamed from
3255 `org-tags-sparse-tree'.
3256 (org-tags-sparse-tree): New alias.
3258 2009-03-02 Carsten Dominik <carsten.dominik@gmail.com>
3260 * org.el (org-get-valid-level): Catch the case where the level
3263 * org-clock.el (org-clock-find-position): Better indentation of
3266 2009-03-01 Carsten Dominik <carsten.dominik@gmail.com>
3268 * org-agenda.el (org-agenda-quit): Delete window only when the
3269 frame-setup was not `current-window'.
3271 * org.el (org-tag-persistent-alist): New option.
3272 (org-startup-options): Add keyword `noptag'.
3273 (org-fast-todo-selection): Handle :newline correctly.
3274 (org-set-tags): Handle :newline correctly.
3275 (org-fast-tag-selection): Handle :newline correctly.
3277 2009-02-28 Carsten Dominik <carsten.dominik@gmail.com>
3279 * org-exp.el (org-export-as-ascii): Reverse link buffer before
3281 (org-export-ascii-push-links): Fix bug with pussing links into the
3284 2009-02-27 Carsten Dominik <carsten.dominik@gmail.com>
3286 * org-archive.el (org-archive-subtree): Do not add 1 to level if
3287 pasting at top level.
3289 * org-bbdb.el: Improve documentation.
3291 2009-02-26 Carsten Dominik <carsten.dominik@gmail.com>
3293 * org-list.el (org-insert-item): Only consider insert empty lines
3294 is `org-empty-line-terminates-plain-lists' is not nil.
3296 * org.el (org-blank-before-new-entry): Mention the dependence on
3297 `org-empty-line-terminates-plain-lists' in the docstring.
3299 * org-publish.el (org-publish-get-project-from-filename): New
3300 optional argument UP. Only find the top project if UP is set.
3301 (org-publish-current-project): Find the top encloding project.
3303 * org-agenda.el (org-agenda-before-write-hook)
3304 (org-agenda-add-entry-text-maxlines): New options.
3305 (org-write-agenda): Run the new hook in the temporary buffer.
3306 (org-agenda-add-entry-text): New function.
3307 (org-write-agenda): Implement PDF export, using ps2pdf.
3309 * org.el (org-global-properties-fixed, org-global-properties):
3310 Improve documentation string.
3312 * org-exp.el (org-export-ascii-links-to-notes): New option.
3313 (org-export-as-ascii): Handle links better.
3314 (org-export-ascii-wrap, org-export-ascii-push-links): New
3317 2009-02-25 Carsten Dominik <carsten.dominik@gmail.com>
3319 * org-agenda.el (org-agenda): Make prefix arg optional.
3320 (org-agenda-search-headline-for-time): New option.
3321 (org-format-agenda-item): Honor
3322 `org-agenda-search-headline-for-time'.
3324 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3327 * org.el (org-self-insert-cluster-for-undo): New option.
3328 (org-self-insert-command): Cluster undo for 20 characters.
3329 (org-self-insert-command-undo-counter): New variable.
3331 2009-02-24 Carsten Dominik <carsten.dominik@gmail.com>
3333 * org-exp.el (org-export-as-html): Fix problem with closing colone
3336 2009-02-22 Carsten Dominik <carsten.dominik@gmail.com>
3338 * org-export-latex.el (org-export-as-latex)
3339 (org-export-latex-first-lines): Avoid modification flag when
3340 adding or removing text properties.
3341 (org-export-latex-fontify): Catch error when org-emph-alist has
3342 entries that are not defined for LaTeX export.
3344 * org.el (orgstruct++-mode): New function.
3345 (turn-on-orgstruct++): Call `orgstruct++-mode'.
3346 (org-context-p): Allow detecting item context after the first line
3348 (orgstruct-make-binding): Detect if item-body context should be
3350 (orgstruct-is-++): New variable.
3351 (org-add-planning-info): Catch the case when there is no planning
3352 info yet and the call does not want to add anything, only maybe
3353 tries to remove something.
3354 (org-special-ctrl-a/e): All value to be a cons cell with separate
3355 settings for `C-a. and `C-e'.
3356 (org-beginning-of-line, org-end-of-line): Honor separate values
3357 for `C-a' and `C-e'.
3359 2009-02-21 Carsten Dominik <carsten.dominik@gmail.com>
3361 * org.el (org-reload): New command.
3363 2009-02-20 Carsten Dominik <carsten.dominik@gmail.com>
3365 * org-exp.el (org-export-htm-get-tag-class-name)
3366 (org-export-htm-get-todo-kwd-class-name): New functions.
3367 (org-export-html-tag-class-prefix)
3368 (org-export-html-todo-kwd-class-prefix): New options.
3369 (org-export-as-html): Call
3370 `org-export-html-get-todo-kwd-class-name'.
3371 (org-html-level-start): Wrap tags into classes.
3372 (org-export-html-get-tag-class-name)
3373 (org-export-html-get-todo-kwd-class-name): New functions.
3375 * org-export-latex.el (org-export-latex-collect-header-macros):
3376 Remove fields that are used anyway.
3377 (org-export-latex-make-header): Insert the options earlier.
3379 * org-agenda.el (org-agenda-get-progress): Fix bug with state
3382 * org-list.el (org-indent-item): Allow point to be at the end of
3385 * org.el (org-metaleft, org-metaright): Be more accurate about
3386 detecting a region where commands apply.
3388 * org-compat.el (org-cursor-to-region-beginning): New function.
3390 * org.el (org-priority): Also find invisible heading.
3392 * org-colview-xemacs.el (org-columns-edit-value): No special
3393 treatment for `org-todo' prefix.
3395 * org-colview.el (org-columns-edit-value): No special treatment
3396 for `org-todo' prefix.
3398 * org-remember.el (org-remember-apply-template): Use
3399 `org-completing-read-no-ido'.
3401 * org.el (org-completing-read-no-ido): New function.
3402 (org-make-tags-matcher, org-set-property): Use
3403 `org-completing-read-no-ido'.
3405 * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
3407 (org-export-as-latex): Import in-buffer settings as TeX macros.
3408 (org-export-latex-make-header): Additional parameter OPT-DEFS.
3409 (org-export-latex-collect-header-macros): New function.
3411 * org.el (org-refile-get-location): Turn off
3412 `partial-completion-mode'.
3414 2009-02-19 Carsten Dominik <carsten.dominik@gmail.com>
3416 * org.el (org-block-todo-from-checkboxes): Announce that
3417 checkboxes are the culprit.
3418 (org-block-todo-from-children-or-siblings): Call
3419 `org-up-heading-all instead' of `outline-up-heading'.
3421 * org-agenda.el (org-agenda-show-1): Renamed from
3423 (org-agenda-show): Re-install the old version for now.
3424 (org-agenda-dim-blocked-tasks): Update docstring. Scope a
3425 variable into the blokker hook, so that the checkbox checker can
3426 anounce that it caused the blocking.
3428 * org.el (org-track-ordered-property-with-tag): New option.
3429 (org-toggle-ordered-property): Honor
3430 `org-track-ordered-property-with-tag'.
3431 (org-tag-alist): Add newline options.
3432 (org-set-regexps-and-options): Separate option lines imply a
3434 (org-set-regexps-and-options, org-assign-fast-keys)
3435 (org-fast-todo-selection, org-fast-tag-selection): Handle newline
3437 (org-indent-line-function): Make sure this works even if there is
3438 not `org-drawer-regexp' defined. This can happen when
3439 orgstruct-mode is used in a non-org buffer.
3441 * org-list.el (org-checkbox-blocked-p): New function.
3442 (org-toggle-checkbox): Check for blocking.
3444 * org.el (org-modules): Add an entry for org-R.el.
3446 * org-agenda.el (org-agenda-todo-ignore-with-date)
3447 (org-agenda-todo-ignore-scheduled)
3448 (org-agenda-todo-ignore-deadlines): Mention the variable
3449 `org-agenda-tags-todo-honor-ignore-options' in the docstring.
3451 * org.el (org-get-wdays): Find the warning period also if it is in
3453 (org-ido-completing-read): Provide the correct arguments to
3454 ido-completing-read and bind `ido-enter-matching-directory' to
3457 2009-02-17 Carsten Dominik <carsten.dominik@gmail.com>
3459 * org.el (org-olpath-completing-read): Never use ido for this
3462 * org-exp.el (org-export-normalize-links): Use new macro.
3464 * org-macs.el (org-if-unprotected-at): New macro.
3466 * org-agenda.el (org-agenda-show): Allow numerical prefix
3467 arguments to specify how much context should be shown.
3468 (org-agenda-cycle-show): New command, could be bound to SPC in
3469 org-agenda-mode-map.
3471 * org-exp.el (org-html-level-start): Space after section number.
3473 2009-02-16 Carsten Dominik <carsten.dominik@gmail.com>
3475 * org-agenda.el (org-agenda-get-sexps): Add todo state as
3476 property, for sorting.
3477 (org-cmp-todo-state): Get the applicable TODO keywords directly
3479 (org-run-agenda-series, org-agenda-list, org-search-view)
3480 (org-todo-list, org-tags-view): Only fit agenda window when the
3481 whole series is done.
3483 * org.el (org-scan-tags): Add todo state as property, for sorting.
3485 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3486 `org-agenda-overriding-header' as an option.
3487 (org-agenda-list): Honor org-agenda-overriding-header'.
3489 2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
3491 * org-list.el (org-toggle-checkbox): Improve cursor positioning
3492 after removing a checkbox.
3494 * org.el (org-show-entry): Make this work correctly also if it is
3495 the last entry in the file.
3496 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
3497 falling back to normal, default command.
3498 (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
3499 item, call the checkbox toggler to get a box.
3501 * org-list.el (org-toggle-checkbox): Make double prefix set the
3503 (org-fix-bullet-type): Only replace bullet if it is changed.
3504 (org-renumber-ordered-list): Handle case when first item does not
3507 * org.el (org-add-log-setup): Fix positioning when
3508 `org-log-states-order-reversed' is nil.
3510 * org-clock.el (org-clock-in): Fix positioning when
3511 `org-log-states-order-reversed' is nil.
3512 (org-clock-find-position): Fix positioning when
3513 `org-log-states-order-reversed' is nil.
3515 2009-02-14 Carsten Dominik <carsten.dominik@gmail.com>
3517 * org-clock.el (org-clock-into-drawer): Take default from
3518 `org-log-into-drawer'.
3519 (org-clock-find-position): Look for the correct drawer.
3521 * org.el (org-log-into-drawer): Renamed from
3522 `org-log-state-notes-into-drawer'.
3523 (org-log-state-notes-into-drawer): New variable alias.
3524 (org-add-log-setup): Make drawer name default to LOGBOOK, not
3526 (org-insert-property-drawer): Also skip LOGBOOK drawers.
3528 2009-02-13 Carsten Dominik <carsten.dominik@gmail.com>
3530 * org-agenda.el (org-agenda): Fix docstring.
3532 * org.el ("org-plot"): Help loading org-plot.
3533 (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
3534 (org-metadown-hook, org-shiftmetaleft-hook)
3535 (org-shiftmetaright-hook, org-shiftmetaup-hook)
3536 (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
3537 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3538 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
3539 (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
3541 * org-publish.el (org-publish-get-base-files): Allow symbol `any'
3542 for selecting files with any (and even without) extension.
3544 * org.el (org-save-all-org-buffers): Also save id locations.
3545 (org-revert-all-org-buffers): Also load id locations.
3547 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
3548 * org.el (org-drawers): Add LOGBOOK to the default drawers.
3549 (org-log-state-notes-into-drawer): New option.
3550 (org-add-log-setup): Place the sate note marker into the drawer,
3551 create drawer when necessary.
3552 (org-refile-targets): Document special interpretation of LEVEL
3553 when odd-levels are used.
3555 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
3557 * org.el (org-store-log-note): Fix note indentation when adding
3558 notes to end of list.
3560 * org-exp.el (org-export-as-html): Add TODO keyword as extra
3561 class, so that each keyword can get special colors through CSS.
3563 * org-clock.el (org-clock-out): Add another nil for the previous
3564 state into the call to `org-add-log-setup'.
3566 * org.el (org-log-note-previous-state): New variable.
3567 (org-log-note-headings): New %S escape for old state.
3568 (org-todo): Call the note setup with the old state as an
3570 (org-add-note): Add another nil for the previous state into the
3571 call to `org-add-log-setup'.
3572 (org-add-log-setup): New argument PREV-STATE.
3573 (org-add-log-note): Handle new %S escape.
3574 (org-store-log-note): Handle new %S escape.
3576 2009-02-11 Carsten Dominik <carsten.dominik@gmail.com>
3578 * org-clock.el (org-clock-find-position): Do not swallow an item
3579 less indented than the CLOCK line itself.
3580 (org-clock-in): Push markers to lin after the clock line.
3581 (org-clock-find-position): Handle values of
3582 `org-clock-into-drawer' smaller than 2.
3584 * org-exp.el (org-html-level-start): Add a CSS class to section
3586 (org-export-html-toplevel-hlevel): Better documentation of the
3587 influence of this variables on H levels and css classes in
3590 2009-02-10 Carsten Dominik <carsten.dominik@gmail.com>
3592 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3593 timestamp and nottimestamp to the chooe menu.
3595 * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
3596 (org-revert-all-org-buffers): New command.
3598 2009-02-09 Carsten Dominik <carsten.dominik@gmail.com>
3600 * org.el (org-return): Implement `org-return-follows-link' in the
3601 function org-return. This is more robust than using the mouse
3603 (org-set-regexps-and-options): Match more general #+TODO lines.
3604 (org-make-options-regexp): New optional argument EXTRA, for an
3606 (org-tab-follows-link): Mark as deprecated.
3608 2009-02-07 Carsten Dominik <carsten.dominik@gmail.com>
3610 * org-exp.el (org-export-preprocess-string): Remove clock lines
3611 earlier, so that they cannot cotribute to verbatim snippets.
3613 2009-02-06 Carsten Dominik <carsten.dominik@gmail.com>
3615 * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
3616 for finding drawers.
3617 (org-export-as-ascii, org-export-as-html): Count levels relative
3618 to the subtree header.
3619 (org-get-min-level): New optional argument OFFSET.
3620 (org-export): Make sure point is restored after popping up that
3623 * org.el (org-do-sort): Also take an inactive timestamp if no
3624 active one is found.
3626 * org-colview-xemacs.el (org-columns-capture-view): Copy before
3627 deleting duplicates.
3629 * org-colview.el (org-columns-capture-view): Copy before
3630 deleting duplicates.
3632 * org-exp.el (org-export-preprocess-string): Fix bug when skipping
3633 text before first headline.
3635 * org.el (org-format-latex): Do not convert LaTeX fragments in
3638 2009-02-04 Carsten Dominik <carsten.dominik@gmail.com>
3640 * org-exp.el (org-export-html-style-default): Use color values
3641 instead of names for XHTML validation.
3643 * org.el (org-get-scheduled-time, org-get-deadline-time): New
3645 (org-return-follows-link): Revert making this the default untile
3646 issues are resolved.
3648 * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
3651 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
3653 * org.el (org-mode): Make dependence stuff work more reliably.
3654 (org-update-parent-todo-statistics): Fix bug with updating
3657 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
3658 ~ as verbatim delimiters.
3660 * org-exp.el (org-export-html-format-image): New argument
3662 (org-export-as-html): Pass par-open to
3663 `org-export-html-format-image'.
3665 2009-02-01 Carsten Dominik <carsten.dominik@gmail.com>
3667 * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
3668 (org-use-fast-todo-selection, org-tags-column): New default
3669 setting for variables, based on a poll what typical uses use.
3671 * org-agenda.el (org-agenda-sorting-strategy)
3672 (org-agenda-tags-column): New default setting for variables, based
3673 on a poll what typical uses use.
3675 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
3677 * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
3678 blocked entries from setting the blocked tag.
3680 * org-exp.el (org-export-html-footnotes-section): Use a more
3681 consistent id for footnotes.
3683 * org-export-latex.el (org-export-latex-classes): Remove the
3684 a4paper option from the default styles.
3686 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
3688 * org.el (org-enforce-todo-checkbox-dependencies): New option.
3689 (org-block-todo-from-checkboxes): New function.
3690 (org-todo): Make tripple prefix arg circumvent blocking.
3692 * org-timer.el (org-timer): Provide the timer feature.
3694 * org.el (org-require-autoloaded-modules): Add a few more files to
3695 the list of autoloaded modules.
3697 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
3699 2009-01-29 Carsten Dominik <carsten.dominik@gmail.com>
3701 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
3702 drawers that are unprotected.
3703 (org-export-html-format-image): Make sure inlined LaTeX fragment
3704 images remain inlined.
3706 * org.el (org-toggle-ordered-property): New function.
3707 (org-mode-map): Add a key for `org-toggle-ordered-property'.
3708 (org-org-menu): Add menu entries for TODO dependencies.
3710 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
3712 * org.el (org-default-properties): Add ORDERED to the default
3713 properties, to get completion support for it.
3715 * org-list.el (org-update-checkbox-count): Update more than one cookie.
3717 * org.el (org-update-parent-todo-statistics): Update more than one
3720 * org-agenda.el (org-agenda-get-todos): Start search from correct
3723 * org.el (org-fast-todo-selection): Make sure TODO selection does
3724 not change buffer position.
3726 * org-list.el (org-toggle-checkbox): Implement adding or removing
3727 checkboxes from line or region when called with a prefix
3730 * org-rmail.el (org-rmail-store-link): Protect the call to
3731 `rmail-narrow-to-non-pruned-header'.
3733 * org-clock.el (org-clock-special-range): Fix week display in
3736 * org-exp.el (org-get-current-options): Fix bug when in indirect
3739 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
3741 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
3742 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
3743 (org-agenda-dim-blocked-tasks): New function.
3745 * org.el (org-enforce-todo-dependencies): New option.
3746 (org-block-todo-from-children-or-siblings): New function.
3748 * org-faces.el (org-agenda-dimmed-todo-face): New face.
3750 * org.el (org-todo): Return correct state type even if the blocker
3752 (org-modifier-cursor-error): Renamed from
3753 `org-shiftcursor-error'.
3754 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3755 (org-shiftmetadown): Call `org-modifier-cursor-error'.
3757 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
3758 to get real errors from the blocker hook.
3760 * org.el (org-shiftselect-error, org-call-for-shift-select): New
3762 (org-set-visibility-according-to-property): Turn off the setting
3763 of `org-show-entry-below', to avoid overruling a FOLDED visibility
3766 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
3768 * org.el (org-support-shift-select): New option.
3769 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
3770 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
3771 selection outside contexts.
3773 * org-list.el (org-at-item-bullet-p): New function.
3775 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
3778 * org-footnote.el (org-footnote-normalize): Remove unnecessary
3780 (org-insert-footnote-reference-near-definition): Remove
3781 unnecessary let form.
3783 * org-export-latex.el (org-export-latex-first-lines): Add
3784 OPT-PLIST parameter.
3785 (org-export-as-latex): Call `org-export-latex-first-lines' with
3786 opt-plits parameter.
3787 (org-export-latex-preprocess): Remove unnecessary variables.
3789 * org-exp.el (org-infile-export-plist)
3790 (org-export-add-options-to-plist, org-export-kill-licensed-text)
3791 (org-export-remove-headline-metadata)
3792 (org-export-get-title-from-subtree, org-get-min-level)
3793 (org-html-do-expand): Remove innecessary let form.
3795 * org-colview-xemacs.el (org-columns-display-here): Remove
3796 unnecessary variables.
3798 * org-colview.el (org-columns-display-here): Remove unnecessary
3801 * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
3804 * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
3805 unnecessary variables.
3807 * org-agenda.el (org-search-view, org-agenda-get-blocks)
3808 (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
3811 * org.el (org-set-emph-re): Clean-up the STACKED stuff.
3812 (org-compact-display-after-subtree-move): Remove unnecessary
3814 (org-edit-fixed-width-region): Remove unnecessary variables.
3815 (org-edit-src-find-region-and-lang): Remove unnecessary variables.
3816 (org-olpath-completing-read): Remove unnecessary variable.
3817 (org-auto-repeat-maybe): Remove unnecessary variable.
3818 (org-map-entries): Remove unnecessary variable.
3819 (org-buffer-property-keys, org-imenu-get-tree)
3820 (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
3822 -----------------------------------------------------------------
3824 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
3825 * org-exp.el (org-export-remove-timestamps): Never remove
3826 timestamps from tables.
3828 * org-export-latex.el (org-export-latex-first-lines): Add more
3829 options to the preprocessing of the text before the first
3832 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3834 * org-faces.el (org-clock-overlay): Make face compatible with
3837 * org.el (org-yank): Add property for delete-selection mode.
3839 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
3841 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
3844 * org-table.el (org-table-insert-hline): Fix typo in fuction call
3847 * org-exp.el (org-export-as-html): Remove the initial space from
3850 * org.el (org-scan-tags): Call
3851 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3853 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
3854 customization groups.
3855 (org-agenda-tags-todo-honor-ignore-options): New option.
3856 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3858 (org-agenda-get-todos): Use
3859 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3861 2009-01-24 Carsten Dominik <carsten.dominik@gmail.com>
3863 * org-exp.el (org-export-format-source-code-or-example): Escape
3864 HTML characters also in examples that anre not treated with
3865 htmlize. Also, just switch to EXAMPLE processing if we do not
3866 have a good version of htmlize.
3868 * org-rmail.el: Fix copyright notice.
3870 * org.el (org-activate-footnote-links): Improve footnote link
3873 * org-footnote.el (org-footnote-normalize): Fix finding the end of
3874 a footnote definition at the end of the file.
3876 * org-table.el (org-table-get-specials): Add an imagined hline at
3877 the end of the table. This can be useful for references that want
3878 to go to the end of the table. Also fix bug when computing last
3879 row constants, in tables that do not start right at the right
3881 (org-table-eval-formula): Match and replace remove references.
3882 (org-table-formula-substitute-names): Make sure that names inside
3883 a "remote" call are left alone, the will be replaced later when
3884 the remote call is handled.
3885 (org-table-convert-refs-to-rc): Do not convert things that might
3886 look like a reference, but are really part of an ID or namei n a
3888 (org-table-get-remote-range): New function.
3890 2009-01-22 Carsten Dominik <carsten.dominik@gmail.com>
3892 * org-faces.el (org-clock-overlay): Fix bug in face definition.
3894 * org-clock.el (org-clock-put-overlay): Use new face instead of
3895 `secondary-selection'.
3897 * org-faces.el (org-clock-overlay): New face.
3899 2009-01-21 Carsten Dominik <carsten.dominik@gmail.com>
3901 * org-exp.el (org-get-current-options): Include the option for
3902 publishing time stamps.
3904 * org.el (org-toggle-heading): Renamed from
3905 `org-toggel-region-headings'.
3906 No longer needs a region defined, but will use it if there is one.
3907 (org-ctrl-c-star): Simplified, relying more on the internal
3908 workings of `org-toggle-heading'.
3909 (org-toggle-item): Renamed from `org-toggle-region-items'.
3910 No longer needs a region defined, but will use it if there is one.
3911 (org-ctrl-c-minus): Simplified, relying more on the inernal
3912 workings of `org-toggle-item'.
3914 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
3915 environment detection. Also, do real changes only in unprotected
3918 2009-01-20 Carsten Dominik <carsten.dominik@gmail.com>
3920 * org-export-latex.el (org-export-latex-quotation-marks): Use
3921 `org-if-unprotected-1'.
3922 (org-export-latex-set-initial-vars): Check for class definition in
3925 * org-macs.el (org-if-unprotected-1): New macro.
3927 2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
3929 * org-compat.el (org-count-lines): New function.
3931 * org-exp.el (org-export-format-source-code-or-example): Handle
3932 switches related to text areas.
3934 * org.el (org-activate-footnote-links): Don't allow match inside a
3937 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
3939 * org-export-latex.el (org-export-latex-links): Keep a relative
3940 path relative also after export.
3942 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
3944 * org.el (org-make-tags-matcher): Never use IDO for completing the
3945 tags matcher match string.
3946 (org-completing-read): Also remove the special biding for "?".
3948 * org-attach.el (org-attach-allow-inheritance): New option.
3949 (org-attach-inherited): New variable.
3950 (org-attach-dir): Handle properties related to the attachment
3952 (org-attach-check-absolute-path): New function.
3953 (org-attach-set-directory, org-attach-set-inherit): New commands.
3954 (org-attach): Accommodate the new commands in the dispatcher.
3956 2009-01-18 Carsten Dominik <carsten.dominik@gmail.com>
3958 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
3959 `window-full-width-p'.
3961 * org-exp.el (org-export-as-html): Only check for images files
3962 that really can be inlined
3964 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
3965 list of extensions to be a parameter.
3967 * org-exp.el (org-export-html-inline-image-extensions): New
3970 * org-agenda.el (org-prepare-agenda): Use
3971 `org-agenda-block-separator'.
3972 (org-agenda-block-separator): New option.
3974 2009-01-17 Carsten Dominik <carsten.dominik@gmail.com>
3976 * org-export-latex.el (org-export-latex-tables): Call
3977 `org-table-clean-before-export' with the new optional argument.
3979 * org-exp.el (org-table-clean-before-export): New optional
3980 parameter MAYBE-QUOTED, allows for quoted characters like \# in
3983 2009-01-16 Carsten Dominik <carsten.dominik@gmail.com>
3985 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
3988 * org-colview.el (org-colview-construct-allowed-dates): Better
3989 error catching when a date/time property does not have allowed
3992 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
3993 Better error catching when a date/time property does not have
3994 allowed values defined.
3996 2009-01-14 Carsten Dominik <carsten.dominik@gmail.com>
3998 * org.el (org-map-entries): Restore point and restriction after
4001 2009-01-13 Carsten Dominik <carsten.dominik@gmail.com>
4003 * org.el (org-time=, org-time<, org-time<=, org-time>)
4004 (org-time>=, org-time<>): Make sure both values are dates.
4006 2009-01-11 Carsten Dominik <carsten.dominik@gmail.com>
4008 * org-archive.el (org-extract-archive-heading): Allow %s for file
4009 name also in achive location heading.
4011 2009-01-10 Carsten Dominik <carsten.dominik@gmail.com>
4013 * org-archive.el (org-add-archive-files): Uniquify the list before
4016 2009-01-09 Carsten Dominik <carsten.dominik@gmail.com>
4018 * org-compat.el (org-fit-window-to-buffer): Use
4019 `window-full-width-p'.
4021 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4022 space after the colon in short examples.
4024 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4025 enforce a space after the colon. However, we also allow lines
4026 that are *only* a colon.
4027 (org-export-as-html): Enforce the space after the colon in short
4029 (org-export-preprocess-string): Do the colon example protection
4031 (org-export-remove-timestamps): Do not check for protection at the
4034 2009-01-08 Carsten Dominik <carsten.dominik@gmail.com>
4036 * org.el (org-format-latex-options): Add new matcher for single
4037 letters between dollars.
4038 (org-get-header): Function removed.
4039 (org-heading-components): New function.
4041 * org-exp.el (org-export-define-heading-targets): Record ID's also
4042 as alternative targets.
4043 (org-export-as-html): Interpret "id:" links to other files by
4044 preserving the relative path.
4046 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4049 * org-exp.el (org-export-normalize-links): Protect the main link,
4050 to avoid special character processing.
4052 * org-export-latex.el (org-export-latex-special-keyword-regexp):
4054 (org-export-latex-special-string-regexps): Variable removed.
4055 (org-export-latex-keywords): Use the new regexp.
4057 * org-exp.el (org-export-handle-include-files): Fetch switches and
4058 put them into the BEGIN statement.
4060 * org-timer.el (org-timer-mode-line-string): New variable.
4062 * org-clock.el (org-clock-mode-line-map): Renamed from
4063 `org-clock-mode-map'.
4064 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4065 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4066 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4067 (org-clock-remove-overlays): Renamed from
4068 `org-remove-clock-overlays'.
4070 * org-timer.el (org-timer-pause-or-continue): Implement stopping
4071 and mode line display.
4072 (org-timer-stop): New command.
4073 (org-timer-seconds): Return correct time when timer is paused.
4074 (org-timer-mode-line-timer): New variable.
4075 (org-timer-set-mode-line, org-timer-update-mode-line): New
4078 * org.el (org-insert-heading): Handle new value `auto' for
4079 `org-blank-before-new-entry'.
4080 (org-org-menu): Add new items for timer functions.
4082 * org-list.el (org-insert-item): Handle new value `auto' for
4083 `org-blank-before-new-entry'.
4085 * org.el (org-blank-before-new-entry): New value `auto', made
4088 2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
4090 * org-exp.el (org-export-normalize-links): If the link is also
4091 used as the description, protect the description.
4093 2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
4095 * org.el (org-closest-date): Fix bug with yearly repeats, in
4096 combination with preference of the past as it is used for deadline
4097 and scheduling search.
4099 * org-exp.el (org-html-handle-time-stamps): No longer check for
4100 the `org-export-with-timestamps' option, because the preprocesser
4101 has taken care of this already.
4103 * org.el (org-entry-properties): Catch the case when this is
4104 called in a non-org-mode file.
4106 * org-export-latex.el (org-export-latex-remove-from-headlines):
4107 Variable made obsolete, also LaTeX export now uses the standard
4109 (org-export-as-latex): Add the timestamps parameter to the
4110 preprocessor parameter list.
4111 (org-export-latex-content): Export the remaining keywords without
4112 considering to remove them.
4113 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4114 Use bold font instead of tt font for the keywords.
4115 (org-export-latex-fontify-headline): Format headlines, assuming
4116 that all keywords still present should be published.
4117 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4118 publish what ever remains of the time stamps.
4119 (org-export-latex-list-parameters): New option.
4120 (org-export-latex-lists): Pass additional parameters to the list
4123 * org-exp.el (org-export-preprocess-string): Remove clock lines
4124 and timestamps already in the preprocesor.
4125 (org-export-remove-timestamps, org-export-remove-clock-lines): New
4127 (org-export-as-ascii, org-export-as-html): Add the timestamps
4128 parameter to the preprocessor parameter list.
4130 * org-list.el (org-list-parse-list): Parse for checkboxes.
4131 (org-list-to-generic): Introduce and handle new parameters :cbon
4133 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4134 optional parameter PARAMS.
4136 * org-export-latex.el (org-export-latex-special-chars): Fix
4137 problems with interpreting dollar signs.
4138 (org-inside-latex-math-p): New function.
4139 (org-export-latex-preprocess): Protect all the math fragments.
4141 * org.el (org-latex-regexps): Allow a dash after a dollar.
4143 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4146 * org-agenda.el (org-run-agenda-series): Have series options set
4147 when finalizing the agenda.
4149 * org-exp.el (org-export-format-source-code-or-example): Protect
4150 the converted examples.
4152 * org.el (org-set-regexps-and-options): Fix the regexp
4153 `org-complex-heading-regexp'.
4155 2009-01-05 Carsten Dominik <carsten.dominik@gmail.com>
4157 * org.el (org-edit-src-get-label-format): New function.
4158 (org-coderef-label-format): New option.
4159 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4160 a label format specification and make sure it is used in the edit
4162 (org-edit-src-get-label-format): New function.
4163 (org-store-link): Handle new coderef formats.
4164 (org-link-search): Handle new coderef formats.
4166 * org-footnote.el (org-footnote-create-definition)
4167 (org-footnote-goto-local-insertion-point): Make footnote insertion
4168 work correctly when the "Footnotes" headline is the last line in
4171 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4174 2009-01-04 Carsten Dominik <carsten.dominik@gmail.com>
4176 * org-w3m.el (org-w3m): New customization group.
4177 (org-w3m-deactivate-mark): New option.
4178 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4181 2009-01-02 Carsten Dominik <carsten.dominik@gmail.com>
4183 * org.el (org-set-font-lock-defaults): Trigger footnote
4185 (org-activate-footnote-links): New function.
4186 (org-activate-links): New entry `footnote'.
4188 * org-faces.el (org-footnote): New face.
4190 2009-01-01 Carsten Dominik <carsten.dominik@gmail.com>
4192 * org-macs.el (org-re): Handle the [:word:] class.
4194 * org-exp.el (org-export-preprocess-string): Call
4195 `org-export-protect-colon-examples'.
4196 (org-export-protect-colon-examples): Renamed from
4197 `org-export-protect-examples', and scope limited to lines starting
4200 2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
4202 * org-exp.el (org-export-preprocess-string): Move the preprocess
4203 hook to after turning on Org-mode.
4204 (org-export-preprocess-after-include-files-hook)
4205 (org-export-preprocess-after-tree-selection-hook)
4206 (org-export-preprocess-before-backend-specifics-hook)
4207 (org-export-preprocess-final-hook): New hooks.
4208 (org-export-preprocess-string): Run the new hooks.
4210 * org.el (org-ctrl-c-minus): Fix indentation for new items.
4212 * org-footnote.el: New file.
4214 * org.el (org-footnote): Require footnote code.
4215 (org-startup-options): Add new footnote options.
4216 (org-mode-map): New keybindig for footnotes.
4217 (org-ctrl-c-ctrl-c): Add function at footnotes.
4218 (org-org-menu): New menu entries for footnotes.
4220 * org-export-latex.el (org-export-as-latex): Pass footnote
4221 variable to preprocessor.
4222 (org-export-latex-preprocess): Treat multiple references to a
4225 * org-exp.el (org-export-preprocess-string): Call
4226 `org-footnote-normalize'.
4227 (org-export-as-ascii, org-export-as-html): Pass footnote variable
4229 (org-export-as-html): Treat multiple references to a footnote.
4231 2008-12-26 Carsten Dominik <carsten.dominik@gmail.com>
4233 * org-export-latex.el (org-export-latex-links): Handle coderef
4236 * org.el (org-bracket-link-analytic-regexp++): New variable.
4237 (org-make-link-regexps): Initialize
4238 `org-bracket-link-analytic-regexp++'.
4239 (org-store-link): Implement special case in edit-src buffer.
4240 (org-insert-link): No use of ide to insert stored links.
4241 (org-link-search): Implement special case for coderefs.
4243 * org-exp.el (org-export-html-scripts): New constant.
4244 (org-export-html-style-default): Add a new style for highlighted
4246 (org-export-code-refs): New variable.
4247 (org-export-preprocess-string): Initialize `org-export-code-refs'.
4248 Call `org-export-replace-src-segments-and-examples'
4249 No longer call `org-export-protect-examples'.
4250 (org-export-target-internal-links): Take care of coderef targets.
4251 (org-export-last-code-line-counter-value): New variable.
4252 (org-export-replace-src-segments-and-examples): Renamed from
4253 `org-export-replace-src-segments', and modified.
4254 (org-export-format-source-code-or-example): Renamed from
4255 `org-export-format-source-code'.
4256 (org-export-number-lines): New function.
4257 (org-export-as-ascii, org-export-as-html): Handle coderef links.
4259 --------------------------------------------------------------------------
4261 2008-12-23 Carsten Dominik <carsten.dominik@gmail.com>
4263 * org-remember.el (org-remember-handler): Safer way to get a new
4264 buffer accessing the target file.
4266 * org.el (org-refile-get-location): Handle case of current buffer
4267 not having a file associated with it.
4269 2008-12-22 Carsten Dominik <carsten.dominik@gmail.com>
4271 * org-table.el (org-table-get-formula): Only ask to overwrite
4272 field formula if there really is one.
4274 * org-id.el (org-id-find): Allow the ID to be a symbol or a
4275 number, by converting these to a string.
4277 * org-colview.el (org-dblock-write:columnview): Allow ID to be
4278 located in a different file.
4280 * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
4283 2008-12-21 Carsten Dominik <carsten.dominik@gmail.com>
4285 * org.el (org-completion-use-ido): Enhance docstring of
4286 `org-completion-use-ido'.
4288 * org-export-latex.el (org-export-latex-make-header): Double the %
4289 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-19 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-18 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 * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
4337 `org-agenda-change-all-lines'.
4338 (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
4339 tags are now retrieved locally.
4341 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
4343 * org.el (org-get-outline-path): Fix bug if level is not given.
4344 (org-org-menu): Do not quote function in menu vector.
4346 * org-agenda.el (org-finalize-agenda): Fix typo with variable
4349 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4351 * org.el (org-refile): Avoid refiling to within the region to be
4354 * org-export-latex.el (org-export-latex-special-chars): Replace
4355 special characters also in tables.
4357 * org-agenda.el (org-agenda-change-all-lines): New argument
4359 (org-agenda-set-tags): Cet the new tags and pass them to
4360 `org-format-agenda-item'.
4362 2008-12-15 Carsten Dominik <carsten.dominik@gmail.com>
4364 * org-export-latex.el (org-export-latex-classes): Add longable as
4365 a default package to all classes.
4366 (org-export-latex-tables): Handle the longtable attribute and the
4369 * org-table.el (orgtbl-to-generic): Handle tables that start with
4372 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4373 \verb for colde-like snippets.
4374 (org-export-as-latex): Fix issues with region export.
4376 * org.el (org-up-heading-safe): Speed up function by using a
4377 direct regexp search.
4378 (org-olpa): New variable.
4379 (org-get-outline-path): Speed-up path constructions in cases where
4380 this is possible because the entire hierarchy is scanned anyway.
4381 (org-refile-get-location): Don't compare the truenames of files,
4383 (org-goto-max-level): New option.
4384 (org-goto): Use `org-goto-max-level'.
4386 2008-12-12 Tassilo Horn <tassilo@member.fsf.org>
4388 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4389 Strip angle brackets from message-ids in the former and don't do
4391 (org-gnus-follow-link): Open summary reliable, even if the last
4392 messages were deleted, and handle empty groups, too.
4394 2008-12-12 Carsten Dominik <carsten.dominik@gmail.com>
4396 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4397 instead of \texttt for the =...= and ~===~ emphasis environments.
4398 (org-export-as-latex): Remove any old :org-license-to-kill text
4400 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4401 (org-export-latex-make-header): Add some hard space after the
4403 (org-export-latex-first-lines): Accept RBEG argument. Mark
4404 exported text so that it will be excuded in further steps.
4406 * org-table.el (org-table-get-specials): Make @0 reference the
4407 last line in a table.
4408 (org-table-recalculate): Improve docstring.
4410 2008-12-11 Carsten Dominik <carsten.dominik@gmail.com>
4412 * org.el (org-log-done): Fix docstring.
4414 2008-12-10 Carsten Dominik <carsten.dominik@gmail.com>
4416 * org-exp.el (org-export-html-format-image): Fix bugs.
4418 * org-export-latex.el (org-export-latex-tables)
4419 (org-export-latex-links): Implement attribute, label, and caption
4422 * org-exp.el (org-export-html-style-default): Add style
4423 definitions for the figure div.
4424 (org-export-preprocess-string, org-export-as-html): Implement
4425 attribute, label, and caption handling.
4426 (org-export-attach-captions-and-attributes): New function.
4427 (org-export-html-format-image): New function.
4428 (org-format-org-table-html): Implement attribute, label, and
4431 * org.el (org-find-text-property-in-string): New function.
4432 (org-extract-attributes): Use the property org-attr instead of
4433 org-attrobutes, because this property is now set with the #+ATTR
4436 2008-12-08 Carsten Dominik <carsten.dominik@gmail.com>
4438 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
4439 the case that FROM is nil.
4441 * org.el (org-before-first-heading-p): New function.
4443 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4445 * org-exp.el (org-export-as-html): Do not add a space before
4446 enforces line breaks.
4447 (org-export-as-html): Close paragraph before blockquote and verse
4450 2008-12-06 Carsten Dominik <carsten.dominik@gmail.com>
4452 * org-id.el (org-id-locations-file): Wrap file name with
4453 `convert-standard-filename'.
4454 (org-id-files): New variable.
4455 (org-id-use-hash): New option.
4456 (org-id-update-id-locations): Also search in all files current
4457 listed in `org-id-files'. Convert the resulting alist to a hash
4458 if the user customation says so.
4459 (org-id-locations-save): Handle he case if `org-id-locations' is a
4461 (org-id-locations-load): Convert the alist to a hash.
4462 (org-id-add-location): Handle the hast case.
4463 (kill-emacs-hook): Make sure id locations are saved when Emacs is
4465 (org-id-hash-to-alist, org-id-alist-to-hash)
4466 (org-id-paste-tracker): New functions.
4468 -------------------------------------------------------------------------
4470 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
4472 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
4473 bindings of calendar variables.
4475 * org-table.el (org-table-find-row-type): Renamed from
4476 `org-find-row-type'.
4477 (org-table-rewrite-old-row-references): Renamed from
4478 `org-rewrite-old-row-references'.
4479 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
4480 (org-table-cleanup-narrow-column-properties): Renamed from
4481 `org-cleanup-narrow-column-properties'.
4483 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
4485 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
4486 for better error messages.
4487 (org-table-get-descriptor-line): Supply the new arguments to
4488 `org-find-row-type'.
4489 (org-table-error-on-row-ref-crossing-hline): New option.
4491 * org.el (org-target-link-regexp): Make buffer-local.
4492 (org-move-subtree-down): Fix bug with trees at beginning of
4495 2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
4497 * org-faces.el (org-set-tag-faces): New function.
4498 (org-tags-special-faces-re): New variable.
4500 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
4502 * org-faces.el (org-tag-faces): New option.
4503 (org-tag): Mention `org-tag-faces' in the docstring.
4505 2008-12-03 Carsten Dominik <carsten.dominik@gmail.com>
4507 * org-exp.el (org-export-html-style-default): Implement new
4510 * org-jsinfo.el (org-infojs-template): Implement new quoting.
4512 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
4513 command to the `w3m-minor-mode-map'.
4515 * org-archive.el (org-archive-to-archive-sibling): Protect
4516 `this-command' to avoid appending kills during archiving.
4518 * org-exp.el (org-export-with-priority): New variable.
4519 (org-export-add-options-to-plist): Use `org-export-plist-vars'
4520 instead of internal list of strings and properties.
4521 (org-print-icalendar-entries): Retrieve the location property with
4524 2008-12-02 Carsten Dominik <carsten.dominik@gmail.com>
4526 * org-exp.el (org-export-with-todo-keywords): New option.
4527 (org-export-plist-vars): Include also the keys for the #+OPTIONS
4529 (org-default-export-plist, org-export-add-options-to-plist)
4530 (org-export-as-ascii, org-export-as-html): Use the new structure
4531 of `org-export-plist-vars'.
4533 * org.el (org-map-entries): Return all values.
4535 2008-11-29 Carsten Dominik <carsten.dominik@gmail.com>
4537 * org.el (org-matcher-time): Recognize more special values.
4539 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
4541 2008-11-27 Carsten Dominik <carsten.dominik@gmail.com>
4543 * org.el (org-tags-exclude-from-inheritance): New option.
4544 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
4545 `org-tags-exclude-from-inheritance'.
4547 * org-agenda.el (org-agenda-show-inherited-tags): New option.
4548 (org-format-agenda-item): Add inherited tags to the agenda line
4549 string, and make sure that properties are kept when downcasing the
4551 (org-agenda-add-inherited-tags): New function.
4552 (org-downcase-keep-props): New function.
4554 * org.el (org-scan-tags): Mark inherited tags with a text
4556 (org-get-tags-at): Mark inherited tags with a text property.
4557 (org-add-prop-inherited): New function.
4559 * org-agenda.el (org-agenda-add-inherited-tags): New function.
4560 (org-agenda-show-inherited-tags): New option.
4562 2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
4564 * org.el (org-modules): Add org-w3m to the default modules.
4566 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
4568 (orgtabl-create-or-convert-from-region): New command.
4570 * org-exp.el (org-export-as-ascii): Remove the handling of
4572 (org-export-ascii-preprocess): Handle targets already in this
4575 2008-11-25 Carsten Dominik <carsten.dominik@gmail.com>
4577 * org-timer.el (org-timer-start-time): Define this variable.
4578 (org-timer-item): Make argument optional.
4580 * org-list.el (org-insert-item): Automatically insert a timer item
4581 if the current list is a timer list.
4583 * org-timer.el: New file.
4585 * org-publish.el (org-publish-org-index): Only exclude the index
4586 file in the main directory from being added to the site-map.
4587 (org-publish-get-project-from-filename): If the current project is
4588 a component, start publishing from the parent project.
4590 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
4592 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
4594 * org-publish.el (org-publish-org-index): Improve removal of
4597 * org-agenda.el (org-get-closed): Re-apply changes
4598 accidentially overwritten by last commit to Emacs.
4600 * org.el (org-outline-path-complete-in-steps): New option.
4601 (org-refile-get-location): Honor
4602 `org-outline-path-complete-in-steps'.
4603 (org-agenda-change-all-lines, org-tags-sparse-tree)
4604 (org-time-string-to-absolute, org-small-year-to-year)
4605 (org-link-escape): Re-apply changes accidentially overwritten
4606 by last commit to Emacs.
4608 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4610 * org-clock.el (org-dblock-write:clocktable): Make sure the
4611 clocktable sees the first line.
4612 (org-clock-in): Warn if the clock cannot be resumed.
4614 2008-11-22 Carsten Dominik <carsten.dominik@gmail.com>
4616 * org.el (org-open-at-point): Fix mixup about interactive and
4617 non-interactive elisp links.
4619 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
4621 * org-exp.el (org-export-preprocess-string): Allow one comment
4622 line before the first headline to always be included. This is
4623 to not miss a commented target.
4625 * org-mouse.el (org-mouse-insert-item): Call
4626 `org-indent-to-column' instead of `indent-to', for XEmacs
4629 * org.el (org-refile-targets): Fix customize definition so
4630 that it works also in XEmacs.
4631 (org-fixup-indentation): Call `org-indent-to-column' instead
4632 of `indent-to', for XEmacs compatibility.
4634 2008-11-21 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
4636 * org-mew.el (org-mew-store-link): Get the correct case folder
4637 for refiled messages.
4639 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
4641 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
4642 line break indicators.
4644 * org.el (org-ido-completing-read): Remove the "i:" prefix for
4645 ido-completion propts.
4647 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
4649 * org-remember.el (org-remember-apply-template): Use
4650 `org-substring-no-properties'.
4652 * org-compat.el (org-substring-no-properties): New function.
4654 * org-remember.el (org-remember-apply-template): Use
4655 `org-substring-no-properties' for compatibility.
4657 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
4659 (org-fix-bullet-type): respect
4660 `org-list-two-spaces-after-bullet-regexp'.
4662 * org-clock.el (org-clock-load): Clean up the code.
4664 * org.el (org-adaptive-fill-function): Allow two spaces after
4665 "1." as a list bullet.
4667 2008-11-20 Carsten Dominik <carsten.dominik@gmail.com>
4669 * org-clock.el (org-clock-save, org-clock-load): Check for
4670 live buffers, existing files, and buffer file names to ensure
4671 consistent information.
4672 (org-clock-persist): Make `clock' a special value of this
4673 variable, and improve docstring.
4675 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
4676 (org-get-string-indentation): Adapt indentation when the bullet
4679 2008-11-19 Carsten Dominik <carsten.dominik@gmail.com>
4681 * org-remember.el (org-remember-finalize): Make interactive.
4682 (org-remember-kill): New command.
4683 (org-remember-finish-immediately): Call `org-remember-finalize'
4685 (org-remember-finalize): Make `org-remember-finalize' an interactive
4688 2008-11-18 Carsten Dominik <carsten.dominik@gmail.com>
4690 * org-remember.el (org-remember-apply-template): No ido completion
4691 for free prompts in remember templates.
4692 (org-remember-before-finalize-hook): New hook.
4693 (org-remember-mode): New minor mode.
4694 (org-remember-apply-template): Turn on `org-remember-mode'.
4696 * org-id.el (org-id-add-location): Avoid error when no file is
4699 * org-remember.el (org-remember-apply-template): Fix the way how
4700 the list of allowed properties is retrieved from the target file.
4702 * org.el (org-insert-link): Improve file link matching.
4704 2008-11-17 Carsten Dominik <carsten.dominik@gmail.com>
4706 * org-colview.el (org-columns-display-here): New argument
4707 DATELINE, to trigger using the new face.
4708 (org-agenda-colview-summarize): Call `org-columns-display-here'
4709 with the new argument.
4711 * org-faces.el (org-agenda-column-dateline): New face.
4713 * org-publish.el (org-publish-org-index): Use index-title at page
4714 title, not as section.
4716 * org-exp.el (org-export-html-format-desc): Respect the
4717 org-protect property.
4718 (org-export-as-html): Protect image specifiers that are in the
4719 description part of a link.
4721 * org.el (org-sort-entries-or-items, org-completing-read)
4722 (org-refile-get-location, org-olpath-completing-read, org-todo)
4723 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
4724 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
4725 (org-set-property, org-delete-property)
4726 (org-delete-property-globally): Use `org-ido-completing-read'.
4728 * org-remember.el (org-remember-apply-template): Use
4729 `org-ido-completing-read'.
4731 * org-publish.el (org-publish): Use `org-ido-completing-read'.
4733 * org-colview.el (org-columns-edit-value, org-columns-new)
4734 (org-insert-columns-dblock): Use `org-ido-completing-read'.
4736 * org-colview-xemacs.el (org-columns-edit-value)
4737 (org-columns-new, org-insert-columns-dblock): Use
4738 `org-ido-completing-read'.
4740 * org-attach.el (org-attach-delete-one, org-attach-open): Use
4741 `org-ido-completing-read'.
4743 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
4744 `org-ido-completing-read'.
4746 * org.el (org-time-today): New function.
4747 (org-matcher-time): Use `org-time-today'. Add special treatment
4748 for "<tomorrow>" and "<yesterday>".
4749 (org-ido-completing-read): New function.
4750 (org-completion-use-ido): New option.
4752 * org-exp.el (org-export-format-source-code): Fix bug in require
4754 (org-export-target-internal-links): Fix bug in search for text
4757 2008-11-16 Carsten Dominik <carsten.dominik@gmail.com>
4759 * org-export-latex.el (org-export-latex-subcontent): Interprete
4760 target aliases as additonal labels.
4762 * org-exp.el (org-export-target-aliases): New variable.
4763 (org-export-preprocess-string)
4764 (org-export-handle-invisible-targets): Fill the alias alist.
4765 (org-export-as-html): Remove the from the anchor, and also
4767 (org-html-level-start): Insert the target aliases as additonal
4770 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
4773 2008-11-15 Carsten Dominik <carsten.dominik@gmail.com>
4775 * org.el (org-open-at-mouse): Ensure correct link abbreviations
4776 when following a link with the mouse from the agenda.
4778 * org-exp.el (org-export-as-html): Avoid lone </div> when no
4779 headlines are created.
4781 2008-11-14 Carsten Dominik <carsten.dominik@gmail.com>
4783 * org-exp.el (org-export-preprocess-string): Reorder so that we
4784 can still see ID properties when we collect targets.
4785 (org-export-target-internal-links): Also store targets for ID's.
4787 * org.el (org-link-translation-function): New option.
4788 (org-open-at-point): Call `org-link-translation-function' if
4790 (org-translate-link): New function.
4791 (org-translate-link-from-planner): New function.
4792 (org-open-at-point): Allow interactive commands in elisp links.
4794 * org-exp.el (org-icalendar-cleanup-string): Restore the old
4795 iCalendar quoting. The new one seems to caus problems with
4798 * org.el (org-yank): Set `this-command' to `yank', so that
4799 `yank-pop' will work.
4801 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
4803 * org-id.el (org-id-search-archives): New option.
4805 * org.el (org-link-to-org-use-id): New option.
4806 (org-store-link): Use `org-link-to-org-use-id'.
4807 (org-id): Make org-id.el a standard component.
4809 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
4811 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
4812 hexified version of the tag.
4814 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
4815 compliance as far as quoting is concerned.
4817 * org-vm.el (org-vm-follow-link): Require `vm-search'.
4819 * org.el (org-up-heading-safe, org-forward-same-level): Always
4820 call `org-back-to-heading' instead of `outline-back-to-heading'.
4821 (org-back-to-heading): New wrapper around outline-back-to-heading,
4822 with a useful error message telling where the error happened.
4824 * org-list.el (org-update-checkbox-count): Always call
4825 `org-back-to-heading' instead of `outline-back-to-heading'.
4827 * org-exp.el (org-export-as-html): Make sure that each <img> tag
4828 has an `alt' attribute, to ensure XHTML validation.
4830 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4832 * org-publish.el (org-publish-attachment): Allow publishing to
4833 overwrite attachment files.
4835 * org-agenda.el (org-agenda-timerange-leaders): New option.
4836 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
4838 * org.el (org-edit-src-exit): Untabify ASCII image before
4852 2008-11-11 Carsten Dominik <carsten.dominik@gmail.com>
4854 * org.el (org-yank): Make any prefix force normal yanking.
4855 Suppress folding if text would be swallowed into a folded
4857 (org-yank-folded-subtrees, org-yank): Docstring updates.
4859 * org-agenda.el (org-agenda-compare-effort): Treat no effort
4862 * org-exp.el (org-export-language-setup): Add Catalan and
4863 Esperanto language entries.
4865 2008-11-10 Carsten Dominik <carsten.dominik@gmail.com>
4867 * org.el (org-refile): Allow refiling of entire regions.
4869 * org-clock.el (org-clock-time%): New function.
4871 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
4872 retrieve property values.
4874 2008-11-09 Carsten Dominik <carsten.dominik@gmail.com>
4876 * org-agenda.el (org-agenda-list): Handle the value `only' of
4877 org-agenda-show-log'.
4878 (org-agenda-log-mode): Interpret a double prefix arg.
4880 2008-11-08 Carsten Dominik <carsten.dominik@gmail.com>
4882 * org-exp.el (org-export-html-footnotes-section): New variable.
4883 (org-export-as-html): Use `org-export-html-footnotes-section' to
4884 insert the footnotes.
4885 (org-export-language-setup): Add "Footnotes" to language words.
4887 2008-11-07 Carsten Dominik <carsten.dominik@gmail.com>
4889 * org.el (org-yank): Fix bug when not inserting a subtree.
4891 2008-11-06 Carsten Dominik <carsten.dominik@gmail.com>
4893 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
4894 instead of `vm-beginning-of-message'.
4896 * org.el (org-make-link-regexps): Make sure that links to gnus can
4899 2008-11-05 Carsten Dominik <carsten.dominik@gmail.com>
4901 * org-attach.el (org-attach-dir): Remove duplicate ID creation
4904 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
4907 * org.el (org-link-abbrev-alist): Improve customization type.
4909 * org-attach.el (org-attach-expand-link, org-attach-expand): New
4912 * org-agenda.el (org-agenda-get-progress): Renamed from
4913 `org-get-closed'. Implement searching for state changes as well.
4914 (org-agenda-log-mode-items): New option.
4915 (org-agenda-log-mode): New option prefix argument, interpreted as
4916 request to show all possible progress info.
4917 (org-agenda-get-day-entries): Call `org-get-progress' instead of
4919 (org-agenda-set-mode-name): Handle the more complex log mode
4921 (org-get-closed): New alias, pointing to `org-get-progress'.
4923 2008-11-05 Carsten Dominik <dominik@science.uva.nl>
4925 * org.el (org-file-apps-defaults-gnu)
4926 (org-file-apps-defaults-macosx)
4927 (org-file-apps-defaults-windowsnt): Add an entry defining the
4929 (org-file-apps): Allow `system' as key and value.
4930 (org-open-at-point): Explain the effect of a double prefix arg.
4931 (org-open-file): If the argument `in-emacs' is (16),
4932 i.e. corresponding to a double prefix argument, try to open the
4935 2008-11-04 Carsten Dominik <dominik@science.uva.nl>
4937 * org.el (org-insert-link): Abbreviate absolute files names in
4938 links. Also, fix a bug in which the double C-u prefix would not
4941 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
4943 * org.el (org-insert-heading): If buffer does not end with a
4944 newline, add one if necessary to insert headline correctly.
4946 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
4947 paragraphs, not inside.
4949 * org.el (org-todo): Quote
4950 `org-agenda-headline-snapshot-before-repeat'.
4952 * org-exp.el (org-export-as-html): Fully process link descriptions.
4953 (org-export-html-format-desc): New function.
4954 (org-export-as-html): Collect footnotes into the correct basket.
4955 (org-html-protect): No longer protect quotations marks here, this
4958 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
4961 * org-compat.el (org-fit-window-to-buffer): New function (not
4962 really, a preliminary and incomplete version was present earlier,
4965 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
4966 `org-fit-window-to-buffer'.
4968 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
4970 * org-agenda.el (org-agenda-get-restriction-and-command)
4971 (org-fit-agenda-window, org-agenda-convert-date): Use
4972 `org-fit-window-to-buffer'.
4974 * org-exp.el (org-export-as-html): Process href links through
4975 `org-export-html-format-href'.
4976 (org-export-html-format-href): New function.
4978 * org-agenda.el (org-agenda-todo): Update only the current
4979 headline if this is a repeated TODO, marked done for today.
4980 (org-agenda-change-all-lines): New argument JUST-THIS, to change
4981 only the current line.
4983 * org.el (org-todo): Take a snapshot of the headline if the
4984 repeater might change it.
4986 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
4988 * org-publish.el (org-publish-find-title): Remove buffers visited
4989 only for extracting the title.
4991 * org-exp.el (org-export-html-style)
4992 (org-export-html-style-default): Mark style definitions as
4995 * org-publish.el (org-publish-validate-link): Function
4998 2008-11-02 Charles Sebold <csebold@gmail.com>
5000 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5002 (org-plot-quote-timestamp-field): New function.
5003 (org-plot-quote-tsv-field): Call timestamp field function when
5004 necessary rather than just quoting as a string.
5005 (org-plot/gnuplot-to-data): Pass in timefmt property.
5006 (org-plot/gnuplot-script): Supports timefmt property.
5007 (org-plot/gnuplot): Checks for timestamp column before checking
5008 for text index column.
5010 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
5012 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5014 * org-publish.el (org-publish-org-index): Create a section in the
5016 (org-publish-org-index): Stop linking to directories.
5018 * org.el (org-emphasis-alist): Use span instead of <u> to
5021 * org-exp.el (org-export-as-html): Make sure <p> is closed before
5024 2008-11-01 Sebastian Rose <sebastian_rose@gmx.de>
5026 * org-jsinfo.el (org-infojs-template): Remove language attribute
5029 2008-11-01 Carsten Dominik <dominik@science.uva.nl>
5031 * org-agenda.el (org-agenda-remove-marked-text): New function.
5032 (org-agenda-mark-filtered-text)
5033 (org-agenda-unmark-filtered-text): New functions.
5034 (org-write-agenda): Remove fltered text.
5036 * org.el (org-make-tags-matcher): Give access to TODO "property"
5037 without speed penalty.
5039 2008-10-29 Carsten Dominik <dominik@science.uva.nl>
5041 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5043 (org-store-link-props): Make sure adding to the plist works
5046 * org-gnus.el (org-gnus-no-new-news): New function.
5047 (org-gnus-follow-link): Allow the article ID to be a message-id,
5048 in addition to allowing article numbers. Message IDs make much
5050 (org-gnus-store-link): Use message-id to create link.
5052 2008-10-28 Carsten Dominik <dominik@science.uva.nl>
5054 * org.el (org-emphasize): Reverse the selection array.
5055 (org-emphasis-alist): Set <code> tags for the verbatim
5058 * org-remember.el (org-remember-handler): Fix bug with
5059 prefix-related changing of the note storage target.
5061 * org-exp.el (org-print-icalendar-entries): Make the exported
5062 priorities compatible with RFC 2445.
5064 * org-clock.el (org-clock-save): Insert time stamp without
5065 dependence on time-stamp.el.
5067 2008-10-27 Carsten Dominik <dominik@science.uva.nl>
5069 * org.el ("saveplace"): If saveplace puts point into an invisible
5070 location, make it visible.
5071 (org-make-tags-matcher): Allow inactive time stamps in time
5073 (org-yank-adjusted-subtrees): New option.
5074 (org-yank): Incorporate adjusting trees.
5075 (org-paste-subtree): New argument FOR-YANK which will cause
5076 insertion at point without backing up over white lines, and leave
5077 point at the end of the inserted text. Also if the cursor is
5078 at the beginning of a headline, use the same level or the inserted
5081 * org-publish.el (org-publish-get-base-files-1): Deal correctly
5082 with broken symlinks
5084 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5086 * org-exp.el (org-export-select-tags, org-get-current-options):
5089 2008-10-25 Carsten Dominik <dominik@science.uva.nl>
5091 * org-agenda.el (org-format-agenda-item)
5092 (org-agenda-filter-make-matcher): Make sure tags are stored and
5095 2008-10-23 Carsten Dominik <dominik@science.uva.nl>
5097 * org.el (org-insert-todo-heading): Fix bug with force-heading
5100 2008-10-23 James TD Smith <ahktenzero@mohorovi.cc>
5102 * org-clock.el (org-clock-in-resume): Add a custom option to
5103 toggle starting the clock from an open clock line.
5104 (org-clock-in): When clocking in to an entry, if
5105 `org-clock-in-resume' is set, check if the first clock line is
5106 open and if so, start the clock from the time in the clock line.
5107 (org-clock-persist): Add a custom option to toggle clock
5109 (org-clock-persist-query-save): Add a custom option to toggle
5110 asking the user if they want to save the running clock when
5112 (org-clock-persist-query-resume): Add a custom option to toggle
5113 asking the user if they want to resume the saved clock when Emacs
5115 (org-clock-save): Add a function to save clock data.
5116 This includes the contents of `org-clock-history' and the buffer
5117 and position of the currently clocked task, if any.
5118 (org-clock-load): Add a function to load clock data.
5119 This populates `org-clock-history', and resumes the saved clocked
5120 task if there is one.
5121 (org-clock-persistence-insinuate): Add a method to set up the
5122 hooks for clock persistence.
5124 2008-10-22 Carsten Dominik <dominik@science.uva.nl>
5126 * org-exp.el (org-export-as-ascii): Handle the case that we are
5127 publishing from an indirect buffer.
5129 * org-table.el (org-table-copy-down): Fix bug with time stamp
5132 * org-mouse.el (org-mouse-features): New option.
5133 (org-mode-hook): Turn on features depending on
5134 `org-mouse-features'.
5136 * org.el (org-insert-heading-respect-content): Force heading
5138 (org-insert-heading): keep the folding state of the heading before
5141 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
5143 * org-archive.el (org-archive-to-archive-sibling): Handle top
5144 level headlines better.
5146 2008-10-21 Bastien Guerry <bzg@altern.org>
5148 * org-export-latex.el (org-export-latex-classes): Added
5149 \usepackage{graphicx} to the default list of packages.
5151 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
5153 * org-agenda.el (org-agenda-filter): Renamed from
5154 `org-agenda-filter-tags'.
5156 2008-10-20 Carsten Dominik <dominik@science.uva.nl>
5158 * org.el (org-entry-properties): Add CATEGORY property, iven if it
5159 is not defined as a property in this entry.
5160 (org-add-log-note): Mask prefix argument when immediately storing
5163 * org-agenda.el (org-agenda-filter-effort-default-operator): New
5166 2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
5168 * org.el (org-add-log-setup): Bugfix; code to find insertion point
5169 after drawers was skipping ahead one line too many, so notes were
5170 inserted after the first note instead of before it.
5172 2008-10-18 Carsten Dominik <dominik@science.uva.nl>
5174 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5176 (org-prepare-agenda): Reset the filter tags.
5177 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5178 Show filter tags in mode line.
5180 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5183 * org-export-latex.el (org-latex-entities-regexp): New constant.
5184 (org-export-as-pdf): Use two calls to `shell-command'.
5186 2008-10-17 Carsten Dominik <dominik@science.uva.nl>
5188 * org-export-latex.el (org-export-latex-treat-sub-super-char):
5189 Honor the {} value of the subsuperscript setting. Make sure that
5190 longer subsuperscripts are typeset in a roman font.
5192 * org.el (org-clock-update-time-maybe): Compute negative clock
5193 intervals correctly.
5195 2008-10-16 Carsten Dominik <dominik@science.uva.nl>
5197 * org.el (org-add-log-setup): Respect
5198 `org-log-state-notes-insert-after-drawers'.
5199 (org-log-state-notes-insert-after-drawers): New option.
5200 (org-todo-trigger-tag-changes): New function.
5201 (org-todo): Call `org-todo-trigger-tag-changes'.
5203 2008-10-15 James TD Smith <ahktenzero@mohorovi.cc>
5205 * org.el (org-add-log-setup): Only skip drawers if the are
5206 immediately after the scheduling keywords.
5208 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5210 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5211 call it with the current todo state to get the state to switch to
5213 (org-clock-in): Use org-indent-line-function to indent clock lines.
5214 (org-clock-find-position): Fix indentation of empty clock drawers.
5216 2008-10-15 Carsten Dominik <dominik@science.uva.nl>
5218 * org-publish.el (org-publish-org-to): Handle case when
5219 org-export-to-pdf does return a file name, not a buffer.
5220 (org-publish-org-to-pdf): New function.
5222 * org-export-latex.el (org-export-as-pdf)
5223 (org-export-as-pdf-and-open): New commands.
5225 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5228 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5229 things in protexted regions.
5231 2008-10-14 Carsten Dominik <dominik@science.uva.nl>
5233 * org-export-latex.el (org-export-latex-preprocess): Improve
5234 quoting of LaTeX environments.
5236 2008-10-10 Carsten Dominik <dominik@science.uva.nl>
5238 * org.el (org-edit-fixed-width-region): Exclude final newline from
5241 * org-export-latex.el (org-export-latex-subcontent): Add labels to
5242 sections, to make internal links work.
5243 (org-export-latex-fontify-headline): Do not remove all text
5244 properties, to make sure that target properties survive this
5247 * org-exp.el (org-export-preprocess-string): Change sequence of
5248 modifications, to make sure links are prepared before the LaTeX
5249 conversions do happen.
5251 2008-10-09 Carsten Dominik <dominik@science.uva.nl>
5253 * org-attach.el (org-attach-delete-all): Renamed from
5254 `org-attch-delete'. Add a security query before deleting the
5255 entire directory. New optional argument FORCE can overrule the
5257 (org-attach-delete-one): New command.
5259 2008-10-08 Carsten Dominik <dominik@science.uva.nl>
5261 * org-attach.el (org-attach-file-list): Fix bug with directory.
5263 2008-10-07 Carsten Dominik <dominik@science.uva.nl>
5265 * org.el (org-apps-regexp-alist): New function.
5266 (org-file-apps): Add auto-mode to the default value.
5267 (org-open-file): Use the new structure of org-file-apps.
5269 * org-attach.el (org-attach): Support the new keys.
5270 (org-attach-method): New option.
5272 2008-10-06 Carsten Dominik <dominik@science.uva.nl>
5274 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5277 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5278 of the list value o `org-use-tag-inheritance'.
5280 * org-attach.el (org-attach-auto-tag): New option.
5281 (org-attach-tag, org-attach-untag): New functions.
5282 (org-attach-attach, org-attach-new, org-attach-sync): Call
5284 (org-attach-delete): Call `org-attach-untag'.
5286 2008-10-04 Carsten Dominik <dominik@science.uva.nl>
5288 * org-table.el (orgtbl-self-insert-command): Make this work for
5291 2008-10-02 Carsten Dominik <dominik@science.uva.nl>
5293 * org.el (org-add-log-setup): Limit searc for drawers to entry
5294 text, not to subtree.
5296 * org-clock.el (org-clock-heading-for-remember): New variable.
5297 (org-clock-in): Set `org-clock-heading-for-remember'.
5299 2008-10-01 James TD Smith <ahktenzero@mohorovi.cc>
5301 * org-remember.el (org-remember-apply-template): Add new
5302 expansions: %k, %K for currently clocked task and a link to the
5303 currently clocked task, and %< to file notes in the currently
5306 2008-10-01 Carsten Dominik <dominik@science.uva.nl>
5308 * org-export-latex.el (org-export-latex-make-header): Also insert
5309 the content of the property :latex-header-extra.
5311 * org-exp.el (org-infile-export-plist): Put the content of
5312 #+LATEX_HEADER: into the property :latex-header-extra.
5314 * org-colview.el (org-columns-get-format-and-top-level): Remove
5315 resetting the marker.
5317 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5318 Remove resetting the marker.
5320 * org.el (org-entry-property-inherited-from): Improve docstring.
5321 (org-entry-get-with-inheritance): Reset marker before starting the
5324 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5326 2008-09-30 Carsten Dominik <dominik@science.uva.nl>
5328 * org.el (org-entry-get-multivalued-property)
5329 (org-entry-protect-space, org-entry-restore-space): New
5331 (org-file-apps-defaults-macosx): Let postscript files be opened by
5333 (org-time-stamp-inactive): Call `org-time-stamp'.
5334 (org-time-stamp): New argument `inactive'. Also edit inacive
5335 stamps. Convert time stamp type.
5336 (org-open-file): Interpret the `default' value for the `command'
5339 * org-id.el (org-id-int-to-b36-one-digit)
5340 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5341 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
5344 2008-09-29 Carsten Dominik <dominik@science.uva.nl>
5346 * org-id.el (org-id-reverse-string): New function.
5347 (org-id-new): Use `org-id-reverse-string' to make sure the
5348 beginning chars of the ID are mutating fast. This allows to use a
5349 directory structure to spread things better.
5350 (org-id-prefix): Changed default to nil.
5352 * org-list.el (org-move-item-down, org-move-item-up): Remember and
5353 restore the column of the cursor position.
5355 * org-remember.el (org-remember-apply-template): Remove properties
5358 2008-09-27 Carsten Dominik <dominik@science.uva.nl>
5360 * org-wl.el (org-wl-open): Remove useless call to
5361 `wl-thread-open-all'.
5363 * org-remember.el (org-remember-handler): Fix bug with `bottom'
5366 2008-09-26 Carsten Dominik <dominik@science.uva.nl>
5368 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5369 `org-bbdb-anniversaries'.
5371 * org.el (org-get-next-sibling, org-forward-same-level): New
5372 functions, similar to the outline versions, but invisible headings
5375 2008-09-25 Bastien Guerry <bzg@altern.org>
5377 * org.el (org-auto-repeat-maybe): Insert a space between
5378 the timestamp's type and the timestamp itself.
5380 2008-09-24 Carsten Dominik <dominik@science.uva.nl>
5382 * org-table.el (org-table-sum): Do not format the result with %g,
5383 it does rounding when there are too many digits.
5385 * org.el (org-map-entries): Protect the keyword-selecting variables.
5387 2008-09-23 Bastien Guerry <bzg@altern.org>
5389 * org-agenda.el (org-agenda-to-appt): Make sure the function check
5390 against all agenda files.
5392 2008-09-23 Carsten Dominik <dominik@science.uva.nl>
5394 * org-list.el: New file, aggregating list functions from org.el
5395 and org-export-latex.el.
5397 * org.el (org-edit-src-region-extra): New option.
5399 2008-09-22 Carsten Dominik <dominik@science.uva.nl>
5401 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5404 2008-09-22 Bastien Guerry <bzg@altern.org>
5406 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5408 2008-09-22 James TD Smith <ahktenzero@mohorovi.cc>
5410 * org-plot.el (org-plot/gnuplot): Make tables starting with a
5411 hline work correctly.
5412 (org-plot/gnuplot-script): Put commas at the end of each script
5415 2008-09-20 James TD Smith <ahktenzero@mohorovi.cc>
5417 * org.el (org-get-refile-targets): Replace links with their
5419 (org-imenu-get-tree): Replace links with their descriptions.
5421 * org-remember.el (org-remember-apply-template): Add a new
5422 expansion for adding properties to remember items.
5424 * org.el (org-add-log-setup): Skip over drawers (properties,
5425 clocks etc) when adding notes.
5427 * org-agenda.el (org-agenda-get-closed): show durations of clocked
5428 items as well as the start and end times.
5430 * org-compat.el (org-get-x-clipboard-compat): Add a compat
5431 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
5433 * org-remember.el (org-get-x-clipboard): Use the compat
5434 function to get clipboard values when x-selection-value is
5435 unavailable. Use substring-no-properties instead of
5436 set-text-properties to remove text properties from the clipboard
5439 * lisp/org-clock.el (org-update-mode-line): Support limiting the
5440 modeline clock string, and display the full todo value in the
5441 tooltip. Set a local keymap so mouse-3 on the clock string goes to
5442 the currently clocked task.
5443 (org-clock-string-limit): Add a custom value for the maximum
5444 length of the clock string in the modeline.
5445 (org-clock-mode-map): Add a keymap for the modeline string
5447 2008-09-21 Carsten Dominik <dominik@science.uva.nl>
5449 * org-compat.el (org-propertize): New function.
5451 2008-09-20 Bastien Guerry <bzg@altern.org>
5453 * org-export-latex.el (org-export-latex-tables): protect exported
5454 tables from further special chars conversion.
5455 (org-export-latex-preprocess): Preserve LaTeX environments.
5456 (org-list-parse-list): Parse descriptive lists.
5457 (org-list-to-generic, org-list-to-latex, org-list-to-html)
5458 (org-list-to-texinfo): Export descriptive lists.
5459 (org-quote-chars): Remove.
5460 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
5461 (org-export-latex-list-beginning-re): Rename to
5462 `org-list-beginning-re'
5463 (org-list-item-begin): Rename to `org-list-item-beginning'
5465 2008-09-20 Carsten Dominik <dominik@science.uva.nl>
5467 * org.el (org-refile): Allow refiling to the last entry in the
5469 (org-get-tags-at): Fix bug when inheritance is turned off.
5471 2008-09-19 Carsten Dominik <dominik@science.uva.nl>
5473 * org.el (org-indent-line-function): No longer check for src
5474 regions, this is too much overhead.
5476 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
5479 * org.el (org-scan-tags): Make sure that tags matching is not case
5480 sensitive. TODO keyword matching is case sensitive, however, to
5481 avoid confusion with similar words that are not meant to be
5484 2008-09-18 Carsten Dominik <dominik@science.uva.nl>
5486 * org.el (org-get-local-tags-at): New function.
5487 (org-get-local-tags): New function.
5489 * org-exp.el (org-export-get-categories): New function.
5491 * org-agenda.el (org-sorting-choice)
5492 (org-agenda-sorting-strategy, org-agenda-get-todos)
5493 (org-agenda-get-timestamps, org-agenda-get-deadlines)
5494 (org-agenda-get-scheduled, org-agenda-get-blocks)
5495 (org-entries-lessp): Implement sorting by TODO state.
5496 (org-cmp-todo-state): New defsubst.
5498 * org-colview.el (org-colview-construct-allowed-dates): New
5500 (org-columns-next-allowed-value): Use
5501 `org-colview-construct-allowed-dates'.
5503 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
5505 (org-columns-next-allowed-value): Use
5506 `org-colview-construct-allowed-dates'.
5508 2008-09-17 Carsten Dominik <dominik@science.uva.nl>
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-plot.el: New file.
5521 * org-publish.el (org-publish-expand-components): Function removed.
5522 (org-publish-expand-projects): Allow components to have components.
5524 2008-09-13 Carsten Dominik <dominik@science.uva.nl>
5526 * org.el (org-indent-line-function): Do not indent in regions that
5527 are external source code.
5528 (org-yank-and-fold-if-subtree): New function.
5530 * org-agenda.el (org-agenda-todayp): New function.
5531 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
5532 `org-agenda-todayp'.
5534 * org.el (org-insert-heading-respect-content)
5535 (org-insert-todo-heading-respect-content): New commands.
5536 (org-insert-heading-respect-content): New option.
5537 (org-insert-heading): Respect `org-insert-heading-respect-content'.
5539 * org-clock.el (org-clock-find-position): Make sure the note after
5540 the clock line gets moved into the new clock drawer.
5542 2008-09-11 Carsten Dominik <dominik@science.uva.nl>
5544 * org-id.el (org-id-new): New option.
5546 2008-09-08 Carsten Dominik <dominik@science.uva.nl>
5548 * org-table.el (org-table-copy-down): Avoid overflow during
5549 increment. Use prefix argument 0 to temporarily disable the
5552 2008-09-07 Carsten Dominik <dominik@science.uva.nl>
5554 * org-exp.el (org-export-as-html): Do not turn on the major mode
5555 if the buffer will be killed anyway.
5556 (org-get-current-options): Exclude the #+TEXT field.
5557 (org-export-as-html): Make sure text before the first headline is
5560 * org-publish.el (org-publish-org-to): Tell the exporter that this
5561 buffer will be killed, so it is not necessary to do major mode
5564 * org-archive.el (org-archive-to-archive-sibling): Show empty
5565 lines after folding the archive sibling.
5567 * org.el (org-log-note-extra): New variable.
5569 2008-09-05 Bastien Guerry <bzg@altern.org>
5571 * org.el (org-additional-option-like-keywords): Added keywords for
5572 the _QUOTE, _VERSE and _SRC environments.
5574 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
5575 exporting _QUOTE and _VERSE environments.
5577 2008-09-05 Carsten Dominik <dominik@science.uva.nl>
5579 * org-agenda.el (org-agenda-filter-by-tag): New command.
5581 * org-exp.el (org-get-current-options): Remove angular brackets
5582 from the date entry.
5584 * org.el (org-edit-fixed-width-region): New function.
5585 (org-edit-fixed-width-region): Also try
5586 `org-edit-fixed-width-region'.
5587 (org-edit-fixed-width-region-mode): New option.
5588 (org-activate-code): Only interprete lines starting with colon
5589 plus a space as example lines.
5591 * org-remember.el (org-remember-templates): Add nil instead of
5592 empty strings to fix the length of remember templates.
5594 * org-table.el (org-calc-default-modes): Fix the time format for
5595 calc, from 12 hour to 24 hour clock.
5597 2008-09-04 Carsten Dominik <dominik@science.uva.nl>
5599 * org-agenda.el (org-agenda-get-deadlines)
5600 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
5601 entries that are pre-warnings of deadlines or reminders.
5603 * org.el (org-sort-entries-or-items): Make numeric and alpha
5604 comparisons ignore any TODO keyword and priority cookie.
5606 * org-remember.el (org-remember-handler): Reinterpretation of the
5609 2008-09-03 Carsten Dominik <dominik@science.uva.nl>
5611 * org-agenda.el (org-agenda-get-scheduled): Use new
5612 `org-scheduled' face.
5614 * org-faces.el (org-scheduled): New face.
5616 * org-wl.el (org-wl-open): Remove incorrect declaration.
5618 * org-gnus.el (org-gnus-store-link): Support for :to information
5621 * org-exp.el (org-export-as-html): Fixed typo in creator
5623 (org-export-protect-examples): New parameter indent. Insert extra
5624 spaces only when this parameter is specified.
5625 (org-export-preprocess-string): Call `org-export-protect-examples'
5626 with an indentation parameter when exporting to ASCII.
5628 * org-remember.el (org-remember-templates)
5629 (org-remember-apply-template): Allow the file component to be a
5632 * org.el (org-goto-local-search-headings): Renamed from
5633 `org-goto-local-search-forward-headings'. Added the possibility
5634 to search backwards.
5636 2008-09-02 Carsten Dominik <dominik@science.uva.nl>
5638 * org-export-latex.el (org-export-latex): New customization
5641 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
5643 2008-09-01 Carsten Dominik <dominik@science.uva.nl>
5645 * org-exp.el (org-html-do-expand): Allow {} to terminate
5648 2008-07-29 Carsten Dominik <dominik@science.uva.nl>
5650 * org.el (org-buffer-list): Select buffers based on major mode,
5653 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
5655 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
5658 * org-colview.el (org-columns-display-here): Use
5659 `org-columns-modify-value-for-display-function'.
5661 * org-colview-xemacs.el (org-columns-display-here): Use
5662 `org-columns-modify-value-for-display-function'.
5664 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
5666 * org.el (org-columns-modify-value-for-display-function): New option.
5678 * org-publish.el (org-publish-file): Make sure the directory match
5679 for the publishing directory works correctly.
5681 * org-agenda.el (org-agenda-execute-calendar-command)
5682 (org-agenda-diary-entry): Additional optional argument.
5684 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
5686 * org-exp.el (org-export-as-html): Add attributes also in mailto
5689 * org.el (org-autoload): Add `org-dblock-write:columnview'.
5698 2008-07-23 Carsten Dominik <dominik@science.uva.nl>
5700 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
5701 sure that calls from `org-export-region-as-html' do not do the
5702 special check for a subtree.
5704 2008-07-22 Carsten Dominik <dominik@science.uva.nl>
5706 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
5708 2008-07-20 Juri Linkov <juri@jurta.org>
5710 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
5711 new keymap `narrow-map' instead of binding "\C-xns".
5713 2008-07-18 Carsten Dominik <dominik@science.uva.nl>
5715 * org.el (org-open-file): Use
5716 `org-open-directory-means-index-dot-org'.
5717 (org-open-directory-means-index-dot-org): New option.
5719 2008-07-17 Carsten Dominik <dominik@science.uva.nl>
5721 * org.el (org-make-link-string): Remove link attributes from
5723 (org-open-at-point): Remove link attributes bevore using the path.
5725 * org-exp.el (org-export-as-html): Handle link attributes.
5727 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
5729 * org-table.el (org-table-to-lisp): New function.
5731 * org.el (org-narrow-to-subtree): Do not include the final newline
5732 into the narrowed region.
5734 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
5735 bug with user-define skipping condition.
5737 2008-07-16 Carsten Dominik <dominik@science.uva.nl>
5739 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
5741 2008-07-14 Carsten Dominik <dominik@science.uva.nl>
5743 * org-exp.el (org-export-html-style-default): Automatic overflow
5744 handling for pre fields.
5745 (org-export-as-ascii, org-export-as-html): Change default format
5748 * org-table.el (org-table-export): Offer completion for translator
5749 functions, and do not require a heading above the table.
5751 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
5752 Cater for the case of a list starting in the first line of the
5755 2008-07-09 Carsten Dominik <dominik@science.uva.nl>
5757 * org-publish.el (org-publish-find-title): Bug fix.
5758 (org-publish-org-index): Implement new :index-style option.
5760 2008-07-07 Carsten Dominik <dominik@science.uva.nl>
5762 * org-publish.el (org-publish-timestamp-filename): Use
5763 SHA1-encoded file names in the timestamp directory.
5765 2008-07-05 Carsten Dominik <dominik@science.uva.nl>
5767 * org-publish.el (org-publish-needed-p): Be verbose about files
5768 published and files skipped.
5770 * org-exp.el (org-export-preprocess-string): Swap link
5771 normalization and inernal link targeting.
5773 * org-publish.el (org-publish-needed-p): Create timestamp
5774 directory when it does not exist.
5776 2008-07-04 Bastien Guerry <bzg@altern.org>
5778 * org-clock.el (org-clock-out-when-done): Doc fix.
5780 * org.el (org-agenda-skip-unavailable-files): Doc fix.
5782 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
5783 Ignore case when searching for the COMMENT cookie at export time.
5785 2008-07-02 Carsten Dominik <dominik@science.uva.nl>
5787 * org-exp.el (org-get-file-contents)
5788 (org-get-and-remove-property): New functions.
5789 (org-export-handle-include-files): Handle the new prefix options.
5790 (org-export-as-html): Fix the verse environment.
5792 2008-07-01 Carsten Dominik <dominik@science.uva.nl>
5794 * org.el (org-time=, org-time<, org-time<=, org-time>)
5795 (org-time>=, org-time<>, org-2ft): New functions.
5796 (org-op-to-function): Also provide for the time testing fucntions.
5798 2008-06-30 Carsten Dominik <dominik@science.uva.nl>
5800 * org-exp.el (org-export-html-style-default): New constant.
5802 2008-06-29 Carsten Dominik <dominik@science.uva.nl>
5804 * org-exp.el (org-export-html-style-extra): New variable.
5805 (org-export-splice-style): New function.
5807 2008-06-26 Carsten Dominik <dominik@science.uva.nl>
5809 * org-exp.el (org-export-plist-vars, org-export-as-html):
5810 Implement `org-export-creator-info'.
5811 (org-export-creator-info): New option.
5813 2008-06-25 Carsten Dominik <dominik@science.uva.nl>
5815 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
5816 (org-property-drawer-re, org-clock-drawer-re): New constants.
5818 2008-06-23 Carsten Dominik <dominik@science.uva.nl>
5820 * org-exp.el (org-icalendar-use-deadline)
5821 (org-icalendar-use-scheduled): New options.
5822 (org-icalendar-include-todo): Default changed to t.
5823 (org-print-icalendar-entries): Implement better utilization of
5824 scheduling and deadline time stamps.
5825 (org-export-target-internal-links, org-export-as-html): Allow file
5826 lines without the "file:" prefix if the file path is an absolute
5827 path or starts with ".".
5829 * org-clock.el (org-clocktable-shift): Also undertand yesterday,
5831 (org-clock-special-range): Also undertand yesterday, lastweek etc.
5833 2008-06-18 Glenn Morris <rgm@gnu.org>
5834 * org.el (org-map-entries): Let-bind `file'.
5836 2008-06-19 Carsten Dominik <dominik@science.uva.nl>
5838 * org.el (org-agenda-skip-archived-trees): Docstring now
5839 discourages using this.
5840 (org-scan-tags): Check for org-agenda-archives-mode.
5841 (org-map-entries): Make sure org-agenda-archives-mode is nil.
5842 (org-agenda-files): Functionality of second arg changed.
5844 * org-agenda.el (org-agenda-archives-mode): New variable
5845 (org-write-agenda, org-prepare-agenda, org-agenda-list)
5846 (org-search-view, org-todo-list, org-tags-view)
5847 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
5849 (org-agenda-quit): Reset the archives mode.
5850 (org-agenda-archives-mode): New command.
5851 (org-agenda-set-mode-name): Include archives info.
5853 2008-06-18 Carsten Dominik <dominik@science.uva.nl>
5855 * org.el (org-paste-subtree): Make sure the yanked headline is
5856 visible if it was yanked at a visible point.
5857 (org-move-item-up): Fix the bug with moving white space at the end
5859 (org-show-empty-lines-in-parent): New function.
5861 2008-06-16 Carsten Dominik <dominik@science.uva.nl>
5863 * org-colview.el (org-columns-next-allowed-value): Bug fix.
5865 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
5867 * org-agenda.el (org-agenda-get-closed): Get the end time into the
5868 agenda prefix as well.
5870 * org-publish.el (org-publish-org-index): Make a properly indented
5873 * org.el (org-calendar-agenda-action-key): New option.
5874 (org-get-cursor-date): New function.
5875 (org-mark-entry-for-agenda-action): New command.
5876 (org-overriding-default-time): New variable.
5877 (org-read-date): Respect `org-overriding-default-time'.
5879 * org-remember.el (org-remember-apply-template): Respect the
5880 ovverriding default time.
5882 * org-agenda.el (org-agenda-action-marker): New variable.
5883 (org-agenda-action): New command.
5884 (org-agenda-do-action): New function.
5886 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
5888 * org.el (org-schedule, org-deadline): Protect scheduled and
5889 deadline tasks against changes that accidently remove the
5890 repeater. Also show a message with the new date when done.
5892 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
5894 * org.el (org-beginning-of-line): Cater for the case when there
5895 are tags but no headline text.
5896 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
5899 2008-06-13 Carsten Dominik <dominik@science.uva.nl>
5901 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
5902 the return value is nil instead of "nil" when there is no match.
5904 * org-exp.el (org-insert-centered): Use fill-column instead of
5906 (org-export-as-ascii): Use string-width to measure the width of
5909 * org.el (org-diary-to-ical-string): No longer kill buffer
5910 FROMBUF, this is now done by the caller.
5912 * org-exp.el (org-print-icalendar-entries): Move the call to
5913 `org-diary-to-ical-string' out of the loop, and kill the buffer
5916 * org-remember.el (org-remember-visit-immediately): Position
5917 cursor after moving to the note.
5918 (org-remember-apply-template): Use a text property to record the
5920 (org-remember-handler): Align tags after pasting the note.
5922 2008-06-12 Carsten Dominik <dominik@science.uva.nl>
5924 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
5926 * org-agenda.el (org-agenda-open-link): If there is an
5927 org-bbdb-name property in the current line, jump to that bbdb
5930 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
5931 text property, so that the agenda knows where this entry comes
5934 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
5935 interaction between clocking-in from the agenda, and automatic
5936 task state switching.
5938 * org-macs.el (org-with-point-at): Bug fix in macro defintion.
5940 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
5941 zmacs-region stays after this command in XEmacs.
5943 2008-06-11 Carsten Dominik <dominik@science.uva.nl>
5945 * org.el (org-scan-tags): Allow new values for ACTION parameter.
5947 * org-remember.el (org-remember-templates): Fix bug in
5948 customization type definition.
5950 * org.el (org-map-entries): New function.
5952 2008-06-11 verhuur82 <verhuur82@macbook-van-verhuur82.local>
5954 * org-agenda.el (org-agenda-skip-comment-trees): New option.
5955 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
5957 2008-06-10 Carsten Dominik <dominik@science.uva.nl>
5959 * org-remember.el (org-jump-to-target-location): New variable.
5960 (org-remember-apply-template): Set
5961 `org-remember-apply-template' if requested by template.
5962 (org-remember-handler): Start an idle timer to jump to
5965 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
5967 * org.el (org-set-regexps-and-options): Fix bug with parsing of
5969 (org-get-tags-at): Add the content of `org-file-tags'.
5971 * org-exp.el (org-export-handle-comments): Fix bug with several
5972 comment lines after each other.
5973 (org-number-to-roman, org-number-to-counter): New functions.
5974 (org-export-section-number-format): New option.
5976 2008-06-09 Carsten Dominik <dominik@science.uva.nl>
5978 * org-exp.el (org-export-protect-examples): Catch the case of a
5979 missing end_example line.
5981 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
5982 `org-file-tags' to nil.
5984 * org-colview.el (org-columns-next-allowed-value): Handle next
5985 argument NTH to directly select a value.
5987 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
5988 argument NTH to directly select a value.
5990 2008-06-08 Carsten Dominik <dominik@science.uva.nl>
5992 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
5994 2008-05-30 Carsten Dominik <dominik@science.uva.nl>
5996 * org.el (org-columns-ellipses): New option.
5998 2008-05-29 Carsten Dominik <dominik@science.uva.nl>
6000 * org-colview.el (org-columns-add-ellipses): New function.
6001 (org-columns-compact-links): New function.
6002 (org-columns-cleanup-item): Call `org-columns-compact-links'.
6003 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6005 (org-columns-edit-value): Fixed bug with editing values from
6007 (org-columns-redo): Also redo the agenda itself.
6009 2008-05-28 Carsten Dominik <dominik@science.uva.nl>
6011 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6014 * org-colview.el (org-agenda-columns-cleanup-item): New function.
6016 * org-exp.el (org-export-ascii-preprocess): Renamed from
6017 `org-export-ascii-clean-string'.
6018 (org-export-kill-licensed-text)
6019 (org-export-define-heading-targets)
6020 (org-export-handle-invisible-targets)
6021 (org-export-target-internal-links)
6022 (org-export-remove-or-extract-drawers)
6023 (org-export-remove-archived-trees)
6024 (org-export-protect-quoted-subtrees)
6025 (org-export-protect-verbatim, org-export-protect-examples)
6026 (org-export-select-backend-specific-text)
6027 (org-export-mark-blockquote-and-verse)
6028 (org-export-remove-comment-blocks-and-subtrees)
6029 (org-export-handle-comments, org-export-mark-radio-links)
6030 (org-export-remove-special-table-lines)
6031 (org-export-normalize-links)
6032 (org-export-concatenate-multiline-links)
6033 (org-export-concatenate-multiline-emphasis): New functions,
6034 obtained from spliiting the export preprocessor.
6036 * org-table.el (org-table-recalculate): Improve error message if
6037 the row number is invalid.
6039 2008-05-27 Carsten Dominik <dominik@science.uva.nl>
6041 * org-archive.el (org-archive-save-context-info): Fix bugs in
6042 customization setup and docstring.
6044 * org-exp.el (org-export-html-style): Changed the size of in the
6045 <pre> element to 90%.
6047 2008-05-26 Carsten Dominik <dominik@science.uva.nl>
6049 * org.el (org-find-src-example-start): Function removed.
6050 (org-edit-src-find-region-and-lang): New function.
6052 2008-05-25 Carsten Dominik <dominik@science.uva.nl>
6054 * org.el (org-edit-src-exit): New function.
6055 (org-exit-edit-mode): New minor mode.
6057 * org-exp.el (org-export-preprocess-string): Fix bug with removing
6058 comment-like lines from protected examples.
6060 * org.el (org-edit-src-example, org-find-src-example-start)
6061 (org-protect-source-example, org-edit-special): New functions.
6063 2008-05-24 Carsten Dominik <dominik@science.uva.nl>
6065 * org-publish.el (org-publish-project-alist): Fix typo in
6067 (org-publish-project-alist): Handle :index-title property.
6069 2008-05-21 Carsten Dominik <dominik@science.uva.nl>
6071 * org-export-latex.el (org-export-as-latex): Make sure region
6072 bounds are correct. Parse subtree properties relating to export.
6074 * org-exp.el (org-export-add-options-to-plist): New function.
6075 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6077 2008-05-20 Carsten Dominik <dominik@science.uva.nl>
6079 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6082 * org-exp.el (org-export-get-title-from-subtree)
6083 (org-export-as-ascii, org-export-as-html): Make sure the original
6084 region-beginning and region-end are used, even after moving
6086 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6089 * org-remember.el (org-remember-last-stored-marker): New variable.
6090 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6091 (org-remember-handler): Also use marker to remember
6092 last-stored position.
6094 * org.el (org-goto-marker-or-bmk): New function.
6096 2008-05-19 Carsten Dominik <dominik@science.uva.nl>
6098 * org.el (org-file-properties): Renamed from `org-local-properties'.
6099 (org-scan-tags): Take file tags into account.
6100 (org-tags-match-list-sublevels): Default changed to t.
6102 * org-exp.el (org-export-as-html): Close paragraph after a
6105 * org.el (org-update-parent-todo-statistics): New function.
6107 * org-exp.el (org-icalendar-store-UID): New option.
6108 (org-icalendar-force-UID): Option removed.
6109 (org-print-icalendar-entries): IMplement UIDs.
6111 2008-05-18 Carsten Dominik <dominik@science.uva.nl>
6113 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6115 2008-05-16 Carsten Dominik <dominik@science.uva.nl>
6117 * org-faces.el (org-column): Document how this face is being used
6118 and why sometimes the background faces shine through.
6120 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6122 * org-publish.el (org-publish-attachment): Create publishing
6123 directory if it does not yet exist.
6125 * org-table.el (org-calc-default-modes): Change default number
6126 format to (float 8).
6128 * org.el (org-olpath-completing-read): New function.
6129 (org-time-clocksum-format): New option.
6130 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6132 * org-clock.el (org-clock-display, org-clock-out)
6133 (org-update-mode-line): Use `org-time-clocksum-format'.
6135 * org-colview-xemacs.el (org-columns-number-to-string): Use
6136 `org-time-clocksum-format'.
6138 * org-colview.el (org-columns-number-to-string): Use
6139 `org-time-clocksum-format'.
6141 2008-05-15 Carsten Dominik <dominik@science.uva.nl>
6143 * org-id.el: New file, move from contrib to core.
6145 * org-exp.el (org-icalendar-force-UID): New option.
6147 2008-05-14 Carsten Dominik <dominik@science.uva.nl>
6149 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6150 shifted by one day if theere is a date range without an end
6153 * org.el (org-try-structure-completion): New function.
6155 2008-05-13 Carsten Dominik <dominik@science.uva.nl>
6157 * org.el (org-set-font-lock-defaults): Improve fontification of
6159 (org-insert-item): Handle description lists.
6160 (org-adaptive-fill-function): Improve auto indentation in
6163 * org-exp.el (org-export-as-html, org-export-preprocess-string):
6164 Implement VERSE environment.
6165 (org-export-preprocess-string): Implement the COMMENT
6168 * org-export-latex.el (org-export-latex-preprocess): Implement
6171 2008-05-12 Carsten Dominik <dominik@science.uva.nl>
6173 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6176 2008-05-10 Carsten Dominik <dominik@science.uva.nl>
6178 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6180 * org.el (org-quote-csv-field): New functions.
6182 * org-table.el (org-table-export-default-format): Remove :splice
6183 from default format, we get the same effect by not specifying
6185 (org-table-export): Improve setup, distinguish better between
6186 interactive and non-interactive use, allow specifying the format
6187 on the fly, better protection against wrong file names.
6188 (orgtbl-to-generic): Fix documentation. Do not require :tstart
6189 and :tend when :splice is omitted.
6191 2008-05-09 Bernt Hansen <bernt@norang.ca>
6193 * org-clock.el (org-clock-select-task): Make sure the selection
6194 letters are 1-9 and A-Z, no special characters.
6196 2008-05-09 Carsten Dominik <dominik@science.uva.nl>
6198 * org-exp.el (org-export-htmlize): New group.
6199 (org-export-htmlize-output-type)
6200 (org-export-htmlize-css-font-prefix): New options.
6201 (org-export-htmlize-region-for-paste): New function.
6202 (org-export-htmlize-generate-css): New command.
6204 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
6206 * org/org.el (org-modules, org-format-latex-options):
6207 * org/org-archive.el (org-archive-stamp-time)
6208 (org-archive-save-context-info):
6209 * org/org-faces.el (org-hide):
6210 * org/org-irc.el (org-irc-parse-link):
6211 * org/org-macs.el (org-call-with-arg, org-autoload):
6212 * org/org-mew.el (org-mew-store-link):
6213 * org/org-remember.el (org-remember-store-without-prompt)
6214 (org-remember-templates): Fix typos in docstrings.
6216 * org/org-info.el (org-info-store-link): Remove leftover docstring.
6218 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6219 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6220 (org-bbdb-anniv-split): Fix typos in docstrings.
6222 * org/org-publish.el (org-publish-project-alist): Doc fixes.
6223 (org-publish-use-timestamps-flag): Reflow docstring.
6224 (org-publish-files-alist): Fix typos in docstring.
6226 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
6228 * org.el (org-set-visibility-according-to-property): New function.
6229 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6230 and compute the regular expressions, and update font-lock.
6231 (org-property-re): Allow a dash in property names.
6233 * org-archive.el (org-extract-archive-file): Insert the file name
6234 without the path into the format, to allow the location format to
6235 contain a subdirectory.
6237 * org-agenda.el (org-agenda-post-command-hook): If point is at end
6238 of buffer, and the `org-agenda-type' property undefined, use the
6239 value from the character before.
6241 * org.el (org-add-planning-info): Don't let indentation for
6242 would-be timestamp become extra whitespace at the end of headline.
6244 2008-05-07 Carsten Dominik <dominik@science.uva.nl>
6246 * org.el (org-remove-double-quotes, org-file-contents): New
6249 * org-exp.el (org-infile-export-plist): Also parse the
6250 contents of #+SETUPFILE files, recursively.
6252 * org.el (org-set-regexps-and-options): Also parse the
6253 contents of #+SETUPFILE files, recursively.
6255 * org-exp.el (org-export-handle-include-files): New function.
6256 (org-export-preprocess-string): Call
6257 `org-export-handle-include-files'.
6259 * org.el (org-delete-property-globally)
6260 (org-delete-property, org-set-property): Ignore case during
6262 (org-set-property): Use `org-completing-read' instead of
6265 * org.el (org-complete-expand-structure-template): New,
6266 experimental function.
6267 (org-structure-template-alist): New, experimental option.
6268 (org-complete): Call `org-complete-expand-structure-template'.
6270 2008-05-06 Bastien Guerry <bzg@altern.org>
6272 * org-export-latex.el (org-export-latex-preprocess): Added
6273 support for blockquotes.
6275 2008-05-05 Carsten Dominik <dominik@science.uva.nl>
6277 * org.el (org-read-date-analyze): Catch the case where only a
6280 2008-05-04 Carsten Dominik <dominik@science.uva.nl>
6282 * org.el (org-set-font-lock-defaults): Make the description
6285 * org-exp.el (org-export-as-html, org-close-li): Implement
6288 2008-05-04 Jason Riedy <jason@acm.org>
6290 * org-table.el (*orgtbl-default-fmt*): New variable.
6291 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6292 when there is no other fmt available.
6294 (orgtbl-to-generic): Allow an explicitly nil :tstart or
6295 :tend to suppress the appropriate string.
6297 (orgtbl-to-orgtbl): New function for translating to another orgtbl
6300 2008-05-02 Carsten Dominik <dominik@science.uva.nl>
6302 * org.el (org-read-date-analyze): "." as an alias for "+0" in
6305 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6308 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6311 2008-05-01 Carsten Dominik <dominik@science.uva.nl>
6313 * org-clock.el (org-clock-find-position): Don't include notes
6316 * org-archive.el (org-archive-subtree): No longer remove an
6317 extra line after cutting the subtree. `org-cut-subtree' already
6320 * org-remember.el (org-remember-handler): Only kill the target
6321 buffer if it does not contain the running clock.
6323 * org.el (org-markers-to-move): New variable.
6324 (org-save-markers-in-region, org-check-and-save-marker)
6325 (org-reinstall-markers-in-region): New function.
6326 (org-move-subtree-down, org-copy-subtree): Remember relative
6327 marker positions before cutting.
6328 (org-move-subtree-down, org-paste-subtree): Restore relative
6329 marker positions after pasting.
6331 * org-remember.el (org-remember-clock-out-on-exit): New option.
6332 (org-remember-finalize): Clock out only if the setting in
6333 `org-remember-clock-out-on-exit' requires it.
6334 (org-remember-handler): Do the cleanup in the buffer, to make sure
6335 that the clock marker remains in tact.
6337 2008-04-29 Carsten Dominik <dominik@science.uva.nl>
6339 * org-clock.el (org-clock-goto): Widen buffer if necessary.
6340 (org-clock-in): Make sure that also tasks outside the narrowed
6341 region will be clocked in correctly.
6342 (org-clock-insert-selection-line): Widen the buffer so that we can
6343 find the correct task heading.
6345 * org.el (org-base-buffer): New function.
6347 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6348 and ";" are escaped.
6349 (org-print-icalendar-entries): Also apply
6350 `org-icalendar-cleanup-string' to the headline, not only to the
6353 2008-04-28 Carsten Dominik <dominik@science.uva.nl>
6355 * org-exp.el (org-export-preprocess-hook): New hook.
6356 (org-export-preprocess-string): Call
6357 `org-export-preprocess-hook'.
6359 * org.el (org-font-lock-hook): New variable.
6360 (org-font-lock-hook): New function.
6361 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6365 ;; add-log-time-zone-rule: t
6368 Copyright (C) 2008 Free Software Foundation, Inc.
6370 This file is part of GNU Emacs.
6372 GNU Emacs is free software: you can redistribute it and/or modify
6373 it under the terms of the GNU General Public License as published by
6374 the Free Software Foundation, either version 3 of the License, or
6375 (at your option) any later version.
6377 GNU Emacs is distributed in the hope that it will be useful,
6378 but WITHOUT ANY WARRANTY; without even the implied warranty of
6379 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6380 GNU General Public License for more details.
6382 You should have received a copy of the GNU General Public License
6383 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
6385 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c