aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastien Guerry2013-01-08 16:31:30 +0100
committerBastien Guerry2013-01-08 16:31:30 +0100
commit6d3e4c8092e5c5067bb80c194fdafe2d537ffbeb (patch)
treef9115fbdc6e42a73b57e20a27334057b80275814
parentc7cf0ebc24d66371c8d48ad72f65e72a2a027f06 (diff)
downloademacs-6d3e4c8092e5c5067bb80c194fdafe2d537ffbeb.tar.gz
emacs-6d3e4c8092e5c5067bb80c194fdafe2d537ffbeb.zip
Merge Org (commit c8c217). Fix mistake about updating the wrong ChangeLog.
-rw-r--r--doc/misc/ChangeLog3
-rw-r--r--doc/misc/org.texi26
-rw-r--r--lisp/ChangeLog402
-rw-r--r--lisp/org/ChangeLog409
-rw-r--r--lisp/org/org-src.el3
-rw-r--r--lisp/org/org-version.el2
6 files changed, 436 insertions, 409 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 08e8cc3614a..8d88336183d 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -9,6 +9,9 @@
9 (Advanced features): Add missing argument for @item. 9 (Advanced features): Add missing argument for @item.
10 (Storing searches): Add index entries and a note about 10 (Storing searches): Add index entries and a note about
11 *-tree agenda views. 11 *-tree agenda views.
12 (Structure editing): Document `org-mark-element' and
13 `org-mark-subtree'.
14 (Tag inheritance): Document `org-agenda-use-tag-inheritance'.
12 15
132013-01-06 Andreas Schwab <schwab@linux-m68k.org> 162013-01-06 Andreas Schwab <schwab@linux-m68k.org>
14 17
diff --git a/doc/misc/org.texi b/doc/misc/org.texi
index 3540ac8592a..39577a33131 100644
--- a/doc/misc/org.texi
+++ b/doc/misc/org.texi
@@ -2,7 +2,8 @@
2@c %**start of header 2@c %**start of header
3@setfilename ../../info/org 3@setfilename ../../info/org
4@settitle The Org Manual 4@settitle The Org Manual
5@set VERSION 7.9.3 (GNU Emacs 24.3) 5
6@include org-version.inc
6 7
7@c Use proper quote and backtick for code sections in PDF output 8@c Use proper quote and backtick for code sections in PDF output
8@c Cf. Texinfo manual 14.2 9@c Cf. Texinfo manual 14.2
@@ -262,7 +263,7 @@
262@copying 263@copying
263This manual is for Org version @value{VERSION}. 264This manual is for Org version @value{VERSION}.
264 265
265Copyright @copyright{} 2004--2013 Free Software Foundation, Inc. 266Copyright @copyright{} 2004--2012 Free Software Foundation, Inc.
266 267
267@quotation 268@quotation
268Permission is granted to copy, distribute and/or modify this document 269Permission is granted to copy, distribute and/or modify this document
@@ -1470,6 +1471,13 @@ Move subtree up (swap with previous subtree of same
1470level). 1471level).
1471@orgcmd{M-S-@key{down},org-move-subtree-down} 1472@orgcmd{M-S-@key{down},org-move-subtree-down}
1472Move subtree down (swap with next subtree of same level). 1473Move subtree down (swap with next subtree of same level).
1474@orgcmd{M-h,org-mark-element}
1475Mark the element at point. Hitting repeatedly will mark subsequent elements
1476of the one just marked. E.g. hitting @key{M-h} on a paragraph will mark it,
1477hitting @key{M-h} immediately again will mark the next one.
1478@orgcmd{C-c @@,org-mark-subtree}
1479Mark the subtree at point. Hitting repeatedly will mark subsequent subtrees
1480of the same level than the marked subtree.
1473@orgcmd{C-c C-x C-w,org-cut-subtree} 1481@orgcmd{C-c C-x C-w,org-cut-subtree}
1474Kill subtree, i.e., remove it from buffer but save in kill ring. 1482Kill subtree, i.e., remove it from buffer but save in kill ring.
1475With a numeric prefix argument N, kill N sequential subtrees. 1483With a numeric prefix argument N, kill N sequential subtrees.
@@ -4624,9 +4632,8 @@ changes in the line.}:
4624@noindent 4632@noindent
4625@vindex org-use-tag-inheritance 4633@vindex org-use-tag-inheritance
4626@vindex org-tags-exclude-from-inheritance 4634@vindex org-tags-exclude-from-inheritance
4627To limit tag inheritance to specific tags, or to turn it off entirely, use 4635To limit tag inheritance to specific tags, use @code{org-tags-exclude-from-inheritance}.
4628the variables @code{org-use-tag-inheritance} and 4636To turn it off entirely, use @code{org-use-tag-inheritance}.
4629@code{org-tags-exclude-from-inheritance}.
4630 4637
4631@vindex org-tags-match-list-sublevels 4638@vindex org-tags-match-list-sublevels
4632When a headline matches during a tags search while tag inheritance is turned 4639When a headline matches during a tags search while tag inheritance is turned
@@ -4637,6 +4644,15 @@ of matches may then become very long. If you only want to see the first tags
4637match in a subtree, configure the variable 4644match in a subtree, configure the variable
4638@code{org-tags-match-list-sublevels} (not recommended). 4645@code{org-tags-match-list-sublevels} (not recommended).
4639 4646
4647@vindex org-agenda-use-tag-inheritance
4648Tag inheritance is relevant when the agenda search tries to match a tag,
4649either in the @code{tags} or @code{tags-todo} agenda types. In other agenda
4650types, @code{org-use-tag-inheritance} has no effect. Still, you may want to
4651have your tags correctly set in the agenda, so that tag filtering works fine,
4652with inherited tags. Set @code{org-agenda-use-tag-inheritance} to control
4653this: the default value includes all agenda types, but setting this to nil
4654can really speed up agenda generation.
4655
4640@node Setting tags, Tag searches, Tag inheritance, Tags 4656@node Setting tags, Tag searches, Tag inheritance, Tags
4641@section Setting tags 4657@section Setting tags
4642@cindex setting tags 4658@cindex setting tags
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 24fae0dcabe..1d045425720 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,405 +1,3 @@
12013-01-08 Achim Gratz <Stromeko@Stromeko.de>
2
3 * org-compat.el (org-define-obsolete-function-alias)
4 (org-define-obsolete-variable-alias): Introduce new compatibility
5 macros to obsolete functions and variables.
6
7 * org-agenda.el, org-clock.el, org-id.el, org-lparse.el,
8 org-protocol.el org.el: Use
9 `org-define-obsolete-{function,variable}-alias' instead of
10 `define-obsolate{function,variable}-alias'.
11
12 * org-faces.el: Define face alias mode-line for XEmacs (it's
13 called modeline there).
14
15 * org-compat.el (org-condition-case-unless-debug): Do not use
16 defalias for special forms, the Emacs 22 byte-compiler does not
17 recognize them correctly when compiling macros. Use a macro
18 instead and rely on macro expansion. That however makes the
19 decision at compile time, which should be acceptable in this case
20 since it only affects debugging.
21
22 * org-compat.el (org-no-popups): New wrapper macro which let-binds
23 the correct variables to suppress popup windows depending on the
24 Emacs version in use. This is a compile-time decision when
25 byte-compiling.
26
27 * org.el (org-get-location, org-switch-to-buffer-other-window):
28 Use the wrapper `org-no-popups´ to let-bind the correct variables
29 for suppression of popup windows.
30
31 * org-compat.el (user-error): Defalias to `error´ for Emacsen that
32 don't have it.
33
34 * org-agenda.el (org-agenda-write): Use org-called-interactively-p
35 instead of called-interactively-p.
36
37 * org.el (org-find-invisible-foreground): Do not use the value of
38 variables `default-frame-alist´, `initial-frame-alist´ and
39 `window-system-default-frame-alist´ when their symbol is not
40 bound.
41
422013-01-08 Bastien Guerry <bzg@gnu.org>
43
44 * org-agenda.el (org-agenda-finalize): Don't remove tag alignment
45 depending on `org-prefix-has-tag', this should depend on
46 `org-agenda-remove-tags'.
47
48 * org-agenda.el (org-agenda-finalize): Downcase tags when readding
49 them after agenda generation.
50
51 * org.el (org-setup-filling): Set `auto-fill-inhibit-regexp' from
52 `org-outline-regexp'.
53
54 * org-agenda.el (org-agenda-use-tag-inheritance): Fix custom
55 definition.
56
57 * org.el (org-entry-get): Speed up by let-binding some variables
58 only if needed. Also fix a bug: consider an empty drawer as no
59 drawer.
60
61 * org-agenda.el (org-search-view, org-agenda-get-todos)
62 (org-agenda-get-timestamps, org-agenda-get-sexps)
63 (org-agenda-get-progress, org-agenda-get-deadlines)
64 (org-agenda-get-scheduled, org-agenda-get-blocks)
65 (org-agenda-change-all-lines): Get local tags only.
66 (org-agenda-use-tag-inheritance): New option.
67 (org-agenda-finalize): When `org-agenda-use-tag-inheritance'
68 is non-nil, possibly reset tags in the agenda buffer.
69 (org-agenda-check-type): Enhance docstring.
70
71 * org.el (org-use-tag-inheritance): Fix typo in docstring.
72
73 * org-agenda.el (org-float): Don't alias `org-float'.
74
75 * org.el (org-scan-tags): The skipper already checks for archived
76 entries.
77
78 * org.el (org-refresh-properties): Rename from
79 `org-refresh-effort-properties' and use two new parameters.
80 (org-agenda-prepare-buffers): Use `org-refresh-properties'.
81 Also refresh the 'org-appt-warntime text property.
82
83 * org-clock.el (org-clock-in): Use the renamed defun.
84
85 * org-icalendar.el (org-icalendar-print-entries): Refresh the
86 'org-appt-warntime property.
87 (org-icalendar-print-entries): Do not use `org-entry-get' to get
88 the "APPT_WARNTIME" property value.
89
90 * org-agenda.el (org-agenda-get-timestamps)
91 (org-agenda-get-sexps, org-agenda-get-deadlines)
92 (org-agenda-get-scheduled): Ditto.
93
94 * org.el (org-adaptive-fill-function): Fix checking of
95 post-affiliated.
96 (org-id-link-to-org-use-id): Fix compiler warning.
97
98 * org-agenda.el (org-agenda-format-item): Do not use
99 org-get-effort to get the effort text property.
100 (org-agenda-get-sexps): Use `org-back-to-heading' when setting
101 the tags.
102
103 * org-clock.el (org-clock-in): Refresh effort properties.
104
105 * org.el (org-refresh-effort-properties): New defun.
106 (org-get-effort): Delete.
107 (org-set-effort): Set the 'org-effort text property.
108 (org-property-next-allowed-value): Ditto.
109 (org-agenda-prepare-buffers): Refresh effort properties.
110
111 * org.el (org-read-date): Let-bind `mouse-autoselect-window' to
112 nil so that the mouse doesn't jump when the option is set to t
113 globally.
114
115 * org-agenda.el (org-agenda-dim-blocked-tasks): Default to nil.
116 (org-agenda-dim-blocked-tasks): Make interactive and allow an
117 optional parameter 'invisible to hide blocked tasks instead of
118 just dimming them.
119 (org-agenda-mode-map): Bind `org-agenda-dim-blocked-tasks' to
120 "#".
121
122 * org-agenda.el (org-agenda-finalize): Don't try to align tags
123 when there are no tags. Only try to draw the habit consistency
124 graph when there is a habit in the buffer. Only mark clocking
125 task when there is one.
126
127 * org.el (org-adaptive-fill-function): DTRT in `message-mode'.
128
129 * org.el (org-get-priority): Save match data even when using
130 `org-get-priority-function'.
131
132 * org-mobile.el (org-mobile-create-index-file): Possibly
133 normalize `org-todo-keywords'.
134
135 * org-mobile.el (org-mobile-push): Use the correct agenda
136 buffer names.
137
138 * org.el (org-store-link): Use `org-id-link-to-org-use-id' instead
139 of the obsolete variable name.
140
141 * org.el (org-fontify-meta-lines-and-blocks-1): Fix bug when
142 fontifying keywords with no value.
143
144 * org.el (org-goto-auto-isearch): Enhance docstring.
145 (org-goto-map): Make a defun, so that the customized value of
146 org-goto-auto-isearch is correctly initialized.
147 (org-goto): Initialize the keymap with `org-goto-map'.
148 (org-get-location): Use *Org Help* as a temporary buffer.
149 Tell whether auto-isearch is on or off.
150
151 * org-exp.el (org-export-as-org): Remove useless argument.
152
153 * org-docbook.el (org-export-as-docbook-batch)
154 (org-export-region-as-docbook, org-export-as-docbook-pdf): Fix
155 the number of arguments.
156 (org-export-as-docbook): Remove useless argument.
157
158 * org.el (org-speed-commands-default): Use ":" instead of ";" for
159 `org-set-tags-command', which is consistent with ":" in agenda
160 view. Use "=" for `org-columns".
161
162 * org.el (org-sparse-tree): Fix redundant information in prompt.
163
164 * org-exp.el (org-export-string): Fix number of arguments passed
165 to the org-export-as-* functions.
166
167 * org-latex.el (org-export-as-latex): Fix typo in docstring.
168
169 * org-list.el (org-cycle-include-plain-lists): Docstring
170 enhancement.
171
172 * org.el (org-fontify-meta-lines-and-blocks-1): Fix fontification
173 bug when fontifying a keyword with no associated value.
174 (org-cycle-internal-local): Don't run hooks when cycling a plain
175 list before first headline.
176 (org-ctrl-c-ctrl-c): Throw a user error when trying to toggle a
177 blocked checkbox.
178 (org-indent-line): Fix table formulas indenting.
179
180 * org-agenda.el (org-agenda-open-link): Fix bug when no link is
181 matched. Return a message instead of an error.
182
183 * org-agenda.el (org-agenda-priority): Remove useless parameter
184 and fix showing priority in agenda buffers.
185
186 * org-macs.el (org-with-buffer-modified-unmodified): New macro.
187
188 * org.el (org-entry-blocked-p): Use the new macro.
189
190 * org-src.el (org-edit-src-exit): Don't comma-escape the content
191 of a fixed width region.
192
193 * org.el (org-blocker-hook): Update the docstring to mention that
194 functions in this hook should not modify the buffer.
195 (org-trigger-hook): Small docstring fix.
196 (org-entry-blocked-p): Use `with-buffer-modified-unmodified'
197 so that the function never modifies the buffer.
198
199 * org-agenda.el (org-agenda-open-link): Allow to open an internal
200 link by using the new `org-offer-links-in-entry' function.
201
202 * org.el (org-offer-links-in-entry): Do not open the link directly
203 through `org-open-link-from-string', only offer to select a link
204 and return a cons with the link (as a string) and the end of
205 entry.
206 (org-open-at-point): Use `org-offer-links-in-entry' correctly.
207
208 * org.el (org-cycle-internal-local): Fix bug: allow headings with
209 leading blank characters.
210
211 * org-clock.el (org-clock-persist): Docstring fix: document the
212 'history value.
213
214 * org.el (org-insert-link): Fix bug when inserting links to
215 headlines containing the ">" character.
216
217 * org-crypt.el (org-at-encrypted-entry-p): Fix search boundary.
218
219 * org-compat.el (org-delete-directory): New compatibility function
220 for Emacs 22, where `delete-directory' does not support recursive
221 deletion.
222
223 * org-odt.el (org-odt-cleanup-xml-buffers): Use the new
224 compatibility function.
225
226 * org.el (org-table-map-tables): Fix allowed blocks.
227 (org-edit-special): Fix regression: allow editing HTML and
228 LaTeX source blocks again.
229
230 * org-src.el (org-edit-src-code): Ditto.
231
232 * org.el (org-nonsticky-props): Add `htmlize-link'.
233
234 * org.el (org-nonsticky-props): Add `htmlize-link'.
235
236 * org.el (org-edit-special): Don't edit in verbatim blocks.
237
238 * org-src.el (org-edit-src-code): Ditto.
239
240 * org-table.el (org-table-fedit-lisp-indent)
241 (orgtbl-self-insert-command): Use `org-delete-backward-char'
242 instead of `backward-delete-char'.
243
244 * org.el (org-delete-backward-char, org-delete-char): Save match
245 data.
246
247 * org-src.el (org-edit-src-code): Fix another bug about editing
248 special blocks "example" and "verbatim".
249
250 * org.el (org-structure-template-alist): Add verbatim.
251 (org-edit-special): Fix bug about editing special blocks
252 "example" and "verbatim".
253
254 * org.el (org-delete-backward-char, org-delete-char): Save match
255 data (`delete-backward-char' and `delete-char' don't.)
256 (org-enable-table-editor, org-insert-heading)
257 (org-remove-timestamp-with-keyword, org-self-insert-command):
258 Use `delete-backward-char' instead of `backward-delete-char'.
259
260 * org-table.el (org-table-fedit-lisp-indent)
261 (orgtbl-self-insert-command): Ditto.
262
263 * org-latex.el (org-export-latex-subcontent): Ditto.
264
265 * org-clock.el (org-clocktable-write-default): Ditto.
266
267 * org-ascii.el (org-export-ascii-preprocess): Ditto.
268
269 * org.el (org-todo): Ignore the comment string when changing the
270 TODO state of a headline.
271
272 * org.el (org-edit-special): Fix docstring.
273 (org-in-src-block-p): Small enhancement.
274
275 * org-publish.el (org-publish-org-to): Call `org-export-as-*'
276 functions with the correct list of arguments.
277
278 * org-html.el (org-export-as-html): Delete obsolete arg `hidden'.
279 (org-export-as-html-and-open, org-export-as-html-batch)
280 (org-export-region-as-html): Don't use obsolete arg.
281
282 * org-ascii.el (org-export-as-ascii): Delete obsolete arg
283 `hidden'.
284 (org-export-as-ascii-to-buffer): Don't use obsolete arg.
285
286 * org.el (org-in-fixed-width-region-p): Save match data.
287 (org-in-src-block-p): Use case-folding for searching the block
288 boundaries.
289 (org-activate-plain-links, org-activate-angle-links)
290 (org-activate-bracket-links): Prevent link activation in
291 source code blocks.
292
293 * org-odt.el (org-odt-cleanup-xml-buffers): Fix Emacs Bug#13197 by
294 setting the correct buffer before marking it unmodified to
295 silently kill him.
296
297 * org.el (org-set-font-lock-defaults): Don't activate links in
298 source code blocks and fixed-width regions.
299
300 * org-agenda.el (org-agenda-finalize): Fix links activation.
301
302 * org.el (org-open-at-point): Throw the correct error on
303 non-links. Use `user-error' instead of `error'.
304
305 * org.el (org-in-fixed-width-region-p): Define before use.
306
307 * org-src.el (org-in-src-block-p): Declare function.
308
309 * org-compat.el: Fix bug: don't use `eval-when-compile' when
310 aliasing `user-error'.
311
312 * org-agenda.el (org-agenda-skip): Only check if point is
313 inside a code block, not at a code block.
314
315 * org.el (org-in-fixed-width-region-p): Rewrite using
316 org-element.el.
317
318 * org.el (org-fill-paragraph): Fill correctly in source code
319 block.
320
321 * org.el (org-in-fixed-width-region-p): New function.
322 (org-edit-special): Fix bug: make sure to DTRT in every
323 special environment. Also use the new function to check
324 against fixed-width environment.
325
326 * org-src.el (org-edit-src-code): Check if we are in a source code
327 block with `org-in-src-block-p'. Slightly reformat the docstring.
328
329 * org.el (org-in-src-block-p): Return t when point is at the
330 #+BEGIN_SRC/#+END_SRC lines unless the new optional parameter
331 'inside is set to t.
332
333 * ob-exp.el (obe-marker): Delete useless var.
334
335 * org-src.el (org-edit-src-code): Fix bug triggered by the sexp
336 (copy-marker nil) on Emacs <24.1.
337
3382013-01-08 Dmitry Antipov <dmantipov@yandex.ru>
339
340 * org-agenda.el (org-agenda-get-restriction-and-command): Use
341 `point-marker'.
342
343 * org-capture.el (org-capture-place-template): Ditto.
344
345 * org-colview-xemacs.el (org-dblock-write:columnview): Ditto.
346
347 * org-colview.el (org-dblock-write:columnview): Ditto.
348
349 * org-mobile.el (org-mobile-locate-entry): Ditto.
350
351 * org-table.el (org-table-convert-region): Ditto.
352
353 * org.el (org-update-statistics-cookies): Ditto.
354
3552013-01-08 Eric Schulte <eric.schulte@gmx.com>
356
357 * org-exp.el (org-export-string): Pass the dir option on through
358 to any subsequent export functions.
359
3602013-01-08 Henning Weiss <hdweiss@gmail.com> (tiny change)
361
362 * org-mobile.el (org-mobile-sumo-agenda-command): Remove match
363 description from block agendas when they have a title.
364
3652013-01-08 Jambunathan K <kjambunathan@gmail.com>
366
367 * org-odt.el (org-export-as-odt-batch): Init `org-odt-zip-dir'.
368 Fix Emacs Bug#13254.
369
370 * org-odt.el (org-odt-format-org-link): Add check for presence of
371 description in headline links.
372
3732013-01-08 Michael Albinus <michael.albinus@gmx.de>
374
375 * ob.el (org-babel-temp-file): Fix setting of
376 `temporary-file-directory' on remote hosts.
377
378 * ob-eval.el (org-babel-shell-command-on-region): Use
379 `process-file' instead of `call-process-region'. The latter one
380 does not work on remote hosts.
381
3822013-01-08 Michael Gauland <mike_gauland@stanfordalumni.org> (tiny change)
383
384 * org-src.el: Create a marker to pass to copy-marker.
385
3862013-01-08 Nicolas Goaziou <n.goaziou@gmail.com>
387
388 * org.el (org-setup-filling): Ignore `auto-fill-inhibit-regexp'.
389 The idea behind this is that `org-adaptive-fill-function' already
390 determines which lines should be filled.
391
392 * org.el (org-fill-paragraph): Small refactoring.
393
394 * org-element.el (org-element--parse-elements)
395 (org-element-at-point): Fix parsing of a list in a block in a
396 list.
397
3982013-01-08 Sebastien Vauban <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
399
400 * org.el (org-copy-subtree, org-paste-subtree): Fix whitespace
401 handling when copying/pasting a subtree.
402
4032013-01-07 Glenn Morris <rgm@gnu.org> 12013-01-07 Glenn Morris <rgm@gnu.org>
404 2
405 * progmodes/compile.el (compilation-parse-errors): 3 * progmodes/compile.el (compilation-parse-errors):
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog
index f721cff9419..57b9a4b14c0 100644
--- a/lisp/org/ChangeLog
+++ b/lisp/org/ChangeLog
@@ -1,3 +1,412 @@
12013-01-08 Achim Gratz <Stromeko@Stromeko.de>
2
3 * org-compat.el (org-define-obsolete-function-alias)
4 (org-define-obsolete-variable-alias): Introduce new compatibility
5 macros to obsolete functions and variables.
6
7 * org-agenda.el, org-clock.el, org-id.el, org-lparse.el,
8 org-protocol.el org.el: Use
9 `org-define-obsolete-{function,variable}-alias' instead of
10 `define-obsolate{function,variable}-alias'.
11
12 * org-faces.el: Define face alias mode-line for XEmacs (it's
13 called modeline there).
14
15 * org-compat.el (org-condition-case-unless-debug): Do not use
16 defalias for special forms, the Emacs 22 byte-compiler does not
17 recognize them correctly when compiling macros. Use a macro
18 instead and rely on macro expansion. That however makes the
19 decision at compile time, which should be acceptable in this case
20 since it only affects debugging.
21
22 * org-compat.el (org-no-popups): New wrapper macro which let-binds
23 the correct variables to suppress popup windows depending on the
24 Emacs version in use. This is a compile-time decision when
25 byte-compiling.
26
27 * org.el (org-get-location, org-switch-to-buffer-other-window):
28 Use the wrapper `org-no-popups´ to let-bind the correct variables
29 for suppression of popup windows.
30
31 * org-compat.el (user-error): Defalias to `error´ for Emacsen that
32 don't have it.
33
34 * org-agenda.el (org-agenda-write): Use org-called-interactively-p
35 instead of called-interactively-p.
36
37 * org.el (org-find-invisible-foreground): Do not use the value of
38 variables `default-frame-alist´, `initial-frame-alist´ and
39 `window-system-default-frame-alist´ when their symbol is not
40 bound.
41
422013-01-08 Bastien Guerry <bzg@gnu.org>
43
44 * org-src.el (org-edit-src-code): Fix bug when trying to edit a
45 table.el table.
46
47 * org-agenda.el (org-agenda-finalize): Don't remove tag alignment
48 depending on `org-prefix-has-tag', this should depend on
49 `org-agenda-remove-tags'.
50
51 * org-agenda.el (org-agenda-finalize): Don't remove tag alignment
52 depending on `org-prefix-has-tag', this should depend on
53 `org-agenda-remove-tags'.
54
55 * org-agenda.el (org-agenda-finalize): Downcase tags when readding
56 them after agenda generation.
57
58 * org.el (org-setup-filling): Set `auto-fill-inhibit-regexp' from
59 `org-outline-regexp'.
60
61 * org-agenda.el (org-agenda-use-tag-inheritance): Fix custom
62 definition.
63
64 * org.el (org-entry-get): Speed up by let-binding some variables
65 only if needed. Also fix a bug: consider an empty drawer as no
66 drawer.
67
68 * org-agenda.el (org-search-view, org-agenda-get-todos)
69 (org-agenda-get-timestamps, org-agenda-get-sexps)
70 (org-agenda-get-progress, org-agenda-get-deadlines)
71 (org-agenda-get-scheduled, org-agenda-get-blocks)
72 (org-agenda-change-all-lines): Get local tags only.
73 (org-agenda-use-tag-inheritance): New option.
74 (org-agenda-finalize): When `org-agenda-use-tag-inheritance'
75 is non-nil, possibly reset tags in the agenda buffer.
76 (org-agenda-check-type): Enhance docstring.
77
78 * org.el (org-use-tag-inheritance): Fix typo in docstring.
79
80 * org-agenda.el (org-float): Don't alias `org-float'.
81
82 * org.el (org-scan-tags): The skipper already checks for archived
83 entries.
84
85 * org.el (org-refresh-properties): Rename from
86 `org-refresh-effort-properties' and use two new parameters.
87 (org-agenda-prepare-buffers): Use `org-refresh-properties'.
88 Also refresh the 'org-appt-warntime text property.
89
90 * org-clock.el (org-clock-in): Use the renamed defun.
91
92 * org-icalendar.el (org-icalendar-print-entries): Refresh the
93 'org-appt-warntime property.
94 (org-icalendar-print-entries): Do not use `org-entry-get' to get
95 the "APPT_WARNTIME" property value.
96
97 * org-agenda.el (org-agenda-get-timestamps)
98 (org-agenda-get-sexps, org-agenda-get-deadlines)
99 (org-agenda-get-scheduled): Ditto.
100
101 * org.el (org-adaptive-fill-function): Fix checking of
102 post-affiliated.
103 (org-id-link-to-org-use-id): Fix compiler warning.
104
105 * org-agenda.el (org-agenda-format-item): Do not use
106 org-get-effort to get the effort text property.
107 (org-agenda-get-sexps): Use `org-back-to-heading' when setting
108 the tags.
109
110 * org-clock.el (org-clock-in): Refresh effort properties.
111
112 * org.el (org-refresh-effort-properties): New defun.
113 (org-get-effort): Delete.
114 (org-set-effort): Set the 'org-effort text property.
115 (org-property-next-allowed-value): Ditto.
116 (org-agenda-prepare-buffers): Refresh effort properties.
117
118 * org.el (org-read-date): Let-bind `mouse-autoselect-window' to
119 nil so that the mouse doesn't jump when the option is set to t
120 globally.
121
122 * org-agenda.el (org-agenda-dim-blocked-tasks): Default to nil.
123 (org-agenda-dim-blocked-tasks): Make interactive and allow an
124 optional parameter 'invisible to hide blocked tasks instead of
125 just dimming them.
126 (org-agenda-mode-map): Bind `org-agenda-dim-blocked-tasks' to
127 "#".
128
129 * org-agenda.el (org-agenda-finalize): Don't try to align tags
130 when there are no tags. Only try to draw the habit consistency
131 graph when there is a habit in the buffer. Only mark clocking
132 task when there is one.
133
134 * org.el (org-adaptive-fill-function): DTRT in `message-mode'.
135
136 * org.el (org-get-priority): Save match data even when using
137 `org-get-priority-function'.
138
139 * org-mobile.el (org-mobile-create-index-file): Possibly
140 normalize `org-todo-keywords'.
141
142 * org-mobile.el (org-mobile-push): Use the correct agenda
143 buffer names.
144
145 * org.el (org-store-link): Use `org-id-link-to-org-use-id' instead
146 of the obsolete variable name.
147
148 * org.el (org-fontify-meta-lines-and-blocks-1): Fix bug when
149 fontifying keywords with no value.
150
151 * org.el (org-goto-auto-isearch): Enhance docstring.
152 (org-goto-map): Make a defun, so that the customized value of
153 org-goto-auto-isearch is correctly initialized.
154 (org-goto): Initialize the keymap with `org-goto-map'.
155 (org-get-location): Use *Org Help* as a temporary buffer.
156 Tell whether auto-isearch is on or off.
157
158 * org-exp.el (org-export-as-org): Remove useless argument.
159
160 * org-docbook.el (org-export-as-docbook-batch)
161 (org-export-region-as-docbook, org-export-as-docbook-pdf): Fix
162 the number of arguments.
163 (org-export-as-docbook): Remove useless argument.
164
165 * org.el (org-speed-commands-default): Use ":" instead of ";" for
166 `org-set-tags-command', which is consistent with ":" in agenda
167 view. Use "=" for `org-columns".
168
169 * org.el (org-sparse-tree): Fix redundant information in prompt.
170
171 * org-exp.el (org-export-string): Fix number of arguments passed
172 to the org-export-as-* functions.
173
174 * org-latex.el (org-export-as-latex): Fix typo in docstring.
175
176 * org-list.el (org-cycle-include-plain-lists): Docstring
177 enhancement.
178
179 * org.el (org-fontify-meta-lines-and-blocks-1): Fix fontification
180 bug when fontifying a keyword with no associated value.
181 (org-cycle-internal-local): Don't run hooks when cycling a plain
182 list before first headline.
183 (org-ctrl-c-ctrl-c): Throw a user error when trying to toggle a
184 blocked checkbox.
185 (org-indent-line): Fix table formulas indenting.
186
187 * org-agenda.el (org-agenda-open-link): Fix bug when no link is
188 matched. Return a message instead of an error.
189
190 * org-agenda.el (org-agenda-priority): Remove useless parameter
191 and fix showing priority in agenda buffers.
192
193 * org-macs.el (org-with-buffer-modified-unmodified): New macro.
194
195 * org.el (org-entry-blocked-p): Use the new macro.
196
197 * org-src.el (org-edit-src-exit): Don't comma-escape the content
198 of a fixed width region.
199
200 * org.el (org-blocker-hook): Update the docstring to mention that
201 functions in this hook should not modify the buffer.
202 (org-trigger-hook): Small docstring fix.
203 (org-entry-blocked-p): Use `with-buffer-modified-unmodified'
204 so that the function never modifies the buffer.
205
206 * org-agenda.el (org-agenda-open-link): Allow to open an internal
207 link by using the new `org-offer-links-in-entry' function.
208
209 * org.el (org-offer-links-in-entry): Do not open the link directly
210 through `org-open-link-from-string', only offer to select a link
211 and return a cons with the link (as a string) and the end of
212 entry.
213 (org-open-at-point): Use `org-offer-links-in-entry' correctly.
214
215 * org.el (org-cycle-internal-local): Fix bug: allow headings with
216 leading blank characters.
217
218 * org-clock.el (org-clock-persist): Docstring fix: document the
219 'history value.
220
221 * org.el (org-insert-link): Fix bug when inserting links to
222 headlines containing the ">" character.
223
224 * org-crypt.el (org-at-encrypted-entry-p): Fix search boundary.
225
226 * org-compat.el (org-delete-directory): New compatibility function
227 for Emacs 22, where `delete-directory' does not support recursive
228 deletion.
229
230 * org-odt.el (org-odt-cleanup-xml-buffers): Use the new
231 compatibility function.
232
233 * org.el (org-table-map-tables): Fix allowed blocks.
234 (org-edit-special): Fix regression: allow editing HTML and
235 LaTeX source blocks again.
236
237 * org-src.el (org-edit-src-code): Ditto.
238
239 * org.el (org-nonsticky-props): Add `htmlize-link'.
240
241 * org.el (org-nonsticky-props): Add `htmlize-link'.
242
243 * org.el (org-edit-special): Don't edit in verbatim blocks.
244
245 * org-src.el (org-edit-src-code): Ditto.
246
247 * org-table.el (org-table-fedit-lisp-indent)
248 (orgtbl-self-insert-command): Use `org-delete-backward-char'
249 instead of `backward-delete-char'.
250
251 * org.el (org-delete-backward-char, org-delete-char): Save match
252 data.
253
254 * org-src.el (org-edit-src-code): Fix another bug about editing
255 special blocks "example" and "verbatim".
256
257 * org.el (org-structure-template-alist): Add verbatim.
258 (org-edit-special): Fix bug about editing special blocks
259 "example" and "verbatim".
260
261 * org.el (org-delete-backward-char, org-delete-char): Save match
262 data (`delete-backward-char' and `delete-char' don't.)
263 (org-enable-table-editor, org-insert-heading)
264 (org-remove-timestamp-with-keyword, org-self-insert-command):
265 Use `delete-backward-char' instead of `backward-delete-char'.
266
267 * org-table.el (org-table-fedit-lisp-indent)
268 (orgtbl-self-insert-command): Ditto.
269
270 * org-latex.el (org-export-latex-subcontent): Ditto.
271
272 * org-clock.el (org-clocktable-write-default): Ditto.
273
274 * org-ascii.el (org-export-ascii-preprocess): Ditto.
275
276 * org.el (org-todo): Ignore the comment string when changing the
277 TODO state of a headline.
278
279 * org.el (org-edit-special): Fix docstring.
280 (org-in-src-block-p): Small enhancement.
281
282 * org-publish.el (org-publish-org-to): Call `org-export-as-*'
283 functions with the correct list of arguments.
284
285 * org-html.el (org-export-as-html): Delete obsolete arg `hidden'.
286 (org-export-as-html-and-open, org-export-as-html-batch)
287 (org-export-region-as-html): Don't use obsolete arg.
288
289 * org-ascii.el (org-export-as-ascii): Delete obsolete arg
290 `hidden'.
291 (org-export-as-ascii-to-buffer): Don't use obsolete arg.
292
293 * org.el (org-in-fixed-width-region-p): Save match data.
294 (org-in-src-block-p): Use case-folding for searching the block
295 boundaries.
296 (org-activate-plain-links, org-activate-angle-links)
297 (org-activate-bracket-links): Prevent link activation in
298 source code blocks.
299
300 * org-odt.el (org-odt-cleanup-xml-buffers): Fix Emacs Bug#13197 by
301 setting the correct buffer before marking it unmodified to
302 silently kill him.
303
304 * org.el (org-set-font-lock-defaults): Don't activate links in
305 source code blocks and fixed-width regions.
306
307 * org-agenda.el (org-agenda-finalize): Fix links activation.
308
309 * org.el (org-open-at-point): Throw the correct error on
310 non-links. Use `user-error' instead of `error'.
311
312 * org.el (org-in-fixed-width-region-p): Define before use.
313
314 * org-src.el (org-in-src-block-p): Declare function.
315
316 * org-compat.el: Fix bug: don't use `eval-when-compile' when
317 aliasing `user-error'.
318
319 * org-agenda.el (org-agenda-skip): Only check if point is
320 inside a code block, not at a code block.
321
322 * org.el (org-in-fixed-width-region-p): Rewrite using
323 org-element.el.
324
325 * org.el (org-fill-paragraph): Fill correctly in source code
326 block.
327
328 * org.el (org-in-fixed-width-region-p): New function.
329 (org-edit-special): Fix bug: make sure to DTRT in every
330 special environment. Also use the new function to check
331 against fixed-width environment.
332
333 * org-src.el (org-edit-src-code): Check if we are in a source code
334 block with `org-in-src-block-p'. Slightly reformat the docstring.
335
336 * org.el (org-in-src-block-p): Return t when point is at the
337 #+BEGIN_SRC/#+END_SRC lines unless the new optional parameter
338 'inside is set to t.
339
340 * ob-exp.el (obe-marker): Delete useless var.
341
342 * org-src.el (org-edit-src-code): Fix bug triggered by the sexp
343 (copy-marker nil) on Emacs <24.1.
344
3452013-01-08 Dmitry Antipov <dmantipov@yandex.ru>
346
347 * org-agenda.el (org-agenda-get-restriction-and-command): Use
348 `point-marker'.
349
350 * org-capture.el (org-capture-place-template): Ditto.
351
352 * org-colview-xemacs.el (org-dblock-write:columnview): Ditto.
353
354 * org-colview.el (org-dblock-write:columnview): Ditto.
355
356 * org-mobile.el (org-mobile-locate-entry): Ditto.
357
358 * org-table.el (org-table-convert-region): Ditto.
359
360 * org.el (org-update-statistics-cookies): Ditto.
361
3622013-01-08 Eric Schulte <eric.schulte@gmx.com>
363
364 * org-exp.el (org-export-string): Pass the dir option on through
365 to any subsequent export functions.
366
3672013-01-08 Henning Weiss <hdweiss@gmail.com> (tiny change)
368
369 * org-mobile.el (org-mobile-sumo-agenda-command): Remove match
370 description from block agendas when they have a title.
371
3722013-01-08 Jambunathan K <kjambunathan@gmail.com>
373
374 * org-odt.el (org-export-as-odt-batch): Init `org-odt-zip-dir'.
375 Fix Emacs Bug#13254.
376
377 * org-odt.el (org-odt-format-org-link): Add check for presence of
378 description in headline links.
379
3802013-01-08 Michael Albinus <michael.albinus@gmx.de>
381
382 * ob.el (org-babel-temp-file): Fix setting of
383 `temporary-file-directory' on remote hosts.
384
385 * ob-eval.el (org-babel-shell-command-on-region): Use
386 `process-file' instead of `call-process-region'. The latter one
387 does not work on remote hosts.
388
3892013-01-08 Michael Gauland <mike_gauland@stanfordalumni.org> (tiny change)
390
391 * org-src.el: Create a marker to pass to copy-marker.
392
3932013-01-08 Nicolas Goaziou <n.goaziou@gmail.com>
394
395 * org.el (org-setup-filling): Ignore `auto-fill-inhibit-regexp'.
396 The idea behind this is that `org-adaptive-fill-function' already
397 determines which lines should be filled.
398
399 * org.el (org-fill-paragraph): Small refactoring.
400
401 * org-element.el (org-element--parse-elements)
402 (org-element-at-point): Fix parsing of a list in a block in a
403 list.
404
4052013-01-08 Sebastien Vauban <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
406
407 * org.el (org-copy-subtree, org-paste-subtree): Fix whitespace
408 handling when copying/pasting a subtree.
409
12012-12-12 Bastien Guerry <bzg@gnu.org> 4102012-12-12 Bastien Guerry <bzg@gnu.org>
2 411
3 * org-latex.el (org-export-latex-links): Escape raw path when 412 * org-latex.el (org-export-latex-links): Escape raw path when
diff --git a/lisp/org/org-src.el b/lisp/org/org-src.el
index 221ae367c87..277196bb768 100644
--- a/lisp/org/org-src.el
+++ b/lisp/org/org-src.el
@@ -211,7 +211,8 @@ edited version. An optional argument CONTEXT is used by \\[org-edit-src-save]
211when calling this function. See `org-src-window-setup' to configure 211when calling this function. See `org-src-window-setup' to configure
212the display of windows containing the Org buffer and the code buffer." 212the display of windows containing the Org buffer and the code buffer."
213 (interactive) 213 (interactive)
214 (if (not (org-in-block-p '("src" "example" "latex" "html"))) 214 (if (not (or (org-in-block-p '("src" "example" "latex" "html"))
215 (org-at-table.el-p)))
215 (user-error "Not in a source code or example block") 216 (user-error "Not in a source code or example block")
216 (unless (eq context 'save) 217 (unless (eq context 'save)
217 (setq org-edit-src-saved-temp-window-config (current-window-configuration))) 218 (setq org-edit-src-saved-temp-window-config (current-window-configuration)))
diff --git a/lisp/org/org-version.el b/lisp/org/org-version.el
index 796d79ffa34..f4f4bfb7651 100644
--- a/lisp/org/org-version.el
+++ b/lisp/org/org-version.el
@@ -11,7 +11,7 @@
11(defun org-git-version () 11(defun org-git-version ()
12 "The Git version of org-mode. 12 "The Git version of org-mode.
13 Inserted by installing org-mode or when a release is made." 13 Inserted by installing org-mode or when a release is made."
14 (let ((org-git-version "7.9.3+-GNU-Emacs-24-3 (commit 31c1aeab)")) 14 (let ((org-git-version "7.9.3+-GNU-Emacs-24-3 (commit c8c217aa)"))
15 org-git-version)) 15 org-git-version))
16;;;###autoload 16;;;###autoload
17(defvar org-odt-data-dir "/usr/share/emacs/etc/org" 17(defvar org-odt-data-dir "/usr/share/emacs/etc/org"