Release 6.27
[org-mode/org-tableheadings.git] / ORGWEBPAGE / Changes.org
bloba6dc6fa3a3a8d50dcb7758ce378c161d814d62f1
1 #   -*- mode: org; fill-column: 65 -*-
3 #+STARTUP: showstars
5 #+TITLE: Org-mode list of user-visible changes
6 #+AUTHOR:  Carsten Dominik
7 #+EMAIL:  carsten at orgmode dot org
8 #+OPTIONS: H:3 num:nil toc:nil \n:nil @:t ::t |:t ^:{} *:t TeX:t LaTeX:nil f:nil
9 #+INFOJS_OPT: view:info toc:1 path:org-info.js tdepth:2 ftoc:t
10 #+LINK_UP: index.html
11 #+LINK_HOME: http://orgmode.org
13 * Version 6.27
14  :PROPERTIES:
15  :VISIBILITY: content
16  :CUSTOM_ID: v6.26
17  :END:
19 ** Details
21 *** Macros for export
23 Macro processing for export has been enhanced:
25 - You can use arguments in a macro, for example
26 #+begin_src org
27 #+macro hello Greet the $1: Hello $1
28 #+end_src
29   which would turn ={{{hello(world)}}}= into =Greet the world: Hello world=
31 - The macro value can be an emacs-lisp for to be evaluated at the
32   time of export:
34 #+begin_src org
35 ,#+macro: datetime (eval (format-time-string "$1"))
36 #+end_src
38 - More built-in default macros:
39   - date(FORMAT_TIME_STRING) :: Time/Date of export
40   - time(FORMAT_TIME_STRING) :: Same as date
41   - modification-time(FORMAT_TIME_STRING) :: Last modification of file
42   - input-file :: Name of the input file
43     
44   The new built-in macros have been requested by Daniel Clemente.
46 *** Link completion for files and bbdb names
48 Org now has a general mechanism how modules can provide enhanced
49 support (for example through completion) when adding a link.  For
50 example, when inserting a link with =C-c C-l=, you can now type
51 =file:= followed by =RET= to get completion support for inserting
52 a file.  After entering =bbdb:= and =RET=, a completion interface
53 will allow to complete names in the BBDB database.  These are the
54 only ones implemented right now, but modules that add a link type
55 =xyz:= can simple define =org-xyz-complete-link= that should
56 return the full link with prefix after aiding the used to create
57 the link.  For example, if you have =http= links that you have to
58 insert very often, you could define a function
59 =org-http-complete-link= to help selecting the most common ones.
61 *** Source file publishing
63 It is now easy to publish the Org sources along with, for
64 example, HTML files.  In your publishing project, replace
66 : :publishing-function org-publish-org-to-html
68 with
70 :  :publishing-function (org-publish-org-to-html org-publish-org-to-org)
71 :  :plain-source t
72 :  :htmlized-source t
74 to get both the plain org file and an htmlized version that
75 looks like your editing buffer published along with the HTML
76 exported version.
78 *** Push exported stuff to kill ring
80 All exporters now push the produced material onto the kill-ring
81 in Emacs, and also to the external clipboard and the primary
82 selection to make it easy to paste this under many circumstances.
84 *** Tables in LaTeX without centering
85 Set the variable `org-export-latex-tables-centered' to nil if you
86 prefer tables not to be horizontally centered.  Note that
87 longtable tables are always centered.
89 *** LaTeX export: TODO markup configurable
91 The markup for TODO keywords in LaTeX export is now configurable
92 using the variable =org-export-latex-todo-keyword-markup=.
94 *** ASCII export to buffer
96 ASCII export has now the same command variations as the other
97 export backends, for example exporting to a temporary buffer
98 instead of a file.
100 The was a request by Samuel Wales.
102 *** Accessibility improvements for HTTP tables
104 When exporting tables to HTML, Org now adds =scope= attributes to
105 all header fields, in order to support screen readers.
106 Setting the variable
107 =org-export-html-table-use-header-tags-for-first-column= will
108 request using =<th>= instead of =<td>= also in the entire first
109 column, so that also row information can be scoped.  This was
110 triggered by a request by Jan Buchal, and as usually Sebastian
111 Rose came up with the right implementation.
113 *** Timezone information in iCalendar files
115 The timezone information in iCalendar files is now written in the
116 correct format, and can be set in the variable
117 =org-ical-timezone=.  This variable is initialized from the =TZ=
118 environment variable.
120 *** New contributed package /org-special-blocks.el/
122 The package turns any "undefined" =#+begin_...= blocks into LaTeX
123 environments for LaTeX export, and into =<div>= tags for HTML
124 export.
126 Thanks to Chris Gray for this contribution.
128 *** More flexibility about placing logging notes.
130 Logging into a drawer can now also be set for individual
131 subtrees using the =LOG_INTO_DRAWER= property.
133 Requested by Daniel J. Sinder
135 *** New reload key
137 Reloading Org has moved to a new key, =C-c C-x !=, and is now
138 also available in the agenda.
140 *** Start Agenda with log mode active
141 Set the new option =org-agenda-start-with-log-mode= to have
142 log mode turned on from the start.  Or set this option for
143 specific custom commands.
145 Thanks to Benjamin Andresen for a patch to this effect.
147 *** Agenda speed optimizations
149 Depending on circumstances, construction the agenda has become a
150 lot faster.
152 Triggered by Eric S Fraga's reports about using Org on a slow
153 computer like a netbook.
155 *** New face for today in agenda
157 The date that is today can now be highlighted in the agenda by
158 customizing the face =org-agenda-date-today=.
160 Thanks to Dmitri Minaev for a patch to this effect.
162 *** Properties to disambiguate statistics
164 When an entry has both check boxes and TODO children, it is not
165 clear what kind of statistics a cookie should show  You can now use
166 the =COOKIE_DATA= property to disambiguate, by giving it a value
167 "todo" or "checkbox".
169 *** Checkboxes and TODO items: recursive statistics
171 Setting the variable =org-hierarchical-checkbox-statistics= to
172 =nil= will make statistics cookies count all checkboxes in the
173 lit hierarchy below it.
175 Setting the variable =org-hierarchical-todo-statistics= to
176 =nil= will do the same for TODO items.
178 To turn on recursive statistics only for a single subtree, add the
179 word "recursive" to the =COOKIE_DATA= property.  Note that you
180 can have such a property containing both "todo" or "checkbox" for
181 disambiguation, and the word "recursive", separated by a space
182 character.
184 The change for checkboxes was a patch by Richard Klinda.
186 *** New operators for column view
188 Column view has new operators for computing the minimum,
189 maximum, and mean of property values.
191 Thanks to Mikael Fornius for a patch to this effect.
193 * Version 6.26
195 ** Details
197 *** custom IDs
199 Entries can now define a =CUSTOM_ID= property.  This property
200 must be a valid ID according to HTML rules, and it will be used
201 in HTML export as the main target ID for this entry.  That means,
202 both the table of conents and other internal links will
203 automatically point to this ID instead of the automatic ID like
204 =sec-1.1=.  This is useful to create humar-readable permanent
205 links to these location in a document.
207 The user is responsible to make sure that  custom IDs are unique
208 within a file.
210 Links written like =[[#my-target-name] ]= can be used to target a
211 custom ID.
213 When using =C-c l= to store a link to a headline that has a
214 custom ID, Org will now create two links at the same time.  One
215 link will be to the custom ID.  The other will be to the globaly
216 unique ID property.  When inserting the line with =C-c C-l=, you
217 need to decide which one you want to use.  Use the ID links for
218 entries that are expected to move from one file to the next.  Use
219 custom ID links publishing projects, when you are sure that te
220 entry will stay in that file.  See also the variable
221 =org-link-to-org-use-id=.
223 *** Remember to non-org files
225 If the target headline part of a remember template definition
226 entry is =top= or =bottom=, the target file may now be a
227 non-Org-mode file.  In this case, the content of the remember
228 buffer will be added to that file without enforcing an Org-like
229 headline.  Sorry, Russel, that this took so long.
231 *** New property to turn off todo dependencies locally
233 Setting the property =NOBLOCKING= will turn off TODO dependency
234 checking for this entry.
236 *** Refile verify
238 A new function is called to verify tasks that are about to be
239 selected as remember targets.  See the new variable
240 =org-refile-target-verify-function=.
242 *** New version org ditaa.jar
244 Thanks to Stathis Sideris.
246 *** htmlize.el is now in the contrib directory
248 The latest version of htmlize.el is now the in the contrib
249 directory of Org.  Thanks to Hrvoje Niksic for allowing this.
251 * Version 6.25
252   :PROPERTIES:
253   :CUSTOM_ID: v6.25
254   :END:
256 ** Major new features
258 *** DocBook export
260 We now do have a fully functional DocBook exporter, contributed by
261 Baoqiu Cui.  Simple press =C-c e D= to export the current file to
262 DocBook format.  You can also get direct conversion to PDF if you have
263 made the correct setup, please see the manual for details.
265 Kudos to Baoqiu for this fantastic addition, and my personal thanks
266 for doing this in a such a smooth way that I did not have to do
267 anything myself.
269 *** Protocols for external access to Emacs and Org
271 /org-protocol.el/ is a new module that supersedes both
272 /org-annotation-helper.el/ and /org-browser.el/ and replaces them
273 with a more abstracted interface.  /org-protocol/ intercepts
274 calls from emacsclient to trigger custom actions without external
275 dependencies.  Only one protocol has to be configured with your
276 external applications or the operating system, to trigger an
277 arbitrary number of custom actions. Just register your custom
278 sub-protocol and handler with the new variable
279 =org-protocol-protocol-alist=.
281 org-protocol comes the with three standard protocol handlers (in
282 parenthesis the name of the sub-protocol):
283 - =org-protocol-remember= (=remember=) :: Trigger remember
284 - =org-protocol-store-link= (=store-link=) :: Store a link
285 - =org-protocol-open-source= (=open-source=) :: Find the local
286      source of a remote web page.
288 Passing data to emacs is now as easy as calling
290 : emacsclient org-protocol://sub-protocol://data
292 For more information see the [[http://orgmode.org/worg/org-contrib/org-protocol.php][online documentation]]
294 Thanks to Sebastian Rose for this really beautiful module.
296 *** Inline tasks
297       
298 Inline tasks are tasks that have all the properties of normal
299 outline nodes, including the ability to store meta data like
300 scheduling dates, TODO state, tags and properties.  But these
301 tasks are not meant to introduce additional outline structure, at
302 least as far as visibility cycling and export is concerned.  They
303 are useful for adding tasks in extensive pieces of text where
304 interruption of the flow or restructuring is unwanted.
306 This feature is not turned on by default, you need to configure
307 =org-modules= to turn it on, or simply add to you .emacs file:
309 : (require 'org-inlinetask)
311 After that, tasks with level 15 (30 stars when using
312 org-odd-levels-only) will be treated as inline tasks, and
313 fontification will make obvious which tasks are treated in this
314 way.
316 *** Input from RSS feeds
318 Org can now collect tasks from an RSS feed, a great method to get
319 stuff from online call and note-taking services into your trusted
320 system.  You need to configure the feeds in the variable
321 =org-feed-alist=.  The manual contains a short description, more
322 detailed information is [[http://orgmode.org/worg/org-contrib/org-feed.php][available on Worg]].
324 Full credit goes to Brad Bozarth who really [[http://thread.gmane.org/gmane.emacs.orgmode/12251][paved the way]] for this
325 exciting new feature.
328 ** Export
330 *** Allow modification of table attributes in HTML export
331       
332 The #+ATTR_HTML line can now be used to set attributes for a
333 table.  Attributes listed in that line will replace existing
334 attributes in =org-export-html-table-tag=, or will add new ones.
335 For example
336       
337 : #+ATTR_HTML: border="2" rules="all" frame="all"
338 : #+CAPTION: Finally a table with lines!
339 : | a | b |
340 : |---|---|
341 : | 1 | 2 |
343 *** LaTeX low levels are now exported as itemize lists
345 LaTeX export now treats hierarchy levels 4,5, etc as itemize
346 lists, not as description lists as before.  This is more
347 consistent with the behavior of HTML export.  You can configure
348 this behavior using the variable =org-export-latex-low-levels=.
350 *** Markup for centering.
352 Text can be exported centered with
354 #+begin_src org
355 ,#+BEGIN_CENTER
356 ,Everything should be made as simple as possible, \\
357 ,but not any simpler
358 ,#+END_CENTER
359 #+end_src
361 *** Sitemap file is now /sitemap.org/
362     
363 Org-publish can produce a list of all files in a project.
364 Previously the file containing this list was called "index.org",
365 really a brain-dead default because during publication it would
366 overwrite the "index.html" file of the website.
368 The default file name is now "sitemap.org"
370 *** Protect explicit target links in HTML export
371       
372 If a link is =[[#name] [desc]]=, the href produced when exporting
373 the file will be exactly href="#name".  So starting a link target
374 with # will indicate that there will be an explicit target for
375 this.
377 *** HTML export: Allow "- ___" to explicitly terminate a list
378       
379 If a list contains "- ___" (three underscores) as an item, this
380 terminates the list, ignoring this item.  This is an experimental
381 feature, it may disappear again if we find other ways to deal
382 with literal examples right after lists.
384 See [[http://thread.gmane.org/gmane.emacs.orgmode/12299/focus%3D12312][this mailing list thread]] for context.
386 ** Agenda
388 *** Changing the time of an entry from the agenda
390 We now have a way to change not only the date, but also the start
391 time of an entry from the agenda.  The date is normally changed
392 with S-right/left.  Now, if you add a C-u prefix, the hour will
393 be changed.  If you immediately press S-right/left again, hours
394 will continue to be changed.  A double prefix will do the same
395 for minutes.  If the entry has a time range like 14:40-16:00,
396 then both times will change, preserving the length of the
397 appointment.
399 *** Show saved PDF agenda view with prefix arg
401 When writing an agenda view to a PDF file, supplying a a prefix
402 argument (=C-u C-x C-w=) will get the new file displayed
403 immediately.
405 This was a request by Alan E Davis.
407 *** Filter for entries with no effort defined
409 During secondary agenda filtering, pressing "?" now will install a
410 filter that selects entries which do not have an effort defined.
412 This new model was necessary because we needed to stop interpreting
413 entries with no effort defines as 0 effort.  This was inconsistent,
414 because for normal agenda sorting, the treatment of these entries
415 depends on the variable =org-sort-agenda-noeffort-is-high=.  Now this
416 variable is also respected during filtering.
418 This new feature resulted from a [[http://thread.gmane.org/gmane.emacs.orgmode/12493][discussion]] with Matt Lundin and
419 Bernt Hansen.
421 *** Introduce user-defined sorting operators
422       
423 The new variable =org-agenda-cmp-user-defined= can contain a
424 function to test how two entries should be compared during
425 sorting.  The symbols =user-defined-up= and =user-defined-down=
426 can then be part of any sorting strategy.
428 This was a request by Samuel Wales.
430 *** Indentation of subitems in the agenda
431       
432 When a tags/property match does match an entry and it's
433 sublevels, the sublevels used to be indented by dots, to indicate
434 that the matches likely result from tag inheritance.  This is now
435 no longer the default, so the subitems will not get special
436 indentation.  You can get this behavior back with
437       
438 : (setq org-tags-match-list-sublevels 'indented)
440 *** Stuck projects search now searches subtrees of unstuck projects
442 When, during a stuck-project search, a project tree is identified
443 as not stuck, so far the search would continue after the end of
444 the project tree.  From now on, the search continues in the
445 subtree, so that stuck subprojects can still be identified.
448 ** Miscellaneous
450 *** Citations: Use RefTeX to insert citations
451       
452 RefTeX can now be used to create a citation in Org-mode buffers.
453 Setup the buffer with 
455 #+begin_src org
456 ,#+BIBLIOGRAPHY: bibbase style
457 #+end_src
459 and create citations with =C-c C-x [=.
461 Together with org-exp-bibtex.el by Taru Karttunen (available as a
462 contributed package), this provides a great environment for
463 including citations into HTML and LaTeX documents.
465 *** Changing time ranges as a block
467 When using the S-cursor keys to change the first time in a time
468 range like 
470 : <2009-04-01 Wed 14:40-16:40>
472 then the end time will change along, so that the duration of the
473 event will stay the same.
475 This was a request by Anupam Sengupta.
477 *** New sparse tree command
479 A new sparse tree command shows entries with times after a certain
480 date.  Keys are =C-c / a=, this command is for symmetry
481 with =C-c / b=.
483 *** Cloning tasks
485 A new command allows to create clone copies of the current entry,
486 with shifted dates in all stamps in the entry.  This is useful to
487 create, for example, a series of entries for a limited time
488 period.  I am using it to prepare lectures, for example.
490 *** New face for checkboxes
492 Checkboxes now have their own face, =org-checkbox=.  This can be
493 used for nice effects, for example choosing a face with a box
494 around it:
496 #+begin_src emacs-lisp
497 (custom-set-faces
498  (org-checkbox ((t (:background "#444444" :foreground "white"
499                 :box (:line-width 1 :style released-button)))))
500 #+end_src
502 *** M-a and M-e for navigation in a table field
504 In tables fields, the sentence commands =M-a= and =M-e= are
505 redefined to jump to the beginning or end of the field.
507 This was a request by Bastien Guerry.
509 *** Backup files for remember buffers
510       
511 Sometimes users report that they lost data when not immediately
512 storing a new remember note, and then later exiting Emacs or
513 starting a new remember process.
515 Now you can set the variable =org-remember-backup-directory=.
516 Each remember buffer created will then get its own unique file
517 name in that directory, and the file will be removed only if the
518 storing of the note to an Org files was successful.
520 *** org-mac-message.el: New functions to access flagged mail
521       
522 Christopher Suckling has added functionality to
523 /org-mac-message.el/.  In particular, you can now select a number
524 of messages and easily get links to all of them with a single
525 command.  For details, see the [[http://orgmode.org/worg/org-contrib/org-mac-message.php][online documentation]].
527 *** Read-date: New hook
528       
529 The new hook =org-read-date-minibuffer-setup-hook= is called when
530 setting up the minibuffer for reading a date.  If can be used to
531 install new keys into the temporary keymap used there.
534 * Version 6.24
535   :PROPERTIES:
536   :CUSTOM_ID: v6.24
537   :END:
539 ** Incompatible changes
542 *** Tag searches are now case-sensitive
544 From this release on, tag searches will be case sensitive.  While
545 I still think it would be nice to have them case-insensitive,
546 this was both an inconsistency (TODO keyword searches have always
547 been case-sensitive), and trouble for coding some efficient
548 algorithms.  So please make sure that you give the tags with
549 correct casing when prompted for a match expression.
551 *** New key for creating tags/property sparse trees
553 The key to produce a sparse tree matching tags and properties is
554 now =C-c / m= instead of =C-c a T=.  This is also more consistent
555 with the =C-c a m= key for the corresponding agenda view.
556 =C-c / T= will still work for now, but it is no longer advertised
557 in the documentation and may go away at any time in the future.
559 *** IDs in HTML have "ID-" prefix when generated by uuidgen
561 /uuidgen/ generates IDs that often start with a number, not a
562 latter.  However, IDs and names in XHTML must start with a letter.
563 Therefore, IDs in HTML files will now get an "ID-" prefix if they
564 have been generated by uuidgen.  This means that id links from one
565 file to another may stop working until all files have been
566 exported again.
568 *** In agenda, only priority cookies get the special face
570 So far, an entire task would get a special face when
571 =org-agenda-fontify-priorities= was set.  Now, the default value
572 for this variable is the symbol =cookies=, which means that on
573 the cookie is fontified.  Set it to =t= if you want the entire
574 task headline to be fontified.
576 ** Details
578 *** PDF export of agenda views
580 Agenda views can now be exported to PDF files by writing them to
581 a file with extension ".pdf".  Internally this works by first
582 producing the postscript version and then converting that to PDF
583 using the ghostview utility =ps2pdf=.  Make sure that this
584 utility is installed on your system.
586 The postscript version will not be removed, it will stay around.
588 *** Inline some entry text for Agenda View export
590 When exporting an agenda view to HTML or PDF for printing or
591 remote access, one of the problems can be that information stored
592 in entries below the headline is not accessible in that format.
594 You can now copy some of that information to the agenda view
595 before exporting it.  For this you need to set the variable 
596 =org-agenda-add-entry-text-maxlines= to a number greater than 0.
598 #+begin_src emacs-lisp
599 (setq org-agenda-add-entry-text-maxlines 20)
600 #+end_src
602 Or you can do this with the settings in a custom agenda view,
603 for example
605 #+begin_src emacs-lisp
606 ("A" "" agenda ""
607  ((org-agenda-ndays 1)
608   (org-agenda-add-entry-text-maxlines 5))
609  ("agenda-today.pdf"))
610 #+end_src
612 *** Improved ASCII export of links
614 ASCII export of links works now much better.  If a link has a
615 link and a description part which are different, then the
616 description will remain in the text while the link part will be
617 moved to the end of the current section, before the next heading,
618 as a footnote-like construct.
620 Configure the variable =org-export-ascii-links-to-notes= if you
621 prefer the links to be shown in the text.  In this case, Org will
622 make an attempt to wrap the line which may have become
623 significantly longer by showing the link.
625 Thanks to Samuel Wales for pointing out the bad state of ASCII
626 link export.
628 *** Custom agenda commands can specify a filter preset
630 If a custom agenda command specifies a value for
631 =org-agenda-filter-preset= in its options, the initial view of
632 the agenda will be filterd by the specified tags.  Applying a
633 filter with =/= will then always add to that preset filter,
634 clearing the filter with =/ /= will set it back to the preset.
635 Here is an example of a custom agenda view that will display the
636 agenda, but hide all entries with tags =FLUFF= or =BLUFF=:
638 #+begin_src emacs-lisp
639 ("A" "" agenda ""
640  ((org-agenda-filter-preset '("-FLUFF" "-BLUFF"))))
641 #+end_src
643 This is in response to a [[http://thread.gmane.org/gmane.emacs.orgmode/11752][thread on the mailing list]], started by
644 Daniel Clemente and with great contributions by Bernt Hansen and
645 Matt Lundin.
647 *** Exporting of citations to LaTeX and HTML, using BibTeX
648     
649 Citations can now me made using BibTeX, and will be exported to
650 LaTeX and HTML.  This is implemented in a contributed package by
651 Taru Karttunen, /org-exp-bibtex.el/.  Kudos to Taru for this
652 really nice addition.
654 *** Finally a way to specify keywords and description for HTML export
656 Use something like
658 #+begin_src org
659 #+DESCRIPTION: This page is all about ....
660 #+KEYWORDS: org-mode, indexing, publishing
661 #+end_src
663 To specify the content of the description and keywords meta tags
664 for HTML output.
666 *** org-collector.el is now a contributed package
668 /org-collector.el/ provides functions to create tables by
669 collecting and processing properties from entries in a specific
670 scope like the current tree or file, or even from all agenda
671 files.  General lisp expressions can be used to manipulate the
672 property values before they are inserted into an org-mode table,
673 for example as a dynamic block that is easy to update.
675 Thanks to Eric Schulte for yet another great contribution to
676 Org.
678 *** Update of org2rem.el
680 /org2rem.el/ has been updated significantly and now does a more
681 comprehensive job of exporting Org events to remind.
683 Thanks to Sharad Pratap for this update.
685 *** New div around the entire page in HTMP export
687 A new =<div id=content>= is wrapped around the entire page,
688 everything that is inside =<body>=.
690 This means that you need to update /org-info.js/ (if you have a
691 local copy).  It will be safe todo so, because the new
692 org-info.js still handles older pages correctly.  Thanks to
693 Sebastian Rose for making these changes so quicky.
695 *** Clustering characters for undo
697 When typing in Org-mode, undo will now remove up to 20 characters
698 at a time with a single undo command.  This is how things work
699 normally in Emacs, but the special binding of characters in
700 Org-mode made this impossible until now.
702 Thanks to Martin Pohlack for a patch which mimicks the behavior
703 of the Emacs command loop for the Org version of
704 =self-insert-command=.  Note that this will not work in headlines
705 and tables because typing there will do a lot of extra work.
707 There might be a small typing performance hit resulting from this
708 change - please report in the mailing list if this is noticeable
709 and annoying. 
711 *** Separate settings for special C-a and C-e 
713 The variable `org-special-ctrl-a/e' now allows separate settings
714 for =C-a= and =C-e=.  For example
716 #+begin_src emacs-lisp
717 (setq org-special-ctrl-a/e '(reversed . t))
718 #+end_src
720 Thanks to Alan Davis for this proposal.
722 *** orgstruct++-mode improvements
724 In addition to =orgstruct-mode= which allows to use some Org-mode
725 structure commands in other major modes, there is a more invasive
726 version of this mode: =orgstruct++-mode=.  This mode will import
727 all paragraph and line wrapping variables into the major mode, so
728 that, for example, during typing the auto-fill wrapping of items
729 will work just like in Org-mode.  This change is not reversible,
730 so turning off =orgstruct++-mode= will not remove these settings
731 again. =orgstruct++-mode= is most useful in text modes like
732 message-mode or =magit-log-edit-mode=.  Furthermore,
733 =orgstruct++-mode= will recognize plain list context not only in
734 the first line of an item, but also further down, so that =M-RET=
735 will correctly insert new items.
737 Thanks to Austin Frank for requesting some of these changes.
739 *** Promotion and demotion works for regions now
741 =M-right= and =M-left= now do demote and promote all headlines in
742 an active region.
744 *** Match syntax for tags/properties is now described in a single place
746 The manual chapters about tags and about properties now only
747 refer to the section about agenda views, where the general syntax
748 of tag/property matches is described.
750 *** Macro replacement
752 A string like ={{{ title }}}= will be replaced by the title of
753 the document, ={{{ email }}}= by the email setting of the author
754 and similarly for other export settings given in =#+...= lines.
755 In addition to that, you can define an arbitrary number of
756 macros, for example:
758 #+begin_src org
759 ,#+MACRO: myaddress 41 Onestreet, 12345 New York, NY
761 ,my address is {{{myaddress}}}, see you there.
762 #+end_src
764 Macro replacement is the very first thing that happens during
765 export, and macros will be replaced even in source code and other
766 protected regions.
768 *** New reload command, with keyboard access
770 There is now a special command to reload all Org Lisp files, so
771 that you can stay in your Emacs session while pulling and
772 compiling changes to Org.  The command to reload the compiled
773 files (if available) is =C-c C-x r=.  If no compiled files are
774 found, uncompiled ones will be loaded.  If you want to force
775 loading of uncompiled code (great for producing backtraces), use
776 a prefix arg: =C-u C-c C-x r=.  Both commands are available in
777 the menu as well.
779 This new command was inspired by one written earlier by Bernt
780 Hansen.
782 *** Faces for priority cookies can now be set freely
784 The new variable =org-priority-faces= can be used to set faces
785 for each priority.
787 *** New key for creating tags/property sparse trees
789 The key to produce a sparse tree matching tags and properties is
790 now =C-c / m= instead of =C-c a T=.  This is more consistent with
791 the =C-c a m= key for the corresponding agenda view.  =C-c / T=
792 will still work for now, but it is no longer advertised in the
793 documentation and may go away at any time in the future.
795 *** IDs in HTML have "ID-" prefix when generated by uuidgen
797 /uuidgen/ generates IDs that often start with a number, not a
798 letter.  However, IDs and names in XHTML must start with a letter.
799 Therefore, IDs in HTML files will now get an "ID-" prefix if they
800 have been generated by /uuidgen/.  This means that id links from one
801 file to another may stop working until all files have been
802 exported again, so that both links and targets have the new prefix.
804 *** In agenda, only priority cookies get the special face
806 So far, an entire task would get a special face when
807 =org-agenda-fontify-priorities= was set.  Now, the default value
808 for this variable is the symbol =cookies=, which means that on
809 the cookie is fontified.  Set it to =t= if you want the entire
810 task headline to be fontified.
812 *** Turning off time-of-day search in headline
814 Some people like to put a creation time stamp into a headline and
815 then get confused if the time-of-day found in there shows up as
816 the time-of-day of the deadline/scheduling entry for this
817 headline.  The reason for this is that Org searches the headline
818 for a free-format time when trying to sort the entry into the
819 agenda, and that search accidentally finds the time in the
820 creation time stamp or something else that happens to look like a
821 time.  If this is more painful than useful for you, configure the
822 new variable =org-agenda-search-headline-for-time=.
825 * Version 6.23
826   :PROPERTIES:
827   :CUSTOM_ID: v6.23
828   :END:
829 ** Overview
831 - Capture state change notes into a drawer
832 - Clock lines are now captured into the LOGBOOK drawer as well
833 - Added org-R.el to contrib directory
834 - Allow individual formatting of each TODO keyword in HTML export
835 - New hooks for add-ons to tap into context-sensitive commands
836 - Publishing files irrespective of extension
837 - New variable index in the manual
838 - The ORDERED property also influences checkboxes
839 - The ORDERED property can be tracked with a tag
840 - You may now specify line breaks in the fast tags interface
841 - When a TODO is blocked by checkboxes, keep it visible in agenda
842 - LaTeX can import Org's in-buffer definitions for TITLE, EMAIL etc.
844 ** Incompatible changes
846 - CLOCK lines will now be captured into the LOGBOOK drawer.
847   See below for details.
849 ** Details
851 *** Capture state change notes into a drawer
853 State change notes can now be captured into a drawer =LOGBOOK=,
854 to keep the entry tidy.  If this is what you want, you will need
855 this configuration:
857 #+begin_src emacs-lisp
858 (setq org-log-into-drawer "LOGBOOK")
859 #+end_src
861 Thanks to Wanrong Lin for this proposal.
863 *** Clock lines are now captured into the LOGBOOK drawer as well
865 The =CLOCK= drawer will be abandoned, clock lines will now also
866 end up in a drawer =LOGBOOK=.  The reason for this is that it's a
867 bit useless to have two different drawers for state change notes
868 and clock lines.  If you wish to keep the old way, use
870 #+begin_src emacs-lisp
871 (setq org-clock-into-drawer "CLOCK")
872 #+end_src
874 *** Added org-R.el to contrib directory
876 Dan Davison has contributed /org-R.el/ which is now in the
877 contrib directory.  Org-R performs numerical computations and
878 generates graphics.  Data can come from org tables, or from csv
879 files; numerical output can be stored in the org buffer as org
880 tables, and links are created to files containing graphical
881 output.  Although, behind the scenes, it uses R, you do not need
882 to know anything about R.  Common operations, such as tabulating
883 discrete values in a column of an org table, are available "off
884 the shelf" by specifying options on lines starting with =#+R:=.
885 However, you can also provide raw R code to be evaluated.  The
886 documentation is currently the worg tutorial at
887 http://orgmode.org/worg/org-tutorials/org-R/org-R.php
889 Thanks to Dan for this great contribution.
891 *** Allow individual formatting of TODO keyword and tags in HTML export
893 TODO keywords in HTML export have the CSS class =todo= or =done=.
894 Tags have the CSS class =tag=.  In addition to this, each keyword
895 has now itself as class, so you could do this in your CSS file:
897 #+begin_src css
898 .todo { font-weight:bold; }
899 .done { font-weight:bold; }
900 .TODO { color:red; }
901 .WAITING { color:orange; }
902 .DONE { color:green; }
903 #+end_src
905 If any of your keywords causes conflicts with CSS classes used
906 for different purposes (for example a tag "title" would cause a
907 conflict with the class used for formatting the document title),
908 then you can use the variables =org-export-html-tag-class-prefix=
909 and =org-export-html-todo-kwd-class-prefix= to define prefixes
910 for the class names for keywords, for example "kwd-".
912 Thanks to Wanrong Lin for this request, and to Sebastian Rose for
913 help with the implementation.
915 *** New hooks for add-ons to tap into context-sensitive commands
917 Some commands in Org are context-sensitive, they will execute
918 different functions depending on context.  The most important
919 example is of course =C-c C-c=, but also the =M-cursor= keys fall
920 into this category.
922 Org has now a system of hooks that can be used by add-on packages
923 to install their own functionality into these keys.  See the
924 docstring of =org-ctrl-c-ctrl-c-hook= for details.  The other
925 hooks are named like =org-metaleft-hook= or
926 =org-shiftmetaright-hook=.
928 *** Publishing files irrespective of extension
930 If you set the =:base-extension= property for a publishing
931 project to the symbol =any=, all files in the directory will be
932 published, irrespective of extension.
934 Thanks to Richard Klinda for a patch to this effect.
936 *** New variable index in the manual
938 A new index in the manual lists all variables mentioned in the
939 manual, about 200 variables in total.
941 *** The ORDERED property also influences checkboxes
943 When an entry has the ORDERED property set, checkboxes in
944 the entry must be completed in order.  This was already the case
945 for children TODO items, now it also applies for checkboxes.
947 Thanks to Rainer Stengele for this proposal.
949 *** The ORDERED property can be tracked with a tag
951 The =ORDERED= property is used to flag an entry so that subtasks
952 (both children TODO items and checkboxes) must be completed in
953 order.  This property is most easily toggled with the command
954 =C-c C-x o=.  A property was chosen for this functionality,
955 because this should be a behavior local to the current task, not
956 inherited like tags.  However, properties are normally
957 invisible.  If you would like visual feedback on the state of
958 this property, configure the variable
959 =org-track-ordered-property-with-tag=.  If you then use =C-c C-x
960 o= to toggle the property, a tag will be toggled as well, for
961 visual feedback.
963 Note that the tag itself has no meaning for the behavior of TODO
964 items and checkboxes, and that changing the tag with the usual
965 tag commands will not influence the property and therefore the
966 behavior of TODO and checkbox commands.
968 *** You may now specify line breaks in the fast tags interface
970 Up to now, the fast tags interface tried to lump as many tags as
971 possible into a single line, with the exception that groups would
972 always be on a line by themselves.
974 Now, if you use several lines to define your tags, like
976 #+begin_src org
977 ,#+TAGS: aa(a) bb(b) cc(c)
978 ,#+TAGS: dd(d) ee(e) ff(f)
979 #+end_src
981 then there will also be a line break after the "cc" tag in the
982 fast tag selection interface.  You may also write
984 #+begin_src org
985 ,#+TAGS: aa(a) bb(b) cc(c) \n dd(d) ee(e) ff(f)
986 #+end_src
988 to achieve the same effect, and you can use =\n= several times in
989 order to produce empty lines.  In =org-tag-alist=, newlines are
990 represented as =(:newline)=.
992 Thanks to Christopher Suckling for a patch to this effect.
994 *** When a TODO is blocked by checkboxes, keep it visible in agenda
996 When the variable =org-agenda-dim-blocked-tasks= is set to
997 =invisible=, tasks that are blocked will not be visible in the
998 agenda.  If the blocking is due to child TODO entries, this does
999 make sense because the children themselves will show up in the
1000 TODO list.
1002 However, as John Rakestraw has [[http://thread.gmane.org/gmane.emacs.orgmode/10939][pointed out]], if the blocking is
1003 done by checkboxes, no trace of these subtasks is left.
1004 Therefore, when the blocking is done by checkboxes, we now
1005 overrule the =invisible= setting and replace it with mere dimming
1006 of the task.
1008 *** LaTeX can import Org's in-buffer definitions for TITLE, EMAIL etc.
1010 If you configure =org-export-latex-import-inbuffer-stuff=,
1011 in-buffer definitions like #+TITLE will be made available in the
1012 LaTeX file as =\orgTITLE=.
1014 This was a request by Russel Adams.
1016 * Version 6.22
1017   :PROPERTIES:
1018   :CUSTOM_ID: v6.22
1019   :END:
1020 ** Details
1022 *** org-choose.el by Tom Breton is now included
1024 Org-choose helps documenting a decision-making process by using
1025 TODO keywords for different degrees of /chosenness/, and by
1026 automatically keeping a set of alternatives in a consistent state.
1028 Documentation for /org-choose.el/ is available [[http://orgmode.org/worg/org-contrib/org-choose.php][here]].
1030 This package inserts itself into Org using hooks, so if other
1031 people would like to do interesting stuff with TODO keywords for
1032 special purposes, looking at Tom's code might be a good way to
1033 start.
1035 Thanks to Tom for this interesting contribution!
1037 *** orgmode.org and Worg css works now better on IE
1039 Thanks to Sebastian Rose for making these changes.
1041 *** When exporting a subtree, headline levels are now relative to parent
1043 This was reported as a bug by William Henney and is fixed now.
1045 *** Inactive dates in tables can be used for sorting.
1047 When sorting table fields or entries by date, Org first tries to
1048 find an active date, and, if none exist, uses a passive date if
1049 present.
1051 This was a request by Hsui-Khuen Tang
1053 *** The default for =org-return-follows-link= is back to =nil=
1055 Setting it to =t= violates Emacs rules to some extent.  The
1056 internal implementation of this has been improved, so setting it
1057 to =t= should now be pretty stable.
1059 *** Automatic scheduling of siblings with org-depend.el
1061 The sibling of a DONE task can now automatically be scheduled.
1063 This was a patch by Andrew Hyatt.
1065 *** New skipping conditions
1067 The functions =org-agenda-skip-entry-if= and
1068 =org-agenda-skip-subtree-if= now accept =timestamp= and
1069 =nottimestamp= as additional conditions.
1071 This was in response to a request by Saurabh Agrawal.
1073 * Version 6.21
1074   :PROPERTIES:
1075   :CUSTOM_ID: v6.21
1076   :END:
1078 ** Details
1080 *** Changes to some default values of variables:
1082 Here are the new default values:
1084 #+begin_example
1085 (setq org-return-follows-link t)
1087 (setq org-use-fast-todo-selection t)
1089 (setq org-yank-adjusted-subtrees nil)
1091 (setq org-tags-column -77)
1093 (setq org-agenda-sorting-strategy
1094      '((agenda time-up priority-down category-keep)
1095         (todo time-up priority-down category-keep)
1096         (tags time-up priority-down category-keep)
1097         (search category-keep)))
1098 #+end_example
1100 *** Final cleanup for Emacs 21.1 pretest
1102 * Version 6.20
1103   :PROPERTIES:
1104   :CUSTOM_ID: v6.20
1105   :END:
1107 ** Details
1109 *** Support for simple TODO dependencies
1111 John Wiegley's code for enforcing simple TODO dependencies has
1112 been integrated into Org-mode.  Thanks John!
1114 The structure of Org files (hierarchy and lists) makes it easy to
1115 define TODO dependencies.  A parent TODO task should not be
1116 marked DONE until all subtasks (defined as children tasks) are
1117 marked as DONE.  And sometimes there is a logical sequence to a
1118 number of (sub)tasks, so that one task cannot be acted upon
1119 before all siblings above it are done.  If you customize the
1120 variable =org-enforce-todo-dependencies=, Org will block entries
1121 from changing state while they have children that are not DONE.
1122 Furthermore, if an entry has a property =ORDERED=, each of its
1123 children will be blocked until all earlier siblings are marked
1124 DONE.  Here is an example:
1126 #+begin_src org
1127 ,* TODO Blocked until (two) is done
1128 ,** DONE one
1129 ,** TODO two
1131 ,* Parent
1132 ,  :PROPERTIES:
1133 ,    :ORDERED: t
1134 ,  :END:
1135 ,** TODO a
1136 ,** TODO b, needs to wait for (a)
1137 ,** TODO c, needs to wait for (a) and (b)
1138 #+end_src
1140 The command =C-c C-x o= toggles the value of the =ORDERED=
1141 property.
1143 The variable =org-agenda-dim-blocked-tasks= controls how blocked
1144 entries should appear in the agenda, where they can be dimmed or
1145 even made invisible.
1147 Furthermore, you can use the variable
1148 =org-enforce-todo-checkbox-dependencies= to block TODO entries
1149 from switching to DONE while any checkboxes are unchecked in the entry.
1151 *** Support for shift-selection in Emacs 23
1153 Customize the variable =org-support-shift-select= to use S-cursor
1154 key for selecting text.  Make sure that you carefully read the
1155 docstring of that variable first.
1157 *** Adding and removing checkboxes from many lines
1159 The command =C-c C-x C-b= normally toggles checkbox status in the
1160 current line, or in all lines in the region.  With prefix
1161 argument it now either adds or removes the checkbox.
1163 This was a requested by Daniel Clemente.
1165 * Version 6.19
1166   :PROPERTIES:
1167   :CUSTOM_ID: v6.19
1168   :END:
1170 ** Overview
1171    
1172 - Improved behavior of conversion commands =C-c -= and =C-c *=
1173 - Table formulas may now reference fields in other tables
1174 - A final hline is imagined in each table, for the sake of references
1175 - A tags-todo search can now ignore timestamped items
1176 - =\par= can be used to force a paragraph break, also in footnotes
1178 ** Details
1179    
1181 *** Improved behavior of conversion commands =C-c -= and =C-c *=
1183     The conversion commands =C-c -= and =C-c *= are now better
1184     behaved and therefore more useful, I hope.
1186     If there is an active region, these commands will act on the
1187     region, otherwise on the current line.
1189     - C-c - :: This command turns headings or normal lines into
1190          items, or items into normal lines.  When there is a
1191          region, everything depends on the first line of the
1192          region:
1193          - if it is a item, turn all items in the region into
1194            normal lines.
1195          - if it is a headline, turn all headlines in the region
1196            into items. 
1197          - if it is a normal line, turn all lines into items.
1198          - special case: if there is no active region and the
1199            current line is an item, cycle the bullet type of the
1200            current list.
1201     - C-c * :: This command turns items and normal lines into
1202          headings, or headings into normal lines.  When there is
1203          a region, everything depends on the first line of the
1204          region:
1205          - if it is a item, turn all items in the region into
1206            headlines.
1207          - if it is a headline, turn all headlines in the region
1208            into normal lines. 
1209          - if it is a normal line, turn all lines into headlines.
1211 *** Table formulas may now reference fields in other tables
1213 You may now reference constants, fields and ranges from a
1214 different table, either in the current file or even in a
1215 different file.  The syntax is
1217 : remote(NAME-OR-ID,REF)
1219 where /NAME/ can be the name of a table in the current file as
1220 set by a =#+TBLNAME: NAME= line before the table.  It can also be
1221 the ID of an entry, even in a different file, and the reference
1222 then refers to the first table in that entry.  /REF/ is an
1223 absolute field or range reference, valid in the referenced table.
1224 Note that since there is no "current filed" for the remote table,
1225 all row and column references must be absolute, not relative.
1227 *** A final hline is imagined in each table, for the sake of references
1229 Even if a table does not end with a hline (mine never do because I
1230 think it is not pretty), for the sake of references you can
1231 assume there is one.  So in the following table
1233 #+begin_src org
1234 | a | b |
1235 |---+---|
1236 | 1 | 2 |
1237 | 3 | 4 |
1238 #+end_src
1240 a reference like =@I$1..@II$2= will now work.
1242 *** A tags-todo search can now ignore timestamped items
1243     The variables =org-agenda-todo-ignore-with-date=,
1244     =org-agenda-todo-ignore-with-date=, and
1245     =org-agenda-todo-ignore-with-date= make it possible to
1246     exclude TODO entries which have this kind of planning info
1247     associated with them.  This is most useful for people who
1248     schedule everything, and who use the TODO list mainly to find
1249     things that are not yet scheduled.  Thomas Morgan pointed out
1250     that also the tags-todo search may serve exactly this
1251     purpose, and that it might be good to have a way to make
1252     these variables also apply to the tags-todo search.  I can
1253     see that, but could not convince myself to make this the
1254     default.  A new variable must be set to make this happen:
1255     =org-agenda-tags-todo-honor-ignore-options=.
1257 *** =\par= can be used to force a paragraph break, also in footnotes
1259 The LaTeX idiom =\par= will insert a paragraph break at that
1260 location.  Normally you would simply leave an empty line to get
1261 such a break, but this is useful for footnotes whose
1262 definitions may not contain empty lines.
1264 * Version 6.18
1265   :PROPERTIES:
1266   :CUSTOM_ID: v6.18
1267   :END:
1268 ** Incompatible changes
1270 *** Short examples must have a space after the colon
1272     Short literal examples can be created by preceding lines
1273     with a colon.  Such lines must now have a space after the
1274     colon.  I believe this is already general practice, but now
1275     it must be like this.  The only exception are lines that are
1276     empty except for the colon.    
1278 ** Details
1280 *** Include files can now also process switches
1282     The example and src switches like =-n= can now also be added
1283     to include file statements:
1285 : #+INCLUDE "~/.emacs" src emacs-lisp -n -r
1287     Thanks to Manish for pointing out that this was not yet
1288     supported.
1290 *** Examples can be exported to HTML as text areas
1291     
1292     You can now specify a =-t= switch to an example or src block,
1293     to make it export to HTML as a text area.  To change the
1294     defaults for height (number of lines in the example) and
1295     width of this area (80), use the =-h= and =-w= switches.
1297     Thanks to Ulf Stegemann for driving this development.
1299 *** LaTeX_CLASS can be given as a property
1301     When exporting a single subtree by selecting it as a region
1302     before export, the LaTeX class for the export will be taken
1303     from the =LaTeX_CLASS= property of the entry if present.
1305     Thanks to Robert Goldman for this request.
1307 *** Better handling of inlined images in different backends
1309     Two new variables govern which kind of files can be inlined
1310     during export.  These are
1311     =org-export-html-inline-image-extensions= and
1312     =org-export-latex-inline-image-extensions=.  Remember that
1313     links are turned into an inline image if they are a pure link
1314     with no description.  HTML files can inline /.png/, /.jpg/,
1315     and /.gif/ files, while LaTeX files, when processed with
1316     /pdflatex/, can inline /.png/, /.jpg/, and /.pdf/ files.
1317     These also represent the default settings for the new
1318     variables.  Note that this means that pure links to /.pdf/
1319     files will be inlined - to avoid this for a particular link,
1320     make sure that the link has a description part which is not
1321     equal to the link part.
1323 *** Links by ID now continue to work in HTML exported files
1325     If you make links by ID, these links will now still work in
1326     HTML exported files, provided that you keep the relative path
1327     from link to target file the same.
1329     Thanks to Friedrich Delgado Friedrichs for pushing this over
1330     the line.
1332 *** The relative timer can be paused
1334     The new command `C-c C-x ,' will pause the relative timer.
1335     When the relative timer is running, its value will be shown
1336     in the mode line.  To get rid of this display, you need to
1337     really stop the timer with `C-u C-c C-x ,'.
1339     Thanks to Alan Davis for driving this change.
1341 *** The attachment directory may now be chosen by the user
1343     Instead of using the automatic, unique directory related to
1344     the entry ID, you can also use a chosen directory for the
1345     attachments of an entry.  This directory is specified by the
1346     ATTACH_DIR property.  You can use `C-c C-a s' to set this
1347     property.
1349     Thanks to Jason Jackson for this proposal.
1351 *** You can use a single attachment directory for a subtree
1353     By setting the property ATTACH_DIR_INHERIT, you can now tell
1354     Org that children of the entry should use the same directory
1355     for attachments, unless a child explicitly defines its own
1356     directory with the ATTACH_DIR property.  You can use the
1357     command `C-c C-a i' to set this property in an entry.
1359 * Version 6.17
1360   :PROPERTIES:
1361   :CUSTOM_ID: v6.17
1362   :END:
1364 ** Overview
1366 - Footnote support
1367 - Line numbers and references in literal examples 
1368 - New hooks for export preprocessing 
1369 - Capture column view into a different file
1371 ** Details
1373 *** Footnote support
1375 Org-mode now directly supports the creation of footnotes.  In
1376 contrast to the /footnote.el/ package, Org-mode's footnotes are
1377 designed for work on a larger document, not only for one-off
1378 documents like emails.  The basic syntax is similar to the one
1379 used by /footnote.el/, i.e. a footnote is defined in a paragraph
1380 that is started by a footnote marker in square brackets in column
1381 0, no indentation allowed.  The footnote reference is simply the
1382 marker in square brackets inside text.  For example:
1384 #+begin_src org
1385 The Org homepage[fn:1] now looks a lot better than it used to.
1387 [fn:1] The link is: http://orgmode.org
1388 #+end_src
1390 Org-mode extends the number-based syntax to /named/ footnotes and
1391 optional inline definition.  Using plain numbers as markers is
1392 supported for backward compatibility, but not encouraged because
1393 of possible conflicts with LaTeX syntax.  Here are the valid
1394 references:
1396 - [1] ::  A plain numeric footnote marker.
1397          
1398 - [fn:name] :: A named footnote reference, where `name' is a
1399      unique label word or, for simplicity of automatic creation,
1400      a number. 
1401      
1402 - [fn:: This is the inline definition of this footnote] :: A
1403      LaTeX-like anonymous footnote where the definition is given
1404      directly at the reference point.
1406 - [fn:name: a definition] :: An inline definition of a footnote,
1407      which also specifies a name for the note.  Since Org allows
1408      multiple references to the same note, you can then use use
1409      `[fn:name]' to create additional references.
1411 Footnote labels can be created automatically, or you create names
1412 yourself.  This is handled by the variable
1413 =org-footnote-auto-label= and its corresponding =#+STARTUP=
1414 keywords, see the docstring of that variable for details.
1416 The following command handles footnotes:
1418 - C-c C-x f :: The footnote action command.  When the cursor is
1419      on a footnote reference, jump to the definition.  When it is
1420      at a definition, jump to the (first) reference.  Otherwise,
1421      create a new footnote.  Depending on the variable
1422      `org-footnote-define-inline' (with associated =#+STARTUP=
1423      options =fninline= and =nofninline=), the definitions will
1424      be placed right into the text as part of the reference, or
1425      separately into the location determined by the variable
1426      =org-footnote-section=.
1427      When this command is called with a prefix argument, a menu
1428      of additional options is offered:
1429      - s :: Sort the footnote definitions by reference sequence.
1430             During editing, Org makes no effort to sort footnote
1431             definitions into a particular sequence.  If you want
1432             them sorted, use this command, which will also move
1433             entries according to =org-footnote-section=.
1434      - n :: Normalize the footnotes by collecting all
1435             definitions (including inline definitions) into a
1436             special section, and then numbering them in
1437             sequence.  The references will then also be
1438             numbers.  This is meant to be the final step before
1439             finishing a document (e.g. sending off an email).
1440             The exporters do this automatically, and so could 
1441             something like `message-send-hook'.
1442      - d :: Delete the footnote at point, and all references to it.
1443             
1444 - C-c C-c :: If the cursor is on a footnote reference, jump to
1445      the definition.  If it is a the definition, jump back to the
1446      reference.  When called with a prefix argument at either
1447      location, offer the same menu as `C-u C-c C-x f'.
1449 - C-c C-o or mouse-1/2 :: Footnote labels are also links to the
1450      corresponding definition/reference, and you can use the
1451      usual commands to follow these links.
1453 Org-mode's footnote support is designed so that it should also
1454 work in buffers that are not in Org-mode, for example in email
1455 messages.  Just bind =org-footnote-action= to a global key like
1456 =C-c f=.
1458 The main trigger for this development came from a hook function
1459 written by Paul Rivier, to implement named footnotes and to
1460 convert them to numbered ones before export.  Thanks, Paul!
1462 Thanks also to Scot Becker for a thoughtful post bringing this
1463 subject back onto the discussion table, and to Matt Lundin for
1464 the idea of named footnotes and his prompt testing of the new
1465 features.
1467 *** Line numbers and references in literal examples
1469 Literal examples introduced with =#+BEGIN_EXAMPLE= or =#+BEGIN_SRC=
1470 do now allow optional line numbering in the example.
1471 Furthermore, links to specific code lines are supported, greatly
1472 increasing Org-mode's utility for writing tutorials and other
1473 similar documents.
1475 Code references use special labels embedded directly into the
1476 source code.  Such labels look like "(ref:name)" and must be
1477 unique within a document.  Org-mode links with "(name)" in the
1478 link part will be correctly interpreted, both while working with
1479 an Org file (internal links), and while exporting to the
1480 different backends.  Line numbering and code references are
1481 supported for all three major backends, HTML, LaTeX, and ASCII.
1482 In the HTML backend, hovering the mouse over a link to a source
1483 line will remote-highlight the referenced code line.
1485 The options for the BEGIN lines are:
1487  - -n :: Number the lines in the example
1488  - +n :: Like -n, but continue numbering from where the previous
1489          example left off.
1490  - -r :: Remove the coderef cookies from the example, and replace
1491          links to this reference with line numbers.  This option
1492          takes only effect if either -n or +n are given as well.
1493          If -r is not given, coderefs simply use the label name.
1494  - -l "fmt" :: Define a local format for coderef labels, see the
1495       variable =org-coderef-label-format= for details.  Use this
1496       of the default syntax causes conflicts with the code in the
1497       code snippet you are using.
1499 Here is an example:
1501 #+begin_example -k
1502 #+begin_src emacs-lisp -n -r
1503 (defmacro org-unmodified (&rest body)                   (ref:def)
1504   "Execute body without changing `buffer-modified-p'."
1505   `(set-buffer-modified-p                              (ref:back)
1506     (prog1 (buffer-modified-p) ,@body)))
1507 #+end_src
1508 [[(def)][Line (def)]] contains the macro name.  Later at line [[(back)]],
1509 backquoting is used.
1510 #+end_example
1512 When exported, this is translated to:
1513 #+begin_src emacs-lisp -n -r
1514 (defmacro org-unmodified (&rest body)                   (ref:def)
1515   "Execute body without changing `buffer-modified-p'."
1516   `(set-buffer-modified-p                              (ref:back)
1517     (prog1 (buffer-modified-p) ,@body)))
1518 #+end_src
1519 [[(def)][Line (def)]] contains the macro name.  Later at line [[(back)]],
1520 backquoting is used.
1522 Thanks to Ilya Shlyakhter for proposing this feature set.  Thanks
1523 to Sebastian Rose for the key Javascript element that made the
1524 remote highlighting possible.
1526 *** New hooks for export preprocessing
1527     The export preprocessor now runs more hooks, to allow
1528     better-timed tweaking by user functions:
1530 - =org-export-preprocess-hook= ::
1531   Pretty much the first thing in the preprocessor.  But org-mode
1532   is already active in the preprocessing buffer.
1534 - =org-export-preprocess-after-include-files-hook= ::
1535   This is run after the contents of included files have been inserted.
1537 - =org-export-preprocess-after-tree-selection-hook= ::
1538   This is run after selection of trees to be exported has
1539   happened.  This selection includes tags-based selection, as
1540   well as removal of commented and archived trees.
1542 - =org-export-preprocess-before-backend-specifics-hook= ::
1543   Hook run before backend-specific functions are called during preprocessing.
1545 - =org-export-preprocess-final-hook= ::
1546   Hook for preprocessing an export buffer.  This is run as the
1547   last thing in the preprocessing buffer, just before returning
1548   the buffer string to the backend.
1550 *** Capture column view into a different file
1552     The :id parameter for the dynamic block capturing column view
1553     can now truly be an ID that will also be found in a
1554     different file.  Also, it can be like =file:path/to/file=, to
1555     capture the global column view from a different file.
1557     Thanks to Francois Lagarde for his report that IDs outside
1558     the current file would not work.
1560 * Version 6.16
1561   :PROPERTIES:
1562   :CUSTOM_ID: v6.16
1563   :END:
1564   Cleanup of many small bugs, and one new feature.
1566 ** Details
1568 *** References to last table row with special names
1570     Fields in the last row of a table can now be referenced with
1571     $LR1, $LR2, etc.  These references can appear both on the
1572     left hand side and right hand side of a formula.
1574 * Version 6.15f
1575   :PROPERTIES:
1576   :CUSTOM_ID: v6.15f
1577   :END:
1579   This version reverses the introduction of @0 as a reference to
1580   the last rwo in a table, because of a conflict with the use of
1581   @0 for the current row.
1583 * Version 6.15
1584   :PROPERTIES:
1585   :CUSTOM_ID: v6.15
1586   :END:
1587 ** Overview
1589 - All known LaTeX export issues fixed 
1590 - Captions and attributes for figures and tables. 
1591 - Better implementation for entry IDs 
1592 - Spreadsheet references to the last table line. 
1593 - Old syntax for link attributes abandoned 
1595 ** Incompatible changes
1596 *** Old syntax for link attributes abandoned
1598 There used to be a syntax for setting link attributes for
1599 HTML export by enclosing the attributes into double braces
1600 and adding them to the link itself, like
1602 #+begin_example
1603 [[./img/a.jpg{{alt="an image"}}] ]
1604 #+end_example
1606 This syntax is not longer supported, use instead
1608 #+begin_src org
1609 ,#+ATTR_HTML: alt="an image"
1610 [[./img/a.jpg] ]
1611 #+end_src
1613 ** Details
1615 *** All known LaTeX export issues fixed
1617 All the remaining issues with the LaTeX exporter have hopefully
1618 been addressed in this release.  In particular, this covers
1619 quoting of special characters in tables and problems with
1620 exporting files where the headline is in the first line, or with
1621 an active region.
1623 *** Captions and attributes for figures and tables.
1625 Tables, and Hyperlinks that represent inlined images, can now be
1626 equipped with additional information that will be used during
1627 export.  The information will be taken from the following special
1628 lines in the buffer and apply to the first following table or
1629 link.
1631 - #+CAPTION: :: The caption of the image or table.  This string
1632      should be processed according to the export backend, but
1633      this is not yet done.
1635 - #+LABEL: :: A label to identify the figure/table for cross
1636      references.  For HTML export, this string will become the
1637      ID for the ~<div class="figure">~ element that encapsulates
1638      the image tag and the caption.  For LaTeX export, this
1639      string will be used as the argument of a ~\label{...}~
1640      macro.  These labels will be available for internal links
1641      like ~[[label][Table] ]~.
1643 - #+ATTR_HTML: :: Attributes for HTML export of image, to be
1644      added as attributes into the ~<img...>~ tag.  This string
1645      will not be processed, so it should have immediately the
1646      right format.
1648 - #+ATTR_LaTeX: :: Attributes for LaTeX export of images and
1649      tables.\\
1650      For /images/, this string is directly inserted into
1651      the optional argument of the ~\includegraphics[...]{file}~
1652      command, to specify scaling, clipping and other options.
1653      This string will not be processed, so it should have
1654      immediately the right format, like =width=5cm,angle=90=.\\       
1655      For /tables/, this can currently contain the keyword
1656      =longtable=, to request typesetting of the table using the
1657      longtable package, which automatically distributes the table
1658      over several pages if needed.  Also, the attributes line may
1659      contain an alignment string for the tabular environment, like
1660      =longtable,align=l|lrl=
1662 For LaTeX export, if either a caption or a label is given, the element
1663 will be exported as a float, i.e. wrapped into a figure or table
1664 environment.
1666 *** Better implementation for entry IDs
1667     
1668 Unique identifiers for entries can now be used more efficiently.
1669 Internally, a hash array has replaced the alist used so far to
1670 keep track of the files in which an ID is defined.  This makes it
1671 quite fast to find an entry by ID.
1673 There is a new link type which looks like this:
1675 #+begin_example
1676 id:GLOBALLY-UNIQUE-IDENTIFIER
1677 #+end_example
1679 This link points to a specific entry.  When you move the entry to
1680 a different file, for example if you move it to an archive
1681 file, the link will continue to work.
1683 The file /org-id.el/ contains an API that can be used to write
1684 code using these identifiers, including creating IDs and finding
1685 them wherever they are.
1687 Org has its own method to create unique identifiers, but if the system
1688 has /uuidgen/ command installed (Mac's and Linux systems generally
1689 do), it will be used by default (a change compared to the earlier
1690 implmentation, where you explicitdly had to opt for uuidgen).  You can
1691 also select the method by hand, using the variable =org-id-method=.
1693 If the ID system ever gets confused about where a certain ID is, it
1694 initiates a global scan of all agenda files with associated archives,
1695 all files previously known containing any IDs, and all currently
1696 visited Org-mode files to rebuild the hash.  You can also initiate
1697 this by hand: =M-x org-id-update-id-locations=.  Running this command
1698 will also dump into the =*Messages*= buffer information about any
1699 duplicate IDs.  These should not exist, and Org will never /make/ the
1700 same ID twice, but if you /copy/ an entry with its properties,
1701 duplicate IDs will inevitably be produced.  Unfortunately, this is
1702 unavoidable in a plain text system that allows you to edit the text in
1703 arbitrary ways, and a portion of care on your side is needed to keep
1704 this system clean.
1706 The hash is stored in the file =~/.emacs.d/.org-id-locations=.
1707 This is also a change from previous versions where the file was
1708 =~/.org=id-locations=.  Therefore, you can remove this old file
1709 if you have it.  I am not sure what will happen if the =.emacs.d=
1710 directory does not exists in your setup, but in modern Emacsen, I
1711 believe it should exist.  If you do not want to use IDs across
1712 files, you can avoid the overhead with tracking IDs by
1713 customizing the variable =org-id-track-globally=.  IDs can then
1714 still be used for links inside a single file.
1716 IDs will also be used when you create a new link to an Org-mode
1717 buffer.  If you use =org-store-link= (normally at =C-c l=) inside
1718 en entry in an Org-mode buffer, and ID property will be created
1719 if it does not exist, and the stored link will be an =id:= link.
1720 If you prefer the much less secure linking to headline text, you
1721 can configure the variable =org-link-to-org-use-id=.  The default
1722 setting for this variable is =create-if-interactive=, meaning
1723 that an ID will be created when you store a link interactively,
1724 but not if you happen to be in an Org-mode file while you create
1725 a remember note (which usually has a link to the place where you
1726 were when starting remember).
1728 *** Spreadsheet references to the last table line.
1730 You may now use =@0= to reference the last dataline in a table
1731 in a stable way.  This is useful in particular for automatically
1732 generated tables like the ones using /org-collector.el/ by Eric
1733 Schulte.
1735 * Version 6.14
1736   :PROPERTIES:
1737   :CUSTOM_ID: v6.14
1738   :END:
1739 ** Overview
1741    - New relative timer to support timed notes 
1742    - Special faces can be set for individual tags 
1743    - The agenda shows now all tags, including inherited ones. 
1744    - Exclude some tags from inheritance. 
1745    - More special values for time comparisons in property searches 
1746    - Control for exporting meta data 
1747    - Cut and Paste with hot links from w3m to Org 
1748    - LOCATION can be inherited for iCalendar export 
1749    - Relative row references crossing hlines now throw an error 
1751 ** Incompatible Changes
1753 *** Relative row references crossing hlines now throw an error
1754     
1755     Relative row references in tables look like this: "@-4" which
1756     means the forth row above this one.  These row references are
1757     not allowed to cross horizontal separator lines (hlines).  So
1758     far, when a row reference violates this policy, Org would
1759     silently choose the field just next to the hline.
1761     Tassilo Horn pointed out that this kind of hidden magic is
1762     actually confusing and may cause incorrect formulas, and I do
1763     agree.  Therefore, trying to cross a hline with a relative
1764     reference will now throw an error.
1765     
1766     If you need the old behavior, customize the variable
1767     `org-table-error-on-row-ref-crossing-hline'.
1769 ** Details
1771 *** New relative timer to support timed notes
1773     Org now supports taking timed notes, useful for example while
1774     watching a video, or during a meeting which is also recorded.
1776     - =C-c C-x .= :: 
1777       Insert a relative time into the buffer.  The first time
1778       you use this, the timer will be started.  When called
1779       with a prefix argument, the timer is reset to 0.
1781     - =C-c C-x -= :: 
1782       Insert a description list item with the current relative
1783       time.  With a prefix argument, first reset the timer to 0.
1785     - =M-RET= ::
1786       Once the time list has been initiated, you can also use the
1787       normal item-creating command to insert the next timer item.
1789     - =C-c C-x 0= :: 
1790       Reset the timer without inserting anything into the buffer.
1791       By default, the timer is reset to 0.  When called with a
1792       =C-u= prefix, reset the timer to specific starting
1793       offset.  The user is prompted for the offset, with a
1794       default taken from a timer string at point, if any, So this
1795       can be used to restart taking notes after a break in the
1796       process.  When called with a double prefix argument
1797       =C-c C-u=, change all timer strings in the active
1798       region by a certain amount.  This can be used to fix timer
1799       strings if the timer was not started at exactly the right
1800       moment.
1802     Thanks to Alan Dove, Adam Spiers, and Alan Davis for
1803     contributions to this idea.
1805 *** Special faces can be set for individual tags
1807     You may now use the variable =org-tag-faces= to define the
1808     face used for specific tags, much in the same way as you can
1809     do for TODO keywords.
1811     Thanks to Samuel Wales for this proposal.
1813 *** The agenda shows now all tags, including inherited ones.
1815     This request has come up often, most recently it was
1816     formulated by Tassilo Horn.
1818     If you prefer the old behavior of only showing the local
1819     tags, customize the variable =org-agenda-show-inherited-tags=.
1821 *** Exclude some tags from inheritance.
1823     So far, the only way to select tags for inheritance was to
1824     allow it for all tags, or to do a positive selection using
1825     one of the more complex settings for
1826     `org-use-tag-inheritance'.  It may actually be better to
1827     allow inheritance for all but a few tags, which was difficult
1828     to achieve with this methodology.
1830     A new option, `org-tags-exclude-from-inheritance', allows to
1831     specify an exclusion list for inherited tags.
1833 *** More special values for time comparisons in property searches
1835     In addition to =<now>=, =<today>=, =<yesterday>=, and
1836     =<tomorrow>=, there are more special values accepted now in
1837     time comparisons in property searches:  You may use strings
1838     like =<+3d>= or =<-2w>=, with units d, w, m, and y for day,
1839     week, month, and year, respectively
1841     Thanks to Linday Todd for this proposal.
1843 *** Control for exporting meta data
1845     All the metadata in a headline, i.e. the TODO keyword, the
1846     priority cookie, and the tags, can now be excluded from
1847     export with appropriate options:
1849     | Variable                      | Publishing property | OPTIONS switch |
1850     |-------------------------------+---------------------+----------------|
1851     | org-export-with-todo-keywords | :todo-keywords      | todo:          |
1852     | org-export-with-tags          | :tags               | tags:          |
1853     | org-export-with-priority      | :priority           | pri:           |
1855 *** Cut and Paste with hot links from w3m to Org
1857     You can now use the key =C-c C-x M-w= in a w3m buffer with
1858     HTML content to copy either the region or the entire file in
1859     a special way.  When you yank this text back into an Org-mode
1860     buffer, all links from the w3m buffer will continue to work
1861     under Org-mode.
1863     For this to work you need to load the new file /org-w3m.el./
1864     Please check your org-modules variable to make sure that this
1865     is turned on.
1867     Thanks for Richard Riley for the idea and to Andy Stewart for
1868     the implementation.
1870 *** LOCATION can be inherited for iCalendar export
1872     The LOCATION property can now be inherited during iCalendar
1873     export if you configure =org-use-property-inheritance= like
1874     this:
1876 #+begin_src emacs-lisp
1877 (setq org-use-property-inheritance '("LOCATION"))
1878 #+end_src
1880 * Version 6.13
1881   :PROPERTIES:
1882   :CUSTOM_ID: v6.13
1883   :END:
1885 ** Overview
1887    - Keybindings in Remember buffers can be configured
1888    - Support for ido completion
1889    - New face for date lines in agenda column view
1890    - Invisible targets become now anchors in headlines.
1891    - New contributed file /org-exp-blocks.el/
1892    - New contributed file /org-eval-light.el/
1893    - Link translation
1894    - BBDB links may use regular expressions.
1895    - Link abbreviations can use %h to insert a url-encoded target value
1896    - Improved XHTML compliance
1898 ** Details
1900 *** Keybindings in Remember buffers can be configured
1902     The remember buffers created with Org's extensions are in
1903     Org-mode, which is nice to prepare snippets that will
1904     actually be stored in Org-mode files.  However, this makes it
1905     hard to configure key bindings without modifying the Org-mode
1906     keymap.  There is now a minor mode active in these buffers,
1907     `org-remember-mode', and its keymap org-remember-mode-map can
1908     be used for key bindings.  By default, this map only contains
1909     the bindings for =C-c C-c= to store the note, and =C-c C-k=
1910     to abort it.  Use `org-remember-mode-hook' to define your own
1911     bindings like
1913 #+begin_src emacs-lisp
1914 (add-hook
1915  'org-remember-mode-hook
1916  (lambda ()
1917    (define-key org-remember-mode-map
1918      "\C-x\C-s" 'org-remember-finalize)))
1919 #+end_src
1921     If you wish, you can also use this to free the =C-c C-c=
1922     binding (by binding this key to nil in the minor mode map),
1923     so that you can use =C-c C-c= again to set tags.
1925     This modification is based on a request by Tim O'Callaghan.
1927 *** Support for ido completion
1929     You can now get the completion interface from /ido.el/ for
1930     many of Org's internal completion commands by turning on the
1931     variable =org-completion-use-ido=. =ido-mode= must also be
1932     active before you can use this.
1934     This change is based upon a request by Samuel Wales.
1936 *** New face for date lines in agenda column view
1938     When column view is active in the agenda, and when you have
1939     summarizing properties, the date lines become normal column
1940     lines and the separation between different days becomes
1941     harder to see.  If this bothers you, you can now customize
1942     the face =org-agenda-column-dateline=.
1944     This is based on a request by George Pearson.
1946 *** Invisible targets become now anchors in headlines.
1948     These anchors can be used to jump to a directly with an HTML
1949     link, just like the =sec-xxx= IDs.  For example, the
1950     following will make a http link
1951     =//domain/path-to-my-file.html#dummy= work:
1953 #+begin_src org
1954 ,# <<dummy>>
1955 ,*** a headline
1956 #+end_src
1958     This is based on a request by Matt Lundin.
1960 *** New contributed file /org-exp-blocks.el/
1962     This new file implements special export behavior of
1963     user-defined blocks.  The currently supported blocks are
1965     - comment :: Comment blocks with author-specific markup
1966     - ditaa ::  conversion of ASCII art into pretty png files
1967          using Stathis Sideris' /ditaa.jar/ program
1968     - dot :: creation of graphs in the /dot/ language
1969     - R :: Sweave type exporting using the R program
1971     For more details and examples, see the file commentary in
1972     /org-exp-blocks.el/.
1974     Kudos to Eric Schulte for this new functionality, after
1975     /org-plot.el/ already his second major contribution.  Thanks
1976     to Stathis for this excellent program, and for allowing us to
1977     bundle it with Org-mode.
1979 *** New contributed file /org-eval-light.el/
1981     This module gives control over execution Emacs Lisp code
1982     blocks included in a file.
1984     Thanks to Eric Schulte also for this file.
1986 *** Link translation
1988     You can now configure Org to understand many links created
1989     with the Emacs Planner package, so you can cut text from
1990     planner pages and paste them into Org-mode files without
1991     having to re-write the links.  Among other things, this means
1992     that the command =org-open-at-point-global= which follows
1993     links not only in Org-mode, but in arbitrary files like
1994     source code files etc, will work also with links created by
1995     planner. The following customization is needed to make all of
1996     this work
1998 #+begin_src emacs-lisp
1999 (setq org-link-translation-function
2000       'org-translate-link-from-planner)
2001 #+end_src
2003    I guess an inverse translator could be written and integrated
2004    into Planner.
2006 *** BBDB links may use regular expressions.
2008     This did work all along, but only now I have documented it.
2010 *** =yank-pop= works again after yanking an outline tree
2012     Samuel Wales had noticed that =org-yank= did mess up this
2013     functionality.  Now you can use =yank-pop= again, the only
2014     restriction is that the so-yanked text will not be
2015     pro/demoted or folded.
2017 *** Link abbreviations can use %h to insert a url-encoded target value
2019     Thanks to Steve Purcell for a patch to this effect.
2021 *** Improved XHTML compliance
2023     Thanks to Sebastian Rose for pushing this.
2025 *** Many bug fixes again.
2026     
2027 * Version 6.12
2028   :PROPERTIES:
2029   :CUSTOM_ID: v6.12
2030   :END:
2031 ** Overview
2033    - A region of entries can now be refiled with a single command
2034    - Fine-tuning the behavior of `org-yank'
2035    - Formulas for clocktables
2036    - Better implementation of footnotes for HTML export
2037    - More languages for HTML export.
2039 ** Details
2041 *** A region of entries can now be refiled with a single command
2042     
2043     With =transient-make-mode= active (=zmacs-regions= under
2044     XEmacs), you can now select a region of entries and refile
2045     them all with a single =C-c C-w= command.
2047     Thanks to Samuel Wales for this useful proposal.
2049 *** Fine-tuning the behavior of =org-yank=
2051     The behavior of Org's yanking command has been further
2052     fine-tuned in order to avoid some of the small annoyances
2053     this command caused.
2055     - Calling =org-yank= with a prefix arg will stop any special
2056       treatment and directly pass through to the normal =yank=
2057       command.  Therefore, you can now force a normal yank with
2058       =C-u C-y=.
2060     - Subtrees will only be folded after a yank if doing so will
2061       now swallow any non-white characters after the yanked text.
2062       This is, I think a really important change to make the
2063       command work more sanely.
2065 *** Formulas for clocktables
2067     You can now add formulas to a clock table, either by hand, or
2068     with a =:formula= parameter.  These formulas can be used to
2069     create additional columns with further analysis of the
2070     measured times.
2072     Thanks to Jurgen Defurne for triggering this addition.
2074 *** Better implementation of footnotes for HTML export
2075     
2076     The footnote export in 6.11 really was not good enough.  Now
2077     it works fine.  If you have customized
2078     =footnote-section-tag=, make sure that your customization is
2079     matched by =footnote-section-tag-regexp=.
2081     Thanks to Sebastian Rose for pushing this change.
2083 *** More languages for HTML export.
2085     More languages are supported during HTML export.  This is
2086     only relevant for the few special words Org inserts, like
2087     "Table of Contents", or "Footnotes".  Also the encoding
2088     issues with this feature seem to be solved now.
2090     Thanks to Sebastian Rose for pushing me to fix the encoding
2091     problems.
2093 * Version 6.11
2094   :PROPERTIES:
2095   :CUSTOM_ID: v6.11
2096   :END:
2098 ** Overview
2100    - Yanking subtree with =C-y= now adjusts the tree level
2101    - State changes can now be shown in the log mode in the agenda
2102    - Footnote in HTML export are now collected at the end of the document
2103    - HTML export now validates again as XHTML
2104    - The clock can now be resumed after exiting and re-starting Emacs
2105    - Clock-related data can be saved and resumed across Emacs sessions
2106    - Following file links can now use C-u C-u to force use of an external app
2107    - Inserting absolute files names now abbreviates links with "~"
2108    - Links to attachment files
2109    - Completed repeated tasks listed briefly in agenda
2110    - Remove buffers created during publishing are removed
2112 ** Details
2114 *** Yanking subtree with =C-y= now adjusts the tree level
2115     When yanking a cut/copied subtree or a series of trees, the
2116     normal yank key =C-y= now adjusts the level of the tree to
2117     make it fit into the current outline position, without losing
2118     its identity, and without swallowing other subtrees.
2120     This uses the command =org-past-subtree=.  An additional
2121     change in that command has been implemented: Normally, this
2122     command picks the right outline level from the surrounding
2123     *visible* headlines, and uses the smaller one.  So if the
2124     cursor is between a level 4 and a level 3 headline, the tree
2125     will be pasted as level 3.  If the cursor is actually *at*
2126     the beginning of a headline, the level of that headline will
2127     be used.  For example, lets say you have a tree like this:
2129 #+begin_src org
2130 ,* Level one
2131 ,** Level two
2132 ,(1)
2133 ,(2)* Level one again
2134 #+end_src
2136     with (1) and (2) indicating possible cursor positions for the
2137     insertion.  When at (1), the tree will be pasted as level 2.
2138     When at (2), it will be pasted as level 1.
2140     If you do not want =C-y= to behave like this, configure the
2141     variable =org-yank-adjusted-subtrees=.
2143     Thanks to Samuel Wales for this idea and a partial implementation.
2145 *** State changes can now be shown in the log mode in the agenda
2147     If you configure the variable =org-agenda-log-mode-items=,
2148     you can now request that all logged state changes be included
2149     in the agenda when log mode is active.  If you find this too
2150     much for normal applications, you can also temporarily
2151     request the inclusion of state changes by pressing =C-u l= in
2152     the agenda.
2154     This was a request by Hsiu-Khuern Tang.
2156     You can also press `C-u C-u l' to get *only* log items in the
2157     agenda, withour any timestamps/deadlines etc.
2159 *** Footnote in HTML export are now collected at the end of the document
2160     Previously, footnotes would be left in the document where
2161     they are defined, now they are all collected and put into a
2162     special =<div>= at the end of the document.
2164     Thanks to Sebastian Rose for this request.
2166 *** HTML export now validates again as XHTML.
2168     Thanks to Sebastian Rose for pushing this cleanup.
2170 *** The clock can now be resumed after exiting and re-starting Emacs
2172     If the option =org-clock-in-resume= is t, and the first clock
2173     line in an entry is unclosed, clocking into that task resumes
2174     the clock from that time.
2176     Thanks to James TD Smith for a patch to this effect.
2178 *** Clock-related data can be saved and resumed across Emacs sessions
2179     
2180     The data saved include the contents of =org-clock-history=,
2181     and the running clock, if there is one.
2182     
2183     To use this, you will need to add to your .emacs
2185 #+begin_src emacs-lisp
2186 (setq org-clock-persist t)
2187 (setq org-clock-in-resume t)
2188 (org-clock-persistence-insinuate)
2189 #+end_src
2191     Thanks to James TD Smith for a patch to this effect.
2193 *** Following file links can now use C-u C-u to force use of an external app.
2195     So far you could only bypass your setup in `org-file-apps'
2196     and force opening a file link in Emacs by using a =C-u= prefix arg
2197     with =C-c C-o=.  Now you can call =C-u C-u C-c C-o= to force
2198     an external application.  Which external application depends
2199     on your system.  On Mac OS X and Windows, =open= is used.  On
2200     a GNU/Linux system, the mailcap settings are used.
2202     This was a proposal by Samuel Wales.
2204 *** Inserting absolute files names now abbreviates links with "~".
2206     Inserting file links with =C-u C-c C-l= was buggy if the
2207     setting of `org-link-file-path-type' was `adaptive' (the
2208     default).  Absolute file paths were not abbreviated relative
2209     to the users home directory.  This bug has been fixed.
2211     Thanks to Matt Lundin for the report.
2213 *** Links to attachment files
2215     Even though one of the purposes of entry attachments was to
2216     reduce the number of links in an entry, one might still want
2217     to have the occasional link to one of those files.  You can
2218     now use link abbreviations to set up a special link type that
2219     points to attachments in the current entry.  Note that such
2220     links will only work from within the same entry that has the
2221     attachment, because the directory path is entry specific.
2222     Here is the setup you need:
2224 #+begin_src emacs-lisp
2225 (setq org-link-abbrev-alist '(("att" . org-attach-expand-link)))
2226 #+end_src
2228     After this, a link like this will work
2230 #+BEGIN_EXAMPLE
2231      [[att:some-attached-file.txt]]
2232 #+END_EXAMPLE
2233     This was a proposal by Lindsay Todd.
2235 *** Completed repeated tasks listed briefly in agenda
2237     When a repeating task, listed in the daily/weekly agenda under
2238     today's date, is completed from the agenda, it is listed as
2239     DONE in the agenda until the next update happens.  After the
2240     next update, the task will have disappeared, of course,
2241     because the new date is no longer today.
2242     
2243 *** Remove buffers created during publishing are removed
2245     Buffers that are created during publishing are now deleted
2246     when the publishing is over.  At least I hope it works like this.
2248 * Version 6.10
2249   :PROPERTIES:
2250   :CUSTOM_ID: v6.10
2251   :END:
2253 ** Overview
2255    - Secondary agenda filtering is becoming a killer feature
2256    - Setting tags has now its own binding, =C-c C-q=
2257    - Todo state changes can trigger tag changes
2258    - C-RET will now always insert a new headline, never an item.
2259    - Customize org-mouse.el feature set to free up mouse events
2260    - New commands for export all the way to PDF (through LaTeX)
2261    - Some bug fixed for LaTeX export, more bugs remain.
2263 ** Details
2265 *** Enhancements to secondary agenda filtering
2267     This is, I believe, becoming a killer feature.  It allows you
2268     to define fewer and more general custom agenda commands, and
2269     then to do the final narrowing to specific tasks you are
2270     looking for very quickly, much faster than calling a new
2271     agenda command.
2273     If you have not tries this yet, you should!
2275 **** You can now refining the current filter by an additional criterion
2276       When filtering an existing agenda view with =/=, you can
2277       now narrow down the existing selection by an additional
2278       condition.  Do do this, use =\= instead of =/= to add the
2279       additional criterion.  You can also press =+= or =-= after
2280       =/= to add a positive or negative condition.  A condition
2281       can be a TAG, or an effort estimate limit, see below.
2283 **** It is now possible to filter for effort estimates
2284      This means to filter the agenda for the value of the Effort
2285      property.  For this you should best set up global allowed
2286      values for effort estimates, with
2288 #+begin_src emacs-lisp
2289 (setq org-global-properties
2290       '(("Effort_ALL" . "0 0:10 0:30 1:00 2:00 3:00 4:00")))
2291 #+end_src
2292       
2293      You may then select effort limits with single keys in the
2294      filter.  It works like this:  After =/= or =\=, first select
2295      the operator which you want to use to compare effort
2296      estimates:
2298      : <   Select entries with effort smaller than or equal to the limit
2299      : >   Select entries with effort larger than or equal to the limit
2300      : =   Select entries with effort equal to the limit
2302      After that, you can press a single digit number which is
2303      used as an index to the allowed effort estimates.
2305      If you do not use digits to fast-select tags, you can even
2306      skip the operator, which will then default to
2307      `org-agenda-filter-effort-default-operator', which is by
2308      default =<=.
2310      Thanks to Manish for the great idea to include fast effort
2311      filtering into the agenda filtering process.
2313 **** The mode line will show the active filter
2314      For example, if there is a filter in place that does select
2315      for HOME tags, against EMAIL tags, and for tasks with an
2316      estimated effort smaller than 30 minutes, the mode-line with
2317      show =+HOME-EMAIL+<0:30=
2319 **** The filter now persists when the agenda view is refreshed
2320      All normal refresh commands, including those that move the
2321      weekly agenda from one week to the next, now keep the
2322      current filter in place.
2324      You need to press =/ /= to turn off the filter.  However,
2325      when you run a new agenda command, for example going from
2326      the weekly agenda to the TODO list, the filter will be
2327      switched off.
2328    
2329 *** Setting tags has now its own binding, =C-c C-q=
2331     You can still use =C-c C-c= on a headline, but the new
2332     binding should be considered as the main binding for this
2333     command.  The reasons for this change are:
2335     - Using =C-c C-c= for tags is really out of line with other
2336       uses of =C-c C-c=.
2338     - I hate it in Remember buffers when I try to set tags and I
2339       cannot, because =C-c C-c= exits the buffer :-(
2341     - =C-c C-q= will also work when the cursor is somewhere down
2342       in the entry, it does not have to be on the headline.
2344 *** Todo state changes can trigger tag changes
2346     The new option =org-todo-state-tags-triggers= can be used to
2347     define automatic changes to tags when a TODO state changes.
2348     For example, the setting
2350     : (setq org-todo-state-tags-triggers
2351     :       '((done ("Today" . nil) ("NEXT" . nil))
2352     :         ("WAITING" ("Today" . t))))    
2354     will make sure that any change to any of the DONE states will
2355     remove tags "Today" and "NEXT", while switching to the
2356     "WAITING" state will trigger the tag "Today" to be added.
2358     I use this mostly to get rid of TODAY and NEXT tags which I
2359     apply to select an entry for execution in the near future,
2360     which I often prefer to specific time scheduling.
2362 *** C-RET will now always insert a new headline, never an item.
2363     The new headline is inserted after the current subtree.
2365     Thanks to Peter Jones for patches to fine-tune this behavior.
2367 *** Customize org-mouse.el feature set
2368     There is a new variable =org-mouse-features= which gives you
2369     some control about what features of org-mouse you want to
2370     use.  Turning off some of the feature will free up the
2371     corresponding mouse events, or will avoid activating special
2372     regions for mouse clicks.  By default I have urned off the
2373     feature to use drag mouse events to move or promote/demote
2374     entries.  You can of course turn them back on if you wish.
2376     This variable may still change in the future, allowing more
2377     fine-grained control.
2379 *** New commands for export to PDF
2381     This is using LaTeX export, and then processes it to PDF
2382     using pdflatex.
2384     : C-c C-e p     process to PDF.
2385     : C-c C-e d     process to PDF, and open the file.
2387 *** LaTeX export
2388     - \usepackage{graphicx} is now part of the standard class
2389       definitions.
2390     - Several bugs fixed, but definitely not all of them :-(
2392 *** New option `org-log-state-notes-insert-after-drawers'
2394     Set this to =t= if you want state change notes to be inserted
2395     after any initial drawers, i.e drawers the immediately follow
2396     the headline and the planning line (the one with
2397     DEADLINE/SCHEDULED/CLOSED information).
2399 * Version 6.09
2400   :PROPERTIES:
2401   :CUSTOM_ID: v6.09
2402   :END:
2403 ** Incompatible
2404 *** =org-file-apps= now uses regular expressions, see [[*%20org%20file%20apps%20now%20uses%20regular%20repressions%20instead%20of%20extensions][below]]
2406 ** Details
2408 *** =org-file-apps= now uses regular repressions instead of extensions
2409     Just like in =auto-mode-alist=, car's in the variable
2410     =org-file-apps= that are strings are now interpreted as
2411     regular expressions that are matched against a file name.  So
2412     instead of "txt", you should now write "\\.txt\\'" to make
2413     sure the matching is done correctly (even though "txt" will
2414     be recognized and still be interpreted as an extension).
2416     There is now a shortcut to get many file types visited by
2417     Emacs.  If org-file-apps contains `(auto-mode . emacs)', then
2418     any files that are matched by `auto-mode-alist' will be
2419     visited in emacs.
2421 *** Changes to the attachment system
2423     - The default method to attach a file is now to copy it
2424       instead of moving it.
2425     - You can modify the default method using the variable
2426       `org-attach-method'.  I believe that most Unix people want
2427       to set it to `ln' to create hard links.
2428     - The keys =c=, =m=, and =l= specifically select =copy=,
2429       =move=, or =link=, respectively, as the attachment method
2430       for a file, overruling  `org-attach-method'.
2431     - To create a new attachment as an Emacs buffer, you have not
2432       now use =n= instead of =c=.
2433     - The file list is now always retrieved from the directory
2434       itself, not from the "Attachments" property.  We still
2435       keep this property by default, but you can turn it off, by
2436       customizing the variable =org-attach-file-list-property=.
2438 * Version 6.08
2439   :PROPERTIES:
2440   :CUSTOM_ID: v6.08
2441   :END:
2443 ** Incompatible changes
2445    - Changes in the structure of IDs, see [[*The%20default%20structure%20of%20IDs%20has%20changed][here]] for details.
2447    - C-c C-a has been redefined, see [[*%20C%20c%20C%20a%20no%20longer%20calls%20show%20all][here]] for details.
2449 ** Details
2451 *** The default structure of IDs has changed
2453     IDs created by Org have changed a bit:
2454     - By default, there is no prefix on the ID.  There used to be
2455       an "Org" prefix, but I now think this is not necessary.
2456     - IDs use only lower-case letters, no upper-case letters
2457       anymore.  The reason for this is that IDs are now also used
2458       as directory names for org-attach, and some systems do not
2459       distinguish upper and lower case in the file system.
2460     - The ID string derived from the current time is now
2461       /reversed/ to become an ID.  This assures that the first
2462       two letters of the ID change fast, so hat it makes sense to
2463       split them off to create subdirectories to balance load.
2464     - You can now set the `org-id-method' to `uuidgen' on systems
2465       which support it.
2467 *** =C-c C-a= no longer calls `show-all'
2469     The reason for this is that =C-c C-a= is now used for the
2470     attachment system.  On the rare occasions that this command
2471     is needed, use =M-x show-all=, or =C-u C-u C-u TAB=.
2473 *** New attachment system
2475     You can now attach files to each node in the outline tree.
2476     This works by creating special directories based on the ID of
2477     an entry, and storing files in these directories.  Org can
2478     keep track of changes to the attachments by automatically
2479     committing changes to git.  See the manual for more
2480     information.
2482     Thanks to John Wiegley who contributed this fantastic new
2483     concept and wrote org-attach.el to implement it.
2485 *** New remember template escapes
2487     : %^{prop}p   to insert a property
2488     : %k          the heading of the item currently being clocked
2489     : %K          a link to the heading of the item currently being clocked
2491     Also, when you exit remember with =C-2 C-c C-c=, the item
2492     will be filed as a child of the item currently being
2493     clocked.  So the idea is, if you are working on something and
2494     think of a new task related to this or a new note to be
2495     added, you can use this to quickly add information to that
2496     task.
2498     Thanks to James TD Smith for a patch to this effect.
2500 *** Clicking with mouse-2 on clock info in mode-line visits the clock.
2501     
2502     Thanks to James TD Smith for a patch to this effect.
2504 *** New file in contrib: lisp/org-checklist.el
2506     This module deals with repeated tasks that have checkbox
2507     lists below them.
2509     Thanks to James TD Smith for this contribution.
2511 *** New in-buffer setting #+STYLE
2513     It can be used to locally set the variable
2514     `org-export-html-style-extra'.  Several such lines are
2515     allowed-, they will all be concatenated.  For an example on
2516     how to use it, see the [[http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php][publishing tutorial]].
2518 * Version 6.07
2519   :PROPERTIES:
2520   :CUSTOM_ID: v6.07
2521   :END:
2523 ** Overview
2525    - Filtering existing agenda views with respect to a tag
2526    - Editing fixed-width regions with picture or artist mode
2527    - /org-plot.el/ is now part of Org
2528    - Tags can be used to select the export part of a document
2529    - Prefix interpretation when storing remember notes
2530    - Yanking inserts folded subtrees
2531    - Column view capture tables can have formulas, plotting info
2532    - In column view, date stamps can be changed with S-cursor keys
2533    - The note buffer for clocking out now mentions the task
2534    - Sorting entries alphabetically ignores TODO keyword and priority
2535    - Agenda views can sort entries by TODO state
2536    - New face =org-scheduled= for entries scheduled in the future.
2537    - Remember templates for gnus links can use the :to escape.
2538    - The file specification in a remember template may be a function
2539    - Categories in iCalendar export include local tags
2540    - It is possible to define filters for column view
2541    - Disabling integer increment during table Field copy
2542    - Capturing column view is on `C-c C-x i'
2543    - And tons of bugs fixed.  
2546 ** Incompatible changes
2548 *** Prefix interpretation when storing remember notes has changed
2550     The prefix argument to the `C-c C-c' command that finishes a
2551     remember process is now interpreted differently:
2553     : C-c C-c       Store the note to predefined file and headline
2554     : C-u C-c C-c   Like C-c C-c, but immediately visit the note
2555     :               in its new location.
2556     : C-1 C-c C-c   Select the storage location interactively
2557     : C-0 C-c C-c   Re-use the last used location
2559     This was requested by John Wiegley.
2561 *** Capturing column view is now on `C-c C-x i'
2563     The reason for this change was that `C-c C-x r' is also used
2564     as a tty key replacement.
2566 *** Categories in iCalendar export now include local tags
2568     The locally defined tags are now listed as categories when
2569     exporting to iCalendar format.  Org's traditional file/tree
2570     category is now the last category in this list.  Configure
2571     the variable =org-icalendar-categories= to modify or revert
2572     this behavior.
2574     This was a request by Charles Philip Chan.
2576 ** Details
2578 *** Secondary filtering of agenda views.
2580     You can now easily and interactively filter an existing
2581     agenda view with respect to a tag.  This command is executed
2582     with the =/= key in the agenda.  You will be prompted for a
2583     tag selection key, and all entries that do not contain or
2584     inherit the corresponding tag will be hidden.  With a prefix
2585     argument, the opposite filter is applied: entries that
2586     do have the tag will be hidden.
2588     This operation only /hides/ lines in the agenda buffer, it
2589     does not remove them.  Changing the secondary filtering does
2590     not require a new search and is very fast.
2592     If you press TAB at the tag selection prompt, you will be
2593     switched to a completion interface to select a tag.  This is
2594     useful when you want to select a tag that does not have a
2595     direct access character.
2597     A double =/ /= will restore the original agenda view by
2598     unhiding any hidden lines.
2600     This functionality was John Wiegley's idea.  It is a simpler
2601     implementation of some of the query-editing features proposed
2602     and implemented some time ago by Christopher League (see the
2603     file contrib/lisp/org-interactive-query.el).
2605 *** Editing fixed-width regions with picture or artist mode
2607     The command @<code>C-c '@</code> (that is =C-c= followed by a
2608     single quote) can now also be used to switch to a special
2609     editing mode for fixed-width sections.  The default mode is
2610     =artist-mode= which allows you to create ASCII drawings.
2612     It works like this: Enter the editing mode with
2613     @<code>C-c '@</code>.  An indirect buffer will be created and
2614     narrowed to the fixed-width region.  Edit the drawing, and
2615     press @<code>C-c '@</code> again to exit.
2617     Lines in a fixed-width region should be preceded by a colon
2618     followed by at least one space.  These will be removed during
2619     editing, and then added back when you exit the editing mode.
2621     Using the command in an empty line will create a new
2622     fixed-width region.
2624     This new feature arose from a discussion involving Scott
2625     Otterson, Sebastian Rose and Will Henney.
2627 *** /org-plot.el/ is now part of Org.
2629     You can run it by simple calling org-plot/gnuplot.
2630     Documentation is not yet included with Org, please refer to
2631     http://github.com/eschulte/org-plot/tree/master until we have
2632     moved the docs into Org or Worg.
2634     Thanks to Eric Schulte for this great contribution.
2636 *** Tags can be used to select the export part of a document
2638     You may now use tags to select parts of a document for
2639     inclusion into the export, and to exclude other parts.  This
2640     behavior is governed by two new variables:
2641     =org-export-select-tags= and =org-export-exclude-tags=.
2642     These default to =("export")= and =("noexport")=, but can be
2643     changed, even to include a list of several tags.
2645     Org first checks if any of the /select/ tags is present in
2646     the buffer.  If yes, all trees that do not carry one of these
2647     tags will be excluded.  If a selected tree is a subtree, the
2648     heading hierarchy above it will also be selected for export,
2649     but not the text below those headings.  If none of the select
2650     tags is found anywhere in the buffer, the whole buffer will
2651     be selected for export.  Finally, all subtrees that are
2652     marked by any of the /exclude/ tags will be removed from the
2653     export buffer.
2655     You may set these tags with in-buffer options
2656     =EXPORT_SELECT_TAGS= and =EXPORT_EXCLUDE_TAGS=.
2658     I love this feature.  Thanks to Richard G Riley for coming
2659     up with the idea.
2661 *** Prefix interpretation when storing remember notes
2663     The prefix argument to the `C-c C-c' command that finishes a
2664     remember process is now interpreted differently:
2666     : C-c C-c       Store the note to predefined file and headline
2667     : C-u C-c C-c   Like C-c C-c, but immediately visit the note
2668     :               in its new location.
2669     : C-1 C-c C-c   Select the storage location interactively
2670     : C-0 C-c C-c   Re-use the last used location
2672     This was requested by John Wiegley.
2674 *** Yanking inserts folded subtrees
2676     If the kill is a subtree or a sequence of subtrees, yanking
2677     them with =C-y= will leave all the subtrees in a folded
2678     state.  This basically means, that kill and yank are now
2679     much more useful in moving stuff around in your outline.  If
2680     you do not like this, customize the variable
2681     =org-yank-folded-subtrees=.
2683     Right now, I am only binding =C-y= to this new function,
2684     should I modify all bindings of yank?  Do we need to amend
2685     =yank-pop= as well?
2687     This feature was requested by John Wiegley.
2689 *** Column view capture tables can have formulas, plotting info
2691     If you attach formulas and plotting instructions to a table
2692     capturing column view, these extra lines will now survive an
2693     update of the column view capture, and any formulas will be
2694     re-applied to the captured table.  This works by keeping any
2695     continuous block of comments before and after the actual
2696     table.
2698 *** In column view, date stamps can be changed with S-cursor keys
2700     If a property value is a time stamp, S-left and S-right can
2701     now be used to shift this date around while in column view.
2703     This was a request by Chris Randle.
2705 *** The note buffer for clocking out now mentions the task
2706     
2707     This was a request by Peter Frings.
2709 *** Sorting entries alphabetically ignores TODO keyword and priority
2711     Numerical and alphanumerical sorting now skips any TODO
2712     keyword or priority cookie when constructing the comparison
2713     string.  This was a request by Wanrong Lin.
2715 *** Agenda views can sort entries by TODO state
2717     You can now define a sorting strategy for agenda entries that
2718     does look at the TODO state of the entries.  Sorting by TODO
2719     entry does first separate the non-done from the done states.
2720     Within each class, the entries are sorted not alphabetically,
2721     but in definition order.  So if you have a sequence of TODO
2722     entries defined, the entries will be sorted according to the
2723     position of the keyword in this sequence.
2725     This follows an idea and sample implementation by Christian
2726     Egli.
2728 *** New face =org-scheduled= for entries scheduled in the future.
2730     This was a request by Richard G Riley.
2732 *** Remember templates for gnus links can now use the :to escape.
2734     Thanks to Tommy Lindgren for a patch to this effect.
2735 *** The file specification in a remember template may now be a function
2737     Thanks to Gregory Sullivan for a patch to this effect.
2739 *** Categories in iCalendar export now include local tags
2741     The locally defined tags are now listed as categories when
2742     exporting to iCalendar format.  Org's traditional file/tree
2743     category is now the last category in this list.  Configure
2744     the variable =org-icalendar-categories= to modify or revert
2745     this behavior.
2747     This was a request by Charles Philip Chan.
2749 *** It is now possible to define filters for column view
2751     The filter can modify the value that will be displayed in a
2752     column, for example it can cut out a part of a time stamp.
2753     For more information, look at the variable
2754     =org-columns-modify-value-for-display-function=.
2756 *** Disabling integer increment during table field copy
2758     Prefix arg 0 to S-RET does the trick.
2760     This was a request by Chris Randle.
2763 * Older changes
2765   For older Changes, see [[file:Changes_old.org]]
2768