Reorganize Custom groups.
[emacs.git] / lisp / org / ChangeLog
blobb70fb150735f11498468e3b9e61fb1ad64dd46d9
1 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
3         * org.el (org): Remove from hypermedia group.
5 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
7         * Branch for 23.2.
9 2010-02-15  Chong Yidong  <cyd@stupidchicken.com>
11         * org-freemind.el (org-freemind-from-org-mode-node)
12         (org-freemind-from-org-mode, )
13         (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
14         Pass arg to called-interactively-p.
16 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
18         * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
19         Fix typos in docstrings.
21 2010-01-01  Juanma Barranquero  <lekktu@gmail.com>
23         * org.el (org-get-outline-path, org-speed-command-help):
24         Fix typos in error messages.
26 2009-12-14  Juri Linkov  <juri@jurta.org>
28         * org-html.el (org-export-html-style-include-default):
29         Put `safe-local-variable booleanp' on
30         `org-export-html-style-include-default' instead of mistakenly
31         duplicate `org-export-html-style'.
33 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
35         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
36         agenda after adding new entry.
38         * org-datetree.el (org-datetree-find-day-create): Fix regular
39         expression.
41         * org.el (org-display-outline-path): Use a format specifier for
42         message, to avoid problems with heading containing `%'.
44         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
45         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
46         (org-agenda-fix-displayed-tags): New function.
47         (org-agenda-do-context-action): Just call
48         `org-display-outline-path', without piping the result through
49         `message'.
51         * org-latex.el (org-export-latex-preprocess): Protect secondary
52         footnote references.
54         * org-indent.el (org-indent-initialize): Avoid empty strings as
55         line prefixes.
57         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
58         hat checking for the mark does not throw an error.
59         (org-agenda-diary-entry-in-org-file): Catch the case that there is
60         not `day' text property in the cursor line.
62         * org.el (org-sort-entries-or-items): Make sure that the final
63         entry has a newline before doing the sorting.
65         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
66         property at the beginning of the line.
68         * org.el (org-make-link-string): Don't allow a description with
69         only white space.
71         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
72         (org-agenda-insert-diary-as-top-level): New function.
73         (org-agenda-add-entry-to-org-agenda-diary-file): Call
74         `org-agenda-insert-diary-as-top-level'.
76         * org.el (org-occur-in-agenda-files): Make sure none of the
77         buffers is narrowed.
78         (org-activate-plain-links): Add the face property here.
79         (org-set-font-lock-defaults): Do not add the face to plain links,
80         the activator function does this.
82         * org-habit.el (org-is-habit-p): Add doc string.
84         * org-archive.el (org-archive-subtree-default-with-confirmation):
85         Autoload.
87         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
88         after match optional (happens at the end of a line...).
90         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
91         for special blocks.
93         * org-faces.el (org-copy-face): Set lisp indentation.
94         (org-quote, org-verse): New faces.
96         * org-agenda.el (org-agenda-remove-date): Remove variable.
98         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
100         * org-html.el (org-export-as-html): Move the home/up link into
101         the content div.
103         * org.el (org-export-latex-packages-alist): Option definition
104         moved here from org-latex.el.
106         * org-html.el (org-export-html-home/up-format): Add an ID to the
107         up/home div.
109         * org-wl.el (org-wl-store-link): Handle the case that
110         `wl-use-petname' is set.
112         * org.el (org-set-effort): Improve prompt.
113         (org-get-outline-path): Widen to get full path.
114         (org-compact-display-after-subtree-move): Function removed.
116 2009-11-20  Eric Schulte  <schulte.eric@gmail.com>
118         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
119         hash keys to cache and re-use images generated by the
120         org-exp-blocks interface to ditaa and dot.
122         * org.el (org-format-latex): Latex images are now saved to files
123         named by the sha1 hash of the latex source text avoiding
124         regeneration of identical images.
126 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
128         * org-latex.el (org-export-as-latex): Add the :drawers property.
130 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
132         * org.el (org-speed-commands-user): Allow documentation headlines.
133         (org-speed-commands-default): Organize the value of this constant
134         with descriptive headlines.
135         (org-print-speed-command): Output the headlines.
137 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
139         * org-agenda.el (org-agenda-show-outline-path): New option.
140         (org-agenda-do-context-action): New function.
141         (org-agenda-next-line, org-agenda-previous-line): Use
142         `org-agenda-do-context-action'.
144         * org.el (org-use-speed-commands): Allow function value.
145         (org-speed-commands-default): Make headline motion safe, so that
146         these commands always end on a headline.
147         (org-speed-commands-default): New key `v' for `org-agenda'.
148         (org-speed-move-safe): New function.
149         (org-self-insert-command): Use the function value of
150         `org-use-speed-commands'.
151         (org-get-outline-path): Improve docstring.
152         (org-format-outline-path): New function.
153         (org-display-outline-path): New function.
155 2009-11-15  John Wiegley  <jwiegley@gmail.com>
157         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
158         a string, use that to find the LOGBOOK drawer.
160 2009-11-15  Glenn Morris  <rgm@gnu.org>
162         * org-agenda.el (org-datetree-find-date-create)
163         (org-habit-get-priority):
164         * org.el (org-format-agenda-item): Fix declarations.
166 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
168         * org.el (org-clone-subtree-with-time-shift): Make it work at the
169         end of the buffer.
171         * org-mobile.el (org-mobile-write-checksums): Specify coding
172         system.
173         (org-mobile-timestamp-buffer): Keep local variable/mode line at
174         beginning of buffer.
176         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
178         * org.el (org-block-todo-from-children-or-siblings-or-parent)
179         (org-block-todo-from-checkboxes): Do not block changes to a nil
180         TODO state.
182 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
184         * org-habit.el (org-habit-parse-todo): Indicate which habit is
185         wrongly set up in the error messages.
187         * org-colview.el (org-columns-display-here): Don't try to
188         calculate values if the underlying property is not set.
189         (org-columns-string-to-number): Convert age strings back into
190         fractional days.
191         (org-agenda-colview-summarize): Handle extended summary types
192         properly.
194         * org-colview-xemacs.el (org-columns-display-here): Don't try to
195         calculate values if the underlying property is not set.
196         (org-columns-string-to-number): Convert age strings back into
197         fractional days.
198         (org-agenda-colview-summarize): Handle extended summary types
199         properly.
201 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
203         * org-exp.el (org-export-format-drawer-function): New variable.
204         (org-export-format-drawer): New function.
205         (org-export-preprocess-string): Pass the backend as a parameter to
206         `org-export-remove-or-extract-drawers'.
207         (org-export-remove-or-extract-drawers): New parameter BACKEND.
209         * org-protocol.el (org-protocol-char-to-string): New defsubst.
211 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
213         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
214         message when no block is selected.
216         * org-latex.el (org-export-latex-links): Check for protectedness
217         in the last matched character, not after the match.
219         * org-datetree.el (org-datetree-find-date-create): Respect
220         restriction when KEEP-RESTRICTION is set.
221         (org-datetree-file-entry-under): New function.
222         (org-datetree-cleanup): New command.
224 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
226         * org-src.el (org-edit-src-code): New optional argument context
227         allows calling functions to avoid altering the saved window
228         configuration.
229         (org-edit-src-exit): Do not restore window configuration when this
230         function is used in the context of saving the edit buffer.
232 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
234         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
235         instances to switching to with-current-buffer, because these seem
236         to cause problems - no idea why.
238         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
239         Require diary-lib for (diary-date-display-form).
241 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
243         * org.el (org-log-reschedule, org-log-redeadline): New options.
244         (org-log-note-headings): Add templates for rescheduling and
245         deadline changing.
246         (org-startup-options): Add in-buffer settings for logging changing
247         schedule and deadline time stamps.
248         (org-deadline, org-schedule): Check for existing date and arrange
249         for logging if the user requests it.
250         (org-add-log-note): Prepare proper note buffers for rescheduling
251         and deadline changes.
253 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
255         * org-agenda.el (org-agenda-diary-entry-in-org-file)
256         (org-agenda-add-entry-to-org-agenda-diary-file)
257         (org-agenda-insert-diary-make-new-entry): New functions.
258         (org-agenda-diary-entry): Call
259         `org-agenda-diary-entry-in-org-file' when appropriate.
261         * org.el (org-calendar-insert-diary-entry-key): New option.
262         (org-agenda-diary-file): New option.
263         ("calendar"): Install our insertion function in the calendar.
265         * org-remember.el (org-datetree): Require.
266         (org-remember-templates): Add new positioning option.
267         (org-remember-reference-date): New variable.
268         (org-remember-apply-template): Store the reference date in a local
269         variable.
270         (org-remember-handler): Implement date tree positioning of entries.
272         * org-datetree.el: New file.
274         * org-latex.el (org-export-latex-preprocess): Protect targets in
275         verbatim emphasis.
277         * org-html.el (org-export-as-html): Protect targets in verbatim
278         emphasis.
280         * org-docbook.el (org-export-as-docbook): Protect targets in
281         verbatim emphasis.
283 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
285         * org-clock.el (org-show-notification): Handle messages that
286         contain a percent character.
288         * org-remember.el (org-remember-apply-template): Turn of partial
289         completion.
291         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
292         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
294         * org.el (org-indent-mode): Define variable already in org.el.
295         (org-unfontify-region): Remove line-prefix and wrap-prefix
296         properties only if org-indent-mode is active.
298 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
300         * org-icalendar.el (org-print-icalendar-entries): Save match data
301         around call to verify function.
302         (org-print-icalendar-entries): Add a call to the verification
303         function.
305         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
306         save-restrivtion' form.
308 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
310         * org-exp.el (org-export-format-source-code-or-example): restrict
311         scope of preserve-indentp to the let binding.
312         (org-src): require org-src, since org-src-preserve-indentation is used.
314 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
316         * org-timer.el (org-timer-set-timer): Set variables
317         org-timer-timer[123] correctly.
320         * org-mobile.el (org-mobile-files-alist): Make it work when
321         `agenda-archives' is included in
322         `org-agenda-text-search-extra-files'.
323         (org-mobile-push): Restore agenda after mobile push.
325 2009-11-13  John Wiegley  <jwiegley@gmail.com>
327         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
328         way the amount of idle time is presented in the minibuffer.
330 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
332         * org-icalendar.el (org-print-icalendar-entries): Use
333         org-icalendar-verify-function only if non-nil.
335         * org.el (org-refile): Refile to clock only if the prefix arg is
336         2.
337         (org-sparse-tree): Fix docstring to be in line with prompt.
338         (org-update-parent-todo-statistics): Call
339         `org-after-todo-statistics-hook' on each level.
341 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
343         * org-remember.el (org-remember-apply-template): Make sure the
344         buffer exists.
346 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
348         * org.el (org-tab-ind-state): New variable.
349         (org-cycle-level): New function.
350         (org-cycle-level-after-item/entry-creation): New option.
351         (org-flag-subtree): New function.
352         (org-hide-archived-subtrees): Call `org-flag-subtree'.
353         (org-set-effort): Indexed access.
355         * org-list.el (org-cycle-item-indentation): New function.
357         * org.el (org-refile): Make prefix argument 2 refile to current
358         clock.
359         (org-priority): Interpret action `remove' as call to remove the
360         priority cookie.
362         * org-remember.el (org-remember-apply-template): Don't depend on
363         buffer name being like file name.
365 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
367         * org-clock.el (org-clock-play-sound): Expand file in
368         org-clock-sound, to allow ~ for home.
370         * org-remember.el (org-remember-handler): Set
371         text-before-node-creation even if this already looks like a node,
372         because the string might be needed on non-org-mode target files.
374         * org-agenda.el (org-agenda-open-link): Make this work in agenda
375         clocktables.
376         (org-agenda-switch-to): Follow a link at point if
377         org-return-follows-link' is set and there is nothing else to do in
378         this line.
380 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
382         * org-colview-xemacs.el: Add in changes from org-colview.el
384 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
386         * org-exp-blocks.el: Modify split separator regexp to avoid empty
387         strings.
389 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
391         * org-colview.el (org-columns-new): Make this work with the new
392         operators.
393         (org-columns-store-format): Make this work with the new operators.
395 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
397         * org-src.el (org-src-preserve-indentation): Document that this
398         variable is also used during export.
400         * org-exp.el (org-export-format-source-code-or-example): Preserve
401         indentation if a block has a -i option, or if
402         `org-src-preserve-indentation' is set.
404         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
405         indentation if a block has a -i option, or if
406         `org-src-preserve-indentation' is set.
408 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
410         * org.el (org-mode-map): Define the new archiving keys.
411         (org-speed-commands-default): Define an archiving key in the speed
412         command map.
413         (org-org-menu): Improve the menu structure concerning archiving.
415         * org-archive.el (org-archive-subtree-default-with-confirmation):
416         New command.
418         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
419         (org-agenda-menu): Add the new archiving commands to the menu.
420         (org-agenda-archive-default)
421         (org-agenda-archive-default-with-confirmation): New commands.
422         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
423         call `org-agenda-archive-with'.
424         (org-agenda-archive-with): New function.
426         * org-table.el (org-table-convert-region): Inert spaces around "|"
427         to avoid line beginnings like "|-1" which will be mistaken as
428         hlines.
430 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
432         * org.el (org-offer-links-in-entry): Return nil if there are no
433         links, t if a link has been selected.
434         (org-open-at-point): Open attachment directory when called in the
435         headline and there are no links in the entry body.
436         (org-speed-commands-default): Add "o" for open-at-point as a speed
437         command.
439         * org-attach.el (org-attach-reveal): Optional prefix arg
440         IF-EXISTS, which avoids creating the attachment directory if it
441         does not yet exist.
443         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
444         MATCH.
446 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
448         * org.el ("abbrev"): Work with abbrev tables only after they have
449         been loaded.
451         * org-list.el (org-list-send-list): Fix bug related to match
452         data.
454         * org-latex.el (org-export-latex-fontify): Apply verbatim
455         emphasis.
456         (org-export-latex-make-header): Insert \obeylines if line breaks
457         should be preserved.
459         * org-exp.el (org-export-protect-verbatim): Add an
460         `org-verbatim-emph' property to such text.
462 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
464         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
465         (org-print-icalendar-entries): Skip entries where the timestamp is
466         not a deadline and not scheduled, if the user requests that.
468         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
469         before an opening quote.
471         * org-archive.el (org-archive-subtree): Keep archive after
472         archiving something.
474         * org-id.el (org-id-update-id-locations): Add archive files if
475         that is required by `org-id-extra-files'.
477 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
479         * org-src.el (org-src-window-setup): New option.
480         (org-src-switch-to-buffer): New function.
481         (org-edit-src-exit): Add optional argument CONTEXT and use it to
482         restore window configuration.
483         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
484         Call `org-src-switch-to-buffer'.
486         * org.el (org-default-properties): Add STYLE property.
487         (org-files-list): Use the function call to get the files.
488         (org-additional-option-like-keywords): Add SETUPFILE to completion
489         list.
491 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
493         * org-table.el (org-table-convert-region): Correctly interpret
494         quoting in csv import.
496         * org.el (org-icompleting-read): Make iswitchb completion work
497         with lists and tables.
499         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
500         while pushing the mobile agenda.
502 2009-11-13  John Wiegley  <jwiegley@gmail.com>
504         * org-clock.el
505         (org-clock-auto-clock-resolution): Now takes three values: nil, t
506         and `when-no-clock-is-running'.
507         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
508         whether or not to resolve Org buffers on clock in.
510 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
512         * org-colview.el (org-format-time-period): Function to format
513         times in fractional days for display.
514         (org-columns-display-here): Add support for showing a calculated
515         value in place of the property.
516         (org-columns): Set `org-columns-time' to the current time so time
517         difference calculations will work.
518         (org-columns-time): Use to store the current time when column view
519         is displayed, so all time differences will use the same reference
520         point.
521         (org-columns-compile-map): There is now an extra position in each
522         entry specifying the function to use to calculate the displayed
523         value for the non-calculated properties in the column,
524         (org-columns-compute-all): Set `org-columns-time' to the current
525         time so time difference calculations will work.
526         (org-columns-compute): Handle column operators where the values
527         used are calculated from the underlying property.
528         (org-columns-number-to-string): Handle the 'age' column format
529         (org-columns-string-to-number): Correct the function name (was
530         org-column...).  Add support for the 'age' column format.
531         (org-columns-compile-format): Support the additional parameter in
532         org-columns-compile-map.
534 2009-11-13  Bastien Guerry  <bzg@altern.org>
536         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
537         variable.
539 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
541         * org-clock.el (org-clock-has-been-used): New variable.
542         (org-clock-in): Set `org-clock-has-been-used'.
543         (org-clock-save): Save only if clock data has been used or created
544         during this session.
546 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
548         * org-clock.el (org-clock-persist): New value, to store only the
549         clock history.
550         (org-clock-save): Don't save the clock if only the history should
551         be stored.
552         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
553         when restoring a saved clock.
555 2009-11-13  John Wiegley  <jwiegley@gmail.com>
557         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
558         `org-time-clock-use-fractional'.
560         * org.el (org-time-clocksum-use-fractional)
561         (org-time-clocksum-fractional-format): Two new customizable
562         variables which allow the user to select fractional times (1.25
563         instead of 1:25) in the `org-clock-display' report.
565 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
567         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
568         New option.
570         * org.el (org-tag-alist): Fix customization type.
572 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
574         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
575         Make sure the regexp search can fail without throwing an error.
576         (org-mobile-apply): Save the inbox buffer after removing
577         successfully applied changes.
579 2009-11-13  John Wiegley  <jwiegley@gmail.com>
581         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
582         time is reported after the user comes back (but before they
583         resolve time).
585         * org.el (org-get-repeat): Change so that this function can be
586         called with either `org-scheduled-string' or
587         `org-deadline-string'.
589         * org-clock.el (org-clock-auto-clock-resolution): Renamed
590         `org-clock-disable-clock-resolution', since negatives don't sound
591         good in customization variables.
592         (org-clock-in): Don't use the auto-resolution logic if the user is
593         clocking into a different task while an active clock is running.
594         This then allows the default behavior of clocking out of the open
595         task and then into the new task.
597         * org.el (org-modules): Made this variable more consistent, since
598         it was referring to Org, OrgMode and Org-mode, whereas the docs
599         for the variable always refer to Org-mode.
601 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
603         * org.el (org-repeat-re): The changed org-repeat-re no longer
604         matched simple +2d type repeaters.  Fix it so it does.
606 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
608         * org-latex.el (org-export-latex-preprocess): Protect the vspace
609         macro in the VERSE environment.
611 2009-11-13  John Wiegley  <jwiegley@gmail.com>
613         * org-habit.el (org-habit-get-priority): A new function that
614         determines the relative priority of a habit, based on how long
615         past its scheduled date it is, and how near the deadline is.
617         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
618         using `org-habit-get-priority'.
620         * org-habit.el (org-habit-build-graph): Start displaying colors
621         from the first scheduled date, if that date is earlier than the
622         first completion date.
624         * org-habit.el: Changed all "color" variables to faces, and made
625         them appropriate for light and dark backgrounds.
627         * org-habit.el (org-habit-duration-to-days): Made this function
628         more general.
629         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
631         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
632         habits, since they don't use DEADLINE anymore.
634         * org.el (org-repeat-re, org-display-custom-time)
635         (org-timestamp-change): Extended to support the new ".+N/N"
636         syntax, used for habits.
638         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
639         variable reference.
641         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
642         modeline when habits are being displayed (if that module is being
643         loaded).
645 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
647         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
648         idle time using the xscreensaver extension.
649         (org-user-idle-seconds): Use X11 idle time if available.
651 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
653         * org-agenda.el (org-agenda-next-line): New command.
654         (org-agenda-previous-line): New commands.
655         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
656         commands.
657         (org-agenda-follow-mode): Do the follow immediately if the mode is
658         turned on here.
659         (previous-line, next-line): Replace keys with the corresponding
660         org functions.
661         (org-agenda-mode-map): Bind backspace and delete to the scrolling
662         command.
664         * org.el (org-icompleting-read): Turn off partial completion mode
665         for the duration of this completion round.
667         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
668         macros in author lines and similar stuff.
670         * org.el (org-file-tags): Fix docstring.
671         (org-get-buffer-tags): Add the #+FILETAGS tags.
672         ("ecb"): Maks ecb show context after jumping into an Org file.
674 2009-11-13  John Wiegley  <johnw@newartisans.com>
676         * org-agenda.el (org-finalize-agenda): Draw habit consistency
677         graphs after everything else in the buffer has been setup.
679 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
681         * org-mobile.el (org-mobile-apply): Count success and failure.
683         * org.el (org-indent-line-function): Fix regexp replace problem.
685 2009-11-13  John Wiegley  <johnw@newartisans.com>
687         * org-clock.el (org-clock-disable-clock-resolution): New
688         customization variable that disable automatic clock resolution on
689         clock in.
690         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
691         not automatically resolve anything.  This is does not affect
692         idle-time resolution, however, if `org-clock-idle-time' is set.
694 2009-11-13  John Wiegley  <johnw@newartisans.com>
696         * org-habit.el: New file, which implements code to build a "habit
697         consistency graph".
699         * org-agenda.el (org-agenda-get-deadlines)
700         (org-agenda-get-scheduled): Display consistency graphs when
701         outputting habits into the agenda.  The graphs are always relative
702         to the current time.
703         (org-format-agenda-item): Added new parameter `habitp', which
704         indicates whether we are formatting a habit or not.  Do not
705         display "extra" leading information if habitp is true.
707         * org.el (org-repeat-re): Improved regexp to include .+ and ++
708         leaders for repeat strings.
709         (org-get-repeat): Now takes a string parameter `tagline', so the
710         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
712 2009-11-13  John Wiegley  <johnw@newartisans.com>
714         * org-agenda.el (org-agenda-auto-exclude-function): New
715         customization variable for allowing the user to create an "auto
716         exclusion" filter for doing context-aware auto tag filtering.
717         (org-agenda-filter-by-tag): Changes to support the use of
718         `org-agenda-auto-exclude-function'.  See the new manual addition,.
720 2009-11-13  John Wiegley  <johnw@newartisans.com>
722         * org.el (org-files-list): Don't attempt to return a file name for
723         Org buffers which have no associated file.
725         * org-agenda.el (org-agenda-do-action): Fixed a typo.
727 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
729         * org-mobile.el (org-mobile-locate-entry): Interpret files
730         relative to org-directory.
731         (org-mobile-inbox-for-pull): Document the best location for this
732         file.
733         (org-mobile-check-setup): Verify `org-directory'.
734         (org-mobile-create-index-file): Sort the files to be listed in
735         index.org.
737 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
739         * org.el (org-fast-tag-selection): Add a way to display a
740         description for a tag group.  This is done by adding a string to
741         either the startgroup or endgroup cell.
743 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
745         * org-clock.el (org-clock-resolve, org-resolve-clocks)
746         (org-emacs-idle-seconds): Use `org-float-time' instead of
747         `time-to-seconds'
749 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
751         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
752         type.
754         * org.el (org-pre-cycle-hook): Document that `empty' can also be
755         the value of ARG when doing local cycling.
757 2009-11-13  John Wiegley  <johnw@newartisans.com>
759         * org-clock.el (org-clock-resolve-clock): If keeping or
760         subtracting time results in a clock out at a time in the past, and
761         if the resolution occurred due to idleness or invoking `M-x
762         org-resolve-clocks', remember that past moment in time.  On the
763         next clock in, the user will be prompted to see if they want to
764         back-date their new clock to then.
765         (org-clock-resolve): Do not jump the user to the location of a
766         dangling clock if the resolution is occurring due to an idle
767         timeout.  In that case there is typically only one dangling clock,
768         the active one, and there is no value gained by shuffling their
769         windows around to show it to them.  Being prompted to resolve an
770         idle clock should be as inobtrusive as possible.
771         (org-resolve-clocks-if-idle): New function that resolves only the
772         currently active clock if the user has exceeded the time returned
773         by `org-user-idle-seconds', based on the value of
774         `org-clock-idle-time'.
775         (org-clock-in): If, after resolving clocks,
776         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
778         * org-clock.el (org-clock-resolve-clock): New function that
779         resolves a clock to a specific time, closing or resuming as need
780         be, and possibly even starting a new clock.
781         (org-clock-resolve): New function used by `org-resolve-clocks'
782         that sets up for the call to `org-clock-resolve-clock'.  It
783         determines the time to resolve to based on a single-character
784         selection from the user to either keep time, subtract away time or
785         cancel the clock.
786         (org-resolve-clocks): New user command which resolves dangling
787         clocks -- that is, open but not active -- anywhere in the file
788         list returned by `org-files-list'.
789         (org-clock-in): Automatically resolve dangling clocks whenever a
790         user clocks in.
791         (org-clock-cancel): If the user cancels the solely clock in a
792         LOGBOOK, remove the empty drawer.
794         * org-clock.el (org-clock-idle-time): New user customizable option
795         for detecting whether the user has left a clock idle.  Note: it is
796         only used in this commit to test whether it's worthwhile to check
797         OS X to get the Mac user's current idle time.  If the Emacs idle
798         time is less than the value, the user hasn't been away long enough
799         to be worth checking (a more expensive test than just getting
800         Emacs idle time).
801         (org-user-idle-seconds, org-mac-idle-seconds)
802         (org-emacs-idle-seconds): This three functions, in conjunction
803         with the user customization variable `org-clock-idle-time', return
804         the number of seconds (as a floating point) that the user has been
805         away from their Emacs (or, if running on OS X, their computer).
807         * org-clock.el (org-find-open-clocks): New function that returns a
808         list of all open clocks in the given FILE.  Note that each clock
809         it returns is a cons cell of the format (MARKER . START-TIME).
810         This "clock" value is used by several of the new clock module
811         utility functions.
812         (org-is-active-clock): New inline function which tests whether the
813         given clock value is the same as the currently active clock.
814         Returns non-nil if this is the case.
815         (org-with-clock-position): New macro that evaluates FORMS with
816         point in the buffer and at the position of the given clock.
817         Changes to the current clock are global.
818         (org-with-clock): New macro that evaluates FORMS with point in the
819         buffer and at the position of the given clock.  However, changes
820         to the current clock are local and have no effect on the user's
821         active clock.  This allows, for example, far any clock to be
822         cancelled without cancelling the active clock.
823         (org-clock-clock-in): New inline function that switches the active
824         clock to the given clock.  If either the argument RESUME, or the
825         global `org-clock-in-resume', are non-nil, it will resume a clock
826         that was previously left open.
827         (org-clock-clock-out): New inline function that clocks out the
828         given clock value without affecting the currently active clock.
829         (org-clock-clock-cancel): New inline function that cancels the
830         given clock value without affecting the currently active clock.
832         * org-clock.el (org-clock-in): Before creating
833         `org-clock-mode-line-timer', check to make sure an older timer is
834         not currently running.
835         (org-clock-out): Accept new third parameter `at-time', which
836         permits a clock to be clocked out at a specific time.  Note that
837         no attempt is made to verify that the clock out time is later than
838         the clock in time.
840         * org.el (org-files-list): New utility function for returning a
841         list of all open org-mode buffers, plus all files used to build
842         the agenda buffer.  Note that not all the files will necessarily
843         be visited by a buffer at time of call.
844         (org-entry-beginning-position): Like the function
845         `line-beginning-position', this inline function returns the
846         beginning position of the current heading/entry.
847         (org-entry-end-position): Like the function `line-end-position',
848         this inline function returns the end position of the current
849         heading/entry.
851 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
853         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
854         a header line.
856 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
858         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
860 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
862         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
863         entries that have no tags.
864         (org-agenda-search-view): New customize group.
865         (org-agenda-search-view-search-words-only): New option.
866         (org-search-view): Implement substring search.
868 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
870         * org.el (org-outline-level): Add doc string.
872 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
874         * org-inlinetask.el (org-inlinetask-export): Re-introduce
875         variable.
876         (org-inlinetask-export-handler): Only export inline task if the
877         user option calls for it.
879 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
881         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
882         END if present.
884 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
886         * org-latex.el (org-export-latex-tables): Don't format in
887         protected regions.
889 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
891         * org-src.el (org-edit-src-code)
892         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
893         macro editing.
895         * org-agenda.el (org-prefix-category-max-length): New variable.
896         (org-format-agenda-item): Use `org-prefix-category-max-length'.
897         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
899 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
901         * org-mobile.el (org-mobile-create-index-file): Improve the
902         listing of tags and todo keywords.
904         * org-latex.el (org-export-latex-format-image): New function.
905         (org-export-latex-links): Use `org-export-latex-format-image'.
907 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
909         * org-inlinetask.el (org-inlinetask-get-current-indentation)
910         (org-inlinetask-remove-terminator): New functions.
911         (org-inlinetask-export-handler): Terminate the description list.
913         * org-exp.el (org-export-select-backend-specific-text): Remove the
914         region markers.
916         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
917         tasks without content.
919         * org-clock.el: Make sure the clock-in target position does not
920         move to a different node by widening the buffer.
922         * org-html.el (org-export-html-format-image): Wrap image into
923         figure div only when there is a caption.
925         * org-archive.el (org-archive-mark-done): Change default value to
926         nil.
928 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
930         * org.el (org-context): Call `bobp', not `eobp'.
932         * org-clock.el (org-clock-cancel): Remove quotes from marker
933         variables.
935         * org.el (org-read-date-prefer-future): New allowed value `time'.
936         (org-read-date-analyze): Shift day to tomorrow depending on time
937         entered and value of `org-read-date-prefer-future'.
939 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
941         * org.el (org-version, org-get-refile-targets, org-refile)
942         (org-store-log-note, org-diary-to-ical-string)
943         (org-speedbar-set-agenda-restriction):
944         * org-publish.el (org-publish-find-title):
945         * org-plot.el (org-plot/gnuplot):
946         * org-mouse.el (org-mouse-do-remotely):
947         * org-mobile.el (org-mobile-move-capture):
948         * org-mac-message.el (org-mac-message-insert-flagged):
949         * org-latex.el (org-replace-region-by-latex):
950         * org-docbook.el (org-replace-region-by-docbook):
951         * org-clock.el (org-clock-out, org-clock-cancel):
952         * org-bibtex.el (org-execute-file-search-in-bibtex):
953         Use with-current-buffer.
955 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
957         * org.el (org-directory, org-map-entries):
958         * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
960 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
962         * org.el (org-set-tags-to): New command.
964         * org-latex.el (org-export-latex-set-initial-vars): Also check in
965         the plist.
967         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
968         keyword.
970         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
972 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
974         * org-inlinetask.el (org-inlinetask-export): Option removed.
975         (org-inlinetask-export-handler): Better export.
977         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
978         (org-export-as-xoxo): Run the new hook.
980         * org-html.el (org-export-html-final-hook): New hook.
981         (org-export-as-html): Run the new hook.
983         * org-docbook.el (org-export-docbook-final-hook): New hook.
984         (org-export-as-docbook): Run the new hook.
986         * org-ascii.el (org-export-ascii-final-hook): New hook.
987         (org-export-as-ascii): Run the new hook.
989         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
990         space character as the character before the ^/_.
991         (org-export-latex-final-hook): New hook.
992         (org-export-as-latex): Run `org-export-latex-final-hook'.
994 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
996         * org-macs.el (org-if-unprotected-at): Fix docstring.
998         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
999         text in the prefix (if category is a link).
1001         * org-latex.el (org-export-latex-preprocess): Deal properly with
1002         empty lines in verse environments.
1004         * org.el (org-format-latex-header): Inline fullpage.sty.
1006         * org-footnote.el (org-footnote-create-definition): Reveal context
1007         to add a new footnote definition.
1009         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
1010         org-table-recalculate when cursor is in TBLFM line.
1012         * org-list.el (org-renumber-ordered-list): Fix cursor position
1013         when bullet length has changed.
1015 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1017         * org.el (org-format-latex): Mention `org-format-latex-options' in
1018         the docstring.
1020 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1022         * org.el (org-agenda-get): New function.
1024         * org-agenda.el (org-agenda-post-command-hook): No longer move
1025         point away from end of line.
1026         (org-agenda-add-entry-text, org-agenda-collect-markers)
1027         (org-finalize-agenda, org-agenda-mark-clocking-task)
1028         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1029         (org-agenda-entry-text-show, org-agenda-highlight-todo)
1030         (org-agenda-compare-effort, org-agenda-filter-apply)
1031         (org-agenda-later, org-agenda-change-time-span)
1032         (org-agenda-post-command-hook, org-agenda-show-priority)
1033         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
1034         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
1035         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
1036         (org-agenda-open-link, org-agenda-copy-local-variable)
1037         (org-agenda-switch-to, org-agenda-check-no-diary)
1038         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
1039         (org-agenda-add-note, org-agenda-change-all-lines)
1040         (org-agenda-priority, org-agenda-set-tags)
1041         (org-agenda-set-property, org-agenda-set-effort)
1042         (org-agenda-toggle-archive-tag, org-agenda-date-later)
1043         (org-agenda-show-new-time, org-agenda-date-prompt)
1044         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
1045         (org-agenda-clock-in, org-agenda-bulk-mark)
1046         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
1047         `org-get-at-bol'.
1049         * org-colview.el (org-columns-display-here)
1050         (org-columns-edit-allowed, org-agenda-columns): Use
1051         `org-get-at-bol'.
1053 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1055         * org.el (org-special-ctrl-a/e): Improve documentation and
1056         customize type.
1057         (org-end-of-line): Don't jump to after the ellipsis.
1058         (org-mode-map): Bind <home> and <end> as well.
1060 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1062         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
1063         space after #+ as comments.
1064         (org-open-at-point): Run `org-follow-link-hook' always.
1066         * org-latex.el (org-export-latex-emph-format): Use better commands
1067         to insert special characters in verbatim snippets.
1069 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1071         * org-faces.el (org-copy-face): New function.  Use it to create
1072         various faces formerly created by using `copy-face'.
1074         * org-agenda.el (org-prepare-agenda): Don't officially mark this
1075         window dedicated.
1076         (org-agenda-quit): Kill the frame containing the agenda window if
1077         that frame was created for the agenda.
1079 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1081         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
1082         stamp in the agenda.
1084 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1086         * org-agenda.el (org-prepare-agenda): Reset
1087         `org-drawers-for-agenda'.
1088         (org-prepare-agenda): Uniquify list of drawers.
1090         * org.el (org-complex-heading-regexp-format): New variable.
1091         (org-set-regexps-and-options): Define
1092         `org-complex-heading-regexp-format'.
1093         (org-drawers-for-agenda): New variable.
1094         (org-map-entries): Bind `org-drawers-for-agenda'.
1095         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
1097         * org-remember.el (org-go-to-remember-target)
1098         (org-remember-handler): Use `org-complex-heading-regexp-format'.
1100 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1102         * org-agenda.el (org-agenda-highlight-todo): Fix text property
1103         problem.
1105         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
1106         always with `invisible-ok'.
1107         (org-store-link): No error when there is nothing to link to in the
1108         agenda.
1110         * org-list.el (org-update-checkbox-count): Insert changed cookie
1111         before the old, to avoid problems with invisibility at the end of
1112         the line.
1113         (org-update-checkbox-count): Insert changed cookie before the old,
1114         to avoid problems with invisibility at the end of the line.
1116         * org.el (org-sort-entries-or-items): Include the final newline.
1117         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
1118         lines for fontification.
1119         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
1120         (org-prepare-dblock): Store the current indentation of the BEGIN
1121         line.
1122         (org-update-dblock): Apply the indentation of the begin line to
1123         the rest of the block.
1124         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
1125         (org-startup-folded): New allowed value `showeverything'.
1126         (org-startup-options): Add STARTUP keyword `showeverything'.
1127         (org-set-startup-visibility): Respect value `showeverything' in
1128         org-startup-folded.
1130 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1132         * org.el (org-closest-date): Fix issue with past preference.
1134         * org-archive.el (org-archive-set-tag)
1135         (org-archive-subtree-default): New commands.
1137         * org-clock.el (org-clock-clocktable-default-properties): New
1138         option.
1139         (org-clock-report): Use
1140         `org-clock-clocktable-default-properties'.
1142 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1144         * org.el (org-iswitchb-completing-read): Fix typo.
1146         * org-crypt.el: New file.
1148         * org.el: Add an entry for org-crypt.
1150 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1152         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
1153         consistency.
1154         (org-batch-store-agenda-views): New function.
1155         (org-agenda-title-append): Define variable.
1156         (org-write-agenda): New export to Org files.
1157         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
1158         (org-agenda): Allow to keep the restricted file list if a special
1159         variable is bound to t.
1160         (org-agenda): Define a special agenda view for working on flagged
1161         entries.
1162         (org-agenda-get-restriction-and-command): List the new agenda
1163         view.
1164         (org-agenda-show-the-flagging-note): New command.
1165         (org-agenda-mode-map): New key `?' for looking at the flagging
1166         note.
1168         * org.el (org-autoload): Autoload org-mobile.el.
1169         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
1171         * org-mobile.el: New file.
1173         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
1175 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1177         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
1178         statements.
1179         (org-table-get-remote-range): Match indented #+TBLNAME
1180         statements.
1182         * org.el (org-convert-to-odd-levels)
1183         (org-convert-to-oddeven-levels): Work also correctly if the file
1184         is in outline-mode.
1186 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1188         * org.el (org-store-link): When in agenda buffer, link to
1189         referenced entry.
1190         (org-add-planning-info): Remove spaces at eol.
1192         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
1193         property.
1195 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1197         * org-latex.el (org-export-latex-first-lines): Fix problem with
1198         LaTeX export of first line and selected subtree.
1200         * org.el (org-shifttab): Interpret arg differently when using only
1201         odd levels.
1203 2009-10-01  Bastien Guerry  <bzg@altern.org>
1205         * org.el (org-check-agenda-file): Use a more explicit message
1207 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1209         * org-exp.el (org-export-remove-special-table-lines): Don't remove
1210         normal lines.
1212 2009-10-01  Bastien Guerry  <bzg@altern.org>
1214         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
1215         prompt in the temporary window.
1217         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
1218         prefix for marked entries in the agenda view.
1220 2009-10-01  Andreas Burtzlaff  <andy13@gmx.net>  (tiny change)
1222         * org.el (outline-end-of-subtree): Bugfix: advise this function in
1223         a way that prevents any trailing character from being displayed.
1225 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1227         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
1228         menu.
1230         * org-exp.el (org-export-remove-special-table-lines): Remove bad
1231         slow regexp match.
1233 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1235         * org-latex.el (org-export-latex-preprocess): Do not protect in
1236         the LaTeX header.
1238         * org-src.el (org-edit-src-save): Save window setup while saving.
1239         (org-edit-src-code): Use new buffer name construction scheme.
1241 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1243         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
1244         variable.
1245         (org-agenda-entry-text-cleanup-hook): New hook.
1246         (org-agenda-get-some-entry-text): Remove matches of
1247         `org-agenda-entry-text-exclude-regexps' and run the hook
1248         `org-agenda-entry-text-cleanup-hook'.
1250         * org.el (org-offer-links-in-entry): New argument ZERO to
1251         implement a link with index zero.
1252         (org-cycle-show-empty-lines): Not keep empty line under header
1253         hidden.
1254         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
1255         to nil for special completion.
1256         (org-store-link): Don't error before the first heading.
1258         * org-agenda.el (org-agenda-open-link): Pass the prefix to
1259         `org-offer-links-in-entry'.
1261 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
1263         * org-agenda.el (org-agenda-quit): Provide the window argument for
1264         `window-dedicated-p', Emacs 22 needs it.
1265         (org-format-agenda-item): If the category is a link, arrange for
1266         invisible text to replaced with spaces.
1267         (org-compile-prefix-format): Add the extra space.
1268         (org-prefix-category-length): New variable.
1270         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
1271         references from TOC lines.
1273         * org.el (org-selected-window): New variable.
1275         * org-table.el (org-table-edit-formulas): Remember the selected
1276         window.
1277         (org-table-fedit-finish, org-table-fedit-abort): Select the window
1278         that was originally selected.
1280         * org-exp.el (org-export-preprocess-apply-macros): Scan the
1281         expansion of a macro for more macro definitions.
1283         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
1284         invisibility overlay starts on the newline.
1286 2009-10-01  Glenn Morris  <rgm@gnu.org>
1288         * org-agenda.el (calendar-check-holidays):
1289         * org-exp.el (org-agenda-skip):
1290         * org-list.el (outline-back-to-heading):
1291         * org-wl.el (wl-summary-goto-folder-subr):
1292         * org.el (iswitchb-mode, remember, remember-buffer-desc)
1293         (remember-finalize, remember-save-after-remembering, remember-register)
1294         (remember-buffer, remember-handler-functions)
1295         (remember-annotation-functions): Remove unused declarations.
1297         * org.el (iswitchb-read-buffer): Fix declaration.
1299 2009-09-30  Glenn Morris  <rgm@gnu.org>
1301         * org-compat.el (w32-focus-frame):
1302         * org-exp-blocks.el (R):
1303         * org-exp.el (htmlize-buffer):
1304         * org-protocol.el (server-edit):
1305         * org-table.el (org-format-org-table-html):
1306         * org.el (org-indent-mode): Fix declarations.
1308         * org-colview.el (org-columns-uncompile-format): Avoid assignment to
1309         free variable `fun'.
1311 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
1313         * org-agenda.el (org-agenda-restore-windows-after-quit):
1314         Fix typo in docstring.
1316 2009-09-23  Juanma Barranquero  <lekktu@gmail.com>
1318         * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
1319         (org-shiftselect-error, org-ctrl-c-ctrl-c):
1320         * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
1321         * org-attach.el (org-attach-check-absolute-path):
1322         * org-docbook.el (org-export-as-docbook):
1323         * org-html.el (org-export-as-html):
1324         * org-id.el (org-id-update-id-locations):
1325         * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
1326         Fix typos in error messages.
1328 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1330         * org-ascii.el: Require CL for the `loop' macro.
1332 2009-09-05  Carsten Dominik  <dominik@u016822.science.uva.nl>
1334         * org-gnus.el (require): Wrap (require gnus-sum) into
1335         eval-when-compile.
1337 2009-09-03  Carsten Dominik  <dominik@u016822.science.uva.nl>
1339         * org-protocol.el (org-protocol-store-link)
1340         (org-protocol-remember, org-protocol-open-source): Remove autoload
1341         cookies again.
1343         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
1344         referencing the start of the line.
1346         * org-gnus.el: Remove unnecessary declare-function forms.
1347         (gnus-sum): Always require gnus-sum.
1349 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1351         * org-protocol.el (org-protocol-store-link)
1352         (org-protocol-remember, org-protocol-open-source): Add autoloads.
1354         * org-compat.el (org-float-time): New function.
1356         * org.el (org-clock-update-time-maybe)
1357         (org-sort-entries-or-items, org-do-sort)
1358         (org-evaluate-time-range, org-time-string-to-seconds)
1359         (org-closed-in-range): Use `org-float-time'.
1361         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
1362         (org-timer-seconds): Use `org-float-time'.
1364         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
1365         (org-clock-sum, org-dblock-write:clocktable)
1366         (org-clocktable-steps): Use `org-float-time'.
1368         * org-agenda.el (org-agenda-last-marker-time)
1369         (org-agenda-new-marker, org-diary): Use `org-float-time'.
1371         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
1372         function.
1374         * org-exp.el (org-get-file-contents): Only protect lines that
1375         really need it.
1377         * org-html.el (require): Require cl for compilation.
1379         * org.el: Avoid using `default-major-mode'.
1381         * org-plot.el (require): Require CL only at compile time.
1383         * org-exp.el (require): Require CL only at compile time.
1385         * org-agenda.el (org-agenda-quit): When the agenda window is
1386         dedicated, remove other windows before exiting, so that the frame
1387         really will be killed.
1389         * org-exp.el (org-export-handle-include-files): Reset START and
1390         END for each loop cycle.
1392 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1394         * org.el (org-eval-in-calendar): Use
1395         `org-select-frame-set-input-focus'.
1397         * org-compat.el (org-select-frame-set-input-focus): New function.
1399         * org.el (org-update-statistics-cookies): New function.
1400         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
1402 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1404         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
1405         after the local variables are set.
1407         * org-latex.el (org-export-latex-protect-amp): New function.
1408         (org-export-latex-links): Protect link ampersands in tables.
1410         * org-exp.el (org-export-select-backend-specific-text): Match in
1411         two steps, to avoid regexp problems.
1413         * org.el (org-offer-links-in-entry): Improve working with many and
1414         duplicate links.
1416         * org-agenda.el (org-agenda-show-1): Make more consistent with
1417         normal cycling.
1418         (org-agenda-cycle-show): Make more consistent with normal cycling.
1420         * org-gnus.el (org-gnus-store-link): Restore the linking to a
1421         website.
1423 2009-09-02  Bastien Guerry  <bzg@altern.org>
1425         * org-latex.el (org-export-latex-first-lines): Bugfix.
1427 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1429         * org-clock.el (org-clock-modify-effort-estimate): Emit message
1430         about new effort.
1432         * org.el (org-set-effort): New function.
1433         (org-mode-map): New key for effort setting command.
1435         * org-agenda.el (org-agenda): Keep window setup when calling
1436         agenda from within agenda window.
1437         (org-agenda-mode-map): New keys for effort setting commands.
1438         (org-agenda-menu): Add effort setting commands to menu.
1439         (org-agenda-set-property, org-agenda-set-effort): New functions.
1441         * org-latex.el (org-export-latex-tables): Fix
1442         `org-table-last-alignment' and `org-table-last-column-widths' if
1443         the first column has been removed.
1445 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1447         * org.el (org-remove-timestamp-with-keyword): Only remove in
1448         entry, not in subtree.
1450         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
1451         emacs lisp.
1453         * org.el (org-open-at-point): When on headline, offer all strings
1454         in entry.
1456         * org-remember.el (org-remember-templates): Documentation fix.
1458         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
1459         `org-get-last-sibling' instead of the outline versions of these
1460         functions.
1461         (org-get-last-sibling): New function.
1462         (org-refile): Use `org-get-next-sibling' instead of the outline
1463         version of this function.
1464         (org-clean-visibility-after-subtree-move): Use
1465         `org-get-next-sibling' and `org-get-last-sibling' instead of the
1466         outline versions of these functions.
1468 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1470         * org-agenda.el (org-prepare-agenda): When creating a new frame
1471         for the agenda, make the window dedicated.
1473         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
1475         * org-table.el (org-table-align): Change the order of reinsertion
1476         and deletion, to avoid problems with overlays following the table.
1478         * org.el (org-parse-time-string): Better error message.
1479         (org-show-subtree): Use org-end-of-subtree.
1481         * org-macs.el (org-goto-line): New defsubst.
1483         * org.el (org-open-file, org-change-tag-in-region)
1484         (org-fast-tag-show-exit): Don't use `goto-line'.
1486         * org-table.el (org-table-align, org-table-insert-column)
1487         (org-table-delete-column, org-table-move-column)
1488         (org-table-sort-lines, org-table-copy-region)
1489         (org-table-paste-rectangle, org-table-wrap-region)
1490         (org-table-get-specials, org-table-rotate-recalc-marks)
1491         (org-table-get-range, org-table-recalculate)
1492         (org-table-edit-formulas, org-table-fedit-convert-buffer)
1493         (org-table-show-reference, org-table-highlight-rectangle): Don't
1494         use `goto-line'.
1496         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1497         (org-edit-src-exit): Don't use `goto-line'.
1499         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
1501         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
1502         Don't use `goto-line'.
1504         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
1506         * org-colview.el (org-columns, org-columns-redo)
1507         (org-agenda-columns): Don't use `goto-line'.
1509         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
1510         use `goto-line'.
1512         * org-agenda.el (org-agenda-mode): Force visual line motion off.
1513         (org-agenda-add-entry-text-maxlines): Improve docstring.
1514         (org-agenda-start-with-entry-text-mode): New option.
1515         (org-agenda-entry-text-maxlines): New option.
1516         (org-agenda-entry-text-mode): New variable.
1517         (org-agenda-mode): Set initial value of
1518         `org-agenda-entry-text-mode'.
1519         (org-agenda-mode-map): Add the `E' key.
1520         (org-agenda-menu): Add entry text mode to the menu.
1521         (org-agenda-get-some-entry-text): Fix line count bug.
1522         (org-finalize-agenda): Apply entry text mode if appropriate.
1523         (org-agenda-entry-text-show-here): New function.
1524         (org-agenda-entry-text-show): New function.
1525         (org-agenda-entry-text-hide): New function.
1526         (org-agenda-view-mode-dispatch): Add entry text mode to the view
1527         key menu.
1528         (org-agenda-entry-text-mode): New command.
1529         (org-agenda-set-mode-name): Add entry text mode to the mode line
1530         string.
1531         (org-agenda-undo, org-agenda-get-restriction-and-command)
1532         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
1533         `goto-line'.
1535 2009-09-02  Bernt Hansen  <bernt@norang.ca>
1537         * org-clock.el (org-notify): Bugfix.
1539 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1541         * org-agenda.el (org-agenda-open-link): Handle multiple links and
1542         check for after-string.
1544         * org-gnus.el (org-gnus-store-link): Simplify.
1546         * org.el (org-latex-regexps): Don't add extra empty lines for
1547         display formulas.
1549 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1551         * org-agenda.el (org-agenda-get-some-entry-text): New function.
1552         (org-agenda-add-entry-text): Use
1553         `org-agenda-get-some-entry-text'.
1555         * org.el (org-cycle-separator-lines): Update docstring.
1556         (org-cycle-show-empty-lines): Handle negative values for
1557         `org-cycle-show-empty-lines'.
1559         * org-exp.el (org-export-protect-sub-super): New function.
1560         (org-export-normalize-links): Protect the url of plain links from
1561         supscript and superscript processing.
1563         * org-remember.el (org-remember-escaped-%): New function.
1564         (org-remember-apply-template): Use `org-remember-escaped-%' to
1565         detect escaped % signs.
1567 2009-09-02  Bastien Guerry  <bzg@altern.org>
1569         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
1570         sound when showing the notification.
1572         * org-clock.el (org-notify): New function.
1573         (org-clock-notify-once-if-expired): Use `org-notify'.
1575         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
1576         and `gnus-article-mode' separately.
1577         (gnus-summary-article-header): Fix the declare-function.
1579 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1581         * org-exp.el (org-export-format-source-code-or-example): Translate
1582         language.
1584         * org-src.el (org-src-lang-modes): New variable
1585         (org-edit-src-code): Translate language.
1587         * org-exp.el (org-export-format-source-code-or-example): Deal wit
1588         the new structure of the `org-export-latex-listings-langs'
1589         variable.
1591         * org-latex.el (org-export-latex-listings-langs): Change structure
1592         of the variable from plist to alist.
1594 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1596         * org.el (org-in-commented-line): New function.
1598 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1600         * org.el (org-hide-block-toggle): Make folded blocks searchable.
1602 2009-09-02  Friedrich Delgado Friedrichs  <friedel@nomaden.org>  (tiny change)
1604         * org.el (org-flag-drawer): More useful error.
1606 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1608         * org-remember.el (org-remember-apply-template): Use
1609         org-icompleting-read.
1611         * org-publish.el (org-publish): Use org-icompleting-read.
1613         * org-colview.el (org-columns-edit-value, org-columns-new)
1614         (org-insert-columns-dblock): Use org-icompleting-read.
1616         * org-colview-xemacs.el (org-columns-edit-value)
1617         (org-columns-new, org-insert-columns-dblock): Use
1618         org-icompleting-read.
1620         * org-attach.el (org-attach-delete-one, org-attach-open): Use
1621         org-icompleting-read.
1623 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1625         * org.el (org-hierarchical-todo-statistics): Improve docstring.
1626         (org-version): Return the version text.
1627         (org-org-menu): Add a menu entry for the new bug reporter.
1628         (org-submit-bug-report): New command.
1630         * org-list.el (org-hierarchical-checkbox-statistics): Improve
1631         docstring.
1633         * org.el (org-emphasis-regexp-components): Add "`" to set of
1634         pre-emphasis characters.
1636         * org-latex.el (org-export-latex-classes): Always include the soul
1637         package.
1638         (org-export-latex-emphasis-alist): Use \st for strikethough.
1640         * org-exp-blocks.el (org-export-blocks-preprocess): Use
1641         `indent-code-rigidly' to indent.
1643         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
1644         properties only if MATCH really is a string.
1646 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1648         * org-latex.el (org-export-latex-packages-alist): Fix
1649         customization type.
1651         * org.el (org-create-formula-image): Also use
1652         `org-export-latex-packages-alist'.
1654         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
1655         (org-export-as-html): Format footnotes correctly.
1657 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1659         * org.el (org-fast-tag-selection): Avoid text properties on tags
1660         in the alist.
1662         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
1663         text properties on the match element.
1665 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1667         * org.el (org-set-regexps-and-options): Make sure the list of done
1668         keywords is not invalid.
1670         * org-exp.el (org-export-interpolate-newlines): New function.
1672 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1674         * org.el (org-format-latex): Avoid nested overlays.
1676         * org-latex.el (org-export-latex-listings-langs): Add a few more
1677         languages.
1679         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
1680         ignore newlines and space before the first macro argument.
1682         * org-latex.el (org-export-latex-tables): Remove save-excursion
1683         around `org-table-align'.
1685 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1687         * org.el (org-export-html-special-string-regexps): Definition
1688         moved into org.el.
1690         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1691         in macro calls.
1693 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1695         * org-latex.el (org-export-latex-listings)
1696         (org-export-latex-listings-langs): New options.
1698         * org-exp.el (org-export-format-source-code-or-example): Use
1699         listing package if requested by the user.
1701 2009-09-02  Bastien Guerry  <bzg@altern.org>
1703         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1704         command before actually switching to a buffer.
1706 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1708         * org-exp.el (org-get-file-contents): Only quote org lines when
1709         the markup is src or example.
1711         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1712         New option
1713         (org-agenda-get-day-entries): Remember deadline results and pass
1714         them on into the function getting the scheduling information.
1715         (org-agenda-get-scheduled): Accept deadline results as parameters
1716         and maybe skip some entries.
1717         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1719         * org.el (org-insert-heading): When respecting content, do not
1720         convert current line to headline.
1722         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1723         cheeeeeck the hd marker
1724         (org-clock-in): Also set the hd marker.
1725         (org-clock-out): Also set the hd marker.
1726         (org-clock-cancel): Reset markers.
1728         * org.el (org-clock-hd-marker): New marker.
1730         * org-faces.el (org-agenda-clocking): New face.
1732         * org-agenda.el (org-agenda-mark-clocking-task): New function.
1733         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1735         * org.el (org-modules): Add org-track.el.
1737         * org-agenda.el (org-agenda-bulk-marked-p): New function.
1738         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1739         `org-agenda-bulk-marked-p'.
1740         (org-agenda-bulk-toggle): New command.
1742 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
1744         * org.el (org-move-subtree-down): Hide subtree if it was folded,
1745         not just the body.
1747         * org-remember.el (org-remember-finalize): Avoid buffer-modified
1748         messages.
1750 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1752         * org-html.el (org-export-as-html):
1753         * org-docbook.el (org-export-as-docbook):
1754         Use (default-value 'major-mode) instead of default-major-mode.
1756 2009-08-08  Carsten Dominik  <carsten.dominik@gmail.com>
1758         * org-docbook.el: Add arch-tag.
1760         * org-exp-blocks.el: Add arch-tag.
1762         * org-id.el: Add arch-tag.
1764         * org-indent.el: Add arch-tag.
1766         * org-inlinetask.el: Add arch-tag.
1768         * org-protocol.el: Add arch-tag.
1770 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1772         * org.el (org-create-formula-image): Remove the -E option for
1773         dvipng.
1775         * org-exp.el (org-default-export-plist): Respect #+BIND.
1776         (org-export-confirm-letbind): New function.
1778         * org.el (org-paste-subtree): Test the kill ring entry if it is
1779         going to be used.
1780         (org-copy-subtree): Use `org-forward-same-level'.
1781         (org-forward-same-level): Respect the `invisibe-ok' arg for
1782         back-to-heading.
1784 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1786         * org.el (org-table-map-tables): Make sure cursor is back at table
1787         beginning after funcall.
1789         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1790         handled before children, and do not error if an entry is not
1791         found, probably because it hase been remove when the parent was
1792         archived or refiled.
1794         * org.el (org-ido-completing-read): Accept straight lists for
1795         completion as well as alists.
1797         * org-timer.el (org-timer-cancel-timers): Rename from
1798         `org-timer-cancel-timers'.
1800         * org.el (org-cycle-internal-local): Fix problem with finding next
1801         invisible line.
1803 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1805         * org-list.el (org-list-send-list): Call
1806         `org-list-goto-true-beginning' instead of
1807         `org-list-find-true-beginning', which does not exist.
1809         * org-timer.el (org-timer-reset-timers): Use `mapc'.
1810         (org-timer-set-timer): Do not assign to heading.
1812         * org-id.el (org-id-open): Quote function name.
1814         * org-macs.el (org-unmodified): Turn off recording undo
1815         information while running inside the macro.
1817         * org-table.el (org-table-export): Also work in file-less
1818         buffers.
1820         * org.el (org-startup-indented): New option.
1821         (org-startup-options): Add new options indent and noindent.
1822         (org-unfontify-region): Remove line-prefix and wrap-prefix
1823         properties.
1824         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
1825         hooks.
1826         (org-promote, org-demote): Run the new hooks.
1828         * org-table.el (org-table-align): Replace leading \n as well.
1830         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
1831         and `line-wrap' text properties.
1833         * org-compat.el (org-kill-new): New function.
1835         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
1836         `line-wrap' text properties.
1838         * org-indent.el: New file.
1840 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1842         * org.el (org-provide-todo-statistics): Tweak docstring.
1844         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
1846 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1848         * org-exp.el (org-export-as-org): Insert the "-source" string
1849         before the extension.
1851         * org.el (org-read-date): Make sure the calendar is in the current
1852         frame.
1853         (org-set-emph-re): Remove the ? from the post-match.
1854         (org-emphasis-regexp-components): Add backslash to the
1855         postmatch class.
1856         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
1857         optional so that also lines at the end of the buffers will still
1858         be matched as headlines.
1860         * org-table.el (org-table-error-on-row-ref-crossing-hline):
1861         Variable made obsolete.
1862         (org-table-relative-ref-may-cross-hline): New option.
1863         (org-table-find-row-type): Honow the new option
1864         `org-table-relative-ref-may-cross-hline'.
1866 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1868         * org-table.el (org-table-cut-region, org-table-copy-region): Work
1869         on single field if no active region.
1871 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1873         * org-latex.el (org-export-latex-make-header): Only insert title
1874         if one is defined.
1876         * org.el (org-make-options-regexp): Allow empty values.
1878 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1880         * org.el (org-cycle-internal-local): Improved version of finding
1881         next visible line.
1882         (org-cycle-hide-drawers): Only hide drawers if this is really
1883         necessary.
1884         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
1885         org-version of this function in Org-mode.  We use advice to
1886         implement this change, so that future changes to this function in
1887         outline.el wil be handled properly.
1888         (org-forward-same-level, org-backward-same-level): New commands.
1890 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1892         * org.el (org-remove-empty-overlays-at)
1893         (org-clean-visibility-after-subtree-move): New functons.
1894         (org-move-subtree-down): Simplify cleanup of display.
1896 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1898         * org-mac-message.el (org-mac-message-get-links): Improve
1899         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
1900         "s".  Fix the return value.
1901         (org-mac-message-insert-flagged): Simplify.
1903         * org.el (org-refile-get-location): Tamper with refile history o
1904         that history contains compete matches instead of the entered
1905         string.
1907 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1909         * org.el (org-store-link): Never store a link to an inline task.
1911         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
1912         inline tasks when positioning footnotes.
1914         * org.el (org-refile): Remove the END line when archiving an
1915         inline task that does have an END line.
1917         * org-archive.el (org-archive-subtree): Remove the END line when
1918         archiving an inline task that does have an END line.
1920         * org-macs.el (org-with-limited-levels): New macro.
1921         (org-get-limited-outline-regexp): New function.
1923         * org-exp.el (org-export-format-source-code-or-example): Fix bug
1924         that did not enumerate first line.
1925         (org-export-mark-radio-links): Skip matches in links.
1927 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1929         * org.el (org-activate-plain-links): Make single-match.
1930         (org-adapt-indentation): Fix docstring.
1932         * org-macs.el (org-unmodified): Turn of modification hooks while
1933         running this macro.
1935 2009-08-06  Bastien Guerry  <bzg@altern.org>
1937         * org.el (org-adapt-indentation): Slightly improve the docstring.
1938         (org-occur): Sends an error when the user inputs an empty string.
1939         (org-priority): Bugfix: the tag alignement should happen within
1940         save-excursion.
1942 2009-08-06  Bastien Guerry  <bzg@altern.org>
1944         * org.el (org-make-link-regexps): Don't exclude parentheses from
1945         `org-plain-link-re'
1946         (org-cycle-internal-local): When locally cycling, switch directly
1947         from CHILDREN to FOLDED if there is no subtree
1948         (org-cycle): Update the docstring to document the new behavior of
1949         `org-cycle-internal-local'.
1951 2009-08-06  Nicolas Goaziou  <n.goaziou@neuf.fr>  (tiny change)
1953         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
1954         an abbreviated format for days.
1956 2009-08-06  Bastien Guerry  <bzg@altern.org>
1958         * org-protocol.el (org-protocol-default-template-key): New
1959         option.
1961         * org.el (org-refile): Bugfix: save-excursion before reading the
1962         refile target, otherwise cursor moves might confuse `org-refile'.
1964         * org.el (org-toggle-heading): Bugfix: correctly convert list
1965         items before the first headline.
1967         * org.el (org-provide-todo-statistics): Allow a list of TODO
1968         keywords to compute statistics against headlines containing a
1969         keyword from this list.
1970         (org-update-parent-todo-statistics): Possibly use the new allowed
1971         value of `org-provide-todo-statistics'.
1973 2009-08-06  Bastien Guerry  <bzg@altern.org>
1975         * org-timer.el: Add autoload cookie.
1977         * org.el (org-occur-link-in-agenda-files): New function.
1979         * org-timer.el (org-timer-last-timer): New variable.
1981         * org-agenda.el (org-agenda-mode-map): New key for
1982         org-timer-set-timer called from the agenda.
1984         * org.el (org-mode-map): New key for org-timer-set-timer.
1986         * org-timer.el (org-timer-reset-timers)
1987         (org-timer-show-remaining-time, org-timer-set-timer): New
1988         functions.
1990         * org-clock.el (org-show-notification): Update the docstring.
1992         * org.el (org-provide-todo-statistics): Allow new value
1993         'all-headlines for this option, which includes entries with no
1994         TODO keywords in the todo statistics.
1995         (org-update-parent-todo-statistics): Possibly use the new
1996         'all-headline value from `org-provide-todo-statistics'.
1998 2009-08-06  Bastien Guerry  <bzg@altern.org>
2000         * org-clock.el (org-dblock-write:clocktable): Add a new option
2001         :timestamp which allows display of timestamps in clock reports.
2003         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
2004         list to a subtree, preserving the structure of the list.
2005         (org-set-emph-re): Make the last element optional in the regexp.
2006         This regexp now matches an emphasized string at the end of a line.
2008         * org-list.el (org-list-goto-true-beginning)
2009         (org-list-make-subtree, org-list-make-subtrees): New functions.
2011         * org.el (org-eval-in-calendar): Select the right frame.
2012         (org-save-frame-excursion): Remove this macro.
2014 2009-08-06  Bastien Guerry  <bzg@altern.org>
2016         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
2017         trying to find the beginning of a list.
2019         * org-exp.el (org-get-file-contents): Use a new argument: markup.
2020         When present, tell org-get-file-contents not to protect org-like
2021         lines.
2023         * org-id.el (org-id-uuid-program): New option to set the name of
2024         the uuidgen program.
2025         (org-id-method): Use `org-id-uuid-program'.
2026         (org-id-new): Use `org-id-uuid-program'.
2028 2009-08-06  Bastien Guerry  <bzg@altern.org>
2030         * org-exp.el (org-export-number-lines): Allow whitespace in code
2031         references.  Allow the -r switch to remove the references in the
2032         source code even when the lines are not numbered: the labels can
2033         be explicit enough.
2035         * org.el (org-fontify-whole-heading-line): New option.
2036         (org-set-font-lock-defaults): Use the new option.
2038         * org-clock.el (org-show-notification-handler): New option.
2039         (org-show-notification): Use the new option.
2041 2009-08-06  Bastien Guerry  <bzg@altern.org>
2043         * org.el (org-eval-in-calendar): Fix a bug about calendar
2044         navigation when `calendar-setup' value is 'calendar-only.
2046 2009-08-06  Bastien Guerry  <bzg@altern.org>
2048         * org.el (orgstruct++-mode): Fix typo in docstring.
2049         (org-insert-link): Clean up: (or (...)) => (...)
2050         (org-insert-link): Use TAB for stored links completion.
2052 2009-08-06  Bastien Guerry  <bzg@altern.org>
2054         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
2055         building the list of targets.
2057         * org-remember.el (org-remember-delete-empty-lines-at-end): New
2058         option.
2059         (org-remember-handler): Use the new option.
2061 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2063         * org.el (org-tags-sort-function): New option for sorting tags.
2064         (org-set-tags): Use the new option to sort tags.
2066         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
2067         premature deletion of the data when using org-plot in a script.
2069 2009-08-06  Bastien Guerry  <bzg@altern.org>
2071         * org-clock.el (org-clock-in-prepare-hook): New hook.
2072         (org-clock-in): Use this new hook.
2074 2009-08-06  Bastien Guerry  <bzg@altern.org>
2076         * org.el (org-special-ctrl-a/e): Explicitely bind the value
2077         'reversed for this option to the "true line boundary first"
2078         behavior.
2079         (org-tags-match-list-sublevels): Document the 'indented value for
2080         this variable.
2082         * org-latex.el (org-export-latex-first-lines): Fix problem with
2083         publishing the region.
2085         * org-exp.el (org-export-format-source-code-or-example): Fix
2086         bad line numbering when exporting examples in HTML.
2088 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
2090         * org-colview.el (org-format-time-period): Formats a time in
2091         fractional days as days, hours, mins, seconds.
2092         (org-columns-display-here): Add special handling for SINCE and
2093         SINCE_IA to format for display.
2095         * org.el (org-time-since): Add a function to get the time since an
2096         org timestamp.
2097         (org-entry-properties): Add two new special properties: SINCE and
2098         SINCE_IA.  These give the time since any active or inactive
2099         timestamp in an entry.
2100         (org-special-properties): Add SINCE, SINCE_IA.
2101         (org-tags-sort-function): Add custom declaration for tags
2102         sorting function.
2103         (org-set-tags): Sort tags if org-tags-sort-function is set.
2105 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2107         * org-clock.el (org-clock-goto): Find hidden headlines as well.
2109         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
2111         * org-plot.el (org-plot/add-options-to-plist): Add timeind
2112         option.
2114 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2116         * org-publish.el (org-publish-remove-all-timestamps): New function.
2117         (org-publish-all): Remove all timestamp files if `org-publish-all'
2118         is called with a prefix argument.
2120         * org-list.el (org-indent-item): Fix typo.
2121         (org-item-indent-positions): Normalize ordered bullet.
2123 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2125         * org-macs.el (org-set-local): Make a local variable, do not make
2126         the variable buffer-local!
2128         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
2130         * org-exp.el (org-infile-export-plist): Read BIND lines.
2131         (org-install-letbind): New function.
2132         (org-export-as-org, org-export-preprocess-string): Call
2133         `org-install-letbind'.
2135         * org-list.el (org-list-demote-modify-bullet): New option.
2136         (org-first-list-item-p): Save point.
2137         (org-fix-bullet-type): New optional argument FORCE-BULLET.
2138         (org-indent-item): Honor `org-list-demote-modify-bullet'.
2139         (org-item-indent-positions): Return bullet types along with
2140         indentation.
2142 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2144         * org.el (org-show-entry): Hide drawers.
2146 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2148         * org-footnote.el (org-footnote-auto-adjust): New option.
2149         (org-footnote-auto-adjust-maybe): New function.
2150         (org-footnote-new, org-footnote-delete): Call
2151         `org-footnote-auto-adjust-maybe'.
2153         * org.el (org-startup-options): Add new footnote-related
2154         keywords.
2156         * org-publish.el (org-publish-timestamp-filename): Additional
2157         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
2158         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
2159         TRUE-PUB-DIR.  Pass them through to
2160         `org-publish-timestamp-filename'.
2161         (org-publish-update-timestamp): Additional arguments PUB-DIR and
2162         PUB-FUNC, which are included in the hash.
2163         (org-publish-file): Delay timestamp test until the publishing
2164         function is known.
2166 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2168         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
2169         setting the deadline.
2171         * org.el (org-read-date-final-answer): New variable.
2172         (org-read-date): Store the final answer string, including the date
2173         from the calendar, for reuse by agenda bulk commands.
2175         * org-publish.el (org-publish-attachment): Fix publishing of
2176         attachments.
2178         * org-latex.el (org-export-latex-quotation-marks): Fix export of
2179         quotation makrs in parenthesis.
2180         (org-remove-initial-hash): New function.
2181         (org-export-latex-preprocess): Fix bug with infinite loop if
2182         environment is not properly closed.
2184         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
2185         when indented.
2187         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
2188         highlight also when indented.
2190 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2192         * org-footnote.el (org-footnote-renumber-fn:N): New command.
2193         (org-footnote-action): Offer renumbering.
2195         * org.el (org-cycle): Honor the `integrate' value of
2196         org-cycle-include-plain-lists'.
2198         * org-list.el (org-cycle-include-plain-lists): New allowed value
2199         `internal'.  Improve the docstring.
2201         * org.el (org-set-autofill-regexps): Improve the paragraph-start
2202         regexp to work better with LaTeX commands.
2204 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2206         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
2207         and eps extensions.
2209 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2211         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
2212         loaded.
2214         * org.el (org-map-entries): No longer force
2215         `org-tags-match-list-sublevels' to t during a todo-only tags
2216         search.
2218 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2220         * org-latex.el (org-export-latex-low-levels): Allow user-defined
2221         environment.
2222         (org-export-latex-subcontent): Handle user-defined environment.
2224         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
2225         the View dispatcher.
2227         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
2228         `make-overlay'.
2230         * org-latex.el (org-export-as-pdf): Protect match data during call
2231         to shell-quote-argument.
2233         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
2234         (org-agenda-view-mode-dispatch): New function.
2236 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2238         * org-agenda.el (org-agenda-mode): Reset list of marks.
2239         (org-agenda-mode-map): Define new keys for refile and bulk action.
2240         (org-agenda-menu): Add menu itesm for refile and bulk action.
2241         (org-agenda-refile): New function.
2242         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
2243         (org-agenda-marked-entries): New variable.
2244         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
2245         (org-agenda-remove-all-bulk-action-marks)
2246         (org-agenda-bulk-action): New functions/commands.
2248 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2250         * org-exp.el (org-get-file-contents): Protect org-like lines in
2251         included files.
2252         (org-export-format-source-code-or-example): Remove newlines.
2254         * org-latex.el (org-export-latex-links): Check for no-description
2255         marking.
2257         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
2258         argument separator back to comma.
2259         (org-export-normalize-links): Mark links without description.
2261 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2263         * org-exp.el (org-infile-export-plist): Fix bug in macro
2264         processing.
2266         * org-agenda.el (org-agenda-clock-out): Update line after clocking
2267         out.
2268         (org-agenda-highlight-todo): Fix bug with highlighting.
2270 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2272         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
2273         new alignment strings.
2275         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
2276         command list.
2277         (org-table-align): Check for forced align type.
2279         * org.el (org-self-insert-command): Add yas/expand to command
2280         list.
2282         * org-clock.el (org-clock-in-hook): New hook.
2283         (org-clock-in): Run `org-clock-in-hook.
2284         (org-clock-out-hook): New hook.
2285         (org-clock-out): Run `org-clock-out-hook.
2286         (org-clock-cancel-hook): New hook.
2287         (org-clock-cancel): Run `org-clock-cancel-hook.
2288         (org-clock-goto-hook): New hook.
2289         (org-clock-goto): Run `org-clock-goto-hook.
2291 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2293         * org.el (org-store-link): Better default description for link to
2294         Org-mode headline.
2296         * org-exp.el (org-export-generic): Autoload the generic exporter
2297         function.
2298         (org-export): Implement the `g' key for the generic exporter.
2300 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2302         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
2303         and for zbacktab'.
2305         * org-exp.el (org-infile-export-plist): Get macros also from
2306         #+SETUPFILE.
2308 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2310         * org-colview.el (org-columns-capture-view): Protect vertical bars
2311         in column values.
2312         (org-columns-capture-view): Exclude comment and archived trees.
2314         * org-colview-xemacs.el (org-columns-capture-view): Protect
2315         vertical bars in column values.
2316         (org-columns-capture-view): Exclude comment and archived trees.
2318         * org.el (org-quote-vert): New function.
2320         * org-latex.el (org-export-latex-verbatim-wrap): New option.
2322         * org-exp.el (org-export-format-source-code-or-example): Use
2323         `org-export-latex-verbatim-wrap'.
2325         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
2326         time stamps.
2328 2009-08-06  Eric Schulte  <schulte.eric@gmail.com>
2330         * org-exp-blocks.el: New file.
2332 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2334         * org-remember.el (org-remember-templates): Allow the headline
2335         element to be a function.
2336         (org-remember-apply-template): If the headline is a function, call
2337         it to get the true function.
2339         * org-clock.el (org-clock-menu): New function.
2340         (org-clock-update-mode-line): Update help string.
2341         (org-clock-modify-effort-estimate): New function.
2342         (org-clock-mark-default-task): New function.
2344         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
2345         minutes as input.
2346         (org-org-menu): Add new clocking stuff.
2347         (org-clock-is-active): New function.
2349 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2351         * org.el (org-open-non-existing-files): Improve docstring.
2353 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2355         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
2356         option.
2357         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
2359         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
2361         * org-list.el (org-get-checkbox-statistics-face): Use the new
2362         faces.
2364         * org-faces.el (org-checkbox-statistics-todo)
2365         (org-checkbox-statistics-done): New faces.
2367 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2369         * org-latex.el (org-export-latex-use-verb): New variable.
2370         (org-export-latex-emph-format): Prefer \texttt over \verb when
2371         org-export-latex-use-verb is set.
2373 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2375         * org-remember.el (org-remember-handler): Abort remember if the
2376         buffer is empty.
2378         * org-exp.el (org-export-format-source-code-or-example): Run
2379         `org-src-mode-hook'.
2381 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2383         * org.el (org-indent-line-function): Fix indentation of +#end lines.
2385 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
2387         * org-gnus.el (org-gnus-store-link): Require message.el in
2388         org-gnus-store-link.
2390 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2392         * org-src.el: New file, split out of org.el.
2394         * org-macs.el (org-replace-match-keep-properties): New function.
2396         * org-exp.el (org-export-mark-blockquote-verse-center): Better
2397         preprocessing of center and quote and verse blocks.
2399         * org-list.el (org-list-end): Respect the stored "original"
2400         indentation when determining the end of the list.
2402         * org-exp.el (org-export-replace-src-segments-and-examples):
2403         Remember indentation correctly.
2405 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2407         * org-clock.el (org-clock-update-mode-line): Apply face
2408         org-mode-line-clock.
2410         * org-faces.el (org-mode-line-clock): New face.
2412 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
2414         * org-gnus.el (org-gnus-store-link): Fix bug where
2415         `org-gnus-store-link' used wrong subject when called in an article
2416         buffer.  Patch provided by fengli AT gmail DOT com.
2418 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2420         * org-exp.el (org-export-format-source-code-or-example): Remember
2421         the original indentation of source code snippets and examples.
2423         * org-latex.el (org-export-as-latex): Relocate the table of
2424         contents.
2426         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
2428         * org-agenda.el (org-run-agenda-series): Scope global options also
2429         when creating the agenda buffer.
2431 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2433         * org.el (org-adapt-indentation): Improve documentation.
2434         (org-insert-property-drawer): Respect org-adapt-indentation when
2435         inserting the drawer.
2436         (org-remove-flyspell-overlays-in): New function.
2437         (org-do-emphasis-faces, org-activate-plain-links)
2438         (org-activate-code, org-fontify-meta-lines-and-blocks)
2439         (org-activate-angle-links, org-activate-footnote-links)
2440         (org-activate-bracket-links, org-activate-dates)
2441         (org-activate-target-links, org-activate-tags): Remove flyspell
2442         overlays.
2444 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2446         * org.el (org-edit-src-save): New function.
2448         * org-clock.el (org-clock-out-switch-to-state): New option.
2449         (org-clock-out): Honor `org-clock-out-switch-to-state'.
2451         * org-compat.el (org-compatible-face): Improve macro.
2453         * org.el (org-global-properties-fixed): Add default for
2454         CLOCK_MODELINE_TOTAL.
2456         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
2457         andd tend.
2458         (org-clock-sum-current-item): Optional argument TSTART, pass it to
2459         org-clock-sum.
2460         (org-clock-get-sum-start): New function.
2462         * org.el (org-startup-options): New keywords blockhide and
2463         blockshow.
2464         (org-mode): Add new invisibility spec.
2465         (org-set-startup-visibility): Hide block on startup if so
2466         desired.
2467         (org-hide-block-startup): New option.
2468         (org-block-regexp): New constant.
2469         (org-hide-block-overlays): New variable.
2470         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
2471         (org-show-block-all, org-hide-block-toggle-maybe)
2472         (org-hide-block-toggle): New functions.
2473         (org-edit-src-exit): Do not quote lines starting with # and no +
2474         behind it.
2475         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
2476         entry.
2478 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2480         * org.el (org-buffer-property-keys): Add Effort property for
2481         completion.
2483 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2485         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
2486         when retrieving total clocked time in the subtree.
2488         * org.el (org-quoting-blocks): New variable.
2490 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2492         * org-table.el (org-table-store-formulas)
2493         (org-table-get-stored-formulas, org-table-fix-formulas)
2494         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
2495         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
2497         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
2498         indented #+TBLFM line.
2500         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
2501         indented #+TBLFM line.
2503         * org-colview.el (org-dblock-write:columnview): Allow indented
2504         #+TBLFM line.
2506         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
2507         indented #+TBLFM line.
2509         * org-clock.el (org-dblock-write:clocktable): Allow indented
2510         #+TBLFM line.
2512 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2514         * org-exp.el (org-export-format-source-code-or-example): Make
2515         editing indented blocks work correctly.
2517         * org.el (org-edit-src-nindent): New variable.
2518         (org-edit-src-code, org-edit-fixed-width-region)
2519         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
2520         editing indented blocks work correctly.
2522 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2524         * org-exp.el (org-export-replace-src-segments-and-examples): Find
2525         indented blocks.
2526         (org-export-format-source-code-or-example): Fix indentation of
2527         blocks.
2528         (org-export-remove-indentation): New function.
2529         (org-export-select-backend-specific-text): Allow backend-specific
2530         code to be indented.
2531         (org-export-mark-blockquote-verse-center): Allow markers to be
2532         indented.
2534         * org.el (org-fontify-meta-lines): New function.
2535         (org-set-font-lock-defaults): Call the new fontification
2536         function.
2538         * org-faces.el (org-meta-line): New face
2539         (org-block): New face.
2541 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2543         * org.el (org-treat-insert-todo-heading-as-state-change)
2544         (org-treat-S-cursor-todo-selection-as-state-change): New
2545         variables.
2546         (org-insert-todo-heading): Honor
2547         `org-treat-insert-todo-heading-as-state-change'.
2548         (org-shiftright, org-shiftleft): Honor
2549         `org-treat-S-cursor-todo-selection-as-state-change'.
2550         (org-inhibit-logging): New variable.
2552 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2554         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
2555         range for marker position checking.
2557         * org-latex.el (org-export-latex-first-lines): Fix bug when
2558         exporting a region.
2560 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2562         * org-exp.el (org-export-push-to-kill-ring): Protect using
2563         x-set-selection, because that does not always work.
2565         * org-agenda.el (org-agenda-list): Apply the new face
2566         `org-agenda-date-today'.
2568         * org-faces.el (org-agenda-date-today): New face.
2570 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2572         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
2573         creating appointments.
2575         * org-latex.el (org-export-latex-low-levels): Fix customization
2576         type.
2578         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
2579         priority commands.
2581         * org-agenda.el (org-agenda-priority): Disable priority commands.
2583         * org.el (org-enable-priority-commands): New option.
2585         * org-colview-xemacs.el (org-columns-compute)
2586         (org-columns-number-to-string): Fix problems with empty fields.
2588         * org-colview.el (org-columns-compute)
2589         (org-columns-number-to-string): Fix problems with empty fields.
2591         * org-exp.el (org-export-push-to-kill-ring): New function.
2592         (org-export-copy-to-kill-ring): New option.
2594         * org-latex.el (org-export-as-latex): Call
2595         `org-export-push-to-kill-ring'.
2597         * org-exp.el (org-export-show-temporary-export-buffer): New
2598         option.
2600         * org-latex.el (org-export-as-latex): Use
2601         `org-export-show-temporary-export-buffer'.
2603         * org-exp.el (org-export-show-temporary-export-buffer): New
2604         option.
2605         (org-export-push-to-kill-ring): New function.
2607         * org-colview.el (org-columns-compile-map): New variable.
2608         (org-columns-new, org-columns-compute)
2609         (org-columns-number-to-string, org-columns-uncompile-format)
2610         (org-columns-compile-format): Implement new operators.
2612 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2614         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2616         * org-list.el (org-update-checkbox-count): Make property
2617         dependent.
2619         * org.el (org-hierarchical-todo-statistics): New option.
2620         (org-update-parent-todo-statistics): Modify to handle recursive
2621         statistics.
2623 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2625         * org-publish.el (org-publish): Make this function behave
2626         correctly in interactive use when called with a prefix argument.
2628         * org.el (org-todo-statistics-hook): New hook.
2629         (org-update-parent-todo-statistics): Use new hook.
2630         (org-log-into-drawer): New function.
2631         (org-add-log-setup): Use the new `org-log-into-drawer' function to
2632         determine if we should be logging into a drawer.
2633         (org-log-into-drawer): Update docstring.
2634         (org-default-properties): Add LOG_INTO_DRAWER as a property.
2636         * org-list.el (org-checkbox-statistics-hook): New hook.
2637         (org-update-checkbox-count-maybe): Use new hook.
2639 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2641         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2642         better bufer-generating mechanism.
2643         (org-edit-src-find-buffer): New function.
2645         * org-icalendar.el (org-print-icalendar-entries): Don't check for
2646         archive tag, this is already done by `org-agenda-skip'.
2647         data while constructing lost of tags.
2649 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2651         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2652         as argument separator in macros.
2654 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2656         * org.el (org-after-sorting-entries-or-items-hook): New hook.
2657         (org-sort-entries-or-items): Run the new hook.
2658         (org-after-refile-insert-hook): New hook.
2659         (org-refile): Run `org-after-refile-insert-hook'.
2661         * org-agenda.el (org-agenda-get-progress): Never take time of day
2662         from headline when displaying progress.
2664         * org-latex.el (org-export-latex-complex-heading-re): New variable.
2665         (org-export-as-latex): Force the correct regexp in the
2666         preprocessor buffer.
2667         (org-export-latex-set-initial-vars): Set
2668         `org-export-latex-complex-heading-re'.
2670         * org-agenda.el (org-agenda-start-with-log-mode): New option.
2671         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2673 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2675         * org-latex.el (org-export-latex-tables-centered): New option.
2676         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2678         * org-exp.el (org-export-as-org): New command.
2679         (org-export-as-org): New command.
2681         * org-publish.el (org-publish-org-to-org): New function.
2683 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2685         * org.el (org-yank): Just call `org-yank-generic'.
2686         (org-yank-generic): New function, containing the formaer
2687         functionality of `org-yank'.
2689         * org-latex.el (org-export-latex-not-done-keywords)
2690         (org-export-latex-done-keywords): New variables.
2691         (org-export-latex-todo-keyword-markup): New option.
2692         (org-export-latex-set-initial-vars): Remember the TODO keywords.
2693         (org-export-latex-keywords-maybe): Apply the TODO markup.
2695 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2697         * org-exp.el (org-infile-export-plist): Add more default macros.
2698         (org-export-preprocess-apply-macros): Process macro arguments.
2700 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2702         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
2703         `unblocked'.
2704         (org-print-icalendar-entries): Respect the new value of
2705         `org-icalendar-include-todo'.
2707         * org.el (org-link-try-special-completion)
2708         (org-file-complete-link): New functions.
2709         (org-insert-link): Add special completion support for some link
2710         types.
2712         * org-bbdb.el (org-bbdb-complete-link): New function.
2714 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2716         * org-list.el (org-update-checkbox-count): Allow recursive
2717         statistics.
2718         (org-hierarchical-checkbox-statistics): New option.
2720         * org.el (org-cycle): Remove erraneous space character.
2722         * org-icalendar.el (org-icalendar-timezone): Initialize from
2723         environment.
2725 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2727         * org.el (org-autoload): Fix autoloading of ascii export
2728         functions.
2729         (org-modules): Add org-special-blocks.
2731 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2733         * org-icalendar.el (org-start-icalendar-file): Use the new option.
2734         (org-ical-timezone): New option.
2736         * org-exp.el (org-export-get-coderef-format): Use the description
2737         is present.
2739         * org.el (org-sort-entries-or-items): Improve docstring, and make
2740         better implementation for time sorting.
2742 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2744         * org.el (org-edit-src-persistent-message): New option.
2745         (org-edit-src-code, org-edit-fixed-width-region): Use the new
2746         option.
2748         * org-clock.el (org-clock-insert-selection-line): Fix prefious
2749         patch.
2751         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
2752         separate buffer instead of indirect buffer to edit source code.
2753         (org-edit-src-exit): Make this function work with the new setup.
2755         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
2756         are properly fontified before shown in the selection menu.
2758         * org.el (org-fontify-like-in-org-mode): New function.
2760         * org-latex.el (org-export-latex-links): Use the property list to
2761         retrieve the default image attributes.
2763         * org-exp.el (org-export-plist-vars): Add a new option.
2765 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2767         * org-exp.el (org-export, org-export-visible): Support ASCII
2768         export to buffer
2769         (org-export-normalize-links): Do not protect the description if it
2770         is explicitly given.
2772         * org-list.el (org-reset-checkbox-state-subtree): Move here from
2773         org-checklist.el.
2774         (org-reset-checkbox-state-subtree): Call
2775         `org-reset-checkbox-state-subtree'.
2777         * org-remember.el (org-select-remember-template): For the
2778         selection of a valid template.
2780         * org-latex.el (org-export-region-as-latex): Supply the
2781         force-no-subtree argument.
2782         (org-export-as-latex): Provide better limits when exporting the
2783         first line.  When exporting to string, we still want the first
2784         lines.
2785         (org-export-latex-first-lines): New argument END, to force the end
2786         of the region.
2787         (org-export-region-as-latex): Use the property list.
2788         (org-export-as-latex):
2790         * org-colview-xemacs.el (org-columns-remove-overlays)
2791         (org-columns): Fix call to `local-variable-p'.
2793 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2795         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
2796         (org-export-latex-preprocess): Run the new hook.
2798         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
2799         (org-export-preprocess-string): Run the new hook.
2801 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2803         * org-macs.el (org-check-external-command): New defsubst.
2805         * org.el (org-mode-map): New key for reload.
2806         (org-format-latex): Better error message when external programs
2807         are not available.
2809         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
2811         * org.el (org-sort-entries-or-items): Explicit sorting function
2812         for priorities, needed for XEmacs compatibility.
2814         * org-remember.el (org-remember-apply-template): Improve auto-save
2815         behavior.
2817 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2819         * org-latex.el (org-export-latex-preprocess): Also protect
2820         environments ending in a star.
2822         * org-list.el (org-at-item-p): Fix regular expression.
2824 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2826         * org.el (org-end-of-subtree): Improve speed.
2828         * org-agenda.el (org-agenda-get-timestamps)
2829         (org-agenda-get-progress, org-agenda-get-deadlines)
2830         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
2831         in particular, wait as long as possible to collect the tags.
2832         (org-stuck-projects): Improve docstring.
2834         * org.el (org-store-link): No errors when getting custom id before
2835         first headline.
2836         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
2838 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2840         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
2842         * org-protocol.el: Remove dependency on url.el.
2843         (org-protocol-unhex-compound, org-protocol-open-source): Remove
2844         dependency on url.el.
2846         * org-latex.el (org-export-as-pdf): Use
2847         `org-latex-to-pdf-process'.
2849 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2851         * org-latex.el (org-latex-to-pdf-process): New option.
2853         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
2854         New option.
2855         (org-agenda-get-timestamps): Honor
2856         `org-agenda-skip-additional-timestamps-same-entry'.
2858         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
2859         (org-clock-goto): Find recent task only if
2860         `org-clock-goto-may-find-recent-task' allows it.
2862         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
2863         drawers, and drawers that are missing the :END: line.
2865 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2867         * org-clock.el (org-clock-goto): Go to recently clocked task if no
2868         clock is running.
2870 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2872         * org.el (org-update-parent-todo-statistics): Check for
2873         STATISTICS_FROM property.
2875         * org-list.el (org-update-checkbox-count): Check for
2876         STATISTICS_FROM property.
2878         * org.el (org-tab-first-hook)
2879         (org-tab-after-check-for-table-hook)
2880         (org-tab-after-check-for-cycling-hook): New hooks.
2881         (org-cycle-internal-global, org-cycle-internal-local): New
2882         functions, split out from `org-cycle'.
2883         (org-cycle): Call the new hooks.
2885 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2887         * org-exp.el (org-export-preprocess-string): Reset the list of
2888         preferred targets for each run of the preprocessor.
2890         * org.el (org-refile-target-verify-function): Improve
2891         documentation.
2892         (org-get-refile-targets): Respect point being moved by the
2893         verification function.
2895         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
2896         option.
2897         (org-export-latex-keywords): Use new option.
2899         * org.el (org-rear-nonsticky-at): New defsubst.
2900         (org-activate-plain-links, org-activate-angle-links)
2901         (org-activate-footnote-links, org-activate-bracket-links)
2902         (org-activate-dates, org-activate-target-links)
2903         (org-activate-tags): Place the rear-nonsticky properties at the
2904         correct location.
2906 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2908         * org-protocol.el (server-edit): Declare `server-edit'.
2909         (org-protocol-unhex-string, org-protocol-unhex-compound): New
2910         functions.
2911         (org-protocol-check-filename-for-protocol): Call `server-edit'.
2913         * org.el (org-default-properties): New default properteis for
2914         completion.
2916         * org-exp.el (org-export-add-subtree-options): Add new properties
2917         for subtree export.
2919 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2921         * org-id.el (org-id-get-with-outline-path-completion): Turn off
2922         org-refile-target-verify-function for the duration of the command.
2924         * org.el (org-link-to-org-use-id): New possible value
2925         `create-if-interactive-and-no-custom-id'.
2926         (org-store-link): Use custom IDs.
2927         (org-link-search): Find custom ID properties from #link.
2928         (org-default-properties): Add CUSTOM_ID for property completion.
2929         (org-refile-target-verify-function): New option.
2930         (org-goto): Turn off org-refile-target-verify-function
2931         for the duration of the command.
2933 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2935         * org-exp.el (org-export-preferred-target-alist): New variable.
2936         (org-export-define-heading-targets): Find the new CUSTOM_ID
2937         property.
2938         (org-export-target-internal-links): Target the custom ids when
2939         possible.
2941         * org-latex.el (org-export-latex-preprocess): Better regexp for
2942         matching latex macros with arguments.
2944 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2946         * org-remember.el (org-remember-handler): Allow filing to non-org
2947         files.
2949 2009-08-06  Magnus Henoch  <magnus.henoch@gmail.com>
2951         * org-table.el (org-table-fix-formulas): Do not change references
2952         to remote tables.
2953         (org-table-get-remote-range): Convert standard coordinates to RC
2954         format.
2956         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
2958 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2960         * org-compat.el (org-sha1-string): Function removed.
2962         * org.el (org-refile-allow-creating-parent-nodes): New option.
2963         (org-refile-get-location): New argument NEW-NODES.
2964         (org-refile): Call `org-refile-get-location' with the new
2965         argument.
2966         (org-refile-get-location): Arrange for adding a new child.
2967         (org-refile-new-child): New function.
2969         * org-clock.el: Fix a number of docstrings.
2970         (org-clock-find-position): New argument
2971         FIND-UNCLOSED to make the function find an unclosed clock in the
2972         entry.
2973         (org-clock-in): Call `org-clock-find-position' with the new
2974         argument if we might be resuming a clock.
2976 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2978         * org-latex.el (org-export-latex-display-custom-times): New variable.
2979         (org-export-latex-timestamp-markup): New option.
2980         (org-export-latex-set-initial-vars): Remember the local value of
2981         `org-display-custom-times'.
2982         (org-export-latex-content): Process time stamps.
2983         (org-export-latex-time-stamps): New function.
2985         * org-macs.el (org-maybe-intangible): Add intangible property
2986         again to invisible text.
2988 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2990         * org-exp.el (org-default-export-plist): Handle undefined
2991         variables.
2993 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
2995         * org.el (org-sort-entries-or-items): Match TODO keywrds
2996         case-sensitively, when sorting.
2997         (org-priority): Do not match TODO keywords with wrong case.
2999 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3001         * org.el (org-todo): Honor the NOBLOCKING property.
3003         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
3004         NOBLOCKING property.
3006         * org.el (org-scan-tags): Fix bug in tag scanner.
3008 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3010         * org.el (org-modules): Mark obsolete packages.
3012         * org-html.el: New file, split out from org-exp.el.
3014         * org-icalendar.el: New file, split out from org-exp.el.
3016         * org-xoxo.el: New file, split out from org-exp.el.
3018         * org-ascii.el: New file, split out from org-exp.el.
3020 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3022         * org-compat.el (org-find-library-name): New function.
3024         * org.el (org-pre-cycle-hook): New hook.
3025         (org-cycle): Call the new hook in appropriate places.
3026         (org-reload): Only reload files that have been loaded before.
3028 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3030         * org.el (org-set-font-lock-defaults): Enforxe space or line end
3031         after todo keyword.
3032         (org-todo): When changing TODO state, do matching
3033         case-sensitively.
3034         (org-map-continue-from): New variable.
3035         (org-scan-tags): Respect values in `org-map-continue-from'.
3036         (org-reload): Make XEmacs compatible.
3038 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3040         * org-protocol.el (org-protocol-flatten-greedy): New function.
3041         (org-protocol-flatten): New function.
3043         * org.el (org-open-link-from-string): Pass reference buffer to
3044         `org-open-at-point'.
3045         (org-open-at-point): New optional argument `reference-buffer'.
3047 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3049         * org.el (org-scan-tags): Make tag scan find headline in first
3050         line, 2nd attempt.
3051         (org-get-refile-targets): Add the naked file name.
3052         (org-refile): Store as top-level entry when only file name was
3053         given.
3055         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
3057         * org.el (org-block-todo-from-children-or-siblings-or-parent):
3058         Rename from org-block-todo-from-children-or-siblings, and
3059         enhanced to look for the parent's status as well.
3061         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
3062         (org-agenda-get-progress): Add first notes line to log entry if so
3063         desired.
3065 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3067         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
3068         (org-agenda-cleanup-fancy-diary): Call the new hook.
3070         * org-remember.el (org-remember-apply-template): Take the default
3071         for the annotation from the :annotation property.
3073         * org-mac-message.el (org-mac-message-get-link): Remove the
3074         quotes.
3075         (org-mac-message-get-link): Return the result.
3077 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3079         * org.el (org-refile-get-location): Add file name only if not
3080         already included in outline path.
3082         * org-faces.el (org-n-level-faces): Fix customization type from
3083         number to integer.
3085         * org-exp.el (org-export-headline-levels): Fix customization type
3086         from number to integer.
3088         * org-agenda.el (org-agenda-confirm-kill)
3089         (org-agenda-custom-commands-local-options)
3090         (org-timeline-show-empty-dates, org-agenda-ndays)
3091         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
3092         customization type from number to integer.
3094 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3096         * org-protocol.el: Declare some functions.
3098         * org-agenda.el (org-agenda-compare-effort): Honor
3099         `org-sort-agenda-noeffort-is-high'.
3100         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
3101         (org-agenda-compare-effort): Implement the "?" operator for
3102         finding entries without effort setting.
3104         * org.el (org-extract-attributes-from-string): New function.
3106         * org-exp.el (org-export-splice-attributes): New function.
3108 2009-08-06  Bastien Guerry  <bzg@altern.org>
3109         Daniel M German  <dmg@uvic.org>
3110         Sebastian Rose  <sebastian_rose@gmx.de>
3111         Ross Patterson  <me@rpatterson.net>
3113         * org-protocol.el: New file.
3115 2009-08-06  Baoqiu Cui  <cbaoqiu@yahoo.com>
3117         * org-docbook.el: New file.
3119 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3121         * org-mouse.el: XEmacs compatibility fixes.
3123         * org.el (org-modules): Add org-inlinetasks.el
3124         (org-cycle): Implement limiting level on cycling.
3125         (org-move-subtree-down): Fix bug with swapping subtrees at end of
3126         buffer.
3128         * org-inlinetask.el: New file.
3130         * org.el (org-emphasis-regexp-components): Allow braces in
3131         emphasis pre and post match.
3133         * org-footnote.el (org-footnote-normalize): When only dorting, do
3134         not insert inline notes at the end.
3136         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
3138 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3140         * org.el (org-reftex-citation): New command.
3142 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3144         * org-agenda.el (org-agenda-cmp-user-defined): New option.
3145         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
3146         sorting options.
3147         (org-entries-lessp): Apply the new sorting option.
3149         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
3150         blocker code, when an older sibling has children.
3152         * org-mac-message.el (org-mac-message-get-link): Improve getting
3153         links from multiple selected messages.
3155 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3157         * org-remember.el (org-remember-finalize): Do not set buffer file
3158         name to nil.
3159         (org-remember-handler): Mark buffer as unmodified.
3160         (org-remember-handler): Delete backup file and show message about
3161         remaining backup files.
3162         (org-remember-auto-remove-backup-files): New option.
3164         * org.el (org-store-link): Use buffer name as link description in
3165         w3-mode buffers.
3166         (org-ido-switchb): Fix argument bug for completion.
3168         * org-remember.el (org-remember-apply-template): Set local
3169         variable `auto-save-visited-file-name' instead of global one.
3171 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3173         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
3174         (org-agenda-get-todos): Mark file tags as inherited.
3175         (org-agenda-list): Always search diary lines for a time.
3177 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3179         * org-feed.el: New file.
3181         * org-exp.el (org-export-as-html): Close local lists depending on
3182         indentation, also when starting a table.
3184         * org-remember.el (org-remember-backup-directory)
3185         (org-remember-backup-name): New internal variable.
3187 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3189         * org-clock.el (org-clock-out-if-current): Make buffer detection
3190         work in indirect buffers as well.
3192         * org.el (org-emphasis-regexp-components): Add the exxclamation
3193         mark to the post-emphasis characters.
3195 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3197         * org.el (org-read-date-minibiffer-septup-hook): New hook.
3198         (org-read-date): Run the new hook.
3200         * org-mac-message.el (org-mac-flagged-mail): New group.
3201         (org-mac-mail-account): New variable.
3202         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
3203         commands.
3205         * org-remember.el (org-remember-backup-directory): New variable.
3206         (org-remember-apply-template): Write file to backup directory.
3208 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3210         * org-mouse.el (org-mouse-todo-menu): New function.
3211         (org-mouse-todo-keywords): Function removed.
3212         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
3214         * org-table.el (org-table-beginning-of-field)
3215         (org-table-end-of-field): New commands
3216         (org-table-previous-field, org-table-beginning-of-field): Better
3217         error messages.
3218         (orgtbl-setup): Include `M-a' and `M-e'.
3220         * org.el (org-backward-sentence, org-forward-sentence): New
3221         commands.
3223         * org-colview.el (org-colview-initial-truncate-line-value): New
3224         variable.
3225         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
3226         (org-columns): Remember the value of `truncate-lines'.
3228         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
3229         New variable.
3230         (org-columns-remove-overlays): Restore the value of
3231         `truncate-lines'.
3232         (org-columns): Remember the value of `truncate-lines'.
3234         * org.el (org-columns-skip-arrchived-trees): New option.
3236         * org-agenda.el (org-agenda-export-html-style): Define color for
3237         org-agenda-done face.
3238         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
3239         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
3241         * org.el (org-scan-tags): Use the new face.
3243         * org-faces.el (org-agenda-done): New face.
3245         * org.el (org-scan-tags): Test the value org
3246         `org-tags-match-list-sublevels'.
3247         (org-tags-match-list-sublevels): New allowed value: indented.
3249         * org-latex.el (org-export-latex-make-header): Apply macros
3250         in header.
3252         * org-exp.el (org-export-apply-macros-in-string): New function.
3254         * org-latex.el (org-export-latex-list-parameters): Fix bug
3255         with the definition of a checked box.
3257         * org-clock.el (org-clock-find-position): Fix drawer indentations.
3259         * org-latex.el (org-export-latex-low-levels): More options
3260         for how to process lower levels in LaTeX.
3261         (org-export-latex-subcontent): Better treatment for lists as a
3262         means of publishing lower levels.
3264 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3266         * org.el (org-set-font-lock-defaults): Use new checkbox face.
3268         * org-faces.el (org-checkbox): New face.
3270         * org-exp.el (org-export-html-preprocess): Only create LaTeX
3271         fragement images if there is an export file.
3273 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3275         * org-agenda.el (org-stuck-projects): Document that the subtree of
3276         projects that are not stuck will now be searched for stuck
3277         sub-projects.
3278         (org-agenda-skip-entry-when-regexp-matches)
3279         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
3280         (org-agenda-list-stuck-projects): Use
3281         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
3283         * org-latex.el (org-export-latex-preprocess): Improve
3284         export of verses.
3286         * org-exp.el (org-export-as-html): Implement centering as a div
3287         rather than a paragraph.  Do a better job with line-end in verse
3288         environments.
3290 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3292         * org.el (org-open-at-point): Fix tags searches by mouse click.
3294 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3296         * org-latex.el (org-export-latex-preprocess): Implement the
3297         centering markup.
3299         * org-exp.el (org-export-mark-blockquote-verse-center): Rename
3300         from `org-export-mark-blockquote-and-verse'.
3301         (org-export-as-html): Implement the centering markup.
3303         * org-latex.el (org-export-latex-tables): Fix vertical
3304         lines in tables.
3306 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3308         * org.el (org-read-date-history): New variable.
3309         (org-read-date): Use new history variable.
3310         (org-toggle-heading): Fix bug when used before first headline.
3311         (org-store-log-note): Remove drawer if empty while note is
3312         aborted.
3313         (org-remove-empty-drawer-at): New function.
3314         (org-check-after-date): New command.
3315         (org-sparse-tree): New sparse tree command "a".
3317         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
3319 2009-08-06  Bastien Guerry  <bzg@altern.org>
3321         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
3322         column and a space, not only a column.
3324 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3326         * org-latex.el (org-export-latex-emphasis-alist): Better
3327         defaults for verbose emphasis.
3328         (org-export-latex-emph-format): New function.
3329         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
3331         * org-agenda.el (org-agenda-menu): Add new commands to menu.
3332         (org-agenda-do-date-later, org-agenda-do-date-earlier)
3333         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
3334         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
3335         commands.
3337         * org.el (org-timestamp-change): Move end-time along with start
3338         time.
3340 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3342         * org-exp.el (org-export-target-internal-links)
3343         (org-export-as-html): Protect links specified as #name.
3345 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3347         * org.el (org-clone-subtree-with-time-shift): New command.
3349         * org-latex.el (org-export-latex-special-chars)
3350         (org-export-latex-treat-sub-super-char): Fix subscript export.
3352         * org-exp.el (org-create-multibrace-regexp): Do not add
3353         backslashes to the class.
3355 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3357         * org-colview.el (org-columns-map): Better functions for moving up
3358         and down a row, even if `truncate-line' is nil.
3360         * org.el (org-insert-todo-heading): Make sure the keyword is
3361         inserted at the correct position.
3363         * org-publish.el (org-publish-project-alist)
3364         (org-publish-projects, org-publish-org-index): Change default anme
3365         for the index of file names to "sitemap.org".
3367         * org-latex.el (org-export-latex-tables): Use
3368         `org-split-string', for Emacs 21 compatibility.
3370 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3372         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
3374 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3376         * org-exp.el (org-export-page-description)
3377         (org-export-page-keywords): New variables.
3378         (org-export-plist-vars): Add entries for :keywords and
3379         :description.
3380         (org-infile-export-plist): Parse for new keywords.
3381         (org-get-current-options): Add new keywords
3382         (org-export-as-html): Publish description and keywords.
3384         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
3385         option.
3386         (org-agenda-add-entry-text): Honor
3387         `org-agenda-add-entry-text-descriptive-links'.
3389         * org-latex.el (org-export-latex-preprocess): Make all
3390         external preprocess functions use a PARAMETER arg.
3392         * org-exp.el (org-export-preprocess-string)
3393         (org-export-select-backend-specific-text)
3394         (org-export-format-source-code-or-example)
3395         (org-format-org-table-html): Support docbook export.
3396         (org-export-preprocess-string): Make all external preprocess
3397         functions use a PARAMETER arg.
3399 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3401         * org-exp.el (org-export-html-style-include-scripts): New option.
3402         (org-export-plist-vars): Add new option
3403         `org-export-html-style-include-scripts'.
3404         (org-export-as-html): Honor new option
3405         `org-export-html-style-include-scripts'.
3406         (org-export-html-scripts, org-export-html-style-default): Fix
3407         xml issues with the Safari browser.
3409 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3411         * org-publish.el (org-publish-attachment): Only copy file when the
3412         directories differ.
3414 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3416         * org-clock.el (org-clocktable-steps): Use inactive time stamps
3417         for clocktable steps.
3419         * org.el (org-additional-option-like-keywords): Add two more
3420         keywords.
3422 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3424         * org-exp.el (org-export-format-source-code-or-example): Mark
3425         temporary buffer unmodified, so that it will be killed even if
3426         mode like message mode has decided to assign a file name.
3428         * org.el (org-scan-tags): Improve tag inheritance.
3429         (org-scan-tags, org-make-tags-matcher): Make tag comparison
3430         case-sensitive.
3431         (org-scan-tags): Use the internal tags list instead of creating it
3432         from scratch.
3433         (org-trust-scanner-tags, org-scanner-tags): New variables.
3434         (org-scan-tags): Set `org-scanner-tags'.
3435         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
3436         (org-map-entries): Document the possible speedup using scanner
3437         tags.
3439 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3441         * org.el (org-add-planning-info): Fix bug with looking for keyword
3442         only at column 0.
3444         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3445         option for tags filter preset.
3446         (org-prepare-agenda): Store filter preset as a property on the
3447         filter variable.
3448         (org-finalize-agenda): Call the filter, if there is a preset.
3449         (org-agenda-filter-by-tag): Filter again after clearing the
3450         filter, when there still is a preset.
3451         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
3452         Include the preset filter.
3453         (org-agenda-redo): Apply the filter again, also the preset filter.
3455         * org-exp.el (org-export-as-html): Use IDs in the correct way.
3457         * org.el (org-uuidgen-p): New funtion.
3459         * org-agenda.el (org-agenda-fontify-priorities): New default value
3460         `cookies'.
3461         (org-agenda-fontify-priorities): Rename from
3462         org-fontify-priorities.
3464         * org.el (org-set-font-lock-defaults): Call
3465         `org-font-lock-add-priority-faces'.
3466         (org-font-lock-add-priority-faces): New function.
3468         * org-faces.el (org-set-tag-faces): New option.
3469         (org-priority-faces): New variable.
3471         * org-exp.el (org-export-as-html): Add a "content" div around the
3472         entire content of the body tag.
3473         (org-export-html-get-bibliography): New function.
3474         (org-export-html-validation-link): New variable.
3475         (org-export-as-html): Add validation link to exported page.
3477         * org.el (org-match-sparse-tree): Rename from
3478         `org-tags-sparse-tree'.
3479         (org-tags-sparse-tree): New alias.
3481 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3483         * org.el (org-get-valid-level): Catch the case where the level
3484         change is nil.
3486         * org-clock.el (org-clock-find-position): Better indentation of
3487         new clock drawers.
3489 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3491         * org-agenda.el (org-agenda-quit): Delete window only when the
3492         frame-setup was not `current-window'.
3494         * org.el (org-tag-persistent-alist): New option.
3495         (org-startup-options): Add keyword `noptag'.
3496         (org-fast-todo-selection): Handle :newline correctly.
3497         (org-set-tags): Handle :newline correctly.
3498         (org-fast-tag-selection): Handle :newline correctly.
3500 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3502         * org-exp.el (org-export-as-ascii): Reverse link buffer before
3503         outputting it.
3504         (org-export-ascii-push-links): Fix bug with pussing links into the
3505         export buffer.
3507 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3509         * org-archive.el (org-archive-subtree): Do not add 1 to level if
3510         pasting at top level.
3512         * org-bbdb.el: Improve documentation.
3514 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3516         * org-list.el (org-insert-item): Only consider insert empty lines
3517         is `org-empty-line-terminates-plain-lists' is not nil.
3519         * org.el (org-blank-before-new-entry): Mention the dependence on
3520         `org-empty-line-terminates-plain-lists' in the docstring.
3522         * org-publish.el (org-publish-get-project-from-filename): New
3523         optional argument UP.  Only find the top project if UP is set.
3524         (org-publish-current-project): Find the top encloding project.
3526         * org-agenda.el (org-agenda-before-write-hook)
3527         (org-agenda-add-entry-text-maxlines): New options.
3528         (org-write-agenda): Run the new hook in the temporary buffer.
3529         (org-agenda-add-entry-text): New function.
3530         (org-write-agenda): Implement PDF export, using ps2pdf.
3532         * org.el (org-global-properties-fixed, org-global-properties):
3533         Improve documentation string.
3535         * org-exp.el (org-export-ascii-links-to-notes): New option.
3536         (org-export-as-ascii): Handle links better.
3537         (org-export-ascii-wrap, org-export-ascii-push-links): New
3538         functions.
3540 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3542         * org-agenda.el (org-agenda): Make prefix arg optional.
3543         (org-agenda-search-headline-for-time): New option.
3544         (org-format-agenda-item): Honor
3545         `org-agenda-search-headline-for-time'.
3547         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3548         characters.
3550         * org.el (org-self-insert-cluster-for-undo): New option.
3551         (org-self-insert-command): Cluster undo for 20 characters.
3552         (org-self-insert-command-undo-counter): New variable.
3554 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3556         * org-exp.el (org-export-as-html): Fix problem with closing colone
3557         example.
3559 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3561         * org-latex.el (org-export-as-latex)
3562         (org-export-latex-first-lines): Avoid modification flag when
3563         adding or removing text properties.
3564         (org-export-latex-fontify): Catch error when org-emph-alist has
3565         entries that are not defined for LaTeX export.
3567         * org-export-latex.el: renamed to org-latex.el.
3569         * org-latex.el: renamed from org-export-latex.el.
3571         * org.el (orgstruct++-mode): New function.
3572         (turn-on-orgstruct++): Call `orgstruct++-mode'.
3573         (org-context-p): Allow detecting item context after the first line
3574         of an item.
3575         (orgstruct-make-binding): Detect if item-body context should be
3576         seen.
3577         (orgstruct-is-++): New variable.
3578         (org-add-planning-info): Catch the case when there is no planning
3579         info yet and the call does not want to add anything, only maybe
3580         tries to remove something.
3581         (org-special-ctrl-a/e): All value to be a cons cell with separate
3582         settings for `C-a' and `C-e'.
3583         (org-beginning-of-line, org-end-of-line): Honor separate values
3584         for `C-a' and `C-e'.
3586 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
3588         * org.el (org-reload): New command.
3590 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
3592         * org-gnus.el (org-gnus-store-link): Fix bug where
3593         org-gnus-store-link used wrong subject when called in an article
3594         buffer.  Patch provided by fengli AT gmail DOT com.
3596 2009-03-13  D. Goel  <deego3@gmail.com>
3598         * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
3599         replace ls by (values-list ls).
3601 2009-02-20  Carsten Dominik  <dominik@science.uva.nl>
3603         * org-remember.el (org-remember-apply-template): Turn off ido for
3604         this completion.
3606         * org.el (org-priority): Also find invisible headings, for remote
3607         editing.
3608         (org-completing-read-no-ido): New function.
3609         (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
3611         * org-colview.el (org-columns-edit-value): No special treatment of
3612         prefix arg.
3614 2009-02-19  Carsten Dominik  <dominik@science.uva.nl>
3616         * org.el (org-block-todo-from-children-or-siblings): Use
3617         `org-up-heading-all' so that this will work correctly with hidden
3618         property drawers and entries.
3619         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
3620         falling back to normal, default command.
3621         (org-get-location): Temporarily turn off special behavior.
3623 2009-02-13  Glenn Morris  <rgm@gnu.org>
3625         * org-rmail.el (rmail-show-message): Restore argument list to the
3626         declaration now that this functions behaves in Emacs 23 as in 22.
3628 2009-02-12  Glenn Morris  <rgm@gnu.org>
3630         * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
3632 2009-02-12  Joachim Reiter  <Reiter.Joachim@web.de>  (tiny change)
3634         * org-footnote.el (org-footnote-action): Fix doc typo.
3636 2009-02-06  Carsten Dominik  <dominik@science.uva.nl>
3638         * org-exp.el (org-export-preprocess-string): Fix bug with skipping
3639         text before first headline.
3640         (org-export-remove-or-extract-drawers): Fix regular expression for
3641         extracting drawers.
3643         * org.el (org-format-latex): Stop LaTeX fragment processing in
3644         protected examples.
3646 2009-02-05  Glenn Morris  <rgm@gnu.org>
3648         * org-rmail.el (rmail-show-message): Update declaration.
3649         (rmail-buffer, rmail-view-buffer): Declare.
3650         (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
3652 2009-02-04  Carsten Dominik  <dominik@science.uva.nl>
3654         * org.el (org-return-follows-link): Revert setting
3655         `org-return-follows-link' to t by default.
3657 2009-02-02  Carsten Dominik  <dominik@science.uva.nl>
3659         * org.el (org-cycle-global-at-bob): Fix typo.
3661         * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
3663 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
3665         * org.el (org-mode): Make dependence stuff work more reliably.
3666         (org-update-parent-todo-statistics): Fix bug with updating
3667         statistics cookie.
3668         (org-yank-adjusted-subtrees, org-return-follows-link)
3669         (org-use-fast-todo-selection, org-tags-column): New default
3670         setting for variables.
3672         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
3673         ~ as verbatim delimiters, to avoid table bug.
3674         (org-export-latex-classes): Remove the a4paper option from the
3675         default styles.
3677         * org-exp.el (org-export-html-format-image): New argument
3678         PAR-OPEN, to fix XHTM validation bug.
3679         (org-export-as-html): Pass par-open to
3680         `org-export-html-format-image'.
3681         (org-export-html-footnotes-section): Use a more consistent id for
3682         footnotes.
3684         * org-agenda.el (org-agenda-sorting-strategy)
3685         (org-agenda-tags-column): New default setting for variables, based
3686         on a poll what typical uses use.
3687         (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
3688         setting the blocked tag.
3690 2009-01-31  Carsten Dominik  <dominik@science.uva.nl>
3692         * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
3693         only checking for blocks.
3695         * org-exp.el (org-export-html-footnotes-section): Make the div id
3696         consistent.
3698         * org-export-latex.el (org-export-latex-classes): Remove
3699         paper size option from LaTeX classes.
3701 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
3703         * org.el (org-enforce-todo-checkbox-dependencies): New option.
3704         (org-block-todo-from-checkboxes): New function.
3705         (org-todo): Make tripple prefix arg circumvent blocking.
3707 2009-01-30  Glenn Morris  <rgm@gnu.org>
3709         * org-list.el (org-empty-line-terminates-plain-lists)
3710         (org-toggle-checkbox): Doc fixes.
3712         * org-table.el (org-table-clean-before-export): Fix declaration.
3714 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
3716         * org-timer.el (org-timer): Provide the timer feature.
3718         * org.el (org-require-autoloaded-modules): Add a few more files to
3719         the list of autoloaded modules.
3721         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
3723         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
3724         drawers that are unprotected.
3725         (org-export-html-format-image): Make sure inlined LaTeX fragment
3726         images remain inlined.
3728         * org.el (org-toggle-ordered-property): New function.
3729         (org-mode-map): Add a key for `org-toggle-ordered-property'.
3730         (org-org-menu): Add menu entries for TODO dependencies.
3732         * org.el (org-default-properties): Add ORDERED to the default
3733         properties, to get completion support for it.
3735         * org-list.el (org-update-checkbox-count): Update more than one cookie.
3737         * org.el (org-update-parent-todo-statistics): Update more than one
3738         cookie.
3740 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
3742         * org-agenda.el (org-agenda-get-todos): Start search from correct
3743         position.
3745         * org.el (org-fast-todo-selection): Make sure TODO selection does
3746         not change buffer position.
3748         * org-list.el (org-toggle-checkbox): Implement adding or removing
3749         checkboxes from line or region when called with a prefix
3750         argument.
3752         * org-rmail.el (org-rmail-store-link): Protect the call to
3753         `rmail-narrow-to-non-pruned-header'.
3755         * org-clock.el (org-clock-special-range): Fix week display in
3756         clock tables.
3758         * org-exp.el (org-get-current-options): Fix bug when in indirect
3759         buffer.
3761         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
3762         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
3763         (org-agenda-dim-blocked-tasks): New function.
3765         * org.el (org-enforce-todo-dependencies): New option.
3766         (org-block-todo-from-children-or-siblings): New function.
3768         * org-faces.el (org-agenda-dimmed-todo-face): New face.
3770 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
3772         * org.el (org-todo): Return correct state type even if the blocker
3773         throws an error.
3774         (org-modifier-cursor-error): Rename from
3775         `org-shiftcursor-error'.
3776         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3777         (org-shiftmetadown): Call `org-modifier-cursor-error'.
3779         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
3780         to get real errors from the blocker hook.
3782         * org.el (org-shiftselect-error, org-call-for-shift-select): New
3783         functions.
3784         (org-set-visibility-according-to-property): Turn off the setting
3785         of `org-show-entry-below', to avoid overruling a FOLDED visibility
3786         property.
3788         * org.el (org-support-shift-select): New option.
3789         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
3790         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
3791         selection outside contexts.
3793         * org-list.el (org-at-item-bullet-p): New function.
3795         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
3796         variables.
3798         * org-footnote.el (org-footnote-normalize): Remove unnecessary
3799         variable.
3800         (org-insert-footnote-reference-near-definition): Remove
3801         unnecessary let form.
3803 2009-01-26  Carsten Dominik  <dominik@science.uva.nl>
3805         * org-export-latex.el (org-export-as-latex): Call
3806         `org-export-latex-first-lines' with OPT-PLIST as a parameter.
3807         (org-export-latex-first-lines): New parameter OPT-PLIST.
3809         * org.el (org-yank): Tell `delete-selection-mode' about
3810         `org-yank'.
3812         * org-faces.el (org-clock-overlay): Fix face definition.
3814         * org-export-latex.el (org-export-latex-first-lines): Pass
3815         timestamp and footnote parameters to the preprocessor.
3817         * org-exp.el (org-export-remove-timestamps): Do not remove time
3818         stamps inside tables.
3820 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3822         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
3824         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
3825         variable.
3827         * org-table.el (org-table-insert-hline): Fix typo in fuction call
3828         to `backward-char'.
3830         * org-exp.el (org-export-as-html): Remove the initial space from
3831         colon examples.
3833         * org.el (org-scan-tags): Call
3834         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3836         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
3837         customization groups.
3838         (org-agenda-tags-todo-honor-ignore-options): New option.
3839         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3840         New function.
3841         (org-agenda-get-todos): Use
3842         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3844 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3846         * org-exp.el (org-export-format-source-code-or-example): Escape
3847         HTML characters also in examples that anre not treated with
3848         htmlize.  Also, just switch to EXAMPLE processing if we do not
3849         have a good version of htmlize.
3851         * org-rmail.el: Fix copyright notice.
3853         * org.el (org-activate-footnote-links): Improve footnote link
3854         highlighting.
3856         * org-footnote.el (org-footnote-normalize): Fix finding the end of
3857         a footnote definition at the end of the file.
3859         * org-table.el (org-table-get-specials): Add an imagined hline at
3860         the end of the table.  This can be useful for references that want
3861         to go to the end of the table.  Also fix bug when computing last
3862         row constants, in tables that do not start right at the right
3863         margin.
3864         (org-table-eval-formula): Match and replace remove references.
3865         (org-table-formula-substitute-names): Make sure that names inside
3866         a "remote" call are left alone, the will be replaced later when
3867         the remote call is handled.
3868         (org-table-convert-refs-to-rc): Do not convert things that might
3869         look like a reference, but are really part of an ID or namei n a
3870         remote reference.
3871         (org-table-get-remote-range): New function.
3873 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3875         * org-faces.el (org-clock-overlay): Fix bug in face definition.
3877         * org-clock.el (org-clock-put-overlay): Use new face instead of
3878         `secondary-selection'.
3880         * org-faces.el (org-clock-overlay): New face.
3882 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3884         * org-exp.el (org-get-current-options): Include the option for
3885         publishing time stamps.
3887         * org.el (org-toggle-heading): Rename from
3888         `org-toggel-region-headings'.
3889         No longer needs a region defined, but will use it if there is one.
3890         (org-ctrl-c-star): Simplify, relying more on the internal
3891         workings of `org-toggle-heading'.
3892         (org-toggle-item): Rename from `org-toggle-region-items'.
3893         No longer needs a region defined, but will use it if there is one.
3894         (org-ctrl-c-minus): Simplify, relying more on the inernal
3895         workings of `org-toggle-item'.
3897         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
3898         environment detection.  Also, do real changes only in unprotected
3899         places.
3901 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3903         * org-export-latex.el (org-export-latex-quotation-marks): Use
3904         `org-if-unprotected-1'.
3905         (org-export-latex-set-initial-vars): Check for class definition in
3906         property.
3908         * org-macs.el (org-if-unprotected-1): New macro.
3910 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3912         * org-compat.el (org-count-lines): New function.
3914         * org-exp.el (org-export-format-source-code-or-example): Handle
3915         switches related to text areas.
3917         * org.el (org-activate-footnote-links): Don't allow match inside a
3918         link.
3920         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
3922         * org-export-latex.el (org-export-latex-links): Keep a relative
3923         path relative also after export.
3925         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
3927         * org.el (org-make-tags-matcher): Never use IDO for completing the
3928         tags matcher match string.
3929         (org-completing-read): Also remove the special biding for "?".
3931         * org-attach.el (org-attach-allow-inheritance): New option.
3932         (org-attach-inherited): New variable.
3933         (org-attach-dir): Handle properties related to the attachment
3934         directory.
3935         (org-attach-check-absolute-path): New function.
3936         (org-attach-set-directory, org-attach-set-inherit): New commands.
3937         (org-attach): Accommodate the new commands in the dispatcher.
3939 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3941         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
3942         `window-full-width-p'.
3944         * org-exp.el (org-export-as-html): Only check for images files
3945         that really can be inlined.
3947         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
3948         list of extensions to be a parameter.
3950         * org-exp.el (org-export-html-inline-image-extensions): New
3951         variable.
3953         * org-agenda.el (org-prepare-agenda): Use
3954         `org-agenda-block-separator'.
3955         (org-agenda-block-separator): New option.
3957 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3959         * org-export-latex.el (org-export-latex-tables): Call
3960         `org-table-clean-before-export' with the new optional argument.
3962         * org-exp.el (org-table-clean-before-export): New optional
3963         parameter MAYBE-QUOTED, allows for quoted characters like \# in
3964         first column.
3966 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3968         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
3969         histograms.
3971         * org-colview.el (org-colview-construct-allowed-dates): Better
3972         error catching when a date/time property does not have allowed
3973         values defined.
3975         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
3976         Better error catching when a date/time property does not have
3977         allowed values defined.
3979 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3981         * org.el (org-map-entries): Restore point and restriction after
3982         `org-map-entries'.
3984 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3986         * org.el (org-time=, org-time<, org-time<=, org-time>)
3987         (org-time>=, org-time<>): Make sure both values are dates.
3989 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3991         * org-archive.el (org-extract-archive-heading): Allow %s for file
3992         name also in achive location heading.
3994 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3996         * org-archive.el (org-add-archive-files): Uniquify the list before
3997         returning it.
3999 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4001         * org-compat.el (org-fit-window-to-buffer): Use
4002         `window-full-width-p'.
4004         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
4005         space after the colon in short examples.
4007         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
4008         enforce a space after the colon.  However, we also allow lines
4009         that are *only* a colon.
4010         (org-export-as-html): Enforce the space after the colon in short
4011         examples.
4012         (org-export-preprocess-string): Do the colon example protection
4013         earlier.
4014         (org-export-remove-timestamps): Do not check for protection at the
4015         end of the line.
4017 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4019         * org.el (org-format-latex-options): Add new matcher for single
4020         letters between dollars.
4021         (org-get-header): Function removed.
4022         (org-heading-components): New function.
4024         * org-exp.el (org-export-define-heading-targets): Record ID's also
4025         as alternative targets.
4026         (org-export-as-html): Interpret "id:" links to other files by
4027         preserving the relative path.
4029         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
4030         is nil.
4032         * org-exp.el (org-export-normalize-links): Protect the main link,
4033         to avoid special character processing.
4035         * org-export-latex.el (org-export-latex-special-keyword-regexp):
4036         New variable.
4037         (org-export-latex-special-string-regexps): Variable removed.
4038         (org-export-latex-keywords): Use the new regexp.
4040         * org-exp.el (org-export-handle-include-files): Fetch switches and
4041         put them into the BEGIN statement.
4043         * org-timer.el (org-timer-mode-line-string): New variable.
4045         * org-clock.el (org-clock-mode-line-map): Rename from
4046         `org-clock-mode-map'.
4047         (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
4048         (org-clock-update-mode-line): Rename from `org-update-mode-line'.
4049         (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
4050         (org-clock-remove-overlays): Rename from
4051         `org-remove-clock-overlays'.
4053         * org-timer.el (org-timer-pause-or-continue): Implement stopping
4054         and mode line display.
4055         (org-timer-stop): New command.
4056         (org-timer-seconds): Return correct time when timer is paused.
4057         (org-timer-mode-line-timer): New variable.
4058         (org-timer-set-mode-line, org-timer-update-mode-line): New
4059         functions.
4061         * org.el (org-insert-heading): Handle new value `auto' for
4062         `org-blank-before-new-entry'.
4063         (org-org-menu): Add new items for timer functions.
4065         * org-list.el (org-insert-item): Handle new value `auto' for
4066         `org-blank-before-new-entry'.
4068         * org.el (org-blank-before-new-entry): New value `auto', made
4069         default.
4071 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4073         * org-exp.el (org-export-normalize-links): If the link is also
4074         used as the description, protect the description.
4076 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4078         * org.el (org-closest-date): Fix bug with yearly repeats, in
4079         combination with preference of the past as it is used for deadline
4080         and scheduling search.
4082         * org-exp.el (org-html-handle-time-stamps): No longer check for
4083         the `org-export-with-timestamps' option, because the preprocesser
4084         has taken care of this already.
4086         * org.el (org-entry-properties): Catch the case when this is
4087         called in a non-org-mode file.
4089         * org-export-latex.el (org-export-latex-remove-from-headlines):
4090         Variable made obsolete, also LaTeX export now uses the standard
4091         variables.
4092         (org-export-as-latex): Add the timestamps parameter to the
4093         preprocessor parameter list.
4094         (org-export-latex-content): Export the remaining keywords without
4095         considering to remove them.
4096         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
4097         Use bold font instead of tt font for the keywords.
4098         (org-export-latex-fontify-headline): Format headlines, assuming
4099         that all keywords still present should be published.
4100         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
4101         publish what ever remains of the time stamps.
4102         (org-export-latex-list-parameters): New option.
4103         (org-export-latex-lists): Pass additional parameters to the list
4104         converter.
4106         * org-exp.el (org-export-preprocess-string): Remove clock lines
4107         and timestamps already in the preprocesor.
4108         (org-export-remove-timestamps, org-export-remove-clock-lines): New
4109         functions.
4110         (org-export-as-ascii, org-export-as-html): Add the timestamps
4111         parameter to the preprocessor parameter list.
4113         * org-list.el (org-list-parse-list): Parse for checkboxes.
4114         (org-list-to-generic): Introduce and handle new parameters :cbon
4115         and :cboff.
4116         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
4117         optional parameter PARAMS.
4119         * org-export-latex.el (org-export-latex-special-chars): Fix
4120         problems with interpreting dollar signs.
4121         (org-inside-latex-math-p): New function.
4122         (org-export-latex-preprocess): Protect all the math fragments.
4124         * org.el (org-latex-regexps): Allow a dash after a dollar.
4126         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
4127         mark after copying.
4129         * org-agenda.el (org-run-agenda-series): Have series options set
4130         when finalizing the agenda.
4132         * org-exp.el (org-export-format-source-code-or-example): Protect
4133         the converted examples.
4135         * org.el (org-set-regexps-and-options): Fix the regexp
4136         `org-complex-heading-regexp'.
4138 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4140         * org.el (org-edit-src-get-label-format): New function.
4141         (org-coderef-label-format): New option.
4142         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
4143         a label format specification and make sure it is used in the edit
4144         buffer.
4145         (org-edit-src-get-label-format): New function.
4146         (org-store-link): Handle new coderef formats.
4147         (org-link-search): Handle new coderef formats.
4149         * org-footnote.el (org-footnote-create-definition)
4150         (org-footnote-goto-local-insertion-point): Make footnote insertion
4151         work correctly when the "Footnotes" headline is the last line in
4152         the buffer.
4154         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
4155         the location.
4157 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4159         * org-w3m.el (org-w3m): New customization group.
4160         (org-w3m-deactivate-mark): New option.
4161         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
4162         option say not to.
4164 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4166         * org.el (org-set-font-lock-defaults): Trigger footnote
4167         fontification.
4168         (org-activate-footnote-links): New function.
4169         (org-activate-links): New entry `footnote'.
4171         * org-faces.el (org-footnote): New face.
4173 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4175         * org-macs.el (org-re): Handle the [:word:] class.
4177         * org-exp.el (org-export-preprocess-string): Call
4178         `org-export-protect-colon-examples'.
4179         (org-export-protect-colon-examples): Rename from
4180         `org-export-protect-examples', and scope limited to lines starting
4181         with a colon.
4183 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4185         * org-exp.el (org-export-preprocess-string): Move the preprocess
4186         hook to after turning on Org-mode.
4187         (org-export-preprocess-after-include-files-hook)
4188         (org-export-preprocess-after-tree-selection-hook)
4189         (org-export-preprocess-before-backend-specifics-hook)
4190         (org-export-preprocess-final-hook): New hooks.
4191         (org-export-preprocess-string): Run the new hooks.
4193         * org.el (org-ctrl-c-minus): Fix indentation for new items.
4195         * org-footnote.el: New file.
4197         * org.el (org-footnote): Require footnote code.
4198         (org-startup-options): Add new footnote options.
4199         (org-mode-map): New keybindig for footnotes.
4200         (org-ctrl-c-ctrl-c): Add function at footnotes.
4201         (org-org-menu): New menu entries for footnotes.
4203         * org-export-latex.el (org-export-as-latex): Pass footnote
4204         variable to preprocessor.
4205         (org-export-latex-preprocess): Treat multiple references to a
4206         footnote.
4208         * org-exp.el (org-export-preprocess-string): Call
4209         `org-footnote-normalize'.
4210         (org-export-as-ascii, org-export-as-html): Pass footnote variable
4211         to preprocessor.
4212         (org-export-as-html): Treat multiple references to a footnote.
4214 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
4216         * org-export-latex.el (org-export-latex-links): Handle coderef
4217         links.
4219         * org.el (org-bracket-link-analytic-regexp++): New variable.
4220         (org-make-link-regexps): Initialize
4221         `org-bracket-link-analytic-regexp++'.
4222         (org-store-link): Implement special case in edit-src buffer.
4223         (org-insert-link): No use of ide to insert stored links.
4224         (org-link-search): Implement special case for coderefs.
4226         * org-exp.el (org-export-html-scripts): New constant.
4227         (org-export-html-style-default): Add a new style for highlighted
4228         code.
4229         (org-export-code-refs): New variable.
4230         (org-export-preprocess-string): Initialize `org-export-code-refs'.
4231         Call `org-export-replace-src-segments-and-examples'
4232         No longer call `org-export-protect-examples'.
4233         (org-export-target-internal-links): Take care of coderef targets.
4234         (org-export-last-code-line-counter-value): New variable.
4235         (org-export-replace-src-segments-and-examples): Rename from
4236         `org-export-replace-src-segments', and modified.
4237         (org-export-format-source-code-or-example): Rename from
4238         `org-export-format-source-code'.
4239         (org-export-number-lines): New function.
4240         (org-export-as-ascii, org-export-as-html): Handle coderef links.
4242 2009-01-23  Glenn Morris  <rgm@gnu.org>
4244         * org-rmail.el (rmail-narrow-to-non-pruned-header):
4245         Remove declaration of deleted function.
4247 2009-01-16  Glenn Morris  <rgm@gnu.org>
4249         * org-mouse.el (org-mouse-show-context-menu): Use
4250         mouse-menu-major-mode-map, if defined, rather than the obsolete
4251         mouse-major-mode-menu.
4253 2008-12-23  Carsten Dominik  <dominik@science.uva.nl>
4255         * org-remember.el (org-remember-handler): Safer way to get a new
4256         buffer accessing the target file.
4258         * org.el (org-refile-get-location): Handle case of current buffer
4259         not having a file associated with it.
4261 2008-12-22  Carsten Dominik  <dominik@science.uva.nl>
4263         * org-table.el (org-table-get-formula): Only ask to overwrite
4264         field formula if there really is one.
4266 2008-12-21  Carsten Dominik  <dominik@science.uva.nl>
4268         * org-export-latex.el (org-export-latex-make-header): Double the
4269         commenting % in the time stamp format.
4270         (org-export-latex-special-chars): Handle case where there is no
4271         match group 3.
4273 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
4275         * org.el (org-get-refile-targets, org-refile-get-location): Use
4276         expanded file name to improve comparison.
4278 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
4280         * org.el (org-scan-tags): Rescan for tags, to get the correct
4281         upcase/downcase stuff.  This slows things down for now, but it
4282         works.
4283         (org-mode): Make sure the tag-faces regexp is initialized.
4285         * org-export-latex.el (org-export-latex-links): Fix bug with
4286         undefined label.
4288         * org-table.el (org-table-get-specials): Set
4289         `org-table-current-last-data-line'.
4290         (org-table-current-last-data-line): New variable.
4291         (org-table-insert-column, org-table-delete-column)
4292         (org-table-move-column, org-table-fix-formulas): Call
4293         `org-table-fix-formulas' a second time to fix the $LR references.
4294         (org-table-get-specials): Add the $LR references to the tables.
4295         (org-table-get-formula): Do not offer last-row names as LHS of
4296         formulas.
4298         * org.el (org-store-link): Capture link description from
4299         `org-id-store-link'.
4301         * org-exp.el (org-export-html-format-image): Add the / to the end
4302         of the <img> tag.
4303         (org-export-format-source-code): Surround example by empty lines,
4304         to make sure it will not be inside a paragraph.
4306         * org.el (org-ido-switchb): New function.
4308 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
4310         * org-agenda.el (org-agenda-show): New prefix argument
4311         FULL-ENTRY.
4313         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4314         argument.
4316 2008-12-20  Glenn Morris  <rgm@gnu.org>
4318         * org.el (org-org-menu): Fix some more menu entries.
4320 2008-12-18  Carsten Dominik  <dominik@science.uva.nl>
4322         * org-table.el (org-table-get-specials): Revert introduction of @0
4323         as reference of the last table row, because of conflicts.
4325         * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
4326         argument, get the current tags directly.
4327         (org-agenda-set-tags): Leave getting current tags to
4328         `org-agenda-change-all-lines'.
4330 2008-12-17  Carsten Dominik  <dominik@science.uva.nl>
4332         * org.el (org-org-menu): Do not quote the set-tags command.
4334 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
4336         * Fix typos in comments and docstrings throughout Org-mode.
4338         * org.el (org-get-outline-path): Fix bug if level is not given.
4340         * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
4342 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4344         * org.el (org-refile): Avoid refiling to within the region to be
4345         refiled.
4347         * org-export-latex.el (org-export-latex-special-chars): Replace
4348         special characters also in tables.
4350         * org-agenda.el (org-agenda-change-all-lines): New argument
4351         FORCE-TAGS.
4352         (org-agenda-set-tags): Get the new tags and pass them to
4353         `org-format-agenda-item'.
4355 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4357         * org-export-latex.el (org-export-latex-classes): Add longable as
4358         a default package to all classes.
4359         (org-export-latex-tables): Handle the longtable attribute and the
4360         align attribute.
4362         * org-table.el (orgtbl-to-generic): Handle tables that start with
4363         a hline.
4365         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4366         \verb for colde-like snippets.
4367         (org-export-as-latex): Fix issues with region export.
4369         * org.el (org-up-heading-safe): Speed up function by using a
4370         direct regexp search.
4371         (org-olpa): New variable.
4372         (org-get-outline-path): Speed-up path constructions in cases where
4373         this is possible because the entire hierarchy is scanned anyway.
4374         (org-refile-get-location): Don't compare the truenames of files,
4375         this is too slow.
4376         (org-goto-max-level): New option.
4377         (org-goto): Use `org-goto-max-level'.
4379 2008-12-16  Tassilo Horn  <tassilo@member.fsf.org>
4381         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4382         Strip angle brackets from message-ids in the former and don't do
4383         it in the latter.
4384         (org-gnus-follow-link): Open summary reliable, even if the last
4385         messages were deleted, and handle empty groups, too.
4387 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4389         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4390         instead of \texttt for the =...= and ~===~ emphasis environments.
4391         (org-export-as-latex): Remove any old :org-license-to-kill text
4392         properties.
4393         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4394         (org-export-latex-make-header): Add some hard space after the
4395         table of contents.
4396         (org-export-latex-first-lines): Accept RBEG argument.  Mark
4397         exported text so that it will be excuded in further steps.
4399         * org-table.el (org-table-get-specials): Make @0 reference the
4400         last line in a table.
4401         (org-table-recalculate): Improve docstring.
4403 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4405         * org.el (org-log-done): Fix docstring.
4407 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4409         * org-exp.el (org-export-html-format-image): Fix bugs.
4411         * org-export-latex.el (org-export-latex-tables)
4412         (org-export-latex-links): Implement attribute, label, and caption
4413         handling.
4415         * org-exp.el (org-export-html-style-default): Add style
4416         definitions for the figure div.
4417         (org-export-preprocess-string, org-export-as-html): Implement
4418         attribute, label, and caption handling.
4419         (org-export-attach-captions-and-attributes): New function.
4420         (org-export-html-format-image): New function.
4421         (org-format-org-table-html): Implement attribute, label, and
4422         caption handling.
4424         * org.el (org-find-text-property-in-string): New function.
4425         (org-extract-attributes): Use the property org-attr instead of
4426         org-attrobutes, because this property is now set with the #+ATTR
4427         lines.
4429 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4431         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
4432         the case that FROM is nil.
4434         * org.el (org-before-first-heading-p): New function.
4436 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4438         * org-exp.el (org-export-as-html): Do not add a space before
4439         enforces line breaks.
4440         (org-export-as-html): Close paragraph before blockquote and verse
4441         tags.
4443 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4445         * org-id.el (org-id-locations-file): Wrap file name with
4446         `convert-standard-filename'.
4447         (org-id-files): New variable.
4448         (org-id-use-hash): New option.
4449         (org-id-update-id-locations): Also search in all files current
4450         listed in `org-id-files'.  Convert the resulting alist to a hash
4451         if the user customation says so.
4452         (org-id-locations-save): Handle he case if `org-id-locations' is a
4453         hash.
4454         (org-id-locations-load): Convert the alist to a hash.
4455         (org-id-add-location): Handle the hast case.
4456         (kill-emacs-hook): Make sure id locations are saved when Emacs is
4457         exited.
4458         (org-id-hash-to-alist, org-id-alist-to-hash)
4459         (org-id-paste-tracker): New functions.
4461 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4463         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
4464         bindings of calendar variables.
4466         * org-table.el (org-table-find-row-type): Rename from
4467         `org-find-row-type'.
4468         (org-table-rewrite-old-row-references): Rename from
4469         `org-rewrite-old-row-references'.
4470         (org-table-shift-refpart): Rename from `org-shift-refpart'.
4471         (org-table-cleanup-narrow-column-properties): Rename from
4472         `org-cleanup-narrow-column-properties'.
4474 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4476         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
4477         for better error messages.
4478         (org-table-get-descriptor-line): Supply the new arguments to
4479         `org-find-row-type'.
4480         (org-table-error-on-row-ref-crossing-hline): New option.
4482         * org.el (org-target-link-regexp): Make buffer-local.
4483         (org-move-subtree-down): Fix bug with trees at beginning of
4484         buffer.
4486 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4488         * org-faces.el (org-set-tag-faces): New function.
4489         (org-tags-special-faces-re): New variable.
4491         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
4493         * org-faces.el (org-tag-faces): New option.
4494         (org-tag): Mention `org-tag-faces' in the docstring.
4496 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4498         * org-exp.el (org-export-html-style-default): Implement new
4499         quoting.
4501         * org-jsinfo.el (org-infojs-template): Implement new quoting.
4503         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
4504         command to the `w3m-minor-mode-map'.
4506         * org-archive.el (org-archive-to-archive-sibling): Protect
4507         `this-command' to avoid appending kills during archiving.
4509         * org-exp.el (org-export-with-priority): New variable.
4510         (org-export-add-options-to-plist): Use `org-export-plist-vars'
4511         instead of internal list of strings and properties.
4512         (org-print-icalendar-entries): Retrieve the location property with
4513         inheritance.
4515 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4517         * org-exp.el (org-export-with-todo-keywords): New option.
4518         (org-export-plist-vars): Include also the keys for the #+OPTIONS
4519         line.
4520         (org-default-export-plist, org-export-add-options-to-plist)
4521         (org-export-as-ascii, org-export-as-html): Use the new structure
4522         of `org-export-plist-vars'.
4524         * org.el (org-map-entries): Return all values.
4526 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4528         * org.el (org-matcher-time): Recognize more special values.
4530         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
4532 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4534         * org.el (org-tags-exclude-from-inheritance): New option.
4535         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
4536         `org-tags-exclude-from-inheritance'.
4538         * org-agenda.el (org-agenda-show-inherited-tags): New option.
4539         (org-format-agenda-item): Add inherited tags to the agenda line
4540         string, and make sure that properties are kept when downcasing the
4541         tags list.
4542         (org-agenda-add-inherited-tags): New function.
4543         (org-downcase-keep-props): New function.
4545         * org.el (org-scan-tags): Mark inherited tags with a text
4546         property.
4547         (org-get-tags-at): Mark inherited tags with a text property.
4548         (org-add-prop-inherited): New function.
4550         * org-agenda.el (org-agenda-add-inherited-tags): New function.
4551         (org-agenda-show-inherited-tags): New option.
4553 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4555         * org.el (org-modules): Add org-w3m to the default modules.
4557         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
4558         orgtbl-mode.
4559         (orgtabl-create-or-convert-from-region): New command.
4561         * org-exp.el (org-export-as-ascii): Remove the handling of
4562         targets.
4563         (org-export-ascii-preprocess): Handle targets already in this
4564         function.
4566 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4568         * org-timer.el (org-timer-start-time): Define this variable.
4569         (org-timer-item): Make argument optional.
4571         * org-list.el (org-insert-item): Automatically insert a timer item
4572         if the current list is a timer list.
4574         * org-timer.el: New file.
4576         * org-publish.el (org-publish-org-index): Only exclude the index
4577         file in the main directory from being added to the site-map.
4578         (org-publish-get-project-from-filename): If the current project is
4579         a component, start publishing from the parent project.
4581 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4583         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
4585         * org-publish.el (org-publish-org-index): Improve removal of
4586         temporary buffers.
4588 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
4590         * org-agenda.el (org-get-closed): Re-apply changes
4591         accidentially overwritten by last commit to Emacs.
4593         * org.el (org-outline-path-complete-in-steps): New option.
4594         (org-refile-get-location): Honor
4595         `org-outline-path-complete-in-steps'.
4596         (org-agenda-change-all-lines, org-tags-sparse-tree)
4597         (org-time-string-to-absolute, org-small-year-to-year)
4598         (org-link-escape): Re-apply changes accidentially overwritten
4599         by last commit to Emacs.
4601 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4603         * org-clock.el (org-dblock-write:clocktable): Make sure the
4604         clocktable sees the first line.
4605         (org-clock-in): Warn if the clock cannot be resumed.
4607 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4609         * org.el (org-open-at-point): Fix mixup about interactive and
4610         non-interactive elisp links.
4612 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4614         * org-exp.el (org-export-preprocess-string): Allow one comment
4615         line before the first headline to always be included.  This is
4616         to not miss a commented target.
4618         * org-mouse.el (org-mouse-insert-item): Call
4619         `org-indent-to-column' instead of `indent-to', for XEmacs
4620         compatibility.
4622         * org.el (org-refile-targets): Fix customize definition so
4623         that it works also in XEmacs.
4624         (org-fixup-indentation): Call `org-indent-to-column' instead
4625         of `indent-to', for XEmacs compatibility.
4627 2008-11-23  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
4629         * org-mew.el (org-mew-store-link): Get the correct case folder
4630         for refiled messages.
4632 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4634         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
4635         line break indicators.
4637         * org.el (org-ido-completing-read): Remove the "i:" prefix for
4638         ido-completion propts.
4640 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4642         * org-remember.el (org-remember-apply-template): Use
4643         `org-substring-no-properties'.
4645         * org-compat.el (org-substring-no-properties): New function.
4647         * org-remember.el (org-remember-apply-template): Use
4648         `org-substring-no-properties' for compatibility.
4650         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
4651         option.
4652         (org-fix-bullet-type): respect
4653         `org-list-two-spaces-after-bullet-regexp'.
4655         * org-clock.el (org-clock-load): Clean up the code.
4657         * org.el (org-adaptive-fill-function): Allow two spaces after
4658         "1." as a list bullet.
4660 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4662         * org-clock.el (org-clock-save, org-clock-load): Check for
4663         live buffers, existing files, and buffer file names to ensure
4664         consistent information.
4665         (org-clock-persist): Make `clock' a special value of this
4666         variable, and improve docstring.
4668         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
4669         (org-get-string-indentation): Adapt indentation when the bullet
4670         width changes.
4672 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4674         * org-remember.el (org-remember-finalize): Make interactive.
4675         (org-remember-kill): New command.
4676         (org-remember-finish-immediately): Call `org-remember-finalize'
4677         directly.
4678         (org-remember-finalize): Make `org-remember-finalize' an interactive
4679         function.
4681 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4683         * org-remember.el (org-remember-apply-template): No ido completion
4684         for free prompts in remember templates.
4685         (org-remember-before-finalize-hook): New hook.
4686         (org-remember-mode): New minor mode.
4687         (org-remember-apply-template): Turn on `org-remember-mode'.
4689         * org-remember.el (org-remember-apply-template): Fix the way how
4690         the list of allowed properties is retrieved from the target file.
4692         * org.el (org-insert-link): Improve file link matching.
4694 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4696         * org-colview.el (org-columns-display-here): New argument
4697         DATELINE, to trigger using the new face.
4698         (org-agenda-colview-summarize): Call `org-columns-display-here'
4699         with the new argument.
4701         * org-faces.el (org-agenda-column-dateline): New face.
4703         * org-publish.el (org-publish-org-index): Use index-title at page
4704         title, not as section.
4706         * org-exp.el (org-export-html-format-desc): Respect the
4707         org-protect property.
4708         (org-export-as-html): Protect image specifiers that are in the
4709         description part of a link.
4711         * org.el (org-sort-entries-or-items, org-completing-read)
4712         (org-refile-get-location, org-olpath-completing-read, org-todo)
4713         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
4714         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
4715         (org-set-property, org-delete-property)
4716         (org-delete-property-globally): Use `org-ido-completing-read'.
4718         * org-remember.el (org-remember-apply-template): Use
4719         `org-ido-completing-read'.
4721         * org-publish.el (org-publish): Use `org-ido-completing-read'.
4723         * org-colview.el (org-columns-edit-value, org-columns-new)
4724         (org-insert-columns-dblock): Use `org-ido-completing-read'.
4726         * org-colview-xemacs.el (org-columns-edit-value)
4727         (org-columns-new, org-insert-columns-dblock): Use
4728         `org-ido-completing-read'.
4730         * org-attach.el (org-attach-delete-one, org-attach-open): Use
4731         `org-ido-completing-read'.
4733         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
4734         `org-ido-completing-read'.
4736         * org.el (org-time-today): New function.
4737         (org-matcher-time): Use `org-time-today'.  Add special treatment
4738         for "<tomorrow>" and "<yesterday>".
4739         (org-ido-completing-read): New function.
4740         (org-completion-use-ido): New option.
4742         * org-exp.el (org-export-format-source-code): Fix bug in require
4743         htmlize code.
4744         (org-export-target-internal-links): Fix bug in search for text
4745         property.
4747 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4749         * org-export-latex.el (org-export-latex-subcontent): Interprete
4750         target aliases as additonal labels.
4752         * org-exp.el (org-export-target-aliases): New variable.
4753         (org-export-preprocess-string)
4754         (org-export-handle-invisible-targets): Fill the alias alist.
4755         (org-export-as-html): Remove the &nbsp; from the anchor, and also
4756         assign an id.
4757         (org-html-level-start): Insert the target aliases as additonal
4758         anchors.
4760         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
4761         picture area.
4763 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4765         * org.el (org-open-at-mouse): Ensure correct link abbreviations
4766         when following a link with the mouse from the agenda.
4768         * org-exp.el (org-export-as-html): Avoid lone </div> when no
4769         headlines are created.
4771 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4773         * org.el (org-link-translation-function): New option.
4774         (org-open-at-point): Call `org-link-translation-function' if
4775         non-nil.
4776         (org-translate-link): New function.
4777         (org-translate-link-from-planner): New function.
4778         (org-open-at-point): Allow interactive commands in elisp links.
4780         * org-exp.el (org-icalendar-cleanup-string): Restore the old
4781         iCalendar quoting.  The new one seems to caus problems with
4782         applications.
4784         * org.el (org-yank): Set `this-command' to `yank', so that
4785         `yank-pop' will work.
4787 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4789         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
4790         compliance as far as quoting is concerned.
4792         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
4793         hexified version of the tag.
4795         * org-vm.el (org-vm-follow-link): Require `vm-search'.
4797         * org.el (org-up-heading-safe, org-forward-same-level): Always
4798         call `org-back-to-heading' instead of `outline-back-to-heading'.
4799         (org-back-to-heading): New wrapper around outline-back-to-heading,
4800         with a useful error message telling where the error happened.
4802         * org-list.el (org-update-checkbox-count): Always call
4803         `org-back-to-heading' instead of `outline-back-to-heading'.
4805         * org-exp.el (org-export-as-html): Make sure that each <img> tag
4806         has an `alt' attribute, to ensure XHTML validation.
4808 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4810         * org-publish.el (org-publish-attachment): Allow publishing to
4811         overwrite attachment files.
4813         * org-agenda.el (org-agenda-timerange-leaders): New option.
4814         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
4816         * org.el (org-edit-src-exit): Untabify ASCII image before
4817         returning.
4819 2008-11-19  Glenn Morris  <rgm@gnu.org>
4821         * org.el, org-mouse.el (org-agenda-change-all-lines):
4822         Fix declaration.
4824 2008-11-18  Carsten Dominik  <dominik@science.uva.nl>
4826         * org.el ("speedbar"): Only show context if the file really is an
4827         org-mode buffer.
4829 2008-11-17  Juanma Barranquero  <lekktu@gmail.com>
4831         * org.el (org-time-string-to-absolute, org-small-year-to-year)
4832         (org-tags-sparse-tree): Fix typos in docstrings.
4834 2008-11-15  Carsten Dominik  <dominik@science.uva.nl>
4836         * org-publish.el (org-publish-attachment): Allow copy-file to
4837         overwrite files.
4839 2008-11-13  Glenn Morris  <rgm@gnu.org>
4841         * org-agenda.el (org-get-closed): Fix alias.
4843 2008-11-12  Juanma Barranquero  <lekktu@gmail.com>
4845         * org.el (org-link-escape): Fix typo in docstring.
4847 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4849         * org.el (org-yank): Make any prefix force normal yanking.
4850         Suppress folding if text would be swallowed into a folded
4851         subtree.
4852         (org-yank-folded-subtrees, org-yank): Docstring updates.
4854         * org-agenda.el (org-agenda-compare-effort): Treat no effort
4855         defined as 0.
4857         * org-exp.el (org-export-language-setup): Add Catalan and
4858         Esperanto language entries.
4860 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4862         * org.el (org-refile): Allow refiling of entire regions.
4864         * org-clock.el (org-clock-time%): New function.
4866         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
4867         retrieve property values.
4869 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4871         * org-agenda.el (org-agenda-list): Handle the value `only' of
4872         org-agenda-show-log'.
4873         (org-agenda-log-mode): Interpret a double prefix arg.
4875 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4877         * org-exp.el (org-export-html-footnotes-section): New variable.
4878         (org-export-as-html): Use `org-export-html-footnotes-section' to
4879         insert the footnotes.
4880         (org-export-language-setup): Add "Footnotes" to language words.
4882 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4884         * org.el (org-yank): Fix bug when not inserting a subtree.
4886 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4888         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
4889         instead of `vm-beginning-of-message'.
4891         * org.el (org-make-link-regexps): Make sure that links to gnus can
4892         contain brackets.
4894 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4896         * org-attach.el (org-attach-dir): Remove duplicate ID creation
4897         code.
4899         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
4900         shell output.
4902         * org.el (org-link-abbrev-alist): Improve customization type.
4904         * org-attach.el (org-attach-expand-link, org-attach-expand): New
4905         functions.
4907         * org-agenda.el (org-agenda-get-progress): Rename from
4908         `org-get-closed'.  Implement searching for state changes as well.
4909         (org-agenda-log-mode-items): New option.
4910         (org-agenda-log-mode): New option prefix argument, interpreted as
4911         request to show all possible progress info.
4912         (org-agenda-get-day-entries): Call `org-get-progress' instead of
4913         `org-get-closed'.
4914         (org-agenda-set-mode-name): Handle the more complex log mode
4915         settings.
4916         (org-get-closed): New alias, pointing to `org-get-progress'.
4918 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
4920         * org.el (org-file-apps-defaults-gnu)
4921         (org-file-apps-defaults-macosx)
4922         (org-file-apps-defaults-windowsnt): Add an entry defining the
4923         system command.
4924         (org-file-apps): Allow `system' as key and value.
4925         (org-open-at-point): Explain the effect of a double prefix arg.
4926         (org-open-file): If the argument `in-emacs' is (16),
4927         i.e. corresponding to a double prefix argument, try to open the
4928         file externally.
4930 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
4932         * org.el (org-insert-link): Abbreviate absolute files names in
4933         links.  Also, fix a bug in which the double C-u prefix would not
4934         be honored.
4936 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
4938         * org.el (org-insert-heading): If buffer does not end with a
4939         newline, add one if necessary to insert headline correctly.
4941         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
4942         paragraphs, not inside.
4944         * org.el (org-todo): Quote
4945         `org-agenda-headline-snapshot-before-repeat'.
4947         * org-exp.el (org-export-as-html): Fully process link descriptions.
4948         (org-export-html-format-desc): New function.
4949         (org-export-as-html): Collect footnotes into the correct basket.
4950         (org-html-protect): No longer protect quotations marks here, this
4951         goes wrong.
4953         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
4954         BEG.
4956         * org-compat.el (org-fit-window-to-buffer): New function (not
4957         really, a preliminary and incomplete version was present earlier,
4958         but not used).
4960         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
4961         `org-fit-window-to-buffer'.
4963         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
4965         * org-agenda.el (org-agenda-get-restriction-and-command)
4966         (org-fit-agenda-window, org-agenda-convert-date): Use
4967         `org-fit-window-to-buffer'.
4969         * org-exp.el (org-export-as-html): Process href links through
4970         `org-export-html-format-href'.
4971         (org-export-html-format-href): New function.
4973         * org-agenda.el (org-agenda-todo): Update only the current
4974         headline if this is a repeated TODO, marked done for today.
4975         (org-agenda-change-all-lines): New argument JUST-THIS, to change
4976         only the current line.
4978         * org.el (org-todo): Take a snapshot of the headline if the
4979         repeater might change it.
4981 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
4983         * org-publish.el (org-publish-find-title): Remove buffers visited
4984         only for extracting the title.
4986         * org-exp.el (org-export-html-style)
4987         (org-export-html-style-default): Mark style definitions as
4988         unparsed CDATA.
4990         * org-publish.el (org-publish-validate-link): Function
4991         re-introduced.
4993 2008-11-12  Charles Sebold  <csebold@gmail.com>
4995         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
4996         property.
4997         (org-plot-quote-timestamp-field): New function.
4998         (org-plot-quote-tsv-field): Call timestamp field function when
4999         necessary rather than just quoting as a string.
5000         (org-plot/gnuplot-to-data): Pass in timefmt property.
5001         (org-plot/gnuplot-script): Supports timefmt property.
5002         (org-plot/gnuplot): Checks for timestamp column before checking
5003         for text index column.
5005 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
5007         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
5009         * org-publish.el (org-publish-org-index): Create a section in the
5010         index file.
5011         (org-publish-org-index): Stop linking to directories.
5013         * org.el (org-emphasis-alist): Use span instead of <u> to
5014         underline text.
5016         * org-exp.el (org-export-as-html): Make sure <p> is closed before
5017         <pre> sections.
5019 2008-11-12  Sebastian Rose  <sebastian_rose@gmx.de>
5021         * org-jsinfo.el (org-infojs-template): Remove language attribute
5022         from script tag.
5024 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
5026         * org-agenda.el (org-agenda-remove-marked-text): New function.
5027         (org-agenda-mark-filtered-text)
5028         (org-agenda-unmark-filtered-text): New functions.
5029         (org-write-agenda): Remove fltered text.
5031         * org.el (org-make-tags-matcher): Give access to TODO "property"
5032         without speed penalty.
5034 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
5036         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
5037         option.
5038         (org-store-link-props): Make sure adding to the plist works
5039         correctly.
5041         * org-gnus.el (org-gnus-no-new-news): New function.
5042         (org-gnus-follow-link): Allow the article ID to be a message-id,
5043         in addition to allowing article numbers.  Message IDs make much
5044         more roubust links.
5045         (org-gnus-store-link): Use message-id to create link.
5047 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
5049         * org.el (org-emphasize): Reverse the selection array.
5050         (org-emphasis-alist): Set <code> tags for the verbatim
5051         environment.
5053         * org-remember.el (org-remember-handler): Fix bug with
5054         prefix-related changing of the note storage target.
5056         * org-exp.el (org-print-icalendar-entries): Make the exported
5057         priorities compatible with RFC 2445.
5059         * org-clock.el (org-clock-save): Insert time stamp without
5060         dependence on time-stamp.el.
5062 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
5064         * org.el ("saveplace"): If saveplace puts point into an invisible
5065         location, make it visible.
5066         (org-make-tags-matcher): Allow inactive time stamps in time
5067         comparisons.
5068         (org-yank-adjusted-subtrees): New option.
5069         (org-yank): Incorporate adjusting trees.
5070         (org-paste-subtree): New argument FOR-YANK which will cause
5071         insertion at point without backing up over white lines, and leave
5072         point at the end of the inserted text.  Also if the cursor is
5073         at the beginning of a headline, use the same level or the inserted
5074         tree.
5076         * org-publish.el (org-publish-get-base-files-1): Deal correctly
5077         with broken symlinks.
5079 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
5081         * org-exp.el (org-export-select-tags, org-get-current-options):
5082         Fix typo.
5084 2008-11-06  Glenn Morris  <rgm@gnu.org>
5086         * org-publish.el (org-publish-attachment): Use copy-file rather than
5087         eshell/cp.
5089 2008-11-04  Juanma Barranquero  <lekktu@gmail.com>
5091         * org.el (org-columns-modify-value-for-display-function):
5092         * org-table.el (org-table-convert-region): Fix typos in docstrings.
5094 2008-10-28  Glenn Morris  <rgm@gnu.org>
5096         * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
5098         * org-list.el (outline-next-heading, outline-back-to-heading):
5099         Fix declarations.
5101 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5103         * org-agenda.el (org-format-agenda-item)
5104         (org-agenda-filter-make-matcher): Make sure tags are stored and
5105         compared donwcased.
5107 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5109         * org.el (org-insert-todo-heading): Fix bug with force-heading
5110         argument.
5112 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5114         * org-exp.el (org-export-as-ascii): Handle the case that we are
5115         bulishing from an indirect buffer.
5117         * org-table.el (org-table-copy-down): Fix bug with time stamp
5118         increment.
5120         * org-mouse.el (org-mouse-features): New option.
5121         (org-mode-hook): Turn on features depending on
5122         `org-mouse-features'.
5124         * org.el (org-insert-heading-respect-content): Force heading
5125         creation.
5126         (org-insert-heading): keep the folding state of the heading before
5127         the inserted one.
5129 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5131         * org-archive.el (org-archive-to-archive-sibling): Handle top
5132         level headlines better.
5134 2008-10-26  Bastien Guerry  <bzg@altern.org>
5136         * org-export-latex.el (org-export-latex-classes): Add
5137         \usepackage{graphicx} to the default list of packages.
5139 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5141         * org-agenda.el (org-agenda-filter): Rename from
5142         `org-agenda-filter-tags'.
5144 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5146         * org.el (org-entry-properties): Add CATEGORY property, iven if it
5147         is not defined as a property in this entry.
5148         (org-add-log-note): Mask prefix argument when immediately storing
5149         the note.
5151         * org-agenda.el (org-agenda-filter-effort-default-operator): New
5152         option.
5154 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
5156         * org.el (org-add-log-setup): Bugfix; code to find insertion point
5157         after drawers was skipping ahead one line too many, so notes were
5158         inserted after the first note instead of before it.
5160 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5162         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
5163         New variables.
5164         (org-prepare-agenda): Reset the filter tags.
5165         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
5166         Show filter tags in mode line.
5168         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
5169         formatter.
5171         * org-export-latex.el (org-latex-entities-regexp): New constant.
5172         (org-export-as-pdf): Use two calls to `shell-command'.
5174 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5176         * org-export-latex.el (org-export-latex-treat-sub-super-char):
5177         Honor the {} value of the subsuperscript setting.  Make sure that
5178         longer subsuperscripts are typeset in a roman font.
5180         * org.el (org-clock-update-time-maybe): Compute negative clock
5181         intervals correctly.
5183 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5185         * org.el (org-add-log-setup): Respect
5186         `org-log-state-notes-insert-after-drawers'.
5187         (org-log-state-notes-insert-after-drawers): New option.
5188         (org-todo-trigger-tag-changes): New function.
5189         (org-todo): Call `org-todo-trigger-tag-changes'.
5191 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
5193         * org.el (org-add-log-setup): Only skip drawers if the are
5194         immediately after the scheduling keywords.
5196         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
5197         function
5198         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
5199         call it with the current todo state to get the state to switch to
5200         when clocking in.
5201         (org-clock-in): Use org-indent-line-function to indent clock lines.
5202         (org-clock-find-position): Fix indentation of empty clock drawers.
5204 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5206         * org-publish.el (org-publish-org-to): Handle case when
5207         org-export-to-pdf does return a file name, not a buffer.
5208         (org-publish-org-to-pdf): New function.
5210         * org-export-latex.el (org-export-as-pdf)
5211         (org-export-as-pdf-and-open): New commands.
5213         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
5214         forms as ranges.
5216         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
5217         things in protexted regions.
5219 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
5221         * org-export-latex.el (org-export-latex-preprocess): Improve
5222         quoting of LaTeX environments.
5224 2008-10-19  Eli Zaretskii  <eliz@gnu.org>
5226         * org.el (org-default-notes-file):
5227         * org-publish.el (org-publish-timestamp-directory):
5228         * org-id.el (org-id-locations-file): Run file names that begin
5229         with a period thru `convert-standard-filename'.
5231 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
5233         * org-plot.el: Switch coding system to unix.
5235 2008-10-12  John Wiegley  <johnw@newartisans.com>
5237         * org-attach.el: New file.
5239 2008-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
5241         * org.el (org-edit-fixed-width-region): Exclude final newline from
5242         picture area.
5244         * org-export-latex.el (org-export-latex-subcontent): Add labels to
5245         sections, to make internal links work.
5246         (org-export-latex-fontify-headline): Do not remove all text
5247         properties, to make sure that target properties survive this
5248         process.
5250         * org-exp.el (org-export-preprocess-string): Change sequence of
5251         modifications, to make sure links are prepared before the LaTeX
5252         conversions do happen.
5254         * org-attach.el (org-attach-delete-all): Rename from
5255         `org-attch-delete'.  Add a security query before deleting the
5256         entire directory.  New optional argument FORCE can overrule the
5257         security query.
5258         (org-attach-delete-one): New command.
5260         * org-attach.el (org-attach-file-list): Fix bug with directory.
5262         * org.el (org-apps-regexp-alist): New function.
5263         (org-file-apps): Add auto-mode to the default value.
5264         (org-open-file): Use the new structure of org-file-apps.
5266         * org-attach.el (org-attach): Support the new keys.
5267         (org-attach-method): New option.
5269         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
5270         March.
5272         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
5273         of the list value o `org-use-tag-inheritance'.
5275         * org-attach.el (org-attach-auto-tag): New option.
5276         (org-attach-tag, org-attach-untag): New functions.
5277         (org-attach-attach, org-attach-new, org-attach-sync): Call
5278         `org-attach-tag'.
5279         (org-attach-delete): Call `org-attach-untag'.
5281         * org-table.el (orgtbl-self-insert-command): Make this work for
5282         the keypad as well.
5284         * org.el (org-add-log-setup): Limit searc for drawers to entry
5285         text, not to subtree.
5287         * org-clock.el (org-clock-heading-for-remember): New variable.
5288         (org-clock-in): Set `org-clock-heading-for-remember'.
5290 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
5292         * org-remember.el (org-remember-apply-template): Add new
5293         expansions: %k, %K for currently clocked task and a link to the
5294         currently clocked task, and %< to file notes in the currently
5295         clocked task.
5297 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
5299         * org-export-latex.el (org-export-latex-make-header): Also insert
5300         the content of the property :latex-header-extra.
5302         * org-exp.el (org-infile-export-plist): Put the content of
5303         #+LATEX_HEADER: into the property :latex-header-extra.
5305         * org-colview.el (org-columns-get-format-and-top-level): Remove
5306         resetting the marker.
5308         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5309         Remove resetting the marker.
5311         * org.el (org-entry-property-inherited-from): Improve docstring.
5312         (org-entry-get-with-inheritance): Reset marker before starting the
5313         search.
5315         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5317         * org.el (org-entry-get-multivalued-property)
5318         (org-entry-protect-space, org-entry-restore-space): New
5319         functions.
5320         (org-file-apps-defaults-macosx): Let postscript files be opened by
5321         preview.
5322         (org-time-stamp-inactive): Call `org-time-stamp'.
5323         (org-time-stamp): New argument `inactive'.  Also edit inacive
5324         stamps.  Convert time stamp type.
5325         (org-open-file): Interpret the `default' value for the `command'
5326         in `org-file-apps'.
5328         * org-id.el (org-id-int-to-b36-one-digit)
5329         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5330         (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
5331         b36.
5333         * org-id.el (org-id-reverse-string): New function.
5334         (org-id-new): Use `org-id-reverse-string' to make sure the
5335         beginning chars of the ID are mutating fast.  This allows to use a
5336         directory structure to spread things better.
5337         (org-id-prefix): Change default to nil.
5339         * org-list.el (org-move-item-down, org-move-item-up): Remember and
5340         restore the column of the cursor position.
5342         * org-remember.el (org-remember-apply-template): Remove properties
5343         from `initial'.
5345         * org-wl.el (org-wl-open): Remove useless call to
5346         `wl-thread-open-all'.
5348         * org-remember.el (org-remember-handler): Fix bug with `bottom'
5349         location.
5351         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5352         `org-bbdb-anniversaries'.
5354         * org.el (org-get-next-sibling, org-forward-same-level): New
5355         functions, similar to the outline versions, but invisible headings
5356         are OK.
5358 2008-10-12  Bastien Guerry  <bzg@altern.org>
5360         * org.el (org-auto-repeat-maybe): Insert a space between
5361         the timestamp's type and the timestamp itself.
5363 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
5365         * org-table.el (org-table-sum): Do not format the result with %g,
5366         it does rounding when there are too many digits.
5368         * org.el (org-map-entries): Protect the keyword-selecting variables.
5370 2008-10-12  Bastien Guerry  <bzg@altern.org>
5372         * org-agenda.el (org-agenda-to-appt): Make sure the function check
5373         against all agenda files.
5375 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
5376         Bastien Guerry  <bzg@altern.org>
5378         * org-list.el: New file, aggregating list functions from org.el
5379         and org-export-latex.el.
5381 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
5383         * org.el (org-edit-src-region-extra): New option.
5385         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5386         time before 1am.
5388 2008-10-12  Bastien Guerry  <bzg@altern.org>
5390         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5392 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
5394         * org-plot.el (org-plot/gnuplot): Make tables starting with a
5395         hline work correctly.
5396         (org-plot/gnuplot-script): Put commas at the end of each script
5397         line.
5399         * org.el (org-get-refile-targets): Replace links with their
5400         descriptions
5401         (org-imenu-get-tree): Replace links with their descriptions.
5403         * org-remember.el (org-remember-apply-template): Add a new
5404         expansion for adding properties to remember items.
5406         * org.el (org-add-log-setup): Skip over drawers (properties,
5407         clocks etc) when adding notes.
5409         * org-agenda.el (org-agenda-get-closed): show durations of clocked
5410         items as well as the start and end times.
5412         * org-compat.el (org-get-x-clipboard-compat): Add a compat
5413         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
5415         * org-remember.el (org-get-x-clipboard): Use the compat
5416         function to get clipboard values when x-selection-value is
5417         unavailable.  Use substring-no-properties instead of
5418         set-text-properties to remove text properties from the clipboard
5419         value.
5421         * lisp/org-clock.el (org-update-mode-line): Support limiting the
5422         modeline clock string, and display the full todo value in the
5423         tooltip.  Set a local keymap so mouse-3 on the clock string goes to
5424         the currently clocked task.
5425         (org-clock-string-limit): Add a custom value for the maximum
5426         length of the clock string in the modeline.
5427         (org-clock-mode-map): Add a keymap for the modeline string.
5429 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
5431         * org-compat.el (org-propertize): New function.
5433 2008-10-12  Bastien Guerry  <bzg@altern.org>
5435         * org-export-latex.el (org-export-latex-tables): protect exported
5436         tables from further special chars conversion.
5437         (org-export-latex-preprocess): Preserve LaTeX environments.
5438         (org-list-parse-list): Parse descriptive lists.
5439         (org-list-to-generic, org-list-to-latex, org-list-to-html)
5440         (org-list-to-texinfo): Export descriptive lists.
5441         (org-quote-chars): Remove.
5442         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
5443         (org-export-latex-list-beginning-re): Rename to
5444         `org-list-beginning-re'
5445         (org-list-item-begin): Rename to `org-list-item-beginning'.
5447 2008-10-12  Eric Schulte  <schulte.eric@gmail.com>
5449         * org-plot.el: New file.
5451 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
5453         * org.el (org-refile): Allow refiling to the last entry in the
5454         buffer.
5455         (org-get-tags-at): Fix bug when inheritance is turned off.
5457         * org.el (org-indent-line-function): No longer check for src
5458         regions, this is too much overhead.
5460         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
5461         matching.
5463         * org.el (org-scan-tags): Make sure that tags matching is not case
5464         sensitive.  TODO keyword matching is case sensitive, however, to
5465         avoid confusion with similar words that are not meant to be
5466         keywords.
5468         * org.el (org-get-local-tags-at): New function.
5469         (org-get-local-tags): New function.
5471         * org-exp.el (org-export-get-categories): New function.
5473         * org-agenda.el (org-sorting-choice)
5474         (org-agenda-sorting-strategy, org-agenda-get-todos)
5475         (org-agenda-get-timestamps, org-agenda-get-deadlines)
5476         (org-agenda-get-scheduled, org-agenda-get-blocks)
5477         (org-entries-lessp): Implement sorting by TODO state.
5478         (org-cmp-todo-state): New defsubst.
5480         * org-colview.el (org-colview-construct-allowed-dates): New
5481         function.
5482         (org-columns-next-allowed-value): Use
5483         `org-colview-construct-allowed-dates'.
5485         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
5486         function.
5487         (org-columns-next-allowed-value): Use
5488         `org-colview-construct-allowed-dates'.
5490         * org.el (org-protect-slash): New function.
5491         (org-get-refile-targets): Use `org-protect-slash'.
5493         * org-agenda.el (org-global-tags-completion-table): New variable.
5495         * org-exp.el (org-export-handle-export-tags): New function.
5496         (org-export-preprocess-string): Call
5497         `org-export-handle-export-tags'.
5499         * org-publish.el (org-publish-expand-components): Function removed.
5500         (org-publish-expand-projects): Allow components to have components.
5502         * org.el (org-indent-line-function): Do not indent in regions that
5503         are external source code.
5504         (org-yank-and-fold-if-subtree): New function.
5506         * org-agenda.el (org-agenda-todayp): New function.
5507         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
5508         `org-agenda-todayp'.
5510         * org.el (org-insert-heading-respect-content)
5511         (org-insert-todo-heading-respect-content): New commands.
5512         (org-insert-heading-respect-content): New option.
5513         (org-insert-heading): Respect `org-insert-heading-respect-content'.
5515         * org-clock.el (org-clock-find-position): Make sure the note after
5516         the clock line gets moved into the new clock drawer.
5518         * org-id.el (org-id-new): New option.
5520         * org-table.el (org-table-copy-down): Avoid overflow during
5521         increment.  Use prefix argument 0 to temporarily disable the
5522         increment.
5524         * org-exp.el (org-export-as-html): Do not turn on the major mode
5525         if the buffer will be killed anyway.
5526         (org-get-current-options): Exclude the #+TEXT field.
5527         (org-export-as-html): Make sure text before the first headline is
5528         a paragraph.
5530         * org-publish.el (org-publish-org-to): Tell the exporter that this
5531         buffer will be killed, so it is not necessary to do major mode
5532         initialization.
5534         * org-archive.el (org-archive-to-archive-sibling): Show empty
5535         lines after folding the archive sibling.
5537         * org.el (org-log-note-extra): New variable.
5539 2008-10-12  Bastien Guerry  <bzg@altern.org>
5541         * org.el (org-additional-option-like-keywords): Add keywords for
5542         the _QUOTE, _VERSE and _SRC environments.
5544         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
5545         exporting _QUOTE and _VERSE environments.
5547 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
5549         * org-agenda.el (org-agenda-filter-by-tag): New command.
5551         * org-exp.el (org-get-current-options): Remove angular brackets
5552         from the date entry.
5554         * org.el (org-edit-fixed-width-region): New function.
5555         (org-edit-fixed-width-region): Also try
5556         `org-edit-fixed-width-region'.
5557         (org-edit-fixed-width-region-mode): New option.
5558         (org-activate-code): Only interprete lines starting with colon
5559         plus a space as example lines.
5561         * org-remember.el (org-remember-templates): Add nil instead of
5562         empty strings to fix the length of remember templates.
5564         * org-table.el (org-calc-default-modes): Fix the time format for
5565         calc, from 12 hour to 24 hour clock.
5567         * org-agenda.el (org-agenda-get-deadlines)
5568         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
5569         entries that are pre-warnings of deadlines or reminders.
5571         * org.el (org-sort-entries-or-items): Make numeric and alpha
5572         comparisons ignore any TODO keyword and priority cookie.
5574         * org-remember.el (org-remember-handler): Reinterpretation of the
5575         prefix argument.
5577         * org-agenda.el (org-agenda-get-scheduled): Use new
5578         `org-scheduled' face.
5580         * org-faces.el (org-scheduled): New face.
5582         * org-wl.el (org-wl-open): Remove incorrect declaration.
5584         * org-gnus.el (org-gnus-store-link): Support for :to information
5585         in gnus links.
5587         * org-exp.el (org-export-as-html): Fix typo in creator
5588         information.
5589         (org-export-protect-examples): New parameter indent.  Insert extra
5590         spaces only when this parameter is specified.
5591         (org-export-preprocess-string): Call `org-export-protect-examples'
5592         with an indentation parameter when exporting to ASCII.
5594         * org-remember.el (org-remember-templates)
5595         (org-remember-apply-template): Allow the file component to be a
5596         function.
5598         * org.el (org-goto-local-search-headings): Rename from
5599         `org-goto-local-search-forward-headings'.  Added the possibility
5600         to search backwards.
5602         * org-export-latex.el (org-export-latex): New customization
5603         group.
5605         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
5607         * org-exp.el (org-html-do-expand): Allow {} to terminate
5608         tex macro.
5610         * org.el (org-buffer-list): Select buffers based on major mode,
5611         not on file name.
5613         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
5614         face property.
5616         * org-colview.el (org-columns-display-here): Use
5617         `org-columns-modify-value-for-display-function'.
5619         * org-colview-xemacs.el (org-columns-display-here): Use
5620         `org-columns-modify-value-for-display-function'.
5622         * org.el (org-columns-modify-value-for-display-function): New option.
5624         * org-publish.el (org-publish-file): Make sure the directory match
5625         for the publishing directory works correctly.
5627         * org-agenda.el (org-agenda-execute-calendar-command)
5628         (org-agenda-diary-entry): Additional optional argument.
5630 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
5632         * org-exp.el (org-export-as-html): Add attributes also in mailto
5633         and ftp links.
5635         * org.el (org-autoload): Add `org-dblock-write:columnview'.
5637 2008-08-11  Glenn Morris  <rgm@gnu.org>
5639         * org-mac-message.el (do-applescript): Fix declaration.
5641 2008-08-10  Glenn Morris  <rgm@gnu.org>
5643         * org-exp.el (org-export-as-html): Let-bind `i'.
5645         * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
5646         (org-extract-attributes): Let-bind `key', `value'.
5647         (org-make-tags-matcher): Let-bind `time-p'.
5649 2008-07-27  Carsten Dominik  <dominik@science.uva.nl>
5651         * org-install.el: New file.
5653 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
5655         * org-exp.el (org-export-html-style)
5656         (org-export-html-style-extra): Declare as safe-local-variable.
5658 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
5660         * org-publish.el (org-publish-file): Use the true name of the
5661         file.
5663         * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
5664         instead of :style.
5666         * org-exp.el (org-export-plist-vars)
5667         (org-export-add-options-to-plist): Handle creator setting flag.
5668         (org-export-as-html): Handle attributes also for ftp and mailto
5669         links.
5671         * org-agenda.el (org-agenda-diary-entry)
5672         (org-agenda-execute-calendar-command): Cater for the second
5673         argument of `calendar-cursor-to-date'.
5675 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
5677         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
5678         sure that calls from `org-export-region-as-html' do not do the
5679         special check for a subtree.
5681         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
5683         * org.el (org-open-file): Use
5684         `org-open-directory-means-index-dot-org'.
5685         (org-open-directory-means-index-dot-org): New option.
5687         * org.el (org-make-link-string): Remove link attributes from
5688         description.
5689         (org-open-at-point): Remove link attributes before using the path.
5691         * org-exp.el (org-export-as-html): Handle link attributes.
5693         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
5695         * org-table.el (org-table-to-lisp): New function.
5697         * org.el (org-narrow-to-subtree): Do not include the final newline
5698         into the narrowed region.
5700         * org-agenda.el (org-agenda-custom-commands-local-options): Fix
5701         bug with user-define skipping condition.
5703         * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
5705         * org-exp.el (org-export-html-style-default): Automatic overflow
5706         handling for pre fields.
5707         (org-export-as-ascii, org-export-as-html): Change default format
5708         for time stamp.
5710         * org-table.el (org-table-export): Offer completion for translator
5711         functions, and do not require a heading above the table.
5713         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
5714         Cater for the case of a list starting in the first line of the
5715         buffer.
5717         * org-publish.el (org-publish-find-title): Bug fix.
5718         (org-publish-org-index): Implement new :index-style option.
5720         * org-publish.el (org-publish-timestamp-filename): Use
5721         SHA1-encoded file names in the timestamp directory.
5723         * org-publish.el (org-publish-needed-p): Be verbose about files
5724         published and files skipped.
5726         * org-exp.el (org-export-preprocess-string): Swap link
5727         normalization and internal link targeting.
5729         * org-publish.el (org-publish-needed-p): Create timestamp
5730         directory when it does not exist.
5732         * org-clock.el (org-clock-out-when-done): Doc fix.
5734         * org.el (org-agenda-skip-unavailable-files): Doc fix.
5736         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
5737         Ignore case when searching for the COMMENT cookie at export time.
5739         * org-exp.el (org-get-file-contents)
5740         (org-get-and-remove-property): New functions.
5741         (org-export-handle-include-files): Handle the new prefix options.
5742         (org-export-as-html): Fix the verse environment.
5744         * org.el (org-time=, org-time<, org-time<=, org-time>)
5745         (org-time>=, org-time<>, org-2ft): New functions.
5746         (org-op-to-function): Also provide for the time testing functions.
5748         * org-exp.el (org-export-html-style-default): New constant.
5750         * org-exp.el (org-export-html-style-extra): New variable.
5751         (org-export-splice-style): New function.
5753         * org-exp.el (org-export-plist-vars, org-export-as-html):
5754         Implement `org-export-creator-info'.
5755         (org-export-creator-info): New option.
5757         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
5758         (org-property-drawer-re, org-clock-drawer-re): New constants.
5760         * org-exp.el (org-icalendar-use-deadline)
5761         (org-icalendar-use-scheduled): New options.
5762         (org-icalendar-include-todo): Default changed to t.
5763         (org-print-icalendar-entries): Implement better utilization of
5764         scheduling and deadline time stamps.
5765         (org-export-target-internal-links, org-export-as-html): Allow file
5766         lines without the "file:" prefix if the file path is an absolute
5767         path or starts with ".".
5769         * org-clock.el (org-clocktable-shift): Also understand yesterday,
5770         lastweek etc.
5771         (org-clock-special-range): Also understand yesterday, lastweek etc.
5773         * org.el (org-agenda-skip-archived-trees): Docstring now
5774         discourages using this.
5775         (org-scan-tags): Check for org-agenda-archives-mode.
5776         (org-map-entries): Make sure org-agenda-archives-mode is nil.
5777         (org-agenda-files): Functionality of second arg changed.
5779         * org-agenda.el (org-agenda-archives-mode): New variable
5780         (org-write-agenda, org-prepare-agenda, org-agenda-list)
5781         (org-search-view, org-todo-list, org-tags-view)
5782         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
5783         `ifmode' argument.
5784         (org-agenda-quit): Reset the archives mode.
5785         (org-agenda-archives-mode): New command.
5786         (org-agenda-set-mode-name): Include archives info.
5788         * org.el (org-paste-subtree): Make sure the yanked headline is
5789         visible if it was yanked at a visible point.
5790         (org-move-item-up): Fix the bug with moving white space at the end
5791         of the item.
5792         (org-show-empty-lines-in-parent): New function.
5794 2008-07-19  Juri Linkov  <juri@jurta.org>
5796         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
5797         new keymap `narrow-map' instead of binding "\C-xns".
5799 2008-07-02  Juanma Barranquero  <lekktu@gmail.com>
5801         * org.el (org-agenda-skip-unavailable-files):
5802         * org-clock.el (org-clock-out-when-done): Doc fixes.
5804 2008-06-18  Glenn Morris  <rgm@gnu.org>
5806         * org.el (org-map-entries): Let-bind `file'.
5808 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5810         * org-colview.el (org-columns-next-allowed-value): Bug fix.
5812         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
5814         * org-agenda.el (org-agenda-get-closed): Get the end time into the
5815         agenda prefix as well.
5817         * org-publish.el (org-publish-org-index): Make a properly indented
5818         list.
5820         * org.el (org-calendar-agenda-action-key): New option.
5821         (org-get-cursor-date): New function.
5822         (org-mark-entry-for-agenda-action): New command.
5823         (org-overriding-default-time): New variable.
5824         (org-read-date): Respect `org-overriding-default-time'.
5826         * org-remember.el (org-remember-apply-template): Respect the
5827         overriding default time.
5829         * org-agenda.el (org-agenda-action-marker): New variable.
5830         (org-agenda-action): New command.
5831         (org-agenda-do-action): New function.
5833 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5835         * org.el (org-schedule, org-deadline): Protect scheduled and
5836         deadline tasks against changes that accidently remove the
5837         repeater.  Also show a message with the new date when done.
5839 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5841         * org.el (org-beginning-of-line): Cater for the case when there
5842         are tags but no headline text.
5843         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
5844         it set.
5846 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5848         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
5849         the return value is nil instead of "nil" when there is no match.
5851         * org-exp.el (org-insert-centered): Use fill-column instead of
5852         80.
5853         (org-export-as-ascii): Use string-width to measure the width of
5854         the heading.
5856         * org.el (org-diary-to-ical-string): No longer kill buffer
5857         FROMBUF, this is now done by the caller.
5859         * org-exp.el (org-print-icalendar-entries): Move the call to
5860         `org-diary-to-ical-string' out of the loop, and kill the buffer
5861         afterwords.
5863         * org-remember.el (org-remember-visit-immediately): Position
5864         cursor after moving to the note.
5865         (org-remember-apply-template): Use a text property to record the
5866         cursor position.
5867         (org-remember-handler): Align tags after pasting the note.
5869 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5871         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
5873         * org-agenda.el (org-agenda-open-link): If there is an
5874         org-bbdb-name property in the current line, jump to that bbdb
5875         entry.
5877         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
5878         text property, so that the agenda knows where this entry comes
5879         from.
5881         * org-agenda.el (org-agenda-clock-in): Fix bug in the
5882         interaction between clocking-in from the agenda, and  automatic
5883         task state switching.
5885         * org-macs.el (org-with-point-at): Bug fix in macro definition.
5887         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
5888         zmacs-region stays after this command in XEmacs.
5890 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5892         * org.el (org-scan-tags): Allow new values for ACTION parameter.
5894         * org-remember.el (org-remember-templates): Fix bug in
5895         customization type definition.
5897         * org.el (org-map-entries): New function.
5899 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5901         * org-agenda.el (org-agenda-skip-comment-trees): New option.
5902         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
5904 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5906         * org-remember.el (org-jump-to-target-location): New variable.
5907         (org-remember-apply-template): Set
5908         `org-remember-apply-template' if requested by template.
5909         (org-remember-handler): Start an idle timer to jump to
5910         remember location.
5912         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
5914         * org.el (org-set-regexps-and-options): Fix bug with parsing of
5915         file tags.
5916         (org-get-tags-at): Add the content of `org-file-tags'.
5918         * org-exp.el (org-export-handle-comments): Fix bug with several
5919         comment lines after each other.
5920         (org-number-to-roman, org-number-to-counter): New functions.
5921         (org-export-section-number-format): New option.
5923 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5925         * org-exp.el (org-export-protect-examples): Catch the case of a
5926         missing end_example line.
5928         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
5929         `org-file-tags' to nil.
5931         * org-colview.el (org-columns-next-allowed-value): Handle next
5932         argument NTH to directly select a value.
5934         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
5935         argument NTH to directly select a value.
5937 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5939         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
5941 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5943         * org.el (org-columns-ellipses): New option.
5945 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5947         * org-colview.el (org-columns-add-ellipses): New function.
5948         (org-columns-compact-links): New function.
5949         (org-columns-cleanup-item): Call `org-columns-compact-links'.
5950         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
5951         when in agenda.
5952         (org-columns-edit-value): Fix bug with editing values from
5953         agenda column view.
5954         (org-columns-redo): Also redo the agenda itself.
5956 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5958         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
5959         option.
5961         * org-colview.el (org-agenda-columns-cleanup-item): New function.
5963         * org-exp.el (org-export-ascii-preprocess): Rename from
5964         `org-export-ascii-clean-string'.
5965         (org-export-kill-licensed-text)
5966         (org-export-define-heading-targets)
5967         (org-export-handle-invisible-targets)
5968         (org-export-target-internal-links)
5969         (org-export-remove-or-extract-drawers)
5970         (org-export-remove-archived-trees)
5971         (org-export-protect-quoted-subtrees)
5972         (org-export-protect-verbatim, org-export-protect-examples)
5973         (org-export-select-backend-specific-text)
5974         (org-export-mark-blockquote-and-verse)
5975         (org-export-remove-comment-blocks-and-subtrees)
5976         (org-export-handle-comments, org-export-mark-radio-links)
5977         (org-export-remove-special-table-lines)
5978         (org-export-normalize-links)
5979         (org-export-concatenate-multiline-links)
5980         (org-export-concatenate-multiline-emphasis): New functions,
5981         obtained from spliting the export preprocessor.
5983         * org-table.el (org-table-recalculate): Improve error message if
5984         the row number is invalid.
5986 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5988         * org-archive.el (org-archive-save-context-info): Fix bugs in
5989         customization setup and docstring.
5991         * org-exp.el (org-export-html-style): Change the size of in the
5992         <pre> element to 90%.
5994 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
5996         * org.el (org-find-src-example-start): Function removed.
5997         (org-edit-src-find-region-and-lang): New function.
5999 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6001         * org.el (org-edit-src-exit): New function.
6002         (org-exit-edit-mode): New minor mode.
6004         * org-exp.el (org-export-preprocess-string): Fix bug with removing
6005         comment-like lines from protected examples.
6007         * org.el (org-edit-src-example, org-find-src-example-start)
6008         (org-protect-source-example, org-edit-special): New functions.
6010 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6012         * org-publish.el (org-publish-project-alist): Fix typo in
6013         docstring.
6014         (org-publish-project-alist): Handle :index-title property.
6016 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6018         * org-export-latex.el (org-export-as-latex): Make sure region
6019         bounds are correct.  Parse subtree properties relating to export.
6021         * org-exp.el (org-export-add-options-to-plist): New function.
6022         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
6024 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6026         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
6027         EXPORT_TITLE.
6029         * org-exp.el (org-export-get-title-from-subtree)
6030         (org-export-as-ascii, org-export-as-html): Make sure the original
6031         region-beginning and region-end are used, even after moving point.
6032         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
6033         property.
6035         * org-remember.el (org-remember-last-stored-marker): New variable.
6036         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
6037         (org-remember-handler): Also use marker to remember
6038         last-stored position.
6040         * org.el (org-goto-marker-or-bmk): New function.
6042 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6044         * org.el (org-file-properties): Rename from `org-local-properties'.
6045         (org-scan-tags): Take file tags into account.
6046         (org-tags-match-list-sublevels): Default changed to t.
6048         * org-exp.el (org-export-as-html): Close paragraph after a footnote.
6050         * org.el (org-update-parent-todo-statistics): New function.
6052         * org-exp.el (org-icalendar-store-UID): New option.
6053         (org-icalendar-force-UID): Option removed.
6054         (org-print-icalendar-entries): IMplement UIDs.
6056 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6058         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
6060 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6062         * org-faces.el (org-column): Document how this face is being used
6063         and why sometimes the background faces shine through.
6065         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
6067         * org-publish.el (org-publish-attachment): Create publishing
6068         directory if it does not yet exist.
6070         * org-table.el (org-calc-default-modes): Change default number
6071         format to (float 8).
6073         * org.el (org-olpath-completing-read): New function.
6074         (org-time-clocksum-format): New option.
6075         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
6077         * org-clock.el (org-clock-display, org-clock-out)
6078         (org-update-mode-line): Use `org-time-clocksum-format'.
6080         * org-colview-xemacs.el (org-columns-number-to-string): Use
6081         `org-time-clocksum-format'.
6083         * org-colview.el (org-columns-number-to-string): Use
6084         `org-time-clocksum-format'.
6086 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6088         * org-id.el: New file, move from contrib to core.
6090         * org-exp.el (org-icalendar-force-UID): New option.
6092 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6094         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
6095         shifted by one day if there is a date range without an end time.
6097         * org.el (org-try-structure-completion): New function.
6099 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6101         * org.el (org-set-font-lock-defaults): Improve fontification of
6102         description lists.
6103         (org-insert-item): Handle description lists.
6104         (org-adaptive-fill-function): Improve auto indentation in
6105         description lists.
6107         * org-exp.el (org-export-as-html, org-export-preprocess-string):
6108         Implement VERSE environment.
6109         (org-export-preprocess-string): Implement the COMMENT
6110         environment.
6112         * org-export-latex.el (org-export-latex-preprocess): Implement
6113         VERSE environment.
6115 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6117         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
6118         option.
6120 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6122         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
6124         * org.el (org-quote-csv-field): New functions.
6126         * org-table.el (org-table-export-default-format): Remove :splice
6127         from default format, we get the same effect by not specifying
6128         :tstart and :tend.
6129         (org-table-export): Improve setup, distinguish better between
6130         interactive and non-interactive use, allow specifying the format
6131         on the fly, better protection against wrong file names.
6132         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
6133         and :tend when :splice is omitted.
6135 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6137         * org-clock.el (org-clock-select-task): Make sure the selection
6138         letters are 1-9 and A-Z, no special characters.
6140 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6142         * org-exp.el (org-export-htmlize): New group.
6143         (org-export-htmlize-output-type)
6144         (org-export-htmlize-css-font-prefix): New options.
6145         (org-export-htmlize-region-for-paste): New function.
6146         (org-export-htmlize-generate-css): New command.
6148 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6150         * org.el (org-set-visibility-according-to-property): New function.
6151         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
6152         and compute the regular expressions, and update font-lock.
6153         (org-property-re): Allow a dash in property names.
6155         * org-archive.el (org-extract-archive-file): Insert the file name
6156         without the path into the format, to allow the location format to
6157         contain a subdirectory.
6159         * org-agenda.el (org-agenda-post-command-hook): If point is at end
6160         of buffer, and the `org-agenda-type' property undefined, use the
6161         value from the character before.
6163         * org.el (org-add-planning-info): Don't let indentation for
6164         would-be timestamp become extra whitespace at the end of headline.
6166 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6168         * org.el (org-remove-double-quotes, org-file-contents): New
6169         functions.
6171         * org-exp.el (org-infile-export-plist): Also parse the
6172         contents of #+SETUPFILE files, recursively.
6174         * org.el (org-set-regexps-and-options): Also parse the
6175         contents of #+SETUPFILE files, recursively.
6177         * org-exp.el (org-export-handle-include-files): New function.
6178         (org-export-preprocess-string): Call
6179         `org-export-handle-include-files'.
6181         * org.el (org-delete-property-globally)
6182         (org-delete-property, org-set-property): Ignore case during
6183         completion.
6184         (org-set-property): Use `org-completing-read' instead of
6185         `completing-read'.
6187         * org.el (org-complete-expand-structure-template): New,
6188         experimental function.
6189         (org-structure-template-alist): New, experimental option.
6190         (org-complete): Call `org-complete-expand-structure-template'.
6192 2008-06-17  Bastien Guerry  <bzg@altern.org>
6194         * org-export-latex.el (org-export-latex-preprocess):
6195         Add support for blockquotes.
6197 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6199         * org.el (org-read-date-analyze): Catch the case where only a
6200         weekday is given.
6202 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6204         * org.el (org-set-font-lock-defaults): Make the description
6205         tag bold.
6207         * org-exp.el (org-export-as-html, org-close-li): Implement
6208         description lists.
6210 2008-06-17  Jason Riedy  <jason@acm.org>
6212         * org-table.el (*orgtbl-default-fmt*): New variable.
6213         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
6214         when there is no other fmt available.
6216         (orgtbl-to-generic): Allow an explicitly nil :tstart or
6217         :tend to suppress the appropriate string.
6219         (orgtbl-to-orgtbl): New function for translating to another orgtbl
6220         table.
6222 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6224         * org.el (org-read-date-analyze): "." as an alias for "+0" in
6225         read date.
6227         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6228         New function.
6230         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6231         New function.
6233 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6235         * org-clock.el (org-clock-find-position): Don't include notes
6236         into clock drawer.
6238         * org-archive.el (org-archive-subtree): No longer remove an
6239         extra line after cutting the subtree.  `org-cut-subtree' already
6240         takes care of this.
6242         * org-remember.el (org-remember-handler): Only kill the target
6243         buffer if it does not contain the running clock.
6245         * org.el (org-markers-to-move): New variable.
6246         (org-save-markers-in-region, org-check-and-save-marker)
6247         (org-reinstall-markers-in-region): New function.
6248         (org-move-subtree-down, org-copy-subtree): Remember relative
6249         marker positions before cutting.
6250         (org-move-subtree-down, org-paste-subtree): Restore relative
6251         marker positions after pasting.
6253         * org-remember.el (org-remember-clock-out-on-exit): New option.
6254         (org-remember-finalize): Clock out only if the setting in
6255         `org-remember-clock-out-on-exit' requires it.
6256         (org-remember-handler): Do the cleanup in the buffer, to make sure
6257         that the clock marker remains in tact.
6259 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6261         * org-clock.el (org-clock-goto): Widen buffer if necessary.
6262         (org-clock-in): Make sure that also tasks outside the narrowed
6263         region will be clocked in correctly.
6264         (org-clock-insert-selection-line): Widen the buffer so that we can
6265         find the correct task heading.
6267         * org.el (org-base-buffer): New function.
6269         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6270         and ";" are escaped.
6271         (org-print-icalendar-entries): Also apply
6272         `org-icalendar-cleanup-string' to the headline, not only to the
6273         summary property.
6275 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
6277         * org-exp.el (org-export-preprocess-hook): New hook.
6278         (org-export-preprocess-string): Call `org-export-preprocess-hook'.
6280         * org.el (org-font-lock-hook): New variable.
6281         (org-font-lock-hook): New function.
6282         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6284 ;; Local Variables:
6285 ;; coding: utf-8
6286 ;; add-log-time-zone-rule: t
6287 ;; End:
6289     Copyright (C) 2008, 2009, 2010  Free Software Foundation, Inc.
6291   This file is part of GNU Emacs.
6293   GNU Emacs is free software: you can redistribute it and/or modify
6294   it under the terms of the GNU General Public License as published by
6295   the Free Software Foundation, either version 3 of the License, or
6296   (at your option) any later version.
6298   GNU Emacs is distributed in the hope that it will be useful,
6299   but WITHOUT ANY WARRANTY; without even the implied warranty of
6300   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6301   GNU General Public License for more details.
6303   You should have received a copy of the GNU General Public License
6304   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
6306 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c