1 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
3 * org.el (org-todo): Return correct state type even if the blocker
5 (org-modifier-cursor-error): Renamed from
6 `org-shiftcursor-error'.
7 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
8 (org-shiftmetadown): Call `org-modifier-cursor-error'.
10 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
11 to get real errors from the blocker hook.
13 * org.el (org-shiftselect-error, org-call-for-shift-select): New
15 (org-set-visibility-according-to-property): Turn off the setting
16 of `org-show-entry-below', to avoid overruling a FOLDED visibility
19 * org.el (org-support-shift-select): New option.
20 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
21 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
22 selection outside contexts.
24 * org-list.el (org-at-item-bullet-p): New function.
26 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
29 * org-footnote.el (org-footnote-normalize): Remove unnecessary
31 (org-insert-footnote-reference-near-definition): Remove
34 2009-01-26 Carsten Dominik <dominik@science.uva.nl>
36 * org-export-latex.el (org-export-as-latex): Call
37 `org-export-latex-first-lines' with OPT-PLIST as a parameter.
38 (org-export-latex-first-lines): New parameter OPT-PLIST.
40 * org.el (org-yank): Tell `delete-selection-mode' about
43 * org-faces.el (org-clock-overlay): Fix face definition.
45 * org-export-latex.el (org-export-latex-first-lines): Pass
46 timestamp and footnote parameters to the preprocessor.
48 * org-exp.el (org-export-remove-timestamps): Do not remove time
51 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
53 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
55 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
58 * org-table.el (org-table-insert-hline): Fix typo in fuction call
61 * org-exp.el (org-export-as-html): Remove the initial space from
64 * org.el (org-scan-tags): Call
65 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
67 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
69 (org-agenda-tags-todo-honor-ignore-options): New option.
70 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
72 (org-agenda-get-todos): Use
73 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
75 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
77 * org-exp.el (org-export-format-source-code-or-example): Escape
78 HTML characters also in examples that anre not treated with
79 htmlize. Also, just switch to EXAMPLE processing if we do not
80 have a good version of htmlize.
82 * org-rmail.el: Fix copyright notice.
84 * org.el (org-activate-footnote-links): Improve footnote link
87 * org-footnote.el (org-footnote-normalize): Fix finding the end of
88 a footnote definition at the end of the file.
90 * org-table.el (org-table-get-specials): Add an imagined hline at
91 the end of the table. This can be useful for references that want
92 to go to the end of the table. Also fix bug when computing last
93 row constants, in tables that do not start right at the right
95 (org-table-eval-formula): Match and replace remove references.
96 (org-table-formula-substitute-names): Make sure that names inside
97 a "remote" call are left alone, the will be replaced later when
98 the remote call is handled.
99 (org-table-convert-refs-to-rc): Do not convert things that might
100 look like a reference, but are really part of an ID or namei n a
102 (org-table-get-remote-range): New function.
104 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
106 * org-faces.el (org-clock-overlay): Fix bug in face definition.
108 * org-clock.el (org-clock-put-overlay): Use new face instead of
109 `secondary-selection'.
111 * org-faces.el (org-clock-overlay): New face.
113 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
115 * org-exp.el (org-get-current-options): Include the option for
116 publishing time stamps.
118 * org.el (org-toggle-heading): Renamed from
119 `org-toggel-region-headings'.
120 No longer needs a region defined, but will use it if there is one.
121 (org-ctrl-c-star): Simplified, relying more on the internal
122 workings of `org-toggle-heading'.
123 (org-toggle-item): Renamed from `org-toggle-region-items'.
124 No longer needs a region defined, but will use it if there is one.
125 (org-ctrl-c-minus): Simplified, relying more on the inernal
126 workings of `org-toggle-item'.
128 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
129 environment detection. Also, do real changes only in unprotected
132 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
134 * org-export-latex.el (org-export-latex-quotation-marks): Use
135 `org-if-unprotected-1'.
136 (org-export-latex-set-initial-vars): Check for class definition in
139 * org-macs.el (org-if-unprotected-1): New macro.
141 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
143 * org-compat.el (org-count-lines): New function.
145 * org-exp.el (org-export-format-source-code-or-example): Handle
146 switches related to text areas.
148 * org.el (org-activate-footnote-links): Don't allow match inside a
151 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
153 * org-export-latex.el (org-export-latex-links): Keep a relative
154 path relative also after export.
156 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
158 * org.el (org-make-tags-matcher): Never use IDO for completing the
159 tags matcher match string.
160 (org-completing-read): Also remove the special biding for "?".
162 * org-attach.el (org-attach-allow-inheritance): New option.
163 (org-attach-inherited): New variable.
164 (org-attach-dir): Handle properties related to the attachment
166 (org-attach-check-absolute-path): New function.
167 (org-attach-set-directory, org-attach-set-inherit): New commands.
168 (org-attach): Accommodate the new commands in the dispatcher.
170 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
172 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
173 `window-full-width-p'.
175 * org-exp.el (org-export-as-html): Only check for images files
176 that really can be inlined
178 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
179 list of extensions to be a parameter.
181 * org-exp.el (org-export-html-inline-image-extensions): New
184 * org-agenda.el (org-prepare-agenda): Use
185 `org-agenda-block-separator'.
186 (org-agenda-block-separator): New option.
188 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
190 * org-export-latex.el (org-export-latex-tables): Call
191 `org-table-clean-before-export' with the new optional argument.
193 * org-exp.el (org-table-clean-before-export): New optional
194 parameter MAYBE-QUOTED, allows for quoted characters like \# in
197 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
199 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
202 * org-colview.el (org-colview-construct-allowed-dates): Better
203 error catching when a date/time property does not have allowed
206 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
207 Better error catching when a date/time property does not have
208 allowed values defined.
210 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
212 * org.el (org-map-entries): Restore point and restriction after
215 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
217 * org.el (org-time=, org-time<, org-time<=, org-time>)
218 (org-time>=, org-time<>): Make sure both values are dates.
220 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
222 * org-archive.el (org-extract-archive-heading): Allow %s for file
223 name also in achive location heading.
225 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
227 * org-archive.el (org-add-archive-files): Uniquify the list before
230 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
232 * org-compat.el (org-fit-window-to-buffer): Use
233 `window-full-width-p'.
235 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
236 space after the colon in short examples.
238 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
239 enforce a space after the colon. However, we also allow lines
240 that are *only* a colon.
241 (org-export-as-html): Enforce the space after the colon in short
243 (org-export-preprocess-string): Do the colon example protection
245 (org-export-remove-timestamps): Do not check for protection at the
248 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
250 * org.el (org-format-latex-options): Add new matcher for single
251 letters between dollars.
252 (org-get-header): Function removed.
253 (org-heading-components): New function.
255 * org-exp.el (org-export-define-heading-targets): Record ID's also
256 as alternative targets.
257 (org-export-as-html): Interpret "id:" links to other files by
258 preserving the relative path.
260 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
263 * org-exp.el (org-export-normalize-links): Protect the main link,
264 to avoid special character processing.
266 * org-export-latex.el (org-export-latex-special-keyword-regexp):
268 (org-export-latex-special-string-regexps): Variable removed.
269 (org-export-latex-keywords): Use the new regexp.
271 * org-exp.el (org-export-handle-include-files): Fetch switches and
272 put them into the BEGIN statement.
274 * org-timer.el (org-timer-mode-line-string): New variable.
276 * org-clock.el (org-clock-mode-line-map): Renamed from
277 `org-clock-mode-map'.
278 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
279 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
280 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
281 (org-clock-remove-overlays): Renamed from
282 `org-remove-clock-overlays'.
284 * org-timer.el (org-timer-pause-or-continue): Implement stopping
285 and mode line display.
286 (org-timer-stop): New command.
287 (org-timer-seconds): Return correct time when timer is paused.
288 (org-timer-mode-line-timer): New variable.
289 (org-timer-set-mode-line, org-timer-update-mode-line): New
292 * org.el (org-insert-heading): Handle new value `auto' for
293 `org-blank-before-new-entry'.
294 (org-org-menu): Add new items for timer functions.
296 * org-list.el (org-insert-item): Handle new value `auto' for
297 `org-blank-before-new-entry'.
299 * org.el (org-blank-before-new-entry): New value `auto', made
302 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
304 * org-exp.el (org-export-normalize-links): If the link is also
305 used as the description, protect the description.
307 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
309 * org.el (org-closest-date): Fix bug with yearly repeats, in
310 combination with preference of the past as it is used for deadline
311 and scheduling search.
313 * org-exp.el (org-html-handle-time-stamps): No longer check for
314 the `org-export-with-timestamps' option, because the preprocesser
315 has taken care of this already.
317 * org.el (org-entry-properties): Catch the case when this is
318 called in a non-org-mode file.
320 * org-export-latex.el (org-export-latex-remove-from-headlines):
321 Variable made obsolete, also LaTeX export now uses the standard
323 (org-export-as-latex): Add the timestamps parameter to the
324 preprocessor parameter list.
325 (org-export-latex-content): Export the remaining keywords without
326 considering to remove them.
327 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
328 Use bold font instead of tt font for the keywords.
329 (org-export-latex-fontify-headline): Format headlines, assuming
330 that all keywords still present should be published.
331 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
332 publish what ever remains of the time stamps.
333 (org-export-latex-list-parameters): New option.
334 (org-export-latex-lists): Pass additional parameters to the list
337 * org-exp.el (org-export-preprocess-string): Remove clock lines
338 and timestamps already in the preprocesor.
339 (org-export-remove-timestamps, org-export-remove-clock-lines): New
341 (org-export-as-ascii, org-export-as-html): Add the timestamps
342 parameter to the preprocessor parameter list.
344 * org-list.el (org-list-parse-list): Parse for checkboxes.
345 (org-list-to-generic): Introduce and handle new parameters :cbon
347 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
348 optional parameter PARAMS.
350 * org-export-latex.el (org-export-latex-special-chars): Fix
351 problems with interpreting dollar signs.
352 (org-inside-latex-math-p): New function.
353 (org-export-latex-preprocess): Protect all the math fragments.
355 * org.el (org-latex-regexps): Allow a dash after a dollar.
357 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
360 * org-agenda.el (org-run-agenda-series): Have series options set
361 when finalizing the agenda.
363 * org-exp.el (org-export-format-source-code-or-example): Protect
364 the converted examples.
366 * org.el (org-set-regexps-and-options): Fix the regexp
367 `org-complex-heading-regexp'.
369 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
371 * org.el (org-edit-src-get-label-format): New function.
372 (org-coderef-label-format): New option.
373 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
374 a label format specification and make sure it is used in the edit
376 (org-edit-src-get-label-format): New function.
377 (org-store-link): Handle new coderef formats.
378 (org-link-search): Handle new coderef formats.
380 * org-footnote.el (org-footnote-create-definition)
381 (org-footnote-goto-local-insertion-point): Make footnote insertion
382 work correctly when the "Footnotes" headline is the last line in
385 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
388 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
390 * org-w3m.el (org-w3m): New customization group.
391 (org-w3m-deactivate-mark): New option.
392 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
395 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
397 * org.el (org-set-font-lock-defaults): Trigger footnote
399 (org-activate-footnote-links): New function.
400 (org-activate-links): New entry `footnote'.
402 * org-faces.el (org-footnote): New face.
404 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
406 * org-macs.el (org-re): Handle the [:word:] class.
408 * org-exp.el (org-export-preprocess-string): Call
409 `org-export-protect-colon-examples'.
410 (org-export-protect-colon-examples): Renamed from
411 `org-export-protect-examples', and scope limited to lines starting
414 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
416 * org-exp.el (org-export-preprocess-string): Move the preprocess
417 hook to after turning on Org-mode.
418 (org-export-preprocess-after-include-files-hook)
419 (org-export-preprocess-after-tree-selection-hook)
420 (org-export-preprocess-before-backend-specifics-hook)
421 (org-export-preprocess-final-hook): New hooks.
422 (org-export-preprocess-string): Run the new hooks.
424 * org.el (org-ctrl-c-minus): Fix indentation for new items.
426 * org-footnote.el: New file.
428 * org.el (org-footnote): Require footnote code.
429 (org-startup-options): Add new footnote options.
430 (org-mode-map): New keybindig for footnotes.
431 (org-ctrl-c-ctrl-c): Add function at footnotes.
432 (org-org-menu): New menu entries for footnotes.
434 * org-export-latex.el (org-export-as-latex): Pass footnote
435 variable to preprocessor.
436 (org-export-latex-preprocess): Treat multiple references to a
439 * org-exp.el (org-export-preprocess-string): Call
440 `org-footnote-normalize'.
441 (org-export-as-ascii, org-export-as-html): Pass footnote variable
443 (org-export-as-html): Treat multiple references to a footnote.
445 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
447 * org-export-latex.el (org-export-latex-links): Handle coderef
450 * org.el (org-bracket-link-analytic-regexp++): New variable.
451 (org-make-link-regexps): Initialize
452 `org-bracket-link-analytic-regexp++'.
453 (org-store-link): Implement special case in edit-src buffer.
454 (org-insert-link): No use of ide to insert stored links.
455 (org-link-search): Implement special case for coderefs.
457 * org-exp.el (org-export-html-scripts): New constant.
458 (org-export-html-style-default): Add a new style for highlighted
460 (org-export-code-refs): New variable.
461 (org-export-preprocess-string): Initialize `org-export-code-refs'.
462 Call `org-export-replace-src-segments-and-examples'
463 No longer call `org-export-protect-examples'.
464 (org-export-target-internal-links): Take care of coderef targets.
465 (org-export-last-code-line-counter-value): New variable.
466 (org-export-replace-src-segments-and-examples): Renamed from
467 `org-export-replace-src-segments', and modified.
468 (org-export-format-source-code-or-example): Renamed from
469 `org-export-format-source-code'.
470 (org-export-number-lines): New function.
471 (org-export-as-ascii, org-export-as-html): Handle coderef links.
473 2009-01-23 Glenn Morris <rgm@gnu.org>
475 * org-rmail.el (rmail-narrow-to-non-pruned-header):
476 Remove declaration of deleted function.
478 2009-01-16 Glenn Morris <rgm@gnu.org>
480 * org-mouse.el (org-mouse-show-context-menu): Use
481 mouse-menu-major-mode-map, if defined, rather than the obsolete
482 mouse-major-mode-menu.
484 2008-12-23 Carsten Dominik <dominik@science.uva.nl>
486 * org-remember.el (org-remember-handler): Safer way to get a new
487 buffer accessing the target file.
489 * org.el (org-refile-get-location): Handle case of current buffer
490 not having a file associated with it.
492 2008-12-22 Carsten Dominik <dominik@science.uva.nl>
494 * org-table.el (org-table-get-formula): Only ask to overwrite
495 field formula if there really is one.
497 2008-12-21 Carsten Dominik <dominik@science.uva.nl>
499 * org-export-latex.el (org-export-latex-make-header): Double the
500 commenting % in the time stamp format.
501 (org-export-latex-special-chars): Handle case where there is no
504 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
506 * org.el (org-get-refile-targets, org-refile-get-location): Use
507 expanded file name to improve comparison.
509 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
511 * org.el (org-scan-tags): Rescan for tags, to get the correct
512 upcase/downcase stuff. This slows things down for now, but it
514 (org-mode): Make sure the tag-faces regexp is initialized.
516 * org-export-latex.el (org-export-latex-links): Fix bug with
519 * org-table.el (org-table-get-specials): Set
520 `org-table-current-last-data-line'.
521 (org-table-current-last-data-line): New variable.
522 (org-table-insert-column, org-table-delete-column)
523 (org-table-move-column, org-table-fix-formulas): Call
524 `org-table-fix-formulas' a second time to fix the $LR references.
525 (org-table-get-specials): Add the $LR references to the tables.
526 (org-table-get-formula): Do not offer last-row names as LHS of
529 * org.el (org-store-link): Capture link description from
532 * org-exp.el (org-export-html-format-image): Add the / to the end
534 (org-export-format-source-code): Surround example by empty lines,
535 to make sure it will not be inside a paragraph.
537 * org.el (org-ido-switchb): New function.
539 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
541 * org-agenda.el (org-agenda-show): New prefix argument
544 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
547 2008-12-20 Glenn Morris <rgm@gnu.org>
549 * org.el (org-org-menu): Fix some more menu entries.
551 2008-12-18 Carsten Dominik <dominik@science.uva.nl>
553 * org-table.el (org-table-get-specials): Revert introduction of @0
554 as reference of the last table row, because of conflicts.
556 * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
557 argument, get the current tags directly.
558 (org-agenda-set-tags): Leave getting current tags to
559 `org-agenda-change-all-lines'.
561 2008-12-17 Carsten Dominik <dominik@science.uva.nl>
563 * org.el (org-org-menu): Do not quote the set-tags command.
565 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
567 * Fix typos in comments and docstrings throughout Org-mode.
569 * org.el (org-get-outline-path): Fix bug if level is not given.
571 * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
573 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
575 * org.el (org-refile): Avoid refiling to within the region to be
578 * org-export-latex.el (org-export-latex-special-chars): Replace
579 special characters also in tables.
581 * org-agenda.el (org-agenda-change-all-lines): New argument
583 (org-agenda-set-tags): Get the new tags and pass them to
584 `org-format-agenda-item'.
586 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
588 * org-export-latex.el (org-export-latex-classes): Add longable as
589 a default package to all classes.
590 (org-export-latex-tables): Handle the longtable attribute and the
593 * org-table.el (orgtbl-to-generic): Handle tables that start with
596 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
597 \verb for colde-like snippets.
598 (org-export-as-latex): Fix issues with region export.
600 * org.el (org-up-heading-safe): Speed up function by using a
601 direct regexp search.
602 (org-olpa): New variable.
603 (org-get-outline-path): Speed-up path constructions in cases where
604 this is possible because the entire hierarchy is scanned anyway.
605 (org-refile-get-location): Don't compare the truenames of files,
607 (org-goto-max-level): New option.
608 (org-goto): Use `org-goto-max-level'.
610 2008-12-16 Tassilo Horn <tassilo@member.fsf.org>
612 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
613 Strip angle brackets from message-ids in the former and don't do
615 (org-gnus-follow-link): Open summary reliable, even if the last
616 messages were deleted, and handle empty groups, too.
618 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
620 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
621 instead of \texttt for the =...= and ~===~ emphasis environments.
622 (org-export-as-latex): Remove any old :org-license-to-kill text
624 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
625 (org-export-latex-make-header): Add some hard space after the
627 (org-export-latex-first-lines): Accept RBEG argument. Mark
628 exported text so that it will be excuded in further steps.
630 * org-table.el (org-table-get-specials): Make @0 reference the
631 last line in a table.
632 (org-table-recalculate): Improve docstring.
634 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
636 * org.el (org-log-done): Fix docstring.
638 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
640 * org-exp.el (org-export-html-format-image): Fix bugs.
642 * org-export-latex.el (org-export-latex-tables)
643 (org-export-latex-links): Implement attribute, label, and caption
646 * org-exp.el (org-export-html-style-default): Add style
647 definitions for the figure div.
648 (org-export-preprocess-string, org-export-as-html): Implement
649 attribute, label, and caption handling.
650 (org-export-attach-captions-and-attributes): New function.
651 (org-export-html-format-image): New function.
652 (org-format-org-table-html): Implement attribute, label, and
655 * org.el (org-find-text-property-in-string): New function.
656 (org-extract-attributes): Use the property org-attr instead of
657 org-attrobutes, because this property is now set with the #+ATTR
660 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
662 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
663 the case that FROM is nil.
665 * org.el (org-before-first-heading-p): New function.
667 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
669 * org-exp.el (org-export-as-html): Do not add a space before
670 enforces line breaks.
671 (org-export-as-html): Close paragraph before blockquote and verse
674 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
676 * org-id.el (org-id-locations-file): Wrap file name with
677 `convert-standard-filename'.
678 (org-id-files): New variable.
679 (org-id-use-hash): New option.
680 (org-id-update-id-locations): Also search in all files current
681 listed in `org-id-files'. Convert the resulting alist to a hash
682 if the user customation says so.
683 (org-id-locations-save): Handle he case if `org-id-locations' is a
685 (org-id-locations-load): Convert the alist to a hash.
686 (org-id-add-location): Handle the hast case.
687 (kill-emacs-hook): Make sure id locations are saved when Emacs is
689 (org-id-hash-to-alist, org-id-alist-to-hash)
690 (org-id-paste-tracker): New functions.
692 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
694 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
695 bindings of calendar variables.
697 * org-table.el (org-table-find-row-type): Renamed from
699 (org-table-rewrite-old-row-references): Renamed from
700 `org-rewrite-old-row-references'.
701 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
702 (org-table-cleanup-narrow-column-properties): Renamed from
703 `org-cleanup-narrow-column-properties'.
705 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
707 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
708 for better error messages.
709 (org-table-get-descriptor-line): Supply the new arguments to
711 (org-table-error-on-row-ref-crossing-hline): New option.
713 * org.el (org-target-link-regexp): Make buffer-local.
714 (org-move-subtree-down): Fix bug with trees at beginning of
717 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
719 * org-faces.el (org-set-tag-faces): New function.
720 (org-tags-special-faces-re): New variable.
722 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
724 * org-faces.el (org-tag-faces): New option.
725 (org-tag): Mention `org-tag-faces' in the docstring.
727 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
729 * org-exp.el (org-export-html-style-default): Implement new
732 * org-jsinfo.el (org-infojs-template): Implement new quoting.
734 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
735 command to the `w3m-minor-mode-map'.
737 * org-archive.el (org-archive-to-archive-sibling): Protect
738 `this-command' to avoid appending kills during archiving.
740 * org-exp.el (org-export-with-priority): New variable.
741 (org-export-add-options-to-plist): Use `org-export-plist-vars'
742 instead of internal list of strings and properties.
743 (org-print-icalendar-entries): Retrieve the location property with
746 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
748 * org-exp.el (org-export-with-todo-keywords): New option.
749 (org-export-plist-vars): Include also the keys for the #+OPTIONS
751 (org-default-export-plist, org-export-add-options-to-plist)
752 (org-export-as-ascii, org-export-as-html): Use the new structure
753 of `org-export-plist-vars'.
755 * org.el (org-map-entries): Return all values.
757 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
759 * org.el (org-matcher-time): Recognize more special values.
761 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
763 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
765 * org.el (org-tags-exclude-from-inheritance): New option.
766 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
767 `org-tags-exclude-from-inheritance'.
769 * org-agenda.el (org-agenda-show-inherited-tags): New option.
770 (org-format-agenda-item): Add inherited tags to the agenda line
771 string, and make sure that properties are kept when downcasing the
773 (org-agenda-add-inherited-tags): New function.
774 (org-downcase-keep-props): New function.
776 * org.el (org-scan-tags): Mark inherited tags with a text
778 (org-get-tags-at): Mark inherited tags with a text property.
779 (org-add-prop-inherited): New function.
781 * org-agenda.el (org-agenda-add-inherited-tags): New function.
782 (org-agenda-show-inherited-tags): New option.
784 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
786 * org.el (org-modules): Add org-w3m to the default modules.
788 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
790 (orgtabl-create-or-convert-from-region): New command.
792 * org-exp.el (org-export-as-ascii): Remove the handling of
794 (org-export-ascii-preprocess): Handle targets already in this
797 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
799 * org-timer.el (org-timer-start-time): Define this variable.
800 (org-timer-item): Make argument optional.
802 * org-list.el (org-insert-item): Automatically insert a timer item
803 if the current list is a timer list.
805 * org-timer.el: New file.
807 * org-publish.el (org-publish-org-index): Only exclude the index
808 file in the main directory from being added to the site-map.
809 (org-publish-get-project-from-filename): If the current project is
810 a component, start publishing from the parent project.
812 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
814 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
816 * org-publish.el (org-publish-org-index): Improve removal of
819 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
821 * org-agenda.el (org-get-closed): Re-apply changes
822 accidentially overwritten by last commit to Emacs.
824 * org.el (org-outline-path-complete-in-steps): New option.
825 (org-refile-get-location): Honor
826 `org-outline-path-complete-in-steps'.
827 (org-agenda-change-all-lines, org-tags-sparse-tree)
828 (org-time-string-to-absolute, org-small-year-to-year)
829 (org-link-escape): Re-apply changes accidentially overwritten
830 by last commit to Emacs.
832 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
834 * org-clock.el (org-dblock-write:clocktable): Make sure the
835 clocktable sees the first line.
836 (org-clock-in): Warn if the clock cannot be resumed.
838 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
840 * org.el (org-open-at-point): Fix mixup about interactive and
841 non-interactive elisp links.
843 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
845 * org-exp.el (org-export-preprocess-string): Allow one comment
846 line before the first headline to always be included. This is
847 to not miss a commented target.
849 * org-mouse.el (org-mouse-insert-item): Call
850 `org-indent-to-column' instead of `indent-to', for XEmacs
853 * org.el (org-refile-targets): Fix customize definition so
854 that it works also in XEmacs.
855 (org-fixup-indentation): Call `org-indent-to-column' instead
856 of `indent-to', for XEmacs compatibility.
858 2008-11-23 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
860 * org-mew.el (org-mew-store-link): Get the correct case folder
861 for refiled messages.
863 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
865 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
866 line break indicators.
868 * org.el (org-ido-completing-read): Remove the "i:" prefix for
869 ido-completion propts.
871 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
873 * org-remember.el (org-remember-apply-template): Use
874 `org-substring-no-properties'.
876 * org-compat.el (org-substring-no-properties): New function.
878 * org-remember.el (org-remember-apply-template): Use
879 `org-substring-no-properties' for compatibility.
881 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
883 (org-fix-bullet-type): respect
884 `org-list-two-spaces-after-bullet-regexp'.
886 * org-clock.el (org-clock-load): Clean up the code.
888 * org.el (org-adaptive-fill-function): Allow two spaces after
889 "1." as a list bullet.
891 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
893 * org-clock.el (org-clock-save, org-clock-load): Check for
894 live buffers, existing files, and buffer file names to ensure
895 consistent information.
896 (org-clock-persist): Make `clock' a special value of this
897 variable, and improve docstring.
899 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
900 (org-get-string-indentation): Adapt indentation when the bullet
903 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
905 * org-remember.el (org-remember-finalize): Make interactive.
906 (org-remember-kill): New command.
907 (org-remember-finish-immediately): Call `org-remember-finalize'
909 (org-remember-finalize): Make `org-remember-finalize' an interactive
912 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
914 * org-remember.el (org-remember-apply-template): No ido completion
915 for free prompts in remember templates.
916 (org-remember-before-finalize-hook): New hook.
917 (org-remember-mode): New minor mode.
918 (org-remember-apply-template): Turn on `org-remember-mode'.
920 * org-remember.el (org-remember-apply-template): Fix the way how
921 the list of allowed properties is retrieved from the target file.
923 * org.el (org-insert-link): Improve file link matching.
925 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
927 * org-colview.el (org-columns-display-here): New argument
928 DATELINE, to trigger using the new face.
929 (org-agenda-colview-summarize): Call `org-columns-display-here'
930 with the new argument.
932 * org-faces.el (org-agenda-column-dateline): New face.
934 * org-publish.el (org-publish-org-index): Use index-title at page
935 title, not as section.
937 * org-exp.el (org-export-html-format-desc): Respect the
938 org-protect property.
939 (org-export-as-html): Protect image specifiers that are in the
940 description part of a link.
942 * org.el (org-sort-entries-or-items, org-completing-read)
943 (org-refile-get-location, org-olpath-completing-read, org-todo)
944 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
945 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
946 (org-set-property, org-delete-property)
947 (org-delete-property-globally): Use `org-ido-completing-read'.
949 * org-remember.el (org-remember-apply-template): Use
950 `org-ido-completing-read'.
952 * org-publish.el (org-publish): Use `org-ido-completing-read'.
954 * org-colview.el (org-columns-edit-value, org-columns-new)
955 (org-insert-columns-dblock): Use `org-ido-completing-read'.
957 * org-colview-xemacs.el (org-columns-edit-value)
958 (org-columns-new, org-insert-columns-dblock): Use
959 `org-ido-completing-read'.
961 * org-attach.el (org-attach-delete-one, org-attach-open): Use
962 `org-ido-completing-read'.
964 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
965 `org-ido-completing-read'.
967 * org.el (org-time-today): New function.
968 (org-matcher-time): Use `org-time-today'. Add special treatment
969 for "<tomorrow>" and "<yesterday>".
970 (org-ido-completing-read): New function.
971 (org-completion-use-ido): New option.
973 * org-exp.el (org-export-format-source-code): Fix bug in require
975 (org-export-target-internal-links): Fix bug in search for text
978 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
980 * org-export-latex.el (org-export-latex-subcontent): Interprete
981 target aliases as additonal labels.
983 * org-exp.el (org-export-target-aliases): New variable.
984 (org-export-preprocess-string)
985 (org-export-handle-invisible-targets): Fill the alias alist.
986 (org-export-as-html): Remove the from the anchor, and also
988 (org-html-level-start): Insert the target aliases as additonal
991 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
994 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
996 * org.el (org-open-at-mouse): Ensure correct link abbreviations
997 when following a link with the mouse from the agenda.
999 * org-exp.el (org-export-as-html): Avoid lone </div> when no
1000 headlines are created.
1002 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
1004 * org.el (org-link-translation-function): New option.
1005 (org-open-at-point): Call `org-link-translation-function' if
1007 (org-translate-link): New function.
1008 (org-translate-link-from-planner): New function.
1009 (org-open-at-point): Allow interactive commands in elisp links.
1011 * org-exp.el (org-icalendar-cleanup-string): Restore the old
1012 iCalendar quoting. The new one seems to caus problems with
1015 * org.el (org-yank): Set `this-command' to `yank', so that
1016 `yank-pop' will work.
1018 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
1020 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
1021 compliance as far as quoting is concerned.
1023 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
1024 hexified version of the tag.
1026 * org-vm.el (org-vm-follow-link): Require `vm-search'.
1028 * org.el (org-up-heading-safe, org-forward-same-level): Always
1029 call `org-back-to-heading' instead of `outline-back-to-heading'.
1030 (org-back-to-heading): New wrapper around outline-back-to-heading,
1031 with a useful error message telling where the error happened.
1033 * org-list.el (org-update-checkbox-count): Always call
1034 `org-back-to-heading' instead of `outline-back-to-heading'.
1036 * org-exp.el (org-export-as-html): Make sure that each <img> tag
1037 has an `alt' attribute, to ensure XHTML validation.
1039 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
1041 * org-publish.el (org-publish-attachment): Allow publishing to
1042 overwrite attachment files.
1044 * org-agenda.el (org-agenda-timerange-leaders): New option.
1045 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
1047 * org.el (org-edit-src-exit): Untabify ASCII image before
1050 2008-11-19 Glenn Morris <rgm@gnu.org>
1052 * org.el, org-mouse.el (org-agenda-change-all-lines):
1055 2008-11-18 Carsten Dominik <dominik@science.uva.nl>
1057 * org.el ("speedbar"): Only show context if the file really is an
1060 2008-11-17 Juanma Barranquero <lekktu@gmail.com>
1062 * org.el (org-time-string-to-absolute, org-small-year-to-year)
1063 (org-tags-sparse-tree): Fix typos in docstrings.
1065 2008-11-15 Carsten Dominik <dominik@science.uva.nl>
1067 * org-publish.el (org-publish-attachment): Allow copy-file to
1070 2008-11-13 Glenn Morris <rgm@gnu.org>
1072 * org-agenda.el (org-get-closed): Fix alias.
1074 2008-11-12 Juanma Barranquero <lekktu@gmail.com>
1076 * org.el (org-link-escape): Fix typo in docstring.
1078 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
1080 * org.el (org-yank): Make any prefix force normal yanking.
1081 Suppress folding if text would be swallowed into a folded
1083 (org-yank-folded-subtrees, org-yank): Docstring updates.
1085 * org-agenda.el (org-agenda-compare-effort): Treat no effort
1088 * org-exp.el (org-export-language-setup): Add Catalan and
1089 Esperanto language entries.
1091 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
1093 * org.el (org-refile): Allow refiling of entire regions.
1095 * org-clock.el (org-clock-time%): New function.
1097 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
1098 retrieve property values.
1100 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
1102 * org-agenda.el (org-agenda-list): Handle the value `only' of
1103 org-agenda-show-log'.
1104 (org-agenda-log-mode): Interpret a double prefix arg.
1106 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
1108 * org-exp.el (org-export-html-footnotes-section): New variable.
1109 (org-export-as-html): Use `org-export-html-footnotes-section' to
1110 insert the footnotes.
1111 (org-export-language-setup): Add "Footnotes" to language words.
1113 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
1115 * org.el (org-yank): Fix bug when not inserting a subtree.
1117 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
1119 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
1120 instead of `vm-beginning-of-message'.
1122 * org.el (org-make-link-regexps): Make sure that links to gnus can
1125 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
1127 * org-attach.el (org-attach-dir): Remove duplicate ID creation
1130 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
1133 * org.el (org-link-abbrev-alist): Improve customization type.
1135 * org-attach.el (org-attach-expand-link, org-attach-expand): New
1138 * org-agenda.el (org-agenda-get-progress): Renamed from
1139 `org-get-closed'. Implement searching for state changes as well.
1140 (org-agenda-log-mode-items): New option.
1141 (org-agenda-log-mode): New option prefix argument, interpreted as
1142 request to show all possible progress info.
1143 (org-agenda-get-day-entries): Call `org-get-progress' instead of
1145 (org-agenda-set-mode-name): Handle the more complex log mode
1147 (org-get-closed): New alias, pointing to `org-get-progress'.
1149 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
1151 * org.el (org-file-apps-defaults-gnu)
1152 (org-file-apps-defaults-macosx)
1153 (org-file-apps-defaults-windowsnt): Add an entry defining the
1155 (org-file-apps): Allow `system' as key and value.
1156 (org-open-at-point): Explain the effect of a double prefix arg.
1157 (org-open-file): If the argument `in-emacs' is (16),
1158 i.e. corresponding to a double prefix argument, try to open the
1161 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
1163 * org.el (org-insert-link): Abbreviate absolute files names in
1164 links. Also, fix a bug in which the double C-u prefix would not
1167 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
1169 * org.el (org-insert-heading): If buffer does not end with a
1170 newline, add one if necessary to insert headline correctly.
1172 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
1173 paragraphs, not inside.
1175 * org.el (org-todo): Quote
1176 `org-agenda-headline-snapshot-before-repeat'.
1178 * org-exp.el (org-export-as-html): Fully process link descriptions.
1179 (org-export-html-format-desc): New function.
1180 (org-export-as-html): Collect footnotes into the correct basket.
1181 (org-html-protect): No longer protect quotations marks here, this
1184 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
1187 * org-compat.el (org-fit-window-to-buffer): New function (not
1188 really, a preliminary and incomplete version was present earlier,
1191 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
1192 `org-fit-window-to-buffer'.
1194 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
1196 * org-agenda.el (org-agenda-get-restriction-and-command)
1197 (org-fit-agenda-window, org-agenda-convert-date): Use
1198 `org-fit-window-to-buffer'.
1200 * org-exp.el (org-export-as-html): Process href links through
1201 `org-export-html-format-href'.
1202 (org-export-html-format-href): New function.
1204 * org-agenda.el (org-agenda-todo): Update only the current
1205 headline if this is a repeated TODO, marked done for today.
1206 (org-agenda-change-all-lines): New argument JUST-THIS, to change
1207 only the current line.
1209 * org.el (org-todo): Take a snapshot of the headline if the
1210 repeater might change it.
1212 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
1214 * org-publish.el (org-publish-find-title): Remove buffers visited
1215 only for extracting the title.
1217 * org-exp.el (org-export-html-style)
1218 (org-export-html-style-default): Mark style definitions as
1221 * org-publish.el (org-publish-validate-link): Function
1224 2008-11-12 Charles Sebold <csebold@gmail.com>
1226 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
1228 (org-plot-quote-timestamp-field): New function.
1229 (org-plot-quote-tsv-field): Call timestamp field function when
1230 necessary rather than just quoting as a string.
1231 (org-plot/gnuplot-to-data): Pass in timefmt property.
1232 (org-plot/gnuplot-script): Supports timefmt property.
1233 (org-plot/gnuplot): Checks for timestamp column before checking
1234 for text index column.
1236 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
1238 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
1240 * org-publish.el (org-publish-org-index): Create a section in the
1242 (org-publish-org-index): Stop linking to directories.
1244 * org.el (org-emphasis-alist): Use span instead of <u> to
1247 * org-exp.el (org-export-as-html): Make sure <p> is closed before
1250 2008-11-12 Sebastian Rose <sebastian_rose@gmx.de>
1252 * org-jsinfo.el (org-infojs-template): Remove language attribute
1255 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
1257 * org-agenda.el (org-agenda-remove-marked-text): New function.
1258 (org-agenda-mark-filtered-text)
1259 (org-agenda-unmark-filtered-text): New functions.
1260 (org-write-agenda): Remove fltered text.
1262 * org.el (org-make-tags-matcher): Give access to TODO "property"
1263 without speed penalty.
1265 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
1267 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
1269 (org-store-link-props): Make sure adding to the plist works
1272 * org-gnus.el (org-gnus-no-new-news): New function.
1273 (org-gnus-follow-link): Allow the article ID to be a message-id,
1274 in addition to allowing article numbers. Message IDs make much
1276 (org-gnus-store-link): Use message-id to create link.
1278 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
1280 * org.el (org-emphasize): Reverse the selection array.
1281 (org-emphasis-alist): Set <code> tags for the verbatim
1284 * org-remember.el (org-remember-handler): Fix bug with
1285 prefix-related changing of the note storage target.
1287 * org-exp.el (org-print-icalendar-entries): Make the exported
1288 priorities compatible with RFC 2445.
1290 * org-clock.el (org-clock-save): Insert time stamp without
1291 dependence on time-stamp.el.
1293 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
1295 * org.el ("saveplace"): If saveplace puts point into an invisible
1296 location, make it visible.
1297 (org-make-tags-matcher): Allow inactive time stamps in time
1299 (org-yank-adjusted-subtrees): New option.
1300 (org-yank): Incorporate adjusting trees.
1301 (org-paste-subtree): New argument FOR-YANK which will cause
1302 insertion at point without backing up over white lines, and leave
1303 point at the end of the inserted text. Also if the cursor is
1304 at the beginning of a headline, use the same level or the inserted
1307 * org-publish.el (org-publish-get-base-files-1): Deal correctly
1308 with broken symlinks
1310 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
1312 * org-exp.el (org-export-select-tags, org-get-current-options):
1315 2008-11-06 Glenn Morris <rgm@gnu.org>
1317 * org-publish.el (org-publish-attachment): Use copy-file rather than
1320 2008-11-04 Juanma Barranquero <lekktu@gmail.com>
1322 * org.el (org-columns-modify-value-for-display-function):
1323 * org-table.el (org-table-convert-region): Fix typos in docstrings.
1325 2008-10-28 Glenn Morris <rgm@gnu.org>
1327 * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
1329 * org-list.el (outline-next-heading, outline-back-to-heading):
1332 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
1334 * org-agenda.el (org-format-agenda-item)
1335 (org-agenda-filter-make-matcher): Make sure tags are stored and
1338 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
1340 * org.el (org-insert-todo-heading): Fix bug with force-heading
1343 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
1345 * org-exp.el (org-export-as-ascii): Handle the case that we are
1346 bulishing from an indirect buffer.
1348 * org-table.el (org-table-copy-down): Fix bug with time stamp
1351 * org-mouse.el (org-mouse-features): New option.
1352 (org-mode-hook): Turn on features depending on
1353 `org-mouse-features'.
1355 * org.el (org-insert-heading-respect-content): Force heading
1357 (org-insert-heading): keep the folding state of the heading before
1360 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
1362 * org-archive.el (org-archive-to-archive-sibling): Handle top
1363 level headlines better.
1365 2008-10-26 Bastien Guerry <bzg@altern.org>
1367 * org-export-latex.el (org-export-latex-classes): Added
1368 \usepackage{graphicx} to the default list of packages.
1370 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
1372 * org-agenda.el (org-agenda-filter): Renamed from
1373 `org-agenda-filter-tags'.
1375 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
1377 * org.el (org-entry-properties): Add CATEGORY property, iven if it
1378 is not defined as a property in this entry.
1379 (org-add-log-note): Mask prefix argument when immediately storing
1382 * org-agenda.el (org-agenda-filter-effort-default-operator): New
1385 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
1387 * org.el (org-add-log-setup): Bugfix; code to find insertion point
1388 after drawers was skipping ahead one line too many, so notes were
1389 inserted after the first note instead of before it.
1391 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
1393 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
1395 (org-prepare-agenda): Reset the filter tags.
1396 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
1397 Show filter tags in mode line.
1399 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
1402 * org-export-latex.el (org-latex-entities-regexp): New constant.
1403 (org-export-as-pdf): Use two calls to `shell-command'.
1405 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
1407 * org-export-latex.el (org-export-latex-treat-sub-super-char):
1408 Honor the {} value of the subsuperscript setting. Make sure that
1409 longer subsuperscripts are typeset in a roman font.
1411 * org.el (org-clock-update-time-maybe): Compute negative clock
1412 intervals correctly.
1414 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
1416 * org.el (org-add-log-setup): Respect
1417 `org-log-state-notes-insert-after-drawers'.
1418 (org-log-state-notes-insert-after-drawers): New option.
1419 (org-todo-trigger-tag-changes): New function.
1420 (org-todo): Call `org-todo-trigger-tag-changes'.
1422 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
1424 * org.el (org-add-log-setup): Only skip drawers if the are
1425 immediately after the scheduling keywords.
1427 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
1429 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
1430 call it with the current todo state to get the state to switch to
1432 (org-clock-in): Use org-indent-line-function to indent clock lines.
1433 (org-clock-find-position): Fix indentation of empty clock drawers.
1435 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
1437 * org-publish.el (org-publish-org-to): Handle case when
1438 org-export-to-pdf does return a file name, not a buffer.
1439 (org-publish-org-to-pdf): New function.
1441 * org-export-latex.el (org-export-as-pdf)
1442 (org-export-as-pdf-and-open): New commands.
1444 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
1447 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
1448 things in protexted regions.
1450 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
1452 * org-export-latex.el (org-export-latex-preprocess): Improve
1453 quoting of LaTeX environments.
1455 2008-10-19 Eli Zaretskii <eliz@gnu.org>
1457 * org.el (org-default-notes-file):
1458 * org-publish.el (org-publish-timestamp-directory):
1459 * org-id.el (org-id-locations-file): Run file names that begin
1460 with a period thru `convert-standard-filename'.
1462 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
1464 * org-plot.el: Switch coding system to unix.
1466 2008-10-12 Carsten Dominik <carsten.dominik@gmail.com>
1468 * org.el (org-edit-fixed-width-region): Exclude final newline from
1471 * org-export-latex.el (org-export-latex-subcontent): Add labels to
1472 sections, to make internal links work.
1473 (org-export-latex-fontify-headline): Do not remove all text
1474 properties, to make sure that target properties survive this
1477 * org-exp.el (org-export-preprocess-string): Change sequence of
1478 modifications, to make sure links are prepared before the LaTeX
1479 conversions do happen.
1481 * org-attach.el (org-attach-delete-all): Renamed from
1482 `org-attch-delete'. Add a security query before deleting the
1483 entire directory. New optional argument FORCE can overrule the
1485 (org-attach-delete-one): New command.
1487 * org-attach.el (org-attach-file-list): Fix bug with directory.
1489 * org.el (org-apps-regexp-alist): New function.
1490 (org-file-apps): Add auto-mode to the default value.
1491 (org-open-file): Use the new structure of org-file-apps.
1493 * org-attach.el (org-attach): Support the new keys.
1494 (org-attach-method): New option.
1496 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
1499 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
1500 of the list value o `org-use-tag-inheritance'.
1502 * org-attach.el (org-attach-auto-tag): New option.
1503 (org-attach-tag, org-attach-untag): New functions.
1504 (org-attach-attach, org-attach-new, org-attach-sync): Call
1506 (org-attach-delete): Call `org-attach-untag'.
1508 * org-attach.el: New file.
1510 * org-table.el (orgtbl-self-insert-command): Make this work for
1513 * org.el (org-add-log-setup): Limit searc for drawers to entry
1514 text, not to subtree.
1516 * org-clock.el (org-clock-heading-for-remember): New variable.
1517 (org-clock-in): Set `org-clock-heading-for-remember'.
1519 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
1521 * org-remember.el (org-remember-apply-template): Add new
1522 expansions: %k, %K for currently clocked task and a link to the
1523 currently clocked task, and %< to file notes in the currently
1526 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
1528 * org-export-latex.el (org-export-latex-make-header): Also insert
1529 the content of the property :latex-header-extra.
1531 * org-exp.el (org-infile-export-plist): Put the content of
1532 #+LATEX_HEADER: into the property :latex-header-extra.
1534 * org-colview.el (org-columns-get-format-and-top-level): Remove
1535 resetting the marker.
1537 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
1538 Remove resetting the marker.
1540 * org.el (org-entry-property-inherited-from): Improve docstring.
1541 (org-entry-get-with-inheritance): Reset marker before starting the
1544 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
1546 * org.el (org-entry-get-multivalued-property)
1547 (org-entry-protect-space, org-entry-restore-space): New
1549 (org-file-apps-defaults-macosx): Let postscript files be opened by
1551 (org-time-stamp-inactive): Call `org-time-stamp'.
1552 (org-time-stamp): New argument `inactive'. Also edit inacive
1553 stamps. Convert time stamp type.
1554 (org-open-file): Interpret the `default' value for the `command'
1557 * org-id.el (org-id-int-to-b36-one-digit)
1558 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
1559 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
1562 * org-id.el (org-id-reverse-string): New function.
1563 (org-id-new): Use `org-id-reverse-string' to make sure the
1564 beginning chars of the ID are mutating fast. This allows to use a
1565 directory structure to spread things better.
1566 (org-id-prefix): Changed default to nil.
1568 * org-list.el (org-move-item-down, org-move-item-up): Remember and
1569 restore the column of the cursor position.
1571 * org-remember.el (org-remember-apply-template): Remove properties
1574 * org-wl.el (org-wl-open): Remove useless call to
1575 `wl-thread-open-all'.
1577 * org-remember.el (org-remember-handler): Fix bug with `bottom'
1580 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
1581 `org-bbdb-anniversaries'.
1583 * org.el (org-get-next-sibling, org-forward-same-level): New
1584 functions, similar to the outline versions, but invisible headings
1587 2008-10-12 Bastien Guerry <bzg@altern.org>
1589 * org.el (org-auto-repeat-maybe): Insert a space between
1590 the timestamp's type and the timestamp itself.
1592 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
1594 * org-table.el (org-table-sum): Do not format the result with %g,
1595 it does rounding when there are too many digits.
1597 * org.el (org-map-entries): Protect the keyword-selecting variables.
1599 2008-10-12 Bastien Guerry <bzg@altern.org>
1601 * org-agenda.el (org-agenda-to-appt): Make sure the function check
1602 against all agenda files.
1604 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
1606 * org-list.el: New file, aggregating list functions from org.el
1607 and org-export-latex.el.
1609 * org.el (org-edit-src-region-extra): New option.
1611 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
1614 2008-10-12 Bastien Guerry <bzg@altern.org>
1616 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
1618 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
1620 * org-plot.el (org-plot/gnuplot): Make tables starting with a
1621 hline work correctly.
1622 (org-plot/gnuplot-script): Put commas at the end of each script
1625 * org.el (org-get-refile-targets): Replace links with their
1627 (org-imenu-get-tree): Replace links with their descriptions.
1629 * org-remember.el (org-remember-apply-template): Add a new
1630 expansion for adding properties to remember items.
1632 * org.el (org-add-log-setup): Skip over drawers (properties,
1633 clocks etc) when adding notes.
1635 * org-agenda.el (org-agenda-get-closed): show durations of clocked
1636 items as well as the start and end times.
1638 * org-compat.el (org-get-x-clipboard-compat): Add a compat
1639 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
1641 * org-remember.el (org-get-x-clipboard): Use the compat
1642 function to get clipboard values when x-selection-value is
1643 unavailable. Use substring-no-properties instead of
1644 set-text-properties to remove text properties from the clipboard
1647 * lisp/org-clock.el (org-update-mode-line): Support limiting the
1648 modeline clock string, and display the full todo value in the
1649 tooltip. Set a local keymap so mouse-3 on the clock string goes to
1650 the currently clocked task.
1651 (org-clock-string-limit): Add a custom value for the maximum
1652 length of the clock string in the modeline.
1653 (org-clock-mode-map): Add a keymap for the modeline string
1655 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
1657 * org-compat.el (org-propertize): New function.
1659 2008-10-12 Bastien Guerry <bzg@altern.org>
1661 * org-export-latex.el (org-export-latex-tables): protect exported
1662 tables from further special chars conversion.
1663 (org-export-latex-preprocess): Preserve LaTeX environments.
1664 (org-list-parse-list): Parse descriptive lists.
1665 (org-list-to-generic, org-list-to-latex, org-list-to-html)
1666 (org-list-to-texinfo): Export descriptive lists.
1667 (org-quote-chars): Remove.
1668 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
1669 (org-export-latex-list-beginning-re): Rename to
1670 `org-list-beginning-re'
1671 (org-list-item-begin): Rename to `org-list-item-beginning'
1673 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
1675 * org.el (org-refile): Allow refiling to the last entry in the
1677 (org-get-tags-at): Fix bug when inheritance is turned off.
1679 * org.el (org-indent-line-function): No longer check for src
1680 regions, this is too much overhead.
1682 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
1685 * org.el (org-scan-tags): Make sure that tags matching is not case
1686 sensitive. TODO keyword matching is case sensitive, however, to
1687 avoid confusion with similar words that are not meant to be
1690 * org.el (org-get-local-tags-at): New function.
1691 (org-get-local-tags): New function.
1693 * org-exp.el (org-export-get-categories): New function.
1695 * org-agenda.el (org-sorting-choice)
1696 (org-agenda-sorting-strategy, org-agenda-get-todos)
1697 (org-agenda-get-timestamps, org-agenda-get-deadlines)
1698 (org-agenda-get-scheduled, org-agenda-get-blocks)
1699 (org-entries-lessp): Implement sorting by TODO state.
1700 (org-cmp-todo-state): New defsubst.
1702 * org-colview.el (org-colview-construct-allowed-dates): New
1704 (org-columns-next-allowed-value): Use
1705 `org-colview-construct-allowed-dates'.
1707 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
1709 (org-columns-next-allowed-value): Use
1710 `org-colview-construct-allowed-dates'.
1712 * org.el (org-protect-slash): New function.
1713 (org-get-refile-targets): Use `org-protect-slash'.
1715 * org-agenda.el (org-global-tags-completion-table): New variable.
1717 * org-exp.el (org-export-handle-export-tags): New function.
1718 (org-export-preprocess-string): Call
1719 `org-export-handle-export-tags'.
1721 * org-plot.el: New file.
1723 * org-publish.el (org-publish-expand-components): Function removed.
1724 (org-publish-expand-projects): Allow components to have components.
1726 * org.el (org-indent-line-function): Do not indent in regions that
1727 are external source code.
1728 (org-yank-and-fold-if-subtree): New function.
1730 * org-agenda.el (org-agenda-todayp): New function.
1731 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
1732 `org-agenda-todayp'.
1734 * org.el (org-insert-heading-respect-content)
1735 (org-insert-todo-heading-respect-content): New commands.
1736 (org-insert-heading-respect-content): New option.
1737 (org-insert-heading): Respect `org-insert-heading-respect-content'.
1739 * org-clock.el (org-clock-find-position): Make sure the note after
1740 the clock line gets moved into the new clock drawer.
1742 * org-id.el (org-id-new): New option.
1744 * org-table.el (org-table-copy-down): Avoid overflow during
1745 increment. Use prefix argument 0 to temporarily disable the
1748 * org-exp.el (org-export-as-html): Do not turn on the major mode
1749 if the buffer will be killed anyway.
1750 (org-get-current-options): Exclude the #+TEXT field.
1751 (org-export-as-html): Make sure text before the first headline is
1754 * org-publish.el (org-publish-org-to): Tell the exporter that this
1755 buffer will be killed, so it is not necessary to do major mode
1758 * org-archive.el (org-archive-to-archive-sibling): Show empty
1759 lines after folding the archive sibling.
1761 * org.el (org-log-note-extra): New variable.
1763 2008-10-12 Bastien Guerry <bzg@altern.org>
1765 * org.el (org-additional-option-like-keywords): Added keywords for
1766 the _QUOTE, _VERSE and _SRC environments.
1768 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
1769 exporting _QUOTE and _VERSE environments.
1771 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
1773 * org-agenda.el (org-agenda-filter-by-tag): New command.
1775 * org-exp.el (org-get-current-options): Remove angular brackets
1776 from the date entry.
1778 * org.el (org-edit-fixed-width-region): New function.
1779 (org-edit-fixed-width-region): Also try
1780 `org-edit-fixed-width-region'.
1781 (org-edit-fixed-width-region-mode): New option.
1782 (org-activate-code): Only interprete lines starting with colon
1783 plus a space as example lines.
1785 * org-remember.el (org-remember-templates): Add nil instead of
1786 empty strings to fix the length of remember templates.
1788 * org-table.el (org-calc-default-modes): Fix the time format for
1789 calc, from 12 hour to 24 hour clock.
1791 * org-agenda.el (org-agenda-get-deadlines)
1792 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
1793 entries that are pre-warnings of deadlines or reminders.
1795 * org.el (org-sort-entries-or-items): Make numeric and alpha
1796 comparisons ignore any TODO keyword and priority cookie.
1798 * org-remember.el (org-remember-handler): Reinterpretation of the
1801 * org-agenda.el (org-agenda-get-scheduled): Use new
1802 `org-scheduled' face.
1804 * org-faces.el (org-scheduled): New face.
1806 * org-wl.el (org-wl-open): Remove incorrect declaration.
1808 * org-gnus.el (org-gnus-store-link): Support for :to information
1811 * org-exp.el (org-export-as-html): Fixed typo in creator
1813 (org-export-protect-examples): New parameter indent. Insert extra
1814 spaces only when this parameter is specified.
1815 (org-export-preprocess-string): Call `org-export-protect-examples'
1816 with an indentation parameter when exporting to ASCII.
1818 * org-remember.el (org-remember-templates)
1819 (org-remember-apply-template): Allow the file component to be a
1822 * org.el (org-goto-local-search-headings): Renamed from
1823 `org-goto-local-search-forward-headings'. Added the possibility
1824 to search backwards.
1826 * org-export-latex.el (org-export-latex): New customization
1829 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
1831 * org-exp.el (org-html-do-expand): Allow {} to terminate
1834 * org.el (org-buffer-list): Select buffers based on major mode,
1837 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
1840 * org-colview.el (org-columns-display-here): Use
1841 `org-columns-modify-value-for-display-function'.
1843 * org-colview-xemacs.el (org-columns-display-here): Use
1844 `org-columns-modify-value-for-display-function'.
1846 * org.el (org-columns-modify-value-for-display-function): New option.
1849 * org-publish.el (org-publish-file): Make sure the directory match
1850 for the publishing directory works correctly.
1852 * org-agenda.el (org-agenda-execute-calendar-command)
1853 (org-agenda-diary-entry): Additional optional argument.
1855 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
1857 * org-exp.el (org-export-as-html): Add attributes also in mailto
1860 * org.el (org-autoload): Add `org-dblock-write:columnview'.
1863 2008-08-11 Glenn Morris <rgm@gnu.org>
1865 * org-mac-message.el (do-applescript): Fix declaration.
1867 2008-08-10 Glenn Morris <rgm@gnu.org>
1869 * org-exp.el (org-export-as-html): Let-bind `i'.
1871 * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
1872 (org-extract-attributes): Let-bind `key', `value'.
1873 (org-make-tags-matcher): Let-bind `time-p'.
1875 2008-07-27 Carsten Dominik <dominik@science.uva.nl>
1877 * org-install.el: New file.
1879 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
1881 * org-exp.el (org-export-html-style)
1882 (org-export-html-style-extra): Declare as safe-local-variable.
1884 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
1886 * org-publish.el (org-publish-file): Use the true name of the
1889 * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
1892 * org-exp.el (org-export-plist-vars)
1893 (org-export-add-options-to-plist): Handle creator setting flag.
1894 (org-export-as-html): Handle attributes also for ftp and mailto
1897 * org-agenda.el (org-agenda-diary-entry)
1898 (org-agenda-execute-calendar-command): Cater for the second
1899 argument of `calendar-cursor-to-date'.
1901 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
1903 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
1904 sure that calls from `org-export-region-as-html' do not do the
1905 special check for a subtree.
1907 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
1909 * org.el (org-open-file): Use
1910 `org-open-directory-means-index-dot-org'.
1911 (org-open-directory-means-index-dot-org): New option.
1913 * org.el (org-make-link-string): Remove link attributes from
1915 (org-open-at-point): Remove link attributes before using the path.
1917 * org-exp.el (org-export-as-html): Handle link attributes.
1919 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
1921 * org-table.el (org-table-to-lisp): New function.
1923 * org.el (org-narrow-to-subtree): Do not include the final newline
1924 into the narrowed region.
1926 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
1927 bug with user-define skipping condition.
1929 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
1931 * org-exp.el (org-export-html-style-default): Automatic overflow
1932 handling for pre fields.
1933 (org-export-as-ascii, org-export-as-html): Change default format
1936 * org-table.el (org-table-export): Offer completion for translator
1937 functions, and do not require a heading above the table.
1939 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
1940 Cater for the case of a list starting in the first line of the
1943 * org-publish.el (org-publish-find-title): Bug fix.
1944 (org-publish-org-index): Implement new :index-style option.
1946 * org-publish.el (org-publish-timestamp-filename): Use
1947 SHA1-encoded file names in the timestamp directory.
1949 * org-publish.el (org-publish-needed-p): Be verbose about files
1950 published and files skipped.
1952 * org-exp.el (org-export-preprocess-string): Swap link
1953 normalization and internal link targeting.
1955 * org-publish.el (org-publish-needed-p): Create timestamp
1956 directory when it does not exist.
1958 * org-clock.el (org-clock-out-when-done): Doc fix.
1960 * org.el (org-agenda-skip-unavailable-files): Doc fix.
1962 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
1963 Ignore case when searching for the COMMENT cookie at export time.
1965 * org-exp.el (org-get-file-contents)
1966 (org-get-and-remove-property): New functions.
1967 (org-export-handle-include-files): Handle the new prefix options.
1968 (org-export-as-html): Fix the verse environment.
1970 * org.el (org-time=, org-time<, org-time<=, org-time>)
1971 (org-time>=, org-time<>, org-2ft): New functions.
1972 (org-op-to-function): Also provide for the time testing functions.
1974 * org-exp.el (org-export-html-style-default): New constant.
1976 * org-exp.el (org-export-html-style-extra): New variable.
1977 (org-export-splice-style): New function.
1979 * org-exp.el (org-export-plist-vars, org-export-as-html):
1980 Implement `org-export-creator-info'.
1981 (org-export-creator-info): New option.
1983 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
1984 (org-property-drawer-re, org-clock-drawer-re): New constants.
1986 * org-exp.el (org-icalendar-use-deadline)
1987 (org-icalendar-use-scheduled): New options.
1988 (org-icalendar-include-todo): Default changed to t.
1989 (org-print-icalendar-entries): Implement better utilization of
1990 scheduling and deadline time stamps.
1991 (org-export-target-internal-links, org-export-as-html): Allow file
1992 lines without the "file:" prefix if the file path is an absolute
1993 path or starts with ".".
1995 * org-clock.el (org-clocktable-shift): Also understand yesterday,
1997 (org-clock-special-range): Also understand yesterday, lastweek etc.
1999 * org.el (org-agenda-skip-archived-trees): Docstring now
2000 discourages using this.
2001 (org-scan-tags): Check for org-agenda-archives-mode.
2002 (org-map-entries): Make sure org-agenda-archives-mode is nil.
2003 (org-agenda-files): Functionality of second arg changed.
2005 * org-agenda.el (org-agenda-archives-mode): New variable
2006 (org-write-agenda, org-prepare-agenda, org-agenda-list)
2007 (org-search-view, org-todo-list, org-tags-view)
2008 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
2010 (org-agenda-quit): Reset the archives mode.
2011 (org-agenda-archives-mode): New command.
2012 (org-agenda-set-mode-name): Include archives info.
2014 * org.el (org-paste-subtree): Make sure the yanked headline is
2015 visible if it was yanked at a visible point.
2016 (org-move-item-up): Fix the bug with moving white space at the end
2018 (org-show-empty-lines-in-parent): New function.
2020 2008-07-19 Juri Linkov <juri@jurta.org>
2022 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
2023 new keymap `narrow-map' instead of binding "\C-xns".
2025 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
2027 * org.el (org-agenda-skip-unavailable-files):
2028 * org-clock.el (org-clock-out-when-done): Doc fixes.
2030 2008-06-18 Glenn Morris <rgm@gnu.org>
2032 * org.el (org-map-entries): Let-bind `file'.
2034 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2036 * org-colview.el (org-columns-next-allowed-value): Bug fix.
2038 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
2040 * org-agenda.el (org-agenda-get-closed): Get the end time into the
2041 agenda prefix as well.
2043 * org-publish.el (org-publish-org-index): Make a properly indented
2046 * org.el (org-calendar-agenda-action-key): New option.
2047 (org-get-cursor-date): New function.
2048 (org-mark-entry-for-agenda-action): New command.
2049 (org-overriding-default-time): New variable.
2050 (org-read-date): Respect `org-overriding-default-time'.
2052 * org-remember.el (org-remember-apply-template): Respect the
2053 overriding default time.
2055 * org-agenda.el (org-agenda-action-marker): New variable.
2056 (org-agenda-action): New command.
2057 (org-agenda-do-action): New function.
2059 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2061 * org.el (org-schedule, org-deadline): Protect scheduled and
2062 deadline tasks against changes that accidently remove the
2063 repeater. Also show a message with the new date when done.
2065 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2067 * org.el (org-beginning-of-line): Cater for the case when there
2068 are tags but no headline text.
2069 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
2072 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2074 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
2075 the return value is nil instead of "nil" when there is no match.
2077 * org-exp.el (org-insert-centered): Use fill-column instead of
2079 (org-export-as-ascii): Use string-width to measure the width of
2082 * org.el (org-diary-to-ical-string): No longer kill buffer
2083 FROMBUF, this is now done by the caller.
2085 * org-exp.el (org-print-icalendar-entries): Move the call to
2086 `org-diary-to-ical-string' out of the loop, and kill the buffer
2089 * org-remember.el (org-remember-visit-immediately): Position
2090 cursor after moving to the note.
2091 (org-remember-apply-template): Use a text property to record the
2093 (org-remember-handler): Align tags after pasting the note.
2095 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2097 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
2099 * org-agenda.el (org-agenda-open-link): If there is an
2100 org-bbdb-name property in the current line, jump to that bbdb
2103 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
2104 text property, so that the agenda knows where this entry comes
2107 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
2108 interaction between clocking-in from the agenda, and automatic
2109 task state switching.
2111 * org-macs.el (org-with-point-at): Bug fix in macro definition.
2113 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
2114 zmacs-region stays after this command in XEmacs.
2116 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2118 * org.el (org-scan-tags): Allow new values for ACTION parameter.
2120 * org-remember.el (org-remember-templates): Fix bug in
2121 customization type definition.
2123 * org.el (org-map-entries): New function.
2125 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2127 * org-agenda.el (org-agenda-skip-comment-trees): New option.
2128 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
2130 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2132 * org-remember.el (org-jump-to-target-location): New variable.
2133 (org-remember-apply-template): Set
2134 `org-remember-apply-template' if requested by template.
2135 (org-remember-handler): Start an idle timer to jump to
2138 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
2140 * org.el (org-set-regexps-and-options): Fix bug with parsing of
2142 (org-get-tags-at): Add the content of `org-file-tags'.
2144 * org-exp.el (org-export-handle-comments): Fix bug with several
2145 comment lines after each other.
2146 (org-number-to-roman, org-number-to-counter): New functions.
2147 (org-export-section-number-format): New option.
2149 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2151 * org-exp.el (org-export-protect-examples): Catch the case of a
2152 missing end_example line.
2154 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
2155 `org-file-tags' to nil.
2157 * org-colview.el (org-columns-next-allowed-value): Handle next
2158 argument NTH to directly select a value.
2160 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
2161 argument NTH to directly select a value.
2163 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2165 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
2167 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2169 * org.el (org-columns-ellipses): New option.
2171 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2173 * org-colview.el (org-columns-add-ellipses): New function.
2174 (org-columns-compact-links): New function.
2175 (org-columns-cleanup-item): Call `org-columns-compact-links'.
2176 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
2178 (org-columns-edit-value): Fixed bug with editing values from
2180 (org-columns-redo): Also redo the agenda itself.
2182 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2184 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
2187 * org-colview.el (org-agenda-columns-cleanup-item): New function.
2189 * org-exp.el (org-export-ascii-preprocess): Renamed from
2190 `org-export-ascii-clean-string'.
2191 (org-export-kill-licensed-text)
2192 (org-export-define-heading-targets)
2193 (org-export-handle-invisible-targets)
2194 (org-export-target-internal-links)
2195 (org-export-remove-or-extract-drawers)
2196 (org-export-remove-archived-trees)
2197 (org-export-protect-quoted-subtrees)
2198 (org-export-protect-verbatim, org-export-protect-examples)
2199 (org-export-select-backend-specific-text)
2200 (org-export-mark-blockquote-and-verse)
2201 (org-export-remove-comment-blocks-and-subtrees)
2202 (org-export-handle-comments, org-export-mark-radio-links)
2203 (org-export-remove-special-table-lines)
2204 (org-export-normalize-links)
2205 (org-export-concatenate-multiline-links)
2206 (org-export-concatenate-multiline-emphasis): New functions,
2207 obtained from spliting the export preprocessor.
2209 * org-table.el (org-table-recalculate): Improve error message if
2210 the row number is invalid.
2212 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2214 * org-archive.el (org-archive-save-context-info): Fix bugs in
2215 customization setup and docstring.
2217 * org-exp.el (org-export-html-style): Changed the size of in the
2218 <pre> element to 90%.
2220 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2222 * org.el (org-find-src-example-start): Function removed.
2223 (org-edit-src-find-region-and-lang): New function.
2225 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2227 * org.el (org-edit-src-exit): New function.
2228 (org-exit-edit-mode): New minor mode.
2230 * org-exp.el (org-export-preprocess-string): Fix bug with removing
2231 comment-like lines from protected examples.
2233 * org.el (org-edit-src-example, org-find-src-example-start)
2234 (org-protect-source-example, org-edit-special): New functions.
2236 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2238 * org-publish.el (org-publish-project-alist): Fix typo in
2240 (org-publish-project-alist): Handle :index-title property.
2242 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2244 * org-export-latex.el (org-export-as-latex): Make sure region
2245 bounds are correct. Parse subtree properties relating to export.
2247 * org-exp.el (org-export-add-options-to-plist): New function.
2248 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
2250 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2252 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
2255 * org-exp.el (org-export-get-title-from-subtree)
2256 (org-export-as-ascii, org-export-as-html): Make sure the original
2257 region-beginning and region-end are used, even after moving
2259 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
2262 * org-remember.el (org-remember-last-stored-marker): New variable.
2263 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
2264 (org-remember-handler): Also use marker to remember
2265 last-stored position.
2267 * org.el (org-goto-marker-or-bmk): New function.
2269 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2271 * org.el (org-file-properties): Renamed from `org-local-properties'.
2272 (org-scan-tags): Take file tags into account.
2273 (org-tags-match-list-sublevels): Default changed to t.
2275 * org-exp.el (org-export-as-html): Close paragraph after a
2278 * org.el (org-update-parent-todo-statistics): New function.
2280 * org-exp.el (org-icalendar-store-UID): New option.
2281 (org-icalendar-force-UID): Option removed.
2282 (org-print-icalendar-entries): IMplement UIDs.
2284 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2286 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
2288 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2290 * org-faces.el (org-column): Document how this face is being used
2291 and why sometimes the background faces shine through.
2293 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
2295 * org-publish.el (org-publish-attachment): Create publishing
2296 directory if it does not yet exist.
2298 * org-table.el (org-calc-default-modes): Change default number
2299 format to (float 8).
2301 * org.el (org-olpath-completing-read): New function.
2302 (org-time-clocksum-format): New option.
2303 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
2305 * org-clock.el (org-clock-display, org-clock-out)
2306 (org-update-mode-line): Use `org-time-clocksum-format'.
2308 * org-colview-xemacs.el (org-columns-number-to-string): Use
2309 `org-time-clocksum-format'.
2311 * org-colview.el (org-columns-number-to-string): Use
2312 `org-time-clocksum-format'.
2314 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2316 * org-id.el: New file, move from contrib to core.
2318 * org-exp.el (org-icalendar-force-UID): New option.
2320 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2322 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
2323 shifted by one day if there is a date range without an end
2326 * org.el (org-try-structure-completion): New function.
2328 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2330 * org.el (org-set-font-lock-defaults): Improve fontification of
2332 (org-insert-item): Handle description lists.
2333 (org-adaptive-fill-function): Improve auto indentation in
2336 * org-exp.el (org-export-as-html, org-export-preprocess-string):
2337 Implement VERSE environment.
2338 (org-export-preprocess-string): Implement the COMMENT
2341 * org-export-latex.el (org-export-latex-preprocess): Implement
2344 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2346 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
2349 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2351 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
2353 * org.el (org-quote-csv-field): New functions.
2355 * org-table.el (org-table-export-default-format): Remove :splice
2356 from default format, we get the same effect by not specifying
2358 (org-table-export): Improve setup, distinguish better between
2359 interactive and non-interactive use, allow specifying the format
2360 on the fly, better protection against wrong file names.
2361 (orgtbl-to-generic): Fix documentation. Do not require :tstart
2362 and :tend when :splice is omitted.
2364 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2366 * org-clock.el (org-clock-select-task): Make sure the selection
2367 letters are 1-9 and A-Z, no special characters.
2369 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2371 * org-exp.el (org-export-htmlize): New group.
2372 (org-export-htmlize-output-type)
2373 (org-export-htmlize-css-font-prefix): New options.
2374 (org-export-htmlize-region-for-paste): New function.
2375 (org-export-htmlize-generate-css): New command.
2377 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2379 * org.el (org-set-visibility-according-to-property): New function.
2380 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
2381 and compute the regular expressions, and update font-lock.
2382 (org-property-re): Allow a dash in property names.
2384 * org-archive.el (org-extract-archive-file): Insert the file name
2385 without the path into the format, to allow the location format to
2386 contain a subdirectory.
2388 * org-agenda.el (org-agenda-post-command-hook): If point is at end
2389 of buffer, and the `org-agenda-type' property undefined, use the
2390 value from the character before.
2392 * org.el (org-add-planning-info): Don't let indentation for
2393 would-be timestamp become extra whitespace at the end of headline.
2395 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2397 * org.el (org-remove-double-quotes, org-file-contents): New
2400 * org-exp.el (org-infile-export-plist): Also parse the
2401 contents of #+SETUPFILE files, recursively.
2403 * org.el (org-set-regexps-and-options): Also parse the
2404 contents of #+SETUPFILE files, recursively.
2406 * org-exp.el (org-export-handle-include-files): New function.
2407 (org-export-preprocess-string): Call
2408 `org-export-handle-include-files'.
2410 * org.el (org-delete-property-globally)
2411 (org-delete-property, org-set-property): Ignore case during
2413 (org-set-property): Use `org-completing-read' instead of
2416 * org.el (org-complete-expand-structure-template): New,
2417 experimental function.
2418 (org-structure-template-alist): New, experimental option.
2419 (org-complete): Call `org-complete-expand-structure-template'.
2421 2008-06-17 Bastien Guerry <bzg@altern.org>
2423 * org-export-latex.el (org-export-latex-preprocess): Added
2424 support for blockquotes.
2426 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2428 * org.el (org-read-date-analyze): Catch the case where only a
2431 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2433 * org.el (org-set-font-lock-defaults): Make the description
2436 * org-exp.el (org-export-as-html, org-close-li): Implement
2439 2008-06-17 Jason Riedy <jason@acm.org>
2441 * org-table.el (*orgtbl-default-fmt*): New variable.
2442 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
2443 when there is no other fmt available.
2445 (orgtbl-to-generic): Allow an explicitly nil :tstart or
2446 :tend to suppress the appropriate string.
2448 (orgtbl-to-orgtbl): New function for translating to another orgtbl
2451 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2453 * org.el (org-read-date-analyze): "." as an alias for "+0" in
2456 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
2459 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
2462 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2464 * org-clock.el (org-clock-find-position): Don't include notes
2467 * org-archive.el (org-archive-subtree): No longer remove an
2468 extra line after cutting the subtree. `org-cut-subtree' already
2471 * org-remember.el (org-remember-handler): Only kill the target
2472 buffer if it does not contain the running clock.
2474 * org.el (org-markers-to-move): New variable.
2475 (org-save-markers-in-region, org-check-and-save-marker)
2476 (org-reinstall-markers-in-region): New function.
2477 (org-move-subtree-down, org-copy-subtree): Remember relative
2478 marker positions before cutting.
2479 (org-move-subtree-down, org-paste-subtree): Restore relative
2480 marker positions after pasting.
2482 * org-remember.el (org-remember-clock-out-on-exit): New option.
2483 (org-remember-finalize): Clock out only if the setting in
2484 `org-remember-clock-out-on-exit' requires it.
2485 (org-remember-handler): Do the cleanup in the buffer, to make sure
2486 that the clock marker remains in tact.
2488 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2490 * org-clock.el (org-clock-goto): Widen buffer if necessary.
2491 (org-clock-in): Make sure that also tasks outside the narrowed
2492 region will be clocked in correctly.
2493 (org-clock-insert-selection-line): Widen the buffer so that we can
2494 find the correct task heading.
2496 * org.el (org-base-buffer): New function.
2498 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
2499 and ";" are escaped.
2500 (org-print-icalendar-entries): Also apply
2501 `org-icalendar-cleanup-string' to the headline, not only to the
2504 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
2506 * org-exp.el (org-export-preprocess-hook): New hook.
2507 (org-export-preprocess-string): Call
2508 `org-export-preprocess-hook'.
2510 * org.el (org-font-lock-hook): New variable.
2511 (org-font-lock-hook): New function.
2512 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
2516 ;; add-log-time-zone-rule: t
2519 Copyright (C) 2008, 2009 Free Software Foundation, Inc.
2521 This file is part of GNU Emacs.
2523 GNU Emacs is free software: you can redistribute it and/or modify
2524 it under the terms of the GNU General Public License as published by
2525 the Free Software Foundation, either version 3 of the License, or
2526 (at your option) any later version.
2528 GNU Emacs is distributed in the hope that it will be useful,
2529 but WITHOUT ANY WARRANTY; without even the implied warranty of
2530 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2531 GNU General Public License for more details.
2533 You should have received a copy of the GNU General Public License
2534 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
2536 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c