aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastien Guerry2012-04-02 17:42:03 +0200
committerBastien Guerry2012-04-02 17:42:03 +0200
commit23f6720ebcd237b513e3e436f6df08a5435e4be6 (patch)
treed083da23d70a189da6f0f33a60f3fc4127568c03
parent809a46259c943720d13f2ff3eb3bd4b6216c1c95 (diff)
downloademacs-23f6720ebcd237b513e3e436f6df08a5435e4be6.tar.gz
emacs-23f6720ebcd237b513e3e436f6df08a5435e4be6.zip
Fix regressions in Org.
-rw-r--r--lisp/org/ChangeLog105
-rw-r--r--lisp/org/org-agenda.el8
-rw-r--r--lisp/org/org-clock.el6
-rw-r--r--lisp/org/org.el74
4 files changed, 101 insertions, 92 deletions
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog
index d1e7af37375..8c06c22c4af 100644
--- a/lisp/org/ChangeLog
+++ b/lisp/org/ChangeLog
@@ -1,6 +1,15 @@
12012-04-02 Bastien Guerry <bzg@gnu.org>
2
3 * org-clock.el (org-clock-out-if-current): Fix regression: rename
4 `org-clock-state' to `org-state' to match the name of the
5 dynamically-scoped variable in `org-todo'.
6
7 * org-agenda.el (entry, org-diary, org-class): Fix regression:
8 rename `org-entry' to `entry'.
9
12012-04-01 Bastien Guerry <bzg@gnu.org> 102012-04-01 Bastien Guerry <bzg@gnu.org>
2 11
3 * org.el (org-todo): Fix bug in `org-todo'. 12 * org.el (org-todo): Fix regression in `org-todo'.
4 13
52012-04-01 Eric Schulte <eric.schulte@gmx.com> 142012-04-01 Eric Schulte <eric.schulte@gmx.com>
6 15
@@ -9739,7 +9748,7 @@
9739 Remove hard-wired configuration of minted export 9748 Remove hard-wired configuration of minted export
9740 (org-export-latex-minted-with-line-numbers): Remove variable. 9749 (org-export-latex-minted-with-line-numbers): Remove variable.
9741 9750
97422010-12-11 Bastien Guerry <bzg@altern.org> 97512010-12-11 Bastien Guerry <bzg@gnu.org>
9743 9752
9744 * org-clock.el (org-dblock-write:clocktable): Fix double 9753 * org-clock.el (org-dblock-write:clocktable): Fix double
9745 reference to `link' in let construct. 9754 reference to `link' in let construct.
@@ -11133,7 +11142,7 @@
11133 * org.el (org-make-link-string): Don't escape characters in link 11142 * org.el (org-make-link-string): Don't escape characters in link
11134 type. 11143 type.
11135 11144
111362010-11-11 Bastien Guerry <bzg@altern.org> 111452010-11-11 Bastien Guerry <bzg@gnu.org>
11137 11146
11138 * org-capture.el (org-capture-templates): Update docstring to 11147 * org-capture.el (org-capture-templates): Update docstring to
11139 advertise %:org-date. 11148 advertise %:org-date.
@@ -11218,7 +11227,7 @@
11218 * ob-keys.el (org-babel-key-bindings): Key bindings for block 11227 * ob-keys.el (org-babel-key-bindings): Key bindings for block
11219 demarcation. 11228 demarcation.
11220 11229
112212010-11-11 Bastien Guerry <bzg@altern.org> 112302010-11-11 Bastien Guerry <bzg@gnu.org>
11222 11231
11223 * org.el (org-link-types): Add the "message" link type. 11232 * org.el (org-link-types): Add the "message" link type.
11224 11233
@@ -11227,7 +11236,7 @@
11227 * org.el (org-link-types): Add 'message:' link type to default 11236 * org.el (org-link-types): Add 'message:' link type to default
11228 link types. 11237 link types.
11229 11238
112302010-11-11 Bastien Guerry <bzg@altern.org> 112392010-11-11 Bastien Guerry <bzg@gnu.org>
11231 11240
11232 * org-gnus.el (org-gnus-store-link): Add the :date property to 11241 * org-gnus.el (org-gnus-store-link): Add the :date property to
11233 gnus links, allowing the use of %:date in capture templates. 11242 gnus links, allowing the use of %:date in capture templates.
@@ -11460,7 +11469,7 @@
11460 * org.el (org-src-fontify-natively): Set to nil by default. 11469 * org.el (org-src-fontify-natively): Set to nil by default.
11461 Supply cutomize interface. 11470 Supply cutomize interface.
11462 11471
114632010-11-11 Bastien Guerry <bzg@altern.org> 114722010-11-11 Bastien Guerry <bzg@gnu.org>
11464 11473
11465 * org-ascii.el (org-export-as-ascii): Fix bug in ASCII export: use 11474 * org-ascii.el (org-export-as-ascii): Fix bug in ASCII export: use
11466 `org-bracket-link-analytic-regexp++' to match the link type. 11475 `org-bracket-link-analytic-regexp++' to match the link type.
@@ -12718,7 +12727,7 @@
12718 (org-org-menu): Remove the entry to configure LaTeX snippet 12727 (org-org-menu): Remove the entry to configure LaTeX snippet
12719 processing. 12728 processing.
12720 12729
127212010-11-11 Bastien Guerry <bzg@altern.org> 127302010-11-11 Bastien Guerry <bzg@gnu.org>
12722 12731
12723 * org-agenda.el (org-agenda-clock-goto): Use `\C-c\C-x\C-j' for 12732 * org-agenda.el (org-agenda-clock-goto): Use `\C-c\C-x\C-j' for
12724 `org-clock-goto' and `J' for `org-agenda-clock-goto'. If the 12733 `org-clock-goto' and `J' for `org-agenda-clock-goto'. If the
@@ -13554,7 +13563,7 @@
13554 * org-html.el (org-export-html-close-lists-maybe): Check if raw 13563 * org-html.el (org-export-html-close-lists-maybe): Check if raw
13555 HTML stuff was actually made from an example. 13564 HTML stuff was actually made from an example.
13556 13565
135572010-07-19 Bastien Guerry <bzg@altern.org> 135662010-07-19 Bastien Guerry <bzg@gnu.org>
13558 13567
13559 * org-latex.el: Items are no longer skipped when their first line 13568 * org-latex.el: Items are no longer skipped when their first line
13560 ends on a protected element. 13569 ends on a protected element.
@@ -13567,18 +13576,18 @@
13567 * org-exp-blocks.el (org-export-blocks-preprocess): 13576 * org-exp-blocks.el (org-export-blocks-preprocess):
13568 Cleanup trailing newline after block. 13577 Cleanup trailing newline after block.
13569 13578
135702010-07-19 Bastien Guerry <bzg@altern.org> 135792010-07-19 Bastien Guerry <bzg@gnu.org>
13571 13580
13572 * org-exp.el: Comment regexp now matches documentation. No more 13581 * org-exp.el: Comment regexp now matches documentation. No more
13573 protection check when deleting comments before export. 13582 protection check when deleting comments before export.
13574 13583
135752010-07-19 Bastien Guerry <bzg@altern.org> 135842010-07-19 Bastien Guerry <bzg@gnu.org>
13576 13585
13577 * org-exp.el (org-export-preprocess-string): 13586 * org-exp.el (org-export-preprocess-string):
13578 Now using `org-export-handle-include-files-recurse' to resolve 13587 Now using `org-export-handle-include-files-recurse' to resolve
13579 included files. 13588 included files.
13580 13589
135812010-07-19 Bastien Guerry <bzg@altern.org> 135902010-07-19 Bastien Guerry <bzg@gnu.org>
13582 13591
13583 * org-agenda.el (org-agenda-get-deadlines) 13592 * org-agenda.el (org-agenda-get-deadlines)
13584 (org-agenda-get-scheduled): 13593 (org-agenda-get-scheduled):
@@ -13589,7 +13598,7 @@
13589 now instead of resetting on the cyclic repeating date. This makes it 13598 now instead of resetting on the cyclic repeating date. This makes it
13590 much more obvious when you missed a repeating task after the repeater. 13599 much more obvious when you missed a repeating task after the repeater.
13591 13600
135922010-07-19 Bastien Guerry <bzg@altern.org> 136012010-07-19 Bastien Guerry <bzg@gnu.org>
13593 13602
13594 * org-exp.el (org-export-mark-blockquote-verse-center): 13603 * org-exp.el (org-export-mark-blockquote-verse-center):
13595 Consider environments that end at eob. 13604 Consider environments that end at eob.
@@ -13629,16 +13638,16 @@
13629 from latex backend specific instructions (#+LaTeX) are already 13638 from latex backend specific instructions (#+LaTeX) are already
13630 protected and won't be treated as normal environments. 13639 protected and won't be treated as normal environments.
13631 13640
136322010-07-19 Bastien Guerry <bzg@altern.org> 136412010-07-19 Bastien Guerry <bzg@gnu.org>
13633 13642
13634 * org-timer.el (org-timer-set-timer): Fix typo in the docstring. 13643 * org-timer.el (org-timer-set-timer): Fix typo in the docstring.
13635 13644
136362010-07-19 Bastien Guerry <bzg@altern.org> 136452010-07-19 Bastien Guerry <bzg@gnu.org>
13637 13646
13638 * org-timer.el (org-timer-set-timer): Use a prefix argument. 13647 * org-timer.el (org-timer-set-timer): Use a prefix argument.
13639 See the docstring of the function. 13648 See the docstring of the function.
13640 13649
136412010-07-19 Bastien Guerry <bzg@altern.org> 136502010-07-19 Bastien Guerry <bzg@gnu.org>
13642 13651
13643 * org-timer.el (org-timer-set-timer): Fix bug about canceling 13652 * org-timer.el (org-timer-set-timer): Fix bug about canceling
13644 timers. 13653 timers.
@@ -13659,7 +13668,7 @@
13659 t before calling `org-clock-out', so that that function can 13668 t before calling `org-clock-out', so that that function can
13660 know its call context. 13669 know its call context.
13661 13670
136622010-07-19 Bastien Guerry <bzg@altern.org> 136712010-07-19 Bastien Guerry <bzg@gnu.org>
13663 13672
13664 * org-timer.el (org-timer-default-timer): New variable. 13673 * org-timer.el (org-timer-default-timer): New variable.
13665 (org-timer-set-timer): Use the new variable. Also offer the 13674 (org-timer-set-timer): Use the new variable. Also offer the
@@ -14109,7 +14118,7 @@
14109 * org-compat.el (org-overlays-at): Function removed. 14118 * org-compat.el (org-overlays-at): Function removed.
14110 (org-overlays-in): Function removed. 14119 (org-overlays-in): Function removed.
14111 14120
141122010-07-19 Bastien Guerry <bzg@altern.org> 141212010-07-19 Bastien Guerry <bzg@gnu.org>
14113 14122
14114 * org-clock.el (org-clock-set-current): Just return the headline 14123 * org-clock.el (org-clock-set-current): Just return the headline
14115 itself, strip the TODO keyword, the priority cookie and the tags. 14124 itself, strip the TODO keyword, the priority cookie and the tags.
@@ -14355,7 +14364,7 @@
14355 * org-publish.el (org-publish-aux-preprocess): Control case 14364 * org-publish.el (org-publish-aux-preprocess): Control case
14356 sensitivity. 14365 sensitivity.
14357 14366
143582010-04-10 Bastien Guerry <bzg@altern.org> 143672010-04-10 Bastien Guerry <bzg@gnu.org>
14359 14368
14360 * org.el (org-splice-latex-header): Fix typo. 14369 * org.el (org-splice-latex-header): Fix typo.
14361 14370
@@ -14843,7 +14852,7 @@
14843 restricted, as an agenda mode. 14852 restricted, as an agenda mode.
14844 (org-agenda-fontify-priorities): Allow simple colors as values. 14853 (org-agenda-fontify-priorities): Allow simple colors as values.
14845 14854
148462010-04-10 Bastien Guerry <bzg@altern.org> 148552010-04-10 Bastien Guerry <bzg@gnu.org>
14847 14856
14848 * org-timer.el (org-timer-current-timer): Rename from 14857 * org-timer.el (org-timer-current-timer): Rename from
14849 `org-timer-last-timer'. 14858 `org-timer-last-timer'.
@@ -14861,7 +14870,7 @@
14861 * org-exp.el (org-export-format-source-code-or-example): 14870 * org-exp.el (org-export-format-source-code-or-example):
14862 Fix textarea tag. 14871 Fix textarea tag.
14863 14872
148642010-04-10 Bastien Guerry <bzg@altern.org> 148732010-04-10 Bastien Guerry <bzg@gnu.org>
14865 14874
14866 * org-clock.el (org-clock-current-task): New variable to store 14875 * org-clock.el (org-clock-current-task): New variable to store
14867 last clocked in task. 14876 last clocked in task.
@@ -16176,7 +16185,7 @@
16176 (org-columns-compile-format): Support the additional parameter in 16185 (org-columns-compile-format): Support the additional parameter in
16177 org-columns-compile-map. 16186 org-columns-compile-map.
16178 16187
161792009-11-13 Bastien Guerry <bzg@altern.org> 161882009-11-13 Bastien Guerry <bzg@gnu.org>
16180 16189
16181 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable 16190 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
16182 variable. 16191 variable.
@@ -16845,7 +16854,7 @@
16845 * org.el (org-shifttab): Interpret arg differently when using only 16854 * org.el (org-shifttab): Interpret arg differently when using only
16846 odd levels. 16855 odd levels.
16847 16856
168482009-10-01 Bastien Guerry <bzg@altern.org> 168572009-10-01 Bastien Guerry <bzg@gnu.org>
16849 16858
16850 * org.el (org-check-agenda-file): Use a more explicit message. 16859 * org.el (org-check-agenda-file): Use a more explicit message.
16851 16860
@@ -16854,7 +16863,7 @@
16854 * org-exp.el (org-export-remove-special-table-lines): Don't remove 16863 * org-exp.el (org-export-remove-special-table-lines): Don't remove
16855 normal lines. 16864 normal lines.
16856 16865
168572009-10-01 Bastien Guerry <bzg@altern.org> 168662009-10-01 Bastien Guerry <bzg@gnu.org>
16858 16867
16859 * org.el (org-offer-links-in-entry): Don't use "Select link" as a 16868 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
16860 prompt in the temporary window. 16869 prompt in the temporary window.
@@ -17065,7 +17074,7 @@
17065 * org-gnus.el (org-gnus-store-link): Restore the linking to a 17074 * org-gnus.el (org-gnus-store-link): Restore the linking to a
17066 website. 17075 website.
17067 17076
170682009-09-02 Bastien Guerry <bzg@altern.org> 170772009-09-02 Bastien Guerry <bzg@gnu.org>
17069 17078
17070 * org-latex.el (org-export-latex-first-lines): Bugfix. 17079 * org-latex.el (org-export-latex-first-lines): Bugfix.
17071 17080
@@ -17209,7 +17218,7 @@
17209 (org-remember-apply-template): Use `org-remember-escaped-%' to 17218 (org-remember-apply-template): Use `org-remember-escaped-%' to
17210 detect escaped % signs. 17219 detect escaped % signs.
17211 17220
172122009-09-02 Bastien Guerry <bzg@altern.org> 172212009-09-02 Bastien Guerry <bzg@gnu.org>
17213 17222
17214 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a 17223 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
17215 sound when showing the notification. 17224 sound when showing the notification.
@@ -17343,7 +17352,7 @@
17343 * org-exp.el (org-export-format-source-code-or-example): 17352 * org-exp.el (org-export-format-source-code-or-example):
17344 Use listing package if requested by the user. 17353 Use listing package if requested by the user.
17345 17354
173462009-09-02 Bastien Guerry <bzg@altern.org> 173552009-09-02 Bastien Guerry <bzg@gnu.org>
17347 17356
17348 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb' 17357 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
17349 command before actually switching to a buffer. 17358 command before actually switching to a buffer.
@@ -17577,14 +17586,14 @@
17577 * org-macs.el (org-unmodified): Turn of modification hooks while 17586 * org-macs.el (org-unmodified): Turn of modification hooks while
17578 running this macro. 17587 running this macro.
17579 17588
175802009-08-06 Bastien Guerry <bzg@altern.org> 175892009-08-06 Bastien Guerry <bzg@gnu.org>
17581 17590
17582 * org.el (org-adapt-indentation): Slightly improve the docstring. 17591 * org.el (org-adapt-indentation): Slightly improve the docstring.
17583 (org-occur): Sends an error when the user inputs an empty string. 17592 (org-occur): Sends an error when the user inputs an empty string.
17584 (org-priority): Bugfix: the tag alignement should happen within 17593 (org-priority): Bugfix: the tag alignement should happen within
17585 save-excursion. 17594 save-excursion.
17586 17595
175872009-08-06 Bastien Guerry <bzg@altern.org> 175962009-08-06 Bastien Guerry <bzg@gnu.org>
17588 17597
17589 * org.el (org-make-link-regexps): Don't exclude parentheses from 17598 * org.el (org-make-link-regexps): Don't exclude parentheses from
17590 `org-plain-link-re'. 17599 `org-plain-link-re'.
@@ -17598,7 +17607,7 @@
17598 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with 17607 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
17599 an abbreviated format for days. 17608 an abbreviated format for days.
17600 17609
176012009-08-06 Bastien Guerry <bzg@altern.org> 176102009-08-06 Bastien Guerry <bzg@gnu.org>
17602 17611
17603 * org-protocol.el (org-protocol-default-template-key): 17612 * org-protocol.el (org-protocol-default-template-key):
17604 New option. 17613 New option.
@@ -17615,7 +17624,7 @@
17615 (org-update-parent-todo-statistics): Possibly use the new allowed 17624 (org-update-parent-todo-statistics): Possibly use the new allowed
17616 value of `org-provide-todo-statistics'. 17625 value of `org-provide-todo-statistics'.
17617 17626
176182009-08-06 Bastien Guerry <bzg@altern.org> 176272009-08-06 Bastien Guerry <bzg@gnu.org>
17619 17628
17620 * org-timer.el: Add autoload cookie. 17629 * org-timer.el: Add autoload cookie.
17621 17630
@@ -17640,7 +17649,7 @@
17640 (org-update-parent-todo-statistics): Possibly use the new 17649 (org-update-parent-todo-statistics): Possibly use the new
17641 'all-headline value from `org-provide-todo-statistics'. 17650 'all-headline value from `org-provide-todo-statistics'.
17642 17651
176432009-08-06 Bastien Guerry <bzg@altern.org> 176522009-08-06 Bastien Guerry <bzg@gnu.org>
17644 17653
17645 * org-clock.el (org-dblock-write:clocktable): Add a new option 17654 * org-clock.el (org-dblock-write:clocktable): Add a new option
17646 :timestamp which allows display of timestamps in clock reports. 17655 :timestamp which allows display of timestamps in clock reports.
@@ -17656,7 +17665,7 @@
17656 * org.el (org-eval-in-calendar): Select the right frame. 17665 * org.el (org-eval-in-calendar): Select the right frame.
17657 (org-save-frame-excursion): Remove this macro. 17666 (org-save-frame-excursion): Remove this macro.
17658 17667
176592009-08-06 Bastien Guerry <bzg@altern.org> 176682009-08-06 Bastien Guerry <bzg@gnu.org>
17660 17669
17661 * org-list.el (org-list-beginning-re): Bugfix: don't use * when 17670 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
17662 trying to find the beginning of a list. 17671 trying to find the beginning of a list.
@@ -17670,7 +17679,7 @@
17670 (org-id-method): Use `org-id-uuid-program'. 17679 (org-id-method): Use `org-id-uuid-program'.
17671 (org-id-new): Use `org-id-uuid-program'. 17680 (org-id-new): Use `org-id-uuid-program'.
17672 17681
176732009-08-06 Bastien Guerry <bzg@altern.org> 176822009-08-06 Bastien Guerry <bzg@gnu.org>
17674 17683
17675 * org-exp.el (org-export-number-lines): Allow whitespace in code 17684 * org-exp.el (org-export-number-lines): Allow whitespace in code
17676 references. Allow the -r switch to remove the references in the 17685 references. Allow the -r switch to remove the references in the
@@ -17683,18 +17692,18 @@
17683 * org-clock.el (org-show-notification-handler): New option. 17692 * org-clock.el (org-show-notification-handler): New option.
17684 (org-show-notification): Use the new option. 17693 (org-show-notification): Use the new option.
17685 17694
176862009-08-06 Bastien Guerry <bzg@altern.org> 176952009-08-06 Bastien Guerry <bzg@gnu.org>
17687 17696
17688 * org.el (org-eval-in-calendar): Fix a bug about calendar 17697 * org.el (org-eval-in-calendar): Fix a bug about calendar
17689 navigation when `calendar-setup' value is 'calendar-only. 17698 navigation when `calendar-setup' value is 'calendar-only.
17690 17699
176912009-08-06 Bastien Guerry <bzg@altern.org> 177002009-08-06 Bastien Guerry <bzg@gnu.org>
17692 17701
17693 * org.el (orgstruct++-mode): Fix typo in docstring. 17702 * org.el (orgstruct++-mode): Fix typo in docstring.
17694 (org-insert-link): Clean up: (or (...)) => (...) 17703 (org-insert-link): Clean up: (or (...)) => (...)
17695 (org-insert-link): Use TAB for stored links completion. 17704 (org-insert-link): Use TAB for stored links completion.
17696 17705
176972009-08-06 Bastien Guerry <bzg@altern.org> 177062009-08-06 Bastien Guerry <bzg@gnu.org>
17698 17707
17699 * org.el (org-get-refile-targets): Fix bug: don't ignore case when 17708 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
17700 building the list of targets. 17709 building the list of targets.
@@ -17711,12 +17720,12 @@
17711 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid 17720 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
17712 premature deletion of the data when using org-plot in a script. 17721 premature deletion of the data when using org-plot in a script.
17713 17722
177142009-08-06 Bastien Guerry <bzg@altern.org> 177232009-08-06 Bastien Guerry <bzg@gnu.org>
17715 17724
17716 * org-clock.el (org-clock-in-prepare-hook): New hook. 17725 * org-clock.el (org-clock-in-prepare-hook): New hook.
17717 (org-clock-in): Use this new hook. 17726 (org-clock-in): Use this new hook.
17718 17727
177192009-08-06 Bastien Guerry <bzg@altern.org> 177282009-08-06 Bastien Guerry <bzg@gnu.org>
17720 17729
17721 * org.el (org-special-ctrl-a/e): Explicitly bind the value 17730 * org.el (org-special-ctrl-a/e): Explicitly bind the value
17722 'reversed for this option to the "true line boundary first" 17731 'reversed for this option to the "true line boundary first"
@@ -18750,7 +18759,7 @@
18750 18759
18751 * org-exp.el (org-export-splice-attributes): New function. 18760 * org-exp.el (org-export-splice-attributes): New function.
18752 18761
187532009-08-06 Bastien Guerry <bzg@altern.org> 187622009-08-06 Bastien Guerry <bzg@gnu.org>
18754 Daniel M German <dmg@uvic.org> 18763 Daniel M German <dmg@uvic.org>
18755 Sebastian Rose <sebastian_rose@gmx.de> 18764 Sebastian Rose <sebastian_rose@gmx.de>
18756 Ross Patterson <me@rpatterson.net> 18765 Ross Patterson <me@rpatterson.net>
@@ -18961,7 +18970,7 @@
18961 18970
18962 * org-exp.el (org-export-as-ascii): Improve export of plain lists. 18971 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
18963 18972
189642009-08-06 Bastien Guerry <bzg@altern.org> 189732009-08-06 Bastien Guerry <bzg@gnu.org>
18965 18974
18966 * org.el (org-toggle-fixed-width-section): Bug fix: insert a 18975 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
18967 column and a space, not only a column. 18976 column and a space, not only a column.
@@ -20776,7 +20785,7 @@
20776 * org-archive.el (org-archive-to-archive-sibling): Handle top 20785 * org-archive.el (org-archive-to-archive-sibling): Handle top
20777 level headlines better. 20786 level headlines better.
20778 20787
207792008-10-26 Bastien Guerry <bzg@altern.org> 207882008-10-26 Bastien Guerry <bzg@gnu.org>
20780 20789
20781 * org-export-latex.el (org-export-latex-classes): 20790 * org-export-latex.el (org-export-latex-classes):
20782 Add \usepackage{graphicx} to the default list of packages. 20791 Add \usepackage{graphicx} to the default list of packages.
@@ -21000,7 +21009,7 @@
21000 New functions, similar to the outline versions, but invisible headings 21009 New functions, similar to the outline versions, but invisible headings
21001 are OK. 21010 are OK.
21002 21011
210032008-10-12 Bastien Guerry <bzg@altern.org> 210122008-10-12 Bastien Guerry <bzg@gnu.org>
21004 21013
21005 * org.el (org-auto-repeat-maybe): Insert a space between 21014 * org.el (org-auto-repeat-maybe): Insert a space between
21006 the timestamp's type and the timestamp itself. 21015 the timestamp's type and the timestamp itself.
@@ -21012,13 +21021,13 @@
21012 21021
21013 * org.el (org-map-entries): Protect the keyword-selecting variables. 21022 * org.el (org-map-entries): Protect the keyword-selecting variables.
21014 21023
210152008-10-12 Bastien Guerry <bzg@altern.org> 210242008-10-12 Bastien Guerry <bzg@gnu.org>
21016 21025
21017 * org-agenda.el (org-agenda-to-appt): Make sure the function check 21026 * org-agenda.el (org-agenda-to-appt): Make sure the function check
21018 against all agenda files. 21027 against all agenda files.
21019 21028
210202008-10-12 Carsten Dominik <dominik@science.uva.nl> 210292008-10-12 Carsten Dominik <dominik@science.uva.nl>
21021 Bastien Guerry <bzg@altern.org> 21030 Bastien Guerry <bzg@gnu.org>
21022 21031
21023 * org-list.el: New file, aggregating list functions from org.el 21032 * org-list.el: New file, aggregating list functions from org.el
21024 and org-export-latex.el. 21033 and org-export-latex.el.
@@ -21030,7 +21039,7 @@
21030 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment 21039 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
21031 time before 1am. 21040 time before 1am.
21032 21041
210332008-10-12 Bastien Guerry <bzg@altern.org> 210422008-10-12 Bastien Guerry <bzg@gnu.org>
21034 21043
21035 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix. 21044 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
21036 21045
@@ -21075,7 +21084,7 @@
21075 21084
21076 * org-compat.el (org-propertize): New function. 21085 * org-compat.el (org-propertize): New function.
21077 21086
210782008-10-12 Bastien Guerry <bzg@altern.org> 210872008-10-12 Bastien Guerry <bzg@gnu.org>
21079 21088
21080 * org-export-latex.el (org-export-latex-tables): Protect exported 21089 * org-export-latex.el (org-export-latex-tables): Protect exported
21081 tables from further special chars conversion. 21090 tables from further special chars conversion.
@@ -21181,7 +21190,7 @@
21181 21190
21182 * org.el (org-log-note-extra): New variable. 21191 * org.el (org-log-note-extra): New variable.
21183 21192
211842008-10-12 Bastien Guerry <bzg@altern.org> 211932008-10-12 Bastien Guerry <bzg@gnu.org>
21185 21194
21186 * org.el (org-additional-option-like-keywords): Add keywords for 21195 * org.el (org-additional-option-like-keywords): Add keywords for
21187 the _QUOTE, _VERSE and _SRC environments. 21196 the _QUOTE, _VERSE and _SRC environments.
@@ -21834,7 +21843,7 @@
21834 (org-structure-template-alist): New, experimental option. 21843 (org-structure-template-alist): New, experimental option.
21835 (org-complete): Call `org-complete-expand-structure-template'. 21844 (org-complete): Call `org-complete-expand-structure-template'.
21836 21845
218372008-06-17 Bastien Guerry <bzg@altern.org> 218462008-06-17 Bastien Guerry <bzg@gnu.org>
21838 21847
21839 * org-export-latex.el (org-export-latex-preprocess): 21848 * org-export-latex.el (org-export-latex-preprocess):
21840 Add support for blockquotes. 21849 Add support for blockquotes.
diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el
index f70605069d2..81377cae818 100644
--- a/lisp/org/org-agenda.el
+++ b/lisp/org/org-agenda.el
@@ -91,7 +91,7 @@
91(defvar org-agenda-buffer-name) 91(defvar org-agenda-buffer-name)
92(defvar org-agenda-overriding-header) 92(defvar org-agenda-overriding-header)
93(defvar org-agenda-title-append nil) 93(defvar org-agenda-title-append nil)
94(defvar org-entry) 94(defvar entry)
95(defvar date) 95(defvar date)
96(defvar org-agenda-undo-list) 96(defvar org-agenda-undo-list)
97(defvar org-agenda-pending-undo-list) 97(defvar org-agenda-pending-undo-list)
@@ -4530,8 +4530,8 @@ function from a program - use `org-agenda-get-day-entries' instead."
4530 (org-compile-prefix-format 'agenda) 4530 (org-compile-prefix-format 'agenda)
4531 (org-set-sorting-strategy 'agenda) 4531 (org-set-sorting-strategy 'agenda)
4532 (setq args (or args '(:deadline :scheduled :timestamp :sexp))) 4532 (setq args (or args '(:deadline :scheduled :timestamp :sexp)))
4533 (let* ((files (if (and org-entry (stringp org-entry) (string-match "\\S-" org-entry)) 4533 (let* ((files (if (and entry (stringp entry) (string-match "\\S-" entry))
4534 (list org-entry) 4534 (list entry)
4535 (org-agenda-files t))) 4535 (org-agenda-files t)))
4536 (time (org-float-time)) 4536 (time (org-float-time))
4537 file rtn results) 4537 file rtn results)
@@ -4936,7 +4936,7 @@ holiday will also be skipped."
4936 (not (member (car (calendar-iso-from-absolute d)) skip-weeks)))) 4936 (not (member (car (calendar-iso-from-absolute d)) skip-weeks))))
4937 (not (and (memq 'holidays skip-weeks) 4937 (not (and (memq 'holidays skip-weeks)
4938 (calendar-check-holidays date))) 4938 (calendar-check-holidays date)))
4939 org-entry))) 4939 entry)))
4940 4940
4941(defun org-diary-class (m1 d1 y1 m2 d2 y2 dayname &rest skip-weeks) 4941(defun org-diary-class (m1 d1 y1 m2 d2 y2 dayname &rest skip-weeks)
4942 "Like `org-class', but honor `calendar-date-style'. 4942 "Like `org-class', but honor `calendar-date-style'.
diff --git a/lisp/org/org-clock.el b/lisp/org/org-clock.el
index 7a0a73f1de7..cdf4a1aa66c 100644
--- a/lisp/org/org-clock.el
+++ b/lisp/org/org-clock.el
@@ -1691,7 +1691,7 @@ from the `before-change-functions' in the current buffer."
1691 (remove-hook 'before-change-functions 1691 (remove-hook 'before-change-functions
1692 'org-clock-remove-overlays 'local)))) 1692 'org-clock-remove-overlays 'local))))
1693 1693
1694(defvar org-clock-state) ;; dynamically scoped into this function 1694(defvar org-state) ;; dynamically scoped into this function
1695(defun org-clock-out-if-current () 1695(defun org-clock-out-if-current ()
1696 "Clock out if the current entry contains the running clock. 1696 "Clock out if the current entry contains the running clock.
1697This is used to stop the clock after a TODO entry is marked DONE, 1697This is used to stop the clock after a TODO entry is marked DONE,
@@ -1700,9 +1700,9 @@ and is only done if the variable `org-clock-out-when-done' is not nil."
1700 org-clock-out-when-done 1700 org-clock-out-when-done
1701 (marker-buffer org-clock-marker) 1701 (marker-buffer org-clock-marker)
1702 (or (and (eq t org-clock-out-when-done) 1702 (or (and (eq t org-clock-out-when-done)
1703 (member org-clock-state org-done-keywords)) 1703 (member org-state org-done-keywords))
1704 (and (listp org-clock-out-when-done) 1704 (and (listp org-clock-out-when-done)
1705 (member org-clock-state org-clock-out-when-done))) 1705 (member org-state org-clock-out-when-done)))
1706 (equal (or (buffer-base-buffer (org-clocking-buffer)) 1706 (equal (or (buffer-base-buffer (org-clocking-buffer))
1707 (org-clocking-buffer)) 1707 (org-clocking-buffer))
1708 (or (buffer-base-buffer (current-buffer)) 1708 (or (buffer-base-buffer (current-buffer))
diff --git a/lisp/org/org.el b/lisp/org/org.el
index d238c072341..59b8e3f0391 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -4841,7 +4841,7 @@ This is for getting out of special buffers like remember.")
4841 4841
4842;; FIXME: Occasionally check by commenting these, to make sure 4842;; FIXME: Occasionally check by commenting these, to make sure
4843;; no other functions uses these, forgetting to let-bind them. 4843;; no other functions uses these, forgetting to let-bind them.
4844(defvar org-entry) 4844(defvar entry)
4845(defvar org-last-state) 4845(defvar org-last-state)
4846(defvar date) 4846(defvar date)
4847 4847
@@ -10382,8 +10382,8 @@ on the system \"/user@host:\"."
10382 targets tgs txt re files f desc descre fast-path-p level pos0) 10382 targets tgs txt re files f desc descre fast-path-p level pos0)
10383 (message "Getting targets...") 10383 (message "Getting targets...")
10384 (with-current-buffer (or default-buffer (current-buffer)) 10384 (with-current-buffer (or default-buffer (current-buffer))
10385 (while (setq org-entry (pop entries)) 10385 (while (setq entry (pop entries))
10386 (setq files (car org-entry) desc (cdr org-entry)) 10386 (setq files (car entry) desc (cdr entry))
10387 (setq fast-path-p nil) 10387 (setq fast-path-p nil)
10388 (cond 10388 (cond
10389 ((null files) (setq files (list (current-buffer)))) 10389 ((null files) (setq files (list (current-buffer))))
@@ -11260,18 +11260,18 @@ For calling through lisp, arg is also interpreted in the following way:
11260 (completion-ignore-case t) 11260 (completion-ignore-case t)
11261 (member (member this org-todo-keywords-1)) 11261 (member (member this org-todo-keywords-1))
11262 (tail (cdr member)) 11262 (tail (cdr member))
11263 (state (cond 11263 (org-state (cond
11264 ((and org-todo-key-trigger 11264 ((and org-todo-key-trigger
11265 (or (and (equal arg '(4)) 11265 (or (and (equal arg '(4))
11266 (eq org-use-fast-todo-selection 'prefix)) 11266 (eq org-use-fast-todo-selection 'prefix))
11267 (and (not arg) org-use-fast-todo-selection 11267 (and (not arg) org-use-fast-todo-selection
11268 (not (eq org-use-fast-todo-selection 11268 (not (eq org-use-fast-todo-selection
11269 'prefix))))) 11269 'prefix)))))
11270 ;; Use fast selection 11270 ;; Use fast selection
11271 (org-fast-todo-selection)) 11271 (org-fast-todo-selection))
11272 ((and (equal arg '(4)) 11272 ((and (equal arg '(4))
11273 (or (not org-use-fast-todo-selection) 11273 (or (not org-use-fast-todo-selection)
11274 (not org-todo-key-trigger))) 11274 (not org-todo-key-trigger)))
11275 ;; Read a state with completion 11275 ;; Read a state with completion
11276 (org-icompleting-read 11276 (org-icompleting-read
11277 "State: " (mapcar (lambda(x) (list x)) 11277 "State: " (mapcar (lambda(x) (list x))
@@ -11320,12 +11320,12 @@ For calling through lisp, arg is also interpreted in the following way:
11320 nil))) 11320 nil)))
11321 (t 11321 (t
11322 (car tail)))) 11322 (car tail))))
11323 (state (or 11323 (org-state (or
11324 (run-hook-with-args-until-success 11324 (run-hook-with-args-until-success
11325 'org-todo-get-default-hook state org-last-state) 11325 'org-todo-get-default-hook org-state org-last-state)
11326 state)) 11326 org-state))
11327 (next (if state (concat " " state " ") " ")) 11327 (next (if org-state (concat " " org-state " ") " "))
11328 (change-plist (list :type 'todo-state-change :from this :to state 11328 (change-plist (list :type 'todo-state-change :from this :to org-state
11329 :position startpos)) 11329 :position startpos))
11330 dolog now-done-p) 11330 dolog now-done-p)
11331 (when org-blocker-hook 11331 (when org-blocker-hook
@@ -11337,16 +11337,16 @@ For calling through lisp, arg is also interpreted in the following way:
11337 (run-hook-with-args-until-failure 11337 (run-hook-with-args-until-failure
11338 'org-blocker-hook change-plist)))) 11338 'org-blocker-hook change-plist))))
11339 (if (org-called-interactively-p 'interactive) 11339 (if (org-called-interactively-p 'interactive)
11340 (error "TODO state change from %s to %s blocked" this state) 11340 (error "TODO state change from %s to %s blocked" this org-state)
11341 ;; fail silently 11341 ;; fail silently
11342 (message "TODO state change from %s to %s blocked" this state) 11342 (message "TODO state change from %s to %s blocked" this org-state)
11343 (throw 'exit nil)))) 11343 (throw 'exit nil))))
11344 (store-match-data match-data) 11344 (store-match-data match-data)
11345 (replace-match next t t) 11345 (replace-match next t t)
11346 (unless (pos-visible-in-window-p hl-pos) 11346 (unless (pos-visible-in-window-p hl-pos)
11347 (message "TODO state changed to %s" (org-trim next))) 11347 (message "TODO state changed to %s" (org-trim next)))
11348 (unless head 11348 (unless head
11349 (setq head (org-get-todo-sequence-head state) 11349 (setq head (org-get-todo-sequence-head org-state)
11350 ass (assoc head org-todo-kwd-alist) 11350 ass (assoc head org-todo-kwd-alist)
11351 interpret (nth 1 ass) 11351 interpret (nth 1 ass)
11352 done-word (nth 3 ass) 11352 done-word (nth 3 ass)
@@ -11354,24 +11354,24 @@ For calling through lisp, arg is also interpreted in the following way:
11354 (when (memq arg '(nextset previousset)) 11354 (when (memq arg '(nextset previousset))
11355 (message "Keyword-Set %d/%d: %s" 11355 (message "Keyword-Set %d/%d: %s"
11356 (- (length org-todo-sets) -1 11356 (- (length org-todo-sets) -1
11357 (length (memq (assoc state org-todo-sets) org-todo-sets))) 11357 (length (memq (assoc org-state org-todo-sets) org-todo-sets)))
11358 (length org-todo-sets) 11358 (length org-todo-sets)
11359 (mapconcat 'identity (assoc state org-todo-sets) " "))) 11359 (mapconcat 'identity (assoc org-state org-todo-sets) " ")))
11360 (setq org-last-todo-state-is-todo 11360 (setq org-last-todo-state-is-todo
11361 (not (member state org-done-keywords))) 11361 (not (member org-state org-done-keywords)))
11362 (setq now-done-p (and (member state org-done-keywords) 11362 (setq now-done-p (and (member org-state org-done-keywords)
11363 (not (member this org-done-keywords)))) 11363 (not (member this org-done-keywords))))
11364 (and logging (org-local-logging logging)) 11364 (and logging (org-local-logging logging))
11365 (when (and (or org-todo-log-states org-log-done) 11365 (when (and (or org-todo-log-states org-log-done)
11366 (not (eq org-inhibit-logging t)) 11366 (not (eq org-inhibit-logging t))
11367 (not (memq arg '(nextset previousset)))) 11367 (not (memq arg '(nextset previousset))))
11368 ;; we need to look at recording a time and note 11368 ;; we need to look at recording a time and note
11369 (setq dolog (or (nth 1 (assoc state org-todo-log-states)) 11369 (setq dolog (or (nth 1 (assoc org-state org-todo-log-states))
11370 (nth 2 (assoc this org-todo-log-states)))) 11370 (nth 2 (assoc this org-todo-log-states))))
11371 (if (and (eq dolog 'note) (eq org-inhibit-logging 'note)) 11371 (if (and (eq dolog 'note) (eq org-inhibit-logging 'note))
11372 (setq dolog 'time)) 11372 (setq dolog 'time))
11373 (when (and state 11373 (when (and org-state
11374 (member state org-not-done-keywords) 11374 (member org-state org-not-done-keywords)
11375 (not (member this org-not-done-keywords))) 11375 (not (member this org-not-done-keywords)))
11376 ;; This is now a todo state and was not one before 11376 ;; This is now a todo state and was not one before
11377 ;; If there was a CLOSED time stamp, get rid of it. 11377 ;; If there was a CLOSED time stamp, get rid of it.
@@ -11381,17 +11381,17 @@ For calling through lisp, arg is also interpreted in the following way:
11381 (org-add-planning-info 'closed (org-current-effective-time)) 11381 (org-add-planning-info 'closed (org-current-effective-time))
11382 (if (and (not dolog) (eq 'note org-log-done)) 11382 (if (and (not dolog) (eq 'note org-log-done))
11383 (org-add-log-setup 'done state this 'findpos 'note))) 11383 (org-add-log-setup 'done state this 'findpos 'note)))
11384 (when (and state dolog) 11384 (when (and org-state dolog)
11385 ;; This is a non-nil state, and we need to log it 11385 ;; This is a non-nil state, and we need to log it
11386 (org-add-log-setup 'state state this 'findpos dolog))) 11386 (org-add-log-setup 'state org-state this 'findpos dolog)))
11387 ;; Fixup tag positioning 11387 ;; Fixup tag positioning
11388 (org-todo-trigger-tag-changes state) 11388 (org-todo-trigger-tag-changes org-state)
11389 (and org-auto-align-tags (not org-setting-tags) (org-set-tags nil t)) 11389 (and org-auto-align-tags (not org-setting-tags) (org-set-tags nil t))
11390 (when org-provide-todo-statistics 11390 (when org-provide-todo-statistics
11391 (org-update-parent-todo-statistics)) 11391 (org-update-parent-todo-statistics))
11392 (run-hooks 'org-after-todo-state-change-hook) 11392 (run-hooks 'org-after-todo-state-change-hook)
11393 (if (and arg (not (member state org-done-keywords))) 11393 (if (and arg (not (member org-state org-done-keywords)))
11394 (setq head (org-get-todo-sequence-head state))) 11394 (setq head (org-get-todo-sequence-head org-state)))
11395 (put-text-property (point-at-bol) (point-at-eol) 'org-todo-head head) 11395 (put-text-property (point-at-bol) (point-at-eol) 'org-todo-head head)
11396 ;; Do we need to trigger a repeat? 11396 ;; Do we need to trigger a repeat?
11397 (when now-done-p 11397 (when now-done-p
@@ -11400,7 +11400,7 @@ For calling through lisp, arg is also interpreted in the following way:
11400 (save-match-data 11400 (save-match-data
11401 (setq org-agenda-headline-snapshot-before-repeat 11401 (setq org-agenda-headline-snapshot-before-repeat
11402 (org-get-heading)))) 11402 (org-get-heading))))
11403 (org-auto-repeat-maybe state)) 11403 (org-auto-repeat-maybe org-state))
11404 ;; Fixup cursor location if close to the keyword 11404 ;; Fixup cursor location if close to the keyword
11405 (if (and (outline-on-heading-p) 11405 (if (and (outline-on-heading-p)
11406 (not (bolp)) 11406 (not (bolp))