org-babel: tightening up insertion of results
[rgr-org-mode.git] / ORGWEBPAGE / Changes.org
blob3600a40e63c26573dd5d37182e1f1e60b110ca43
1 #   -*- mode: org; fill-column: 65 -*-
3 #+begin_html
4 <a href="/"><img src="http://orgmode.org/img/org-mode-unicorn.png" class="logo-link" /></a>
5 #+end_html
7 #+STARTUP: indent hidestars
9 * Version 6.31
10  :PROPERTIES:
11  :VISIBILITY: content
12  :CUSTOM_ID: v6.31
13  :END:
15 ** Org-babel is now part of the Org distribution
17 Org-babel provides the ability to execute source code in many
18 different languages within org-mode documents.  The results of
19 code execution -- text, tables and graphics -- can be integrated
20 into Org-mode documents and can be automatically updated during
21 publishing.  Since Org-babel allows execution of arbitrary code,
22 the range of tasks that can be addressed from within an Org mode
23 file becomes very large.  Examples of ways in which Org-babel
24 might be used include
26 - Documenting a task that involves some programming so that it is
27   automatically repeatable
28 - Creating dynamic (executable) reports that respond to changes
29   in the underlying data (Reproducible Research)
30 - Exportation of code contained in an Org-mode document into
31   regular source code files (Literate Programming)
33 Additionally, Org-babel provides a programming environment within
34 Org files, in which data can be transmitted between parameterised
35 source code blocks in different languages, as well as between
36 source code blocks and Org-mode tables.
38 A simple API is defined so that users can add support for new
39 "languages" (broadly construed).  Languages currently supported
40 are:
42 - asymptote
43 - css
44 - ditaa
45 - dot
46 - emacs-lisp
47 - gnuplot
48 - haskell
49 - ocaml
50 - python
51 - R
52 - ruby
53 - sass
54 - sh
55 - sql
57 Org-babel was designed and implemented Eric Schulte with continued
58 significant help on both accounts from Dan Davison.
60 ** MobileOrg support
62 Richard Morelands iPhone/iPod Touch program [[http://mobileorg.ncogni.to/][MobileOrg]] can view
63 Org files, mark entries as DONE, flag entries for later
64 attention, and capture new entries on the road.  Org-mode has now
65 support to produce a staging area where MobileOrg can download
66 its files, and to integrate changes done on the phone in a half
67 automatic, half interactive way.  See the new appendix B in the
68 manual for more information.
71 ** Indented lines starting with "#+ " are treated as comments
73 To allow comments in plain lists without breaking the list
74 structure, you can now have indented comment lines that start
75 with "#+ ".
77 ** New STARTUP keyword `showeverything'
78     
79 This will make even drawer contents visible upon startup.
80 Requested by Jeff Kowalczyk.
82 ** New contributed package org-invoice.el
84 This package collects clocking information for billing
85 customers.
87 Thanks to Peter Jones for this contribution.
89 ** Encrypting subtrees
91 /org-crypt.el/ by John Wiegley and Peter Jones allows encryption
92 of individual subtrees in Org-mode outlines.  Thanks to John and
93 Peter for this contribution.
95 ** Agenda: Support for including a link in the category string
96     
97 The category (as specified by an #+CATEGORY line or CATEGORY
98 property can contain a bracket link.  While this sort-of worked
99 in the past, it now is officially supported and should cause no
100 problems in agenda display or update.  The link can be followed
101 by clicking on it, or with =C-c C-o 0=.
103 This was a request by Peter Westlake.
105 * Version 6.30
106  :PROPERTIES:
107  :CUSTOM_ID: v6.30
108  :END:
110 ** Inconsistent changes
112 *** Agenda now uses =f= and =b= to move through time
114 Up to now, the Org-mode agenda used the cursor keys =left= and
115 =right= to switch the agenda view forward an backward through
116 time.  However, many people found this confusing, and others
117 wanted to be able to do cursor motion in the agenda, for example
118 to select text.  Therefore, after an extensive discussion on
119 =emacs-orgmode@gnu.org=, it was decided to use the =b= and 
120 =f= keys instead, and to let the cursor keys do cursor motion
121 again.
123 *** Agenda follow mode is now on the =F= key
125 This was necessary to free up the =f= key, see above.
127 ** Details
129 *** Maintenance
131 **** New command to submit a bug report
133 There is now a special command =M-x org-submit-bug-report=.  This
134 command will create a mail buffer with lots of useful details.
135 In particular, it contains complete version information for Emacs
136 and Org-mode.  It will also (if you agree to it) contain all
137 non-standard settings of org-mode and outline-mode related
138 variables.  Even if you do not sent your emails from within
139 Emacs, please still use this command to generate the information
140 and then copy it into your mail program.
142 The command will not generate and include a =*Backtrace*= buffer,
143 please do this yourself if you have hit an error.  For more
144 information, see the [[http://orgmode.org/manual/Feedback.html#Feedback][feedback section]] of the manual.
146 **** New contributed package org-track.el
148 This package allows to keep up-to-date with current Org
149 development, using only Emacs on-board means.  So if you don't
150 want or cannot use =git=, but still want to run the latest and
151 hottest Org-mode, this is for you.
153 Thanks to Sebastian Rose for this contribution.
155 *** Agenda
157 **** Agenda now uses =f= and =b= to move through time
159 Up to now, the Org-mode agenda used the cursor keys =left= and
160 =right= to switch the agenda view forward an backward through
161 time.  However, many people found this confusing, and others
162 wanted to be able to do cursor motion in the agenda, for example
163 to select text.  Therefore, after an extensive discussion on
164 =emacs-orgmode@gnu.org=, it was decided to use the =b= and 
165 =f= keys instead, and to let the cursor keys do cursor motion
166 again.
168 **** Agenda follow mode is now on the =F= key
170 This was necessary to free up the =f= key, see above.
172 **** The agenda can be put into a dedicated frame
174 When the variable =org-agenda-window-setup= has the value
175 =other-frame=, then the new frame created to show the agenda
176 will now have the window marked as /dedicated/.  As a
177 consequence, exiting the agenda while the agenda is the only
178 window on the frame will kill that frame.
180 This was a request by Henry Atting.
182 **** New mode to show some entry body text in the agenda
184 There is now a new agenda sub-mode called
185 =org-agenda-entry-text-mode=.  It is toggled with the =E= key.
186 When active, all entries in the agenda will be accompanied by a
187 few lines from the outline entry.  The amount of text can be
188 customized with the variable =org-agenda-entry-text-maxlines=.
190 This was a request by Anthony Fairchild, Manish, and others.
192 **** Improve following links from the agenda
193     
194 =C-c C-o= in the agenda will now offer all links in the headline
195 and text of an entry.  If there is only a single link, it will be
196 followed immediately.
198 **** Avoid some duplicate entries
200 There is a new variable that can be used to avoid some duplicate
201 agenda entries: =org-agenda-skip-scheduled-if-deadline-is-shown=
202 If that is set, it avoids that an entry shows up in the agenda for
203 today for both a scheduling and a deadline entry.  See the
204 docstring of the variables for more details.
206 This partially addresses a request by Samuel Wales. 
208 **** Mark the running clock in the agenda.
210 If the entry currently being clocked is present in the agenda, it
211 will be highlighted with the face =org-agenda-clocking=.
213 This was a request by Rainer Stengele.
216 *** Export
218 **** Allow LaTeX export to use the listings package
220 The LaTeX =listings= package can now be used for formatting
221 fontified source code in many programming languages.  For more
222 information, see
223 http://thread.gmane.org/gmane.emacs.orgmode/16269 and
224 http://orgmode.org/worg/org-faq.php#fontified_source_code_w_latex
226 Thanks to Eric Schulte for this patch.
228 **** Remove table rows that only contain width and alignment markers
229     
230 The width and alignment in table columns can be set with a cookie
231 like "<10>" or "<r>" or "<r10>".  In order to keep Org from
232 exporting such lines, the first column of a line should contain
233 only "/".  However, for convenience, there is now a special case:
234 If the entire row contains only such markers, the line will
235 automatically be discarded during export, even is the first
236 column is not "/".
238 **** Allow Macro calls to span several lines.
240 Macro calls may now span several lines, to write several
241 arguments in a cleaner way.  The result of a macro call can also
242 span several lines, by inserting the string "\n" (backslash
243 followed by n) into the value in the macro definition.
245 These were requests by Stefan Vollmar.
247 *** Misc
249 **** Quick access to all links in an entry
251 If =C-c C-o= is called while the cursor is in a headline, but not
252 directly on a link, then all links in the entry will be offered
253 in a small menu.  If there is only a single link, it will be
254 followed without a prompt.
256 **** Visibility Cycling: Allow to show all empty lines after a headline
257     
258 =org-cycle-separator-lines= can now be set to a negative value,
259 to indicate that, if the number of empty lines before a visible
260 entry is greater than the specified number, then *all* empty
261 lines should be shown.
263 This was a request by "PT" whatever this means.
265 **** Allow language names to replace some strange major mode names
267 Sometimes a language uses a major mode which can't be guessed
268 from it's name.  There is now a new variable =org-src-lang-modes=
269 which can be used to map language names to major modes when this
270 is the case.  This is used when editing a source-code 
271 block, or when exporting fontified source-code with htmlize.
273 Thanks to Eric Schulte for a patch to this effect.
275 **** iswitchb support for many completion prompts
276     
277 This is enabled using =org-completion-use-iswitchb=, and follows
278 the same model of usage as for ido users.
280 Thanks to John Wiegley for a patch to this effect.
282 **** New commands to set the effort property of an entry
284 There is now a special command, =C-c C-x e= to set the =Effort=
285 property of an entry.  From the agenda you can even use =e=.
286 If you have set up allowed values for the =Effort= property, then
287 using a prefix argument will directly select the nth allowed
288 value.  For example, in the agenda, =5 e= will select the 5th
289 allowed value.
291 This was a request by Michael Gilbert
293 **** Edit src works now better with killing buffer
295 Thanks to Dan Davison for a patch to this effect
298 * Version 6.29
299  :PROPERTIES:
300  :CUSTOM_ID: v6.29
301  :END:
303 ** Structure editing and cycling
305 *** New minor mode =org-indent-mode=
307 This mode implements outline indentation similar to clean view,
308 but in a dynamic and virtual way, at display time.  I have wanted
309 this functionality for years and tried several implementations,
310 all unworkable.  Emacs 23 has finally made it possible.  So this
311 solution is for Emacs 23 only, and I am not sure yet how stable
312 it really is.  Time will tell.
314 Currently I do not recommend to turn it on globally using
315 the variable =org-startup-indented=.  But you can turn it on
316 for a particular buffer using
318 #+begin_src org
319   ,#+STARTUP: indent
320 #+end_src
322 Turning on this minor mode automatically turns on
323 =org-hide-leading-stars=, and it turns off
324 =org-adapt-indentation=.
326 *** Skip CHILDREN state if there are no children
328 When a subtree does not have any children, visibility
329 cycling now skips the CHILDREN state.  You can customize
330 this behavior with the variable
331 =org-cycle-skip-children-state-if-no-children=.
333 *** Nodes without keyword can now be counted for statistics
335 See the variable =org-provide-todo-statistics= for details.
336 It can be the symbol =all-headings=, or a list of TODO
337 states to consider.
339 This was requested by David A. Gershman.
341 *** New function =org-list-make-subtree=
343 This function converts the plain list at point into a
344 subtree, preserving the list structure.  The key for this
345 command is =C-c C-*=.  Thanks to Ilya Shlyakhter for this
346 suggestion.
348 *** Headlines can be fontified to the right window border
350 Use the variable =org-fontify-whole-heading-line= to turn
351 this on.  Then headline fontification will include the final
352 newline.  If your setup for headline faces includes a
353 background different from the default background, this setup
354 creates a visual line across the window.
356 *** Inline tasks have become better citizens
358 The new key =C-c C-x t= inserts an inline task including an
359 END line.  Inline tasks play along with (i,e, are ignored
360 by) link creation and footnotes.  Inline tasks with an =END=
361 line can be refiled and archived.  During the refile/archive
362 operation, the tasks become normal tasks and the =END= line
363 disappears.
365 These improvements reflect reports and requests by Peter
366 Westlake and Matt Lundin.
368 *** Archive subtree and move to next visible task
370 When archiving a task, the cursor now ends up on the next
371 headline, so the repeated application of the archiving
372 command will archive successive tasks.
374 Thanks to Bernt Hansen for a patch to this effect.
376 *** Renumbering the fn:N-like footnotes
378 The new footnote action =r= will renumber simple =fn:N=
379 footnotes in the current document.  The action =S= will
380 first do the renumbering and then sort the footnotes (the
381 =s= action).
383 This was a request by Andreas Röhler.
385 *** Automatic sorting and renumbering
387 Customize the new variable =org-footnote-auto-adjust= or use
388 the =#+STARTUP= option =fnadjust= to get automatic
389 renumbering and sorting of footnotes after each
390 insertion/deletion.
392 This was a request by Andreas Röhler.
394 *** Improvements to plain-list-cycling with TAB.
396 TAB now by default cycles visibility in plain lists if the
397 cursor is at a plain list item.  This corresponds to the new
398 default value =t= of =org-cycle-include-plain-lists=.  If
399 you want to treat plain list items as part of the outline
400 hierarchy during cycling of outline headings (this is what a
401 =t= value used to mean), set this variable to =integrate=.
403 *** Force bullet type changes during plain list demotion
405 We now have a mechanism to force a particular bullet type
406 when demoting a plain list item.  See the variable
407 =org-list-demote-modify-bullet= for details.
409 This was a request by Rainer Stengele.
412 ** Tables
414 *** Relative row references may now cross hlines
416 A relative row reference like @-1 in a table may now reach
417 across a horizontal separator line.  I hope this will not
418 break any important tables out there, but I think it is the
419 right thing to do.
421 The sole original reason for not allowing such crossing was
422 to implement running averages of one column in the next.
423 This can now be done using field formulas near the beginning
424 and end of the column, and a column formula for the central
425 part.
427 See the variable =org-table-relative-ref-may-cross-hline=
428 for more details.
430 *** Cut or copy single fields
432 =C-c C-x C-w= and =C-c C-x M-w= now act on single table
433 fields if there is no active region defined.
435 ** Links
437 *** Find agenda files linking to the current location
439 The new command =org-occur-link-in-agenda-files= creates a
440 link like =org=store-link= would, and then searches all
441 agenda files for this link.  So for example, you could be in
442 a GNUS message, trying to find tasks that have links to this
443 message.
445 *** Include stored links into link completion
447 When inserting a link with =C-c C-l=, TAB completion will
448 now not only access link prefixes, but also the stored
449 links.
452 ** Agenda
454 *** Bulk commands: Add Schedule and Deadline processing
456 Agenda bulk commands on marked entries now can also set the
457 scheduling date or a deadline.  Normally, all entries will
458 be set to the specified date.  However, when writing the
459 change as "++5d" or "++2w", then each time stamp will
460 independently be shifted by that amount.
462 *** Tags-todo searches: No longer force to list sublevels
464 For historic reasons, =org-tags-match-list-sublevels= was
465 forced to =t= in tags-todo agenda searches.  Now we no
466 longer do this and accept the user setting of this variable.
468 Thanks to Patrick Bahr for bringing this up.
471 ** Export
473 *** Use file-source.org format instead of file.org-source
475 When publishing the source Org file to the source directory
476 (i.e. if the publishing directory is the same as the source
477 directory), then the file name will now look like
478 =file-source.org= and =file-source.org.html=.  Note that if you
479 do use this kind of setup, you probably want to specify
481 #+begin_src emacs-lisp
482 :exclude "-source\.org"
483 #+end_src
485 in your publishing project, to avoid that a new generation of
486 =-source= files is created each time you publish the project.
488 *** LaTeX export: Skip title command when there is no title
490 Using =#+TITLE:= without a value makes the LaTeX export
491 ignore the value of =org-export-latex-title-command=.
493 *** New option =org-export-html-footnote-format=
495 This defines the format for footnote references.  This
496 string must contain =%s= which will be replaced by the
497 footnote label.
499 *** More export options for source code examples
501 Allow whitespace in code references.  Allow the =-r= switch
502 to remove the references in the source code even when the
503 lines are not numbered: the labels can be explicit enough.
504 Note that =-r -k= is the same as no switch at all.
506 Thanks to Ulf Stegemann for bring this up.
508 *** LaTeX export: Allow more environment for low-level headings
510 The user can now define a non-standard environment or macro
511 to handle export of low-level headings to LaTeX.
513 For details, see the variable =org-export-latex-low-levels=.
515 *** LaTeX export: Add postscript file extensions for images
517 Some people process LaTeX files not directly to pdf, but go
518 through dvi and then to ps or pdf.  In that case, allowed
519 images are ps and eps files, not pdf and jpg.
521 This commit adds the two extensions, so that export using
522 that alternative path can be supported better.  However, it
523 is up to the user to make sure that the images are actually
524 compatible with the backend.
526 *** HTML export: Show UP and HOME links
528 =org-export-html-link-up= and =org-export-html-link-home=
529 are now also inserted into normal HTML export, above the
530 page title.
532 *** General mechanism for local variable settings
534 Many different people want to set many different variables
535 in a buffer-local way for export.  This cannot be done with
536 file variables, because the Org buffer is not current while
537 the exporter is running.
539 Lots of variables can be set with the =#+OPTIONS= lines, but
540 finding abbreviations goes only so far.
542 Therefore we have now a general mechanism that can be used
543 to bind variables during export operations.
545 A line like:
547 #+begin_src org
548   ,#+BIND: variable value
549 #+end_src
551 will bind the variable to value.  For example, the line
553 #+begin_src org
554   ,#+OPTIONS: toc:nil
555 #+end_src
557 can now equivalently be written as
559 #+begin_src org
560   ,#+BIND: org-export-with-toc nil
561 #+end_src
563 *** Clean out publishing timestamp directory
565 When changing the publishing setup, old timestamp files can
566 be left behind.  Forcing publishing of all projects with
567 =C-u C-c C-e E= will remove all existing timestamp files.
569 ** Miscellaneous
571 *** Calendar for reading a date forced into current frame.
573 Separate-frame setup for calendar had caused problems in
574 AquaEmacs.
576 *** Set timers for headlines
578 You can now set a timer related to any headline, like an
579 alarm clock.  Three new commands have been defined:
581 - org-timer-set-timer :: bound to =C-c C-x ;= in Org buffers
582   and to =;= in Org agenda buffers.  This function sets a
583   timer for the headline the cursor is currently it.  Up to
584   three timers can be used at any time.
586 - org-timer-show-remaining-time :: Show the remaining time
587   for the last timer set.
589 - org-timer-cancel-timers :: Cancel all timers.
591 This functionality was requested by Samuel Wales and
592 emulates that of /tea-time.el/ -- see the emacswiki doc at
594       http://www.emacswiki.org/emacs/tea-time
596 *** Clock reports may include a time stamp
598 Using =:timetamp t= as an option in a clock report now
599 allows insertion of the timestamp for the clocked entry.
600 Timestamps are searched for in this order: =SCHEDULING=,
601 =TIMESTAMP=, =DEADLINE= and =TIMESTAMP_IA=.
603 *** New option =org-id-uuid-program=
605 On some systems, =uuidgen= is named =uuid=.
607 *** Clock notification handler made configurable
609 See the variable =org-show-notification-handler=.
611 *** New option =org-tags-sort-function=.
613 This allows tags to be sorted by =string<=, =string>=, or a
614 custom function.
616 Thanks to James TD Smith for a patch to this effect.
618 *** Improvements for org-feed.el
620 But fixes, and allowing to choose between =wget= and =curl=.
622 Thanks to Christopher League for a patch to this effect.
625 * Version 6.28
626  :PROPERTIES:
627  :CUSTOM_ID: v6.28
628  :END:
631 ** Agenda changes
632 *** Refiling now works from the agenda
634 The command =C-c C-w= can be executed to refile an entry shown in
635 the agenda.  After the command, the entry will no longer be shown
636 in the agenda.  It it is still in an agenda file, refresh the
637 agenda to bring it up from it's new context.
639 *** Bulk action
641 You can now use the =m= key to mark entries in the agenda.  =u=
642 will unmark the etry at point, and =U= will unmark everything.
643 When one or more entries have been selected, the =B= key will
644 execute an action on all selected entries.  I believe this bulk
645 action makes mainly sense for the commands that require answering
646 interactive prompts.  So far the supported actions are
648  - Refile all selected entries to a single destination
649  - Archive all selected entries
650  - Set the TODO state of all selected entries, bypassing any
651    blocking or note-taking.
652  - Add or remove a tag to/from all selected entries
654 We can add more actions, if you convince me they make sense.
656 *** Modified keys
658 To make room for the new Bulk action commands, some keys in the
659 agenda buffer had to move:
661 There is a new command bound to the =v= key, it dispatches
662 various view mode changes.  Month and year view are now only
663 available as =v m= and =v y=, respectively.  Turning on
664 inclusion of archive trees and files (unsed to be on =v=) is
665 now on =v a= and =v A=.
667 ** Improvements related to =#+begin= blocks
669 *** Indented blocks
671 =#+begin_ ... +#end_...= blocks may now be indented along
672 with the structure of your document.  So the =#+= lines no
673 longer need to start in column 0, these lines can be, along
674 with the block contents, indented arbitrarily.  Org supports
675 this during editing with "C-c '", and now finally treats them
676 consistently during export across all backends.  This makes
677 these blocks work much better with plain list structure
678 editing, and it also looks better if you like to indent text
679 under outline headings.  For example:
681 #+begin_src org
682   ,*** This is some headline
683   ,    #+begin_example
684   ,    here we have an example
685   ,    #+end_example
686   ,
687   ,    - a plain list
688   ,      - a sublist item
689   ,        - a second sublist item
691   ,          #+begin_center
692   ,           centering within the plain list item
693   ,          #+end_center
695   ,      #+begin_example
696   ,       This example does terminate the sublist,
697   ,       the indentation of the #+begin line counts.
698   ,      #+end_example
700   ,    - but the top level plain lists continues here
701 #+end_src
703 From now on, the indentation of such a block decides whether
704 it is part of a plain list item or if it is actually
705 terminating the list.  This was so far inconsistent between
706 editing behavior and export, now it is consistent.
708 The content of the block, i.e. the text between the #+ lines
709 gets an extra indentation of two space characters, which I
710 find visually pleasing.  You can change the amount of extra
711 indentation using the variable
712 =org-src-content-indentation=.
714 This was a pretty complex change, achieved in many small
715 steps over the last couple of weeks.  It cleans up one of the
716 more annoying inconsistencies in Org.  I hope it will work,
717 but I am sure you will let me know if not.
719 *** Indented tables
721 Also tables can be fully indented now.  What is new here is
722 that the =#+TBLFM= line, and also things like =#+caption=,
723 =#+label=, =#+attr_...= etc can be indented along with the
724 table.  Again, this makes the look of the document better and
725 allows for proper plain list structure editing.
727 *** Protected blocks
729 Some =#+begin_ ... +#end_...= blocks contain text that should not
730 be processed like normal Org-mode text.  =example= and =src=
731 block fall into this class, and so do =ditaa= blocks, for
732 example.  The content in such blocks is now properly fontified in
733 a single face (called =org-block=).  This was a frequently
734 requested feature.  The list of blocks that should be protected
735 from normal Org-mode fontification is defined in the variable
736 =org-protecting-blocks=.  Modules defining new blocks should add
737 to this variable when needed.  =org-exp-blocks.el= does this
738 already.
740 *** Hide and show the contents of blocks
742 Blocks can now be folded and unfolded with =TAB=.  If you
743 want to have all blocks folded on startup, customize
744 =org-hide-block-startup= or use the =#+STARTUP= options
745 =hideblocks= or =showblocks= to overrule this variable on a
746 per-file basis.
748 Thanks to Eric Schulte for a patch to this effect.
750 *** Moved Eric Schulte's org-exp-blocks.el into the core
752 This seems to be getting a lot of use now, so it is now part of
753 the core and loaded automatically.  This package can now also be
754 used to define new blocks.  Customize the variable
755 =org-export-blocks= or use the function
756 =org-export-blocks-add-block=.
759 ** New and updated contributed modules
760 *** org-export-generic.el is now a contributed package.
762 This new module allows users to export an Org page to any type of
763 output by constructing the output using a list of prefixes,
764 format specifications and suffixes for the various types of org
765 data (headlines, paragraphs, list bullets, etc).  Use the
766 =org-set-generic-type= function to define your own export types
767 and have them bound to a key (use an upper-case letter for user
768 export definitions).
770 Thanks to Wes Hardaker for this contribution with a lot of
771 potential.
772 *** New contributed modules org-mac-iCal.el by Christopher Suckling
774 See the [[http://orgmode.org/worg/org-contrib/org-mac-iCal.php][documentation on Worg]].
776 *** org-jira.el: New file, by Jonathan Arkell
778 Links to Jira tickets.
780 *** org-R.el: Updated.
782 /org-R.el/ has been updated, thanks to Dan Davison for this.
784 *** =[ TABLE-OF-CONTENTS]= is now also used for LaTeX export
786 This cookie will mark the location of the =\tableofcontents=
787 macro.  Triggered by a report by Yuva.
790 ** Changes to the clocking system
791 *** New option `org-clock-out-switch-to-state'.
793 Clocking out can now switch the task to a particular state.
795 This was a request by Manish.
797 *** More control about what time is shown in mode line while clocking
799 - If you have an =Effort= property defined, its value is also
800   shown in the mode line, and you can configure =org-clock-sound=
801   to get an alert when your planned time for a particular item is
802   over.
804 - When an entry has been clocked earlier, the time shown in the
805   mode line while the item is being clocked is now the sum of all
806   previous, and the current clock.
808 - The exception to the previous rule are repeating entries: There
809   the clock time will only be clocking instances recorded since
810   the last time the entry when through a repeat event.  The time
811   of that event is now recorded in the =LAST_REPEAT= property
813 - You can use the property CLOCK_MODELINE_TOTAL to get
814   control over what times are displayed in the mode line, see
815   the manual for more information.
817 - The new command =C-c C-x C-e= can be used to change the Effort
818   estimate and therefore to change the moment when the clock sound
819   will go off.
821 - The clock string in the modeline now has a special font,
822   =org-mode-line-clock=.  This was a proposal by Samuel Wales.
824 - Clicking on the mode line display of the clock now offers a
825   menu with important clock functions like clocking out, or
826   switching the clock to a different task.
828 Thanks to Konstantin Antipin for part of the implementation, and
829 thanks to Bernt Hansen for helping to iron out the issues related
830 to repeated tasks.
833 ** Miscellaneous changes
835 *** Allow to specify the alignment in table columns by hand
837 Similar to the =<20>= cookies that allow to specify a maximum
838 width for a table column, you can now also specify the alignment
839 in order to overrule the automatic alignment choice based on the
840 dominance of number or non-number fields in a column.  The
841 corresponding cookies are =<l>= and =<r>= for left and right side
842 alignment, respectively.  These can be combined with maximum
843 width specification like this: =<r15>=.
845 This was a proposal by Michael Brand.
847 *** Stop logging and blocking when selecting a TODO state
849 Sometimes you want to quickly select or change a TODO state of an
850 item, without being bothered by your setup for blocking state
851 changes and logging entries.  So in this case, you don't want the
852 change be seen as a true state change.
854 You can now set the variable
855 =org-treat-S-cursor-todo-selection-as-state-change= to nil.
856 Then, when you use =S-left= and =S-right= to quickly flip through
857 states, blocking and logging will be temporarily disabled.
859 *** Export BBDB anniversaries to iCalendar
861 See the variable `org-icalendar-include-bbdb-anniversaries'.
863 This was a request by Richard Riley, thanks to Thomas Baumann
864 for the prompt implementation.
866 *** Macro definitions can be collected in an #+SETUPFILE
868 If you want to use many macros in different files, collect the
869 =#+macro= lines into a file and link to them with
871 : #+SETUPFILE: path/to-file
873 *** Subtree cloning now also shifts inactive dates
875 When using the command =org-clone-subtree-with-time-shift=, time
876 stamps will be shifted for each clone.  So far, this applied only
877 to active timestamps, but now it does apply to inactive
878 ones as well.
880 *** HTML table export: Assign alternating classes to rows
882 The new variable =org-export-table-row-tags= can now be set up in
883 a way so that different table lines get special CSS classes
884 assigned.  This can be used for example to choose different
885 background colors for odd and even lines, respectively.  The
886 docstring of the variable contains this example:
888 #+begin_src emacs-lisp
889   (setq org-export-table-row-tags
890         (cons '(if head
891                "<tr>"
892              (if (= (mod nline 2) 1)
893                  "<tr class=\"tr-odd\">"
894                "<tr class=\"tr-even\">"))
895           "</tr>"))
896 #+end_src
898 It makes use of the local variables =head= and =nline= which are
899 used to check whether the current line is a header line, and whether
900 it is an odd or an even line.  Since this is fully programmable,
901 you can do other things as well.
903 This was a request by Xin Shi.
905 *** Remember: target headline may be a function
907 When setting up remember templates, the target headline may now
908 be a function, similarly to what is allowed for the target file.
909 The functions needs to return the headline that should be used.
911 *** Remove flyspell overlays in places where they are not wanted
913 We now keep flyspell from highlighting non-words in links.
915 *** Update targets in the Makefile
917 Some new targets in the default Makefile make it easier to update
918 through git to the latest version: =update= and =up2=.  Here are
919 the definitions.
921 #+begin_src BSDmakefile
922 update:
923         git pull
924         ${MAKE} clean
925         ${MAKE} all
927 up2:    update
928         sudo ${MAKE} install
929 #+end_src
931 This was a request by Konstantin Antipin.
933 * Version 6.27
934   :PROPERTIES:
935   :CUSTOM_ID: v6.27
936   :END:
938 ** Details
940 *** Macros for export
942 Macro processing for export has been enhanced:
944 - You can use arguments in a macro, for example
945 #+begin_src org
946 #+macro hello Greet the $1: Hello $1
947 #+end_src
948   which would turn ={{{hello(world)}}}= into =Greet the world: Hello world=
950 - The macro value can be an emacs-lisp for to be evaluated at the
951   time of export:
953 #+begin_src org
954 ,#+macro: datetime (eval (format-time-string "$1"))
955 #+end_src
957 - More built-in default macros:
958   - date(FORMAT_TIME_STRING) :: Time/Date of export
959   - time(FORMAT_TIME_STRING) :: Same as date
960   - modification-time(FORMAT_TIME_STRING) :: Last modification of file
961   - input-file :: Name of the input file
963   The new built-in macros have been requested by Daniel Clemente.
965 *** Link completion for files and bbdb names
967 Org now has a general mechanism how modules can provide enhanced
968 support (for example through completion) when adding a link.  For
969 example, when inserting a link with =C-c C-l=, you can now type
970 =file:= followed by =RET= to get completion support for inserting
971 a file.  After entering =bbdb:= and =RET=, a completion interface
972 will allow to complete names in the BBDB database.  These are the
973 only ones implemented right now, but modules that add a link type
974 =xyz:= can simple define =org-xyz-complete-link= that should
975 return the full link with prefix after aiding the used to create
976 the link.  For example, if you have =http= links that you have to
977 insert very often, you could define a function
978 =org-http-complete-link= to help selecting the most common ones.
980 *** Source file publishing
982 It is now easy to publish the Org sources along with, for
983 example, HTML files.  In your publishing project, replace
985 : :publishing-function org-publish-org-to-html
987 with
989 :  :publishing-function (org-publish-org-to-html org-publish-org-to-org)
990 :  :plain-source t
991 :  :htmlized-source t
993 to get both the plain org file and an htmlized version that
994 looks like your editing buffer published along with the HTML
995 exported version.
997 *** Push exported stuff to kill ring
999 All exporters now push the produced material onto the kill-ring
1000 in Emacs, and also to the external clipboard and the primary
1001 selection to make it easy to paste this under many circumstances.
1003 *** Tables in LaTeX without centering
1004 Set the variable `org-export-latex-tables-centered' to nil if you
1005 prefer tables not to be horizontally centered.  Note that
1006 longtable tables are always centered.
1008 *** LaTeX export: TODO markup configurable
1010 The markup for TODO keywords in LaTeX export is now configurable
1011 using the variable =org-export-latex-todo-keyword-markup=.
1013 *** ASCII export to buffer
1015 ASCII export has now the same command variations as the other
1016 export backends, for example exporting to a temporary buffer
1017 instead of a file.
1019 The was a request by Samuel Wales.
1021 *** Accessibility improvements for HTTP tables
1023 When exporting tables to HTML, Org now adds =scope= attributes to
1024 all header fields, in order to support screen readers.
1025 Setting the variable
1026 =org-export-html-table-use-header-tags-for-first-column= will
1027 request using =<th>= instead of =<td>= also in the entire first
1028 column, so that also row information can be scoped.  This was
1029 triggered by a request by Jan Buchal, and as usually Sebastian
1030 Rose came up with the right implementation.
1032 *** Timezone information in iCalendar files
1034 The timezone information in iCalendar files is now written in the
1035 correct format, and can be set in the variable
1036 =org-ical-timezone=.  This variable is initialized from the =TZ=
1037 environment variable.
1039 *** New contributed package /org-special-blocks.el/
1041 The package turns any "undefined" =#+begin_...= blocks into LaTeX
1042 environments for LaTeX export, and into =<div>= tags for HTML
1043 export.
1045 Thanks to Chris Gray for this contribution.
1047 *** More flexibility about placing logging notes.
1049 Logging into a drawer can now also be set for individual
1050 subtrees using the =LOG_INTO_DRAWER= property.
1052 Requested by Daniel J. Sinder
1054 *** New reload key
1056 Reloading Org has moved to a new key, =C-c C-x !=, and is now
1057 also available in the agenda.
1059 *** Start Agenda with log mode active
1060 Set the new option =org-agenda-start-with-log-mode= to have
1061 log mode turned on from the start.  Or set this option for
1062 specific custom commands.
1064 Thanks to Benjamin Andresen for a patch to this effect.
1066 *** Agenda speed optimizations
1068 Depending on circumstances, construction the agenda has become a
1069 lot faster.
1071 Triggered by Eric S Fraga's reports about using Org on a slow
1072 computer like a netbook.
1074 *** New face for today in agenda
1076 The date that is today can now be highlighted in the agenda by
1077 customizing the face =org-agenda-date-today=.
1079 Thanks to Dmitri Minaev for a patch to this effect.
1081 *** Properties to disambiguate statistics
1083 When an entry has both check boxes and TODO children, it is not
1084 clear what kind of statistics a cookie should show  You can now use
1085 the =COOKIE_DATA= property to disambiguate, by giving it a value
1086 "todo" or "checkbox".
1088 Thanks to Ulf Stegeman, who was persistent enough to push this
1089 change past my initial resistance.
1091 *** Checkboxes and TODO items: recursive statistics
1093 Setting the variable =org-hierarchical-checkbox-statistics= to
1094 =nil= will make statistics cookies count all checkboxes in the
1095 lit hierarchy below it.
1097 Setting the variable =org-hierarchical-todo-statistics= to
1098 =nil= will do the same for TODO items.
1100 To turn on recursive statistics only for a single subtree, add the
1101 word "recursive" to the =COOKIE_DATA= property.  Note that you
1102 can have such a property containing both "todo" or "checkbox" for
1103 disambiguation, and the word "recursive", separated by a space
1104 character.
1106 The change for checkboxes was a patch by Richard Klinda.
1108 *** New operators for column view
1110 Column view has new operators for computing the minimum,
1111 maximum, and mean of property values.
1113 Thanks to Mikael Fornius for a patch to this effect.
1115 * Version 6.26
1116   :PROPERTIES:
1117   :CUSTOM_ID: v6.26
1118   :END:
1120 ** Details
1122 *** custom IDs
1124 Entries can now define a =CUSTOM_ID= property.  This property
1125 must be a valid ID according to HTML rules, and it will be used
1126 in HTML export as the main target ID for this entry.  That means,
1127 both the table of conents and other internal links will
1128 automatically point to this ID instead of the automatic ID like
1129 =sec-1.1=.  This is useful to create humar-readable permanent
1130 links to these location in a document.
1132 The user is responsible to make sure that  custom IDs are unique
1133 within a file.
1135 Links written like =[[#my-target-name] ]= can be used to target a
1136 custom ID.
1138 When using =C-c l= to store a link to a headline that has a
1139 custom ID, Org will now create two links at the same time.  One
1140 link will be to the custom ID.  The other will be to the globaly
1141 unique ID property.  When inserting the line with =C-c C-l=, you
1142 need to decide which one you want to use.  Use the ID links for
1143 entries that are expected to move from one file to the next.  Use
1144 custom ID links publishing projects, when you are sure that te
1145 entry will stay in that file.  See also the variable
1146 =org-link-to-org-use-id=.
1148 *** Remember to non-org files
1150 If the target headline part of a remember template definition
1151 entry is =top= or =bottom=, the target file may now be a
1152 non-Org-mode file.  In this case, the content of the remember
1153 buffer will be added to that file without enforcing an Org-like
1154 headline.  Sorry, Russel, that this took so long.
1156 *** New property to turn off todo dependencies locally
1158 Setting the property =NOBLOCKING= will turn off TODO dependency
1159 checking for this entry.
1161 *** Refile verify
1163 A new function is called to verify tasks that are about to be
1164 selected as remember targets.  See the new variable
1165 =org-refile-target-verify-function=.
1167 *** New version org ditaa.jar
1169 Thanks to Stathis Sideris.
1171 *** htmlize.el is now in the contrib directory
1173 The latest version of htmlize.el is now the in the contrib
1174 directory of Org.  Thanks to Hrvoje Niksic for allowing this.
1176 * Version 6.25
1177   :PROPERTIES:
1178   :CUSTOM_ID: v6.25
1179   :END:
1181 ** Major new features
1183 *** DocBook export
1185 We now do have a fully functional DocBook exporter, contributed by
1186 Baoqiu Cui.  Simple press =C-c e D= to export the current file to
1187 DocBook format.  You can also get direct conversion to PDF if you have
1188 made the correct setup, please see the manual for details.
1190 Kudos to Baoqiu for this fantastic addition, and my personal thanks
1191 for doing this in a such a smooth way that I did not have to do
1192 anything myself.
1194 *** Protocols for external access to Emacs and Org
1196 /org-protocol.el/ is a new module that supersedes both
1197 /org-annotation-helper.el/ and /org-browser.el/ and replaces them
1198 with a more abstracted interface.  /org-protocol/ intercepts
1199 calls from emacsclient to trigger custom actions without external
1200 dependencies.  Only one protocol has to be configured with your
1201 external applications or the operating system, to trigger an
1202 arbitrary number of custom actions. Just register your custom
1203 sub-protocol and handler with the new variable
1204 =org-protocol-protocol-alist=.
1206 org-protocol comes the with three standard protocol handlers (in
1207 parenthesis the name of the sub-protocol):
1208 - =org-protocol-remember= (=remember=) :: Trigger remember
1209 - =org-protocol-store-link= (=store-link=) :: Store a link
1210 - =org-protocol-open-source= (=open-source=) :: Find the local
1211      source of a remote web page.
1213 Passing data to emacs is now as easy as calling
1215 : emacsclient org-protocol://sub-protocol://data
1217 For more information see the [[http://orgmode.org/worg/org-contrib/org-protocol.php][online documentation]]
1219 Thanks to Sebastian Rose for this really beautiful module.
1221 *** Inline tasks
1223 Inline tasks are tasks that have all the properties of normal
1224 outline nodes, including the ability to store meta data like
1225 scheduling dates, TODO state, tags and properties.  But these
1226 tasks are not meant to introduce additional outline structure, at
1227 least as far as visibility cycling and export is concerned.  They
1228 are useful for adding tasks in extensive pieces of text where
1229 interruption of the flow or restructuring is unwanted.
1231 This feature is not turned on by default, you need to configure
1232 =org-modules= to turn it on, or simply add to you .emacs file:
1234 : (require 'org-inlinetask)
1236 After that, tasks with level 15 (30 stars when using
1237 org-odd-levels-only) will be treated as inline tasks, and
1238 fontification will make obvious which tasks are treated in this
1239 way.
1241 *** Input from RSS feeds
1243 Org can now collect tasks from an RSS feed, a great method to get
1244 stuff from online call and note-taking services into your trusted
1245 system.  You need to configure the feeds in the variable
1246 =org-feed-alist=.  The manual contains a short description, more
1247 detailed information is [[http://orgmode.org/worg/org-contrib/org-feed.php][available on Worg]].
1249 Full credit goes to Brad Bozarth who really [[http://thread.gmane.org/gmane.emacs.orgmode/12251][paved the way]] for this
1250 exciting new feature.
1253 ** Export
1255 *** Allow modification of table attributes in HTML export
1257 The #+ATTR_HTML line can now be used to set attributes for a
1258 table.  Attributes listed in that line will replace existing
1259 attributes in =org-export-html-table-tag=, or will add new ones.
1260 For example
1262 : #+ATTR_HTML: border="2" rules="all" frame="all"
1263 : #+CAPTION: Finally a table with lines!
1264 : | a | b |
1265 : |---|---|
1266 : | 1 | 2 |
1268 *** LaTeX low levels are now exported as itemize lists
1270 LaTeX export now treats hierarchy levels 4,5, etc as itemize
1271 lists, not as description lists as before.  This is more
1272 consistent with the behavior of HTML export.  You can configure
1273 this behavior using the variable =org-export-latex-low-levels=.
1275 *** Markup for centering.
1277 Text can be exported centered with
1279 #+begin_src org
1280 ,#+BEGIN_CENTER
1281 ,Everything should be made as simple as possible, \\
1282 ,but not any simpler
1283 ,#+END_CENTER
1284 #+end_src
1286 *** Sitemap file is now /sitemap.org/
1288 Org-publish can produce a list of all files in a project.
1289 Previously the file containing this list was called "index.org",
1290 really a brain-dead default because during publication it would
1291 overwrite the "index.html" file of the website.
1293 The default file name is now "sitemap.org"
1295 *** Protect explicit target links in HTML export
1297 If a link is =[[#name] [desc]]=, the href produced when exporting
1298 the file will be exactly href="#name".  So starting a link target
1299 with # will indicate that there will be an explicit target for
1300 this.
1302 *** HTML export: Allow "- ___" to explicitly terminate a list
1304 If a list contains "- ___" (three underscores) as an item, this
1305 terminates the list, ignoring this item.  This is an experimental
1306 feature, it may disappear again if we find other ways to deal
1307 with literal examples right after lists.
1309 See [[http://thread.gmane.org/gmane.emacs.orgmode/12299/focus%3D12312][this mailing list thread]] for context.
1311 ** Agenda
1313 *** Changing the time of an entry from the agenda
1315 We now have a way to change not only the date, but also the start
1316 time of an entry from the agenda.  The date is normally changed
1317 with S-right/left.  Now, if you add a C-u prefix, the hour will
1318 be changed.  If you immediately press S-right/left again, hours
1319 will continue to be changed.  A double prefix will do the same
1320 for minutes.  If the entry has a time range like 14:40-16:00,
1321 then both times will change, preserving the length of the
1322 appointment.
1324 *** Show saved PDF agenda view with prefix arg
1326 When writing an agenda view to a PDF file, supplying a a prefix
1327 argument (=C-u C-x C-w=) will get the new file displayed
1328 immediately.
1330 This was a request by Alan E Davis.
1332 *** Filter for entries with no effort defined
1334 During secondary agenda filtering, pressing "?" now will install a
1335 filter that selects entries which do not have an effort defined.
1337 This new model was necessary because we needed to stop interpreting
1338 entries with no effort defines as 0 effort.  This was inconsistent,
1339 because for normal agenda sorting, the treatment of these entries
1340 depends on the variable =org-sort-agenda-noeffort-is-high=.  Now this
1341 variable is also respected during filtering.
1343 This new feature resulted from a [[http://thread.gmane.org/gmane.emacs.orgmode/12493][discussion]] with Matt Lundin and
1344 Bernt Hansen.
1346 *** Introduce user-defined sorting operators
1348 The new variable =org-agenda-cmp-user-defined= can contain a
1349 function to test how two entries should be compared during
1350 sorting.  The symbols =user-defined-up= and =user-defined-down=
1351 can then be part of any sorting strategy.
1353 This was a request by Samuel Wales.
1355 *** Indentation of subitems in the agenda
1357 When a tags/property match does match an entry and it's
1358 sublevels, the sublevels used to be indented by dots, to indicate
1359 that the matches likely result from tag inheritance.  This is now
1360 no longer the default, so the subitems will not get special
1361 indentation.  You can get this behavior back with
1363 : (setq org-tags-match-list-sublevels 'indented)
1365 *** Stuck projects search now searches subtrees of unstuck projects
1367 When, during a stuck-project search, a project tree is identified
1368 as not stuck, so far the search would continue after the end of
1369 the project tree.  From now on, the search continues in the
1370 subtree, so that stuck subprojects can still be identified.
1373 ** Miscellaneous
1375 *** Citations: Use RefTeX to insert citations
1377 RefTeX can now be used to create a citation in Org-mode buffers.
1378 Setup the buffer with
1380 #+begin_src org
1381 ,#+BIBLIOGRAPHY: bibbase style
1382 #+end_src
1384 and create citations with =C-c C-x [=.
1386 Together with org-exp-bibtex.el by Taru Karttunen (available as a
1387 contributed package), this provides a great environment for
1388 including citations into HTML and LaTeX documents.
1390 *** Changing time ranges as a block
1392 When using the S-cursor keys to change the first time in a time
1393 range like
1395 : <2009-04-01 Wed 14:40-16:40>
1397 then the end time will change along, so that the duration of the
1398 event will stay the same.
1400 This was a request by Anupam Sengupta.
1402 *** New sparse tree command
1404 A new sparse tree command shows entries with times after a certain
1405 date.  Keys are =C-c / a=, this command is for symmetry
1406 with =C-c / b=.
1408 *** Cloning tasks
1410 A new command allows to create clone copies of the current entry,
1411 with shifted dates in all stamps in the entry.  This is useful to
1412 create, for example, a series of entries for a limited time
1413 period.  I am using it to prepare lectures, for example.
1415 *** New face for checkboxes
1417 Checkboxes now have their own face, =org-checkbox=.  This can be
1418 used for nice effects, for example choosing a face with a box
1419 around it:
1421 #+begin_src emacs-lisp
1422 (custom-set-faces
1423  (org-checkbox ((t (:background "#444444" :foreground "white"
1424                 :box (:line-width 1 :style released-button)))))
1425 #+end_src
1427 *** M-a and M-e for navigation in a table field
1429 In tables fields, the sentence commands =M-a= and =M-e= are
1430 redefined to jump to the beginning or end of the field.
1432 This was a request by Bastien Guerry.
1434 *** Backup files for remember buffers
1436 Sometimes users report that they lost data when not immediately
1437 storing a new remember note, and then later exiting Emacs or
1438 starting a new remember process.
1440 Now you can set the variable =org-remember-backup-directory=.
1441 Each remember buffer created will then get its own unique file
1442 name in that directory, and the file will be removed only if the
1443 storing of the note to an Org files was successful.
1445 *** org-mac-message.el: New functions to access flagged mail
1447 Christopher Suckling has added functionality to
1448 /org-mac-message.el/.  In particular, you can now select a number
1449 of messages and easily get links to all of them with a single
1450 command.  For details, see the [[http://orgmode.org/worg/org-contrib/org-mac-message.php][online documentation]].
1452 *** Read-date: New hook
1454 The new hook =org-read-date-minibuffer-setup-hook= is called when
1455 setting up the minibuffer for reading a date.  If can be used to
1456 install new keys into the temporary keymap used there.
1459 * Version 6.24
1460   :PROPERTIES:
1461   :CUSTOM_ID: v6.24
1462   :END:
1464 ** Incompatible changes
1467 *** Tag searches are now case-sensitive
1469 From this release on, tag searches will be case sensitive.  While
1470 I still think it would be nice to have them case-insensitive,
1471 this was both an inconsistency (TODO keyword searches have always
1472 been case-sensitive), and trouble for coding some efficient
1473 algorithms.  So please make sure that you give the tags with
1474 correct casing when prompted for a match expression.
1476 *** New key for creating tags/property sparse trees
1478 The key to produce a sparse tree matching tags and properties is
1479 now =C-c / m= instead of =C-c a T=.  This is also more consistent
1480 with the =C-c a m= key for the corresponding agenda view.
1481 =C-c / T= will still work for now, but it is no longer advertised
1482 in the documentation and may go away at any time in the future.
1484 *** IDs in HTML have "ID-" prefix when generated by uuidgen
1486 /uuidgen/ generates IDs that often start with a number, not a
1487 latter.  However, IDs and names in XHTML must start with a letter.
1488 Therefore, IDs in HTML files will now get an "ID-" prefix if they
1489 have been generated by uuidgen.  This means that id links from one
1490 file to another may stop working until all files have been
1491 exported again.
1493 *** In agenda, only priority cookies get the special face
1495 So far, an entire task would get a special face when
1496 =org-agenda-fontify-priorities= was set.  Now, the default value
1497 for this variable is the symbol =cookies=, which means that on
1498 the cookie is fontified.  Set it to =t= if you want the entire
1499 task headline to be fontified.
1501 ** Details
1503 *** PDF export of agenda views
1505 Agenda views can now be exported to PDF files by writing them to
1506 a file with extension ".pdf".  Internally this works by first
1507 producing the postscript version and then converting that to PDF
1508 using the ghostview utility =ps2pdf=.  Make sure that this
1509 utility is installed on your system.
1511 The postscript version will not be removed, it will stay around.
1513 *** Inline some entry text for Agenda View export
1515 When exporting an agenda view to HTML or PDF for printing or
1516 remote access, one of the problems can be that information stored
1517 in entries below the headline is not accessible in that format.
1519 You can now copy some of that information to the agenda view
1520 before exporting it.  For this you need to set the variable
1521 =org-agenda-add-entry-text-maxlines= to a number greater than 0.
1523 #+begin_src emacs-lisp
1524 (setq org-agenda-add-entry-text-maxlines 20)
1525 #+end_src
1527 Or you can do this with the settings in a custom agenda view,
1528 for example
1530 #+begin_src emacs-lisp
1531 ("A" "" agenda ""
1532  ((org-agenda-ndays 1)
1533   (org-agenda-add-entry-text-maxlines 5))
1534  ("agenda-today.pdf"))
1535 #+end_src
1537 *** Improved ASCII export of links
1539 ASCII export of links works now much better.  If a link has a
1540 link and a description part which are different, then the
1541 description will remain in the text while the link part will be
1542 moved to the end of the current section, before the next heading,
1543 as a footnote-like construct.
1545 Configure the variable =org-export-ascii-links-to-notes= if you
1546 prefer the links to be shown in the text.  In this case, Org will
1547 make an attempt to wrap the line which may have become
1548 significantly longer by showing the link.
1550 Thanks to Samuel Wales for pointing out the bad state of ASCII
1551 link export.
1553 *** Custom agenda commands can specify a filter preset
1555 If a custom agenda command specifies a value for
1556 =org-agenda-filter-preset= in its options, the initial view of
1557 the agenda will be filterd by the specified tags.  Applying a
1558 filter with =/= will then always add to that preset filter,
1559 clearing the filter with =/ /= will set it back to the preset.
1560 Here is an example of a custom agenda view that will display the
1561 agenda, but hide all entries with tags =FLUFF= or =BLUFF=:
1563 #+begin_src emacs-lisp
1564 ("A" "" agenda ""
1565  ((org-agenda-filter-preset '("-FLUFF" "-BLUFF"))))
1566 #+end_src
1568 This is in response to a [[http://thread.gmane.org/gmane.emacs.orgmode/11752][thread on the mailing list]], started by
1569 Daniel Clemente and with great contributions by Bernt Hansen and
1570 Matt Lundin.
1572 *** Exporting of citations to LaTeX and HTML, using BibTeX
1574 Citations can now me made using BibTeX, and will be exported to
1575 LaTeX and HTML.  This is implemented in a contributed package by
1576 Taru Karttunen, /org-exp-bibtex.el/.  Kudos to Taru for this
1577 really nice addition.
1579 *** Finally a way to specify keywords and description for HTML export
1581 Use something like
1583 #+begin_src org
1584 #+DESCRIPTION: This page is all about ....
1585 #+KEYWORDS: org-mode, indexing, publishing
1586 #+end_src
1588 To specify the content of the description and keywords meta tags
1589 for HTML output.
1591 *** org-collector.el is now a contributed package
1593 /org-collector.el/ provides functions to create tables by
1594 collecting and processing properties from entries in a specific
1595 scope like the current tree or file, or even from all agenda
1596 files.  General lisp expressions can be used to manipulate the
1597 property values before they are inserted into an org-mode table,
1598 for example as a dynamic block that is easy to update.
1600 Thanks to Eric Schulte for yet another great contribution to
1601 Org.
1603 *** Update of org2rem.el
1605 /org2rem.el/ has been updated significantly and now does a more
1606 comprehensive job of exporting Org events to remind.
1608 Thanks to Sharad Pratap for this update.
1610 *** New div around the entire page in HTMP export
1612 A new =<div id=content>= is wrapped around the entire page,
1613 everything that is inside =<body>=.
1615 This means that you need to update /org-info.js/ (if you have a
1616 local copy).  It will be safe todo so, because the new
1617 org-info.js still handles older pages correctly.  Thanks to
1618 Sebastian Rose for making these changes so quicky.
1620 *** Clustering characters for undo
1622 When typing in Org-mode, undo will now remove up to 20 characters
1623 at a time with a single undo command.  This is how things work
1624 normally in Emacs, but the special binding of characters in
1625 Org-mode made this impossible until now.
1627 Thanks to Martin Pohlack for a patch which mimicks the behavior
1628 of the Emacs command loop for the Org version of
1629 =self-insert-command=.  Note that this will not work in headlines
1630 and tables because typing there will do a lot of extra work.
1632 There might be a small typing performance hit resulting from this
1633 change - please report in the mailing list if this is noticeable
1634 and annoying.
1636 *** Separate settings for special C-a and C-e
1638 The variable `org-special-ctrl-a/e' now allows separate settings
1639 for =C-a= and =C-e=.  For example
1641 #+begin_src emacs-lisp
1642 (setq org-special-ctrl-a/e '(reversed . t))
1643 #+end_src
1645 Thanks to Alan Davis for this proposal.
1647 *** orgstruct++-mode improvements
1649 In addition to =orgstruct-mode= which allows to use some Org-mode
1650 structure commands in other major modes, there is a more invasive
1651 version of this mode: =orgstruct++-mode=.  This mode will import
1652 all paragraph and line wrapping variables into the major mode, so
1653 that, for example, during typing the auto-fill wrapping of items
1654 will work just like in Org-mode.  This change is not reversible,
1655 so turning off =orgstruct++-mode= will not remove these settings
1656 again. =orgstruct++-mode= is most useful in text modes like
1657 message-mode or =magit-log-edit-mode=.  Furthermore,
1658 =orgstruct++-mode= will recognize plain list context not only in
1659 the first line of an item, but also further down, so that =M-RET=
1660 will correctly insert new items.
1662 Thanks to Austin Frank for requesting some of these changes.
1664 *** Promotion and demotion works for regions now
1666 =M-right= and =M-left= now do demote and promote all headlines in
1667 an active region.
1669 *** Match syntax for tags/properties is now described in a single place
1671 The manual chapters about tags and about properties now only
1672 refer to the section about agenda views, where the general syntax
1673 of tag/property matches is described.
1675 *** Macro replacement
1677 A string like ={{{ title }}}= will be replaced by the title of
1678 the document, ={{{ email }}}= by the email setting of the author
1679 and similarly for other export settings given in =#+...= lines.
1680 In addition to that, you can define an arbitrary number of
1681 macros, for example:
1683 #+begin_src org
1684 ,#+MACRO: myaddress 41 Onestreet, 12345 New York, NY
1686 ,my address is {{{myaddress}}}, see you there.
1687 #+end_src
1689 Macro replacement is the very first thing that happens during
1690 export, and macros will be replaced even in source code and other
1691 protected regions.
1693 *** New reload command, with keyboard access
1695 There is now a special command to reload all Org Lisp files, so
1696 that you can stay in your Emacs session while pulling and
1697 compiling changes to Org.  The command to reload the compiled
1698 files (if available) is =C-c C-x r=.  If no compiled files are
1699 found, uncompiled ones will be loaded.  If you want to force
1700 loading of uncompiled code (great for producing backtraces), use
1701 a prefix arg: =C-u C-c C-x r=.  Both commands are available in
1702 the menu as well.
1704 This new command was inspired by one written earlier by Bernt
1705 Hansen.
1707 *** Faces for priority cookies can now be set freely
1709 The new variable =org-priority-faces= can be used to set faces
1710 for each priority.
1712 *** New key for creating tags/property sparse trees
1714 The key to produce a sparse tree matching tags and properties is
1715 now =C-c / m= instead of =C-c a T=.  This is more consistent with
1716 the =C-c a m= key for the corresponding agenda view.  =C-c / T=
1717 will still work for now, but it is no longer advertised in the
1718 documentation and may go away at any time in the future.
1720 *** IDs in HTML have "ID-" prefix when generated by uuidgen
1722 /uuidgen/ generates IDs that often start with a number, not a
1723 letter.  However, IDs and names in XHTML must start with a letter.
1724 Therefore, IDs in HTML files will now get an "ID-" prefix if they
1725 have been generated by /uuidgen/.  This means that id links from one
1726 file to another may stop working until all files have been
1727 exported again, so that both links and targets have the new prefix.
1729 *** In agenda, only priority cookies get the special face
1731 So far, an entire task would get a special face when
1732 =org-agenda-fontify-priorities= was set.  Now, the default value
1733 for this variable is the symbol =cookies=, which means that on
1734 the cookie is fontified.  Set it to =t= if you want the entire
1735 task headline to be fontified.
1737 *** Turning off time-of-day search in headline
1739 Some people like to put a creation time stamp into a headline and
1740 then get confused if the time-of-day found in there shows up as
1741 the time-of-day of the deadline/scheduling entry for this
1742 headline.  The reason for this is that Org searches the headline
1743 for a free-format time when trying to sort the entry into the
1744 agenda, and that search accidentally finds the time in the
1745 creation time stamp or something else that happens to look like a
1746 time.  If this is more painful than useful for you, configure the
1747 new variable =org-agenda-search-headline-for-time=.
1750 * Version 6.23
1751   :PROPERTIES:
1752   :CUSTOM_ID: v6.23
1753   :END:
1754 ** Overview
1756 - Capture state change notes into a drawer
1757 - Clock lines are now captured into the LOGBOOK drawer as well
1758 - Added org-R.el to contrib directory
1759 - Allow individual formatting of each TODO keyword in HTML export
1760 - New hooks for add-ons to tap into context-sensitive commands
1761 - Publishing files irrespective of extension
1762 - New variable index in the manual
1763 - The ORDERED property also influences checkboxes
1764 - The ORDERED property can be tracked with a tag
1765 - You may now specify line breaks in the fast tags interface
1766 - When a TODO is blocked by checkboxes, keep it visible in agenda
1767 - LaTeX can import Org's in-buffer definitions for TITLE, EMAIL etc.
1769 ** Incompatible changes
1771 - CLOCK lines will now be captured into the LOGBOOK drawer.
1772   See below for details.
1774 ** Details
1776 *** Capture state change notes into a drawer
1778 State change notes can now be captured into a drawer =LOGBOOK=,
1779 to keep the entry tidy.  If this is what you want, you will need
1780 this configuration:
1782 #+begin_src emacs-lisp
1783 (setq org-log-into-drawer "LOGBOOK")
1784 #+end_src
1786 Thanks to Wanrong Lin for this proposal.
1788 *** Clock lines are now captured into the LOGBOOK drawer as well
1790 The =CLOCK= drawer will be abandoned, clock lines will now also
1791 end up in a drawer =LOGBOOK=.  The reason for this is that it's a
1792 bit useless to have two different drawers for state change notes
1793 and clock lines.  If you wish to keep the old way, use
1795 #+begin_src emacs-lisp
1796 (setq org-clock-into-drawer "CLOCK")
1797 #+end_src
1799 *** Added org-R.el to contrib directory
1801 Dan Davison has contributed /org-R.el/ which is now in the
1802 contrib directory.  Org-R performs numerical computations and
1803 generates graphics.  Data can come from org tables, or from csv
1804 files; numerical output can be stored in the org buffer as org
1805 tables, and links are created to files containing graphical
1806 output.  Although, behind the scenes, it uses R, you do not need
1807 to know anything about R.  Common operations, such as tabulating
1808 discrete values in a column of an org table, are available "off
1809 the shelf" by specifying options on lines starting with =#+R:=.
1810 However, you can also provide raw R code to be evaluated.  The
1811 documentation is currently the worg tutorial at
1812 http://orgmode.org/worg/org-tutorials/org-R/org-R.php
1814 Thanks to Dan for this great contribution.
1816 *** Allow individual formatting of TODO keyword and tags in HTML export
1818 TODO keywords in HTML export have the CSS class =todo= or =done=.
1819 Tags have the CSS class =tag=.  In addition to this, each keyword
1820 has now itself as class, so you could do this in your CSS file:
1822 #+begin_src css
1823 .todo { font-weight:bold; }
1824 .done { font-weight:bold; }
1825 .TODO { color:red; }
1826 .WAITING { color:orange; }
1827 .DONE { color:green; }
1828 #+end_src
1830 If any of your keywords causes conflicts with CSS classes used
1831 for different purposes (for example a tag "title" would cause a
1832 conflict with the class used for formatting the document title),
1833 then you can use the variables =org-export-html-tag-class-prefix=
1834 and =org-export-html-todo-kwd-class-prefix= to define prefixes
1835 for the class names for keywords, for example "kwd-".
1837 Thanks to Wanrong Lin for this request, and to Sebastian Rose for
1838 help with the implementation.
1840 *** New hooks for add-ons to tap into context-sensitive commands
1842 Some commands in Org are context-sensitive, they will execute
1843 different functions depending on context.  The most important
1844 example is of course =C-c C-c=, but also the =M-cursor= keys fall
1845 into this category.
1847 Org has now a system of hooks that can be used by add-on packages
1848 to install their own functionality into these keys.  See the
1849 docstring of =org-ctrl-c-ctrl-c-hook= for details.  The other
1850 hooks are named like =org-metaleft-hook= or
1851 =org-shiftmetaright-hook=.
1853 *** Publishing files irrespective of extension
1855 If you set the =:base-extension= property for a publishing
1856 project to the symbol =any=, all files in the directory will be
1857 published, irrespective of extension.
1859 Thanks to Richard Klinda for a patch to this effect.
1861 *** New variable index in the manual
1863 A new index in the manual lists all variables mentioned in the
1864 manual, about 200 variables in total.
1866 *** The ORDERED property also influences checkboxes
1868 When an entry has the ORDERED property set, checkboxes in
1869 the entry must be completed in order.  This was already the case
1870 for children TODO items, now it also applies for checkboxes.
1872 Thanks to Rainer Stengele for this proposal.
1874 *** The ORDERED property can be tracked with a tag
1876 The =ORDERED= property is used to flag an entry so that subtasks
1877 (both children TODO items and checkboxes) must be completed in
1878 order.  This property is most easily toggled with the command
1879 =C-c C-x o=.  A property was chosen for this functionality,
1880 because this should be a behavior local to the current task, not
1881 inherited like tags.  However, properties are normally
1882 invisible.  If you would like visual feedback on the state of
1883 this property, configure the variable
1884 =org-track-ordered-property-with-tag=.  If you then use =C-c C-x
1885 o= to toggle the property, a tag will be toggled as well, for
1886 visual feedback.
1888 Note that the tag itself has no meaning for the behavior of TODO
1889 items and checkboxes, and that changing the tag with the usual
1890 tag commands will not influence the property and therefore the
1891 behavior of TODO and checkbox commands.
1893 *** You may now specify line breaks in the fast tags interface
1895 Up to now, the fast tags interface tried to lump as many tags as
1896 possible into a single line, with the exception that groups would
1897 always be on a line by themselves.
1899 Now, if you use several lines to define your tags, like
1901 #+begin_src org
1902 ,#+TAGS: aa(a) bb(b) cc(c)
1903 ,#+TAGS: dd(d) ee(e) ff(f)
1904 #+end_src
1906 then there will also be a line break after the "cc" tag in the
1907 fast tag selection interface.  You may also write
1909 #+begin_src org
1910 ,#+TAGS: aa(a) bb(b) cc(c) \n dd(d) ee(e) ff(f)
1911 #+end_src
1913 to achieve the same effect, and you can use =\n= several times in
1914 order to produce empty lines.  In =org-tag-alist=, newlines are
1915 represented as =(:newline)=.
1917 Thanks to Christopher Suckling for a patch to this effect.
1919 *** When a TODO is blocked by checkboxes, keep it visible in agenda
1921 When the variable =org-agenda-dim-blocked-tasks= is set to
1922 =invisible=, tasks that are blocked will not be visible in the
1923 agenda.  If the blocking is due to child TODO entries, this does
1924 make sense because the children themselves will show up in the
1925 TODO list.
1927 However, as John Rakestraw has [[http://thread.gmane.org/gmane.emacs.orgmode/10939][pointed out]], if the blocking is
1928 done by checkboxes, no trace of these subtasks is left.
1929 Therefore, when the blocking is done by checkboxes, we now
1930 overrule the =invisible= setting and replace it with mere dimming
1931 of the task.
1933 *** LaTeX can import Org's in-buffer definitions for TITLE, EMAIL etc.
1935 If you configure =org-export-latex-import-inbuffer-stuff=,
1936 in-buffer definitions like #+TITLE will be made available in the
1937 LaTeX file as =\orgTITLE=.
1939 This was a request by Russel Adams.
1941 * Version 6.22
1942   :PROPERTIES:
1943   :CUSTOM_ID: v6.22
1944   :END:
1945 ** Details
1947 *** org-choose.el by Tom Breton is now included
1949 Org-choose helps documenting a decision-making process by using
1950 TODO keywords for different degrees of /chosenness/, and by
1951 automatically keeping a set of alternatives in a consistent state.
1953 Documentation for /org-choose.el/ is available [[http://orgmode.org/worg/org-contrib/org-choose.php][here]].
1955 This package inserts itself into Org using hooks, so if other
1956 people would like to do interesting stuff with TODO keywords for
1957 special purposes, looking at Tom's code might be a good way to
1958 start.
1960 Thanks to Tom for this interesting contribution!
1962 *** orgmode.org and Worg css works now better on IE
1964 Thanks to Sebastian Rose for making these changes.
1966 *** When exporting a subtree, headline levels are now relative to parent
1968 This was reported as a bug by William Henney and is fixed now.
1970 *** Inactive dates in tables can be used for sorting.
1972 When sorting table fields or entries by date, Org first tries to
1973 find an active date, and, if none exist, uses a passive date if
1974 present.
1976 This was a request by Hsui-Khuen Tang
1978 *** The default for =org-return-follows-link= is back to =nil=
1980 Setting it to =t= violates Emacs rules to some extent.  The
1981 internal implementation of this has been improved, so setting it
1982 to =t= should now be pretty stable.
1984 *** Automatic scheduling of siblings with org-depend.el
1986 The sibling of a DONE task can now automatically be scheduled.
1988 This was a patch by Andrew Hyatt.
1990 *** New skipping conditions
1992 The functions =org-agenda-skip-entry-if= and
1993 =org-agenda-skip-subtree-if= now accept =timestamp= and
1994 =nottimestamp= as additional conditions.
1996 This was in response to a request by Saurabh Agrawal.
1998 * Version 6.21
1999   :PROPERTIES:
2000   :CUSTOM_ID: v6.21
2001   :END:
2003 ** Details
2005 *** Changes to some default values of variables:
2007 Here are the new default values:
2009 #+begin_example
2010 (setq org-return-follows-link t)
2012 (setq org-use-fast-todo-selection t)
2014 (setq org-yank-adjusted-subtrees nil)
2016 (setq org-tags-column -77)
2018 (setq org-agenda-sorting-strategy
2019      '((agenda time-up priority-down category-keep)
2020         (todo time-up priority-down category-keep)
2021         (tags time-up priority-down category-keep)
2022         (search category-keep)))
2023 #+end_example
2025 *** Final cleanup for Emacs 21.1 pretest
2027 * Version 6.20
2028   :PROPERTIES:
2029   :CUSTOM_ID: v6.20
2030   :END:
2032 ** Details
2034 *** Support for simple TODO dependencies
2036 John Wiegley's code for enforcing simple TODO dependencies has
2037 been integrated into Org-mode.  Thanks John!
2039 The structure of Org files (hierarchy and lists) makes it easy to
2040 define TODO dependencies.  A parent TODO task should not be
2041 marked DONE until all subtasks (defined as children tasks) are
2042 marked as DONE.  And sometimes there is a logical sequence to a
2043 number of (sub)tasks, so that one task cannot be acted upon
2044 before all siblings above it are done.  If you customize the
2045 variable =org-enforce-todo-dependencies=, Org will block entries
2046 from changing state while they have children that are not DONE.
2047 Furthermore, if an entry has a property =ORDERED=, each of its
2048 children will be blocked until all earlier siblings are marked
2049 DONE.  Here is an example:
2051 #+begin_src org
2052 ,* TODO Blocked until (two) is done
2053 ,** DONE one
2054 ,** TODO two
2056 ,* Parent
2057 ,  :PROPERTIES:
2058 ,    :ORDERED: t
2059 ,  :END:
2060 ,** TODO a
2061 ,** TODO b, needs to wait for (a)
2062 ,** TODO c, needs to wait for (a) and (b)
2063 #+end_src
2065 The command =C-c C-x o= toggles the value of the =ORDERED=
2066 property.
2068 The variable =org-agenda-dim-blocked-tasks= controls how blocked
2069 entries should appear in the agenda, where they can be dimmed or
2070 even made invisible.
2072 Furthermore, you can use the variable
2073 =org-enforce-todo-checkbox-dependencies= to block TODO entries
2074 from switching to DONE while any checkboxes are unchecked in the entry.
2076 *** Support for shift-selection in Emacs 23
2078 Customize the variable =org-support-shift-select= to use S-cursor
2079 key for selecting text.  Make sure that you carefully read the
2080 docstring of that variable first.
2082 *** Adding and removing checkboxes from many lines
2084 The command =C-c C-x C-b= normally toggles checkbox status in the
2085 current line, or in all lines in the region.  With prefix
2086 argument it now either adds or removes the checkbox.
2088 This was a requested by Daniel Clemente.
2091 * Older changes
2093   For older Changes, see [[file:Changes_old.org]]
2097 * COMMENT Setup
2099 #+STARTUP: showstars
2101 #+TITLE: Org-mode list of user-visible changes
2102 #+AUTHOR:  Carsten Dominik
2103 #+EMAIL:  carsten at orgmode dot org
2104 #+OPTIONS: H:3 num:nil toc:nil \n:nil @:t ::t |:t ^:{} *:t TeX:t LaTeX:nil f:nil
2105 #+INFOJS_OPT: view:info toc:1 path:org-info.js tdepth:2 ftoc:t
2106 #+LINK_UP: index.html
2107 #+LINK_HOME: http://orgmode.org