1 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
3 * org-rmail.el (org-rmail-store-link): Protect the call to
4 `rmail-narrow-to-non-pruned-header'.
6 * org-clock.el (org-clock-special-range): Fix week display in
9 * org-exp.el (org-get-current-options): Fix bug when in indirect
12 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
14 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
15 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
16 (org-agenda-dim-blocked-tasks): New function.
18 * org.el (org-enforce-todo-dependencies): New option.
19 (org-block-todo-from-children-or-siblings): New function.
21 * org-faces.el (org-agenda-dimmed-todo-face): New face.
23 * org.el (org-todo): Return correct state type even if the blocker
25 (org-modifier-cursor-error): Renamed from
26 `org-shiftcursor-error'.
27 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
28 (org-shiftmetadown): Call `org-modifier-cursor-error'.
30 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
31 to get real errors from the blocker hook.
33 * org.el (org-shiftselect-error, org-call-for-shift-select): New
35 (org-set-visibility-according-to-property): Turn off the setting
36 of `org-show-entry-below', to avoid overruling a FOLDED visibility
39 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
41 * org.el (org-support-shift-select): New option.
42 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
43 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
44 selection outside contexts.
46 * org-list.el (org-at-item-bullet-p): New function.
48 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
51 * org-footnote.el (org-footnote-normalize): Remove unnecessary
53 (org-insert-footnote-reference-near-definition): Remove
56 * org-export-latex.el (org-export-latex-first-lines): Add
58 (org-export-as-latex): Call `org-export-latex-first-lines' with
60 (org-export-latex-preprocess): Remove unnecessary variables.
62 * org-exp.el (org-infile-export-plist)
63 (org-export-add-options-to-plist, org-export-kill-licensed-text)
64 (org-export-remove-headline-metadata)
65 (org-export-get-title-from-subtree, org-get-min-level)
66 (org-html-do-expand): Remove innecessary let form.
68 * org-colview-xemacs.el (org-columns-display-here): Remove
69 unnecessary variables.
71 * org-colview.el (org-columns-display-here): Remove unnecessary
74 * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
77 * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
78 unnecessary variables.
80 * org-agenda.el (org-search-view, org-agenda-get-blocks)
81 (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
84 * org.el (org-set-emph-re): Clean-up the STACKED stuff.
85 (org-compact-display-after-subtree-move): Remove unnecessary
87 (org-edit-fixed-width-region): Remove unnecessary variables.
88 (org-edit-src-find-region-and-lang): Remove unnecessary variables.
89 (org-olpath-completing-read): Remove unnecessary variable.
90 (org-auto-repeat-maybe): Remove unnecessary variable.
91 (org-map-entries): Remove unnecessary variable.
92 (org-buffer-property-keys, org-imenu-get-tree)
93 (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
95 -----------------------------------------------------------------
97 2009-01-26 Carsten Dominik <carsten.dominik@gmail.com>
98 * org-exp.el (org-export-remove-timestamps): Never remove
99 timestamps from tables.
101 * org-export-latex.el (org-export-latex-first-lines): Add more
102 options to the preprocessing of the text before the first
105 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
107 * org-faces.el (org-clock-overlay): Make face compatible with
110 * org.el (org-yank): Add property for delete-selection mode.
112 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
114 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
117 * org-table.el (org-table-insert-hline): Fix typo in fuction call
120 * org-exp.el (org-export-as-html): Remove the initial space from
123 * org.el (org-scan-tags): Call
124 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
126 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
127 customization groups.
128 (org-agenda-tags-todo-honor-ignore-options): New option.
129 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
131 (org-agenda-get-todos): Use
132 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
134 2009-01-24 Carsten Dominik <carsten.dominik@gmail.com>
136 * org-exp.el (org-export-format-source-code-or-example): Escape
137 HTML characters also in examples that anre not treated with
138 htmlize. Also, just switch to EXAMPLE processing if we do not
139 have a good version of htmlize.
141 * org-rmail.el: Fix copyright notice.
143 * org.el (org-activate-footnote-links): Improve footnote link
146 * org-footnote.el (org-footnote-normalize): Fix finding the end of
147 a footnote definition at the end of the file.
149 * org-table.el (org-table-get-specials): Add an imagined hline at
150 the end of the table. This can be useful for references that want
151 to go to the end of the table. Also fix bug when computing last
152 row constants, in tables that do not start right at the right
154 (org-table-eval-formula): Match and replace remove references.
155 (org-table-formula-substitute-names): Make sure that names inside
156 a "remote" call are left alone, the will be replaced later when
157 the remote call is handled.
158 (org-table-convert-refs-to-rc): Do not convert things that might
159 look like a reference, but are really part of an ID or namei n a
161 (org-table-get-remote-range): New function.
163 2009-01-22 Carsten Dominik <carsten.dominik@gmail.com>
165 * org-faces.el (org-clock-overlay): Fix bug in face definition.
167 * org-clock.el (org-clock-put-overlay): Use new face instead of
168 `secondary-selection'.
170 * org-faces.el (org-clock-overlay): New face.
172 2009-01-21 Carsten Dominik <carsten.dominik@gmail.com>
174 * org-exp.el (org-get-current-options): Include the option for
175 publishing time stamps.
177 * org.el (org-toggle-heading): Renamed from
178 `org-toggel-region-headings'.
179 No longer needs a region defined, but will use it if there is one.
180 (org-ctrl-c-star): Simplified, relying more on the internal
181 workings of `org-toggle-heading'.
182 (org-toggle-item): Renamed from `org-toggle-region-items'.
183 No longer needs a region defined, but will use it if there is one.
184 (org-ctrl-c-minus): Simplified, relying more on the inernal
185 workings of `org-toggle-item'.
187 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
188 environment detection. Also, do real changes only in unprotected
191 2009-01-20 Carsten Dominik <carsten.dominik@gmail.com>
193 * org-export-latex.el (org-export-latex-quotation-marks): Use
194 `org-if-unprotected-1'.
195 (org-export-latex-set-initial-vars): Check for class definition in
198 * org-macs.el (org-if-unprotected-1): New macro.
200 2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
202 * org-compat.el (org-count-lines): New function.
204 * org-exp.el (org-export-format-source-code-or-example): Handle
205 switches related to text areas.
207 * org.el (org-activate-footnote-links): Don't allow match inside a
210 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
212 * org-export-latex.el (org-export-latex-links): Keep a relative
213 path relative also after export.
215 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
217 * org.el (org-make-tags-matcher): Never use IDO for completing the
218 tags matcher match string.
219 (org-completing-read): Also remove the special biding for "?".
221 * org-attach.el (org-attach-allow-inheritance): New option.
222 (org-attach-inherited): New variable.
223 (org-attach-dir): Handle properties related to the attachment
225 (org-attach-check-absolute-path): New function.
226 (org-attach-set-directory, org-attach-set-inherit): New commands.
227 (org-attach): Accommodate the new commands in the dispatcher.
229 2009-01-18 Carsten Dominik <carsten.dominik@gmail.com>
231 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
232 `window-full-width-p'.
234 * org-exp.el (org-export-as-html): Only check for images files
235 that really can be inlined
237 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
238 list of extensions to be a parameter.
240 * org-exp.el (org-export-html-inline-image-extensions): New
243 * org-agenda.el (org-prepare-agenda): Use
244 `org-agenda-block-separator'.
245 (org-agenda-block-separator): New option.
247 2009-01-17 Carsten Dominik <carsten.dominik@gmail.com>
249 * org-export-latex.el (org-export-latex-tables): Call
250 `org-table-clean-before-export' with the new optional argument.
252 * org-exp.el (org-table-clean-before-export): New optional
253 parameter MAYBE-QUOTED, allows for quoted characters like \# in
256 2009-01-16 Carsten Dominik <carsten.dominik@gmail.com>
258 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
261 * org-colview.el (org-colview-construct-allowed-dates): Better
262 error catching when a date/time property does not have allowed
265 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
266 Better error catching when a date/time property does not have
267 allowed values defined.
269 2009-01-14 Carsten Dominik <carsten.dominik@gmail.com>
271 * org.el (org-map-entries): Restore point and restriction after
274 2009-01-13 Carsten Dominik <carsten.dominik@gmail.com>
276 * org.el (org-time=, org-time<, org-time<=, org-time>)
277 (org-time>=, org-time<>): Make sure both values are dates.
279 2009-01-11 Carsten Dominik <carsten.dominik@gmail.com>
281 * org-archive.el (org-extract-archive-heading): Allow %s for file
282 name also in achive location heading.
284 2009-01-10 Carsten Dominik <carsten.dominik@gmail.com>
286 * org-archive.el (org-add-archive-files): Uniquify the list before
289 2009-01-09 Carsten Dominik <carsten.dominik@gmail.com>
291 * org-compat.el (org-fit-window-to-buffer): Use
292 `window-full-width-p'.
294 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
295 space after the colon in short examples.
297 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
298 enforce a space after the colon. However, we also allow lines
299 that are *only* a colon.
300 (org-export-as-html): Enforce the space after the colon in short
302 (org-export-preprocess-string): Do the colon example protection
304 (org-export-remove-timestamps): Do not check for protection at the
307 2009-01-08 Carsten Dominik <carsten.dominik@gmail.com>
309 * org.el (org-format-latex-options): Add new matcher for single
310 letters between dollars.
311 (org-get-header): Function removed.
312 (org-heading-components): New function.
314 * org-exp.el (org-export-define-heading-targets): Record ID's also
315 as alternative targets.
316 (org-export-as-html): Interpret "id:" links to other files by
317 preserving the relative path.
319 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
322 * org-exp.el (org-export-normalize-links): Protect the main link,
323 to avoid special character processing.
325 * org-export-latex.el (org-export-latex-special-keyword-regexp):
327 (org-export-latex-special-string-regexps): Variable removed.
328 (org-export-latex-keywords): Use the new regexp.
330 * org-exp.el (org-export-handle-include-files): Fetch switches and
331 put them into the BEGIN statement.
333 * org-timer.el (org-timer-mode-line-string): New variable.
335 * org-clock.el (org-clock-mode-line-map): Renamed from
336 `org-clock-mode-map'.
337 (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
338 (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
339 (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
340 (org-clock-remove-overlays): Renamed from
341 `org-remove-clock-overlays'.
343 * org-timer.el (org-timer-pause-or-continue): Implement stopping
344 and mode line display.
345 (org-timer-stop): New command.
346 (org-timer-seconds): Return correct time when timer is paused.
347 (org-timer-mode-line-timer): New variable.
348 (org-timer-set-mode-line, org-timer-update-mode-line): New
351 * org.el (org-insert-heading): Handle new value `auto' for
352 `org-blank-before-new-entry'.
353 (org-org-menu): Add new items for timer functions.
355 * org-list.el (org-insert-item): Handle new value `auto' for
356 `org-blank-before-new-entry'.
358 * org.el (org-blank-before-new-entry): New value `auto', made
361 2009-01-07 Carsten Dominik <carsten.dominik@gmail.com>
363 * org-exp.el (org-export-normalize-links): If the link is also
364 used as the description, protect the description.
366 2009-01-06 Carsten Dominik <carsten.dominik@gmail.com>
368 * org.el (org-closest-date): Fix bug with yearly repeats, in
369 combination with preference of the past as it is used for deadline
370 and scheduling search.
372 * org-exp.el (org-html-handle-time-stamps): No longer check for
373 the `org-export-with-timestamps' option, because the preprocesser
374 has taken care of this already.
376 * org.el (org-entry-properties): Catch the case when this is
377 called in a non-org-mode file.
379 * org-export-latex.el (org-export-latex-remove-from-headlines):
380 Variable made obsolete, also LaTeX export now uses the standard
382 (org-export-as-latex): Add the timestamps parameter to the
383 preprocessor parameter list.
384 (org-export-latex-content): Export the remaining keywords without
385 considering to remove them.
386 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
387 Use bold font instead of tt font for the keywords.
388 (org-export-latex-fontify-headline): Format headlines, assuming
389 that all keywords still present should be published.
390 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
391 publish what ever remains of the time stamps.
392 (org-export-latex-list-parameters): New option.
393 (org-export-latex-lists): Pass additional parameters to the list
396 * org-exp.el (org-export-preprocess-string): Remove clock lines
397 and timestamps already in the preprocesor.
398 (org-export-remove-timestamps, org-export-remove-clock-lines): New
400 (org-export-as-ascii, org-export-as-html): Add the timestamps
401 parameter to the preprocessor parameter list.
403 * org-list.el (org-list-parse-list): Parse for checkboxes.
404 (org-list-to-generic): Introduce and handle new parameters :cbon
406 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
407 optional parameter PARAMS.
409 * org-export-latex.el (org-export-latex-special-chars): Fix
410 problems with interpreting dollar signs.
411 (org-inside-latex-math-p): New function.
412 (org-export-latex-preprocess): Protect all the math fragments.
414 * org.el (org-latex-regexps): Allow a dash after a dollar.
416 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
419 * org-agenda.el (org-run-agenda-series): Have series options set
420 when finalizing the agenda.
422 * org-exp.el (org-export-format-source-code-or-example): Protect
423 the converted examples.
425 * org.el (org-set-regexps-and-options): Fix the regexp
426 `org-complex-heading-regexp'.
428 2009-01-05 Carsten Dominik <carsten.dominik@gmail.com>
430 * org.el (org-edit-src-get-label-format): New function.
431 (org-coderef-label-format): New option.
432 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
433 a label format specification and make sure it is used in the edit
435 (org-edit-src-get-label-format): New function.
436 (org-store-link): Handle new coderef formats.
437 (org-link-search): Handle new coderef formats.
439 * org-footnote.el (org-footnote-create-definition)
440 (org-footnote-goto-local-insertion-point): Make footnote insertion
441 work correctly when the "Footnotes" headline is the last line in
444 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
447 2009-01-04 Carsten Dominik <carsten.dominik@gmail.com>
449 * org-w3m.el (org-w3m): New customization group.
450 (org-w3m-deactivate-mark): New option.
451 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
454 2009-01-02 Carsten Dominik <carsten.dominik@gmail.com>
456 * org.el (org-set-font-lock-defaults): Trigger footnote
458 (org-activate-footnote-links): New function.
459 (org-activate-links): New entry `footnote'.
461 * org-faces.el (org-footnote): New face.
463 2009-01-01 Carsten Dominik <carsten.dominik@gmail.com>
465 * org-macs.el (org-re): Handle the [:word:] class.
467 * org-exp.el (org-export-preprocess-string): Call
468 `org-export-protect-colon-examples'.
469 (org-export-protect-colon-examples): Renamed from
470 `org-export-protect-examples', and scope limited to lines starting
473 2008-12-31 Carsten Dominik <carsten.dominik@gmail.com>
475 * org-exp.el (org-export-preprocess-string): Move the preprocess
476 hook to after turning on Org-mode.
477 (org-export-preprocess-after-include-files-hook)
478 (org-export-preprocess-after-tree-selection-hook)
479 (org-export-preprocess-before-backend-specifics-hook)
480 (org-export-preprocess-final-hook): New hooks.
481 (org-export-preprocess-string): Run the new hooks.
483 * org.el (org-ctrl-c-minus): Fix indentation for new items.
485 * org-footnote.el: New file.
487 * org.el (org-footnote): Require footnote code.
488 (org-startup-options): Add new footnote options.
489 (org-mode-map): New keybindig for footnotes.
490 (org-ctrl-c-ctrl-c): Add function at footnotes.
491 (org-org-menu): New menu entries for footnotes.
493 * org-export-latex.el (org-export-as-latex): Pass footnote
494 variable to preprocessor.
495 (org-export-latex-preprocess): Treat multiple references to a
498 * org-exp.el (org-export-preprocess-string): Call
499 `org-footnote-normalize'.
500 (org-export-as-ascii, org-export-as-html): Pass footnote variable
502 (org-export-as-html): Treat multiple references to a footnote.
504 2008-12-26 Carsten Dominik <carsten.dominik@gmail.com>
506 * org-export-latex.el (org-export-latex-links): Handle coderef
509 * org.el (org-bracket-link-analytic-regexp++): New variable.
510 (org-make-link-regexps): Initialize
511 `org-bracket-link-analytic-regexp++'.
512 (org-store-link): Implement special case in edit-src buffer.
513 (org-insert-link): No use of ide to insert stored links.
514 (org-link-search): Implement special case for coderefs.
516 * org-exp.el (org-export-html-scripts): New constant.
517 (org-export-html-style-default): Add a new style for highlighted
519 (org-export-code-refs): New variable.
520 (org-export-preprocess-string): Initialize `org-export-code-refs'.
521 Call `org-export-replace-src-segments-and-examples'
522 No longer call `org-export-protect-examples'.
523 (org-export-target-internal-links): Take care of coderef targets.
524 (org-export-last-code-line-counter-value): New variable.
525 (org-export-replace-src-segments-and-examples): Renamed from
526 `org-export-replace-src-segments', and modified.
527 (org-export-format-source-code-or-example): Renamed from
528 `org-export-format-source-code'.
529 (org-export-number-lines): New function.
530 (org-export-as-ascii, org-export-as-html): Handle coderef links.
532 --------------------------------------------------------------------------
534 2008-12-23 Carsten Dominik <carsten.dominik@gmail.com>
536 * org-remember.el (org-remember-handler): Safer way to get a new
537 buffer accessing the target file.
539 * org.el (org-refile-get-location): Handle case of current buffer
540 not having a file associated with it.
542 2008-12-22 Carsten Dominik <carsten.dominik@gmail.com>
544 * org-table.el (org-table-get-formula): Only ask to overwrite
545 field formula if there really is one.
547 * org-id.el (org-id-find): Allow the ID to be a symbol or a
548 number, by converting these to a string.
550 * org-colview.el (org-dblock-write:columnview): Allow ID to be
551 located in a different file.
553 * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
556 2008-12-21 Carsten Dominik <carsten.dominik@gmail.com>
558 * org.el (org-completion-use-ido): Enhance docstring of
559 `org-completion-use-ido'.
561 * org-export-latex.el (org-export-latex-make-header): Double the %
562 in the time stamp format.
563 (org-export-latex-special-chars): Handle case where there is no
566 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
568 * org.el (org-get-refile-targets, org-refile-get-location): Use
569 expanded file name to improve comparison.
571 2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
573 * org.el (org-scan-tags): Rescan for tags, to get the correct
574 upcase/downcase stuff. This slows things down for now, but it
576 (org-mode): Make sure the tag-faces regexp is initialized.
578 * org-export-latex.el (org-export-latex-links): Fix bug with
581 * org-table.el (org-table-get-specials): Set
582 `org-table-current-last-data-line'.
583 (org-table-current-last-data-line): New variable.
584 (org-table-insert-column, org-table-delete-column)
585 (org-table-move-column, org-table-fix-formulas): Call
586 `org-table-fix-formulas' a second time to fix the $LR references.
587 (org-table-get-specials): Add the $LR references to the tables.
588 (org-table-get-formula): Do not offer last-row names as LHS of
591 * org.el (org-store-link): Capture link description from
594 * org-exp.el (org-export-html-format-image): Add the / to the end
596 (org-export-format-source-code): Surround example by empty lines,
597 to make sure it will not be inside a paragraph.
599 * org.el (org-ido-switchb): New function.
601 2008-12-18 Carsten Dominik <carsten.dominik@gmail.com>
603 * org-agenda.el (org-agenda-show): New prefix argument
606 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
609 * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
610 `org-agenda-change-all-lines'.
611 (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
612 tags are now retrieved locally.
614 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
616 * org.el (org-get-outline-path): Fix bug if level is not given.
617 (org-org-menu): Do not quote function in menu vector.
619 * org-agenda.el (org-finalize-agenda): Fix typo with variable
622 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
624 * org.el (org-refile): Avoid refiling to within the region to be
627 * org-export-latex.el (org-export-latex-special-chars): Replace
628 special characters also in tables.
630 * org-agenda.el (org-agenda-change-all-lines): New argument
632 (org-agenda-set-tags): Cet the new tags and pass them to
633 `org-format-agenda-item'.
635 2008-12-15 Carsten Dominik <carsten.dominik@gmail.com>
637 * org-export-latex.el (org-export-latex-classes): Add longable as
638 a default package to all classes.
639 (org-export-latex-tables): Handle the longtable attribute and the
642 * org-table.el (orgtbl-to-generic): Handle tables that start with
645 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
646 \verb for colde-like snippets.
647 (org-export-as-latex): Fix issues with region export.
649 * org.el (org-up-heading-safe): Speed up function by using a
650 direct regexp search.
651 (org-olpa): New variable.
652 (org-get-outline-path): Speed-up path constructions in cases where
653 this is possible because the entire hierarchy is scanned anyway.
654 (org-refile-get-location): Don't compare the truenames of files,
656 (org-goto-max-level): New option.
657 (org-goto): Use `org-goto-max-level'.
659 2008-12-12 Tassilo Horn <tassilo@member.fsf.org>
661 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
662 Strip angle brackets from message-ids in the former and don't do
664 (org-gnus-follow-link): Open summary reliable, even if the last
665 messages were deleted, and handle empty groups, too.
667 2008-12-12 Carsten Dominik <carsten.dominik@gmail.com>
669 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
670 instead of \texttt for the =...= and ~===~ emphasis environments.
671 (org-export-as-latex): Remove any old :org-license-to-kill text
673 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
674 (org-export-latex-make-header): Add some hard space after the
676 (org-export-latex-first-lines): Accept RBEG argument. Mark
677 exported text so that it will be excuded in further steps.
679 * org-table.el (org-table-get-specials): Make @0 reference the
680 last line in a table.
681 (org-table-recalculate): Improve docstring.
683 2008-12-11 Carsten Dominik <carsten.dominik@gmail.com>
685 * org.el (org-log-done): Fix docstring.
687 2008-12-10 Carsten Dominik <carsten.dominik@gmail.com>
689 * org-exp.el (org-export-html-format-image): Fix bugs.
691 * org-export-latex.el (org-export-latex-tables)
692 (org-export-latex-links): Implement attribute, label, and caption
695 * org-exp.el (org-export-html-style-default): Add style
696 definitions for the figure div.
697 (org-export-preprocess-string, org-export-as-html): Implement
698 attribute, label, and caption handling.
699 (org-export-attach-captions-and-attributes): New function.
700 (org-export-html-format-image): New function.
701 (org-format-org-table-html): Implement attribute, label, and
704 * org.el (org-find-text-property-in-string): New function.
705 (org-extract-attributes): Use the property org-attr instead of
706 org-attrobutes, because this property is now set with the #+ATTR
709 2008-12-08 Carsten Dominik <carsten.dominik@gmail.com>
711 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
712 the case that FROM is nil.
714 * org.el (org-before-first-heading-p): New function.
716 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
718 * org-exp.el (org-export-as-html): Do not add a space before
719 enforces line breaks.
720 (org-export-as-html): Close paragraph before blockquote and verse
723 2008-12-06 Carsten Dominik <carsten.dominik@gmail.com>
725 * org-id.el (org-id-locations-file): Wrap file name with
726 `convert-standard-filename'.
727 (org-id-files): New variable.
728 (org-id-use-hash): New option.
729 (org-id-update-id-locations): Also search in all files current
730 listed in `org-id-files'. Convert the resulting alist to a hash
731 if the user customation says so.
732 (org-id-locations-save): Handle he case if `org-id-locations' is a
734 (org-id-locations-load): Convert the alist to a hash.
735 (org-id-add-location): Handle the hast case.
736 (kill-emacs-hook): Make sure id locations are saved when Emacs is
738 (org-id-hash-to-alist, org-id-alist-to-hash)
739 (org-id-paste-tracker): New functions.
741 -------------------------------------------------------------------------
743 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
745 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
746 bindings of calendar variables.
748 * org-table.el (org-table-find-row-type): Renamed from
750 (org-table-rewrite-old-row-references): Renamed from
751 `org-rewrite-old-row-references'.
752 (org-table-shift-refpart): Renamed from `org-shift-refpart'.
753 (org-table-cleanup-narrow-column-properties): Renamed from
754 `org-cleanup-narrow-column-properties'.
756 2008-12-05 Carsten Dominik <carsten.dominik@gmail.com>
758 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
759 for better error messages.
760 (org-table-get-descriptor-line): Supply the new arguments to
762 (org-table-error-on-row-ref-crossing-hline): New option.
764 * org.el (org-target-link-regexp): Make buffer-local.
765 (org-move-subtree-down): Fix bug with trees at beginning of
768 2008-12-04 Carsten Dominik <carsten.dominik@gmail.com>
770 * org-faces.el (org-set-tag-faces): New function.
771 (org-tags-special-faces-re): New variable.
773 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
775 * org-faces.el (org-tag-faces): New option.
776 (org-tag): Mention `org-tag-faces' in the docstring.
778 2008-12-03 Carsten Dominik <carsten.dominik@gmail.com>
780 * org-exp.el (org-export-html-style-default): Implement new
783 * org-jsinfo.el (org-infojs-template): Implement new quoting.
785 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
786 command to the `w3m-minor-mode-map'.
788 * org-archive.el (org-archive-to-archive-sibling): Protect
789 `this-command' to avoid appending kills during archiving.
791 * org-exp.el (org-export-with-priority): New variable.
792 (org-export-add-options-to-plist): Use `org-export-plist-vars'
793 instead of internal list of strings and properties.
794 (org-print-icalendar-entries): Retrieve the location property with
797 2008-12-02 Carsten Dominik <carsten.dominik@gmail.com>
799 * org-exp.el (org-export-with-todo-keywords): New option.
800 (org-export-plist-vars): Include also the keys for the #+OPTIONS
802 (org-default-export-plist, org-export-add-options-to-plist)
803 (org-export-as-ascii, org-export-as-html): Use the new structure
804 of `org-export-plist-vars'.
806 * org.el (org-map-entries): Return all values.
808 2008-11-29 Carsten Dominik <carsten.dominik@gmail.com>
810 * org.el (org-matcher-time): Recognize more special values.
812 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
814 2008-11-27 Carsten Dominik <carsten.dominik@gmail.com>
816 * org.el (org-tags-exclude-from-inheritance): New option.
817 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
818 `org-tags-exclude-from-inheritance'.
820 * org-agenda.el (org-agenda-show-inherited-tags): New option.
821 (org-format-agenda-item): Add inherited tags to the agenda line
822 string, and make sure that properties are kept when downcasing the
824 (org-agenda-add-inherited-tags): New function.
825 (org-downcase-keep-props): New function.
827 * org.el (org-scan-tags): Mark inherited tags with a text
829 (org-get-tags-at): Mark inherited tags with a text property.
830 (org-add-prop-inherited): New function.
832 * org-agenda.el (org-agenda-add-inherited-tags): New function.
833 (org-agenda-show-inherited-tags): New option.
835 2008-11-26 Carsten Dominik <carsten.dominik@gmail.com>
837 * org.el (org-modules): Add org-w3m to the default modules.
839 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
841 (orgtabl-create-or-convert-from-region): New command.
843 * org-exp.el (org-export-as-ascii): Remove the handling of
845 (org-export-ascii-preprocess): Handle targets already in this
848 2008-11-25 Carsten Dominik <carsten.dominik@gmail.com>
850 * org-timer.el (org-timer-start-time): Define this variable.
851 (org-timer-item): Make argument optional.
853 * org-list.el (org-insert-item): Automatically insert a timer item
854 if the current list is a timer list.
856 * org-timer.el: New file.
858 * org-publish.el (org-publish-org-index): Only exclude the index
859 file in the main directory from being added to the site-map.
860 (org-publish-get-project-from-filename): If the current project is
861 a component, start publishing from the parent project.
863 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
865 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
867 * org-publish.el (org-publish-org-index): Improve removal of
870 * org-agenda.el (org-get-closed): Re-apply changes
871 accidentially overwritten by last commit to Emacs.
873 * org.el (org-outline-path-complete-in-steps): New option.
874 (org-refile-get-location): Honor
875 `org-outline-path-complete-in-steps'.
876 (org-agenda-change-all-lines, org-tags-sparse-tree)
877 (org-time-string-to-absolute, org-small-year-to-year)
878 (org-link-escape): Re-apply changes accidentially overwritten
879 by last commit to Emacs.
881 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
883 * org-clock.el (org-dblock-write:clocktable): Make sure the
884 clocktable sees the first line.
885 (org-clock-in): Warn if the clock cannot be resumed.
887 2008-11-22 Carsten Dominik <carsten.dominik@gmail.com>
889 * org.el (org-open-at-point): Fix mixup about interactive and
890 non-interactive elisp links.
892 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
894 * org-exp.el (org-export-preprocess-string): Allow one comment
895 line before the first headline to always be included. This is
896 to not miss a commented target.
898 * org-mouse.el (org-mouse-insert-item): Call
899 `org-indent-to-column' instead of `indent-to', for XEmacs
902 * org.el (org-refile-targets): Fix customize definition so
903 that it works also in XEmacs.
904 (org-fixup-indentation): Call `org-indent-to-column' instead
905 of `indent-to', for XEmacs compatibility.
907 2008-11-21 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
909 * org-mew.el (org-mew-store-link): Get the correct case folder
910 for refiled messages.
912 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
914 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
915 line break indicators.
917 * org.el (org-ido-completing-read): Remove the "i:" prefix for
918 ido-completion propts.
920 2008-11-21 Carsten Dominik <carsten.dominik@gmail.com>
922 * org-remember.el (org-remember-apply-template): Use
923 `org-substring-no-properties'.
925 * org-compat.el (org-substring-no-properties): New function.
927 * org-remember.el (org-remember-apply-template): Use
928 `org-substring-no-properties' for compatibility.
930 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
932 (org-fix-bullet-type): respect
933 `org-list-two-spaces-after-bullet-regexp'.
935 * org-clock.el (org-clock-load): Clean up the code.
937 * org.el (org-adaptive-fill-function): Allow two spaces after
938 "1." as a list bullet.
940 2008-11-20 Carsten Dominik <carsten.dominik@gmail.com>
942 * org-clock.el (org-clock-save, org-clock-load): Check for
943 live buffers, existing files, and buffer file names to ensure
944 consistent information.
945 (org-clock-persist): Make `clock' a special value of this
946 variable, and improve docstring.
948 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
949 (org-get-string-indentation): Adapt indentation when the bullet
952 2008-11-19 Carsten Dominik <carsten.dominik@gmail.com>
954 * org-remember.el (org-remember-finalize): Make interactive.
955 (org-remember-kill): New command.
956 (org-remember-finish-immediately): Call `org-remember-finalize'
958 (org-remember-finalize): Make `org-remember-finalize' an interactive
961 2008-11-18 Carsten Dominik <carsten.dominik@gmail.com>
963 * org-remember.el (org-remember-apply-template): No ido completion
964 for free prompts in remember templates.
965 (org-remember-before-finalize-hook): New hook.
966 (org-remember-mode): New minor mode.
967 (org-remember-apply-template): Turn on `org-remember-mode'.
969 * org-id.el (org-id-add-location): Avoid error when no file is
972 * org-remember.el (org-remember-apply-template): Fix the way how
973 the list of allowed properties is retrieved from the target file.
975 * org.el (org-insert-link): Improve file link matching.
977 2008-11-17 Carsten Dominik <carsten.dominik@gmail.com>
979 * org-colview.el (org-columns-display-here): New argument
980 DATELINE, to trigger using the new face.
981 (org-agenda-colview-summarize): Call `org-columns-display-here'
982 with the new argument.
984 * org-faces.el (org-agenda-column-dateline): New face.
986 * org-publish.el (org-publish-org-index): Use index-title at page
987 title, not as section.
989 * org-exp.el (org-export-html-format-desc): Respect the
990 org-protect property.
991 (org-export-as-html): Protect image specifiers that are in the
992 description part of a link.
994 * org.el (org-sort-entries-or-items, org-completing-read)
995 (org-refile-get-location, org-olpath-completing-read, org-todo)
996 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
997 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
998 (org-set-property, org-delete-property)
999 (org-delete-property-globally): Use `org-ido-completing-read'.
1001 * org-remember.el (org-remember-apply-template): Use
1002 `org-ido-completing-read'.
1004 * org-publish.el (org-publish): Use `org-ido-completing-read'.
1006 * org-colview.el (org-columns-edit-value, org-columns-new)
1007 (org-insert-columns-dblock): Use `org-ido-completing-read'.
1009 * org-colview-xemacs.el (org-columns-edit-value)
1010 (org-columns-new, org-insert-columns-dblock): Use
1011 `org-ido-completing-read'.
1013 * org-attach.el (org-attach-delete-one, org-attach-open): Use
1014 `org-ido-completing-read'.
1016 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
1017 `org-ido-completing-read'.
1019 * org.el (org-time-today): New function.
1020 (org-matcher-time): Use `org-time-today'. Add special treatment
1021 for "<tomorrow>" and "<yesterday>".
1022 (org-ido-completing-read): New function.
1023 (org-completion-use-ido): New option.
1025 * org-exp.el (org-export-format-source-code): Fix bug in require
1027 (org-export-target-internal-links): Fix bug in search for text
1030 2008-11-16 Carsten Dominik <carsten.dominik@gmail.com>
1032 * org-export-latex.el (org-export-latex-subcontent): Interprete
1033 target aliases as additonal labels.
1035 * org-exp.el (org-export-target-aliases): New variable.
1036 (org-export-preprocess-string)
1037 (org-export-handle-invisible-targets): Fill the alias alist.
1038 (org-export-as-html): Remove the from the anchor, and also
1040 (org-html-level-start): Insert the target aliases as additonal
1043 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
1046 2008-11-15 Carsten Dominik <carsten.dominik@gmail.com>
1048 * org.el (org-open-at-mouse): Ensure correct link abbreviations
1049 when following a link with the mouse from the agenda.
1051 * org-exp.el (org-export-as-html): Avoid lone </div> when no
1052 headlines are created.
1054 2008-11-14 Carsten Dominik <carsten.dominik@gmail.com>
1056 * org-exp.el (org-export-preprocess-string): Reorder so that we
1057 can still see ID properties when we collect targets.
1058 (org-export-target-internal-links): Also store targets for ID's.
1060 * org.el (org-link-translation-function): New option.
1061 (org-open-at-point): Call `org-link-translation-function' if
1063 (org-translate-link): New function.
1064 (org-translate-link-from-planner): New function.
1065 (org-open-at-point): Allow interactive commands in elisp links.
1067 * org-exp.el (org-icalendar-cleanup-string): Restore the old
1068 iCalendar quoting. The new one seems to caus problems with
1071 * org.el (org-yank): Set `this-command' to `yank', so that
1072 `yank-pop' will work.
1074 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1076 * org-id.el (org-id-search-archives): New option.
1078 * org.el (org-link-to-org-use-id): New option.
1079 (org-store-link): Use `org-link-to-org-use-id'.
1080 (org-id): Make org-id.el a standard component.
1082 2008-11-13 Carsten Dominik <carsten.dominik@gmail.com>
1084 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
1085 hexified version of the tag.
1087 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
1088 compliance as far as quoting is concerned.
1090 * org-vm.el (org-vm-follow-link): Require `vm-search'.
1092 * org.el (org-up-heading-safe, org-forward-same-level): Always
1093 call `org-back-to-heading' instead of `outline-back-to-heading'.
1094 (org-back-to-heading): New wrapper around outline-back-to-heading,
1095 with a useful error message telling where the error happened.
1097 * org-list.el (org-update-checkbox-count): Always call
1098 `org-back-to-heading' instead of `outline-back-to-heading'.
1100 * org-exp.el (org-export-as-html): Make sure that each <img> tag
1101 has an `alt' attribute, to ensure XHTML validation.
1103 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
1105 * org-publish.el (org-publish-attachment): Allow publishing to
1106 overwrite attachment files.
1108 * org-agenda.el (org-agenda-timerange-leaders): New option.
1109 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
1111 * org.el (org-edit-src-exit): Untabify ASCII image before
1125 2008-11-11 Carsten Dominik <carsten.dominik@gmail.com>
1127 * org.el (org-yank): Make any prefix force normal yanking.
1128 Suppress folding if text would be swallowed into a folded
1130 (org-yank-folded-subtrees, org-yank): Docstring updates.
1132 * org-agenda.el (org-agenda-compare-effort): Treat no effort
1135 * org-exp.el (org-export-language-setup): Add Catalan and
1136 Esperanto language entries.
1138 2008-11-10 Carsten Dominik <carsten.dominik@gmail.com>
1140 * org.el (org-refile): Allow refiling of entire regions.
1142 * org-clock.el (org-clock-time%): New function.
1144 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
1145 retrieve property values.
1147 2008-11-09 Carsten Dominik <carsten.dominik@gmail.com>
1149 * org-agenda.el (org-agenda-list): Handle the value `only' of
1150 org-agenda-show-log'.
1151 (org-agenda-log-mode): Interpret a double prefix arg.
1153 2008-11-08 Carsten Dominik <carsten.dominik@gmail.com>
1155 * org-exp.el (org-export-html-footnotes-section): New variable.
1156 (org-export-as-html): Use `org-export-html-footnotes-section' to
1157 insert the footnotes.
1158 (org-export-language-setup): Add "Footnotes" to language words.
1160 2008-11-07 Carsten Dominik <carsten.dominik@gmail.com>
1162 * org.el (org-yank): Fix bug when not inserting a subtree.
1164 2008-11-06 Carsten Dominik <carsten.dominik@gmail.com>
1166 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
1167 instead of `vm-beginning-of-message'.
1169 * org.el (org-make-link-regexps): Make sure that links to gnus can
1172 2008-11-05 Carsten Dominik <carsten.dominik@gmail.com>
1174 * org-attach.el (org-attach-dir): Remove duplicate ID creation
1177 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
1180 * org.el (org-link-abbrev-alist): Improve customization type.
1182 * org-attach.el (org-attach-expand-link, org-attach-expand): New
1185 * org-agenda.el (org-agenda-get-progress): Renamed from
1186 `org-get-closed'. Implement searching for state changes as well.
1187 (org-agenda-log-mode-items): New option.
1188 (org-agenda-log-mode): New option prefix argument, interpreted as
1189 request to show all possible progress info.
1190 (org-agenda-get-day-entries): Call `org-get-progress' instead of
1192 (org-agenda-set-mode-name): Handle the more complex log mode
1194 (org-get-closed): New alias, pointing to `org-get-progress'.
1196 2008-11-05 Carsten Dominik <dominik@science.uva.nl>
1198 * org.el (org-file-apps-defaults-gnu)
1199 (org-file-apps-defaults-macosx)
1200 (org-file-apps-defaults-windowsnt): Add an entry defining the
1202 (org-file-apps): Allow `system' as key and value.
1203 (org-open-at-point): Explain the effect of a double prefix arg.
1204 (org-open-file): If the argument `in-emacs' is (16),
1205 i.e. corresponding to a double prefix argument, try to open the
1208 2008-11-04 Carsten Dominik <dominik@science.uva.nl>
1210 * org.el (org-insert-link): Abbreviate absolute files names in
1211 links. Also, fix a bug in which the double C-u prefix would not
1214 2008-11-03 Carsten Dominik <dominik@science.uva.nl>
1216 * org.el (org-insert-heading): If buffer does not end with a
1217 newline, add one if necessary to insert headline correctly.
1219 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
1220 paragraphs, not inside.
1222 * org.el (org-todo): Quote
1223 `org-agenda-headline-snapshot-before-repeat'.
1225 * org-exp.el (org-export-as-html): Fully process link descriptions.
1226 (org-export-html-format-desc): New function.
1227 (org-export-as-html): Collect footnotes into the correct basket.
1228 (org-html-protect): No longer protect quotations marks here, this
1231 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
1234 * org-compat.el (org-fit-window-to-buffer): New function (not
1235 really, a preliminary and incomplete version was present earlier,
1238 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
1239 `org-fit-window-to-buffer'.
1241 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
1243 * org-agenda.el (org-agenda-get-restriction-and-command)
1244 (org-fit-agenda-window, org-agenda-convert-date): Use
1245 `org-fit-window-to-buffer'.
1247 * org-exp.el (org-export-as-html): Process href links through
1248 `org-export-html-format-href'.
1249 (org-export-html-format-href): New function.
1251 * org-agenda.el (org-agenda-todo): Update only the current
1252 headline if this is a repeated TODO, marked done for today.
1253 (org-agenda-change-all-lines): New argument JUST-THIS, to change
1254 only the current line.
1256 * org.el (org-todo): Take a snapshot of the headline if the
1257 repeater might change it.
1259 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
1261 * org-publish.el (org-publish-find-title): Remove buffers visited
1262 only for extracting the title.
1264 * org-exp.el (org-export-html-style)
1265 (org-export-html-style-default): Mark style definitions as
1268 * org-publish.el (org-publish-validate-link): Function
1271 2008-11-02 Charles Sebold <csebold@gmail.com>
1273 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
1275 (org-plot-quote-timestamp-field): New function.
1276 (org-plot-quote-tsv-field): Call timestamp field function when
1277 necessary rather than just quoting as a string.
1278 (org-plot/gnuplot-to-data): Pass in timefmt property.
1279 (org-plot/gnuplot-script): Supports timefmt property.
1280 (org-plot/gnuplot): Checks for timestamp column before checking
1281 for text index column.
1283 2008-11-02 Carsten Dominik <dominik@science.uva.nl>
1285 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
1287 * org-publish.el (org-publish-org-index): Create a section in the
1289 (org-publish-org-index): Stop linking to directories.
1291 * org.el (org-emphasis-alist): Use span instead of <u> to
1294 * org-exp.el (org-export-as-html): Make sure <p> is closed before
1297 2008-11-01 Sebastian Rose <sebastian_rose@gmx.de>
1299 * org-jsinfo.el (org-infojs-template): Remove language attribute
1302 2008-11-01 Carsten Dominik <dominik@science.uva.nl>
1304 * org-agenda.el (org-agenda-remove-marked-text): New function.
1305 (org-agenda-mark-filtered-text)
1306 (org-agenda-unmark-filtered-text): New functions.
1307 (org-write-agenda): Remove fltered text.
1309 * org.el (org-make-tags-matcher): Give access to TODO "property"
1310 without speed penalty.
1312 2008-10-29 Carsten Dominik <dominik@science.uva.nl>
1314 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
1316 (org-store-link-props): Make sure adding to the plist works
1319 * org-gnus.el (org-gnus-no-new-news): New function.
1320 (org-gnus-follow-link): Allow the article ID to be a message-id,
1321 in addition to allowing article numbers. Message IDs make much
1323 (org-gnus-store-link): Use message-id to create link.
1325 2008-10-28 Carsten Dominik <dominik@science.uva.nl>
1327 * org.el (org-emphasize): Reverse the selection array.
1328 (org-emphasis-alist): Set <code> tags for the verbatim
1331 * org-remember.el (org-remember-handler): Fix bug with
1332 prefix-related changing of the note storage target.
1334 * org-exp.el (org-print-icalendar-entries): Make the exported
1335 priorities compatible with RFC 2445.
1337 * org-clock.el (org-clock-save): Insert time stamp without
1338 dependence on time-stamp.el.
1340 2008-10-27 Carsten Dominik <dominik@science.uva.nl>
1342 * org.el ("saveplace"): If saveplace puts point into an invisible
1343 location, make it visible.
1344 (org-make-tags-matcher): Allow inactive time stamps in time
1346 (org-yank-adjusted-subtrees): New option.
1347 (org-yank): Incorporate adjusting trees.
1348 (org-paste-subtree): New argument FOR-YANK which will cause
1349 insertion at point without backing up over white lines, and leave
1350 point at the end of the inserted text. Also if the cursor is
1351 at the beginning of a headline, use the same level or the inserted
1354 * org-publish.el (org-publish-get-base-files-1): Deal correctly
1355 with broken symlinks
1357 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
1359 * org-exp.el (org-export-select-tags, org-get-current-options):
1362 2008-10-25 Carsten Dominik <dominik@science.uva.nl>
1364 * org-agenda.el (org-format-agenda-item)
1365 (org-agenda-filter-make-matcher): Make sure tags are stored and
1368 2008-10-23 Carsten Dominik <dominik@science.uva.nl>
1370 * org.el (org-insert-todo-heading): Fix bug with force-heading
1373 2008-10-23 James TD Smith <ahktenzero@mohorovi.cc>
1375 * org-clock.el (org-clock-in-resume): Add a custom option to
1376 toggle starting the clock from an open clock line.
1377 (org-clock-in): When clocking in to an entry, if
1378 `org-clock-in-resume' is set, check if the first clock line is
1379 open and if so, start the clock from the time in the clock line.
1380 (org-clock-persist): Add a custom option to toggle clock
1382 (org-clock-persist-query-save): Add a custom option to toggle
1383 asking the user if they want to save the running clock when
1385 (org-clock-persist-query-resume): Add a custom option to toggle
1386 asking the user if they want to resume the saved clock when Emacs
1388 (org-clock-save): Add a function to save clock data.
1389 This includes the contents of `org-clock-history' and the buffer
1390 and position of the currently clocked task, if any.
1391 (org-clock-load): Add a function to load clock data.
1392 This populates `org-clock-history', and resumes the saved clocked
1393 task if there is one.
1394 (org-clock-persistence-insinuate): Add a method to set up the
1395 hooks for clock persistence.
1397 2008-10-22 Carsten Dominik <dominik@science.uva.nl>
1399 * org-exp.el (org-export-as-ascii): Handle the case that we are
1400 publishing from an indirect buffer.
1402 * org-table.el (org-table-copy-down): Fix bug with time stamp
1405 * org-mouse.el (org-mouse-features): New option.
1406 (org-mode-hook): Turn on features depending on
1407 `org-mouse-features'.
1409 * org.el (org-insert-heading-respect-content): Force heading
1411 (org-insert-heading): keep the folding state of the heading before
1414 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
1416 * org-archive.el (org-archive-to-archive-sibling): Handle top
1417 level headlines better.
1419 2008-10-21 Bastien Guerry <bzg@altern.org>
1421 * org-export-latex.el (org-export-latex-classes): Added
1422 \usepackage{graphicx} to the default list of packages.
1424 2008-10-21 Carsten Dominik <dominik@science.uva.nl>
1426 * org-agenda.el (org-agenda-filter): Renamed from
1427 `org-agenda-filter-tags'.
1429 2008-10-20 Carsten Dominik <dominik@science.uva.nl>
1431 * org.el (org-entry-properties): Add CATEGORY property, iven if it
1432 is not defined as a property in this entry.
1433 (org-add-log-note): Mask prefix argument when immediately storing
1436 * org-agenda.el (org-agenda-filter-effort-default-operator): New
1439 2008-10-19 James TD Smith <ahktenzero@mohorovi.cc>
1441 * org.el (org-add-log-setup): Bugfix; code to find insertion point
1442 after drawers was skipping ahead one line too many, so notes were
1443 inserted after the first note instead of before it.
1445 2008-10-18 Carsten Dominik <dominik@science.uva.nl>
1447 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
1449 (org-prepare-agenda): Reset the filter tags.
1450 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
1451 Show filter tags in mode line.
1453 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
1456 * org-export-latex.el (org-latex-entities-regexp): New constant.
1457 (org-export-as-pdf): Use two calls to `shell-command'.
1459 2008-10-17 Carsten Dominik <dominik@science.uva.nl>
1461 * org-export-latex.el (org-export-latex-treat-sub-super-char):
1462 Honor the {} value of the subsuperscript setting. Make sure that
1463 longer subsuperscripts are typeset in a roman font.
1465 * org.el (org-clock-update-time-maybe): Compute negative clock
1466 intervals correctly.
1468 2008-10-16 Carsten Dominik <dominik@science.uva.nl>
1470 * org.el (org-add-log-setup): Respect
1471 `org-log-state-notes-insert-after-drawers'.
1472 (org-log-state-notes-insert-after-drawers): New option.
1473 (org-todo-trigger-tag-changes): New function.
1474 (org-todo): Call `org-todo-trigger-tag-changes'.
1476 2008-10-15 James TD Smith <ahktenzero@mohorovi.cc>
1478 * org.el (org-add-log-setup): Only skip drawers if the are
1479 immediately after the scheduling keywords.
1481 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
1483 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
1484 call it with the current todo state to get the state to switch to
1486 (org-clock-in): Use org-indent-line-function to indent clock lines.
1487 (org-clock-find-position): Fix indentation of empty clock drawers.
1489 2008-10-15 Carsten Dominik <dominik@science.uva.nl>
1491 * org-publish.el (org-publish-org-to): Handle case when
1492 org-export-to-pdf does return a file name, not a buffer.
1493 (org-publish-org-to-pdf): New function.
1495 * org-export-latex.el (org-export-as-pdf)
1496 (org-export-as-pdf-and-open): New commands.
1498 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
1501 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
1502 things in protexted regions.
1504 2008-10-14 Carsten Dominik <dominik@science.uva.nl>
1506 * org-export-latex.el (org-export-latex-preprocess): Improve
1507 quoting of LaTeX environments.
1509 2008-10-10 Carsten Dominik <dominik@science.uva.nl>
1511 * org.el (org-edit-fixed-width-region): Exclude final newline from
1514 * org-export-latex.el (org-export-latex-subcontent): Add labels to
1515 sections, to make internal links work.
1516 (org-export-latex-fontify-headline): Do not remove all text
1517 properties, to make sure that target properties survive this
1520 * org-exp.el (org-export-preprocess-string): Change sequence of
1521 modifications, to make sure links are prepared before the LaTeX
1522 conversions do happen.
1524 2008-10-09 Carsten Dominik <dominik@science.uva.nl>
1526 * org-attach.el (org-attach-delete-all): Renamed from
1527 `org-attch-delete'. Add a security query before deleting the
1528 entire directory. New optional argument FORCE can overrule the
1530 (org-attach-delete-one): New command.
1532 2008-10-08 Carsten Dominik <dominik@science.uva.nl>
1534 * org-attach.el (org-attach-file-list): Fix bug with directory.
1536 2008-10-07 Carsten Dominik <dominik@science.uva.nl>
1538 * org.el (org-apps-regexp-alist): New function.
1539 (org-file-apps): Add auto-mode to the default value.
1540 (org-open-file): Use the new structure of org-file-apps.
1542 * org-attach.el (org-attach): Support the new keys.
1543 (org-attach-method): New option.
1545 2008-10-06 Carsten Dominik <dominik@science.uva.nl>
1547 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
1550 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
1551 of the list value o `org-use-tag-inheritance'.
1553 * org-attach.el (org-attach-auto-tag): New option.
1554 (org-attach-tag, org-attach-untag): New functions.
1555 (org-attach-attach, org-attach-new, org-attach-sync): Call
1557 (org-attach-delete): Call `org-attach-untag'.
1559 2008-10-04 Carsten Dominik <dominik@science.uva.nl>
1561 * org-table.el (orgtbl-self-insert-command): Make this work for
1564 2008-10-02 Carsten Dominik <dominik@science.uva.nl>
1566 * org.el (org-add-log-setup): Limit searc for drawers to entry
1567 text, not to subtree.
1569 * org-clock.el (org-clock-heading-for-remember): New variable.
1570 (org-clock-in): Set `org-clock-heading-for-remember'.
1572 2008-10-01 James TD Smith <ahktenzero@mohorovi.cc>
1574 * org-remember.el (org-remember-apply-template): Add new
1575 expansions: %k, %K for currently clocked task and a link to the
1576 currently clocked task, and %< to file notes in the currently
1579 2008-10-01 Carsten Dominik <dominik@science.uva.nl>
1581 * org-export-latex.el (org-export-latex-make-header): Also insert
1582 the content of the property :latex-header-extra.
1584 * org-exp.el (org-infile-export-plist): Put the content of
1585 #+LATEX_HEADER: into the property :latex-header-extra.
1587 * org-colview.el (org-columns-get-format-and-top-level): Remove
1588 resetting the marker.
1590 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
1591 Remove resetting the marker.
1593 * org.el (org-entry-property-inherited-from): Improve docstring.
1594 (org-entry-get-with-inheritance): Reset marker before starting the
1597 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
1599 2008-09-30 Carsten Dominik <dominik@science.uva.nl>
1601 * org.el (org-entry-get-multivalued-property)
1602 (org-entry-protect-space, org-entry-restore-space): New
1604 (org-file-apps-defaults-macosx): Let postscript files be opened by
1606 (org-time-stamp-inactive): Call `org-time-stamp'.
1607 (org-time-stamp): New argument `inactive'. Also edit inacive
1608 stamps. Convert time stamp type.
1609 (org-open-file): Interpret the `default' value for the `command'
1612 * org-id.el (org-id-int-to-b36-one-digit)
1613 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
1614 (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
1617 2008-09-29 Carsten Dominik <dominik@science.uva.nl>
1619 * org-id.el (org-id-reverse-string): New function.
1620 (org-id-new): Use `org-id-reverse-string' to make sure the
1621 beginning chars of the ID are mutating fast. This allows to use a
1622 directory structure to spread things better.
1623 (org-id-prefix): Changed default to nil.
1625 * org-list.el (org-move-item-down, org-move-item-up): Remember and
1626 restore the column of the cursor position.
1628 * org-remember.el (org-remember-apply-template): Remove properties
1631 2008-09-27 Carsten Dominik <dominik@science.uva.nl>
1633 * org-wl.el (org-wl-open): Remove useless call to
1634 `wl-thread-open-all'.
1636 * org-remember.el (org-remember-handler): Fix bug with `bottom'
1639 2008-09-26 Carsten Dominik <dominik@science.uva.nl>
1641 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
1642 `org-bbdb-anniversaries'.
1644 * org.el (org-get-next-sibling, org-forward-same-level): New
1645 functions, similar to the outline versions, but invisible headings
1648 2008-09-25 Bastien Guerry <bzg@altern.org>
1650 * org.el (org-auto-repeat-maybe): Insert a space between
1651 the timestamp's type and the timestamp itself.
1653 2008-09-24 Carsten Dominik <dominik@science.uva.nl>
1655 * org-table.el (org-table-sum): Do not format the result with %g,
1656 it does rounding when there are too many digits.
1658 * org.el (org-map-entries): Protect the keyword-selecting variables.
1660 2008-09-23 Bastien Guerry <bzg@altern.org>
1662 * org-agenda.el (org-agenda-to-appt): Make sure the function check
1663 against all agenda files.
1665 2008-09-23 Carsten Dominik <dominik@science.uva.nl>
1667 * org-list.el: New file, aggregating list functions from org.el
1668 and org-export-latex.el.
1670 * org.el (org-edit-src-region-extra): New option.
1672 2008-09-22 Carsten Dominik <dominik@science.uva.nl>
1674 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
1677 2008-09-22 Bastien Guerry <bzg@altern.org>
1679 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
1681 2008-09-22 James TD Smith <ahktenzero@mohorovi.cc>
1683 * org-plot.el (org-plot/gnuplot): Make tables starting with a
1684 hline work correctly.
1685 (org-plot/gnuplot-script): Put commas at the end of each script
1688 2008-09-20 James TD Smith <ahktenzero@mohorovi.cc>
1690 * org.el (org-get-refile-targets): Replace links with their
1692 (org-imenu-get-tree): Replace links with their descriptions.
1694 * org-remember.el (org-remember-apply-template): Add a new
1695 expansion for adding properties to remember items.
1697 * org.el (org-add-log-setup): Skip over drawers (properties,
1698 clocks etc) when adding notes.
1700 * org-agenda.el (org-agenda-get-closed): show durations of clocked
1701 items as well as the start and end times.
1703 * org-compat.el (org-get-x-clipboard-compat): Add a compat
1704 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
1706 * org-remember.el (org-get-x-clipboard): Use the compat
1707 function to get clipboard values when x-selection-value is
1708 unavailable. Use substring-no-properties instead of
1709 set-text-properties to remove text properties from the clipboard
1712 * lisp/org-clock.el (org-update-mode-line): Support limiting the
1713 modeline clock string, and display the full todo value in the
1714 tooltip. Set a local keymap so mouse-3 on the clock string goes to
1715 the currently clocked task.
1716 (org-clock-string-limit): Add a custom value for the maximum
1717 length of the clock string in the modeline.
1718 (org-clock-mode-map): Add a keymap for the modeline string
1720 2008-09-21 Carsten Dominik <dominik@science.uva.nl>
1722 * org-compat.el (org-propertize): New function.
1724 2008-09-20 Bastien Guerry <bzg@altern.org>
1726 * org-export-latex.el (org-export-latex-tables): protect exported
1727 tables from further special chars conversion.
1728 (org-export-latex-preprocess): Preserve LaTeX environments.
1729 (org-list-parse-list): Parse descriptive lists.
1730 (org-list-to-generic, org-list-to-latex, org-list-to-html)
1731 (org-list-to-texinfo): Export descriptive lists.
1732 (org-quote-chars): Remove.
1733 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
1734 (org-export-latex-list-beginning-re): Rename to
1735 `org-list-beginning-re'
1736 (org-list-item-begin): Rename to `org-list-item-beginning'
1738 2008-09-20 Carsten Dominik <dominik@science.uva.nl>
1740 * org.el (org-refile): Allow refiling to the last entry in the
1742 (org-get-tags-at): Fix bug when inheritance is turned off.
1744 2008-09-19 Carsten Dominik <dominik@science.uva.nl>
1746 * org.el (org-indent-line-function): No longer check for src
1747 regions, this is too much overhead.
1749 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
1752 * org.el (org-scan-tags): Make sure that tags matching is not case
1753 sensitive. TODO keyword matching is case sensitive, however, to
1754 avoid confusion with similar words that are not meant to be
1757 2008-09-18 Carsten Dominik <dominik@science.uva.nl>
1759 * org.el (org-get-local-tags-at): New function.
1760 (org-get-local-tags): New function.
1762 * org-exp.el (org-export-get-categories): New function.
1764 * org-agenda.el (org-sorting-choice)
1765 (org-agenda-sorting-strategy, org-agenda-get-todos)
1766 (org-agenda-get-timestamps, org-agenda-get-deadlines)
1767 (org-agenda-get-scheduled, org-agenda-get-blocks)
1768 (org-entries-lessp): Implement sorting by TODO state.
1769 (org-cmp-todo-state): New defsubst.
1771 * org-colview.el (org-colview-construct-allowed-dates): New
1773 (org-columns-next-allowed-value): Use
1774 `org-colview-construct-allowed-dates'.
1776 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
1778 (org-columns-next-allowed-value): Use
1779 `org-colview-construct-allowed-dates'.
1781 2008-09-17 Carsten Dominik <dominik@science.uva.nl>
1783 * org.el (org-protect-slash): New function.
1784 (org-get-refile-targets): Use `org-protect-slash'.
1786 * org-agenda.el (org-global-tags-completion-table): New variable.
1788 * org-exp.el (org-export-handle-export-tags): New function.
1789 (org-export-preprocess-string): Call
1790 `org-export-handle-export-tags'.
1792 * org-plot.el: New file.
1794 * org-publish.el (org-publish-expand-components): Function removed.
1795 (org-publish-expand-projects): Allow components to have components.
1797 2008-09-13 Carsten Dominik <dominik@science.uva.nl>
1799 * org.el (org-indent-line-function): Do not indent in regions that
1800 are external source code.
1801 (org-yank-and-fold-if-subtree): New function.
1803 * org-agenda.el (org-agenda-todayp): New function.
1804 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
1805 `org-agenda-todayp'.
1807 * org.el (org-insert-heading-respect-content)
1808 (org-insert-todo-heading-respect-content): New commands.
1809 (org-insert-heading-respect-content): New option.
1810 (org-insert-heading): Respect `org-insert-heading-respect-content'.
1812 * org-clock.el (org-clock-find-position): Make sure the note after
1813 the clock line gets moved into the new clock drawer.
1815 2008-09-11 Carsten Dominik <dominik@science.uva.nl>
1817 * org-id.el (org-id-new): New option.
1819 2008-09-08 Carsten Dominik <dominik@science.uva.nl>
1821 * org-table.el (org-table-copy-down): Avoid overflow during
1822 increment. Use prefix argument 0 to temporarily disable the
1825 2008-09-07 Carsten Dominik <dominik@science.uva.nl>
1827 * org-exp.el (org-export-as-html): Do not turn on the major mode
1828 if the buffer will be killed anyway.
1829 (org-get-current-options): Exclude the #+TEXT field.
1830 (org-export-as-html): Make sure text before the first headline is
1833 * org-publish.el (org-publish-org-to): Tell the exporter that this
1834 buffer will be killed, so it is not necessary to do major mode
1837 * org-archive.el (org-archive-to-archive-sibling): Show empty
1838 lines after folding the archive sibling.
1840 * org.el (org-log-note-extra): New variable.
1842 2008-09-05 Bastien Guerry <bzg@altern.org>
1844 * org.el (org-additional-option-like-keywords): Added keywords for
1845 the _QUOTE, _VERSE and _SRC environments.
1847 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
1848 exporting _QUOTE and _VERSE environments.
1850 2008-09-05 Carsten Dominik <dominik@science.uva.nl>
1852 * org-agenda.el (org-agenda-filter-by-tag): New command.
1854 * org-exp.el (org-get-current-options): Remove angular brackets
1855 from the date entry.
1857 * org.el (org-edit-fixed-width-region): New function.
1858 (org-edit-fixed-width-region): Also try
1859 `org-edit-fixed-width-region'.
1860 (org-edit-fixed-width-region-mode): New option.
1861 (org-activate-code): Only interprete lines starting with colon
1862 plus a space as example lines.
1864 * org-remember.el (org-remember-templates): Add nil instead of
1865 empty strings to fix the length of remember templates.
1867 * org-table.el (org-calc-default-modes): Fix the time format for
1868 calc, from 12 hour to 24 hour clock.
1870 2008-09-04 Carsten Dominik <dominik@science.uva.nl>
1872 * org-agenda.el (org-agenda-get-deadlines)
1873 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
1874 entries that are pre-warnings of deadlines or reminders.
1876 * org.el (org-sort-entries-or-items): Make numeric and alpha
1877 comparisons ignore any TODO keyword and priority cookie.
1879 * org-remember.el (org-remember-handler): Reinterpretation of the
1882 2008-09-03 Carsten Dominik <dominik@science.uva.nl>
1884 * org-agenda.el (org-agenda-get-scheduled): Use new
1885 `org-scheduled' face.
1887 * org-faces.el (org-scheduled): New face.
1889 * org-wl.el (org-wl-open): Remove incorrect declaration.
1891 * org-gnus.el (org-gnus-store-link): Support for :to information
1894 * org-exp.el (org-export-as-html): Fixed typo in creator
1896 (org-export-protect-examples): New parameter indent. Insert extra
1897 spaces only when this parameter is specified.
1898 (org-export-preprocess-string): Call `org-export-protect-examples'
1899 with an indentation parameter when exporting to ASCII.
1901 * org-remember.el (org-remember-templates)
1902 (org-remember-apply-template): Allow the file component to be a
1905 * org.el (org-goto-local-search-headings): Renamed from
1906 `org-goto-local-search-forward-headings'. Added the possibility
1907 to search backwards.
1909 2008-09-02 Carsten Dominik <dominik@science.uva.nl>
1911 * org-export-latex.el (org-export-latex): New customization
1914 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
1916 2008-09-01 Carsten Dominik <dominik@science.uva.nl>
1918 * org-exp.el (org-html-do-expand): Allow {} to terminate
1921 2008-07-29 Carsten Dominik <dominik@science.uva.nl>
1923 * org.el (org-buffer-list): Select buffers based on major mode,
1926 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
1928 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
1931 * org-colview.el (org-columns-display-here): Use
1932 `org-columns-modify-value-for-display-function'.
1934 * org-colview-xemacs.el (org-columns-display-here): Use
1935 `org-columns-modify-value-for-display-function'.
1937 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
1939 * org.el (org-columns-modify-value-for-display-function): New option.
1951 * org-publish.el (org-publish-file): Make sure the directory match
1952 for the publishing directory works correctly.
1954 * org-agenda.el (org-agenda-execute-calendar-command)
1955 (org-agenda-diary-entry): Additional optional argument.
1957 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
1959 * org-exp.el (org-export-as-html): Add attributes also in mailto
1962 * org.el (org-autoload): Add `org-dblock-write:columnview'.
1971 2008-07-23 Carsten Dominik <dominik@science.uva.nl>
1973 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
1974 sure that calls from `org-export-region-as-html' do not do the
1975 special check for a subtree.
1977 2008-07-22 Carsten Dominik <dominik@science.uva.nl>
1979 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
1981 2008-07-20 Juri Linkov <juri@jurta.org>
1983 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
1984 new keymap `narrow-map' instead of binding "\C-xns".
1986 2008-07-18 Carsten Dominik <dominik@science.uva.nl>
1988 * org.el (org-open-file): Use
1989 `org-open-directory-means-index-dot-org'.
1990 (org-open-directory-means-index-dot-org): New option.
1992 2008-07-17 Carsten Dominik <dominik@science.uva.nl>
1994 * org.el (org-make-link-string): Remove link attributes from
1996 (org-open-at-point): Remove link attributes bevore using the path.
1998 * org-exp.el (org-export-as-html): Handle link attributes.
2000 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
2002 * org-table.el (org-table-to-lisp): New function.
2004 * org.el (org-narrow-to-subtree): Do not include the final newline
2005 into the narrowed region.
2007 * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
2008 bug with user-define skipping condition.
2010 2008-07-16 Carsten Dominik <dominik@science.uva.nl>
2012 * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
2014 2008-07-14 Carsten Dominik <dominik@science.uva.nl>
2016 * org-exp.el (org-export-html-style-default): Automatic overflow
2017 handling for pre fields.
2018 (org-export-as-ascii, org-export-as-html): Change default format
2021 * org-table.el (org-table-export): Offer completion for translator
2022 functions, and do not require a heading above the table.
2024 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
2025 Cater for the case of a list starting in the first line of the
2028 2008-07-09 Carsten Dominik <dominik@science.uva.nl>
2030 * org-publish.el (org-publish-find-title): Bug fix.
2031 (org-publish-org-index): Implement new :index-style option.
2033 2008-07-07 Carsten Dominik <dominik@science.uva.nl>
2035 * org-publish.el (org-publish-timestamp-filename): Use
2036 SHA1-encoded file names in the timestamp directory.
2038 2008-07-05 Carsten Dominik <dominik@science.uva.nl>
2040 * org-publish.el (org-publish-needed-p): Be verbose about files
2041 published and files skipped.
2043 * org-exp.el (org-export-preprocess-string): Swap link
2044 normalization and inernal link targeting.
2046 * org-publish.el (org-publish-needed-p): Create timestamp
2047 directory when it does not exist.
2049 2008-07-04 Bastien Guerry <bzg@altern.org>
2051 * org-clock.el (org-clock-out-when-done): Doc fix.
2053 * org.el (org-agenda-skip-unavailable-files): Doc fix.
2055 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
2056 Ignore case when searching for the COMMENT cookie at export time.
2058 2008-07-02 Carsten Dominik <dominik@science.uva.nl>
2060 * org-exp.el (org-get-file-contents)
2061 (org-get-and-remove-property): New functions.
2062 (org-export-handle-include-files): Handle the new prefix options.
2063 (org-export-as-html): Fix the verse environment.
2065 2008-07-01 Carsten Dominik <dominik@science.uva.nl>
2067 * org.el (org-time=, org-time<, org-time<=, org-time>)
2068 (org-time>=, org-time<>, org-2ft): New functions.
2069 (org-op-to-function): Also provide for the time testing fucntions.
2071 2008-06-30 Carsten Dominik <dominik@science.uva.nl>
2073 * org-exp.el (org-export-html-style-default): New constant.
2075 2008-06-29 Carsten Dominik <dominik@science.uva.nl>
2077 * org-exp.el (org-export-html-style-extra): New variable.
2078 (org-export-splice-style): New function.
2080 2008-06-26 Carsten Dominik <dominik@science.uva.nl>
2082 * org-exp.el (org-export-plist-vars, org-export-as-html):
2083 Implement `org-export-creator-info'.
2084 (org-export-creator-info): New option.
2086 2008-06-25 Carsten Dominik <dominik@science.uva.nl>
2088 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
2089 (org-property-drawer-re, org-clock-drawer-re): New constants.
2091 2008-06-23 Carsten Dominik <dominik@science.uva.nl>
2093 * org-exp.el (org-icalendar-use-deadline)
2094 (org-icalendar-use-scheduled): New options.
2095 (org-icalendar-include-todo): Default changed to t.
2096 (org-print-icalendar-entries): Implement better utilization of
2097 scheduling and deadline time stamps.
2098 (org-export-target-internal-links, org-export-as-html): Allow file
2099 lines without the "file:" prefix if the file path is an absolute
2100 path or starts with ".".
2102 * org-clock.el (org-clocktable-shift): Also undertand yesterday,
2104 (org-clock-special-range): Also undertand yesterday, lastweek etc.
2106 2008-06-18 Glenn Morris <rgm@gnu.org>
2107 * org.el (org-map-entries): Let-bind `file'.
2109 2008-06-19 Carsten Dominik <dominik@science.uva.nl>
2111 * org.el (org-agenda-skip-archived-trees): Docstring now
2112 discourages using this.
2113 (org-scan-tags): Check for org-agenda-archives-mode.
2114 (org-map-entries): Make sure org-agenda-archives-mode is nil.
2115 (org-agenda-files): Functionality of second arg changed.
2117 * org-agenda.el (org-agenda-archives-mode): New variable
2118 (org-write-agenda, org-prepare-agenda, org-agenda-list)
2119 (org-search-view, org-todo-list, org-tags-view)
2120 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
2122 (org-agenda-quit): Reset the archives mode.
2123 (org-agenda-archives-mode): New command.
2124 (org-agenda-set-mode-name): Include archives info.
2126 2008-06-18 Carsten Dominik <dominik@science.uva.nl>
2128 * org.el (org-paste-subtree): Make sure the yanked headline is
2129 visible if it was yanked at a visible point.
2130 (org-move-item-up): Fix the bug with moving white space at the end
2132 (org-show-empty-lines-in-parent): New function.
2134 2008-06-16 Carsten Dominik <dominik@science.uva.nl>
2136 * org-colview.el (org-columns-next-allowed-value): Bug fix.
2138 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
2140 * org-agenda.el (org-agenda-get-closed): Get the end time into the
2141 agenda prefix as well.
2143 * org-publish.el (org-publish-org-index): Make a properly indented
2146 * org.el (org-calendar-agenda-action-key): New option.
2147 (org-get-cursor-date): New function.
2148 (org-mark-entry-for-agenda-action): New command.
2149 (org-overriding-default-time): New variable.
2150 (org-read-date): Respect `org-overriding-default-time'.
2152 * org-remember.el (org-remember-apply-template): Respect the
2153 ovverriding default time.
2155 * org-agenda.el (org-agenda-action-marker): New variable.
2156 (org-agenda-action): New command.
2157 (org-agenda-do-action): New function.
2159 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
2161 * org.el (org-schedule, org-deadline): Protect scheduled and
2162 deadline tasks against changes that accidently remove the
2163 repeater. Also show a message with the new date when done.
2165 2008-06-15 Carsten Dominik <dominik@science.uva.nl>
2167 * org.el (org-beginning-of-line): Cater for the case when there
2168 are tags but no headline text.
2169 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
2172 2008-06-13 Carsten Dominik <dominik@science.uva.nl>
2174 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
2175 the return value is nil instead of "nil" when there is no match.
2177 * org-exp.el (org-insert-centered): Use fill-column instead of
2179 (org-export-as-ascii): Use string-width to measure the width of
2182 * org.el (org-diary-to-ical-string): No longer kill buffer
2183 FROMBUF, this is now done by the caller.
2185 * org-exp.el (org-print-icalendar-entries): Move the call to
2186 `org-diary-to-ical-string' out of the loop, and kill the buffer
2189 * org-remember.el (org-remember-visit-immediately): Position
2190 cursor after moving to the note.
2191 (org-remember-apply-template): Use a text property to record the
2193 (org-remember-handler): Align tags after pasting the note.
2195 2008-06-12 Carsten Dominik <dominik@science.uva.nl>
2197 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
2199 * org-agenda.el (org-agenda-open-link): If there is an
2200 org-bbdb-name property in the current line, jump to that bbdb
2203 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
2204 text property, so that the agenda knows where this entry comes
2207 * org-agenda.el (org-agenda-clock-in): Fixed bug in the
2208 interaction between clocking-in from the agenda, and automatic
2209 task state switching.
2211 * org-macs.el (org-with-point-at): Bug fix in macro defintion.
2213 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
2214 zmacs-region stays after this command in XEmacs.
2216 2008-06-11 Carsten Dominik <dominik@science.uva.nl>
2218 * org.el (org-scan-tags): Allow new values for ACTION parameter.
2220 * org-remember.el (org-remember-templates): Fix bug in
2221 customization type definition.
2223 * org.el (org-map-entries): New function.
2225 2008-06-11 verhuur82 <verhuur82@macbook-van-verhuur82.local>
2227 * org-agenda.el (org-agenda-skip-comment-trees): New option.
2228 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
2230 2008-06-10 Carsten Dominik <dominik@science.uva.nl>
2232 * org-remember.el (org-jump-to-target-location): New variable.
2233 (org-remember-apply-template): Set
2234 `org-remember-apply-template' if requested by template.
2235 (org-remember-handler): Start an idle timer to jump to
2238 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
2240 * org.el (org-set-regexps-and-options): Fix bug with parsing of
2242 (org-get-tags-at): Add the content of `org-file-tags'.
2244 * org-exp.el (org-export-handle-comments): Fix bug with several
2245 comment lines after each other.
2246 (org-number-to-roman, org-number-to-counter): New functions.
2247 (org-export-section-number-format): New option.
2249 2008-06-09 Carsten Dominik <dominik@science.uva.nl>
2251 * org-exp.el (org-export-protect-examples): Catch the case of a
2252 missing end_example line.
2254 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
2255 `org-file-tags' to nil.
2257 * org-colview.el (org-columns-next-allowed-value): Handle next
2258 argument NTH to directly select a value.
2260 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
2261 argument NTH to directly select a value.
2263 2008-06-08 Carsten Dominik <dominik@science.uva.nl>
2265 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
2267 2008-05-30 Carsten Dominik <dominik@science.uva.nl>
2269 * org.el (org-columns-ellipses): New option.
2271 2008-05-29 Carsten Dominik <dominik@science.uva.nl>
2273 * org-colview.el (org-columns-add-ellipses): New function.
2274 (org-columns-compact-links): New function.
2275 (org-columns-cleanup-item): Call `org-columns-compact-links'.
2276 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
2278 (org-columns-edit-value): Fixed bug with editing values from
2280 (org-columns-redo): Also redo the agenda itself.
2282 2008-05-28 Carsten Dominik <dominik@science.uva.nl>
2284 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
2287 * org-colview.el (org-agenda-columns-cleanup-item): New function.
2289 * org-exp.el (org-export-ascii-preprocess): Renamed from
2290 `org-export-ascii-clean-string'.
2291 (org-export-kill-licensed-text)
2292 (org-export-define-heading-targets)
2293 (org-export-handle-invisible-targets)
2294 (org-export-target-internal-links)
2295 (org-export-remove-or-extract-drawers)
2296 (org-export-remove-archived-trees)
2297 (org-export-protect-quoted-subtrees)
2298 (org-export-protect-verbatim, org-export-protect-examples)
2299 (org-export-select-backend-specific-text)
2300 (org-export-mark-blockquote-and-verse)
2301 (org-export-remove-comment-blocks-and-subtrees)
2302 (org-export-handle-comments, org-export-mark-radio-links)
2303 (org-export-remove-special-table-lines)
2304 (org-export-normalize-links)
2305 (org-export-concatenate-multiline-links)
2306 (org-export-concatenate-multiline-emphasis): New functions,
2307 obtained from spliiting the export preprocessor.
2309 * org-table.el (org-table-recalculate): Improve error message if
2310 the row number is invalid.
2312 2008-05-27 Carsten Dominik <dominik@science.uva.nl>
2314 * org-archive.el (org-archive-save-context-info): Fix bugs in
2315 customization setup and docstring.
2317 * org-exp.el (org-export-html-style): Changed the size of in the
2318 <pre> element to 90%.
2320 2008-05-26 Carsten Dominik <dominik@science.uva.nl>
2322 * org.el (org-find-src-example-start): Function removed.
2323 (org-edit-src-find-region-and-lang): New function.
2325 2008-05-25 Carsten Dominik <dominik@science.uva.nl>
2327 * org.el (org-edit-src-exit): New function.
2328 (org-exit-edit-mode): New minor mode.
2330 * org-exp.el (org-export-preprocess-string): Fix bug with removing
2331 comment-like lines from protected examples.
2333 * org.el (org-edit-src-example, org-find-src-example-start)
2334 (org-protect-source-example, org-edit-special): New functions.
2336 2008-05-24 Carsten Dominik <dominik@science.uva.nl>
2338 * org-publish.el (org-publish-project-alist): Fix typo in
2340 (org-publish-project-alist): Handle :index-title property.
2342 2008-05-21 Carsten Dominik <dominik@science.uva.nl>
2344 * org-export-latex.el (org-export-as-latex): Make sure region
2345 bounds are correct. Parse subtree properties relating to export.
2347 * org-exp.el (org-export-add-options-to-plist): New function.
2348 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
2350 2008-05-20 Carsten Dominik <dominik@science.uva.nl>
2352 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
2355 * org-exp.el (org-export-get-title-from-subtree)
2356 (org-export-as-ascii, org-export-as-html): Make sure the original
2357 region-beginning and region-end are used, even after moving
2359 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
2362 * org-remember.el (org-remember-last-stored-marker): New variable.
2363 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
2364 (org-remember-handler): Also use marker to remember
2365 last-stored position.
2367 * org.el (org-goto-marker-or-bmk): New function.
2369 2008-05-19 Carsten Dominik <dominik@science.uva.nl>
2371 * org.el (org-file-properties): Renamed from `org-local-properties'.
2372 (org-scan-tags): Take file tags into account.
2373 (org-tags-match-list-sublevels): Default changed to t.
2375 * org-exp.el (org-export-as-html): Close paragraph after a
2378 * org.el (org-update-parent-todo-statistics): New function.
2380 * org-exp.el (org-icalendar-store-UID): New option.
2381 (org-icalendar-force-UID): Option removed.
2382 (org-print-icalendar-entries): IMplement UIDs.
2384 2008-05-18 Carsten Dominik <dominik@science.uva.nl>
2386 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
2388 2008-05-16 Carsten Dominik <dominik@science.uva.nl>
2390 * org-faces.el (org-column): Document how this face is being used
2391 and why sometimes the background faces shine through.
2393 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
2395 * org-publish.el (org-publish-attachment): Create publishing
2396 directory if it does not yet exist.
2398 * org-table.el (org-calc-default-modes): Change default number
2399 format to (float 8).
2401 * org.el (org-olpath-completing-read): New function.
2402 (org-time-clocksum-format): New option.
2403 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
2405 * org-clock.el (org-clock-display, org-clock-out)
2406 (org-update-mode-line): Use `org-time-clocksum-format'.
2408 * org-colview-xemacs.el (org-columns-number-to-string): Use
2409 `org-time-clocksum-format'.
2411 * org-colview.el (org-columns-number-to-string): Use
2412 `org-time-clocksum-format'.
2414 2008-05-15 Carsten Dominik <dominik@science.uva.nl>
2416 * org-id.el: New file, move from contrib to core.
2418 * org-exp.el (org-icalendar-force-UID): New option.
2420 2008-05-14 Carsten Dominik <dominik@science.uva.nl>
2422 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
2423 shifted by one day if theere is a date range without an end
2426 * org.el (org-try-structure-completion): New function.
2428 2008-05-13 Carsten Dominik <dominik@science.uva.nl>
2430 * org.el (org-set-font-lock-defaults): Improve fontification of
2432 (org-insert-item): Handle description lists.
2433 (org-adaptive-fill-function): Improve auto indentation in
2436 * org-exp.el (org-export-as-html, org-export-preprocess-string):
2437 Implement VERSE environment.
2438 (org-export-preprocess-string): Implement the COMMENT
2441 * org-export-latex.el (org-export-latex-preprocess): Implement
2444 2008-05-12 Carsten Dominik <dominik@science.uva.nl>
2446 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
2449 2008-05-10 Carsten Dominik <dominik@science.uva.nl>
2451 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
2453 * org.el (org-quote-csv-field): New functions.
2455 * org-table.el (org-table-export-default-format): Remove :splice
2456 from default format, we get the same effect by not specifying
2458 (org-table-export): Improve setup, distinguish better between
2459 interactive and non-interactive use, allow specifying the format
2460 on the fly, better protection against wrong file names.
2461 (orgtbl-to-generic): Fix documentation. Do not require :tstart
2462 and :tend when :splice is omitted.
2464 2008-05-09 Bernt Hansen <bernt@norang.ca>
2466 * org-clock.el (org-clock-select-task): Make sure the selection
2467 letters are 1-9 and A-Z, no special characters.
2469 2008-05-09 Carsten Dominik <dominik@science.uva.nl>
2471 * org-exp.el (org-export-htmlize): New group.
2472 (org-export-htmlize-output-type)
2473 (org-export-htmlize-css-font-prefix): New options.
2474 (org-export-htmlize-region-for-paste): New function.
2475 (org-export-htmlize-generate-css): New command.
2477 2008-05-08 Juanma Barranquero <lekktu@gmail.com>
2479 * org/org.el (org-modules, org-format-latex-options):
2480 * org/org-archive.el (org-archive-stamp-time)
2481 (org-archive-save-context-info):
2482 * org/org-faces.el (org-hide):
2483 * org/org-irc.el (org-irc-parse-link):
2484 * org/org-macs.el (org-call-with-arg, org-autoload):
2485 * org/org-mew.el (org-mew-store-link):
2486 * org/org-remember.el (org-remember-store-without-prompt)
2487 (org-remember-templates): Fix typos in docstrings.
2489 * org/org-info.el (org-info-store-link): Remove leftover docstring.
2491 * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
2492 (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
2493 (org-bbdb-anniv-split): Fix typos in docstrings.
2495 * org/org-publish.el (org-publish-project-alist): Doc fixes.
2496 (org-publish-use-timestamps-flag): Reflow docstring.
2497 (org-publish-files-alist): Fix typos in docstring.
2499 2008-05-08 Carsten Dominik <dominik@science.uva.nl>
2501 * org.el (org-set-visibility-according-to-property): New function.
2502 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
2503 and compute the regular expressions, and update font-lock.
2504 (org-property-re): Allow a dash in property names.
2506 * org-archive.el (org-extract-archive-file): Insert the file name
2507 without the path into the format, to allow the location format to
2508 contain a subdirectory.
2510 * org-agenda.el (org-agenda-post-command-hook): If point is at end
2511 of buffer, and the `org-agenda-type' property undefined, use the
2512 value from the character before.
2514 * org.el (org-add-planning-info): Don't let indentation for
2515 would-be timestamp become extra whitespace at the end of headline.
2517 2008-05-07 Carsten Dominik <dominik@science.uva.nl>
2519 * org.el (org-remove-double-quotes, org-file-contents): New
2522 * org-exp.el (org-infile-export-plist): Also parse the
2523 contents of #+SETUPFILE files, recursively.
2525 * org.el (org-set-regexps-and-options): Also parse the
2526 contents of #+SETUPFILE files, recursively.
2528 * org-exp.el (org-export-handle-include-files): New function.
2529 (org-export-preprocess-string): Call
2530 `org-export-handle-include-files'.
2532 * org.el (org-delete-property-globally)
2533 (org-delete-property, org-set-property): Ignore case during
2535 (org-set-property): Use `org-completing-read' instead of
2538 * org.el (org-complete-expand-structure-template): New,
2539 experimental function.
2540 (org-structure-template-alist): New, experimental option.
2541 (org-complete): Call `org-complete-expand-structure-template'.
2543 2008-05-06 Bastien Guerry <bzg@altern.org>
2545 * org-export-latex.el (org-export-latex-preprocess): Added
2546 support for blockquotes.
2548 2008-05-05 Carsten Dominik <dominik@science.uva.nl>
2550 * org.el (org-read-date-analyze): Catch the case where only a
2553 2008-05-04 Carsten Dominik <dominik@science.uva.nl>
2555 * org.el (org-set-font-lock-defaults): Make the description
2558 * org-exp.el (org-export-as-html, org-close-li): Implement
2561 2008-05-04 Jason Riedy <jason@acm.org>
2563 * org-table.el (*orgtbl-default-fmt*): New variable.
2564 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
2565 when there is no other fmt available.
2567 (orgtbl-to-generic): Allow an explicitly nil :tstart or
2568 :tend to suppress the appropriate string.
2570 (orgtbl-to-orgtbl): New function for translating to another orgtbl
2573 2008-05-02 Carsten Dominik <dominik@science.uva.nl>
2575 * org.el (org-read-date-analyze): "." as an alias for "+0" in
2578 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
2581 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
2584 2008-05-01 Carsten Dominik <dominik@science.uva.nl>
2586 * org-clock.el (org-clock-find-position): Don't include notes
2589 * org-archive.el (org-archive-subtree): No longer remove an
2590 extra line after cutting the subtree. `org-cut-subtree' already
2593 * org-remember.el (org-remember-handler): Only kill the target
2594 buffer if it does not contain the running clock.
2596 * org.el (org-markers-to-move): New variable.
2597 (org-save-markers-in-region, org-check-and-save-marker)
2598 (org-reinstall-markers-in-region): New function.
2599 (org-move-subtree-down, org-copy-subtree): Remember relative
2600 marker positions before cutting.
2601 (org-move-subtree-down, org-paste-subtree): Restore relative
2602 marker positions after pasting.
2604 * org-remember.el (org-remember-clock-out-on-exit): New option.
2605 (org-remember-finalize): Clock out only if the setting in
2606 `org-remember-clock-out-on-exit' requires it.
2607 (org-remember-handler): Do the cleanup in the buffer, to make sure
2608 that the clock marker remains in tact.
2610 2008-04-29 Carsten Dominik <dominik@science.uva.nl>
2612 * org-clock.el (org-clock-goto): Widen buffer if necessary.
2613 (org-clock-in): Make sure that also tasks outside the narrowed
2614 region will be clocked in correctly.
2615 (org-clock-insert-selection-line): Widen the buffer so that we can
2616 find the correct task heading.
2618 * org.el (org-base-buffer): New function.
2620 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
2621 and ";" are escaped.
2622 (org-print-icalendar-entries): Also apply
2623 `org-icalendar-cleanup-string' to the headline, not only to the
2626 2008-04-28 Carsten Dominik <dominik@science.uva.nl>
2628 * org-exp.el (org-export-preprocess-hook): New hook.
2629 (org-export-preprocess-string): Call
2630 `org-export-preprocess-hook'.
2632 * org.el (org-font-lock-hook): New variable.
2633 (org-font-lock-hook): New function.
2634 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
2638 ;; add-log-time-zone-rule: t
2641 Copyright (C) 2008 Free Software Foundation, Inc.
2643 This file is part of GNU Emacs.
2645 GNU Emacs is free software: you can redistribute it and/or modify
2646 it under the terms of the GNU General Public License as published by
2647 the Free Software Foundation, either version 3 of the License, or
2648 (at your option) any later version.
2650 GNU Emacs is distributed in the hope that it will be useful,
2651 but WITHOUT ANY WARRANTY; without even the implied warranty of
2652 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2653 GNU General Public License for more details.
2655 You should have received a copy of the GNU General Public License
2656 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
2658 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c