1 2009-11-06 Carsten Dominik <carsten.dominik@gmail.com>
3 * org-remember.el (org-remember-apply-template): Turn of partial
6 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
7 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
9 * org.el (org-indent-mode): Define variable already in org.el.
10 (org-unfontify-region): Remove line-prefix and wrap-prefix
11 properties only if org-indent-mode is active.
13 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
15 * org-icalendar.el (org-print-icalendar-entries): Save match data
16 around call to verify function.
17 (org-print-icalendar-entries): Add a call to the verification
20 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
21 save-restrivtion' form.
23 2009-11-05 Dan Davison <davison@stats.ox.ac.uk>
25 * org-exp.el (org-export-format-source-code-or-example): restrict
26 scope of preserve-indentp to the let binding.
27 (org-src): require org-src, since org-src-preserve-indentation is used.
29 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
31 * org-timer.el (org-timer-set-timer): Set variables
32 org-timer-timer[123] correctly.
35 * org-mobile.el (org-mobile-files-alist): Make it work when
36 `agenda-archives' is included in
37 `org-agenda-text-search-extra-files'.
38 (org-mobile-push): Restore agenda after mobile push.
40 2009-11-05 John Wiegley <jwiegley@gmail.com>
42 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
43 way the amount of idle time is presented in the minibuffer.
45 2009-11-05 Carsten Dominik <carsten.dominik@gmail.com>
47 * org-icalendar.el (org-print-icalendar-entries): Use
48 org-icalendar-verify-function only if non-nil.
50 * org.el (org-refile): Refile to clock only if the prefix arg is
52 (org-sparse-tree): Fix docstring to be in line with prompt.
53 (org-update-parent-todo-statistics): Call
54 `org-after-todo-statistics-hook' on each level.
56 2009-11-04 Carsten Dominik <carsten.dominik@gmail.com>
58 * org-remember.el (org-remember-apply-template): Make sure the
61 2009-11-03 Carsten Dominik <carsten.dominik@gmail.com>
63 * org.el (org-tab-ind-state): New variable.
64 (org-cycle-level): New function.
65 (org-cycle-level-after-item/entry-creation): New option.
66 (org-flag-subtree): New function.
67 (org-hide-archived-subtrees): Call `org-flag-subtree'.
68 (org-set-effort): Indexed access.
70 * org-list.el (org-cycle-item-indentation): New function.
72 * org.el (org-refile): Make prefix argument 2 refile to current
74 (org-priority): Interpret action `remove' as call to remove the
77 * org-remember.el (org-remember-apply-template): Don't depend on
78 buffer name being like file name.
80 2009-11-02 Carsten Dominik <carsten.dominik@gmail.com>
82 * org-clock.el (org-clock-play-sound): Expand file in
83 org-clock-sound, to allow ~ for home.
85 * org-remember.el (org-remember-handler): Set
86 text-before-node-creation even if this already looks like a node,
87 because the string might be needed on non-org-mode target files.
89 * org-agenda.el (org-agenda-open-link): Make this work in agenda
91 (org-agenda-switch-to): Follow a link at point if
92 org-return-follows-link' is set and there is nothing else to do in
95 2009-11-02 James TD Smith <ahktenzero@mohorovi.cc>
97 * org-colview-xemacs.el: Add in changes from org-colview.el
99 2009-11-01 Dan Davison <davison@stats.ox.ac.uk>
101 * org-exp-blocks.el: Modify split separator regexp to avoid empty
104 2009-11-01 James TD Smith <ahktenzero@mohorovi.cc>
106 * org-colview.el (org-columns-new): Make this work with the new
108 (org-columns-store-format): Make this work with the new operators.
110 2009-11-01 Carsten Dominik <carsten.dominik@gmail.com>
112 * org-src.el (org-src-preserve-indentation): Document that this
113 variable is also used during export.
115 * org-exp.el (org-export-format-source-code-or-example): Preserve
116 indentation if a block has a -i option, or if
117 `org-src-preserve-indentation' is set.
119 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
120 indentation if a block has a -i option, or if
121 `org-src-preserve-indentation' is set.
123 2009-10-31 Carsten Dominik <carsten.dominik@gmail.com>
125 * org.el (org-mode-map): Define the new archiving keys.
126 (org-speed-commands-default): Define an archiving key in the speed
128 (org-org-menu): Improve the menu structure concerning archiving.
130 * org-archive.el (org-archive-subtree-default-with-confirmation):
133 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
134 (org-agenda-menu): Add the new archiving commands to the menu.
135 (org-agenda-archive-default)
136 (org-agenda-archive-default-with-confirmation): New commands.
137 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
138 call `org-agenda-archive-with'.
139 (org-agenda-archive-with): New function.
141 * org-table.el (org-table-convert-region): Inert spaces around "|"
142 to avoid line beginnings like "|-1" which will be mistaken as
145 2009-10-30 Carsten Dominik <carsten.dominik@gmail.com>
147 * org.el (org-offer-links-in-entry): Return nil if there are no
148 links, t if a link has been selected.
149 (org-open-at-point): Open attachment directory when called in the
150 headline and there are no links in the entry body.
151 (org-speed-commands-default): Add "o" for open-at-point as a speed
154 * org-attach.el (org-attach-reveal): Optional prefix arg
155 IF-EXISTS, which avoids creating the attachment directory if it
158 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
161 2009-10-29 Carsten Dominik <carsten.dominik@gmail.com>
163 * org.el ("abbrev"): Work with abbrev tables only after they have
166 * org-list.el (org-list-send-list): Fix bug related to match
169 * org-latex.el (org-export-latex-fontify): Apply verbatim
171 (org-export-latex-make-header): Insert \obeylines if line breaks
174 * org-exp.el (org-export-protect-verbatim): Add an
175 `org-verbatim-emph' property to such text.
177 2009-10-28 Carsten Dominik <carsten.dominik@gmail.com>
179 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
180 (org-print-icalendar-entries): Skip entries where the timestamp is
181 not a deadline and not scheduled, if the user requests that.
183 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
184 before an opening quote.
186 * org-archive.el (org-archive-subtree): Keep archive after
189 * org-id.el (org-id-update-id-locations): Add archive files if
190 that is required by `org-id-extra-files'.
192 2009-10-27 Carsten Dominik <carsten.dominik@gmail.com>
194 * org-src.el (org-src-window-setup): New option.
195 (org-src-switch-to-buffer): New function.
196 (org-edit-src-exit): Add optional argument CONTEXT and use it to
197 restore window configuration.
198 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
199 Call `org-src-switch-to-buffer'.
201 * org.el (org-default-properties): Add STYLE property.
202 (org-files-list): Use the function call to get the files.
203 (org-additional-option-like-keywords): Add SETUPFILE to completion
206 2009-10-26 Carsten Dominik <carsten.dominik@gmail.com>
208 * org-table.el (org-table-convert-region): Correctly interpret
209 quoting in csv import.
211 * org.el (org-icompleting-read): Make iswitchb completion work
212 with lists and tables.
214 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
215 while pushing the mobile agenda.
217 2009-10-25 John Wiegley <jwiegley@gmail.com>
220 (org-clock-auto-clock-resolution): Now takes three values: nil, t
221 and `when-no-clock-is-running'.
222 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
223 whether or not to resolve Org buffers on clock in.
225 2009-10-25 James TD Smith <ahktenzero@mohorovi.cc>
227 * org-colview.el (org-format-time-period): Function to format
228 times in fractional days for display.
229 (org-columns-display-here): Add support for showing a calculated
230 value in place of the property.
231 (org-columns): Set `org-columns-time' to the current time so time
232 difference calculations will work.
233 (org-columns-time): Use to store the current time when column view
234 is displayed, so all time differences will use the same reference
236 (org-columns-compile-map): There is now an extra position in each
237 entry specifying the function to use to calculate the displayed
238 value for the non-calculated properties in the column,
239 (org-columns-compute-all): Set `org-columns-time' to the current
240 time so time difference calculations will work.
241 (org-columns-compute): Handle column operators where the values
242 used are calculated from the underlying property.
243 (org-columns-number-to-string): Handle the 'age' column format
244 (org-columns-string-to-number): Correct the function name (was
245 org-column...). Add support for the 'age' column format.
246 (org-columns-compile-format): Support the additional parameter in
247 org-columns-compile-map.
249 2009-10-26 Bastien Guerry <bzg@altern.org>
251 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
254 2009-10-25 Carsten Dominik <carsten.dominik@gmail.com>
256 * org-clock.el (org-clock-has-been-used): New variable.
257 (org-clock-in): Set `org-clock-has-been-used'.
258 (org-clock-save): Save only if clock data has been used or created
261 2009-10-24 Carsten Dominik <carsten.dominik@gmail.com>
263 * org-clock.el (org-clock-persist): New value, to store only the
265 (org-clock-save): Don't save the clock if only the history should
267 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
268 when restoring a saved clock.
270 2009-10-24 John Wiegley <jwiegley@gmail.com>
272 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
273 `org-time-clock-use-fractional'.
275 * org.el (org-time-clocksum-use-fractional)
276 (org-time-clocksum-fractional-format): Two new customizable
277 variables which allow the user to select fractional times (1.25
278 instead of 1:25) in the `org-clock-display' report.
280 2009-10-23 John Wiegley <jwiegley@gmail.com>
282 * org-habit.el (org-habit-build-graph): None of the arguments
284 (org-habit-parse-todo, org-habit-deadline)
285 (org-habit-get-priority, org-habit-get-faces)
286 (org-habit-build-graph): Further simplifications by storing all
287 past, scheduled and deadline dates as a number of days past the
288 epoch, and not as times.
290 * org-habit.el (org-habit-warning-face)
291 (org-habit-warning-future-face): Removed because these are no
293 (org-habit-deadline, org-habit-deadline-repeat): Now always
294 returns a date; computed if there was a scheduled repeater but no
296 (org-habit-get-priority): Further improvements to the priority
297 algorithm. In particular, items past due should always appear
298 before items due or not yet due.
299 (org-habit-get-faces): Greatly simplified the logic, now that
300 `org-habit-deadline' always returns a valid time.
302 2009-10-23 Carsten Dominik <carsten.dominik@gmail.com>
304 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
307 * org.el (org-tag-alist): Fix customization type.
309 2009-10-22 Carsten Dominik <carsten.dominik@gmail.com>
311 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
312 Make sure the regexp search can fail without throwing an error.
313 (org-mobile-apply): Save the inbox buffer after removing
314 successfully applied changes.
316 2009-10-22 John Wiegley <jwiegley@gmail.com>
318 * org-habit.el (org-habit-build-graph): Fix to the graph building
319 when last DONE date is earlier than `org-habit-preceding-days'.
321 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
322 time is reported after the user comes back (but before they
325 * org.el (org-get-repeat): Change so that this function can be
326 called with either `org-scheduled-string' or
327 `org-deadline-string'.
329 * org-habit.el (org-habit-parse-todo): Use `org-scheduled-string'
330 to find the scheduled date.
332 * org-clock.el (org-clock-auto-clock-resolution): Renamed
333 `org-clock-disable-clock-resolution', since negatives don't sound
334 good in customization variables.
335 (org-clock-in): Don't use the auto-resolution logic if the user is
336 clocking into a different task while an active clock is running.
337 This then allows the default behavior of clocking out of the open
338 task and then into the new task.
340 * org-habit.el (org-habit-parse-todo): Generate an error if a
341 habit has a scheduled repeat period < 1.
342 (org-habit-get-faces): Fixes to the way that colors are computed.
343 (org-habit-build-graph): The graph wasn't displaying beyond any
344 day that had two completions in it.
346 * org.el (org-modules): Made this variable more consistent, since
347 it was referring to Org, OrgMode and Org-mode, whereas the docs
348 for the variable always refer to Org-mode.
350 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
352 * org.el (org-repeat-re): The changed org-repeat-re no longer
353 matched simple +2d type repeaters. Fix it so it does.
355 2009-10-21 Carsten Dominik <carsten.dominik@gmail.com>
357 * org-latex.el (org-export-latex-preprocess): Protect the vspace
358 macro in the VERSE environment.
360 2009-10-20 John Wiegley <jwiegley@gmail.com>
362 * org-habit.el (org-habit-get-priority): A new function that
363 determines the relative priority of a habit, based on how long
364 past its scheduled date it is, and how near the deadline is.
366 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
367 using `org-habit-get-priority'.
369 * org-habit.el (org-habit-build-graph): Start displaying colors
370 from the first scheduled date, if that date is earlier than the
371 first completion date.
373 * org-habit.el: Changed all "color" variables to faces, and made
374 them appropriate for light and dark backgrounds.
376 * org-habit.el (org-habit-duration-to-days): Made this function
378 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
380 * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
381 habits, since they don't use DEADLINE anymore.
383 * org.el (org-repeat-re, org-display-custom-time)
384 (org-timestamp-change): Extended to support the new ".+N/N"
385 syntax, used for habits.
387 * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
390 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
391 modeline when habits are being displayed (if that module is being
394 2009-10-21 James TD Smith <ahktenzero@mohorovi.cc>
396 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
397 idle time using the xscreensaver extension.
398 (org-user-idle-seconds): Use X11 idle time if available.
400 2009-10-20 Carsten Dominik <carsten.dominik@gmail.com>
402 * org-agenda.el (org-agenda-next-line): New command.
403 (org-agenda-previous-line): New commands.
404 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
406 (org-agenda-follow-mode): Do the follow immediately if the mode is
408 (previous-line, next-line): Replace keys with the corresponding
410 (org-agenda-mode-map): Bind backspace and delete to the scrolling
413 * org.el (org-icompleting-read): Turn off partial completion mode
414 for the duration of this completion round.
416 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
417 macros in author lines and similar stuff.
419 * org.el (org-file-tags): Fix docstring.
420 (org-get-buffer-tags): Add the #+FILETAGS tags.
421 ("ecb"): Maks ecb show context after jumping into an Org file.
423 2009-10-20 John Wiegley <johnw@newartisans.com>
425 * org-agenda.el (org-finalize-agenda): Draw habit consistency
426 graphs after everything else in the buffer has been setup.
428 2009-10-19 Carsten Dominik <carsten.dominik@gmail.com>
430 * org-mobile.el (org-mobile-apply): Count success and failure.
432 * org.el (org-indent-line-function): Fix regexp replace problem.
434 2009-10-19 John Wiegley <johnw@newartisans.com>
436 * org-clock.el (org-clock-disable-clock-resolution): New
437 customization variable that disable automatic clock resolution on
439 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
440 not automatically resolve anything. This is does not affect
441 idle-time resolution, however, if `org-clock-idle-time' is set.
443 2009-10-19 John Wiegley <johnw@newartisans.com>
445 * org-habit.el: New file, which implements code to build a "habit
448 * org-agenda.el (org-agenda-get-deadlines)
449 (org-agenda-get-scheduled): Display consistency graphs when
450 outputting habits into the agenda. The graphs are always relative
452 (org-format-agenda-item): Added new parameter `habitp', which
453 indicates whether we are formatting a habit or not. Do not
454 display "extra" leading information if habitp is true.
456 * org.el (org-repeat-re): Improved regexp to include .+ and ++
457 leaders for repeat strings.
458 (org-get-repeat): Now takes a string parameter `tagline', so the
459 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
461 2009-10-19 John Wiegley <johnw@newartisans.com>
463 * org-agenda.el (org-agenda-auto-exclude-function): New
464 customization variable for allowing the user to create an "auto
465 exclusion" filter for doing context-aware auto tag filtering.
466 (org-agenda-filter-by-tag): Changes to support the use of
467 `org-agenda-auto-exclude-function'. See the new manual addition,.
469 2009-10-18 John Wiegley <johnw@newartisans.com>
471 * org.el (org-files-list): Don't attempt to return a file name for
472 Org buffers which have no associated file.
474 * org-agenda.el (org-agenda-do-action): Fixed a typo.
476 2009-10-18 Carsten Dominik <carsten.dominik@gmail.com>
478 * org-mobile.el (org-mobile-locate-entry): Interpret files
479 relative to org-directory.
480 (org-mobile-inbox-for-pull): Document the best location for this
482 (org-mobile-check-setup): Verify `org-directory'.
483 (org-mobile-create-index-file): Sort the files to be listed in
486 2009-10-17 James TD Smith <ahktenzero@mohorovi.cc>
488 * org.el (org-fast-tag-selection): Add a way to display a
489 description for a tag group. This is done by adding a string to
490 either the startgroup or endgroup cell.
492 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
494 * org-clock.el (org-clock-resolve, org-resolve-clocks)
495 (org-emacs-idle-seconds): Use `org-float-time' instead of
498 2009-10-17 Carsten Dominik <carsten.dominik@gmail.com>
500 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
503 * org.el (org-pre-cycle-hook): Document that `empty' can also be
504 the value of ARG when doing local cycling.
506 2009-10-17 John Wiegley <johnw@newartisans.com>
508 * org-clock.el (org-clock-resolve-clock): If keeping or
509 subtracting time results in a clock out at a time in the past, and
510 if the resolution occurred due to idleness or invoking `M-x
511 org-resolve-clocks', remember that past moment in time. On the
512 next clock in, the user will be prompted to see if they want to
513 back-date their new clock to then.
514 (org-clock-resolve): Do not jump the user to the location of a
515 dangling clock if the resolution is occuring due to an idle
516 timeout. In that case there is typically only one dangling clock,
517 the active one, and there is no value gained by shuffling their
518 windows around to show it to them. Being prompted to resolve an
519 idle clock should be as inobtrusive as possible.
520 (org-resolve-clocks-if-idle): New function that resolves only the
521 currently active clock if the user has exceeded the time returned
522 by `org-user-idle-seconds', based on the value of
523 `org-clock-idle-time'.
524 (org-clock-in): If, after resolving clocks,
525 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
527 * org-clock.el (org-clock-resolve-clock): New function that
528 resolves a clock to a specific time, closing or resuming as need
529 be, and possibly even starting a new clock.
530 (org-clock-resolve): New function used by `org-resolve-clocks'
531 that sets up for the call to `org-clock-resolve-clock'. It
532 determines the time to resolve to based on a single-character
533 selection from the user to either keep time, subtract away time or
535 (org-resolve-clocks): New user command which resolves dangling
536 clocks -- that is, open but not active -- anywhere in the file
537 list returned by `org-files-list'.
538 (org-clock-in): Automatically resolve dangling clocks whenever a
540 (org-clock-cancel): If the user cancels the solely clock in a
541 LOGBOOK, remove the empty drawer.
543 * org-clock.el (org-clock-idle-time): New user customizable option
544 for detecting whether the user has left a clock idle. Note: it is
545 only used in this commit to test whether it's worthwhile to check
546 OS X to get the Mac user's current idle time. If the Emacs idle
547 time is less than the value, the user hasn't been away long enough
548 to be worth checking (a more expensive test than just getting
550 (org-user-idle-seconds, org-mac-idle-seconds)
551 (org-emacs-idle-seconds): This three functions, in conjunction
552 with the user customization variable `org-clock-idle-time', return
553 the number of seconds (as a floating point) that the user has been
554 away from their Emacs (or, if running on OS X, their computer).
556 * org-clock.el (org-find-open-clocks): New function that returns a
557 list of all open clocks in the given FILE. Note that each clock
558 it returns is a cons cell of the format (MARKER . START-TIME).
559 This "clock" value is used by several of the new clock module
561 (org-is-active-clock): New inline function which tests whether the
562 given clock value is the same as the currently active clock.
563 Returns non-nil if this is the case.
564 (org-with-clock-position): New macro that evaluates FORMS with
565 point in the buffer and at the position of the given clock.
566 Changes to the current clock are global.
567 (org-with-clock): New macro that evaluates FORMS with point in the
568 buffer and at the position of the given clock. However, changes
569 to the current clock are local and have no effect on the user's
570 active clock. This allows, for example, far any clock to be
571 cancelled without cancelling the active clock.
572 (org-clock-clock-in): New inline function that switches the active
573 clock to the given clock. If either the argument RESUME, or the
574 global `org-clock-in-resume', are non-nil, it will resume a clock
575 that was previously left open.
576 (org-clock-clock-out): New inline function that clocks out the
577 given clock value without affecting the currently active clock.
578 (org-clock-clock-cancel): New inline function that cancels the
579 given clock value without affecting the currently active clock.
581 * org-clock.el (org-clock-in): Before creating
582 `org-clock-mode-line-timer', check to make sure an older timer is
583 not currently running.
584 (org-clock-out): Accept new third parameter `at-time', which
585 permits a clock to be clocked out at a specific time. Note that
586 no attempt is made to verify that the clock out time is later than
589 * org.el (org-files-list): New utility function for returning a
590 list of all open org-mode buffers, plus all files used to build
591 the agenda buffer. Note that not all the files will necessarily
592 be visited by a buffer at time of call.
593 (org-entry-beginning-position): Like the function
594 `line-beginning-position', this inline function returns the
595 beginning position of the current heading/entry.
596 (org-entry-end-position): Like the function `line-end-position',
597 this inline function returns the end position of the current
600 2009-10-16 Carsten Dominik <carsten.dominik@gmail.com>
602 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
605 2009-10-15 Carsten Dominik <carsten.dominik@gmail.com>
607 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
609 2009-10-14 Carsten Dominik <carsten.dominik@gmail.com>
611 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
612 entries that have no tags.
613 (org-agenda-search-view): New customize group.
614 (org-agenda-search-view-search-words-only): New option.
615 (org-search-view): Implement substring search.
617 2009-10-13 Carsten Dominik <carsten.dominik@gmail.com>
619 * org.el (org-outline-level): Add doc string.
621 2009-10-12 Carsten Dominik <carsten.dominik@gmail.com>
623 * org-inlinetask.el (org-inlinetask-export): Re-introduce
625 (org-inlinetask-export-handler): Only export inline task if the
626 user option calls for it.
628 2009-10-10 Carsten Dominik <carsten.dominik@gmail.com>
630 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
633 2009-10-07 Carsten Dominik <carsten.dominik@gmail.com>
635 * org-latex.el (org-export-latex-tables): Don't format in
638 2009-10-06 Carsten Dominik <carsten.dominik@gmail.com>
640 * org-src.el (org-edit-src-code)
641 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
644 * org-agenda.el (org-prefix-category-max-length): New variable.
645 (org-format-agenda-item): Use `org-prefix-category-max-length'.
646 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
648 2009-10-03 Carsten Dominik <carsten.dominik@gmail.com>
650 * org-mobile.el (org-mobile-create-index-file): Improve the
651 listing of tags and todo keywords.
653 * org-latex.el (org-export-latex-format-image): New function.
654 (org-export-latex-links): Use `org-export-latex-format-image'.
656 2009-10-02 Carsten Dominik <carsten.dominik@gmail.com>
658 * org-inlinetask.el (org-inlinetask-get-current-indentation)
659 (org-inlinetask-remove-terminator): New functions.
660 (org-inlinetask-export-handler): Terminate the description list.
662 * org-exp.el (org-export-select-backend-specific-text): Remove the
665 * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
666 tasks without content.
668 * org-clock.el: Make sure the clock-in target position does not
669 move to a different node by widening the buffer.
671 * org-html.el (org-export-html-format-image): Wrap image into
672 figure div only when there is a caption.
674 * org-archive.el (org-archive-mark-done): Change default value to
677 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
679 * org.el (org-context): Call `bobp', not `eobp'.
681 * org-clock.el (org-clock-cancel): Remove quotes from marker
684 * org.el (org-read-date-prefer-future): New allowed value `time'.
685 (org-read-date-analyze): Shift day to tomorrow depending on time
686 entered and value of `org-read-date-prefer-future'.
688 2009-09-30 Carsten Dominik <carsten.dominik@gmail.com>
690 * org.el (org-set-tags-to): New command.
692 * org-mobile.el (org-mobile-action-alist): Add more options and
693 update the docstring.
694 (org-mobile-apply-flags): Parse for and use the data.
696 * org-latex.el (org-export-latex-set-initial-vars): Also check in
699 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
702 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
704 2009-09-29 Carsten Dominik <carsten.dominik@gmail.com>
706 * org-inlinetask.el (org-inlinetask-export): Option removed.
707 (org-inlinetask-export-handler): Better export.
709 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
710 (org-export-as-xoxo): Run the new hook.
712 * org-html.el (org-export-html-final-hook): New hook.
713 (org-export-as-html): Run the new hook.
715 * org-docbook.el (org-export-docbook-final-hook): New hook.
716 (org-export-as-docbook): Run the new hook.
718 * org-ascii.el (org-export-ascii-final-hook): New hook.
719 (org-export-as-ascii): Run the new hook.
721 * org-mobile.el (org-mobile-create-sumo-agenda): Call
722 `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
724 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
725 space character as the character before the ^/_.
726 (org-export-latex-final-hook): New hook.
727 (org-export-as-latex): Run `org-export-latex-final-hook'.
729 2009-09-28 Carsten Dominik <carsten.dominik@gmail.com>
731 * org-macs.el (org-if-unprotected-at): Fix docstring.
733 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
734 text in the prefix (if category is a link).
736 * org-latex.el (org-export-latex-preprocess): Deal properly with
737 empty lines in verse environments.
739 * org.el (org-format-latex-header): Inline fullpage.sty.
741 * org-footnote.el (org-footnote-create-definition): Reveal context
742 to add a new footnote definition.
744 * org-mobile.el (org-mobile-files-alist): Add the list of tags to
746 (org-mobile-files): New option.
747 (org-mobile-files-alist, org-mobile-checksum-files): New variable.
748 (org-mobile-prepare-file-lists, org-mobile-files-alist): New
750 (org-mobile-push): Start by creating the files lists.
751 (org-mobile-copy-agenda-files): Move killing the buffer to after
752 the save-excursion has exited.
753 (org-mobile-write-checksums): Write checksums also for files in
756 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
757 org-table-recalculate when cursor is in TBLFM line.
759 * org-list.el (org-renumber-ordered-list): Fix cursor position
760 when bullet length has changed.
762 2009-09-26 Carsten Dominik <carsten.dominik@gmail.com>
764 * org.el (org-format-latex): Mention `org-format-latex-options' in
767 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
769 * org.el (org-agenda-get): New function.
771 * org-agenda.el (org-agenda-post-command-hook): No longer move
772 point away from end of line.
773 (org-agenda-add-entry-text, org-agenda-collect-markers)
774 (org-finalize-agenda, org-agenda-mark-clocking-task)
775 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
776 (org-agenda-entry-text-show, org-agenda-highlight-todo)
777 (org-agenda-compare-effort, org-agenda-filter-apply)
778 (org-agenda-later, org-agenda-change-time-span)
779 (org-agenda-post-command-hook, org-agenda-show-priority)
780 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
781 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
782 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
783 (org-agenda-open-link, org-agenda-copy-local-variable)
784 (org-agenda-switch-to, org-agenda-check-no-diary)
785 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
786 (org-agenda-add-note, org-agenda-change-all-lines)
787 (org-agenda-priority, org-agenda-set-tags)
788 (org-agenda-set-property, org-agenda-set-effort)
789 (org-agenda-toggle-archive-tag, org-agenda-date-later)
790 (org-agenda-show-new-time, org-agenda-date-prompt)
791 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
792 (org-agenda-clock-in, org-agenda-bulk-mark)
793 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
796 * org-colview.el (org-columns-display-here)
797 (org-columns-edit-allowed, org-agenda-columns): Use
800 2009-09-25 Carsten Dominik <carsten.dominik@gmail.com>
802 * org.el (org-special-ctrl-a/e): Improve documentation and
804 (org-end-of-line): Don't jump to after the ellipsis.
805 (org-mode-map): Bind <home> and <end> as well.
807 2009-09-24 Carsten Dominik <carsten.dominik@gmail.com>
809 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
810 space after #+ as comments.
811 (org-open-at-point): Run `org-follow-link-hook' always.
813 * org-latex.el (org-export-latex-emph-format): Use better commands
814 to insert special characters in verbatim snippets.
816 2009-09-22 Carsten Dominik <carsten.dominik@gmail.com>
818 * org-faces.el (org-copy-face): New function. Use it to create
819 various faces formerly created by using `copy-face'.
821 * org-agenda.el (org-prepare-agenda): Don't officially mark this
823 (org-agenda-quit): Kill the frame containing the agenda window if
824 that frame was created for the agenda.
826 2009-09-21 Carsten Dominik <carsten.dominik@gmail.com>
828 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
831 2009-09-19 Carsten Dominik <carsten.dominik@gmail.com>
833 * org-mobile.el (org-mobile-create-index-file): Add the list of
834 TODO keywords, and the list of drawers to the index file.
836 * org-agenda.el (org-prepare-agenda): Reset
837 `org-drawers-for-agenda'.
838 (org-prepare-agenda): Uniquify list of drawers.
840 * org.el (org-complex-heading-regexp-format): New variable.
841 (org-set-regexps-and-options): Define
842 `org-complex-heading-regexp-format'.
843 (org-drawers-for-agenda): New variable.
844 (org-map-entries): Bind `org-drawers-for-agenda'.
845 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
847 * org-remember.el (org-go-to-remember-target)
848 (org-remember-handler): Use `org-complex-heading-regexp-format'.
850 2009-09-18 Carsten Dominik <carsten.dominik@gmail.com>
852 * org-agenda.el (org-agenda-highlight-todo): Fix text property
855 * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
856 the capture file, and make it non-configurable.
858 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
859 always with `invisible-ok'.
860 (org-store-link): No error when there is nothing to link to in the
863 * org-list.el (org-update-checkbox-count): Insert changed cookie
864 before the old, to avoid problems with invisibility at the end of
866 (org-update-checkbox-count): Insert changed cookie before the old,
867 to avoid problems with invisibility at the end of the line.
869 * org.el (org-sort-entries-or-items): Include the final newline.
870 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
871 lines for fontification.
872 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
873 (org-prepare-dblock): Store the current indentation of the BEGIN
875 (org-update-dblock): Apply the indentation of the begin line to
876 the rest of the block.
877 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
878 (org-startup-folded): New allowed value `showeverything'.
879 (org-startup-options): Add STARTUP keyword `showeverything'.
880 (org-set-startup-visibility): Respect value `showeverything' in
883 2009-09-17 Carsten Dominik <carsten.dominik@gmail.com>
885 * org.el (org-closest-date): Fix issue with past preference.
887 * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
889 * org-archive.el (org-archive-set-tag)
890 (org-archive-subtree-default): New commands.
892 * org-mobile.el (org-mobile-create-index-file): Fix link to
894 (org-mobile-copy-agenda-files): Create the capture file if it does
897 * org-clock.el (org-clock-clocktable-default-properties): New
899 (org-clock-report): Use
900 `org-clock-clocktable-default-properties'.
902 2009-09-16 Carsten Dominik <carsten.dominik@gmail.com>
904 * org.el (org-iswitchb-completing-read): Fix typo.
906 * org-crypt.el: New file.
908 * org.el: Add an entry for org-crypt.
910 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
912 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
914 (org-batch-store-agenda-views): New function.
915 (org-mobile-force-id-on-agenda-items): Mention variable.
916 (org-agenda-title-append): Define variable.
917 (org-write-agenda): New export to Org files.
918 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
919 (org-agenda): Allow to keep the restricted file list if a special
920 variable is bound to t.
921 (org-agenda): Define a special agenda view for working on flagged
923 (org-agenda-get-restriction-and-command): List the new agenda
925 (org-agenda-show-the-flagging-note): New command.
926 (org-agenda-mode-map): New key `?' for looking at the flagging
929 * org.el (org-autoload): Autoload org-mobile.el.
930 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
932 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
934 2009-09-15 Carsten Dominik <carsten.dominik@gmail.com>
936 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
938 (org-table-get-remote-range): Match indented #+TBLNAME
941 * org.el (org-convert-to-odd-levels)
942 (org-convert-to-oddeven-levels): Work also correctly if the file
945 2009-09-12 Carsten Dominik <carsten.dominik@gmail.com>
947 * org.el (org-store-link): When in agenda buffer, link to
949 (org-add-planning-info): Remove spaces at eol.
951 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
954 2009-09-10 Carsten Dominik <carsten.dominik@gmail.com>
956 * org-latex.el (org-export-latex-first-lines): Fix problem with
957 LaTeX export of first line and selected subtree.
959 * org.el (org-shifttab): Interpret arg differently when using only
962 2009-09-09 Bastien Guerry <bzg@altern.org>
964 * org.el (org-check-agenda-file): Use a more explicit message
966 2009-09-08 Carsten Dominik <carsten.dominik@gmail.com>
968 * org-exp.el (org-export-remove-special-table-lines): Don't remove
971 2009-09-08 Bastien Guerry <bzg@altern.org>
973 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
974 prompt in the temporary window.
976 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
977 prefix for marked entries in the agenda view.
979 2009-09-07 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
981 * org.el (outline-end-of-subtree): Bugfix: advise this function in
982 a way that prevents any trailing character from being displayed.
984 2009-09-07 Carsten Dominik <carsten.dominik@gmail.com>
986 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
989 * org-exp.el (org-export-remove-special-table-lines): Remove bad
992 2009-09-06 Carsten Dominik <carsten.dominik@gmail.com>
994 * org-latex.el (org-export-latex-preprocess): Do not protect in
997 * org-src.el (org-edit-src-save): Save window setup while saving.
998 (org-edit-src-code): Use new buffer name construction scheme.
1000 2009-09-04 Carsten Dominik <carsten.dominik@gmail.com>
1002 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1004 (org-agenda-entry-text-cleanup-hook): New hook.
1005 (org-agenda-get-some-entry-text): Remove matches of
1006 `org-agenda-entry-text-exclude-regexps' and run the hook
1007 `org-agenda-entry-text-cleanup-hook'.
1009 * org.el (org-offer-links-in-entry): New argument ZERO to
1010 implement a link with index zero.
1011 (org-cycle-show-empty-lines): Not keep empty line under header
1013 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1014 to nil for special completion.
1015 (org-store-link): Don't error before the first heading.
1017 * org-agenda.el (org-agenda-open-link): Pass the prefix to
1018 `org-offer-links-in-entry'.
1020 2009-09-03 Carsten Dominik <carsten.dominik@gmail.com>
1022 * org-agenda.el (org-agenda-quit): Provide the window argument for
1023 `window-dedicated-p', Emacs 22 needs it.
1024 (org-format-agenda-item): If the category is a link, arrange for
1025 invisible text to replaced with spaces.
1026 (org-compile-prefix-format): Add the extra space.
1027 (org-prefix-category-length): New variable.
1029 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1030 references from TOC lines.
1032 * org.el (org-selected-window): New variable.
1034 * org-table.el (org-table-edit-formulas): Remember the selected
1036 (org-table-fedit-finish, org-table-fedit-abort): Select the window
1037 that was originally selected.
1039 * org-exp.el (org-export-preprocess-apply-macros): Scan the
1040 expansion of a macro for more macro definitions.
1042 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1043 invisibility overlay starts on the newline.
1045 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
1047 * org-protocol.el (org-protocol-store-link)
1048 (org-protocol-remember, org-protocol-open-source): Add autoloads.
1050 * org-compat.el (org-float-time): New function.
1052 * org.el (org-clock-update-time-maybe)
1053 (org-sort-entries-or-items, org-do-sort)
1054 (org-evaluate-time-range, org-time-string-to-seconds)
1055 (org-closed-in-range): Use `org-float-time'.
1057 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1058 (org-timer-seconds): Use `org-float-time'.
1060 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1061 (org-clock-sum, org-dblock-write:clocktable)
1062 (org-clocktable-steps): Use `org-float-time'.
1064 * org-agenda.el (org-agenda-last-marker-time)
1065 (org-agenda-new-marker, org-diary): Use `org-float-time'.
1067 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1070 * org-exp.el (org-get-file-contents): Only protect lines that
1073 * org-html.el (require): Require cl for compilation.
1075 * org.el: Avoid using `default-major-mode'.
1077 * org-plot.el (require): Require CL only at compile time.
1079 * org-exp.el (require): Require CL only at compile time.
1081 * org-agenda.el (org-agenda-quit): When the agenda window is
1082 dedicated, remove other windows before exiting, so that the frame
1083 really will be killed.
1085 * org-exp.el (org-export-handle-include-files): Reset START and
1086 END for each loop cycle.
1088 2009-09-01 Carsten Dominik <carsten.dominik@gmail.com>
1090 * org.el (org-eval-in-calendar): Use
1091 `org-select-frame-set-input-focus'.
1093 * org-compat.el (org-select-frame-set-input-focus): New function.
1095 * org.el (org-update-statistics-cookies): New function.
1096 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1098 2009-08-31 Carsten Dominik <carsten.dominik@gmail.com>
1100 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1101 after the local variables are set.
1103 * org-latex.el (org-export-latex-protect-amp): New function.
1104 (org-export-latex-links): Protect link ampersands in tables.
1106 * org-exp.el (org-export-select-backend-specific-text): Match in
1107 two steps, to avoid regexp problems.
1109 * org.el (org-offer-links-in-entry): Improve working with many and
1112 * org-agenda.el (org-agenda-show-1): Make more consistent with
1114 (org-agenda-cycle-show): Make more consistent with normal cycling.
1116 * org-gnus.el (org-gnus-store-link): Restore the linking to a
1119 2009-08-30 Bastien Guerry <bzg@altern.org>
1121 * org-latex.el (org-export-latex-first-lines): Bugfix.
1123 2009-08-29 Carsten Dominik <carsten.dominik@gmail.com>
1125 * org-clock.el (org-clock-modify-effort-estimate): Emit message
1128 * org.el (org-set-effort): New function.
1129 (org-mode-map): New key for effort setting command.
1131 * org-agenda.el (org-agenda): Keep window setup when calling
1132 agenda from within agenda window.
1133 (org-agenda-mode-map): New keys for effort setting commands.
1134 (org-agenda-menu): Add effort setting commands to menu.
1135 (org-agenda-set-property, org-agenda-set-effort): New functions.
1137 * org-latex.el (org-export-latex-tables): Fix
1138 `org-table-last-alignment' and `org-table-last-column-widths' if
1139 the first column has been removed.
1141 2009-08-28 Carsten Dominik <carsten.dominik@gmail.com>
1143 * org.el (org-remove-timestamp-with-keyword): Only remove in
1144 entry, not in subtree.
1146 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1149 * org.el (org-open-at-point): When on headline, offer all strings
1152 * org-remember.el (org-remember-templates): Documentation fix.
1154 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1155 `org-get-last-sibling' instead of the outline versions of these
1157 (org-get-last-sibling): New function.
1158 (org-refile): Use `org-get-next-sibling' instead of the outline
1159 version of this function.
1160 (org-clean-visibility-after-subtree-move): Use
1161 `org-get-next-sibling' and `org-get-last-sibling' instead of the
1162 outline versions of these functions.
1164 2009-08-27 Carsten Dominik <carsten.dominik@gmail.com>
1166 * org-agenda.el (org-prepare-agenda): When creating a new frame
1167 for the agenda, make the window dedicated.
1169 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1171 * org-table.el (org-table-align): Change the order of reinsertion
1172 and deletion, to avoid problems with overlays following the table.
1174 * org.el (org-parse-time-string): Better error message.
1175 (org-show-subtree): Use org-end-of-subtree.
1177 * org-macs.el (org-goto-line): New defsubst.
1179 * org.el (org-open-file, org-change-tag-in-region)
1180 (org-fast-tag-show-exit): Don't use `goto-line'.
1182 * org-table.el (org-table-align, org-table-insert-column)
1183 (org-table-delete-column, org-table-move-column)
1184 (org-table-sort-lines, org-table-copy-region)
1185 (org-table-paste-rectangle, org-table-wrap-region)
1186 (org-table-get-specials, org-table-rotate-recalc-marks)
1187 (org-table-get-range, org-table-recalculate)
1188 (org-table-edit-formulas, org-table-fedit-convert-buffer)
1189 (org-table-show-reference, org-table-highlight-rectangle): Don't
1192 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1193 (org-edit-src-exit): Don't use `goto-line'.
1195 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1197 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1198 Don't use `goto-line'.
1200 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1202 * org-colview.el (org-columns, org-columns-redo)
1203 (org-agenda-columns): Don't use `goto-line'.
1205 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1208 * org-agenda.el (org-agenda-mode): Force visual line motion off.
1209 (org-agenda-add-entry-text-maxlines): Improve docstring.
1210 (org-agenda-start-with-entry-text-mode): New option.
1211 (org-agenda-entry-text-maxlines): New option.
1212 (org-agenda-entry-text-mode): New variable.
1213 (org-agenda-mode): Set initial value of
1214 `org-agenda-entry-text-mode'.
1215 (org-agenda-mode-map): Add the `E' key.
1216 (org-agenda-menu): Add entry text mode to the menu.
1217 (org-agenda-get-some-entry-text): Fix line count bug.
1218 (org-finalize-agenda): Apply entry text mode if appropriate.
1219 (org-agenda-entry-text-show-here): New function.
1220 (org-agenda-entry-text-show): New function.
1221 (org-agenda-entry-text-hide): New function.
1222 (org-agenda-view-mode-dispatch): Add entry text mode to the view
1224 (org-agenda-entry-text-mode): New command.
1225 (org-agenda-set-mode-name): Add entry text mode to the mode line
1227 (org-agenda-undo, org-agenda-get-restriction-and-command)
1228 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1231 2009-08-26 Bernt Hansen <bernt@norang.ca>
1233 * org-clock.el (org-notify): Bugfix.
1235 2009-08-25 Carsten Dominik <carsten.dominik@gmail.com>
1237 * org-agenda.el (org-agenda-open-link): Handle multiple links and
1238 check for after-string.
1240 * org-gnus.el (org-gnus-store-link): Simplify.
1242 * org.el (org-latex-regexps): Don't add extra empty lines for
1245 2009-08-24 Carsten Dominik <carsten.dominik@gmail.com>
1247 * org-agenda.el (org-agenda-get-some-entry-text): New function.
1248 (org-agenda-add-entry-text): Use
1249 `org-agenda-get-some-entry-text'.
1251 * org.el (org-cycle-separator-lines): Update docstring.
1252 (org-cycle-show-empty-lines): Handle negative values for
1253 `org-cycle-show-empty-lines'.
1255 * org-exp.el (org-export-protect-sub-super): New function.
1256 (org-export-normalize-links): Protect the url of plain links from
1257 supscript and superscript processing.
1259 * org-remember.el (org-remember-escaped-%): New function.
1260 (org-remember-apply-template): Use `org-remember-escaped-%' to
1261 detect escaped % signs.
1263 2009-08-23 Bastien Guerry <bzg@altern.org>
1265 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1266 sound when showing the notification.
1268 * org-clock.el (org-notify): New function.
1269 (org-clock-notify-once-if-expired): Use `org-notify'.
1271 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1272 and `gnus-article-mode' separately.
1273 (gnus-summary-article-header): Fix the declare-function.
1275 2009-08-23 Carsten Dominik <carsten.dominik@gmail.com>
1277 * org-exp.el (org-export-format-source-code-or-example): Translate
1280 * org-src.el (org-src-lang-modes): New variable
1281 (org-edit-src-code): Translate language.
1283 * org-exp.el (org-export-format-source-code-or-example): Deal wit
1284 the new structure of the `org-export-latex-listings-langs'
1287 * org-latex.el (org-export-latex-listings-langs): Change structure
1288 of the variable from plist to alist.
1290 2009-08-21 Carsten Dominik <carsten.dominik@gmail.com>
1292 * org.el (org-in-commented-line): New function.
1294 2009-08-20 Carsten Dominik <carsten.dominik@gmail.com>
1296 * org.el (org-hide-block-toggle): Make folded blocks searchable.
1298 2009-08-19 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
1300 * org.el (org-flag-drawer): More useful error.
1302 2009-08-19 Carsten Dominik <carsten.dominik@gmail.com>
1304 * org-remember.el (org-remember-apply-template): Use
1305 org-icompleting-read.
1307 * org-publish.el (org-publish): Use org-icompleting-read.
1309 * org-colview.el (org-columns-edit-value, org-columns-new)
1310 (org-insert-columns-dblock): Use org-icompleting-read.
1312 * org-colview-xemacs.el (org-columns-edit-value)
1313 (org-columns-new, org-insert-columns-dblock): Use
1314 org-icompleting-read.
1316 * org-attach.el (org-attach-delete-one, org-attach-open): Use
1317 org-icompleting-read.
1319 2009-08-18 Carsten Dominik <carsten.dominik@gmail.com>
1321 * org.el (org-hierarchical-todo-statistics): Improve docstring.
1322 (org-version): Return the version text.
1323 (org-org-menu): Add a menu entry for the new bug reporter.
1324 (org-submit-bug-report): New command.
1326 * org-list.el (org-hierarchical-checkbox-statistics): Improve
1329 * org.el (org-emphasis-regexp-components): Add "`" to set of
1330 pre-emphasis characters.
1332 * org-latex.el (org-export-latex-classes): Always include the soul
1334 (org-export-latex-emphasis-alist): Use \st for strikethough.
1336 * org-exp-blocks.el (org-export-blocks-preprocess): Use
1337 `indent-code-rigidly' to indent.
1339 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1340 properties only if MATCH really is a string.
1342 2009-08-16 Carsten Dominik <carsten.dominik@gmail.com>
1344 * org-latex.el (org-export-latex-packages-alist): Fix
1347 * org.el (org-create-formula-image): Also use
1348 `org-export-latex-packages-alist'.
1350 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1351 (org-export-as-html): Format footnotes correctly.
1353 2009-08-14 Carsten Dominik <carsten.dominik@gmail.com>
1355 * org.el (org-fast-tag-selection): Avoid text properties on tags
1358 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1359 text properties on the match element.
1361 2009-08-12 Carsten Dominik <carsten.dominik@gmail.com>
1363 * org.el (org-set-regexps-and-options): Make sure the list of done
1364 keywords is not invalid.
1366 * org-exp.el (org-export-interpolate-newlines): New function.
1368 2009-08-11 Carsten Dominik <carsten.dominik@gmail.com>
1370 * org.el (org-format-latex): Avoid nested overlays.
1372 * org-latex.el (org-export-latex-listings-langs): Add a few more
1375 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1376 ignore newlines and space before the first macro argument.
1378 * org-latex.el (org-export-latex-tables): Remove save-excursion
1379 around `org-table-align'.
1381 2009-08-10 Carsten Dominik <carsten.dominik@gmail.com>
1383 * org.el (org-export-html-special-string-regexps): Definition
1386 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1389 2009-08-09 Carsten Dominik <carsten.dominik@gmail.com>
1391 * org-latex.el (org-export-latex-listings)
1392 (org-export-latex-listings-langs): New options.
1394 * org-exp.el (org-export-format-source-code-or-example): Use
1395 listing package if requested by the user.
1397 2009-08-08 Bastien Guerry <bzg@altern.org>
1399 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1400 command before actually switching to a buffer.
1402 2009-08-07 Carsten Dominik <carsten.dominik@gmail.com>
1404 * org-exp.el (org-get-file-contents): Only quote org lines when
1405 the markup is src or example.
1407 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1409 (org-agenda-get-day-entries): Remember deadline results and pass
1410 them on into the function getting the scheduling information.
1411 (org-agenda-get-scheduled): Accept deadline results as parameters
1412 and maybe skip some entries.
1413 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1415 * org.el (org-insert-heading): When respecting content, do not
1416 convert current line to headline.
1418 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1419 cheeeeeck the hd marker
1420 (org-clock-in): Also set the hd marker.
1421 (org-clock-out): Also set the hd marker.
1422 (org-clock-cancel): Reset markers.
1424 * org.el (org-clock-hd-marker): New marker.
1426 * org-faces.el (org-agenda-clocking): New face.
1428 * org-agenda.el (org-agenda-mark-clocking-task): New function.
1429 (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1431 * org.el (org-modules): Add org-track.el.
1433 * org-agenda.el (org-agenda-bulk-marked-p): New function.
1434 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1435 `org-agenda-bulk-marked-p'.
1436 (org-agenda-bulk-toggle): New command.
1438 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
1440 * org.el (org-move-subtree-down): Hide subtree if it was folded,
1443 * org-remember.el (org-remember-finalize): Avoid buffer-modified
1446 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
1448 * org-plot.el (org-plot/gnuplot): Stop datafile from being deleted
1449 before gnuplot can read it.
1451 2009-08-05 Carsten Dominik <carsten.dominik@gmail.com>
1453 * org-latex.el (org-export-latex-first-lines): Fix bug with
1454 finding the end of the first lines.
1456 * org.el (org-create-formula-image): Remove the -E option for
1459 * org-exp.el (org-default-export-plist): Respect #+BIND.
1460 (org-export-confirm-letbind): New function.
1462 * org.el (org-paste-subtree): Test the kill ring entry if it is
1464 (org-copy-subtree): Use `org-forward-same-level'.
1465 (org-forward-same-level): Respect the `invisibe-ok' arg for
1468 2009-08-04 Carsten Dominik <carsten.dominik@gmail.com>
1470 * org.el (org-table-map-tables): Make sure cursor is back at table
1471 beginning after funcall.
1473 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1474 handled before children, and do not error if an entry is not
1475 found, probably because it hase been remove when the parent was
1476 archived or refiled.
1478 * org.el (org-ido-completing-read): Accept straight lists for
1479 completion as well as alists.
1481 * org-html.el (org-export-as-html): Fix parenthesis error in
1484 * org-timer.el (org-timer-cancel-timers): Renamed from
1485 `org-timer-cancel-timers'.
1487 * org.el (org-cycle-internal-local): Fix problem with finding next
1490 2009-08-03 Carsten Dominik <carsten.dominik@gmail.com>
1492 * org-list.el (org-list-send-list): Call
1493 `org-list-goto-true-beginning' instead of
1494 `org-list-find-true-beginning', which does not exist.
1496 * org-timer.el (org-timer-reset-timers): Use `mapc'.
1497 (org-timer-set-timer): Do not assign to heading.
1499 * org-id.el (org-id-open): Quote function name.
1501 * org-macs.el (org-unmodified): Turn off recording undo
1502 information while running inside the macro.
1504 * org-indent.el (org-hide-leading-stars-before-indent-mode): New
1506 (org-indent-mode): Remember and restore value of
1507 org-hide-leading-stars before `org-indent-mode'.
1509 * org-table.el (org-table-export): Also work in file-less
1512 * org.el (org-startup-indented): New option.
1513 (org-startup-options): Add new options indent and noindent.
1514 (org-unfontify-region): Remove line-prefix and wrap-prefix
1516 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
1518 (org-promote, org-demote): Run the new hooks.
1520 * org-table.el (org-table-align): Replace leading \n as well.
1522 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
1523 and `line-wrap' text properties.
1525 * org-compat.el (org-kill-new): New function.
1527 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
1528 `line-wrap' text properties.
1530 * org-indent.el: New file.
1532 2009-08-02 Carsten Dominik <carsten.dominik@gmail.com>
1534 * org.el (org-provide-todo-statistics): Tweak docstring.
1536 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
1538 2009-08-01 Carsten Dominik <carsten.dominik@gmail.com>
1540 * org-exp.el (org-export-as-org): Insert the "-source" string
1541 before the extension.
1543 * org.el (org-read-date): Make sure the calendar is in the current
1545 (org-set-emph-re): Remove the ? from the post-match.
1546 (org-emphasis-regexp-components): Add backslash to the
1548 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
1549 optional so that also lines at the end of the buffers will still
1550 be matched as headlines.
1552 * org-table.el (org-table-error-on-row-ref-crossing-hline):
1553 Variable made obsolete.
1554 (org-table-relative-ref-may-cross-hline): New option.
1555 (org-table-find-row-type): Honow the new option
1556 `org-table-relative-ref-may-cross-hline'.
1558 2009-07-31 Carsten Dominik <carsten.dominik@gmail.com>
1560 * org-table.el (org-table-cut-region, org-table-copy-region): Work
1561 on single field if no active region.
1563 2009-07-27 Carsten Dominik <carsten.dominik@gmail.com>
1565 * org-latex.el (org-export-latex-make-header): Only insert title
1568 * org.el (org-make-options-regexp): Allow empty values.
1570 * org-html.el (org-export-as-html): Move hrule detection to after
1571 plain list handling.
1573 2009-07-26 Carsten Dominik <carsten.dominik@gmail.com>
1575 * org-html.el (org-format-org-table-html): Fix colgroup tags.
1577 2009-07-23 Carsten Dominik <carsten.dominik@gmail.com>
1579 * org.el (org-cycle-internal-local): Improved version of finding
1581 (org-cycle-hide-drawers): Only hide drawers if this is really
1583 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
1584 org-version of this function in Org-mode. We use advice to
1585 implement this change, so that future changes to this function in
1586 outline.el wil be handled properly.
1587 (org-forward-same-level, org-backward-same-level): New commands.
1589 2009-07-21 Carsten Dominik <carsten.dominik@gmail.com>
1591 * org.el (org-remove-empty-overlays-at)
1592 (org-clean-visibility-after-subtree-move): New functons.
1593 (org-move-subtree-down): Simplify cleanup of display.
1595 2009-07-20 Carsten Dominik <carsten.dominik@gmail.com>
1597 * org-mac-message.el (org-mac-message-get-links): Improve
1598 docstring. Make argument SELECT-OR-FLAGGED optional, default to
1599 "s". Fix the return value.
1600 (org-mac-message-insert-flagged): Simplify.
1602 * org.el (org-refile-get-location): Tamper with refile history o
1603 that history contains compete matches instead of the entered
1606 2009-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1608 * org.el (org-store-link): Never store a link to an inline task.
1610 * org-inlinetask.el (org-inlinetask-insert-task): New command.
1612 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
1613 inline tasks when positioning footnotes.
1615 * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
1618 * org.el (org-refile): Remove the END line when archiving an
1619 inline task that does have an END line.
1621 * org-archive.el (org-archive-subtree): Remove the END line when
1622 archiving an inline task that does have an END line.
1624 * org-macs.el (org-with-limited-levels): New macro.
1625 (org-get-limited-outline-regexp): New function.
1627 * org-exp.el (org-export-format-source-code-or-example): Fix bug
1628 that did not enumerate first line.
1629 (org-export-mark-radio-links): Skip matches in links.
1631 2009-07-18 Carsten Dominik <carsten.dominik@gmail.com>
1633 * org.el (org-activate-plain-links): Make single-match.
1634 (org-adapt-indentation): Fix docstring.
1636 * org-macs.el (org-unmodified): Turn of modification hooks while
1639 2009-08-02 Bastien Guerry <bzg@altern.org>
1641 * org.el (org-adapt-indentation): Slightly improve the docstring.
1642 (org-occur): Sends an error when the user inputs an empty string.
1643 (org-priority): Bugfix: the tag alignement should happen within
1646 2009-07-31 Bastien Guerry <bzg@altern.org>
1648 * org.el (org-make-link-regexps): Don't exclude parentheses from
1650 (org-cycle-internal-local): When locally cycling, switch directly
1651 from CHILDREN to FOLDED if there is no subtree
1652 (org-cycle): Update the docstring to document the new behavior of
1653 `org-cycle-internal-local'.
1655 2009-07-29 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
1657 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
1658 an abbreviated format for days.
1660 2009-07-27 Bastien Guerry <bzg@altern.org>
1662 * org-protocol.el (org-protocol-default-template-key): New
1665 * org.el (org-refile): Bugfix: save-excursion before reading the
1666 refile target, otherwise cursor moves might confuse `org-refile'.
1668 * org-html.el (org-export-as-html): Bugfix: correctly convert the
1669 footnote reference before the footnote itself.
1671 * org.el (org-toggle-heading): Bugfix: correctly convert list
1672 items before the first headline.
1674 * org-html.el (org-export-html-footnote-format): New option for
1675 formatting the footnote reference.
1676 (org-export-as-html): Use the new option.
1678 * org.el (org-provide-todo-statistics): Allow a list of TODO
1679 keywords to compute statistics against headlines containing a
1680 keyword from this list.
1681 (org-update-parent-todo-statistics): Possibly use the new allowed
1682 value of `org-provide-todo-statistics'.
1684 2009-07-26 Bastien Guerry <bzg@altern.org>
1686 * org-timer.el: Add autoload cookie.
1688 * org.el (org-occur-link-in-agenda-files): New function.
1690 * org-timer.el (org-timer-last-timer): New variable.
1692 * org-agenda.el (org-agenda-mode-map): New key for
1693 org-timer-set-timer called from the agenda.
1695 * org.el (org-mode-map): New key for org-timer-set-timer.
1697 * org-timer.el (org-timer-reset-timers)
1698 (org-timer-show-remaining-time, org-timer-set-timer): New
1701 * org-clock.el (org-show-notification): Update the docstring.
1703 * org.el (org-provide-todo-statistics): Allow new value
1704 'all-headlines for this option, which includes entries with no
1705 TODO keywords in the todo statistics.
1706 (org-update-parent-todo-statistics): Possibly use the new
1707 'all-headline value from `org-provide-todo-statistics'.
1709 2009-07-25 Bastien Guerry <bzg@altern.org>
1711 * org-clock.el (org-dblock-write:clocktable): Add a new option
1712 :timestamp which allows display of timestamps in clock reports.
1714 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
1715 list to a subtree, preserving the structure of the list.
1716 (org-set-emph-re): Make the last element optional in the regexp.
1717 This regexp now matches an emphasized string at the end of a line.
1719 * org-list.el (org-list-goto-true-beginning)
1720 (org-list-make-subtree, org-list-make-subtrees): New functions.
1722 * org.el (org-eval-in-calendar): Select the right frame.
1723 (org-save-frame-excursion): Remove this macro.
1725 2009-07-24 Bastien Guerry <bzg@altern.org>
1727 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
1728 trying to find the beginning of a list.
1730 * org-exp.el (org-get-file-contents): Use a new argument: markup.
1731 When present, tell org-get-file-contents not to protect org-like
1734 * org-id.el (org-id-uuid-program): New option to set the name of
1735 the uuidgen program.
1736 (org-id-method): Use `org-id-uuid-program'.
1737 (org-id-new): Use `org-id-uuid-program'.
1739 2009-07-23 Bastien Guerry <bzg@altern.org>
1741 * org-exp.el (org-export-number-lines): Allow whitespace in code
1742 references. Allow the -r switch to remove the references in the
1743 source code even when the lines are not numbered: the labels can
1746 * org.el (org-fontify-whole-heading-line): New option.
1747 (org-set-font-lock-defaults): Use the new option.
1749 * org-clock.el (org-show-notification-handler): New option.
1750 (org-show-notification): Use the new option.
1752 2009-07-21 Bastien Guerry <bzg@altern.org>
1754 * org.el (org-eval-in-calendar): Fix a bug about calendar
1755 navigation when `calendar-setup' value is 'calendar-only.
1757 2009-07-19 Bastien Guerry <bzg@altern.org>
1759 * org.el (orgstruct++-mode): Fix typo in docstring.
1760 (org-insert-link): Clean up: (or (...)) => (...)
1761 (org-insert-link): Use TAB for stored links completion.
1763 2009-07-18 Bastien Guerry <bzg@altern.org>
1765 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
1766 building the list of targets.
1768 * org-remember.el (org-remember-delete-empty-lines-at-end): New
1770 (org-remember-handler): Use the new option.
1772 2009-07-17 James TD Smith <ahktenzero@mohorovi.cc>
1774 * org.el (org-tags-sort-function): New option for sorting tags.
1775 (org-set-tags): Use the new option to sort tags.
1777 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
1778 premature deletion of the data when using org-plot in a script.
1780 2009-07-17 Bastien Guerry <bzg@altern.org>
1782 * org-clock.el (org-clock-in-prepare-hook): New hook.
1783 (org-clock-in): Use this new hook.
1785 2009-07-16 Bastien Guerry <bzg@altern.org>
1787 * org.el (org-special-ctrl-a/e): Explicitely bind the value
1788 'reversed for this option to the "true line boundary first"
1790 (org-tags-match-list-sublevels): Document the 'indented value for
1793 * org-latex.el (org-export-latex-first-lines): Fix problem with
1794 publishing the region.
1796 * org-exp.el (org-export-format-source-code-or-example): Fix
1797 bad line numbering when exporting examples in HTML.
1799 * org-colview.el (org-format-time-period): Formats a time in
1800 fractional days as days, hours, mins, seconds.
1801 (org-columns-display-here): Add special handling for SINCE and
1802 SINCE_IA to format for display.
1804 2009-07-12 James TD Smith <ahktenzero@mohorovi.cc>
1806 * org.el (org-tags-sort-function): Add custom declaration for tags
1808 (org-set-tags): Sort tags if org-tags-sort-function is set
1810 2009-07-08 Carsten Dominik <carsten.dominik@gmail.com>
1812 * org-clock.el (org-clock-goto): Find hidden headlines as well.
1814 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
1816 * org-plot.el (org-plot/add-options-to-plist): Add timeind
1819 2009-07-07 Carsten Dominik <carsten.dominik@gmail.com>
1821 * org-publish.el (org-publish-remove-all-timestamps): New function.
1822 (org-publish-all): Remove all timestamp files if `org-publish-all'
1823 is called with a prefix argument.
1825 * org-list.el (org-indent-item): Fix typo.
1826 (org-item-indent-positions): Normalize ordered bullet.
1828 * org-html.el (org-export-html-home/up-format): New option.
1829 (org-export-as-html): Insert the up and HOME links.
1831 2009-07-06 Carsten Dominik <carsten.dominik@gmail.com>
1833 * org-html.el (org-export-as-html): Insert the title into the
1835 (org-export-html-insert-plist-item): New function.
1836 (org-export-as-html): Call `org-export-html-insert-plist-item'.
1838 * org-macs.el (org-set-local): Make a local variable, do not make
1839 the variable buffer-local!
1841 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
1843 * org-html.el (org-export-as-html): Call `org-install-letbind'.
1845 * org-docbook.el (org-export-as-docbook): Call
1846 `org-install-letbind'.
1848 * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
1850 * org-exp.el (org-infile-export-plist): Read BIND lines.
1851 (org-install-letbind): New function.
1852 (org-export-as-org, org-export-preprocess-string): Call
1853 `org-install-letbind'.
1855 * org-src.el (org-edit-src-exit): Untabify the example before
1858 * org-list.el (org-list-demote-modify-bullet): New option.
1859 (org-first-list-item-p): Save point.
1860 (org-fix-bullet-type): New optional argument FORCE-BULLET.
1861 (org-indent-item): Honor `org-list-demote-modify-bullet'.
1862 (org-item-indent-positions): Return bullet types along with
1865 2009-07-05 Carsten Dominik <carsten.dominik@gmail.com>
1867 * org.el (org-show-entry): Hide drawers.
1869 2009-07-03 Carsten Dominik <carsten.dominik@gmail.com>
1871 * org-footnote.el (org-footnote-auto-adjust): New option.
1872 (org-footnote-auto-adjust-maybe): New function.
1873 (org-footnote-new, org-footnote-delete): Call
1874 `org-footnote-auto-adjust-maybe'.
1876 * org.el (org-startup-options): Add new footnote-related
1879 * org-publish.el (org-publish-timestamp-filename): Additional
1880 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
1881 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
1882 TRUE-PUB-DIR. Pass them through to
1883 `org-publish-timestamp-filename'.
1884 (org-publish-update-timestamp): Additional arguments PUB-DIR and
1885 PUB-FUNC, which are included in the hash.
1886 (org-publish-file): Delay timestamp test until the publishing
1889 2009-07-02 Carsten Dominik <carsten.dominik@gmail.com>
1891 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
1892 setting the deadline.
1894 * org.el (org-read-date-final-answer): New variable.
1895 (org-read-date): Store the final answer string, including the date
1896 from the calendar, for reuse by agenda bulk commands.
1898 * org-publish.el (org-publish-attachment): Fix publishing of
1901 * org-latex.el (org-export-latex-quotation-marks): Fix export of
1902 quotation makrs in parenthesis.
1903 (org-remove-initial-hash): New function.
1904 (org-export-latex-preprocess): Fix bug with infinite loop if
1905 environment is not properly closed.
1907 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
1910 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
1911 highlight also when indented.
1913 2009-07-01 Carsten Dominik <carsten.dominik@gmail.com>
1915 * org-footnote.el (org-footnote-renumber-fn:N): New command.
1916 (org-footnote-action): Offer renumbering.
1918 * org.el (org-cycle): Honor the `integrate' value of
1919 org-cycle-include-plain-lists'.
1921 * org-list.el (org-cycle-include-plain-lists): New allowed value
1922 `internal'. Improve the docstring.
1924 * org.el (org-set-autofill-regexps): Improve the paragraph-start
1925 regexp to work better with LaTeX commands.
1927 2009-06-30 Carsten Dominik <carsten.dominik@gmail.com>
1929 * org-feed.el (org-feed-update): fix problem with non-existing
1931 (org-feed-skip-http-headers): New function.
1932 (org-feed-get-feed): Call `org-feed-skip-http-headers'.
1933 (org-feed-get-feed): Fix command line arguments for curl.
1935 2009-06-28 Carsten Dominik <carsten.dominik@gmail.com>
1937 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
1940 2009-06-27 Carsten Dominik <carsten.dominik@gmail.com>
1942 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
1945 * org.el (org-map-entries): No longer force
1946 `org-tags-match-list-sublevels' to t during a todo-only tags
1949 2009-06-26 Carsten Dominik <carsten.dominik@gmail.com>
1951 * org-latex.el (org-export-latex-low-levels): Allow user-defined
1953 (org-export-latex-subcontent): Handle user-defined environment.
1955 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
1956 the View dispatcher.
1958 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
1961 * org-latex.el (org-export-as-pdf): Protect match data during call
1962 to shell-quote-argument.
1964 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
1965 (org-agenda-view-mode-dispatch): New function.
1967 2009-06-24 Carsten Dominik <carsten.dominik@gmail.com>
1969 * org-agenda.el (org-agenda-mode): Reset list of marks.
1970 (org-agenda-mode-map): Define new keys for refile and bulk action.
1971 (org-agenda-menu): Add menu itesm for refile and bulk action.
1972 (org-agenda-refile): New function.
1973 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
1974 (org-agenda-marked-entries): New variable.
1975 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
1976 (org-agenda-remove-all-bulk-action-marks)
1977 (org-agenda-bulk-action): New functions/commands.
1979 2009-06-23 Carsten Dominik <carsten.dominik@gmail.com>
1981 * org-exp.el (org-get-file-contents): Protect org-like lines in
1983 (org-export-format-source-code-or-example): Remove newlines.
1985 * org-latex.el (org-export-latex-links): Check for no-description
1988 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
1989 argument separator back to comma.
1990 (org-export-normalize-links): Mark links without description.
1992 2009-06-22 Carsten Dominik <carsten.dominik@gmail.com>
1994 * org-exp.el (org-infile-export-plist): Fix bug in macro
1997 * org-agenda.el (org-agenda-clock-out): Update line after clocking
1999 (org-agenda-highlight-todo): Fix bug with highlighting.
2001 2009-06-21 Carsten Dominik <carsten.dominik@gmail.com>
2003 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2004 new alignment strings.
2006 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2008 (org-table-align): Check for forced align type.
2010 * org.el (org-self-insert-command): Add yas/expand to command
2013 * org-clock.el (org-clock-in-hook): New hook.
2014 (org-clock-in): Run `org-clock-in-hook.
2015 (org-clock-out-hook): New hook.
2016 (org-clock-out): Run `org-clock-out-hook.
2017 (org-clock-cancel-hook): New hook.
2018 (org-clock-cancel): Run `org-clock-cancel-hook.
2019 (org-clock-goto-hook): New hook.
2020 (org-clock-goto): Run `org-clock-goto-hook.
2022 2009-06-20 Carsten Dominik <carsten.dominik@gmail.com>
2024 * org.el (org-store-link): Better default description for link to
2027 * org-exp.el (org-export-generic): Autoload the generic exporter
2029 (org-export): Implement the `g' key for the generic exporter.
2031 2009-06-19 Carsten Dominik <carsten.dominik@gmail.com>
2033 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2036 * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
2038 * org-exp.el (org-infile-export-plist): Get macros also from
2041 2009-06-18 Carsten Dominik <carsten.dominik@gmail.com>
2043 * org-colview.el (org-columns-capture-view): Protect vertical bars
2045 (org-columns-capture-view): Exclude comment and archived trees.
2047 * org-colview-xemacs.el (org-columns-capture-view): Protect
2048 vertical bars in column values.
2049 (org-columns-capture-view): Exclude comment and archived trees.
2051 * org.el (org-quote-vert): New function.
2053 * org-latex.el (org-export-latex-verbatim-wrap): New option.
2055 * org-exp.el (org-export-format-source-code-or-example): Use
2056 `org-export-latex-verbatim-wrap'.
2058 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2061 * org-html.el (org-export-table-row-tags): New option.
2062 (org-format-org-table-html): Rename `nlines' to `nline', use new
2066 2009-06-17 Carsten Dominik <carsten.dominik@gmail.com>
2068 * org-exp-blocks.el: Declare functions and variables.
2070 * org-remember.el (org-remember-templates): Allow the headline
2071 element to be a function.
2072 (org-remember-apply-template): If the headline is a function, call
2073 it to get the true function.
2075 * org-clock.el (org-clock-menu): New function.
2076 (org-clock-update-mode-line): Update help string.
2077 (org-clock-modify-effort-estimate): New function.
2078 (org-clock-mark-default-task): New function.
2080 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2082 (org-org-menu): Add new clocking stuff.
2083 (org-clock-is-active): New function.
2085 2009-06-14 Carsten Dominik <carsten.dominik@gmail.com>
2087 * org.el (org-open-non-existing-files): Improve docstring.
2089 2009-06-11 Carsten Dominik <carsten.dominik@gmail.com>
2091 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2093 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2095 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2097 * org-list.el (org-get-checkbox-statistics-face): Use the new
2100 * org-faces.el (org-checkbox-statistics-todo)
2101 (org-checkbox-statistics-done): New faces.
2103 2009-06-09 Carsten Dominik <carsten.dominik@gmail.com>
2105 * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
2106 (org-edit-src-exit): Better cursor positioning when returning from
2109 * org-latex.el (org-export-latex-use-verb): New variable.
2110 (org-export-latex-emph-format): Prefer \texttt over \verb when
2111 org-export-latex-use-verb is set.
2113 2009-06-08 Carsten Dominik <carsten.dominik@gmail.com>
2115 * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
2116 at normal indentation.
2118 * org-html.el (org-export-html-close-lists-maybe): Also look at
2121 * org-remember.el (org-remember-handler): Abort remember if the
2124 * org-src.el (org-edit-src-content-indentation): New option.
2125 (org-edit-src-exit): Apply extra indentation.
2127 * org-exp.el (org-export-format-source-code-or-example): Run
2128 `org-src-mode-hook'.
2130 * org-src.el (org-src-mode-hook): New variable.
2131 (org-edit-src-code): Run `org-src-mode-hook'.
2133 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
2135 * org.el (org-indent-line-function): Fix indentation of +#end lines.
2137 * org-src.el (org-edit-src-get-indentation): New function.
2138 (org-edit-src-code): Base indentation on the begin line.
2140 2009-06-07 Tassilo Horn <tassilo@member.fsf.org>
2142 * org-gnus.el (org-gnus-store-link): Require message.el in
2143 org-gnus-store-link.
2145 2009-06-07 Carsten Dominik <carsten.dominik@gmail.com>
2147 * org-src.el: New file, split out of org.el
2149 * org-docbook.el (org-export-as-docbook): Better indentation
2152 * org-macs.el (org-replace-match-keep-properties): New function.
2154 * org-exp.el (org-export-mark-blockquote-verse-center): Better
2155 preprocessing of center and quote and verse blocks.
2157 * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
2158 (org-export-as-docbook): Close lists when original indentation
2161 * org-html.el (org-export-html-close-lists-maybe): New function.
2162 (org-export-as-html): Close lists when original indentation
2165 * org-list.el (org-list-end): Respect the stored "original"
2166 indentation when determining the end of the list.
2168 * org-exp.el (org-export-replace-src-segments-and-examples):
2169 Remember indentation correctly.
2171 2009-06-06 Carsten Dominik <carsten.dominik@gmail.com>
2173 * org-clock.el (org-clock-update-mode-line): Apply face
2174 org-mode-line-clock.
2176 * org-faces.el (org-mode-line-clock): New face.
2178 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
2180 * org-gnus.el (org-gnus-store-link): Fix bug where
2181 `org-gnus-store-link' used wrong subject when called in an article
2182 buffer. Patch provided by fengli AT gmail DOT com.
2184 2009-06-04 Carsten Dominik <carsten.dominik@gmail.com>
2186 * org-exp.el (org-export-format-source-code-or-example): Remember
2187 the original indentation of source code snippets and examples.
2189 * org-latex.el (org-export-as-latex): Relocate the table of
2192 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2194 * org-agenda.el (org-run-agenda-series): Scope global options also
2195 when creating the agenda buffer.
2197 2009-06-03 Carsten Dominik <carsten.dominik@gmail.com>
2199 * org.el (org-adapt-indentation): Improve documentation.
2200 (org-insert-property-drawer): Respect org-adapt-indentation when
2201 inserting the drawer.
2202 (org-remove-flyspell-overlays-in): New function.
2203 (org-do-emphasis-faces, org-activate-plain-links)
2204 (org-activate-code, org-fontify-meta-lines-and-blocks)
2205 (org-activate-angle-links, org-activate-footnote-links)
2206 (org-activate-bracket-links, org-activate-dates)
2207 (org-activate-target-links, org-activate-tags): Remove flyspell
2210 2009-06-02 Carsten Dominik <carsten.dominik@gmail.com>
2212 * org.el (org-edit-src-save): New function.
2214 * org-clock.el (org-clock-out-switch-to-state): New option.
2215 (org-clock-out): Honor `org-clock-out-switch-to-state'.
2217 * org-compat.el (org-compatible-face): Improve macro.
2219 * org.el (org-global-properties-fixed): Add default for
2220 CLOCK_MODELINE_TOTAL.
2222 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2224 (org-clock-sum-current-item): Optional argument TSTART, pass it to
2226 (org-clock-get-sum-start): New function.
2228 * org.el (org-startup-options): New keywords blockhide and
2230 (org-mode): Add new invisibility spec.
2231 (org-set-startup-visibility): Hide block on startup if so
2233 (org-hide-block-startup): New option.
2234 (org-block-regexp): New constant.
2235 (org-hide-block-overlays): New variable.
2236 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2237 (org-show-block-all, org-hide-block-toggle-maybe)
2238 (org-hide-block-toggle): New functions.
2239 (org-edit-src-exit): Do not quote lines starting with # and no +
2241 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2244 2009-05-30 Carsten Dominik <carsten.dominik@gmail.com>
2246 * org.el (org-buffer-property-keys): Add Effort property for
2249 2009-05-28 Carsten Dominik <carsten.dominik@gmail.com>
2251 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2252 when retrieving total clocked time in the subtree.
2254 * org.el (org-quoting-blocks): New variable.
2256 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
2258 * org-table.el (org-table-store-formulas)
2259 (org-table-get-stored-formulas, org-table-fix-formulas)
2260 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2261 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2263 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2264 indented #+TBLFM line.
2266 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2267 indented #+TBLFM line.
2269 * org-colview.el (org-dblock-write:columnview): Allow indented
2272 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2273 indented #+TBLFM line.
2275 * org-clock.el (org-dblock-write:clocktable): Allow indented
2278 2009-05-26 Carsten Dominik <carsten.dominik@gmail.com>
2280 * org-exp.el (org-export-format-source-code-or-example): Make
2281 editing indented blocks work correctly.
2283 * org.el (org-edit-src-nindent): New variable.
2284 (org-edit-src-code, org-edit-fixed-width-region)
2285 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2286 editing indented blocks work correctly.
2288 2009-05-24 Carsten Dominik <carsten.dominik@gmail.com>
2290 * org-exp.el (org-export-replace-src-segments-and-examples): FInd
2292 (org-export-format-source-code-or-example): Fix indentation of
2294 (org-export-remove-indentation): New function.
2295 (org-export-select-backend-specific-text): Allow backend-specific
2296 code to be indented.
2297 (org-export-mark-blockquote-verse-center): Allow markers to be
2300 * org.el (org-fontify-meta-lines): New function.
2301 (org-set-font-lock-defaults): Call the new fontification
2304 * org-faces.el (org-meta-line): New face
2305 (org-block): New face.
2307 2009-05-27 Carsten Dominik <carsten.dominik@gmail.com>
2309 * org.el (org-treat-insert-todo-heading-as-state-change)
2310 (org-treat-S-cursor-todo-selection-as-state-change): New
2312 (org-insert-todo-heading): Honor
2313 `org-treat-insert-todo-heading-as-state-change'.
2314 (org-shiftright, org-shiftleft): Honor
2315 `org-treat-S-cursor-todo-selection-as-state-change'.
2316 (org-inhibit-logging): New variable.
2318 2009-05-23 Carsten Dominik <carsten.dominik@gmail.com>
2320 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2321 range for marker position checking.
2323 * org-latex.el (org-export-latex-first-lines): Fix bug when
2326 2009-05-22 Carsten Dominik <carsten.dominik@gmail.com>
2328 * org-exp.el (org-export-push-to-kill-ring): Protect using
2329 x-set-selection, because that does not always work.
2331 * org-agenda.el (org-agenda-list): Apply the new face
2332 `org-agenda-date-today'.
2334 * org-faces.el (org-agenda-date-today): New face.
2336 2009-05-21 Carsten Dominik <carsten.dominik@gmail.com>
2338 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2339 creating appointments.
2341 * org-latex.el (org-export-latex-low-levels): Fix customization
2344 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2347 * org-agenda.el (org-agenda-priority): Disable priority commands.
2349 * org.el (org-enable-priority-commands): New option.
2351 * org-colview-xemacs.el (org-columns-compute)
2352 (org-columns-number-to-string): Fix problems with empty fields.
2354 * org-colview.el (org-columns-compute)
2355 (org-columns-number-to-string): Fix problems with empty fields.
2357 * org-exp.el (org-export-push-to-kill-ring): New function.
2358 (org-export-copy-to-kill-ring): New option.
2360 * org-latex.el (org-export-as-latex): Call
2361 `org-export-push-to-kill-ring'.
2363 * org-html.el (org-export-as-html): Call
2364 `org-export-push-to-kill-ring'.
2366 * org-docbook.el (org-export-as-docbook): Call
2367 `org-export-push-to-kill-ring'.
2369 * org-ascii.el (org-export-as-ascii): Call
2370 `org-export-push-to-kill-ring'.
2372 * org-exp.el (org-export-show-temporary-export-buffer): New
2375 * org-latex.el (org-export-as-latex): Use
2376 `org-export-show-temporary-export-buffer'.
2378 * org-html.el (org-export-as-html): Use
2379 `org-export-show-temporary-export-buffer'.
2381 * org-docbook.el (org-export-as-docbook): Use
2382 `org-export-show-temporary-export-buffer'.
2384 * org-ascii.el (org-export-as-ascii-to-buffer): Use
2385 `org-export-show-temporary-export-buffer'.
2387 * org-exp.el (org-export-show-temporary-export-buffer): New
2389 (org-export-push-to-kill-ring): New function.
2391 * org-colview.el (org-columns-compile-map): New variable.
2392 (org-columns-new, org-columns-compute)
2393 (org-columns-number-to-string, org-columns-uncompile-format)
2394 (org-columns-compile-format): Implement new operators.
2396 2009-05-20 Carsten Dominik <carsten.dominik@gmail.com>
2398 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2400 * org-html.el (org-export-html-xml-declaration): New option.
2401 (org-export-as-html): Use `org-export-html-xml-declaration'.
2403 * org-list.el (org-update-checkbox-count): Make property
2406 * org.el (org-hierarchical-todo-statistics): New option.
2407 (org-update-parent-todo-statistics): Modified to handle recursive
2410 2009-05-19 Carsten Dominik <carsten.dominik@gmail.com>
2412 * org-publish.el (org-publish): Make this function behave
2413 correctly in interactive use when called with a prefix argument.
2415 * org.el (org-todo-statistics-hook): New hook.
2416 (org-update-parent-todo-statistics): Use new hook.
2417 (org-log-into-drawer): New function.
2418 (org-add-log-setup): Use the new `org-log-into-drawer' function to
2419 determine if we should be logging into a drawer.
2420 (org-log-into-drawer): Update docstring.
2421 (org-default-properties): Add LOG_INTO_DRAWER as a property.
2423 * org-list.el (org-checkbox-statistics-hook): New hook.
2424 (org-update-checkbox-count-maybe): Use new hook.
2426 * org-ascii.el (org-export-ascii-copy-to-kill): New option.
2427 (org-export-as-ascii): Hide export buffer, and copy exported ASCII
2430 2009-05-17 Carsten Dominik <carsten.dominik@gmail.com>
2432 * org-ascii.el (org-export-as-ascii): Fix bug with match string in
2435 2009-05-16 Carsten Dominik <carsten.dominik@gmail.com>
2437 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2438 better bufer-generating mechanism.
2439 (org-edit-src-find-buffer): New function.
2441 * org-icalendar.el (org-print-icalendar-entries): Don't check for
2442 archive tag, this is already done by `org-agenda-skip'.
2443 data while constructing lost of tags.
2445 2009-05-15 Carsten Dominik <carsten.dominik@gmail.com>
2447 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2448 as argument separator in macros.
2450 * org-html.el (org-export-as-html): Add xml declaration.
2452 2009-05-14 Carsten Dominik <carsten.dominik@gmail.com>
2454 * org.el (org-after-sorting-entries-or-items-hook): New hook.
2455 (org-sort-entries-or-items): Run the new hook.
2456 (org-after-refile-insert-hook): New hook.
2457 (org-refile): Run `org-after-refile-insert-hook'.
2459 * org-agenda.el (org-agenda-get-progress): Never take time of day
2460 from headline when displaying progress.
2462 * org-latex.el (org-export-latex-complex-heading-re): New variable.
2463 (org-export-as-latex): Force the correct regexp in the
2464 preprocessor buffer.
2465 (org-export-latex-set-initial-vars): Set
2466 `org-export-latex-complex-heading-re'.
2468 * org-agenda.el (org-agenda-start-with-log-mode): New option.
2469 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2471 2009-05-13 Carsten Dominik <carsten.dominik@gmail.com>
2473 * org-latex.el (org-export-latex-tables-centered): New option.
2474 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2476 * org-exp.el (org-export-as-org): New command.
2477 (org-export-as-org): New command.
2479 * org-publish.el (org-publish-org-to-org): New function.
2481 2009-05-12 Carsten Dominik <carsten.dominik@gmail.com>
2483 * org.el (org-yank): Just call `org-yank-generic'.
2484 (org-yank-generic): New function, containing the formaer
2485 functionality of `org-yank'.
2487 * org-latex.el (org-export-latex-not-done-keywords)
2488 (org-export-latex-done-keywords): New variables.
2489 (org-export-latex-todo-keyword-markup): New option.
2490 (org-export-latex-set-initial-vars): Remember the TODO keywords.
2491 (org-export-latex-keywords-maybe): Apply the TODO markup.
2493 2009-05-11 Carsten Dominik <carsten.dominik@gmail.com>
2495 * org-exp.el (org-infile-export-plist): Add more default macros.
2496 (org-export-preprocess-apply-macros): Process macro arguments.
2498 2009-05-10 Carsten Dominik <carsten.dominik@gmail.com>
2500 * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
2502 (org-print-icalendar-entries): Respect the new value of
2503 `org-icalendar-include-todo'.
2505 * org.el (org-link-try-special-completion)
2506 (org-file-complete-link): New functions.
2507 (org-insert-link): Add special completion support for some link
2510 * org-bbdb.el (org-bbdb-complete-link): New function.
2512 2009-05-08 Carsten Dominik <carsten.dominik@gmail.com>
2514 * org-list.el (org-update-checkbox-count): Allow recursive
2516 (org-hierarchical-checkbox-statistics): New option.
2518 * org.el (org-cycle): Remove erraneous space character.
2520 * org-icalendar.el (org-icalendar-timezone): Initialize from
2523 * org-html.el (org-format-org-table-html): Specify the scope.
2524 (org-format-table-table-html): Specify the scope.
2525 (org-export-table-header-tags): Prepare the scope parameter.
2527 2009-05-07 Carsten Dominik <carsten.dominik@gmail.com>
2530 (org-export-html-table-use-header-tags-for-first-column): New
2533 * org.el (org-autoload): Fix autoloading of ascii export
2535 (org-modules): Add org-special-blocks.
2537 2009-05-06 Carsten Dominik <carsten.dominik@gmail.com>
2539 * org-icalendar.el (org-start-icalendar-file): Use the new option.
2540 (org-ical-timezone): New option.
2542 * org-exp.el (org-export-get-coderef-format): Use the description
2545 * org.el (org-sort-entries-or-items): Improve docstring, and make
2546 better implementation for time sorting.
2548 2009-05-05 Carsten Dominik <carsten.dominik@gmail.com>
2550 * org.el (org-edit-src-persistent-message): New option.
2551 (org-edit-src-code, org-edit-fixed-width-region): Use the new
2554 * org-clock.el (org-clock-insert-selection-line): Fix prefious
2557 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
2558 separate buffer instead of indirect buffer to edit source code.
2559 (org-edit-src-exit): Make this function work with the new setup.
2561 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
2562 are properly fontified before shown in the selection menu.
2564 * org.el (org-fontify-like-in-org-mode): New function.
2566 * org-latex.el (org-export-latex-links): Use the property list to
2567 retrieve the default image attributes.
2569 * org-exp.el (org-export-plist-vars): Add a new option.
2571 2009-05-04 Carsten Dominik <carsten.dominik@gmail.com>
2573 * org-exp.el (org-export, org-export-visible): Support ASCII
2575 (org-export-normalize-links): Do not protect the description if it
2576 is explicitly given.
2578 * org-ascii.el (org-export-as-ascii-to-buffer)
2579 (org-replace-region-by-ascii, org-export-region-as-ascii): New
2581 (org-export-as-ascii): Add all the same parameters that are also
2582 supported by the other export functions.
2584 * org-list.el (org-reset-checkbox-state-subtree): Moved here from
2586 (org-reset-checkbox-state-subtree): Call
2587 `org-reset-checkbox-state-subtree'.
2589 * org-remember.el (org-select-remember-template): For the
2590 selection of a valid template.
2592 * org-latex.el (org-export-region-as-latex): Supply the
2593 force-no-subtree argument.
2594 (org-export-as-latex): Provide better limits when exporting the
2595 first line. When exporting to string, we still want the first
2597 (org-export-latex-first-lines): New argument END, to force the end
2599 (org-export-region-as-latex): Use the property list.
2600 (org-export-as-latex):
2602 * org-colview-xemacs.el (org-columns-remove-overlays)
2603 (org-columns): Fix call to `local-variable-p'.
2605 2009-05-02 Carsten Dominik <carsten.dominik@gmail.com>
2607 * org-html.el (org-export-html-after-blockquotes-hook): New hook.
2608 (org-export-as-html): Run the new hook.
2610 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
2611 (org-export-latex-preprocess): Run the new hook.
2613 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
2614 (org-export-preprocess-string): Run the new hook.
2616 2009-04-30 Carsten Dominik <carsten.dominik@gmail.com>
2618 * org-macs.el (org-check-external-command): New defsubst.
2620 * org.el (org-mode-map): New key for reload.
2621 (org-format-latex): Better error message when external programs
2624 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
2626 * org.el (org-sort-entries-or-items): Explicit sorting function
2627 for priorities, needed for XEmacs compatibility.
2629 * org-remember.el (org-remember-apply-template): Improve auto-save
2632 2009-04-29 Carsten Dominik <carsten.dominik@gmail.com>
2634 * org-latex.el (org-export-latex-preprocess): Also protect
2635 environments ending in a star.
2637 * org-list.el (org-at-item-p): Fix regular expression.
2639 2009-04-24 Carsten Dominik <carsten.dominik@gmail.com>
2641 * org.el (org-end-of-subtree): Improve speed.
2643 * org-agenda.el (org-agenda-get-timestamps)
2644 (org-agenda-get-progress, org-agenda-get-deadlines)
2645 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
2646 in particular, wait as long as possible to collect the tags.
2647 (org-stuck-projects): Improve docstring.
2649 * org.el (org-store-link): No errors when getting custom id before
2651 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
2653 2009-04-23 Carsten Dominik <carsten.dominik@gmail.com>
2655 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
2657 * org-protocol.el: Remove dependency on url.el.
2658 (org-protocol-unhex-compound, org-protocol-open-source): Remove
2659 dependency on url.el.
2661 * org-latex.el (org-export-as-pdf): Use
2662 `org-latex-to-pdf-process'.
2664 2009-04-22 Carsten Dominik <carsten.dominik@gmail.com>
2666 * org-latex.el (org-latex-to-pdf-process): New option.
2668 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
2670 (org-agenda-get-timestamps): Honor
2671 `org-agenda-skip-additional-timestamps-same-entry'.
2673 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
2674 (org-clock-goto): Find recent task only if
2675 `org-clock-goto-may-find-recent-task' allows it.
2677 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
2678 drawers, and drawers that are missing the :END: line.
2680 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
2682 * org-clock.el (org-clock-goto): Go to recently clocked task if no
2685 2009-04-21 Carsten Dominik <carsten.dominik@gmail.com>
2687 * org.el (org-update-parent-todo-statistics): Check for
2688 STATISTICS_FROM property.
2690 * org-list.el (org-update-checkbox-count): Check for
2691 STATISTICS_FROM property.
2693 * org.el (org-tab-first-hook)
2694 (org-tab-after-check-for-table-hook)
2695 (org-tab-after-check-for-cycling-hook): New hooks.
2696 (org-cycle-internal-global, org-cycle-internal-local): New
2697 functions, split out from `org-cycle'.
2698 (org-cycle): Call the new hooks.
2700 2009-04-19 Carsten Dominik <carsten.dominik@gmail.com>
2702 * org-exp.el (org-export-preprocess-string): Reset the list of
2703 preferred targets for each run of the preprocessor.
2705 * org.el (org-refile-target-verify-function): Improve
2707 (org-get-refile-targets): Respect point being moved by the
2708 verification function.
2710 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
2712 (org-export-latex-keywords): Use new option.
2714 * org.el (org-rear-nonsticky-at): New defsubst.
2715 (org-activate-plain-links, org-activate-angle-links)
2716 (org-activate-footnote-links, org-activate-bracket-links)
2717 (org-activate-dates, org-activate-target-links)
2718 (org-activate-tags): Place the rear-nonsticky properties at the
2721 2009-04-18 Carsten Dominik <carsten.dominik@gmail.com>
2723 * org-protocol.el (server-edit): Declare `server-edit'.
2724 (org-protocol-unhex-string, org-protocol-unhex-compound): New
2726 (org-protocol-check-filename-for-protocol): Call `server-edit'.
2728 * org.el (org-default-properties): New default properteis for
2731 * org-exp.el (org-export-add-subtree-options): Add new properties
2734 * org-docbook.el (org-export-docbook-keywords-markup)
2735 (org-export-docbook-timestamp-markup): New options.
2736 (org-export-docbook-protect-tags): New function.
2738 2009-04-17 Carsten Dominik <carsten.dominik@gmail.com>
2740 * org-id.el (org-id-get-with-outline-path-completion): Turn off
2741 org-refile-target-verify-function for the duration of the command.
2743 * org.el (org-link-to-org-use-id): New possible value
2744 `create-if-interactive-and-no-custom-id'.
2745 (org-store-link): Use custom IDs.
2746 (org-link-search): Find custom ID properties from #link.
2747 (org-default-properties): Add CUSTOM_ID for property completion.
2748 (org-refile-target-verify-function): New option.
2749 (org-goto): Turn off org-refile-target-verify-function
2750 for the duration of the command.
2752 2009-04-16 Carsten Dominik <carsten.dominik@gmail.com>
2754 * org-html.el (org-export-as-html): Use custom IDs in the toc.
2756 * org-exp.el (org-export-preferred-target-alist): New variable.
2757 (org-export-define-heading-targets): Find the new CUSTOM_ID
2759 (org-export-target-internal-links): Target the custom ids when
2762 * org-latex.el (org-export-latex-preprocess): Better regexp for
2763 matching latex macros with arguments.
2765 2009-04-15 Carsten Dominik <carsten.dominik@gmail.com>
2767 * org-remember.el (org-remember-handler): Allow filing to non-org
2770 2009-04-15 Magnus Henoch <magnus.henoch@gmail.com>
2772 * org-feed.el (org-feed-alist): New keyword options.
2773 (org-feed-update): Use the new options.
2774 (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
2775 (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
2776 (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
2779 * org-table.el (org-table-fix-formulas): Do not change references
2781 (org-table-get-remote-range): Convert standard coordinates to RC
2784 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
2786 2009-04-14 Carsten Dominik <carsten.dominik@gmail.com>
2788 * org-compat.el (org-sha1-string): Function removed.
2790 * org.el (org-refile-allow-creating-parent-nodes): New option.
2791 (org-refile-get-location): New argument NEW-NODES.
2792 (org-refile): Call `org-refile-get-location' with the new
2794 (org-refile-get-location): Arrange for adding a new child.
2795 (org-refile-new-child): New function.
2797 * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
2798 an additional span element.
2800 * org-clock.el: Fix a number of docstrings.
2801 (org-clock-find-position): New argument
2802 FIND-UNCLOSED to make the function find an unclosed clock in the
2804 (org-clock-in): Call `org-clock-find-position' with the new
2805 argument if we might be resuming a clock.
2807 2009-04-13 Carsten Dominik <carsten.dominik@gmail.com>
2809 * org-latex.el (org-export-latex-display-custom-times): New variable.
2810 (org-export-latex-timestamp-markup): New option.
2811 (org-export-latex-set-initial-vars): Remember the local value of
2812 `org-display-custom-times'.
2813 (org-export-latex-content): Process time stamps.
2814 (org-export-latex-time-stamps): New function.
2816 * org-macs.el (org-maybe-intangible): Add intangible property
2817 again to invisible text.
2819 2009-04-12 Carsten Dominik <carsten.dominik@gmail.com>
2821 * org-exp.el (org-default-export-plist): Handle undefined
2824 2009-04-11 Carsten Dominik <carsten.dominik@gmail.com>
2826 * org.el (org-sort-entries-or-items): Match TODO keywrds
2827 case-sensitively, when sorting.
2828 (org-priority): Do not match TODO keywords with wrong case.
2830 2009-04-09 Carsten Dominik <carsten.dominik@gmail.com>
2832 * org-feed.el (org-feed-update): Bind the variable
2835 * org-html.el (org-export-as-html): Start paragraphs after literal
2838 * org-docbook.el (org-export-as-docbook): Start paragraphs after
2841 2009-04-08 Carsten Dominik <carsten.dominik@gmail.com>
2843 * org.el (org-todo): Honor the NOBLOCKING property.
2845 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
2846 NOBLOCKING property.
2848 * org.el (org-scan-tags): Fix bug in tag scanner
2850 2009-04-07 Carsten Dominik <carsten.dominik@gmail.com>
2852 * org.el (org-modules): Mark obsolete packages.
2854 * org-html.el: New file, split out from org-exp.el.
2856 * org-icalendar.el: New file, split out from org-exp.el.
2858 * org-xoxo.el: New file, split out from org-exp.el.
2860 * org-ascii.el: New file, split out from org-exp.el.
2862 2009-04-06 Carsten Dominik <carsten.dominik@gmail.com>
2864 * org-compat.el (org-find-library-name): New function.
2866 * org.el (org-pre-cycle-hook): New hook.
2867 (org-cycle): Call the new hook in appropriate places.
2868 (org-reload): Only reload files that have been loaded before.
2870 2009-04-05 Carsten Dominik <carsten.dominik@gmail.com>
2872 * org.el (org-set-font-lock-defaults): Enforxe space or line end
2874 (org-todo): When changing TODO state, do matching
2876 (org-map-continue-from): New variable.
2877 (org-scan-tags): Respect values in `org-map-continue-from'.
2878 (org-reload): Make XEmacs compatible.
2880 2009-04-04 Carsten Dominik <carsten.dominik@gmail.com>
2882 * org-protocol.el (org-protocol-flatten-greedy): New function.
2883 (org-protocol-flatten): New function.
2885 * org.el (org-open-link-from-string): Pass reference buffer to
2886 `org-open-at-point'.
2887 (org-open-at-point): New optional argument `reference-buffer'.
2889 2009-04-03 Carsten Dominik <carsten.dominik@gmail.com>
2891 * org.el (org-scan-tags): Make tag scan find headline in first
2893 (org-get-refile-targets): Add the naked file name.
2894 (org-refile): Store as top-level entry when only file name was
2897 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
2899 * org.el (org-block-todo-from-children-or-siblings-or-parent):
2900 Renamed from org-block-todo-from-children-or-siblings, and
2901 enhanced to look for the parent's status as well.
2903 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
2904 (org-agenda-get-progress): Add first notes line to log entry if so
2907 2009-04-02 Carsten Dominik <carsten.dominik@gmail.com>
2909 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
2910 (org-agenda-cleanup-fancy-diary): Call the new hook.
2912 * org-remember.el (org-remember-apply-template): Take the default
2913 for the annotation from the :annotation property.
2915 * org-mac-message.el (org-mac-message-get-link): Remove the
2917 (org-mac-message-get-link): Return the result.
2919 2009-04-01 Carsten Dominik <carsten.dominik@gmail.com>
2921 * org.el (org-refile-get-location): Add file name only if not
2922 already included in outline path.
2924 * org-faces.el (org-n-level-faces): Fix customization type from
2927 * org-exp.el (org-export-headline-levels): Fix customization type
2928 from number to integer.
2930 * org-agenda.el (org-agenda-confirm-kill)
2931 (org-agenda-custom-commands-local-options)
2932 (org-timeline-show-empty-dates, org-agenda-ndays)
2933 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
2934 customization type from number to integer.
2936 2009-03-31 Carsten Dominik <carsten.dominik@gmail.com>
2938 * org-protocol.el: Declare some functions.
2940 * org-inlinetask.el (org-inlinetask-export-handler): Fix line
2941 postion before inserting modified headline.
2943 * org-agenda.el (org-agenda-compare-effort): Honor
2944 `org-sort-agenda-noeffort-is-high'.
2945 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
2946 (org-agenda-compare-effort): Implement the "?" operator for
2947 finding entries without effort setting.
2949 * org.el (org-extract-attributes-from-string): New function.
2951 * org-exp.el (org-export-splice-attributes): New function.
2953 2009-03-30 Carsten Dominik <carsten.dominik@gmail.com>
2955 * org-mouse.el: XEmacs compatibility fixes
2957 * org-docbook.el (org-export-as-docbook): Process footnotes like
2960 * org.el (org-modules): Add org-inlinetasks.el
2961 (org-cycle): Implement limiting level on cycling.
2962 (org-move-subtree-down): Fix bug with swapping subtrees at end of
2965 * org-inlinetask.el: New file.
2967 * org.el (org-emphasis-regexp-components): Allow braces in
2968 emphasis pre and post match.
2970 * org-footnote.el (org-footnote-normalize): When only dorting, do
2971 not insert inline notes at the end.
2973 * org-docbook.el (org-id-find-id-file): Add function declaration.
2975 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
2977 * org-docbook.el: New file.
2979 2009-03-28 Carsten Dominik <carsten.dominik@gmail.com>
2981 * org.el (org-reftex-citation): New command.
2983 2009-03-27 Carsten Dominik <carsten.dominik@gmail.com>
2985 * org-agenda.el (org-agenda-cmp-user-defined): New option.
2986 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
2988 (org-entries-lessp): Apply the new sorting option.
2990 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
2991 blocker code, when an older sibling has children.
2993 * org-mac-message.el (org-mac-message-get-link): Improve getting
2994 links from multiple selected messages.
2996 2009-03-26 Carsten Dominik <carsten.dominik@gmail.com>
2998 * org-remember.el (org-remember-finalize): Do not set buffer file
3000 (org-remember-handler): Mark buffer as unmodified.
3001 (org-remember-handler): Delete backup file and show message about
3002 remaining backup files.
3003 (org-remember-auto-remove-backup-files): New option.
3005 * org.el (org-store-link): Use buffer name as link description in
3007 (org-ido-switchb): Fix argument bug for completion.
3009 * org-remember.el (org-remember-apply-template): Set local
3010 variable `auto-save-visited-file-name' instead of global one.
3012 2009-03-25 Carsten Dominik <carsten.dominik@gmail.com>
3014 * org-feed.el: Re-write.
3016 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3017 (org-agenda-get-todos): Mark file tags as inherited.
3018 (org-agenda-list): Always search diary lines for a time.
3020 2009-03-24 Carsten Dominik <carsten.dominik@gmail.com>
3022 * org-feed.el (org-feed-assume-stable): New option.
3023 (org-feed-before-adding-hook): New hook.
3025 * org-exp.el (org-export-as-html): Close local lists depending on
3026 indentation, also when starting a table.
3028 * org-remember.el (org-remember-backup-directory)
3029 (org-remember-backup-name): New internal variable.
3031 2009-03-23 Carsten Dominik <carsten.dominik@gmail.com>
3033 * org-clock.el (org-clock-out-if-current): Make buffer detection
3034 work in indirect buffers as well.
3036 * org.el (org-emphasis-regexp-components): Add the exxclamation
3037 mark to the post-emphasis characters.
3039 2009-03-22 Carsten Dominik <carsten.dominik@gmail.com>
3041 * org.el (org-read-date-minibiffer-septup-hook): New hook.
3042 (org-read-date): Run the new hook.
3044 * org-mac-message.el (org-mac-flagged-mail): New group.
3045 (org-mac-mail-account): New variable.
3046 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3049 * org-remember.el (org-remember-backup-directory): New variable.
3050 (org-remember-apply-template): Write file to backup directory.
3052 2009-03-21 Carsten Dominik <carsten.dominik@gmail.com>
3054 * org-mouse.el (org-mouse-todo-menu): New function.
3055 (org-mouse-todo-keywords): Function removed.
3056 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3058 * org-table.el (org-table-beginning-of-field)
3059 (org-table-end-of-field): New commands
3060 (org-table-previous-field, org-table-beginning-of-field): Better
3062 (orgtbl-setup): Include `M-a' and `M-e'.
3064 * org.el (org-backward-sentence, org-forward-sentence): New
3067 * org-colview.el (org-colview-initial-truncate-line-value): New
3069 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3070 (org-columns): Remember the value of `truncate-lines'.
3072 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3074 (org-columns-remove-overlays): Restore the value of
3076 (org-columns): Remember the value of `truncate-lines'.
3078 * org.el (org-columns-skip-arrchived-trees): New option.
3080 * org-agenda.el (org-agenda-export-html-style): Define color for
3081 org-agenda-done face.
3082 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3083 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3085 * org.el (org-scan-tags): Use the new face.
3087 * org-faces.el (org-agenda-done): New face.
3089 * org.el (org-scan-tags): Test the value org
3090 `org-tags-match-list-sublevels'.
3091 (org-tags-match-list-sublevels): New allowed value: indented.
3093 * org-export-latex.el (org-export-latex-make-header): Apply macros
3096 * org-exp.el (org-export-apply-macros-in-string): New function.
3098 * org-export-latex.el (org-export-latex-list-parameters): Fix bug
3099 with the definition of a checked box.
3101 * org-clock.el (org-clock-find-position): Fix drawer indentations.
3103 * org-export-latex.el (org-export-latex-low-levels): More options
3104 for how to process lower levels in LaTeX.
3105 (org-export-latex-subcontent): Better treatment for lists as a
3106 means of publishing lower levels.
3108 2009-03-20 Carsten Dominik <carsten.dominik@gmail.com>
3110 * org.el (org-set-font-lock-defaults): Use new checkbox face.
3112 * org-faces.el (org-checkbox): New face.
3114 * org-exp.el (org-export-html-preprocess): Only create LaTeX
3115 fragement images if there is an export file.
3117 2009-03-19 Carsten Dominik <carsten.dominik@gmail.com>
3119 * org-agenda.el (org-stuck-projects): Document that the subtree of
3120 projects that are not stuck will now be searched for stuck
3122 (org-agenda-skip-entry-when-regexp-matches)
3123 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3124 (org-agenda-list-stuck-projects): Use
3125 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3127 * org-export-latex.el (org-export-latex-preprocess): Improve
3130 * org-exp.el (org-export-as-html): Implement centering as a div
3131 rather than a paragraph. Do a better job with line-end in verse
3134 2009-03-17 Carsten Dominik <carsten.dominik@gmail.com>
3136 * org.el (org-open-at-point): Fix tags searches by mouse click.
3138 2009-03-16 Carsten Dominik <carsten.dominik@gmail.com>
3140 * org-export-latex.el (org-export-latex-preprocess): Implement the
3143 * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
3144 from `org-export-mark-blockquote-and-verse'.
3145 (org-export-as-html): Implement the centering markup.
3147 * org-export-latex.el (org-export-latex-tables): Fix vertical
3150 2009-03-15 Carsten Dominik <carsten.dominik@gmail.com>
3152 * org.el (org-read-date-history): New variable.
3153 (org-read-date): Use new history variable.
3154 (org-toggle-heading): Fix bug when used before first headline.
3155 (org-store-log-note): Remove drawer if empty while note is
3157 (org-remove-empty-drawer-at): New function.
3158 (org-check-after-date): New command.
3159 (org-sparse-tree): New sparse tree command "a".
3161 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3163 2009-03-14 Bastien Guerry <bzg@altern.org>
3165 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3166 column and a space, not only a column.
3168 2009-03-14 Carsten Dominik <carsten.dominik@gmail.com>
3170 * org-export-latex.el (org-export-latex-emphasis-alist): Better
3171 defaults for verbose emphasis.
3172 (org-export-latex-emph-format): New function.
3173 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3175 * org-agenda.el (org-agenda-menu): Add new commands to menu.
3176 (org-agenda-do-date-later, org-agenda-do-date-earlier)
3177 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3178 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3181 * org.el (org-timestamp-change): Move end-time along with start
3184 2009-03-12 Carsten Dominik <carsten.dominik@gmail.com>
3186 * org-exp.el (org-export-target-internal-links)
3187 (org-export-as-html): Protect links specified as #name.
3189 2009-03-11 Carsten Dominik <carsten.dominik@gmail.com>
3191 * org.el (org-clone-subtree-with-time-shift): New command.
3193 * org-export-latex.el (org-export-latex-special-chars)
3194 (org-export-latex-treat-sub-super-char): Fix subscript export.
3196 * org-exp.el (org-create-multibrace-regexp): Do not add
3197 backslashes to the class.
3199 2009-03-10 Carsten Dominik <carsten.dominik@gmail.com>
3201 * org-colview.el (org-columns-map): Better functions for moving up
3202 and down a row, even if `truncate-line' is nil.
3204 * org.el (org-insert-todo-heading): Make sure the keyword is
3205 inserted at the correct position.
3207 * org-publish.el (org-publish-project-alist)
3208 (org-publish-projects, org-publish-org-index): Change default anme
3209 for the index of file names to "sitemap.org".
3211 * org-export-latex.el (org-export-latex-tables): Use
3212 `org-split-string', for Emacs 21 compatibility.
3214 2009-03-09 Carsten Dominik <carsten.dominik@gmail.com>
3216 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3218 2009-03-08 Carsten Dominik <carsten.dominik@gmail.com>
3220 * org-exp.el (org-export-page-description)
3221 (org-export-page-keywords): New variables.
3222 (org-export-plist-vars): Add entries for :keywords and
3224 (org-infile-export-plist): Parse for new keywords.
3225 (org-get-current-options): Add new keywords
3226 (org-export-as-html): Publish description and keywords.
3228 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3230 (org-agenda-add-entry-text): Honor
3231 `org-agenda-add-entry-text-descriptive-links'.
3233 * org-export-latex.el (org-export-latex-preprocess): Make all
3234 external preprocess functions use a PARAMETER arg.
3236 * org-exp.el (org-export-preprocess-string)
3237 (org-export-select-backend-specific-text)
3238 (org-export-format-source-code-or-example)
3239 (org-format-org-table-html): Support docbook export.
3240 (org-export-preprocess-string): Make all external preprocess
3241 functions use a PARAMETER arg.
3243 2009-03-07 Carsten Dominik <carsten.dominik@gmail.com>
3245 * org-exp.el (org-export-html-style-include-scripts): New option.
3246 (org-export-plist-vars): Add new option
3247 `org-export-html-style-include-scripts'.
3248 (org-export-as-html): Honor new option
3249 `org-export-html-style-include-scripts'.
3250 (org-export-html-scripts, org-export-html-style-default): Fix
3251 xml issues with the Safari browser.
3253 2009-03-06 Carsten Dominik <carsten.dominik@gmail.com>
3255 * org-publish.el (org-publish-attachment): Only copy file when the
3258 2009-03-05 Carsten Dominik <carsten.dominik@gmail.com>
3260 * org-clock.el (org-clocktable-steps): Use inactive time stamps
3261 for clocktable steps.
3263 * org.el (org-additional-option-like-keywords): Add two more
3266 2009-03-04 Carsten Dominik <carsten.dominik@gmail.com>
3268 * org-exp.el (org-export-format-source-code-or-example): Mark
3269 temporary buffer unmodified, so that it will be killed even if
3270 mode like message mode has decided to assign a file name.
3272 * org.el (org-scan-tags): Improve tag inheritance.
3273 (org-scan-tags, org-make-tags-matcher): Make tag comparison
3275 (org-scan-tags): Use the internal tags list instead of creating it
3277 (org-trust-scanner-tags, org-scanner-tags): New variables.
3278 (org-scan-tags): Set `org-scanner-tags'.
3279 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3280 (org-map-entries): Document the possible speedup using scanner
3283 2009-03-03 Carsten Dominik <carsten.dominik@gmail.com>
3285 * org.el (org-add-planning-info): Fix bug with looking for keyword
3288 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3289 option for tags filter preset.
3290 (org-prepare-agenda): Store filter preset as a property on the
3292 (org-finalize-agenda): Call the filter, if there is a preset.
3293 (org-agenda-filter-by-tag): Filter again after clearing the
3294 filter, when there still is a preset.
3295 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3296 Include the preset filter.
3297 (org-agenda-redo): Apply the filter again, also the preset filter.
3299 * org-exp.el (org-export-as-html): Use IDs in the correct way.
3301 * org.el (org-uuidgen-p): New funtion.
3303 * org-agenda.el (org-agenda-fontify-priorities): New default value
3305 (org-agenda-fontify-priorities): Renamed from
3306 org-fontify-priorities.
3308 * org.el (org-set-font-lock-defaults): Call
3309 `org-font-lock-add-priority-faces'.
3310 (org-font-lock-add-priority-faces): New function.
3312 * org-faces.el: (org-set-tag-faces): New option.
3313 (org-priority-faces): New variable.
3315 * org-exp.el (org-export-as-html): Add a "content" div around the
3316 entire content of the body tag.
3317 (org-export-html-get-bibliography): New function.
3318 (org-export-html-validation-link): New variable.
3319 (org-export-as-html): Add validation link to exported page.
3321 * org.el (org-match-sparse-tree): Renamed from
3322 `org-tags-sparse-tree'.
3323 (org-tags-sparse-tree): New alias.
3325 2009-03-02 Carsten Dominik <carsten.dominik@gmail.com>
3327 * org.el (org-get-valid-level): Catch the case where the level
3330 * org-clock.el (org-clock-find-position): Better indentation of
3333 2009-03-01 Carsten Dominik <carsten.dominik@gmail.com>
3335 * org-agenda.el (org-agenda-quit): Delete window only when the
3336 frame-setup was not `current-window'.
3338 * org.el (org-tag-persistent-alist): New option.
3339 (org-startup-options): Add keyword `noptag'.
3340 (org-fast-todo-selection): Handle :newline correctly.
3341 (org-set-tags): Handle :newline correctly.
3342 (org-fast-tag-selection): Handle :newline correctly.
3344 2009-02-28 Carsten Dominik <carsten.dominik@gmail.com>
3346 * org-exp.el (org-export-as-ascii): Reverse link buffer before
3348 (org-export-ascii-push-links): Fix bug with pussing links into the
3351 2009-02-27 Carsten Dominik <carsten.dominik@gmail.com>
3353 * org-archive.el (org-archive-subtree): Do not add 1 to level if
3354 pasting at top level.
3356 * org-bbdb.el: Improve documentation.
3358 2009-02-26 Carsten Dominik <carsten.dominik@gmail.com>
3360 * org-list.el (org-insert-item): Only consider insert empty lines
3361 is `org-empty-line-terminates-plain-lists' is not nil.
3363 * org.el (org-blank-before-new-entry): Mention the dependence on
3364 `org-empty-line-terminates-plain-lists' in the docstring.
3366 * org-publish.el (org-publish-get-project-from-filename): New
3367 optional argument UP. Only find the top project if UP is set.
3368 (org-publish-current-project): Find the top encloding project.
3370 * org-agenda.el (org-agenda-before-write-hook)
3371 (org-agenda-add-entry-text-maxlines): New options.
3372 (org-write-agenda): Run the new hook in the temporary buffer.
3373 (org-agenda-add-entry-text): New function.
3374 (org-write-agenda): Implement PDF export, using ps2pdf.
3376 * org.el (org-global-properties-fixed, org-global-properties):
3377 Improve documentation string.
3379 * org-exp.el (org-export-ascii-links-to-notes): New option.
3380 (org-export-as-ascii): Handle links better.
3381 (org-export-ascii-wrap, org-export-ascii-push-links): New
3384 2009-02-25 Carsten Dominik <carsten.dominik@gmail.com>
3386 * org-agenda.el (org-agenda): Make prefix arg optional.
3387 (org-agenda-search-headline-for-time): New option.
3388 (org-format-agenda-item): Honor
3389 `org-agenda-search-headline-for-time'.
3391 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3394 * org.el (org-self-insert-cluster-for-undo): New option.
3395 (org-self-insert-command): Cluster undo for 20 characters.
3396 (org-self-insert-command-undo-counter): New variable.
3398 2009-02-24 Carsten Dominik <carsten.dominik@gmail.com>
3400 * org-exp.el (org-export-as-html): Fix problem with closing colone
3403 2009-02-22 Carsten Dominik <carsten.dominik@gmail.com>
3405 * org-export-latex.el (org-export-as-latex)
3406 (org-export-latex-first-lines): Avoid modification flag when
3407 adding or removing text properties.
3408 (org-export-latex-fontify): Catch error when org-emph-alist has
3409 entries that are not defined for LaTeX export.
3411 * org.el (orgstruct++-mode): New function.
3412 (turn-on-orgstruct++): Call `orgstruct++-mode'.
3413 (org-context-p): Allow detecting item context after the first line
3415 (orgstruct-make-binding): Detect if item-body context should be
3417 (orgstruct-is-++): New variable.
3418 (org-add-planning-info): Catch the case when there is no planning
3419 info yet and the call does not want to add anything, only maybe
3420 tries to remove something.
3421 (org-special-ctrl-a/e): All value to be a cons cell with separate
3422 settings for `C-a. and `C-e'.
3423 (org-beginning-of-line, org-end-of-line): Honor separate values
3424 for `C-a' and `C-e'.
3426 2009-02-21 Carsten Dominik <carsten.dominik@gmail.com>
3428 * org.el (org-reload): New command.
3430 2009-02-20 Carsten Dominik <carsten.dominik@gmail.com>
3432 * org-exp.el (org-export-htm-get-tag-class-name)
3433 (org-export-htm-get-todo-kwd-class-name): New functions.
3434 (org-export-html-tag-class-prefix)
3435 (org-export-html-todo-kwd-class-prefix): New options.
3436 (org-export-as-html): Call
3437 `org-export-html-get-todo-kwd-class-name'.
3438 (org-html-level-start): Wrap tags into classes.
3439 (org-export-html-get-tag-class-name)
3440 (org-export-html-get-todo-kwd-class-name): New functions.
3442 * org-export-latex.el (org-export-latex-collect-header-macros):
3443 Remove fields that are used anyway.
3444 (org-export-latex-make-header): Insert the options earlier.
3446 * org-agenda.el (org-agenda-get-progress): Fix bug with state
3449 * org-list.el (org-indent-item): Allow point to be at the end of
3452 * org.el (org-metaleft, org-metaright): Be more accurate about
3453 detecting a region where commands apply.
3455 * org-compat.el (org-cursor-to-region-beginning): New function.
3457 * org.el (org-priority): Also find invisible heading.
3459 * org-colview-xemacs.el (org-columns-edit-value): No special
3460 treatment for `org-todo' prefix.
3462 * org-colview.el (org-columns-edit-value): No special treatment
3463 for `org-todo' prefix.
3465 * org-remember.el (org-remember-apply-template): Use
3466 `org-completing-read-no-ido'.
3468 * org.el (org-completing-read-no-ido): New function.
3469 (org-make-tags-matcher, org-set-property): Use
3470 `org-completing-read-no-ido'.
3472 * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
3474 (org-export-as-latex): Import in-buffer settings as TeX macros.
3475 (org-export-latex-make-header): Additional parameter OPT-DEFS.
3476 (org-export-latex-collect-header-macros): New function.
3478 * org.el (org-refile-get-location): Turn off
3479 `partial-completion-mode'.
3481 2009-02-19 Carsten Dominik <carsten.dominik@gmail.com>
3483 * org.el (org-block-todo-from-checkboxes): Announce that
3484 checkboxes are the culprit.
3485 (org-block-todo-from-children-or-siblings): Call
3486 `org-up-heading-all instead' of `outline-up-heading'.
3488 * org-agenda.el (org-agenda-show-1): Renamed from
3490 (org-agenda-show): Re-install the old version for now.
3491 (org-agenda-dim-blocked-tasks): Update docstring. Scope a
3492 variable into the blokker hook, so that the checkbox checker can
3493 anounce that it caused the blocking.
3495 * org.el (org-track-ordered-property-with-tag): New option.
3496 (org-toggle-ordered-property): Honor
3497 `org-track-ordered-property-with-tag'.
3498 (org-tag-alist): Add newline options.
3499 (org-set-regexps-and-options): Separate option lines imply a
3501 (org-set-regexps-and-options, org-assign-fast-keys)
3502 (org-fast-todo-selection, org-fast-tag-selection): Handle newline
3504 (org-indent-line-function): Make sure this works even if there is
3505 not `org-drawer-regexp' defined. This can happen when
3506 orgstruct-mode is used in a non-org buffer.
3508 * org-list.el (org-checkbox-blocked-p): New function.
3509 (org-toggle-checkbox): Check for blocking.
3511 * org.el (org-modules): Add an entry for org-R.el.
3513 * org-agenda.el (org-agenda-todo-ignore-with-date)
3514 (org-agenda-todo-ignore-scheduled)
3515 (org-agenda-todo-ignore-deadlines): Mention the variable
3516 `org-agenda-tags-todo-honor-ignore-options' in the docstring.
3518 * org.el (org-get-wdays): Find the warning period also if it is in
3520 (org-ido-completing-read): Provide the correct arguments to
3521 ido-completing-read and bind `ido-enter-matching-directory' to
3524 2009-02-17 Carsten Dominik <carsten.dominik@gmail.com>
3526 * org.el (org-olpath-completing-read): Never use ido for this
3529 * org-exp.el (org-export-normalize-links): Use new macro.
3531 * org-macs.el (org-if-unprotected-at): New macro.
3533 * org-agenda.el (org-agenda-show): Allow numerical prefix
3534 arguments to specify how much context should be shown.
3535 (org-agenda-cycle-show): New command, could be bound to SPC in
3536 org-agenda-mode-map.
3538 * org-exp.el (org-html-level-start): Space after section number.
3540 2009-02-16 Carsten Dominik <carsten.dominik@gmail.com>
3542 * org-agenda.el (org-agenda-get-sexps): Add todo state as
3543 property, for sorting.
3544 (org-cmp-todo-state): Get the applicable TODO keywords directly
3546 (org-run-agenda-series, org-agenda-list, org-search-view)
3547 (org-todo-list, org-tags-view): Only fit agenda window when the
3548 whole series is done.
3550 * org.el (org-scan-tags): Add todo state as property, for sorting.
3552 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3553 `org-agenda-overriding-header' as an option.
3554 (org-agenda-list): Honor org-agenda-overriding-header'.
3556 2009-02-15 Carsten Dominik <carsten.dominik@gmail.com>
3558 * org-list.el (org-toggle-checkbox): Improve cursor positioning
3559 after removing a checkbox.
3561 * org.el (org-show-entry): Make this work correctly also if it is
3562 the last entry in the file.
3563 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
3564 falling back to normal, default command.
3565 (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
3566 item, call the checkbox toggler to get a box.
3568 * org-list.el (org-toggle-checkbox): Make double prefix set the
3570 (org-fix-bullet-type): Only replace bullet if it is changed.
3571 (org-renumber-ordered-list): Handle case when first item does not
3574 * org.el (org-add-log-setup): Fix positioning when
3575 `org-log-states-order-reversed' is nil.
3577 * org-clock.el (org-clock-in): Fix positioning when
3578 `org-log-states-order-reversed' is nil.
3579 (org-clock-find-position): Fix positioning when
3580 `org-log-states-order-reversed' is nil.
3582 2009-02-14 Carsten Dominik <carsten.dominik@gmail.com>
3584 * org-clock.el (org-clock-into-drawer): Take default from
3585 `org-log-into-drawer'.
3586 (org-clock-find-position): Look for the correct drawer.
3588 * org.el (org-log-into-drawer): Renamed from
3589 `org-log-state-notes-into-drawer'.
3590 (org-log-state-notes-into-drawer): New variable alias.
3591 (org-add-log-setup): Make drawer name default to LOGBOOK, not
3593 (org-insert-property-drawer): Also skip LOGBOOK drawers.
3595 2009-02-13 Carsten Dominik <carsten.dominik@gmail.com>
3597 * org-agenda.el (org-agenda): Fix docstring.
3599 * org.el ("org-plot"): Help loading org-plot.
3600 (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
3601 (org-metadown-hook, org-shiftmetaleft-hook)
3602 (org-shiftmetaright-hook, org-shiftmetaup-hook)
3603 (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
3604 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3605 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
3606 (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
3608 * org-publish.el (org-publish-get-base-files): Allow symbol `any'
3609 for selecting files with any (and even without) extension.
3611 * org.el (org-save-all-org-buffers): Also save id locations.
3612 (org-revert-all-org-buffers): Also load id locations.
3614 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
3615 * org.el (org-drawers): Add LOGBOOK to the default drawers.
3616 (org-log-state-notes-into-drawer): New option.
3617 (org-add-log-setup): Place the sate note marker into the drawer,
3618 create drawer when necessary.
3619 (org-refile-targets): Document special interpretation of LEVEL
3620 when odd-levels are used.
3622 2009-02-12 Carsten Dominik <carsten.dominik@gmail.com>
3624 * org.el (org-store-log-note): Fix note indentation when adding
3625 notes to end of list.
3627 * org-exp.el (org-export-as-html): Add TODO keyword as extra
3628 class, so that each keyword can get special colors through CSS.
3630 * org-clock.el (org-clock-out): Add another nil for the previous
3631 state into the call to `org-add-log-setup'.
3633 * org.el (org-log-note-previous-state): New variable.
3634 (org-log-note-headings): New %S escape for old state.
3635 (org-todo): Call the note setup with the old state as an
3637 (org-add-note): Add another nil for the previous state into the
3638 call to `org-add-log-setup'.
3639 (org-add-log-setup): New argument PREV-STATE.
3640 (org-add-log-note): Handle new %S escape.
3641 (org-store-log-note): Handle new %S escape.
3643 2009-02-11 Carsten Dominik <carsten.dominik@gmail.com>
3645 * org-clock.el (org-clock-find-position): Do not swallow an item
3646 less indented than the CLOCK line itself.
3647 (org-clock-in): Push markers to lin after the clock line.
3648 (org-clock-find-position): Handle values of
3649 `org-clock-into-drawer' smaller than 2.
3651 * org-exp.el (org-html-level-start): Add a CSS class to section
3653 (org-export-html-toplevel-hlevel): Better documentation of the
3654 influence of this variables on H levels and css classes in
3657 2009-02-10 Carsten Dominik <carsten.dominik@gmail.com>
3659 * org-agenda.el (org-agenda-custom-commands-local-options): Add
3660 timestamp and nottimestamp to the chooe menu.
3662 * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
3663 (org-revert-all-org-buffers): New command.
3665 2009-02-09 Carsten Dominik <carsten.dominik@gmail.com>
3667 * org.el (org-return): Implement `org-return-follows-link' in the
3668 function org-return. This is more robust than using the mouse
3670 (org-set-regexps-and-options): Match more general #+TODO lines.
3671 (org-make-options-regexp): New optional argument EXTRA, for an
3673 (org-tab-follows-link): Mark as deprecated.
3675 2009-02-07 Carsten Dominik <carsten.dominik@gmail.com>
3677 * org-exp.el (org-export-preprocess-string): Remove clock lines
3678 earlier, so that they cannot cotribute to verbatim snippets.
3680 2009-02-06 Carsten Dominik <carsten.dominik@gmail.com>
3682 * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
3683 for finding drawers.
3684 (org-export-as-ascii, org-export-as-html): Count levels relative
3685 to the subtree header.
3686 (org-get-min-level): New optional argument OFFSET.
3687 (org-export): Make sure point is restored after popping up that
3690 * org.el (org-do-sort): Also take an inactive timestamp if no
3691 active one is found.
3693 * org-colview-xemacs.el (org-columns-capture-view): Copy before
3694 deleting duplicates.
3696 * org-colview.el (org-columns-capture-view): Copy before
3697 deleting duplicates.
3699 * org-exp.el (org-export-preprocess-string): Fix bug when skipping
3700 text before first headline.
3702 * org.el (org-format-latex): Do not convert LaTeX fragments in
3705 2009-02-04 Carsten Dominik <carsten.dominik@gmail.com>
3707 * org-exp.el (org-export-html-style-default): Use color values
3708 instead of names for XHTML validation.
3710 * org.el (org-get-scheduled-time, org-get-deadline-time): New
3712 (org-return-follows-link): Revert making this the default untile
3713 issues are resolved.
3715 * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
3718 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
3720 * org.el (org-mode): Make dependence stuff work more reliably.
3721 (org-update-parent-todo-statistics): Fix bug with updating
3724 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
3725 ~ as verbatim delimiters.
3727 * org-exp.el (org-export-html-format-image): New argument
3729 (org-export-as-html): Pass par-open to
3730 `org-export-html-format-image'.
3732 2009-02-01 Carsten Dominik <carsten.dominik@gmail.com>
3734 * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
3735 (org-use-fast-todo-selection, org-tags-column): New default
3736 setting for variables, based on a poll what typical uses use.
3738 * org-agenda.el (org-agenda-sorting-strategy)
3739 (org-agenda-tags-column): New default setting for variables, based
3740 on a poll what typical uses use.
3742 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
3744 * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
3745 blocked entries from setting the blocked tag.
3747 * org-exp.el (org-export-html-footnotes-section): Use a more
3748 consistent id for footnotes.
3750 * org-export-latex.el (org-export-latex-classes): Remove the
3751 a4paper option from the default styles.
3753 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
3755 * org.el (org-enforce-todo-checkbox-dependencies): New option.
3756 (org-block-todo-from-checkboxes): New function.
3757 (org-todo): Make tripple prefix arg circumvent blocking.
3759 * org-timer.el (org-timer): Provide the timer feature.
3761 * org.el (org-require-autoloaded-modules): Add a few more files to
3762 the list of autoloaded modules.
3764 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
3766 2009-01-29 Carsten Dominik <carsten.dominik@gmail.com>
3768 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
3769 drawers that are unprotected.
3770 (org-export-html-format-image): Make sure inlined LaTeX fragment
3771 images remain inlined.
3773 * org.el (org-toggle-ordered-property): New function.
3774 (org-mode-map): Add a key for `org-toggle-ordered-property'.
3775 (org-org-menu): Add menu entries for TODO dependencies.
3777 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
3779 * org.el (org-default-properties): Add ORDERED to the default
3780 properties, to get completion support for it.
3782 * org-list.el (org-update-checkbox-count): Update more than one cookie.
3784 * org.el (org-update-parent-todo-statistics): Update more than one
3787 * org-agenda.el (org-agenda-get-todos): Start search from correct
3790 * org.el (org-fast-todo-selection): Make sure TODO selection does
3791 not change buffer position.
3793 * org-list.el (org-toggle-checkbox): Implement adding or removing
3794 checkboxes from line or region when called with a prefix
3797 * org-rmail.el (org-rmail-store-link): Protect the call to
3798 `rmail-narrow-to-non-pruned-header'.
3800 * org-clock.el (org-clock-special-range): Fix week display in
3803 * org-exp.el (org-get-current-options): Fix bug when in indirect
3806 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
3808 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
3809 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
3810 (org-agenda-dim-blocked-tasks): New function.
3812 * org.el (org-enforce-todo-dependencies): New option.
3813 (org-block-todo-from-children-or-siblings): New function.
3815 * org-faces.el (org-agenda-dimmed-todo-face): New face.
3817 * org.el (org-todo): Return correct state type even if the blocker
3819 (org-modifier-cursor-error): Renamed from
3820 `org-shiftcursor-error'.
3821 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3822 (org-shiftmetadown): Call `org-modifier-cursor-error'.
3824 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
3825 to get real errors from the blocker hook.
3827 * org.el (org-shiftselect-error, org-call-for-shift-select): New
3829 (org-set-visibility-according-to-property): Turn off the setting
3830 of `org-show-entry-below', to avoid overruling a FOLDED visibility
3833 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
3835 * org.el (org-support-shift-select): New option.
3836 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
3837 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
3838 selection outside contexts.
3840 * org-list.el (org-at-item-bullet-p): New function.
3842 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
3845 * org-footnote.el (org-footnote-normalize): Remove unnecessary
3847 (org-insert-footnote-reference-near-definition): Remove
3848 unnecessary let form.
3850 * org-export-latex.el (org-export-latex-first-lines): Add
3851 OPT-PLIST parameter.
3852 (org-export-as-latex): Call `org-export-latex-first-lines' with
3853 opt-plits parameter.
3854 (org-export-latex-preprocess): Remove unnecessary variables.
3856 * org-exp.el (org-infile-export-plist)
3857 (org-export-add-options-to-plist, org-export-kill-licensed-text)
3858 (org-export-remove-headline-metadata)
3859 (org-export-get-title-from-subtree, org-get-min-level)
3860 (org-html-do-expand): Remove innecessary let form.
3862 * org-colview-xemacs.el (org-columns-display-here): Remove
3863 unnecessary variables.
3865 * org-colview.el (org-columns-display-here): Remove unnecessary
3868 * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
3871 * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
3872 unnecessary variables.
3874 * org-agenda.el (org-search-view, org-agenda-get-blocks)
3875 (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
3878 * org.el (org-set-emph-re): Clean-up the STACKED stuff.
3879 (org-compact-display-after-subtree-move): Remove unnecessary
3881 (org-edit-fixed-width-region): Remove unnecessary variables.
3882 (org-edit-src-find-region-and-lang): Remove unnecessary variables.
3883 (org-olpath-completing-read): Remove unnecessary variable.
3884 (org-auto-repeat-maybe): Remove unnecessary variable.
3885 (org-map-entries): Remove unnecessary variable.
3886 (org-buffer-property-keys, org-imenu-get-tree)
3887 (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
3889 -----------------------------------------------------------------
3891 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
3892 * org-exp.el (org-export-remove-timestamps): Never remove
3893 timestamps from tables.
3895 * org-export-latex.el (org-export-latex-first-lines): Add more
3896 options to the preprocessing of the text before the first
3899 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
3901 * org-faces.el (org-clock-overlay): Make face compatible with
3904 * org.el (org-yank): Add property for delete-selection mode.
3906 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
3908 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
3911 * org-table.el (org-table-insert-hline): Fix typo in fuction call
3914 * org-exp.el (org-export-as-html): Remove the initial space from
3917 * org.el (org-scan-tags): Call
3918 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3920 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
3921 customization groups.
3922 (org-agenda-tags-todo-honor-ignore-options): New option.
3923 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3925 (org-agenda-get-todos): Use
3926 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3928 2009-01-24 Carsten Dominik <carsten.dominik@gmail.com>
3930 * org-exp.el (org-export-format-source-code-or-example): Escape
3931 HTML characters also in examples that anre not treated with
3932 htmlize. Also, just switch to EXAMPLE processing if we do not
3933 have a good version of htmlize.
3935 * org-rmail.el: Fix copyright notice.
3937 * org.el (org-activate-footnote-links): Improve footnote link
3940 * org-footnote.el (org-footnote-normalize): Fix finding the end of
3941 a footnote definition at the end of the file.
3943 * org-table.el (org-table-get-specials): Add an imagined hline at
3944 the end of the table. This can be useful for references that want
3945 to go to the end of the table. Also fix bug when computing last
3946 row constants, in tables that do not start right at the right
3948 (org-table-eval-formula): Match and replace remove references.
3949 (org-table-formula-substitute-names): Make sure that names inside
3950 a "remote" call are left alone, the will be replaced later when
3951 the remote call is handled.
3952 (org-table-convert-refs-to-rc): Do not convert things that might
3953 look like a reference, but are really part of an ID or namei n a
3955 (org-table-get-remote-range): New function.
3957 2009-01-22 Carsten Dominik <carsten.dominik@gmail.com>
3959 * org-faces.el (org-clock-overlay): Fix bug in face definition.
3961 * org-clock.el (org-clock-put-overlay): Use new face instead of
3962 `secondary-selection'.
3964 * org-faces.el (org-clock-overlay): New face.
3966 2009-01-21 Carsten Dominik <carsten.dominik@gmail.com>
3968 * org-exp.el (org-get-current-options): Include the option for
3969 publishing time stamps.
3971 * org.el (org-toggle-heading): Renamed from
3972 `org-toggel-region-headings'.
3973 No longer needs a region defined, but will use it if there is one.
3974 (org-ctrl-c-star): Simplified, relying more on the internal
3975 workings of `org-toggle-heading'.
3976 (org-toggle-item): Renamed from `org-toggle-region-items'.
3977 No longer needs a region defined, but will use it if there is one.
3978 (org-ctrl-c-minus): Simplified, relying more on the inernal
3979 workings of `org-toggle-item'.
3981 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
3982 environment detection. Also, do real changes only in unprotected
3985 2009-01-20 Carsten Dominik <carsten.dominik@gmail.com>
3987 * org-export-latex.el (org-export-latex-quotation-marks): Use
3988 `org-if-unprotected-1'.
3989 (org-export-latex-set-initial-vars): Check for class definition in
3992 * org-macs.el (org-if-unprotected-1): New macro.
3994 2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
3996 * org-compat.el (org-count-lines): New function.
3998 * org-exp.el (org-export-format-source-code-or-example): Handle
3999 switches related to text areas.
4001 * org.el (org-activate-footnote-links): Don't allow match inside a
4004 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
4006 * org-export-latex.el (org-export-latex-links): Keep a relative
4007 path relative also after export.
4009 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
4011 * org.el (org-make-tags-matcher): Never use IDO for completing the
4012 tags matcher match string.
4013 (org-completing-read): Also remove the special biding for "?".
4015 * org-attach.el (org-attach-allow-inheritance): New option.
4016 (org-attach-inherited): New variable.
4017 (org-attach-dir): Handle properties related to the attachment
4019 (org-attach-check-absolute-path): New function.
4020 (org-attach-set-directory, org-attach-set-inherit): New commands.
4021 (org-attach): Accommodate the new commands in the dispatcher.
4023 2009-01-18 Carsten Dominik <carsten.dominik@gmail.com>
4025 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
4026 `window-full-width-p'.
4028 * org-exp.el (org-export-as-html): Only check for images files
4029 that really can be inlined
4031 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
4032 list of extensions to be a parameter.
4034 * org-exp.el (org-export-html-inline-image-extensions): New
4037 * org-agenda.el (org-prepare-agenda): Use
4038 `org-agenda-block-separator'.
4039 (org-agenda-block-separator): New option.
4041 2009-01-17 Carsten Dominik <carsten.dominik@gmail.com>
4043 * org-export-latex.el (org-export-latex-tables): Call
4044 `org-table-clean-before-export' with the new optional argument.
4046 * org-exp.el (org-table-clean-before-export): New optional
4047 parameter MAYBE-QUOTED, allows for quoted characters like \# in
4050 2009-01-16 Carsten Dominik <carsten.dominik@gmail.com>
4052 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
4055 * org-colview.el (org-colview-construct-allowed-dates): Better
4056 error catching when a date/time property does not have allowed
4059 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
4060 Better error catching when a date/time property does not have
4061 allowed values defined.
4063 2009-01-14 Carsten Dominik <carsten.dominik@gmail.com>
4065 * org.el (org-map-entries): Restore point and restriction after
4068 2009-01-13 Carsten Dominik <carsten.dominik@gmail.com>
4070 * org.el (org-time=, org-time<, org-time<=, org-time>)
4071 (org-time>=, org-time<>): Make sure both values are dates.
4073 2009-01-11 Carsten Dominik <carsten.dominik@gmail.com>
4075 * org-archive.el (org-extract-archive-heading): Allow %s for file
4076 name also in achive location heading.
4078 2009-01-10 Carsten Dominik <carsten.dominik@gmail.com>
4080 * org-archive.el (org-add-archive-files): Uniquify the list before
4083 2009-01-09 Carsten Dominik <carsten.dominik@gmail.com>
4085 * org-compat.el (org-fit-window-to-buffer): Use
4086 `window-full-width-p'.
4088 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4089 space after the colon in short examples.
4091 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4092 enforce a space after the colon. However, we also allow lines
4093 that are *only* a colon.
4094 (org-export-as-html): Enforce the space after the colon in short
4096 (org-export-preprocess-string): Do the colon example protection
4098 (org-export-remove-timestamps): Do not check for protection at the
4101 2009-01-08 Carsten Dominik <carsten.dominik@gmail.com>
4103 * org.el (org-format-latex-options): Add new matcher for single
4104 letters between dollars.
4105 (org-get-header): Function removed.
4106 (org-heading-components): New function.
4108 * org-exp.el (org-export-define-heading-targets): Record ID's also
4109 as alternative targets.
4110 (org-export-as-html): Interpret "id:" links to other files by
4111 preserving the relative path.
4113 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4116 * org-exp.el (org-export-normalize-links): Protect the main link,
4117 to avoid special character processing.
4119 * org-export-latex.el (org-export-latex-special-keyword-regexp):
4121 (org-export-latex-special-string-regexps): Variable removed.
4122 (org-export-latex-keywords): Use the new regexp.
4124 * org-exp.el (org-export-handle-include-files): Fetch switches and
4125 put them into the BEGIN statement.
4127 * org-timer.el (org-timer-mode-line-string): New variable.
4129 * org-clock.el (org-clock-mode-line-map): Renamed from
4130 `org-clock-mode-map'.
4131 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
4132 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
4133 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
4134 (org-clock-remove-overlays): Renamed from
4135 `org-remove-clock-overlays'.
4137 * org-timer.el (org-timer-pause-or-continue): Implement stopping
4138 and mode line display.
4139 (org-timer-stop): New command.
4140 (org-timer-seconds): Return correct time when timer is paused.
4141 (org-timer-mode-line-timer): New variable.
4142 (org-timer-set-mode-line, org-timer-update-mode-line): New
4145 * org.el (org-insert-heading): Handle new value `auto' for
4146 `org-blank-before-new-entry'.
4147 (org-org-menu): Add new items for timer functions.
4149 * org-list.el (org-insert-item): Handle new value `auto' for
4150 `org-blank-before-new-entry'.
4152 * org.el (org-blank-before-new-entry): New value `auto', made
4155 2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
4157 * org-exp.el (org-export-normalize-links): If the link is also
4158 used as the description, protect the description.
4160 2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
4162 * org.el (org-closest-date): Fix bug with yearly repeats, in
4163 combination with preference of the past as it is used for deadline
4164 and scheduling search.
4166 * org-exp.el (org-html-handle-time-stamps): No longer check for
4167 the `org-export-with-timestamps' option, because the preprocesser
4168 has taken care of this already.
4170 * org.el (org-entry-properties): Catch the case when this is
4171 called in a non-org-mode file.
4173 * org-export-latex.el (org-export-latex-remove-from-headlines):
4174 Variable made obsolete, also LaTeX export now uses the standard
4176 (org-export-as-latex): Add the timestamps parameter to the
4177 preprocessor parameter list.
4178 (org-export-latex-content): Export the remaining keywords without
4179 considering to remove them.
4180 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4181 Use bold font instead of tt font for the keywords.
4182 (org-export-latex-fontify-headline): Format headlines, assuming
4183 that all keywords still present should be published.
4184 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4185 publish what ever remains of the time stamps.
4186 (org-export-latex-list-parameters): New option.
4187 (org-export-latex-lists): Pass additional parameters to the list
4190 * org-exp.el (org-export-preprocess-string): Remove clock lines
4191 and timestamps already in the preprocesor.
4192 (org-export-remove-timestamps, org-export-remove-clock-lines): New
4194 (org-export-as-ascii, org-export-as-html): Add the timestamps
4195 parameter to the preprocessor parameter list.
4197 * org-list.el (org-list-parse-list): Parse for checkboxes.
4198 (org-list-to-generic): Introduce and handle new parameters :cbon
4200 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4201 optional parameter PARAMS.
4203 * org-export-latex.el (org-export-latex-special-chars): Fix
4204 problems with interpreting dollar signs.
4205 (org-inside-latex-math-p): New function.
4206 (org-export-latex-preprocess): Protect all the math fragments.
4208 * org.el (org-latex-regexps): Allow a dash after a dollar.
4210 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4213 * org-agenda.el (org-run-agenda-series): Have series options set
4214 when finalizing the agenda.
4216 * org-exp.el (org-export-format-source-code-or-example): Protect
4217 the converted examples.
4219 * org.el (org-set-regexps-and-options): Fix the regexp
4220 `org-complex-heading-regexp'.
4222 2009-01-05 Carsten Dominik <carsten.dominik@gmail.com>
4224 * org.el (org-edit-src-get-label-format): New function.
4225 (org-coderef-label-format): New option.
4226 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4227 a label format specification and make sure it is used in the edit
4229 (org-edit-src-get-label-format): New function.
4230 (org-store-link): Handle new coderef formats.
4231 (org-link-search): Handle new coderef formats.
4233 * org-footnote.el (org-footnote-create-definition)
4234 (org-footnote-goto-local-insertion-point): Make footnote insertion
4235 work correctly when the "Footnotes" headline is the last line in
4238 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4241 2009-01-04 Carsten Dominik <carsten.dominik@gmail.com>
4243 * org-w3m.el (org-w3m): New customization group.
4244 (org-w3m-deactivate-mark): New option.
4245 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4248 2009-01-02 Carsten Dominik <carsten.dominik@gmail.com>
4250 * org.el (org-set-font-lock-defaults): Trigger footnote
4252 (org-activate-footnote-links): New function.
4253 (org-activate-links): New entry `footnote'.
4255 * org-faces.el (org-footnote): New face.
4257 2009-01-01 Carsten Dominik <carsten.dominik@gmail.com>
4259 * org-macs.el (org-re): Handle the [:word:] class.
4261 * org-exp.el (org-export-preprocess-string): Call
4262 `org-export-protect-colon-examples'.
4263 (org-export-protect-colon-examples): Renamed from
4264 `org-export-protect-examples', and scope limited to lines starting
4267 2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
4269 * org-exp.el (org-export-preprocess-string): Move the preprocess
4270 hook to after turning on Org-mode.
4271 (org-export-preprocess-after-include-files-hook)
4272 (org-export-preprocess-after-tree-selection-hook)
4273 (org-export-preprocess-before-backend-specifics-hook)
4274 (org-export-preprocess-final-hook): New hooks.
4275 (org-export-preprocess-string): Run the new hooks.
4277 * org.el (org-ctrl-c-minus): Fix indentation for new items.
4279 * org-footnote.el: New file.
4281 * org.el (org-footnote): Require footnote code.
4282 (org-startup-options): Add new footnote options.
4283 (org-mode-map): New keybindig for footnotes.
4284 (org-ctrl-c-ctrl-c): Add function at footnotes.
4285 (org-org-menu): New menu entries for footnotes.
4287 * org-export-latex.el (org-export-as-latex): Pass footnote
4288 variable to preprocessor.
4289 (org-export-latex-preprocess): Treat multiple references to a
4292 * org-exp.el (org-export-preprocess-string): Call
4293 `org-footnote-normalize'.
4294 (org-export-as-ascii, org-export-as-html): Pass footnote variable
4296 (org-export-as-html): Treat multiple references to a footnote.
4298 2008-12-26 Carsten Dominik <carsten.dominik@gmail.com>
4300 * org-export-latex.el (org-export-latex-links): Handle coderef
4303 * org.el (org-bracket-link-analytic-regexp++): New variable.
4304 (org-make-link-regexps): Initialize
4305 `org-bracket-link-analytic-regexp++'.
4306 (org-store-link): Implement special case in edit-src buffer.
4307 (org-insert-link): No use of ide to insert stored links.
4308 (org-link-search): Implement special case for coderefs.
4310 * org-exp.el (org-export-html-scripts): New constant.
4311 (org-export-html-style-default): Add a new style for highlighted
4313 (org-export-code-refs): New variable.
4314 (org-export-preprocess-string): Initialize `org-export-code-refs'.
4315 Call `org-export-replace-src-segments-and-examples'
4316 No longer call `org-export-protect-examples'.
4317 (org-export-target-internal-links): Take care of coderef targets.
4318 (org-export-last-code-line-counter-value): New variable.
4319 (org-export-replace-src-segments-and-examples): Renamed from
4320 `org-export-replace-src-segments', and modified.
4321 (org-export-format-source-code-or-example): Renamed from
4322 `org-export-format-source-code'.
4323 (org-export-number-lines): New function.
4324 (org-export-as-ascii, org-export-as-html): Handle coderef links.
4326 --------------------------------------------------------------------------
4328 2008-12-23 Carsten Dominik <carsten.dominik@gmail.com>
4330 * org-remember.el (org-remember-handler): Safer way to get a new
4331 buffer accessing the target file.
4333 * org.el (org-refile-get-location): Handle case of current buffer
4334 not having a file associated with it.
4336 2008-12-22 Carsten Dominik <carsten.dominik@gmail.com>
4338 * org-table.el (org-table-get-formula): Only ask to overwrite
4339 field formula if there really is one.
4341 * org-id.el (org-id-find): Allow the ID to be a symbol or a
4342 number, by converting these to a string.
4344 * org-colview.el (org-dblock-write:columnview): Allow ID to be
4345 located in a different file.
4347 * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
4350 2008-12-21 Carsten Dominik <carsten.dominik@gmail.com>
4352 * org.el (org-completion-use-ido): Enhance docstring of
4353 `org-completion-use-ido'.
4355 * org-export-latex.el (org-export-latex-make-header): Double the %
4356 in the time stamp format.
4357 (org-export-latex-special-chars): Handle case where there is no
4360 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
4362 * org.el (org-get-refile-targets, org-refile-get-location): Use
4363 expanded file name to improve comparison.
4365 2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
4367 * org.el (org-scan-tags): Rescan for tags, to get the correct
4368 upcase/downcase stuff. This slows things down for now, but it
4370 (org-mode): Make sure the tag-faces regexp is initialized.
4372 * org-export-latex.el (org-export-latex-links): Fix bug with
4375 * org-table.el (org-table-get-specials): Set
4376 `org-table-current-last-data-line'.
4377 (org-table-current-last-data-line): New variable.
4378 (org-table-insert-column, org-table-delete-column)
4379 (org-table-move-column, org-table-fix-formulas): Call
4380 `org-table-fix-formulas' a second time to fix the $LR references.
4381 (org-table-get-specials): Add the $LR references to the tables.
4382 (org-table-get-formula): Do not offer last-row names as LHS of
4385 * org.el (org-store-link): Capture link description from
4386 `org-id-store-link'.
4388 * org-exp.el (org-export-html-format-image): Add the / to the end
4390 (org-export-format-source-code): Surround example by empty lines,
4391 to make sure it will not be inside a paragraph.
4393 * org.el (org-ido-switchb): New function.
4395 2008-12-18 Carsten Dominik <carsten.dominik@gmail.com>
4397 * org-agenda.el (org-agenda-show): New prefix argument
4400 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4403 * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
4404 `org-agenda-change-all-lines'.
4405 (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
4406 tags are now retrieved locally.
4408 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
4410 * org.el (org-get-outline-path): Fix bug if level is not given.
4411 (org-org-menu): Do not quote function in menu vector.
4413 * org-agenda.el (org-finalize-agenda): Fix typo with variable
4416 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
4418 * org.el (org-refile): Avoid refiling to within the region to be
4421 * org-export-latex.el (org-export-latex-special-chars): Replace
4422 special characters also in tables.
4424 * org-agenda.el (org-agenda-change-all-lines): New argument
4426 (org-agenda-set-tags): Cet the new tags and pass them to
4427 `org-format-agenda-item'.
4429 2008-12-15 Carsten Dominik <carsten.dominik@gmail.com>
4431 * org-export-latex.el (org-export-latex-classes): Add longable as
4432 a default package to all classes.
4433 (org-export-latex-tables): Handle the longtable attribute and the
4436 * org-table.el (orgtbl-to-generic): Handle tables that start with
4439 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4440 \verb for colde-like snippets.
4441 (org-export-as-latex): Fix issues with region export.
4443 * org.el (org-up-heading-safe): Speed up function by using a
4444 direct regexp search.
4445 (org-olpa): New variable.
4446 (org-get-outline-path): Speed-up path constructions in cases where
4447 this is possible because the entire hierarchy is scanned anyway.
4448 (org-refile-get-location): Don't compare the truenames of files,
4450 (org-goto-max-level): New option.
4451 (org-goto): Use `org-goto-max-level'.
4453 2008-12-12 Tassilo Horn <tassilo@member.fsf.org>
4455 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4456 Strip angle brackets from message-ids in the former and don't do
4458 (org-gnus-follow-link): Open summary reliable, even if the last
4459 messages were deleted, and handle empty groups, too.
4461 2008-12-12 Carsten Dominik <carsten.dominik@gmail.com>
4463 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4464 instead of \texttt for the =...= and ~===~ emphasis environments.
4465 (org-export-as-latex): Remove any old :org-license-to-kill text
4467 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4468 (org-export-latex-make-header): Add some hard space after the
4470 (org-export-latex-first-lines): Accept RBEG argument. Mark
4471 exported text so that it will be excuded in further steps.
4473 * org-table.el (org-table-get-specials): Make @0 reference the
4474 last line in a table.
4475 (org-table-recalculate): Improve docstring.
4477 2008-12-11 Carsten Dominik <carsten.dominik@gmail.com>
4479 * org.el (org-log-done): Fix docstring.
4481 2008-12-10 Carsten Dominik <carsten.dominik@gmail.com>
4483 * org-exp.el (org-export-html-format-image): Fix bugs.
4485 * org-export-latex.el (org-export-latex-tables)
4486 (org-export-latex-links): Implement attribute, label, and caption
4489 * org-exp.el (org-export-html-style-default): Add style
4490 definitions for the figure div.
4491 (org-export-preprocess-string, org-export-as-html): Implement
4492 attribute, label, and caption handling.
4493 (org-export-attach-captions-and-attributes): New function.
4494 (org-export-html-format-image): New function.
4495 (org-format-org-table-html): Implement attribute, label, and
4498 * org.el (org-find-text-property-in-string): New function.
4499 (org-extract-attributes): Use the property org-attr instead of
4500 org-attrobutes, because this property is now set with the #+ATTR
4503 2008-12-08 Carsten Dominik <carsten.dominik@gmail.com>
4505 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
4506 the case that FROM is nil.
4508 * org.el (org-before-first-heading-p): New function.
4510 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
4512 * org-exp.el (org-export-as-html): Do not add a space before
4513 enforces line breaks.
4514 (org-export-as-html): Close paragraph before blockquote and verse
4517 2008-12-06 Carsten Dominik <carsten.dominik@gmail.com>
4519 * org-id.el (org-id-locations-file): Wrap file name with
4520 `convert-standard-filename'.
4521 (org-id-files): New variable.
4522 (org-id-use-hash): New option.
4523 (org-id-update-id-locations): Also search in all files current
4524 listed in `org-id-files'. Convert the resulting alist to a hash
4525 if the user customation says so.
4526 (org-id-locations-save): Handle he case if `org-id-locations' is a
4528 (org-id-locations-load): Convert the alist to a hash.
4529 (org-id-add-location): Handle the hast case.
4530 (kill-emacs-hook): Make sure id locations are saved when Emacs is
4532 (org-id-hash-to-alist, org-id-alist-to-hash)
4533 (org-id-paste-tracker): New functions.
4535 -------------------------------------------------------------------------
4537 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
4539 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
4540 bindings of calendar variables.
4542 * org-table.el (org-table-find-row-type): Renamed from
4543 `org-find-row-type'.
4544 (org-table-rewrite-old-row-references): Renamed from
4545 `org-rewrite-old-row-references'.
4546 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
4547 (org-table-cleanup-narrow-column-properties): Renamed from
4548 `org-cleanup-narrow-column-properties'.
4550 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
4552 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
4553 for better error messages.
4554 (org-table-get-descriptor-line): Supply the new arguments to
4555 `org-find-row-type'.
4556 (org-table-error-on-row-ref-crossing-hline): New option.
4558 * org.el (org-target-link-regexp): Make buffer-local.
4559 (org-move-subtree-down): Fix bug with trees at beginning of
4562 2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
4564 * org-faces.el (org-set-tag-faces): New function.
4565 (org-tags-special-faces-re): New variable.
4567 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
4569 * org-faces.el (org-tag-faces): New option.
4570 (org-tag): Mention `org-tag-faces' in the docstring.
4572 2008-12-03 Carsten Dominik <carsten.dominik@gmail.com>
4574 * org-exp.el (org-export-html-style-default): Implement new
4577 * org-jsinfo.el (org-infojs-template): Implement new quoting.
4579 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
4580 command to the `w3m-minor-mode-map'.
4582 * org-archive.el (org-archive-to-archive-sibling): Protect
4583 `this-command' to avoid appending kills during archiving.
4585 * org-exp.el (org-export-with-priority): New variable.
4586 (org-export-add-options-to-plist): Use `org-export-plist-vars'
4587 instead of internal list of strings and properties.
4588 (org-print-icalendar-entries): Retrieve the location property with
4591 2008-12-02 Carsten Dominik <carsten.dominik@gmail.com>
4593 * org-exp.el (org-export-with-todo-keywords): New option.
4594 (org-export-plist-vars): Include also the keys for the #+OPTIONS
4596 (org-default-export-plist, org-export-add-options-to-plist)
4597 (org-export-as-ascii, org-export-as-html): Use the new structure
4598 of `org-export-plist-vars'.
4600 * org.el (org-map-entries): Return all values.
4602 2008-11-29 Carsten Dominik <carsten.dominik@gmail.com>
4604 * org.el (org-matcher-time): Recognize more special values.
4606 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
4608 2008-11-27 Carsten Dominik <carsten.dominik@gmail.com>
4610 * org.el (org-tags-exclude-from-inheritance): New option.
4611 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
4612 `org-tags-exclude-from-inheritance'.
4614 * org-agenda.el (org-agenda-show-inherited-tags): New option.
4615 (org-format-agenda-item): Add inherited tags to the agenda line
4616 string, and make sure that properties are kept when downcasing the
4618 (org-agenda-add-inherited-tags): New function.
4619 (org-downcase-keep-props): New function.
4621 * org.el (org-scan-tags): Mark inherited tags with a text
4623 (org-get-tags-at): Mark inherited tags with a text property.
4624 (org-add-prop-inherited): New function.
4626 * org-agenda.el (org-agenda-add-inherited-tags): New function.
4627 (org-agenda-show-inherited-tags): New option.
4629 2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
4631 * org.el (org-modules): Add org-w3m to the default modules.
4633 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
4635 (orgtabl-create-or-convert-from-region): New command.
4637 * org-exp.el (org-export-as-ascii): Remove the handling of
4639 (org-export-ascii-preprocess): Handle targets already in this
4642 2008-11-25 Carsten Dominik <carsten.dominik@gmail.com>
4644 * org-timer.el (org-timer-start-time): Define this variable.
4645 (org-timer-item): Make argument optional.
4647 * org-list.el (org-insert-item): Automatically insert a timer item
4648 if the current list is a timer list.
4650 * org-timer.el: New file.
4652 * org-publish.el (org-publish-org-index): Only exclude the index
4653 file in the main directory from being added to the site-map.
4654 (org-publish-get-project-from-filename): If the current project is
4655 a component, start publishing from the parent project.
4657 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
4659 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
4661 * org-publish.el (org-publish-org-index): Improve removal of
4664 * org-agenda.el (org-get-closed): Re-apply changes
4665 accidentially overwritten by last commit to Emacs.
4667 * org.el (org-outline-path-complete-in-steps): New option.
4668 (org-refile-get-location): Honor
4669 `org-outline-path-complete-in-steps'.
4670 (org-agenda-change-all-lines, org-tags-sparse-tree)
4671 (org-time-string-to-absolute, org-small-year-to-year)
4672 (org-link-escape): Re-apply changes accidentially overwritten
4673 by last commit to Emacs
4675 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
4677 * org-clock.el (org-dblock-write:clocktable): Make sure the
4678 clocktable sees the first line.
4679 (org-clock-in): Warn if the clock cannot be resumed.
4681 2008-11-22 Carsten Dominik <carsten.dominik@gmail.com>
4683 * org.el (org-open-at-point): Fix mixup about interactive and
4684 non-interactive elisp links.
4686 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
4688 * org-exp.el (org-export-preprocess-string): Allow one comment
4689 line before the first headline to always be included. This is
4690 to not miss a commented target.
4692 * org-mouse.el (org-mouse-insert-item): Call
4693 `org-indent-to-column' instead of `indent-to', for XEmacs
4696 * org.el (org-refile-targets): Fix customize definition so
4697 that it works also in XEmacs.
4698 (org-fixup-indentation): Call `org-indent-to-column' instead
4699 of `indent-to', for XEmacs compatibility.
4701 2008-11-21 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
4703 * org-mew.el (org-mew-store-link): Get the correct case folder
4704 for refiled messages.
4706 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
4708 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
4709 line break indicators.
4711 * org.el (org-ido-completing-read): Remove the "i:" prefix for
4712 ido-completion propts.
4714 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
4716 * org-remember.el (org-remember-apply-template): Use
4717 `org-substring-no-properties'.
4719 * org-compat.el (org-substring-no-properties): New function.
4721 * org-remember.el (org-remember-apply-template): Use
4722 `org-substring-no-properties' for compatibility.
4724 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
4726 (org-fix-bullet-type): respect
4727 `org-list-two-spaces-after-bullet-regexp'.
4729 * org-clock.el (org-clock-load): Clean up the code.
4731 * org.el (org-adaptive-fill-function): Allow two spaces after
4732 "1." as a list bullet.
4734 2008-11-20 Carsten Dominik <carsten.dominik@gmail.com>
4736 * org-clock.el (org-clock-save, org-clock-load): Check for
4737 live buffers, existing files, and buffer file names to ensure
4738 consistent information.
4739 (org-clock-persist): Make `clock' a special value of this
4740 variable, and improve docstring.
4742 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
4743 (org-get-string-indentation): Adapt indentation when the bullet
4746 2008-11-19 Carsten Dominik <carsten.dominik@gmail.com>
4748 * org-remember.el (org-remember-finalize): Make interactive.
4749 (org-remember-kill): New command.
4750 (org-remember-finish-immediately): Call `org-remember-finalize'
4752 (org-remember-finalize): Make `org-remember-finalize' an interactive
4755 2008-11-18 Carsten Dominik <carsten.dominik@gmail.com>
4757 * org-remember.el (org-remember-apply-template): No ido completion
4758 for free prompts in remember templates.
4759 (org-remember-before-finalize-hook): New hook.
4760 (org-remember-mode): New minor mode.
4761 (org-remember-apply-template): Turn on `org-remember-mode'.
4763 * org-id.el (org-id-add-location): Avoid error when no file is
4766 * org-remember.el (org-remember-apply-template): Fix the way how
4767 the list of allowed properties is retrieved from the target file.
4769 * org.el (org-insert-link): Improve file link matching.
4771 2008-11-17 Carsten Dominik <carsten.dominik@gmail.com>
4773 * org-colview.el (org-columns-display-here): New argument
4774 DATELINE, to trigger using the new face.
4775 (org-agenda-colview-summarize): Call `org-columns-display-here'
4776 with the new argument.
4778 * org-faces.el (org-agenda-column-dateline): New face.
4780 * org-publish.el (org-publish-org-index): Use index-title at page
4781 title, not as section.
4783 * org-exp.el (org-export-html-format-desc): Respect the
4784 org-protect property.
4785 (org-export-as-html): Protect image specifiers that are in the
4786 description part of a link.
4788 * org.el (org-sort-entries-or-items, org-completing-read)
4789 (org-refile-get-location, org-olpath-completing-read, org-todo)
4790 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
4791 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
4792 (org-set-property, org-delete-property)
4793 (org-delete-property-globally): Use `org-ido-completing-read'.
4795 * org-remember.el (org-remember-apply-template): Use
4796 `org-ido-completing-read'.
4798 * org-publish.el (org-publish): Use `org-ido-completing-read'.
4800 * org-colview.el (org-columns-edit-value, org-columns-new)
4801 (org-insert-columns-dblock): Use `org-ido-completing-read'.
4803 * org-colview-xemacs.el (org-columns-edit-value)
4804 (org-columns-new, org-insert-columns-dblock): Use
4805 `org-ido-completing-read'.
4807 * org-attach.el (org-attach-delete-one, org-attach-open): Use
4808 `org-ido-completing-read'.
4810 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
4811 `org-ido-completing-read'.
4813 * org.el (org-time-today): New function.
4814 (org-matcher-time): Use `org-time-today'. Add special treatment
4815 for "<tomorrow>" and "<yesterday>".
4816 (org-ido-completing-read): New function.
4817 (org-completion-use-ido): New option.
4819 * org-exp.el (org-export-format-source-code): Fix bug in require
4821 (org-export-target-internal-links): Fix bug in search for text
4824 2008-11-16 Carsten Dominik <carsten.dominik@gmail.com>
4826 * org-export-latex.el (org-export-latex-subcontent): Interprete
4827 target aliases as additonal labels.
4829 * org-exp.el (org-export-target-aliases): New variable.
4830 (org-export-preprocess-string)
4831 (org-export-handle-invisible-targets): Fill the alias alist.
4832 (org-export-as-html): Remove the from the anchor, and also
4834 (org-html-level-start): Insert the target aliases as additonal
4837 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
4840 2008-11-15 Carsten Dominik <carsten.dominik@gmail.com>
4842 * org.el (org-open-at-mouse): Ensure correct link abbreviations
4843 when following a link with the mouse from the agenda.
4845 * org-exp.el (org-export-as-html): Avoid lone </div> when no
4846 headlines are created.
4848 2008-11-14 Carsten Dominik <carsten.dominik@gmail.com>
4850 * org-exp.el (org-export-preprocess-string): Reorder so that we
4851 can still see ID properties when we collect targets.
4852 (org-export-target-internal-links): Also store targets for ID's.
4854 * org.el (org-link-translation-function): New option.
4855 (org-open-at-point): Call `org-link-translation-function' if
4857 (org-translate-link): New function.
4858 (org-translate-link-from-planner): New function.
4859 (org-open-at-point): Allow interactive commands in elisp links.
4861 * org-exp.el (org-icalendar-cleanup-string): Restore the old
4862 iCalendar quoting. The new one seems to caus problems with
4865 * org.el (org-yank): Set `this-command' to `yank', so that
4866 `yank-pop' will work.
4868 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
4870 * org-id.el (org-id-search-archives): New option.
4872 * org.el (org-link-to-org-use-id): New option.
4873 (org-store-link): Use `org-link-to-org-use-id'.
4874 (org-id): Make org-id.el a standard component.
4876 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
4878 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
4879 hexified version of the tag.
4881 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
4882 compliance as far as quoting is concerned.
4884 * org-vm.el (org-vm-follow-link): Require `vm-search'.
4886 * org.el (org-up-heading-safe, org-forward-same-level): Always
4887 call `org-back-to-heading' instead of `outline-back-to-heading'.
4888 (org-back-to-heading): New wrapper around outline-back-to-heading,
4889 with a useful error message telling where the error happened.
4891 * org-list.el (org-update-checkbox-count): Always call
4892 `org-back-to-heading' instead of `outline-back-to-heading'.
4894 * org-exp.el (org-export-as-html): Make sure that each <img> tag
4895 has an `alt' attribute, to ensure XHTML validation.
4897 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
4899 * org-publish.el (org-publish-attachment): Allow publishing to
4900 overwrite attachment files.
4902 * org-agenda.el (org-agenda-timerange-leaders): New option.
4903 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
4905 * org.el (org-edit-src-exit): Untabify ASCII image before
4919 2008-11-11 Carsten Dominik <carsten.dominik@gmail.com>
4921 * org.el (org-yank): Make any prefix force normal yanking.
4922 Suppress folding if text would be swallowed into a folded
4924 (org-yank-folded-subtrees, org-yank): Docstring updates.
4926 * org-agenda.el (org-agenda-compare-effort): Treat no effort
4929 * org-exp.el (org-export-language-setup): Add Catalan and
4930 Esperanto language entries.
4932 2008-11-10 Carsten Dominik <carsten.dominik@gmail.com>
4934 * org.el (org-refile): Allow refiling of entire regions.
4936 * org-clock.el (org-clock-time%): New function.
4938 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
4939 retrieve property values.
4941 2008-11-09 Carsten Dominik <carsten.dominik@gmail.com>
4943 * org-agenda.el (org-agenda-list): Handle the value `only' of
4944 org-agenda-show-log'.
4945 (org-agenda-log-mode): Interpret a double prefix arg.
4947 2008-11-08 Carsten Dominik <carsten.dominik@gmail.com>
4949 * org-exp.el (org-export-html-footnotes-section): New variable.
4950 (org-export-as-html): Use `org-export-html-footnotes-section' to
4951 insert the footnotes.
4952 (org-export-language-setup): Add "Footnotes" to language words.
4954 2008-11-07 Carsten Dominik <carsten.dominik@gmail.com>
4956 * org.el (org-yank): Fix bug when not inserting a subtree.
4958 2008-11-06 Carsten Dominik <carsten.dominik@gmail.com>
4960 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
4961 instead of `vm-beginning-of-message'.
4963 * org.el (org-make-link-regexps): Make sure that links to gnus can
4966 2008-11-05 Carsten Dominik <carsten.dominik@gmail.com>
4968 * org-attach.el (org-attach-dir): Remove duplicate ID creation
4971 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
4974 * org.el (org-link-abbrev-alist): Improve customization type.
4976 * org-attach.el (org-attach-expand-link, org-attach-expand): New
4979 * org-agenda.el (org-agenda-get-progress): Renamed from
4980 `org-get-closed'. Implement searching for state changes as well.
4981 (org-agenda-log-mode-items): New option.
4982 (org-agenda-log-mode): New option prefix argument, interpreted as
4983 request to show all possible progress info.
4984 (org-agenda-get-day-entries): Call `org-get-progress' instead of
4986 (org-agenda-set-mode-name): Handle the more complex log mode
4988 (org-get-closed): New alias, pointing to `org-get-progress'.
4990 2008-11-05 Carsten Dominik <dominik@science.uva.nl>
4992 * org.el (org-file-apps-defaults-gnu)
4993 (org-file-apps-defaults-macosx)
4994 (org-file-apps-defaults-windowsnt): Add an entry defining the
4996 (org-file-apps): Allow `system' as key and value.
4997 (org-open-at-point): Explain the effect of a double prefix arg.
4998 (org-open-file): If the argument `in-emacs' is (16),
4999 i.e. corresponding to a double prefix argument, try to open the
5002 2008-11-04 Carsten Dominik <dominik@science.uva.nl>
5004 * org.el (org-insert-link): Abbreviate absolute files names in
5005 links. Also, fix a bug in which the double C-u prefix would not
5008 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
5010 * org.el (org-insert-heading): If buffer does not end with a
5011 newline, add one if necessary to insert headline correctly.
5013 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
5014 paragraphs, not inside.
5016 * org.el (org-todo): Quote
5017 `org-agenda-headline-snapshot-before-repeat'.
5019 * org-exp.el (org-export-as-html): Fully process link descriptions.
5020 (org-export-html-format-desc): New function.
5021 (org-export-as-html): Collect footnotes into the correct basket.
5022 (org-html-protect): No longer protect quotations marks here, this
5025 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
5028 * org-compat.el (org-fit-window-to-buffer): New function (not
5029 really, a preliminary and incomplete version was present earlier,
5032 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
5033 `org-fit-window-to-buffer'.
5035 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
5037 * org-agenda.el (org-agenda-get-restriction-and-command)
5038 (org-fit-agenda-window, org-agenda-convert-date): Use
5039 `org-fit-window-to-buffer'.
5041 * org-exp.el (org-export-as-html): Process href links through
5042 `org-export-html-format-href'.
5043 (org-export-html-format-href): New function.
5045 * org-agenda.el (org-agenda-todo): Update only the current
5046 headline if this is a repeated TODO, marked done for today.
5047 (org-agenda-change-all-lines): New argument JUST-THIS, to change
5048 only the current line.
5050 * org.el (org-todo): Take a snapshot of the headline if the
5051 repeater might change it.
5053 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
5055 * org-publish.el (org-publish-find-title): Remove buffers visited
5056 only for extracting the title.
5058 * org-exp.el (org-export-html-style)
5059 (org-export-html-style-default): Mark style definitions as
5062 * org-publish.el (org-publish-validate-link): Function
5065 2008-11-02 Charles Sebold <csebold@gmail.com>
5067 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
5069 (org-plot-quote-timestamp-field): New function.
5070 (org-plot-quote-tsv-field): Call timestamp field function when
5071 necessary rather than just quoting as a string.
5072 (org-plot/gnuplot-to-data): Pass in timefmt property.
5073 (org-plot/gnuplot-script): Supports timefmt property.
5074 (org-plot/gnuplot): Checks for timestamp column before checking
5075 for text index column.
5077 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
5079 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5081 * org-publish.el (org-publish-org-index): Create a section in the
5083 (org-publish-org-index): Stop linking to directories.
5085 * org.el (org-emphasis-alist): Use span instead of <u> to
5088 * org-exp.el (org-export-as-html): Make sure <p> is closed before
5091 2008-11-01 Sebastian Rose <sebastian_rose@gmx.de>
5093 * org-jsinfo.el (org-infojs-template): Remove language attribute
5096 2008-11-01 Carsten Dominik <dominik@science.uva.nl>
5098 * org-agenda.el (org-agenda-remove-marked-text): New function.
5099 (org-agenda-mark-filtered-text)
5100 (org-agenda-unmark-filtered-text): New functions.
5101 (org-write-agenda): Remove fltered text.
5103 * org.el (org-make-tags-matcher): Give access to TODO "property"
5104 without speed penalty.
5106 2008-10-29 Carsten Dominik <dominik@science.uva.nl>
5108 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5110 (org-store-link-props): Make sure adding to the plist works
5113 * org-gnus.el (org-gnus-no-new-news): New function.
5114 (org-gnus-follow-link): Allow the article ID to be a message-id,
5115 in addition to allowing article numbers. Message IDs make much
5117 (org-gnus-store-link): Use message-id to create link.
5119 2008-10-28 Carsten Dominik <dominik@science.uva.nl>
5121 * org.el (org-emphasize): Reverse the selection array.
5122 (org-emphasis-alist): Set <code> tags for the verbatim
5125 * org-remember.el (org-remember-handler): Fix bug with
5126 prefix-related changing of the note storage target.
5128 * org-exp.el (org-print-icalendar-entries): Make the exported
5129 priorities compatible with RFC 2445.
5131 * org-clock.el (org-clock-save): Insert time stamp without
5132 dependence on time-stamp.el.
5134 2008-10-27 Carsten Dominik <dominik@science.uva.nl>
5136 * org.el ("saveplace"): If saveplace puts point into an invisible
5137 location, make it visible.
5138 (org-make-tags-matcher): Allow inactive time stamps in time
5140 (org-yank-adjusted-subtrees): New option.
5141 (org-yank): Incorporate adjusting trees.
5142 (org-paste-subtree): New argument FOR-YANK which will cause
5143 insertion at point without backing up over white lines, and leave
5144 point at the end of the inserted text. Also if the cursor is
5145 at the beginning of a headline, use the same level or the inserted
5148 * org-publish.el (org-publish-get-base-files-1): Deal correctly
5149 with broken symlinks
5151 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
5153 * org-exp.el (org-export-select-tags, org-get-current-options):
5156 2008-10-25 Carsten Dominik <dominik@science.uva.nl>
5158 * org-agenda.el (org-format-agenda-item)
5159 (org-agenda-filter-make-matcher): Make sure tags are stored and
5162 2008-10-23 Carsten Dominik <dominik@science.uva.nl>
5164 * org.el (org-insert-todo-heading): Fix bug with force-heading
5167 2008-10-23 James TD Smith <ahktenzero@mohorovi.cc>
5169 * org-clock.el (org-clock-in-resume): Add a custom option to
5170 toggle starting the clock from an open clock line.
5171 (org-clock-in): When clocking in to an entry, if
5172 `org-clock-in-resume' is set, check if the first clock line is
5173 open and if so, start the clock from the time in the clock line.
5174 (org-clock-persist): Add a custom option to toggle clock
5176 (org-clock-persist-query-save): Add a custom option to toggle
5177 asking the user if they want to save the running clock when
5179 (org-clock-persist-query-resume): Add a custom option to toggle
5180 asking the user if they want to resume the saved clock when Emacs
5182 (org-clock-save): Add a function to save clock data.
5183 This includes the contents of `org-clock-history' and the buffer
5184 and position of the currently clocked task, if any.
5185 (org-clock-load): Add a function to load clock data.
5186 This populates `org-clock-history', and resumes the saved clocked
5187 task if there is one.
5188 (org-clock-persistence-insinuate): Add a method to set up the
5189 hooks for clock persistence.
5191 2008-10-22 Carsten Dominik <dominik@science.uva.nl>
5193 * org-exp.el (org-export-as-ascii): Handle the case that we are
5194 publishing from an indirect buffer.
5196 * org-table.el (org-table-copy-down): Fix bug with time stamp
5199 * org-mouse.el (org-mouse-features): New option.
5200 (org-mode-hook): Turn on features depending on
5201 `org-mouse-features'.
5203 * org.el (org-insert-heading-respect-content): Force heading
5205 (org-insert-heading): keep the folding state of the heading before
5208 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
5210 * org-archive.el (org-archive-to-archive-sibling): Handle top
5211 level headlines better.
5213 2008-10-21 Bastien Guerry <bzg@altern.org>
5215 * org-export-latex.el (org-export-latex-classes): Added
5216 \usepackage{graphicx} to the default list of packages.
5218 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
5220 * org-agenda.el (org-agenda-filter): Renamed from
5221 `org-agenda-filter-tags'.
5223 2008-10-20 Carsten Dominik <dominik@science.uva.nl>
5225 * org.el (org-entry-properties): Add CATEGORY property, iven if it
5226 is not defined as a property in this entry.
5227 (org-add-log-note): Mask prefix argument when immediately storing
5230 * org-agenda.el (org-agenda-filter-effort-default-operator): New
5233 2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
5235 * org.el (org-add-log-setup): Bugfix; code to find insertion point
5236 after drawers was skipping ahead one line too many, so notes were
5237 inserted after the first note instead of before it.
5239 2008-10-18 Carsten Dominik <dominik@science.uva.nl>
5241 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5243 (org-prepare-agenda): Reset the filter tags.
5244 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5245 Show filter tags in mode line.
5247 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5250 * org-export-latex.el (org-latex-entities-regexp): New constant.
5251 (org-export-as-pdf): Use two calls to `shell-command'.
5253 2008-10-17 Carsten Dominik <dominik@science.uva.nl>
5255 * org-export-latex.el (org-export-latex-treat-sub-super-char):
5256 Honor the {} value of the subsuperscript setting. Make sure that
5257 longer subsuperscripts are typeset in a roman font.
5259 * org.el (org-clock-update-time-maybe): Compute negative clock
5260 intervals correctly.
5262 2008-10-16 Carsten Dominik <dominik@science.uva.nl>
5264 * org.el (org-add-log-setup): Respect
5265 `org-log-state-notes-insert-after-drawers'.
5266 (org-log-state-notes-insert-after-drawers): New option.
5267 (org-todo-trigger-tag-changes): New function.
5268 (org-todo): Call `org-todo-trigger-tag-changes'.
5270 2008-10-15 James TD Smith <ahktenzero@mohorovi.cc>
5272 * org.el (org-add-log-setup): Only skip drawers if the are
5273 immediately after the scheduling keywords.
5275 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5277 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5278 call it with the current todo state to get the state to switch to
5280 (org-clock-in): Use org-indent-line-function to indent clock lines.
5281 (org-clock-find-position): Fix indentation of empty clock drawers.
5283 2008-10-15 Carsten Dominik <dominik@science.uva.nl>
5285 * org-publish.el (org-publish-org-to): Handle case when
5286 org-export-to-pdf does return a file name, not a buffer.
5287 (org-publish-org-to-pdf): New function.
5289 * org-export-latex.el (org-export-as-pdf)
5290 (org-export-as-pdf-and-open): New commands.
5292 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5295 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5296 things in protexted regions.
5298 2008-10-14 Carsten Dominik <dominik@science.uva.nl>
5300 * org-export-latex.el (org-export-latex-preprocess): Improve
5301 quoting of LaTeX environments.
5303 2008-10-10 Carsten Dominik <dominik@science.uva.nl>
5305 * org.el (org-edit-fixed-width-region): Exclude final newline from
5308 * org-export-latex.el (org-export-latex-subcontent): Add labels to
5309 sections, to make internal links work.
5310 (org-export-latex-fontify-headline): Do not remove all text
5311 properties, to make sure that target properties survive this
5314 * org-exp.el (org-export-preprocess-string): Change sequence of
5315 modifications, to make sure links are prepared before the LaTeX
5316 conversions do happen.
5318 2008-10-09 Carsten Dominik <dominik@science.uva.nl>
5320 * org-attach.el (org-attach-delete-all): Renamed from
5321 `org-attch-delete'. Add a security query before deleting the
5322 entire directory. New optional argument FORCE can overrule the
5324 (org-attach-delete-one): New command.
5326 2008-10-08 Carsten Dominik <dominik@science.uva.nl>
5328 * org-attach.el (org-attach-file-list): Fix bug with directory.
5330 2008-10-07 Carsten Dominik <dominik@science.uva.nl>
5332 * org.el (org-apps-regexp-alist): New function.
5333 (org-file-apps): Add auto-mode to the default value.
5334 (org-open-file): Use the new structure of org-file-apps.
5336 * org-attach.el (org-attach): Support the new keys.
5337 (org-attach-method): New option.
5339 2008-10-06 Carsten Dominik <dominik@science.uva.nl>
5341 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5344 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5345 of the list value o `org-use-tag-inheritance'.
5347 * org-attach.el (org-attach-auto-tag): New option.
5348 (org-attach-tag, org-attach-untag): New functions.
5349 (org-attach-attach, org-attach-new, org-attach-sync): Call
5351 (org-attach-delete): Call `org-attach-untag'.
5353 2008-10-04 Carsten Dominik <dominik@science.uva.nl>
5355 * org-table.el (orgtbl-self-insert-command): Make this work for
5358 2008-10-02 Carsten Dominik <dominik@science.uva.nl>
5360 * org.el (org-add-log-setup): Limit searc for drawers to entry
5361 text, not to subtree.
5363 * org-clock.el (org-clock-heading-for-remember): New variable.
5364 (org-clock-in): Set `org-clock-heading-for-remember'.
5366 2008-10-01 James TD Smith <ahktenzero@mohorovi.cc>
5368 * org-remember.el (org-remember-apply-template): Add new
5369 expansions: %k, %K for currently clocked task and a link to the
5370 currently clocked task, and %< to file notes in the currently
5373 2008-10-01 Carsten Dominik <dominik@science.uva.nl>
5375 * org-export-latex.el (org-export-latex-make-header): Also insert
5376 the content of the property :latex-header-extra.
5378 * org-exp.el (org-infile-export-plist): Put the content of
5379 #+LATEX_HEADER: into the property :latex-header-extra.
5381 * org-colview.el (org-columns-get-format-and-top-level): Remove
5382 resetting the marker.
5384 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5385 Remove resetting the marker.
5387 * org.el (org-entry-property-inherited-from): Improve docstring.
5388 (org-entry-get-with-inheritance): Reset marker before starting the
5391 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5393 2008-09-30 Carsten Dominik <dominik@science.uva.nl>
5395 * org.el (org-entry-get-multivalued-property)
5396 (org-entry-protect-space, org-entry-restore-space): New
5398 (org-file-apps-defaults-macosx): Let postscript files be opened by
5400 (org-time-stamp-inactive): Call `org-time-stamp'.
5401 (org-time-stamp): New argument `inactive'. Also edit inacive
5402 stamps. Convert time stamp type.
5403 (org-open-file): Interpret the `default' value for the `command'
5406 * org-id.el (org-id-int-to-b36-one-digit)
5407 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5408 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
5411 2008-09-29 Carsten Dominik <dominik@science.uva.nl>
5413 * org-id.el (org-id-reverse-string): New function.
5414 (org-id-new): Use `org-id-reverse-string' to make sure the
5415 beginning chars of the ID are mutating fast. This allows to use a
5416 directory structure to spread things better.
5417 (org-id-prefix): Changed default to nil.
5419 * org-list.el (org-move-item-down, org-move-item-up): Remember and
5420 restore the column of the cursor position.
5422 * org-remember.el (org-remember-apply-template): Remove properties
5425 2008-09-27 Carsten Dominik <dominik@science.uva.nl>
5427 * org-wl.el (org-wl-open): Remove useless call to
5428 `wl-thread-open-all'.
5430 * org-remember.el (org-remember-handler): Fix bug with `bottom'
5433 2008-09-26 Carsten Dominik <dominik@science.uva.nl>
5435 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5436 `org-bbdb-anniversaries'.
5438 * org.el (org-get-next-sibling, org-forward-same-level): New
5439 functions, similar to the outline versions, but invisible headings
5442 2008-09-25 Bastien Guerry <bzg@altern.org>
5444 * org.el (org-auto-repeat-maybe): Insert a space between
5445 the timestamp's type and the timestamp itself.
5447 2008-09-24 Carsten Dominik <dominik@science.uva.nl>
5449 * org-table.el (org-table-sum): Do not format the result with %g,
5450 it does rounding when there are too many digits.
5452 * org.el (org-map-entries): Protect the keyword-selecting variables.
5454 2008-09-23 Bastien Guerry <bzg@altern.org>
5456 * org-agenda.el (org-agenda-to-appt): Make sure the function check
5457 against all agenda files.
5459 2008-09-23 Carsten Dominik <dominik@science.uva.nl>
5461 * org-list.el: New file, aggregating list functions from org.el
5462 and org-export-latex.el.
5464 * org.el (org-edit-src-region-extra): New option.
5466 2008-09-22 Carsten Dominik <dominik@science.uva.nl>
5468 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5471 2008-09-22 Bastien Guerry <bzg@altern.org>
5473 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5475 2008-09-22 James TD Smith <ahktenzero@mohorovi.cc>
5477 * org-plot.el (org-plot/gnuplot): Make tables starting with a
5478 hline work correctly.
5479 (org-plot/gnuplot-script): Put commas at the end of each script
5482 2008-09-20 James TD Smith <ahktenzero@mohorovi.cc>
5484 * org.el (org-get-refile-targets): Replace links with their
5486 (org-imenu-get-tree): Replace links with their descriptions.
5488 * org-remember.el (org-remember-apply-template): Add a new
5489 expansion for adding properties to remember items.
5491 * org.el (org-add-log-setup): Skip over drawers (properties,
5492 clocks etc) when adding notes.
5494 * org-agenda.el (org-agenda-get-closed): show durations of clocked
5495 items as well as the start and end times.
5497 * org-compat.el (org-get-x-clipboard-compat): Add a compat
5498 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
5500 * org-remember.el (org-get-x-clipboard): Use the compat
5501 function to get clipboard values when x-selection-value is
5502 unavailable. Use substring-no-properties instead of
5503 set-text-properties to remove text properties from the clipboard
5506 * lisp/org-clock.el (org-update-mode-line): Support limiting the
5507 modeline clock string, and display the full todo value in the
5508 tooltip. Set a local keymap so mouse-3 on the clock string goes to
5509 the currently clocked task.
5510 (org-clock-string-limit): Add a custom value for the maximum
5511 length of the clock string in the modeline.
5512 (org-clock-mode-map): Add a keymap for the modeline string
5514 2008-09-21 Carsten Dominik <dominik@science.uva.nl>
5516 * org-compat.el (org-propertize): New function.
5518 2008-09-20 Bastien Guerry <bzg@altern.org>
5520 * org-export-latex.el (org-export-latex-tables): protect exported
5521 tables from further special chars conversion.
5522 (org-export-latex-preprocess): Preserve LaTeX environments.
5523 (org-list-parse-list): Parse descriptive lists.
5524 (org-list-to-generic, org-list-to-latex, org-list-to-html)
5525 (org-list-to-texinfo): Export descriptive lists.
5526 (org-quote-chars): Remove.
5527 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
5528 (org-export-latex-list-beginning-re): Rename to
5529 `org-list-beginning-re'
5530 (org-list-item-begin): Rename to `org-list-item-beginning'
5532 2008-09-20 Carsten Dominik <dominik@science.uva.nl>
5534 * org.el (org-refile): Allow refiling to the last entry in the
5536 (org-get-tags-at): Fix bug when inheritance is turned off.
5538 2008-09-19 Carsten Dominik <dominik@science.uva.nl>
5540 * org.el (org-indent-line-function): No longer check for src
5541 regions, this is too much overhead.
5543 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
5546 * org.el (org-scan-tags): Make sure that tags matching is not case
5547 sensitive. TODO keyword matching is case sensitive, however, to
5548 avoid confusion with similar words that are not meant to be
5551 2008-09-18 Carsten Dominik <dominik@science.uva.nl>
5553 * org.el (org-get-local-tags-at): New function.
5554 (org-get-local-tags): New function.
5556 * org-exp.el (org-export-get-categories): New function.
5558 * org-agenda.el (org-sorting-choice)
5559 (org-agenda-sorting-strategy, org-agenda-get-todos)
5560 (org-agenda-get-timestamps, org-agenda-get-deadlines)
5561 (org-agenda-get-scheduled, org-agenda-get-blocks)
5562 (org-entries-lessp): Implement sorting by TODO state.
5563 (org-cmp-todo-state): New defsubst.
5565 * org-colview.el (org-colview-construct-allowed-dates): New
5567 (org-columns-next-allowed-value): Use
5568 `org-colview-construct-allowed-dates'.
5570 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
5572 (org-columns-next-allowed-value): Use
5573 `org-colview-construct-allowed-dates'.
5575 2008-09-17 Carsten Dominik <dominik@science.uva.nl>
5577 * org.el (org-protect-slash): New function.
5578 (org-get-refile-targets): Use `org-protect-slash'.
5580 * org-agenda.el (org-global-tags-completion-table): New variable.
5582 * org-exp.el (org-export-handle-export-tags): New function.
5583 (org-export-preprocess-string): Call
5584 `org-export-handle-export-tags'.
5586 * org-plot.el: New file.
5588 * org-publish.el (org-publish-expand-components): Function removed.
5589 (org-publish-expand-projects): Allow components to have components.
5591 2008-09-13 Carsten Dominik <dominik@science.uva.nl>
5593 * org.el (org-indent-line-function): Do not indent in regions that
5594 are external source code.
5595 (org-yank-and-fold-if-subtree): New function.
5597 * org-agenda.el (org-agenda-todayp): New function.
5598 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
5599 `org-agenda-todayp'.
5601 * org.el (org-insert-heading-respect-content)
5602 (org-insert-todo-heading-respect-content): New commands.
5603 (org-insert-heading-respect-content): New option.
5604 (org-insert-heading): Respect `org-insert-heading-respect-content'.
5606 * org-clock.el (org-clock-find-position): Make sure the note after
5607 the clock line gets moved into the new clock drawer.
5609 2008-09-11 Carsten Dominik <dominik@science.uva.nl>
5611 * org-id.el (org-id-new): New option.
5613 2008-09-08 Carsten Dominik <dominik@science.uva.nl>
5615 * org-table.el (org-table-copy-down): Avoid overflow during
5616 increment. Use prefix argument 0 to temporarily disable the
5619 2008-09-07 Carsten Dominik <dominik@science.uva.nl>
5621 * org-exp.el (org-export-as-html): Do not turn on the major mode
5622 if the buffer will be killed anyway.
5623 (org-get-current-options): Exclude the #+TEXT field.
5624 (org-export-as-html): Make sure text before the first headline is
5627 * org-publish.el (org-publish-org-to): Tell the exporter that this
5628 buffer will be killed, so it is not necessary to do major mode
5631 * org-archive.el (org-archive-to-archive-sibling): Show empty
5632 lines after folding the archive sibling.
5634 * org.el (org-log-note-extra): New variable.
5636 2008-09-05 Bastien Guerry <bzg@altern.org>
5638 * org.el (org-additional-option-like-keywords): Added keywords for
5639 the _QUOTE, _VERSE and _SRC environments.
5641 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
5642 exporting _QUOTE and _VERSE environments.
5644 2008-09-05 Carsten Dominik <dominik@science.uva.nl>
5646 * org-agenda.el (org-agenda-filter-by-tag): New command.
5648 * org-exp.el (org-get-current-options): Remove angular brackets
5649 from the date entry.
5651 * org.el (org-edit-fixed-width-region): New function.
5652 (org-edit-fixed-width-region): Also try
5653 `org-edit-fixed-width-region'.
5654 (org-edit-fixed-width-region-mode): New option.
5655 (org-activate-code): Only interprete lines starting with colon
5656 plus a space as example lines.
5658 * org-remember.el (org-remember-templates): Add nil instead of
5659 empty strings to fix the length of remember templates.
5661 * org-table.el (org-calc-default-modes): Fix the time format for
5662 calc, from 12 hour to 24 hour clock.
5664 2008-09-04 Carsten Dominik <dominik@science.uva.nl>
5666 * org-agenda.el (org-agenda-get-deadlines)
5667 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
5668 entries that are pre-warnings of deadlines or reminders.
5670 * org.el (org-sort-entries-or-items): Make numeric and alpha
5671 comparisons ignore any TODO keyword and priority cookie.
5673 * org-remember.el (org-remember-handler): Reinterpretation of the
5676 2008-09-03 Carsten Dominik <dominik@science.uva.nl>
5678 * org-agenda.el (org-agenda-get-scheduled): Use new
5679 `org-scheduled' face.
5681 * org-faces.el (org-scheduled): New face.
5683 * org-wl.el (org-wl-open): Remove incorrect declaration.
5685 * org-gnus.el (org-gnus-store-link): Support for :to information
5688 * org-exp.el (org-export-as-html): Fixed typo in creator
5690 (org-export-protect-examples): New parameter indent. Insert extra
5691 spaces only when this parameter is specified.
5692 (org-export-preprocess-string): Call `org-export-protect-examples'
5693 with an indentation parameter when exporting to ASCII.
5695 * org-remember.el (org-remember-templates)
5696 (org-remember-apply-template): Allow the file component to be a
5699 * org.el (org-goto-local-search-headings): Renamed from
5700 `org-goto-local-search-forward-headings'. Added the possibility
5701 to search backwards.
5703 2008-09-02 Carsten Dominik <dominik@science.uva.nl>
5705 * org-export-latex.el (org-export-latex): New customization
5708 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
5710 2008-09-01 Carsten Dominik <dominik@science.uva.nl>
5712 * org-exp.el (org-html-do-expand): Allow {} to terminate
5715 2008-07-29 Carsten Dominik <dominik@science.uva.nl>
5717 * org.el (org-buffer-list): Select buffers based on major mode,
5720 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
5722 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
5725 * org-colview.el (org-columns-display-here): Use
5726 `org-columns-modify-value-for-display-function'.
5728 * org-colview-xemacs.el (org-columns-display-here): Use
5729 `org-columns-modify-value-for-display-function'.
5731 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
5733 * org.el (org-columns-modify-value-for-display-function): New option.
5745 * org-publish.el (org-publish-file): Make sure the directory match
5746 for the publishing directory works correctly.
5748 * org-agenda.el (org-agenda-execute-calendar-command)
5749 (org-agenda-diary-entry): Additional optional argument.
5751 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
5753 * org-exp.el (org-export-as-html): Add attributes also in mailto
5756 * org.el (org-autoload): Add `org-dblock-write:columnview'.
5765 2008-07-23 Carsten Dominik <dominik@science.uva.nl>
5767 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
5768 sure that calls from `org-export-region-as-html' do not do the
5769 special check for a subtree.
5771 2008-07-22 Carsten Dominik <dominik@science.uva.nl>
5773 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
5775 2008-07-20 Juri Linkov <juri@jurta.org>
5777 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
5778 new keymap `narrow-map' instead of binding "\C-xns".
5780 2008-07-18 Carsten Dominik <dominik@science.uva.nl>
5782 * org.el (org-open-file): Use
5783 `org-open-directory-means-index-dot-org'.
5784 (org-open-directory-means-index-dot-org): New option.
5786 2008-07-17 Carsten Dominik <dominik@science.uva.nl>
5788 * org.el (org-make-link-string): Remove link attributes from
5790 (org-open-at-point): Remove link attributes bevore using the path.
5792 * org-exp.el (org-export-as-html): Handle link attributes.
5794 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
5796 * org-table.el (org-table-to-lisp): New function.
5798 * org.el (org-narrow-to-subtree): Do not include the final newline
5799 into the narrowed region.
5801 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
5802 bug with user-define skipping condition.
5804 2008-07-16 Carsten Dominik <dominik@science.uva.nl>
5806 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
5808 2008-07-14 Carsten Dominik <dominik@science.uva.nl>
5810 * org-exp.el (org-export-html-style-default): Automatic overflow
5811 handling for pre fields.
5812 (org-export-as-ascii, org-export-as-html): Change default format
5815 * org-table.el (org-table-export): Offer completion for translator
5816 functions, and do not require a heading above the table.
5818 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
5819 Cater for the case of a list starting in the first line of the
5822 2008-07-09 Carsten Dominik <dominik@science.uva.nl>
5824 * org-publish.el (org-publish-find-title): Bug fix.
5825 (org-publish-org-index): Implement new :index-style option.
5827 2008-07-07 Carsten Dominik <dominik@science.uva.nl>
5829 * org-publish.el (org-publish-timestamp-filename): Use
5830 SHA1-encoded file names in the timestamp directory.
5832 2008-07-05 Carsten Dominik <dominik@science.uva.nl>
5834 * org-publish.el (org-publish-needed-p): Be verbose about files
5835 published and files skipped.
5837 * org-exp.el (org-export-preprocess-string): Swap link
5838 normalization and inernal link targeting.
5840 * org-publish.el (org-publish-needed-p): Create timestamp
5841 directory when it does not exist.
5843 2008-07-04 Bastien Guerry <bzg@altern.org>
5845 * org-clock.el (org-clock-out-when-done): Doc fix.
5847 * org.el (org-agenda-skip-unavailable-files): Doc fix.
5849 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
5850 Ignore case when searching for the COMMENT cookie at export time.
5852 2008-07-02 Carsten Dominik <dominik@science.uva.nl>
5854 * org-exp.el (org-get-file-contents)
5855 (org-get-and-remove-property): New functions.
5856 (org-export-handle-include-files): Handle the new prefix options.
5857 (org-export-as-html): Fix the verse environment.
5859 2008-07-01 Carsten Dominik <dominik@science.uva.nl>
5861 * org.el (org-time=, org-time<, org-time<=, org-time>)
5862 (org-time>=, org-time<>, org-2ft): New functions.
5863 (org-op-to-function): Also provide for the time testing fucntions.
5865 2008-06-30 Carsten Dominik <dominik@science.uva.nl>
5867 * org-exp.el (org-export-html-style-default): New constant.
5869 2008-06-29 Carsten Dominik <dominik@science.uva.nl>
5871 * org-exp.el (org-export-html-style-extra): New variable.
5872 (org-export-splice-style): New function.
5874 2008-06-26 Carsten Dominik <dominik@science.uva.nl>
5876 * org-exp.el (org-export-plist-vars, org-export-as-html):
5877 Implement `org-export-creator-info'.
5878 (org-export-creator-info): New option.
5880 2008-06-25 Carsten Dominik <dominik@science.uva.nl>
5882 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
5883 (org-property-drawer-re, org-clock-drawer-re): New constants.
5885 2008-06-23 Carsten Dominik <dominik@science.uva.nl>
5887 * org-exp.el (org-icalendar-use-deadline)
5888 (org-icalendar-use-scheduled): New options.
5889 (org-icalendar-include-todo): Default changed to t.
5890 (org-print-icalendar-entries): Implement better utilization of
5891 scheduling and deadline time stamps.
5892 (org-export-target-internal-links, org-export-as-html): Allow file
5893 lines without the "file:" prefix if the file path is an absolute
5894 path or starts with ".".
5896 * org-clock.el (org-clocktable-shift): Also undertand yesterday,
5898 (org-clock-special-range): Also undertand yesterday, lastweek etc.
5900 2008-06-18 Glenn Morris <rgm@gnu.org>
5901 * org.el (org-map-entries): Let-bind `file'.
5903 2008-06-19 Carsten Dominik <dominik@science.uva.nl>
5905 * org.el (org-agenda-skip-archived-trees): Docstring now
5906 discourages using this.
5907 (org-scan-tags): Check for org-agenda-archives-mode.
5908 (org-map-entries): Make sure org-agenda-archives-mode is nil.
5909 (org-agenda-files): Functionality of second arg changed.
5911 * org-agenda.el (org-agenda-archives-mode): New variable
5912 (org-write-agenda, org-prepare-agenda, org-agenda-list)
5913 (org-search-view, org-todo-list, org-tags-view)
5914 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
5916 (org-agenda-quit): Reset the archives mode.
5917 (org-agenda-archives-mode): New command.
5918 (org-agenda-set-mode-name): Include archives info.
5920 2008-06-18 Carsten Dominik <dominik@science.uva.nl>
5922 * org.el (org-paste-subtree): Make sure the yanked headline is
5923 visible if it was yanked at a visible point.
5924 (org-move-item-up): Fix the bug with moving white space at the end
5926 (org-show-empty-lines-in-parent): New function.
5928 2008-06-16 Carsten Dominik <dominik@science.uva.nl>
5930 * org-colview.el (org-columns-next-allowed-value): Bug fix.
5932 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
5934 * org-agenda.el (org-agenda-get-closed): Get the end time into the
5935 agenda prefix as well.
5937 * org-publish.el (org-publish-org-index): Make a properly indented
5940 * org.el (org-calendar-agenda-action-key): New option.
5941 (org-get-cursor-date): New function.
5942 (org-mark-entry-for-agenda-action): New command.
5943 (org-overriding-default-time): New variable.
5944 (org-read-date): Respect `org-overriding-default-time'.
5946 * org-remember.el (org-remember-apply-template): Respect the
5947 ovverriding default time.
5949 * org-agenda.el (org-agenda-action-marker): New variable.
5950 (org-agenda-action): New command.
5951 (org-agenda-do-action): New function.
5953 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
5955 * org.el (org-schedule, org-deadline): Protect scheduled and
5956 deadline tasks against changes that accidently remove the
5957 repeater. Also show a message with the new date when done.
5959 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
5961 * org.el (org-beginning-of-line): Cater for the case when there
5962 are tags but no headline text.
5963 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
5966 2008-06-13 Carsten Dominik <dominik@science.uva.nl>
5968 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
5969 the return value is nil instead of "nil" when there is no match.
5971 * org-exp.el (org-insert-centered): Use fill-column instead of
5973 (org-export-as-ascii): Use string-width to measure the width of
5976 * org.el (org-diary-to-ical-string): No longer kill buffer
5977 FROMBUF, this is now done by the caller.
5979 * org-exp.el (org-print-icalendar-entries): Move the call to
5980 `org-diary-to-ical-string' out of the loop, and kill the buffer
5983 * org-remember.el (org-remember-visit-immediately): Position
5984 cursor after moving to the note.
5985 (org-remember-apply-template): Use a text property to record the
5987 (org-remember-handler): Align tags after pasting the note.
5989 2008-06-12 Carsten Dominik <dominik@science.uva.nl>
5991 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
5993 * org-agenda.el (org-agenda-open-link): If there is an
5994 org-bbdb-name property in the current line, jump to that bbdb
5997 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
5998 text property, so that the agenda knows where this entry comes
6001 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
6002 interaction between clocking-in from the agenda, and automatic
6003 task state switching.
6005 * org-macs.el (org-with-point-at): Bug fix in macro defintion.
6007 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
6008 zmacs-region stays after this command in XEmacs.
6010 2008-06-11 Carsten Dominik <dominik@science.uva.nl>
6012 * org.el (org-scan-tags): Allow new values for ACTION parameter.
6014 * org-remember.el (org-remember-templates): Fix bug in
6015 customization type definition.
6017 * org.el (org-map-entries): New function.
6019 2008-06-11 verhuur82 <verhuur82@macbook-van-verhuur82.local>
6021 * org-agenda.el (org-agenda-skip-comment-trees): New option.
6022 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
6024 2008-06-10 Carsten Dominik <dominik@science.uva.nl>
6026 * org-remember.el (org-jump-to-target-location): New variable.
6027 (org-remember-apply-template): Set
6028 `org-remember-apply-template' if requested by template.
6029 (org-remember-handler): Start an idle timer to jump to
6032 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
6034 * org.el (org-set-regexps-and-options): Fix bug with parsing of
6036 (org-get-tags-at): Add the content of `org-file-tags'.
6038 * org-exp.el (org-export-handle-comments): Fix bug with several
6039 comment lines after each other.
6040 (org-number-to-roman, org-number-to-counter): New functions.
6041 (org-export-section-number-format): New option.
6043 2008-06-09 Carsten Dominik <dominik@science.uva.nl>
6045 * org-exp.el (org-export-protect-examples): Catch the case of a
6046 missing end_example line.
6048 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
6049 `org-file-tags' to nil.
6051 * org-colview.el (org-columns-next-allowed-value): Handle next
6052 argument NTH to directly select a value.
6054 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
6055 argument NTH to directly select a value.
6057 2008-06-08 Carsten Dominik <dominik@science.uva.nl>
6059 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
6061 2008-05-30 Carsten Dominik <dominik@science.uva.nl>
6063 * org.el (org-columns-ellipses): New option.
6065 2008-05-29 Carsten Dominik <dominik@science.uva.nl>
6067 * org-colview.el (org-columns-add-ellipses): New function.
6068 (org-columns-compact-links): New function.
6069 (org-columns-cleanup-item): Call `org-columns-compact-links'.
6070 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
6072 (org-columns-edit-value): Fixed bug with editing values from
6074 (org-columns-redo): Also redo the agenda itself.
6076 2008-05-28 Carsten Dominik <dominik@science.uva.nl>
6078 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
6081 * org-colview.el (org-agenda-columns-cleanup-item): New function.
6083 * org-exp.el (org-export-ascii-preprocess): Renamed from
6084 `org-export-ascii-clean-string'.
6085 (org-export-kill-licensed-text)
6086 (org-export-define-heading-targets)
6087 (org-export-handle-invisible-targets)
6088 (org-export-target-internal-links)
6089 (org-export-remove-or-extract-drawers)
6090 (org-export-remove-archived-trees)
6091 (org-export-protect-quoted-subtrees)
6092 (org-export-protect-verbatim, org-export-protect-examples)
6093 (org-export-select-backend-specific-text)
6094 (org-export-mark-blockquote-and-verse)
6095 (org-export-remove-comment-blocks-and-subtrees)
6096 (org-export-handle-comments, org-export-mark-radio-links)
6097 (org-export-remove-special-table-lines)
6098 (org-export-normalize-links)
6099 (org-export-concatenate-multiline-links)
6100 (org-export-concatenate-multiline-emphasis): New functions,
6101 obtained from spliiting the export preprocessor.
6103 * org-table.el (org-table-recalculate): Improve error message if
6104 the row number is invalid.
6106 2008-05-27 Carsten Dominik <dominik@science.uva.nl>
6108 * org-archive.el (org-archive-save-context-info): Fix bugs in
6109 customization setup and docstring.
6111 * org-exp.el (org-export-html-style): Changed the size of in the
6112 <pre> element to 90%.
6114 2008-05-26 Carsten Dominik <dominik@science.uva.nl>
6116 * org.el (org-find-src-example-start): Function removed.
6117 (org-edit-src-find-region-and-lang): New function.
6119 2008-05-25 Carsten Dominik <dominik@science.uva.nl>
6121 * org.el (org-edit-src-exit): New function.
6122 (org-exit-edit-mode): New minor mode.
6124 * org-exp.el (org-export-preprocess-string): Fix bug with removing
6125 comment-like lines from protected examples.
6127 * org.el (org-edit-src-example, org-find-src-example-start)
6128 (org-protect-source-example, org-edit-special): New functions.
6130 2008-05-24 Carsten Dominik <dominik@science.uva.nl>
6132 * org-publish.el (org-publish-project-alist): Fix typo in
6134 (org-publish-project-alist): Handle :index-title property.
6136 2008-05-21 Carsten Dominik <dominik@science.uva.nl>
6138 * org-export-latex.el (org-export-as-latex): Make sure region
6139 bounds are correct. Parse subtree properties relating to export.
6141 * org-exp.el (org-export-add-options-to-plist): New function.
6142 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6144 2008-05-20 Carsten Dominik <dominik@science.uva.nl>
6146 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6149 * org-exp.el (org-export-get-title-from-subtree)
6150 (org-export-as-ascii, org-export-as-html): Make sure the original
6151 region-beginning and region-end are used, even after moving
6153 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6156 * org-remember.el (org-remember-last-stored-marker): New variable.
6157 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6158 (org-remember-handler): Also use marker to remember
6159 last-stored position.
6161 * org.el (org-goto-marker-or-bmk): New function.
6163 2008-05-19 Carsten Dominik <dominik@science.uva.nl>
6165 * org.el (org-file-properties): Renamed from `org-local-properties'.
6166 (org-scan-tags): Take file tags into account.
6167 (org-tags-match-list-sublevels): Default changed to t.
6169 * org-exp.el (org-export-as-html): Close paragraph after a
6172 * org.el (org-update-parent-todo-statistics): New function.
6174 * org-exp.el (org-icalendar-store-UID): New option.
6175 (org-icalendar-force-UID): Option removed.
6176 (org-print-icalendar-entries): IMplement UIDs.
6178 2008-05-18 Carsten Dominik <dominik@science.uva.nl>
6180 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6182 2008-05-16 Carsten Dominik <dominik@science.uva.nl>
6184 * org-faces.el (org-column): Document how this face is being used
6185 and why sometimes the background faces shine through.
6187 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6189 * org-publish.el (org-publish-attachment): Create publishing
6190 directory if it does not yet exist.
6192 * org-table.el (org-calc-default-modes): Change default number
6193 format to (float 8).
6195 * org.el (org-olpath-completing-read): New function.
6196 (org-time-clocksum-format): New option.
6197 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6199 * org-clock.el (org-clock-display, org-clock-out)
6200 (org-update-mode-line): Use `org-time-clocksum-format'.
6202 * org-colview-xemacs.el (org-columns-number-to-string): Use
6203 `org-time-clocksum-format'.
6205 * org-colview.el (org-columns-number-to-string): Use
6206 `org-time-clocksum-format'.
6208 2008-05-15 Carsten Dominik <dominik@science.uva.nl>
6210 * org-id.el: New file, move from contrib to core.
6212 * org-exp.el (org-icalendar-force-UID): New option.
6214 2008-05-14 Carsten Dominik <dominik@science.uva.nl>
6216 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6217 shifted by one day if theere is a date range without an end
6220 * org.el (org-try-structure-completion): New function.
6222 2008-05-13 Carsten Dominik <dominik@science.uva.nl>
6224 * org.el (org-set-font-lock-defaults): Improve fontification of
6226 (org-insert-item): Handle description lists.
6227 (org-adaptive-fill-function): Improve auto indentation in
6230 * org-exp.el (org-export-as-html, org-export-preprocess-string):
6231 Implement VERSE environment.
6232 (org-export-preprocess-string): Implement the COMMENT
6235 * org-export-latex.el (org-export-latex-preprocess): Implement
6238 2008-05-12 Carsten Dominik <dominik@science.uva.nl>
6240 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6243 2008-05-10 Carsten Dominik <dominik@science.uva.nl>
6245 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6247 * org.el (org-quote-csv-field): New functions.
6249 * org-table.el (org-table-export-default-format): Remove :splice
6250 from default format, we get the same effect by not specifying
6252 (org-table-export): Improve setup, distinguish better between
6253 interactive and non-interactive use, allow specifying the format
6254 on the fly, better protection against wrong file names.
6255 (orgtbl-to-generic): Fix documentation. Do not require :tstart
6256 and :tend when :splice is omitted.
6258 2008-05-09 Bernt Hansen <bernt@norang.ca>
6260 * org-clock.el (org-clock-select-task): Make sure the selection
6261 letters are 1-9 and A-Z, no special characters.
6263 2008-05-09 Carsten Dominik <dominik@science.uva.nl>
6265 * org-exp.el (org-export-htmlize): New group.
6266 (org-export-htmlize-output-type)
6267 (org-export-htmlize-css-font-prefix): New options.
6268 (org-export-htmlize-region-for-paste): New function.
6269 (org-export-htmlize-generate-css): New command.
6271 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
6273 * org/org.el (org-modules, org-format-latex-options):
6274 * org/org-archive.el (org-archive-stamp-time)
6275 (org-archive-save-context-info):
6276 * org/org-faces.el (org-hide):
6277 * org/org-irc.el (org-irc-parse-link):
6278 * org/org-macs.el (org-call-with-arg, org-autoload):
6279 * org/org-mew.el (org-mew-store-link):
6280 * org/org-remember.el (org-remember-store-without-prompt)
6281 (org-remember-templates): Fix typos in docstrings.
6283 * org/org-info.el (org-info-store-link): Remove leftover docstring.
6285 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
6286 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
6287 (org-bbdb-anniv-split): Fix typos in docstrings.
6289 * org/org-publish.el (org-publish-project-alist): Doc fixes.
6290 (org-publish-use-timestamps-flag): Reflow docstring.
6291 (org-publish-files-alist): Fix typos in docstring.
6293 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
6295 * org.el (org-set-visibility-according-to-property): New function.
6296 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6297 and compute the regular expressions, and update font-lock.
6298 (org-property-re): Allow a dash in property names.
6300 * org-archive.el (org-extract-archive-file): Insert the file name
6301 without the path into the format, to allow the location format to
6302 contain a subdirectory.
6304 * org-agenda.el (org-agenda-post-command-hook): If point is at end
6305 of buffer, and the `org-agenda-type' property undefined, use the
6306 value from the character before.
6308 * org.el (org-add-planning-info): Don't let indentation for
6309 would-be timestamp become extra whitespace at the end of headline.
6311 2008-05-07 Carsten Dominik <dominik@science.uva.nl>
6313 * org.el (org-remove-double-quotes, org-file-contents): New
6316 * org-exp.el (org-infile-export-plist): Also parse the
6317 contents of #+SETUPFILE files, recursively.
6319 * org.el (org-set-regexps-and-options): Also parse the
6320 contents of #+SETUPFILE files, recursively.
6322 * org-exp.el (org-export-handle-include-files): New function.
6323 (org-export-preprocess-string): Call
6324 `org-export-handle-include-files'.
6326 * org.el (org-delete-property-globally)
6327 (org-delete-property, org-set-property): Ignore case during
6329 (org-set-property): Use `org-completing-read' instead of
6332 * org.el (org-complete-expand-structure-template): New,
6333 experimental function.
6334 (org-structure-template-alist): New, experimental option.
6335 (org-complete): Call `org-complete-expand-structure-template'.
6337 2008-05-06 Bastien Guerry <bzg@altern.org>
6339 * org-export-latex.el (org-export-latex-preprocess): Added
6340 support for blockquotes.
6342 2008-05-05 Carsten Dominik <dominik@science.uva.nl>
6344 * org.el (org-read-date-analyze): Catch the case where only a
6347 2008-05-04 Carsten Dominik <dominik@science.uva.nl>
6349 * org.el (org-set-font-lock-defaults): Make the description
6352 * org-exp.el (org-export-as-html, org-close-li): Implement
6355 2008-05-04 Jason Riedy <jason@acm.org>
6357 * org-table.el (*orgtbl-default-fmt*): New variable.
6358 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6359 when there is no other fmt available.
6361 (orgtbl-to-generic): Allow an explicitly nil :tstart or
6362 :tend to suppress the appropriate string.
6364 (orgtbl-to-orgtbl): New function for translating to another orgtbl
6367 2008-05-02 Carsten Dominik <dominik@science.uva.nl>
6369 * org.el (org-read-date-analyze): "." as an alias for "+0" in
6372 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6375 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6378 2008-05-01 Carsten Dominik <dominik@science.uva.nl>
6380 * org-clock.el (org-clock-find-position): Don't include notes
6383 * org-archive.el (org-archive-subtree): No longer remove an
6384 extra line after cutting the subtree. `org-cut-subtree' already
6387 * org-remember.el (org-remember-handler): Only kill the target
6388 buffer if it does not contain the running clock.
6390 * org.el (org-markers-to-move): New variable.
6391 (org-save-markers-in-region, org-check-and-save-marker)
6392 (org-reinstall-markers-in-region): New function.
6393 (org-move-subtree-down, org-copy-subtree): Remember relative
6394 marker positions before cutting.
6395 (org-move-subtree-down, org-paste-subtree): Restore relative
6396 marker positions after pasting.
6398 * org-remember.el (org-remember-clock-out-on-exit): New option.
6399 (org-remember-finalize): Clock out only if the setting in
6400 `org-remember-clock-out-on-exit' requires it.
6401 (org-remember-handler): Do the cleanup in the buffer, to make sure
6402 that the clock marker remains in tact.
6404 2008-04-29 Carsten Dominik <dominik@science.uva.nl>
6406 * org-clock.el (org-clock-goto): Widen buffer if necessary.
6407 (org-clock-in): Make sure that also tasks outside the narrowed
6408 region will be clocked in correctly.
6409 (org-clock-insert-selection-line): Widen the buffer so that we can
6410 find the correct task heading.
6412 * org.el (org-base-buffer): New function.
6414 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6415 and ";" are escaped.
6416 (org-print-icalendar-entries): Also apply
6417 `org-icalendar-cleanup-string' to the headline, not only to the
6420 2008-04-28 Carsten Dominik <dominik@science.uva.nl>
6422 * org-exp.el (org-export-preprocess-hook): New hook.
6423 (org-export-preprocess-string): Call
6424 `org-export-preprocess-hook'.
6426 * org.el (org-font-lock-hook): New variable.
6427 (org-font-lock-hook): New function.
6428 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6432 ;; add-log-time-zone-rule: t
6435 Copyright (C) 2008 Free Software Foundation, Inc.
6437 This file is part of GNU Emacs.
6439 GNU Emacs is free software: you can redistribute it and/or modify
6440 it under the terms of the GNU General Public License as published by
6441 the Free Software Foundation, either version 3 of the License, or
6442 (at your option) any later version.
6444 GNU Emacs is distributed in the hope that it will be useful,
6445 but WITHOUT ANY WARRANTY; without even the implied warranty of
6446 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6447 GNU General Public License for more details.
6449 You should have received a copy of the GNU General Public License
6450 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
6452 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c