Documentation: More credits.
[org-mode/org-tableheadings.git] / ORGWEBPAGE / Changes.org
blob8c44c4da72d08b1c49414d5a561d3c9daf3b90df
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.17 (in preparation)
15 ** Details
17 *** Built-in footnote support
19 Org-mode now supports the creation of footnotes.  In contrast to the
20 `footnote.el' package, Org-mode's footnotes are designed for work on a
21 larger document, not only for one-off documents like emails.  The basic
22 syntax is similar to the one used by `footnote.el', i.e. a footnote is
23 defined in a paragraph that is started by a footnote marker in square
24 brackets in column 0, no indentation allowed.  The footnote
25 reference is simply the marker in square brackets inside text.
26 For example:
28 #+begin_src org
29  The Org homepage[1] now looks a lot better than it used to.
30  ...
31  [1] The link is: http://orgmode.org
32 #+end_src
34    Org-mode extends the number-based syntax to _named_ footnotes and
35 optional inline definition.  Using numbers as markers is supported for
36 backward compatibility.  Here are the valid references:
38 - [1] ::  A numeric footnote marker.
39          
40 - [fn:name] :: A named footnote reference, where `name' is a
41      unique label word. 
42      
43 - [fn:: This is the inline definition of this footnote] ::
44      A LaTeX-like anonymous footnote where the definition is given
45      directly at the reference point.
47 - [fn:name: a definition] ::
48      An inline definition of a footnote, which also specifies a name
49      for the note.  Since Org allows multiple references to the same
50      note, you can then use use `[fn:name]' to create additional
51      references.
53 The following command handles footnotes:
55 - C-c C-x f ::
56      The footnote action command.  When the cursor is on a footnote
57      reference, jump to the definition.  When it is at a definition,
58      jump to the (first) reference.  Otherwise, create a new footnote.
59      Depending on the variable `org-footnote-define-inline' (with
60      associated #+STARTUP options fninline and nofninline), the
61      definitions will be placed locally, or into the nearest outline
62      section with the heading `Footnotes'.  If no such section is found
63      after the reference point, one will be created at the end of the
64      file.
65      When this command is called with a prefix argument, a menu of
66      additional options is offered:
67      - s :: Sort the footnote definitions by reference sequence.
68             During editing, Org makes no effort to sort
69             footnote definitions into a particular sequence.
70             If you want them sorted, use this command. 
71      - n :: Normalize the footnotes by collecting all
72             definitions (including inline definitions) into a
73             special section, and then numbering them in
74             sequence.  The references will then also be
75             numbers.  This is meant to be the final step before
76             finishing a document (e.g. sending off an email).
77             The exporters do this automatically, and so could 
78             something like `message-send-hook'.
79      - d :: Delete the footnote at point, and all references to it.
80      
81 - C-c C-c ::
82      If the cursor is on a footnote reference, jump to the definition.
83      If it is a the definition, jump back to the reference.  When
84      called with a prefix argument at either location, offer the
85      same menu as `C-u C-c C-x f'.
87 Org-mode's footnote support is designed so that it should also
88 work in buffers that are not in Org-mode, for example in email
89 messages.  Just bind =org-footnote-action= to a global key like
90 =C-c f=.
92 The main trigger for this development came from a hook function
93 written by Paul Rivier, to implement named footnotes and to
94 convert them to numbered ones before export.  Thanks, Paul!
96 *** Line numbers and references in literal examples
98 Literal examples introduced with =#+BEGIN_EXAMPLE= or =#+BEGIN_SRC=
99 do now allow optional line numbering in the example.
100 Furthermore, links to specific code lines are supported, greatly
101 increasing Org-mode utility for writing tutorials and other
102 similar documents.
104 Code references use special labels embedded directly into the
105 source code.  Such labels look like "((name))" and must be unique
106 within a document.  Org-mode links with the coderef cookie in the
107 link part will be correctly interpreted, both while working with
108 an Org file (internal links), and while exporting to the
109 different backends.  Line numbering and code references are
110 supported for all three major backends, HTML, LaTeX, and ASCII.
111 In the HTML backend, hovering the mouse over a link to a source
112 line will remote-highlight the referenced code line.
114 The options for the BEGIN lines are:
116  - -n :: Number the lines in the example
117  - +n :: Like -n, but continue numbering from where the previous
118          example left off.
119  - -r :: Remove the coderef cookies from the example, and replace
120          links to this reference with line numbers.  This option
121          takes only effect if either -n or +n are given as well.
122          If -r is not given, coderefs simply use the label name.
123          
124 Here is an example:
126 #+begin_example -k
127 #+begin_src emacs-lisp -n -r
128 (defmacro org-unmodified (&rest body)                   ((def))
129   "Execute body without changing `buffer-modified-p'."
130   `(set-buffer-modified-p                               ((back))
131     (prog1 (buffer-modified-p) ,@body)))
132 #+end_src
133 [[((def))][Line ((def))]] contains the macro name.  Later at line [[((back))]],
134 backquoting is used.
135 #+end_example
137 When exported, this is translated to:
138 #+begin_src emacs-lisp -n -r
139 (defmacro org-unmodified (&rest body)                   ((def))
140   "Execute body without changing `buffer-modified-p'."
141   `(set-buffer-modified-p                               ((back))
142     (prog1 (buffer-modified-p) ,@body)))
143 #+end_src
144 [[((def))][Line ((def))]] contains the macro name.  Later at line [[((back))]],
145 backquoting is used.
147 Thanks to Ilya Shlyakhter for proposing this feature set.  Thanks
148 to Sebastian Rose for the key Javascript element that made the
149 remote highlighting possible.
151 *** Capture column view into a different file.
153     The :id parameter for the dynamic block capturing column view
154     can now truly be an ID that will also be found in a
155     different file.  Also, it can be like =file:path/to/file=, to
156     capture the global column view from a different file.
158     Thanks to Francois Lagarde for his report that IDs outside
159     the current file would not work.
161 * Version 6.16
162   :PROPERTIES:
163   :VISIBILITY: content
164   :END:
165   Cleanup of many small bugs, and one new feature.
167 ** Details
169 *** References to last table row with special names
171     Fields in the last row of a table can now be referenced with
172     $LR1, $LR2, etc.  These references can appear both on the
173     left hand side and right hand side of a formula.
175 * Version 6.15f
177   This version reverses the introduction of @0 as a reference to
178   the last rwo in a table, because of a conflict with the use of
179   @0 for the current row.
181 * Version 6.15
182 ** Overview
184 - All known LaTeX export issues fixed 
185 - Captions and attributes for figures and tables. 
186 - Better implementation for entry IDs 
187 - Spreadsheet references to the last table line. 
188 - Old syntax for link attributes abandoned 
190 ** Incompatible changes
191 *** Old syntax for link attributes abandoned
193 There used to be a syntax for setting link attributes for
194 HTML export by enclosing the attributes into double braces
195 and adding them to the link itself, like
197 #+begin_example
198 [[./img/a.jpg{{alt="an image"}}] ]
199 #+end_example
201 This syntax is not longer supported, use instead
203 #+begin_src org
204 ,#+ATTR_HTML: alt="an image"
205 [[./img/a.jpg] ]
206 #+end_src
208 ** Details
210 *** All known LaTeX export issues fixed
212 All the remaining issues with the LaTeX exporter have hopefully
213 been addressed in this release.  In particular, this covers
214 quoting of special characters in tables and problems with
215 exporting files where the headline is in the first line, or with
216 an active region.
218 *** Captions and attributes for figures and tables.
220 Tables, and Hyperlinks that represent inlined images, can now be
221 equipped with additional information that will be used during
222 export.  The information will be taken from the following special
223 lines in the buffer and apply to the first following table or
224 link.
226 - #+CAPTION: :: The caption of the image or table.  This string
227      should be processed according to the export backend, but
228      this is not yet done.
230 - #+LABEL: :: A label to identify the figure/table for cross
231      references.  For HTML export, this string will become the
232      ID for the ~<div class="figure">~ element that encapsulates
233      the image tag and the caption.  For LaTeX export, this
234      string will be used as the argument of a ~\label{...}~
235      macro.  These labels will be available for internal links
236      like ~[[label][Table] ]~.
238 - #+ATTR_HTML: :: Attributes for HTML export of image, to be
239      added as attributes into the ~<img...>~ tag.  This string
240      will not be processed, so it should have immediately the
241      right format.
243 - #+ATTR_LaTeX: :: Attributes for LaTeX export of images and
244      tables.\\
245      For /images/, this string is directly inserted into
246      the optional argument of the ~\includegraphics[...]{file}~
247      command, to specify scaling, clipping and other options.
248      This string will not be processed, so it should have
249      immediately the right format, like =width=5cm,angle=90=.\\       
250      For /tables/, this can currently contain the keyword
251      =longtable=, to request typesetting of the table using the
252      longtable package, which automatically distributes the table
253      over several pages if needed.  Also, the attributes line may
254      contain an alignment string for the tabular environment, like
255      =longtable,align=l|lrl=
257 For LaTeX export, if either a caption or a label is given, the element
258 will be exported as a float, i.e. wrapped into a figure or table
259 environment.
261 *** Better implementation for entry IDs
262     
263 Unique identifiers for entries can now be used more efficiently.
264 Internally, a hash array has replaced the alist used so far to
265 keep track of the files in which an ID is defined.  This makes it
266 quite fast to find an entry by ID.
268 There is a new link type which looks like this:
270 #+begin_example
271 id:GLOBALLY-UNIQUE-IDENTIFIER
272 #+end_example
274 This link points to a specific entry.  When you move the entry to
275 a different file, for example if you move it to an archive
276 file, the link will continue to work.
278 The file /org-id.el/ contains an API that can be used to write
279 code using these identifiers, including creating IDs and finding
280 them wherever they are.
282 Org has its own method to create unique identifiers, but if the system
283 has /uuidgen/ command installed (Mac's and Linux systems generally
284 do), it will be used by default (a change compared to the earlier
285 implmentation, where you explicitdly had to opt for uuidgen).  You can
286 also select the method by hand, using the variable =org-id-method=.
288 If the ID system ever gets confused about where a certain ID is, it
289 initiates a global scan of all agenda files with associated archives,
290 all files previously known containing any IDs, and all currently
291 visited Org-mode files to rebuild the hash.  You can also initiate
292 this by hand: =M-x org-id-update-id-locations=.  Running this command
293 will also dump into the =*Messages*= buffer information about any
294 duplicate IDs.  These should not exist, and Org will never /make/ the
295 same ID twice, but if you /copy/ an entry with its properties,
296 duplicate IDs will inevitably be produced.  Unfortunately, this is
297 unavoidable in a plain text system that allows you to edit the text in
298 arbitrary ways, and a portion of care on your side is needed to keep
299 this system clean.
301 The hash is stored in the file =~/.emacs.d/.org-id-locations=.
302 This is also a change from previous versions where the file was
303 =~/.org=id-locations=.  Therefore, you can remove this old file
304 if you have it.  I am not sure what will happen if the =.emacs.d=
305 directory does not exists in your setup, but in modern Emacsen, I
306 believe it should exist.  If you do not want to use IDs across
307 files, you can avoid the overhead with tracking IDs by
308 customizing the variable =org-id-track-globally=.  IDs can then
309 still be used for links inside a single file.
311 IDs will also be used when you create a new link to an Org-mode
312 buffer.  If you use =org-store-link= (normally at =C-c l=) inside
313 en entry in an Org-mode buffer, and ID property will be created
314 if it does not exist, and the stored link will be an =id:= link.
315 If you prefer the much less secure linking to headline text, you
316 can configure the variable =org-link-to-org-use-id=.  The default
317 setting for this variable is =create-if-interactive=, meaning
318 that an ID will be created when you store a link interactively,
319 but not if you happen to be in an Org-mode file while you create
320 a remember note (which usually has a link to the place where you
321 were when starting remember).
323 *** Spreadsheet references to the last table line.
325 You may now use =@0= to reference the last dataline in a table
326 in a stable way.  This is useful in particular for automatically
327 generated tables like the ones using /org-collector.el/ by Eric
328 Schulte.
330 * Version 6.14
331 ** Overview
333    - New relative timer to support timed notes 
334    - Special faces can be set for individual tags 
335    - The agenda shows now all tags, including inherited ones. 
336    - Exclude some tags from inheritance. 
337    - More special values for time comparisons in property searches 
338    - Control for exporting meta data 
339    - Cut and Paste with hot links from w3m to Org 
340    - LOCATION can be inherited for iCalendar export 
341    - Relative row references crossing hlines now throw an error 
343 ** Incompatible Changes
345 *** Relative row references crossing hlines now throw an error
346     
347     Relative row references in tables look like this: "@-4" which
348     means the forth row above this one.  These row references are
349     not allowed to cross horizontal separator lines (hlines).  So
350     far, when a row reference violates this policy, Org would
351     silently choose the field just next to the hline.
353     Tassilo Horn pointed out that this kind of hidden magic is
354     actually confusing and may cause incorrect formulas, and I do
355     agree.  Therefore, trying to cross a hline with a relative
356     reference will now throw an error.
357     
358     If you need the old behavior, customize the variable
359     `org-table-error-on-row-ref-crossing-hline'.
361 ** Details
363 *** New relative timer to support timed notes
365     Org now supports taking timed notes, useful for example while
366     watching a video, or during a meeting which is also recorded.
368     - =C-c C-x .= :: 
369       Insert a relative time into the buffer.  The first time
370       you use this, the timer will be started.  When called
371       with a prefix argument, the timer is reset to 0.
373     - =C-c C-x -= :: 
374       Insert a description list item with the current relative
375       time.  With a prefix argument, first reset the timer to 0.
377     - =M-RET= ::
378       Once the time list has been initiated, you can also use the
379       normal item-creating command to insert the next timer item.
381     - =C-c C-x 0= :: 
382       Reset the timer without inserting anything into the buffer.
383       By default, the timer is reset to 0.  When called with a
384       =C-u= prefix, reset the timer to specific starting
385       offset.  The user is prompted for the offset, with a
386       default taken from a timer string at point, if any, So this
387       can be used to restart taking notes after a break in the
388       process.  When called with a double prefix argument
389       =C-c C-u=, change all timer strings in the active
390       region by a certain amount.  This can be used to fix timer
391       strings if the timer was not started at exactly the right
392       moment.
394     Thanks to Alan Dove, Adam Spiers, and Alan Davis for
395     contributions to this idea.
397 *** Special faces can be set for individual tags
399     You may now use the variable =org-tag-faces= to define the
400     face used for specific tags, much in the same way as you can
401     do for TODO keywords.
403     Thanks to Samuel Wales for this proposal.
405 *** The agenda shows now all tags, including inherited ones.
407     This request has come up often, most recently it was
408     formulated by Tassilo Horn.
410     If you prefer the old behavior of only showing the local
411     tags, customize the variable =org-agenda-show-inherited-tags=.
413 *** Exclude some tags from inheritance.
415     So far, the only way to select tags for inheritance was to
416     allow it for all tags, or to do a positive selection using
417     one of the more complex settings for
418     `org-use-tag-inheritance'.  It may actually be better to
419     allow inheritance for all but a few tags, which was difficult
420     to achieve with this methodology.
422     A new option, `org-tags-exclude-from-inheritance', allows to
423     specify an exclusion list for inherited tags.
425 *** More special values for time comparisons in property searches
427     In addition to =<now>=, =<today>=, =<yesterday>=, and
428     =<tomorrow>=, there are more special values accepted now in
429     time comparisons in property searches:  You may use strings
430     like =<+3d>= or =<-2w>=, with units d, w, m, and y for day,
431     week, month, and year, respectively
433     Thanks to Linday Todd for this proposal.
435 *** Control for exporting meta data
437     All the metadata in a headline, i.e. the TODO keyword, the
438     priority cookie, and the tags, can now be excluded from
439     export with appropriate options:
441     | Variable                      | Publishing property | OPTIONS switch |
442     |-------------------------------+---------------------+----------------|
443     | org-export-with-todo-keywords | :todo-keywords      | todo:          |
444     | org-export-with-tags          | :tags               | tags:          |
445     | org-export-with-priority      | :priority           | pri:           |
447 *** Cut and Paste with hot links from w3m to Org
449     You can now use the key =C-c C-x M-w= in a w3m buffer with
450     HTML content to copy either the region or the entire file in
451     a special way.  When you yank this text back into an Org-mode
452     buffer, all links from the w3m buffer will continue to work
453     under Org-mode.
455     For this to work you need to load the new file /org-w3m.el./
456     Please check your org-modules variable to make sure that this
457     is turned on.
459     Thanks for Richard Riley for the idea and to Andy Stewart for
460     the implementation.
462 *** LOCATION can be inherited for iCalendar export
464     The LOCATION property can now be inherited during iCalendar
465     export if you configure =org-use-property-inheritance= like
466     this:
468 #+begin_src emacs-lisp
469 (setq org-use-property-inheritance '("LOCATION"))
470 #+end_src
472 * Version 6.13
474 ** Overview
476    - Keybindings in Remember buffers can be configured
477    - Support for ido completion
478    - New face for date lines in agenda column view
479    - Invisible targets become now anchors in headlines.
480    - New contributed file /org-exp-blocks.el/
481    - New contributed file /org-eval-light.el/
482    - Link translation
483    - BBDB links may use regular expressions.
484    - Link abbreviations can use %h to insert a url-encoded target value
485    - Improved XHTML compliance
487 ** Details
489 *** Keybindings in Remember buffers can be configured
491     The remember buffers created with Org's extensions are in
492     Org-mode, which is nice to prepare snippets that will
493     actually be stored in Org-mode files.  However, this makes it
494     hard to configure key bindings without modifying the Org-mode
495     keymap.  There is now a minor mode active in these buffers,
496     `org-remember-mode', and its keymap org-remember-mode-map can
497     be used for key bindings.  By default, this map only contains
498     the bindings for =C-c C-c= to store the note, and =C-c C-k=
499     to abort it.  Use `org-remember-mode-hook' to define your own
500     bindings like
502 #+begin_src emacs-lisp
503 (add-hook
504  'org-remember-mode-hook
505  (lambda ()
506    (define-key org-remember-mode-map
507      "\C-x\C-s" 'org-remember-finalize)))
508 #+end_src
510     If you wish, you can also use this to free the =C-c C-c=
511     binding (by binding this key to nil in the minor mode map),
512     so that you can use =C-c C-c= again to set tags.
514     This modification is based on a request by Tim O'Callaghan.
516 *** Support for ido completion
518     You can now get the completion interface from /ido.el/ for
519     many of Org's internal completion commands by turning on the
520     variable =org-completion-use-ido=. =ido-mode= must also be
521     active before you can use this.
523     This change is based upon a request by Samuel Wales.
525 *** New face for date lines in agenda column view
527     When column view is active in the agenda, and when you have
528     summarizing properties, the date lines become normal column
529     lines and the separation between different days becomes
530     harder to see.  If this bothers you, you can now customize
531     the face =org-agenda-column-dateline=.
533     This is based on a request by George Pearson.
535 *** Invisible targets become now anchors in headlines.
537     These anchors can be used to jump to a directly with an HTML
538     link, just like the =sec-xxx= IDs.  For example, the
539     following will make a http link
540     =//domain/path-to-my-file.html#dummy= work:
542 #+begin_src org
543 ,# <<dummy>>
544 ,*** a headline
545 #+end_src
547     This is based on a request by Matt Lundin.
549 *** New contributed file /org-exp-blocks.el/
551     This new file implements special export behavior of
552     user-defined blocks.  The currently supported blocks are
554     - comment :: Comment blocks with author-specific markup
555     - ditaa ::  conversion of ASCII art into pretty png files
556          using Stathis  Sideris' /ditaa.jar/ program
557     - dot :: creation of graphs in the /dot/ language
558     - R :: Sweave type exporting using the R program
560     For more details and examples, see the file commentary in
561     /org-exp-blocks.el/.
563     Kudos to Eric Schulte for this new functionality, after
564     /org-plot.el/ already his second major contribution.  Thanks
565     to Stathis for this excellent program, and for allowing us to
566     bundle it with Org-mode.
568 *** New contributed file /org-eval-light.el/
570     This module gives control over execution Emacs Lisp code
571     blocks included in a file.
573     Thanks to Eric Schulte also for this file.
575 *** Link translation
577     You can now configure Org to understand many links created
578     with the Emacs Planner package, so you can cut text from
579     planner pages and paste them into Org-mode files without
580     having to re-write the links.  Among other things, this means
581     that the command =org-open-at-point-global= which follows
582     links not only in Org-mode, but in arbitrary files like
583     source code files etc, will work also with links created by
584     planner. The following customization is needed to make all of
585     this work
587 #+begin_src emacs-lisp
588 (setq org-link-translation-function
589       'org-translate-link-from-planner)
590 #+end_src
592    I guess an inverse translator could be written and integrated
593    into Planner.
595 *** BBDB links may use regular expressions.
597     This did work all along, but only now I have documented it.
599 *** =yank-pop= works again after yanking an outline tree
601     Samuel Wales had noticed that =org-yank= did mess up this
602     functionality.  Now you can use =yank-pop= again, the only
603     restriction is that the so-yanked text will not be
604     pro/demoted or folded.
606 *** Link abbreviations can use %h to insert a url-encoded target value
608     Thanks to Steve Purcell for a patch to this effect.
610 *** Improved XHTML compliance
612     Thanks to Sebastian Rose for pushing this.
614 *** Many bug fixes again.
615     
616 * Version 6.12
617 ** Overview
619    - A region of entries can now be refiled with a single command
620    - Fine-tuning the behavior of `org-yank'
621    - Formulas for clocktables
622    - Better implementation of footnotes for HTML export
623    - More languages for HTML export.
625 ** Details
627 *** A region of entries can now be refiled with a single command
628     
629     With =transient-make-mode= active (=zmacs-regions= under
630     XEmacs), you can now select a region of entries and refile
631     them all with a single =C-c C-w= command.
633     Thanks to Samuel Wales for this useful proposal.
635 *** Fine-tuning the behavior of =org-yank=
637     The behavior of Org's yanking command has been further
638     fine-tuned in order to avoid some of the small annoyances
639     this command caused.
641     - Calling =org-yank= with a prefix arg will stop any special
642       treatment and directly pass through to the normal =yank=
643       command.  Therefore, you can now force a normal yank with
644       =C-u C-y=.
646     - Subtrees will only be folded after a yank if doing so will
647       now swallow any non-white characters after the yanked text.
648       This is, I think a really important change to make the
649       command work more sanely.
651 *** Formulas for clocktables
653     You can now add formulas to a clock table, either by hand, or
654     with a =:formula= parameter.  These formulas can be used to
655     create additional columns with further analysis of the
656     measured times.
658     Thanks to Jurgen Defurne for triggering this addition.
660 *** Better implementation of footnotes for HTML export
661     
662     The footnote export in 6.11 really was not good enough.  Now
663     it works fine.  If you have customized
664     =footnote-section-tag=, make sure that your customization is
665     matched by =footnote-section-tag-regexp=.
667     Thanks to Sebastian Rose for pushing this change.
669 *** More languages for HTML export.
671     More languages are supported during HTML export.  This is
672     only relevant for the few special words Org inserts, like
673     "Table of Contents", or "Footnotes".  Also the encoding
674     issues with this feature seem to be solved now.
676     Thanks to Sebastian Rose for pushing me to fix the encoding
677     problems.
679 * Version 6.11
681 ** Overview
683    - Yanking subtree with =C-y= now adjusts the tree level
684    - State changes can now be shown in the log mode in the agenda
685    - Footnote in HTML export are now collected at the end of the document
686    - HTML export now validates again as XHTML
687    - The clock can now be resumed after exiting and re-starting Emacs
688    - Clock-related data can be saved and resumed across Emacs sessions
689    - Following file links can now use C-u C-u to force use of an external app
690    - Inserting absolute files names now abbreviates links with "~"
691    - Links to attachment files
692    - Completed repeated tasks listed briefly in agenda
693    - Remove buffers created during publishing are removed
695 ** Details
697 *** Yanking subtree with =C-y= now adjusts the tree level
698     When yanking a cut/copied subtree or a series of trees, the
699     normal yank key =C-y= now adjusts the level of the tree to
700     make it fit into the current outline position, without losing
701     its identity, and without swallowing other subtrees.
703     This uses the command =org-past-subtree=.  An additional
704     change in that command has been implemented: Normally, this
705     command picks the right outline level from the surrounding
706     *visible* headlines, and uses the smaller one.  So if the
707     cursor is between a level 4 and a level 3 headline, the tree
708     will be pasted as level 3.  If the cursor is actually *at*
709     the beginning of a headline, the level of that headline will
710     be used.  For example, lets say you have a tree like this:
712 #+begin_src org
713 ,* Level one
714 ,** Level two
715 ,(1)
716 ,(2)* Level one again
717 #+end_src
719     with (1) and (2) indicating possible cursor positions for the
720     insertion.  When at (1), the tree will be pasted as level 2.
721     When at (2), it will be pasted as level 1.
723     If you do not want =C-y= to behave like this, configure the
724     variable =org-yank-adjusted-subtrees=.
726     Thanks to Samuel Wales for this idea and a partial implementation.
728 *** State changes can now be shown in the log mode in the agenda
730     If you configure the variable =org-agenda-log-mode-items=,
731     you can now request that all logged state changes be included
732     in the agenda when log mode is active.  If you find this too
733     much for normal applications, you can also temporarily
734     request the inclusion of state changes by pressing =C-u l= in
735     the agenda.
737     This was a request by Hsiu-Khuern Tang.
739     You can also press `C-u C-u l' to get *only* log items in the
740     agenda, withour any timestamps/deadlines etc.
742 *** Footnote in HTML export are now collected at the end of the document
743     Previously, footnotes would be left in the document where
744     they are defined, now they are all collected and put into a
745     special =<div>= at the end of the document.
747     Thanks to Sebastian Rose for this request.
749 *** HTML export now validates again as XHTML.
751     Thanks to Sebastian Rose for pushing this cleanup.
753 *** The clock can now be resumed after exiting and re-starting Emacs
755     If the option =org-clock-in-resume= is t, and the first clock
756     line in an entry is unclosed, clocking into that task resumes
757     the clock from that time.
759     Thanks to James TD Smith for a patch to this effect.
761 *** Clock-related data can be saved and resumed across Emacs sessions
762     
763     The data saved include the contents of =org-clock-history=,
764     and the running clock, if there is one.
765     
766     To use this, you will need to add to your .emacs
768 #+begin_src emacs-lisp
769 (setq org-clock-persist t)
770 (setq org-clock-in-resume t)
771 (org-clock-persistence-insinuate)
772 #+end_src
774     Thanks to James TD Smith for a patch to this effect.
776 *** Following file links can now use C-u C-u to force use of an external app.
778     So far you could only bypass your setup in `org-file-apps'
779     and force opening a file link in Emacs by using a =C-u= prefix arg
780     with =C-c C-o=.  Now you can call =C-u C-u C-c C-o= to force
781     an external application.  Which external application depends
782     on your system.  On Mac OS X and Windows, =open= is used.  On
783     a GNU/Linux system, the mailcap settings are used.
785     This was a proposal by Samuel Wales.
787 *** Inserting absolute files names now abbreviates links with "~".
789     Inserting file links with =C-u C-c C-l= was buggy if the
790     setting of `org-link-file-path-type' was `adaptive' (the
791     default).  Absolute file paths were not abbreviated relative
792     to the users home directory.  This bug has been fixed.
794     Thanks to Matt Lundin for the report.
796 *** Links to attachment files
798     Even though one of the purposes of entry attachments was to
799     reduce the number of links in an entry, one might still want
800     to have the occasional link to one of those files.  You can
801     now use link abbreviations to set up a special link type that
802     points to attachments in the current entry.  Note that such
803     links will only work from within the same entry that has the
804     attachment, because the directory path is entry specific.
805     Here is the setup you need:
807 #+begin_src emacs-lisp
808 (setq org-link-abbrev-alist '(("att" . org-attach-expand-link)))
809 #+end_src
811     After this, a link like this will work
813 #+BEGIN_EXAMPLE
814      [[att:some-attached-file.txt]]
815 #+END_EXAMPLE
816     This was a proposal by Lindsay Todd.
818 *** Completed repeated tasks listed briefly in agenda
820     When a repeating task, listed in the daily/weekly agenda under
821     today's date, is completed from the agenda, it is listed as
822     DONE in the agenda until the next update happens.  After the
823     next update, the task will have disappeared, of course,
824     because the new date is no longer today.
825     
826 *** Remove buffers created during publishing are removed
828     Buffers that are created during publishing are now deleted
829     when the publishing is over.  At least I hope it works like this.
831 * Version 6.10
833 ** Overview
835    - Secondary agenda filtering is becoming a killer feature
836    - Setting tags has now its own binding, =C-c C-q=
837    - Todo state changes can trigger tag changes
838    - C-RET will now always insert a new headline, never an item.
839    - Customize org-mouse.el feature set to free up mouse events
840    - New commands for export all the way to PDF (through LaTeX)
841    - Some bug fixed for LaTeX export, more bugs remain.
843 ** Details
845 *** Enhancements to secondary agenda filtering
847     This is, I believe, becoming a killer feature.  It allows you
848     to define fewer and more general custom agenda commands, and
849     then to do the final narrowing to specific tasks you are
850     looking for very quickly, much faster than calling a new
851     agenda command.
853     If you have not tries this yet, you should!
855 **** You can now refining the current filter by an additional criterion
856       When filtering an existing agenda view with =/=, you can
857       now narrow down the existing selection by an additional
858       condition.  Do do this, use =\= instead of =/= to add the
859       additional criterion.  You can also press =+= or =-= after
860       =/= to add a positive or negative condition.  A condition
861       can be a TAG, or an effort estimate limit, see below.
863 **** It is now possible to filter for effort estimates
864      This means to filter the agenda for the value of the Effort
865      property.  For this you should best set up global allowed
866      values for effort estimates, with
868 #+begin_src emacs-lisp
869 (setq org-global-properties
870       '(("Effort_ALL" . "0 0:10 0:30 1:00 2:00 3:00 4:00")))
871 #+end_src
872       
873      You may then select effort limits with single keys in the
874      filter.  It works like this:  After =/= or =\=, first select
875      the operator which you want to use to compare effort
876      estimates:
878      : <   Select entries with effort smaller than or equal to the limit
879      : >   Select entries with effort larger than or equal to the limit
880      : =   Select entries with effort equal to the limit
882      After that, you can press a single digit number which is
883      used as an index to the allowed effort estimates.
885      If you do not use digits to fast-select tags, you can even
886      skip the operator, which will then default to
887      `org-agenda-filter-effort-default-operator', which is by
888      default =<=.
890      Thanks to Manish for the great idea to include fast effort
891      filtering into the agenda filtering process.
893 **** The mode line will show the active filter
894      For example, if there is a filter in place that does select
895      for HOME tags, against EMAIL tags, and for tasks with an
896      estimated effort smaller than 30 minutes, the mode-line with
897      show =+HOME-EMAIL+<0:30=
899 **** The filter now persists when the agenda view is refreshed
900      All normal refresh commands, including those that move the
901      weekly agenda from one week to the next, now keep the
902      current filter in place.
904      You need to press =/ /= to turn off the filter.  However,
905      when you run a new agenda command, for example going from
906      the weekly agenda to the TODO list, the filter will be
907      switched off.
908    
909 *** Setting tags has now its own binding, =C-c C-q=
911     You can still use =C-c C-c= on a headline, but the new
912     binding should be considered as the main binding for this
913     command.  The reasons for this change are:
915     - Using =C-c C-c= for tags is really out of line with other
916       uses of =C-c C-c=.
918     - I hate it in Remember buffers when I try to set tags and I
919       cannot, because =C-c C-c= exits the buffer :-(
921     - =C-c C-q= will also work when the cursor is somewhere down
922       in the entry, it does not have to be on the headline.
924 *** Todo state changes can trigger tag changes
926     The new option =org-todo-state-tags-triggers= can be used to
927     define automatic changes to tags when a TODO state changes.
928     For example, the setting
930     : (setq org-todo-state-tags-triggers
931     :       '((done ("Today" . nil) ("NEXT" . nil))
932     :         ("WAITING" ("Today" . t))))    
934     will make sure that any change to any of the DONE states will
935     remove tags "Today" and "NEXT", while switching to the
936     "WAITING" state will trigger the tag "Today" to be added.
938     I use this mostly to get rid of TODAY and NEXT tags which I
939     apply to select an entry for execution in the near future,
940     which I often prefer to specific time scheduling.
942 *** C-RET will now always insert a new headline, never an item.
943     The new headline is inserted after the current subtree.
945     Thanks to Peter Jones for patches to fine-tune this behavior.
947 *** Customize org-mouse.el feature set
948     There is a new variable =org-mouse-features= which gives you
949     some control about what features of org-mouse you want to
950     use.  Turning off some of the feature will free up the
951     corresponding mouse events, or will avoid activating special
952     regions for mouse clicks.  By default I have urned off the
953     feature to use drag mouse events to move or promote/demote
954     entries.  You can of course turn them back on if you wish.
956     This variable may still change in the future, allowing more
957     fine-grained control.
959 *** New commands for export to PDF
961     This is using LaTeX export, and then processes it to PDF
962     using pdflatex.
964     : C-c C-e p     process to PDF.
965     : C-c C-e d     process to PDF, and open the file.
967 *** LaTeX export
968     - \usepackage{graphicx} is now part of the standard class
969       definitions.
970     - Several bugs fixed, but definitely not all of them :-(
972 *** New option `org-log-state-notes-insert-after-drawers'
974     Set this to =t= if you want state change notes to be inserted
975     after any initial drawers, i.e drawers the immediately follow
976     the headline and the planning line (the one with
977     DEADLINE/SCHEDULED/CLOSED information).
979 * Version 6.09
980 ** Incompatible
981 *** =org-file-apps= now uses regular expressions, see [[*%20org%20file%20apps%20now%20uses%20regular%20repressions%20instead%20of%20extensions][below]]
983 ** Details
985 *** =org-file-apps= now uses regular repressions instead of extensions
986     Just like in =auto-mode-alist=, car's in the variable
987     =org-file-apps= that are strings are now interpreted as
988     regular expressions that are matched against a file name.  So
989     instead of "txt", you should now write "\\.txt\\'" to make
990     sure the matching is done correctly (even though "txt" will
991     be recognized and still be interpreted as an extension).
993     There is now a shortcut to get many file types visited by
994     Emacs.  If org-file-apps contains `(auto-mode . emacs)', then
995     any files that are matched by `auto-mode-alist' will be
996     visited in emacs.
998 *** Changes to the attachment system
1000     - The default method to attach a file is now to copy it
1001       instead of moving it.
1002     - You can modify the default method using the variable
1003       `org-attach-method'.  I believe that most Unix people want
1004       to set it to `ln' to create hard links.
1005     - The keys =c=, =m=, and =l= specifically select =copy=,
1006       =move=, or =link=, respectively, as the attachment method
1007       for a file, overruling  `org-attach-method'.
1008     - To create a new attachment as an Emacs buffer, you have not
1009       now use =n= instead of =c=.
1010     - The file list is now always retrieved from the directory
1011       itself, not from the "Attachments" property.  We still
1012       keep this property by default, but you can turn it off, by
1013       customizing the variable =org-attach-file-list-property=.
1015 * Version 6.08
1017 ** Incompatible changes
1019    - Changes in the structure of IDs, see [[*The%20default%20structure%20of%20IDs%20has%20changed][here]] for details.
1021    - C-c C-a has been redefined, see [[*%20C%20c%20C%20a%20no%20longer%20calls%20show%20all][here]] for details.
1023 ** Details
1025 *** The default structure of IDs has changed
1027     IDs created by Org have changed a bit:
1028     - By default, there is no prefix on the ID.  There used to be
1029       an "Org" prefix, but I now think this is not necessary.
1030     - IDs use only lower-case letters, no upper-case letters
1031       anymore.  The reason for this is that IDs are now also used
1032       as directory names for org-attach, and some systems do not
1033       distinguish upper and lower case in the file system.
1034     - The ID string derived from the current time is now
1035       /reversed/ to become an ID.  This assures that the first
1036       two letters of the ID change fast, so hat it makes sense to
1037       split them off to create subdirectories to balance load.
1038     - You can now set the `org-id-method' to `uuidgen' on systems
1039       which support it.
1041 *** =C-c C-a= no longer calls `show-all'
1043     The reason for this is that =C-c C-a= is now used for the
1044     attachment system.  On the rare occasions that this command
1045     is needed, use =M-x show-all=, or =C-u C-u C-u TAB=.
1047 *** New attachment system
1049     You can now attach files to each node in the outline tree.
1050     This works by creating special directories based on the ID of
1051     an entry, and storing files in these directories.  Org can
1052     keep track of changes to the attachments by automatically
1053     committing changes to git.  See the manual for more
1054     information.
1056     Thanks to John Wiegley who contributed this fantastic new
1057     concept and wrote org-attach.el to implement it.
1059 *** New remember template escapes
1061     : %^{prop}p   to insert a property
1062     : %k          the heading of the item currently being clocked
1063     : %K          a link to the heading of the item currently being clocked
1065     Also, when you exit remember with =C-2 C-c C-c=, the item
1066     will be filed as a child of the item currently being
1067     clocked.  So the idea is, if you are working on something and
1068     think of a new task related to this or a new note to be
1069     added, you can use this to quickly add information to that
1070     task.
1072     Thanks to James TD Smith for a patch to this effect.
1074 *** Clicking with mouse-2 on clock info in mode-line visits the clock.
1075     
1076     Thanks to James TD Smith for a patch to this effect.
1078 *** New file in contrib: lisp/org-checklist.el
1080     This module deals with repeated tasks that have checkbox
1081     lists below them.
1083     Thanks to James TD Smith for this contribution.
1085 *** New in-buffer setting #+STYLE
1087     It can be used to locally set the variable
1088     `org-export-html-style-extra'.  Several such lines are
1089     allowed-, they will all be concatenated.  For an example on
1090     how to use it, see the [[http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php][publishing tutorial]].
1092 * Version 6.07
1094 ** Overview
1096    - Filtering existing agenda views with respect to a tag
1097    - Editing fixed-width regions with picture or artist mode
1098    - /org-plot.el/ is now part of Org
1099    - Tags can be used to select the export part of a document
1100    - Prefix interpretation when storing remember notes
1101    - Yanking inserts folded subtrees
1102    - Column view capture tables can have formulas, plotting info
1103    - In column view, date stamps can be changed with S-cursor keys
1104    - The note buffer for clocking out now mentions the task
1105    - Sorting entries alphabetically ignores TODO keyword and priority
1106    - Agenda views can sort entries by TODO state
1107    - New face =org-scheduled= for entries scheduled in the future.
1108    - Remember templates for gnus links can use the :to escape.
1109    - The file specification in a remember template may be a function
1110    - Categories in iCalendar export include local tags
1111    - It is possible to define filters for column view
1112    - Disabling integer increment during table Field copy
1113    - Capturing column view is on `C-c C-x i'
1114    - And tons of bugs fixed.  
1117 ** Incompatible changes
1119 *** Prefix interpretation when storing remember notes has changed
1121     The prefix argument to the `C-c C-c' command that finishes a
1122     remember process is now interpreted differently:
1124     : C-c C-c       Store the note to predefined file and headline
1125     : C-u C-c C-c   Like C-c C-c, but immediately visit the note
1126     :               in its new location.
1127     : C-1 C-c C-c   Select the storage location interactively
1128     : C-0 C-c C-c   Re-use the last used location
1130     This was requested by John Wiegley.
1132 *** Capturing column view is now on `C-c C-x i'
1134     The reason for this change was that `C-c C-x r' is also used
1135     as a tty key replacement.
1137 *** Categories in iCalendar export now include local tags
1139     The locally defined tags are now listed as categories when
1140     exporting to iCalendar format.  Org's traditional file/tree
1141     category is now the last category in this list.  Configure
1142     the variable =org-icalendar-categories= to modify or revert
1143     this behavior.
1145     This was a request by Charles Philip Chan.
1147 ** Details
1149 *** Secondary filtering of agenda views.
1151     You can now easily and interactively filter an existing
1152     agenda view with respect to a tag.  This command is executed
1153     with the =/= key in the agenda.  You will be prompted for a
1154     tag selection key, and all entries that do not contain or
1155     inherit the corresponding tag will be hidden.  With a prefix
1156     argument, the opposite filter is applied: entries that
1157     do have the tag will be hidden.
1159     This operation only /hides/ lines in the agenda buffer, it
1160     does not remove them.  Changing the secondary filtering does
1161     not require a new search and is very fast.
1163     If you press TAB at the tag selection prompt, you will be
1164     switched to a completion interface to select a tag.  This is
1165     useful when you want to select a tag that does not have a
1166     direct access character.
1168     A double =/ /= will restore the original agenda view by
1169     unhiding any hidden lines.
1171     This functionality was John Wiegley's idea.  It is a simpler
1172     implementation of some of the query-editing features proposed
1173     and implemented some time ago by Christopher League (see the
1174     file contrib/lisp/org-interactive-query.el).
1176 *** Editing fixed-width regions with picture or artist mode
1178     The command @<code>C-c '@</code> (that is =C-c= followed by a
1179     single quote) can now also be used to switch to a special
1180     editing mode for fixed-width sections.  The default mode is
1181     =artist-mode= which allows you to create ASCII drawings.
1183     It works like this: Enter the editing mode with
1184     @<code>C-c '@</code>.  An indirect buffer will be created and
1185     narrowed to the fixed-width region.  Edit the drawing, and
1186     press @<code>C-c '@</code> again to exit.
1188     Lines in a fixed-width region should be preceded by a colon
1189     followed by at least one space.  These will be removed during
1190     editing, and then added back when you exit the editing mode.
1192     Using the command in an empty line will create a new
1193     fixed-width region.
1195     This new feature arose from a discussion involving Scott
1196     Otterson, Sebastian Rose and Will Henney.
1198 *** /org-plot.el/ is now part of Org.
1200     You can run it by simple calling org-plot/gnuplot.
1201     Documentation is not yet included with Org, please refer to
1202     http://github.com/eschulte/org-plot/tree/master until we have
1203     moved the docs into Org or Worg.
1205     Thanks to Eric Schulte for this great contribution.
1207 *** Tags can be used to select the export part of a document
1209     You may now use tags to select parts of a document for
1210     inclusion into the export, and to exclude other parts.  This
1211     behavior is governed by two new variables:
1212     =org-export-select-tags= and =org-export-exclude-tags=.
1213     These default to =("export")= and =("noexport")=, but can be
1214     changed, even to include a list of several tags.
1216     Org first checks if any of the /select/ tags is present in
1217     the buffer.  If yes, all trees that do not carry one of these
1218     tags will be excluded.  If a selected tree is a subtree, the
1219     heading hierarchy above it will also be selected for export,
1220     but not the text below those headings.  If none of the select
1221     tags is found anywhere in the buffer, the whole buffer will
1222     be selected for export.  Finally, all subtrees that are
1223     marked by any of the /exclude/ tags will be removed from the
1224     export buffer.
1226     You may set these tags with in-buffer options
1227     =EXPORT_SELECT_TAGS= and =EXPORT_EXCLUDE_TAGS=.
1229     I love this feature.  Thanks to Richard G Riley for coming
1230     up with the idea.
1232 *** Prefix interpretation when storing remember notes
1234     The prefix argument to the `C-c C-c' command that finishes a
1235     remember process is now interpreted differently:
1237     : C-c C-c       Store the note to predefined file and headline
1238     : C-u C-c C-c   Like C-c C-c, but immediately visit the note
1239     :               in its new location.
1240     : C-1 C-c C-c   Select the storage location interactively
1241     : C-0 C-c C-c   Re-use the last used location
1243     This was requested by John Wiegley.
1245 *** Yanking inserts folded subtrees
1247     If the kill is a subtree or a sequence of subtrees, yanking
1248     them with =C-y= will leave all the subtrees in a folded
1249     state.  This basically means, that kill and yank are now
1250     much more useful in moving stuff around in your outline.  If
1251     you do not like this, customize the variable
1252     =org-yank-folded-subtrees=.
1254     Right now, I am only binding =C-y= to this new function,
1255     should I modify all bindings of yank?  Do we need to amend
1256     =yank-pop= as well?
1258     This feature was requested by John Wiegley.
1260 *** Column view capture tables can have formulas, plotting info
1262     If you attach formulas and plotting instructions to a table
1263     capturing column view, these extra lines will now survive an
1264     update of the column view capture, and any formulas will be
1265     re-applied to the captured table.  This works by keeping any
1266     continuous block of comments before and after the actual
1267     table.
1269 *** In column view, date stamps can be changed with S-cursor keys
1271     If a property value is a time stamp, S-left and S-right can
1272     now be used to shift this date around while in column view.
1274     This was a request by Chris Randle.
1276 *** The note buffer for clocking out now mentions the task
1277     
1278     This was a request by Peter Frings.
1280 *** Sorting entries alphabetically ignores TODO keyword and priority
1282     Numerical and alphanumerical sorting now skips any TODO
1283     keyword or priority cookie when constructing the comparison
1284     string.  This was a request by Wanrong Lin.
1286 *** Agenda views can sort entries by TODO state
1288     You can now define a sorting strategy for agenda entries that
1289     does look at the TODO state of the entries.  Sorting by TODO
1290     entry does first separate the non-done from the done states.
1291     Within each class, the entries are sorted not alphabetically,
1292     but in definition order.  So if you have a sequence of TODO
1293     entries defined, the entries will be sorted according to the
1294     position of the keyword in this sequence.
1296     This follows an idea and sample implementation by Christian
1297     Egli.
1299 *** New face =org-scheduled= for entries scheduled in the future.
1301     This was a request by Richard G Riley.
1303 *** Remember templates for gnus links can now use the :to escape.
1305     Thanks to Tommy Lindgren for a patch to this effect.
1306 *** The file specification in a remember template may now be a function
1308     Thanks to Gregory Sullivan for a patch to this effect.
1310 *** Categories in iCalendar export now include local tags
1312     The locally defined tags are now listed as categories when
1313     exporting to iCalendar format.  Org's traditional file/tree
1314     category is now the last category in this list.  Configure
1315     the variable =org-icalendar-categories= to modify or revert
1316     this behavior.
1318     This was a request by Charles Philip Chan.
1320 *** It is now possible to define filters for column view
1322     The filter can modify the value that will be displayed in a
1323     column, for example it can cut out a part of a time stamp.
1324     For more information, look at the variable
1325     =org-columns-modify-value-for-display-function=.
1327 *** Disabling integer increment during table field copy
1329     Prefix arg 0 to S-RET does the trick.
1331     This was a request by Chris Randle.
1334 * Older changes
1336   For older Changes, see [[file:Changes_old.org]]
1339