# -*- mode: org; org-export-publishing-directory: "tmp"; fill-column: 65 -*- #+STARTUP: hidestars #+TITLE: Org-mode list of user-visible changes #+AUTHOR: Carsten Dominik #+EMAIL: carsten at orgmode dot org #+OPTIONS: H:3 num:nil toc:nil \n:nil @:t ::t |:t ^:{} *:t TeX:t LaTeX:nil #+INFOJS_OPT: view:info toc:1 path:org-info.js tdepth:2 ftoc:t #+LINK_UP: index.html #+LINK_HOME: http://orgmode.org * Version 6.13 (in preparation) :PROPERTIES: :VISIBILITY: content :END: ** Overview ** Details *** Keybindings in Remember buffers can be configured Remember buffers are normally in Org-mode, which makes it hard to configure key bindings without modifying the Org-mode keymap. There is now a minor mode active in these buffers, `org-remember-mode', and its keymap org-remember-mode-map can be used for key bindings. By default, this map only contains the bindings for =C-c C-c= to store the note, and =C-c C-k= to abort it. Use `org-remember-mode-hook' to define your own bindings like #+begin_src emacs-lisp (add-hook 'org-remember-mode-hook (lambda () (define-key org-remember-mode-map "\C-x\C-s" 'org-remember-finalize))) #+end_src You can also use this to free the =C-c C-c= binding (by binding this key to nil in the minor mode map), so that you can use =C-c C-c= again to set tags. *** Support for ido completion You can not get the completion interface from /ido.el/ for many of Org's internal completion commands by turning on the variable `org-completion-use-ido'. =ido=mode= must also be active before you can use this. *** New face for datelines in agenda column view When column view is active in the agenda, and when you have summarizing properties, the date lines become normal column lines and the separation between different days becomes harder to see. If this bothers you, you can now customize the face =org-agenda-column-dateline=. *** Invisible targets become now anchors in headlines. These anchors can be used to jump to a directly with an HTML link, just like the =sec-xxx= ids. For example, the following will make a http link =//domain/path-to-my-file#dummy= work: #+begin_src org ,# <> ,*** a headline #+end_src *** New contributed file org-exp-blocks.el This new file implements special export behavior of user-defined blocks, and it has some defaults to export commends and ASCII graphics. For ASCII art, it needs the java program ditaa.jar by Stathis Sideris. Thanks to Stathis for this excellent program, and for allowing us to bundle it with Org-mode. Kudos to Eric Schulte for this new functionality, after org-plot.el already his second major contribution. *** Link translation You can now configure Org to understand many links created with the Emacs Planner package, so you can cut text from planner pages and paste them into Org-mode files without having to re-write the links. The following customization es needed to make this work #+begin_src emacs-lisp (setq org-link-translation-function 'org-translate-link-from-planner) #+end_src This will work for pretty much all links where Org does support the same or a similar protocol. However, the translator is a quick hack, and maybe we need to refine it. I guess a similar translator could be written and integrated into Planner. *** BBDB links may use regular expressions. This did work all along, but only now I have documented it. *** =yank-pop= works again after yanking an outline tree *** Link abbreviations can use %h to insert a url-encoded target value Thanks to Steve Purcell for a patch to this effect. *** Improved XHTML compliance Thanks to Sebastian Rose for pushing this. *** Many bug fixes again. * Version 6.12 ** Overview - A region of entries can now be refiled with a single command - Fine-tuning the behavior of `org-yank' - Formulas for clocktables - Better implementation of footnotes for HTML export - More languages for HTML export. ** Details *** A region of entries can now be refiled with a single command With =transient-make-mode= active (=zmacs-regions= under XEmacs), you can now select a region of entries and refile them all with a single =C-c C-w= command. Thanks to Samuel Wales for this useful proposal. *** Fine-tuning the behavior of =org-yank= The behavior of Org's yanking command has been further fine-tuned in order to avoid some of the small annoyances this command caused. - Calling =org-yank= with a prefix arg will stop any special treatment and directly pass through to the normal =yank= command. Therefore, you can now force a normal yank with =C-u C-y=. - Subtrees will only be folded after a yank if doing so will now swallow any non-white characters after the yanked text. This is, I think a really important change to make the command work more sanely. *** Formulas for clocktables You can now add formulas to a clock table, either by hand, or with a =:formula= parameter. These formulas can be used to create additional columns with further analysis of the measured times. Thanks to Jurgen Defurne for triggering this addition. *** Better implementation of footnotes for HTML export The footnote export in 6.11 really was not good enough. Now it works fine. If you have customized =footnote-section-tag=, make sure that your customization is matched by =footnote-section-tag-regexp=. Thanks to Sebastian Rose for pushing this change. *** More languages for HTML export. More languages are supported during HTML export. This is only relevant for the few special words Org inserts, like "Table of Contents", or "Footnotes". Also the encoding issues with this feature seem to be solved now. Thanks to Sebastian Rose for pushing me to fix the encoding problems. * Version 6.11 ** Overview - Yanking subtree with =C-y= now adjusts the tree level - State changes can now be shown in the log mode in the agenda - Footnote in HTML export are now collected at the end of the document - HTML export now validates again as XHTML - The clock can now be resumed after exiting and re-starting Emacs - Clock-related data can be saved and resumed across Emacs sessions - Following file links can now use C-u C-u to force use of an external app - Inserting absolute files names now abbreviates links with "~" - Links to attachment files - Completed repeated tasks listed briefly in agenda - Remove buffers created during publishing are removed ** Details *** Yanking subtree with =C-y= now adjusts the tree level When yanking a cut/copied subtree or a series of trees, the normal yank key =C-y= now adjusts the level of the tree to make it fit into the current outline position, without losing its identity, and without swallowing other subtrees. This uses the command =org-past-subtree=. An additional change in that command has been implemented: Normally, this command picks the right outline level from the surrounding *visible* headlines, and uses the smaller one. So if the cursor is between a level 4 and a level 3 headline, the tree will be pasted as level 3. If the cursor is actually *at* the beginning of a headline, the level of that headline will be used. For example, lets say you have a tree like this: #+begin_src org ,* Level one ,** Level two ,(1) ,(2)* Level one again #+end_src with (1) and (2) indicating possible cursor positions for the insertion. When at (1), the tree will be pasted as level 2. When at (2), it will be pasted as level 1. If you do not want =C-y= to behave like this, configure the variable =org-yank-adjusted-subtrees=. Thanks to Samuel Wales for this idea and a partial implementation. *** State changes can now be shown in the log mode in the agenda If you configure the variable =org-agenda-log-mode-items=, you can now request that all logged state changes be included in the agenda when log mode is active. If you find this too much for normal applications, you can also temporarily request the inclusion of state changes by pressing =C-u l= in the agenda. This was a request by Hsiu-Khuern Tang. You can also press `C-u C-u l' to get *only* log items in the agenda, withour any timestamps/deadlines etc. *** Footnote in HTML export are now collected at the end of the document Previously, footnotes would be left in the document where they are defined, now they are all collected and put into a special =
= at the end of the document. Thanks to Sebastian Rose for this request. *** HTML export now validates again as XHTML. Thanks to Sebastian Rose for pushing this cleanup. *** The clock can now be resumed after exiting and re-starting Emacs If the option =org-clock-in-resume= is t, and the first clock line in an entry is unclosed, clocking into that task resumes the clock from that time. Thanks to James TD Smith for a patch to this effect. *** Clock-related data can be saved and resumed across Emacs sessions The data saved include the contents of =org-clock-history=, and the running clock, if there is one. To use this, you will need to add to your .emacs #+begin_src emacs-lisp (setq org-clock-persist t) (setq org-clock-in-resume t) (org-clock-persistence-insinuate) #+end_src Thanks to James TD Smith for a patch to this effect. *** Following file links can now use C-u C-u to force use of an external app. So far you could only bypass your setup in `org-file-apps' and force opening a file link in Emacs by using a =C-u= prefix arg with =C-c C-o=. Now you can call =C-u C-u C-c C-o= to force an external application. Which external application depends on your system. On Mac OS X and Windows, =open= is used. On a GNU/Linux system, the mailcap settings are used. This was a proposal by Samuel Wales. *** Inserting absolute files names now abbreviates links with "~". Inserting file links with =C-u C-c C-l= was buggy if the setting of `org-link-file-path-type' was `adaptive' (the default). Absolute file paths were not abbreviated relative to the users home directory. This bug has been fixed. Thanks to Matt Lundin for the report. *** Links to attachment files Even though one of the purposes of entry attachments was to reduce the number of links in an entry, one might still want to have the occasional link to one of those files. You can now use link abbreviations to set up a special link type that points to attachments in the current entry. Note that such links will only work from within the same entry that has the attachment, because the directory path is entry specific. Here is the setup you need: #+begin_src emacs-lisp (setq org-link-abbrev-alist '(("att" . org-attach-expand-link))) #+end_src After this, a link like this will work : [[att:some-attached-file.txt]] This was a proposal by Lindsay Todd. *** Completed repeated tasks listed briefly in agenda When a repeating task, listed in the daily/weekly agenda under today's date, is completed from the agenda, it is listed as DONE in the agenda until the next update happens. After the next update, the task will have disappeared, of course, because the new date is no longer today. *** Remove buffers created during publishing are removed Buffers that are created during publishing are now deleted when the publishing is over. At least I hope it works like this. * Version 6.10 ** Overview - Secondary agenda filtering is becoming a killer feature - Setting tags has now its own binding, =C-c C-q= - Todo state changes can trigger tag changes - C-RET will now always insert a new headline, never an item. - Customize org-mouse.el feature set to free up mouse events - New commands for export all the way to PDF (through LaTeX) - Some bug fixed for LaTeX export, more bugs remain. ** Details *** Enhancements to secondary agenda filtering This is, I believe, becoming a killer feature. It allows you to define fewer and more general custom agenda commands, and then to do the final narrowing to specific tasks you are looking for very quickly, much faster than calling a new agenda command. If you have not tries this yet, you should! **** You can now refining the current filter by an additional criterion When filtering an existing agenda view with =/=, you can now narrow down the existing selection by an additional condition. Do do this, use =\= instead of =/= to add the additional criterion. You can also press =+= or =-= after =/= to add a positive or negative condition. A condition can be a TAG, or an effort estimate limit, see below. **** It is now possible to filter for effort estimates This means to filter the agenda for the value of the Effort property. For this you should best set up global allowed values for effort estimates, with #+begin_src emacs-lisp (setq org-global-properties '(("Effort_ALL" . "0 0:10 0:30 1:00 2:00 3:00 4:00"))) #+end_src You may then select effort limits with single keys in the filter. It works like this: After =/= or =\=, first select the operator which you want to use to compare effort estimates: : < Select entries with effort smaller than or equal to the limit : > Select entries with effort larger than or equal to the limit : = Select entries with effort equal to the limit After that, you can press a single digit number which is used as an index to the allowed effort estimates. If you do not use digits to fast-select tags, you can even skip the operator, which will then default to `org-agenda-filter-effort-default-operator', which is by default =<=. Thanks to Manish for the great idea to include fast effort filtering into the agenda filtering process. **** The mode line will show the active filter For example, if there is a filter in place that does select for HOME tags, against EMAIL tags, and for tasks with an estimated effort smaller than 30 minutes, the mode-line with show =+HOME-EMAIL+<0:30= **** The filter now persists when the agenda view is refreshed All normal refresh commands, including those that move the weekly agenda from one week to the next, now keep the current filter in place. You need to press =/ /= to turn off the filter. However, when you run a new agenda command, for example going from the weekly agenda to the TODO list, the filter will be switched off. *** Setting tags has now its own binding, =C-c C-q= You can still use =C-c C-c= on a headline, but the new binding should be considered as the main binding for this command. The reasons for this change are: - Using =C-c C-c= for tags is really out of line with other uses of =C-c C-c=. - I hate it in Remember buffers when I try to set tags and I cannot, because =C-c C-c= exits the buffer :-( - =C-c C-q= will also work when the cursor is somewhere down in the entry, it does not have to be on the headline. *** Todo state changes can trigger tag changes The new option =org-todo-state-tags-triggers= can be used to define automatic changes to tags when a TODO state changes. For example, the setting : (setq org-todo-state-tags-triggers : '((done ("Today" . nil) ("NEXT" . nil)) : ("WAITING" ("Today" . t)))) will make sure that any change to any of the DONE states will remove tags "Today" and "NEXT", while switching to the "WAITING" state will trigger the tag "Today" to be added. I use this mostly to get rid of TODAY and NEXT tags which I apply to select an entry for execution in the near future, which I often prefer to specific time scheduling. *** C-RET will now always insert a new headline, never an item. The new headline is inserted after the current subtree. Thanks to Peter Jones for patches to fine-tune this behavior. *** Customize org-mouse.el feature set There is a new variable =org-mouse-features= which gives you some control about what features of org-mouse you want to use. Turning off some of the feature will free up the corresponding mouse events, or will avoid activating special regions for mouse clicks. By default I have urned off the feature to use drag mouse events to move or promote/demote entries. You can of course turn them back on if you wish. This variable may still change in the future, allowing more fine-grained control. *** New commands for export to PDF This is using LaTeX export, and then processes it to PDF using pdflatex. : C-c C-e p process to PDF. : C-c C-e d process to PDF, and open the file. *** LaTeX export - \usepackage{graphicx} is now part of the standard class definitions. - Several bugs fixed, but definitely not all of them :-( *** New option `org-log-state-notes-insert-after-drawers' Set this to =t= if you want state change notes to be inserted after any initial drawers, i.e drawers the immediately follow the headline and the planning line (the one with DEADLINE/SCHEDULED/CLOSED information). * Version 6.09 ** Incompatible *** =org-file-apps= now uses regular expressions, see [[*%20org%20file%20apps%20now%20uses%20regular%20repressions%20instead%20of%20extensions][below]] ** Details *** =org-file-apps= now uses regular repressions instead of extensions Just like in =auto-mode-alist=, car's in the variable =org-file-apps= that are strings are now interpreted as regular expressions that are matched against a file name. So instead of "txt", you should now write "\\.txt\\'" to make sure the matching is done correctly (even though "txt" will be recognized and still be interpreted as an extension). There is now a shortcut to get many file types visited by Emacs. If org-file-apps contains `(auto-mode . emacs)', then any files that are matched by `auto-mode-alist' will be visited in emacs. *** Changes to the attachment system - The default method to attach a file is now to copy it instead of moving it. - You can modify the default method using the variable `org-attach-method'. I believe that most Unix people want to set it to `ln' to create hard links. - The keys =c=, =m=, and =l= specifically select =copy=, =move=, or =link=, respectively, as the attachment method for a file, overruling `org-attach-method'. - To create a new attachment as an Emacs buffer, you have not now use =n= instead of =c=. - The file list is now always retrieved from the directory itself, not from the "Attachments" property. We still keep this property by default, but you can turn it off, by customizing the variable =org-attach-file-list-property=. * Version 6.08 ** Incompatible changes - Changes in the structure of IDs, see [[*The%20default%20structure%20of%20IDs%20has%20changed][here]] for details. - C-c C-a has been redefined, see [[*%20C%20c%20C%20a%20no%20longer%20calls%20show%20all][here]] for details. ** Details *** The default structure of IDs has changed IDs created by Org have changed a bit: - By default, there is no prefix on the ID. There used to be an "Org" prefix, but I now think this is not necessary. - IDs use only lower-case letters, no upper-case letters anymore. The reason for this is that IDs are now also used as directory names for org-attach, and some systems do not distinguish upper and lower case in the file system. - The ID string derived from the current time is now /reversed/ to become an ID. This assures that the first two letters of the ID change fast, so hat it makes sense to split them off to create subdirectories to balance load. - You can now set the `org-id-method' to `uuidgen' on systems which support it. *** =C-c C-a= no longer calls `show-all' The reason for this is that =C-c C-a= is now used for the attachment system. On the rare occasions that this command is needed, use =M-x show-all=, or =C-u C-u C-u TAB=. *** New attachment system You can now attach files to each node in the outline tree. This works by creating special directories based on the ID of an entry, and storing files in these directories. Org can keep track of changes to the attachments by automatically committing changes to git. See the manual for more information. Thanks to John Wiegley who contributed this fantastic new concept and wrote org-attach.el to implement it. *** New remember template escapes : %^{prop}p to insert a property : %k the heading of the item currently being clocked : %K a link to the heading of the item currently being clocked Also, when you exit remember with =C-2 C-c C-c=, the item will be filed as a child of the item currently being clocked. So the idea is, if you are working on something and think of a new task related to this or a new note to be added, you can use this to quickly add information to that task. Thanks to James TD Smith for a patch to this effect. *** Clicking with mouse-2 on clock info in mode-line visits the clock. Thanks to James TD Smith for a patch to this effect. *** New file in contrib: lisp/org-checklist.el This module deals with repeated tasks that have checkbox lists below them. Thanks to James TD Smith for this contribution. *** New in-buffer setting #+STYLE It can be used to locally set the variable `org-export-html-style-extra'. Several such lines are allowed-, they will all be concatenated. For an example on how to use it, see the [[http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php][publishing tutorial]]. * Version 6.07 ** Overview - Filtering existing agenda views with respect to a tag - Editing fixed-width regions with picture or artist mode - /org-plot.el/ is now part of Org - Tags can be used to select the export part of a document - Prefix interpretation when storing remember notes - Yanking inserts folded subtrees - Column view capture tables can have formulas, plotting info - In column view, date stamps can be changed with S-cursor keys - The note buffer for clocking out now mentions the task - Sorting entries alphabetically ignores TODO keyword and priority - Agenda views can sort entries by TODO state - New face =org-scheduled= for entries scheduled in the future. - Remember templates for gnus links can use the :to escape. - The file specification in a remember template may be a function - Categories in iCalendar export include local tags - It is possible to define filters for column view - Disabling integer increment during table Field copy - Capturing column view is on `C-c C-x i' - And tons of bugs fixed. ** Incompatible changes *** Prefix interpretation when storing remember notes has changed The prefix argument to the `C-c C-c' command that finishes a remember process is now interpreted differently: : C-c C-c Store the note to predefined file and headline : C-u C-c C-c Like C-c C-c, but immediately visit the note : in its new location. : C-1 C-c C-c Select the storage location interactively : C-0 C-c C-c Re-use the last used location This was requested by John Wiegley. *** Capturing column view is now on `C-c C-x i' The reason for this change was that `C-c C-x r' is also used as a tty key replacement. *** Categories in iCalendar export now include local tags The locally defined tags are now listed as categories when exporting to iCalendar format. Org's traditional file/tree category is now the last category in this list. Configure the variable =org-icalendar-categories= to modify or revert this behavior. This was a request by Charles Philip Chan. ** Details *** Secondary filtering of agenda views. You can now easily and interactively filter an existing agenda view with respect to a tag. This command is executed with the =/= key in the agenda. You will be prompted for a tag selection key, and all entries that do not contain or inherit the corresponding tag will be hidden. With a prefix argument, the opposite filter is applied: entries that do have the tag will be hidden. This operation only /hides/ lines in the agenda buffer, it does not remove them. Changing the secondary filtering does not require a new search and is very fast. If you press TAB at the tag selection prompt, you will be switched to a completion interface to select a tag. This is useful when you want to select a tag that does not have a direct access character. A double =/ /= will restore the original agenda view by unhiding any hidden lines. This functionality was John Wiegley's idea. It is a simpler implementation of some of the query-editing features proposed and implemented some time ago by Christopher League (see the file contrib/lisp/org-interactive-query.el). *** Editing fixed-width regions with picture or artist mode The command @C-c '@ (that is =C-c= followed by a single quote) can now also be used to switch to a special editing mode for fixed-width sections. The default mode is =artist-mode= which allows you to create ASCII drawings. It works like this: Enter the editing mode with @C-c '@. An indirect buffer will be created and narrowed to the fixed-width region. Edit the drawing, and press @C-c '@ again to exit. Lines in a fixed-width region should be preceded by a colon followed by at least one space. These will be removed during editing, and then added back when you exit the editing mode. Using the command in an empty line will create a new fixed-width region. This new feature arose from a discussion involving Scott Otterson, Sebastian Rose and Will Henney. *** /org-plot.el/ is now part of Org. You can run it by simple calling org-plot/gnuplot. Documentation is not yet included with Org, please refer to http://github.com/eschulte/org-plot/tree/master until we have moved the docs into Org or Worg. Thanks to Eric Schulte for this great contribution. *** Tags can be used to select the export part of a document You may now use tags to select parts of a document for inclusion into the export, and to exclude other parts. This behavior is governed by two new variables: =org-export-select-tags= and =org-export-exclude-tags=. These default to =("export")= and =("noexport")=, but can be changed, even to include a list of several tags. Org first checks if any of the /select/ tags is present in the buffer. If yes, all trees that do not carry one of these tags will be excluded. If a selected tree is a subtree, the heading hierarchy above it will also be selected for export, but not the text below those headings. If none of the select tags is found anywhere in the buffer, the whole buffer will be selected for export. Finally, all subtrees that are marked by any of the /exclude/ tags will be removed from the export buffer. You may set these tags with in-buffer options =EXPORT_SELECT_TAGS= and =EXPORT_EXCLUDE_TAGS=. I love this feature. Thanks to Richard G Riley for coming up with the idea. *** Prefix interpretation when storing remember notes The prefix argument to the `C-c C-c' command that finishes a remember process is now interpreted differently: : C-c C-c Store the note to predefined file and headline : C-u C-c C-c Like C-c C-c, but immediately visit the note : in its new location. : C-1 C-c C-c Select the storage location interactively : C-0 C-c C-c Re-use the last used location This was requested by John Wiegley. *** Yanking inserts folded subtrees If the kill is a subtree or a sequence of subtrees, yanking them with =C-y= will leave all the subtrees in a folded state. This basically means, that kill and yank are now much more useful in moving stuff around in your outline. If you do not like this, customize the variable =org-yank-folded-subtrees=. Right now, I am only binding =C-y= to this new function, should I modify all bindings of yank? Do we need to amend =yank-pop= as well? This feature was requested by John Wiegley. *** Column view capture tables can have formulas, plotting info If you attach formulas and plotting instructions to a table capturing column view, these extra lines will now survive an update of the column view capture, and any formulas will be re-applied to the captured table. This works by keeping any continuous block of comments before and after the actual table. *** In column view, date stamps can be changed with S-cursor keys If a property value is a time stamp, S-left and S-right can now be used to shift this date around while in column view. This was a request by Chris Randle. *** The note buffer for clocking out now mentions the task This was a request by Peter Frings. *** Sorting entries alphabetically ignores TODO keyword and priority Numerical and alphanumerical sorting now skips any TODO keyword or priority cookie when constructing the comparison string. This was a request by Wanrong Lin. *** Agenda views can sort entries by TODO state You can now define a sorting strategy for agenda entries that does look at the TODO state of the entries. Sorting by TODO entry does first separate the non-done from the done states. Within each class, the entries are sorted not alphabetically, but in definition order. So if you have a sequence of TODO entries defined, the entries will be sorted according to the position of the keyword in this sequence. This follows an idea and sample implementation by Christian Egli. *** New face =org-scheduled= for entries scheduled in the future. This was a request by Richard G Riley. *** Remember templates for gnus links can now use the :to escape. Thanks to Tommy Lindgren for a patch to this effect. *** The file specification in a remember template may now be a function Thanks to Gregory Sullivan for a patch to this effect. *** Categories in iCalendar export now include local tags The locally defined tags are now listed as categories when exporting to iCalendar format. Org's traditional file/tree category is now the last category in this list. Configure the variable =org-icalendar-categories= to modify or revert this behavior. This was a request by Charles Philip Chan. *** It is now possible to define filters for column view The filter can modify the value that will be displayed in a column, for example it can cut out a part of a time stamp. For more information, look at the variable =org-columns-modify-value-for-display-function=. *** Disabling integer increment during table field copy Prefix arg 0 to S-RET does the trick. This was a request by Chris Randle. * Version 6.06 ** Overview - New, more CSS-like setup for HTML style information - Attributes in hyperlinks, for example alt and title for images - Simplified way to specify file links - Modified behavior of time stamps in iCalendar export - New way to compare times during a property search - New option `org-open-directory-means-index' - New parameters :prefix and :prefix1 for include files - New option :index-style for org-publish - New structure for the timestamp directory for org-publish. ** Incompatible changes *** New structure for the timestamp directory for org-publish. The timestamp directory now uses SHA1 hashed versions of the path to each publishing file. This should be a consistent and system-independent way to handle things. The change means that your next publishing command will publish each and every file again, but just once, until new time stamps are in place. ** Details *** New setup for HTML style information In order to create a more CSS-like setup of the HTML style information, the following changes have been made: - The default style has moved to a constant, =org-export-html-style-default= and should not be changed anymore. - The default of the variable =org-export-html-style= is now just the empty string. This variable should receive settings that are Org-wide. When using org-publish, this variable is associated with the =:style= property and can be used to establish project-wide settings. - There is a new variable =org-export-html-style-extra= that should be used for file-local settings. Org-publish can, if necessary, access this variable with the =:style-extra= property. - When a file is published, the values of - org-export-html-style-default - org-export-html-style - org-export-html-style-extra are all inserted into the HTML header, in the given sequence. This follows a proposal by Rustom Mody. *** Attributes in hyperlinks You can now set attributes in hyperlinks that will be used when publishing to HTML. For example, if you want to use the ALT and TITLE attributes of an inlined image, here is who to do this: : [[./img/a.jpg{{alt="This is image A" title="Image with no action"}}]] Thanks to Charles Chen for this idea. *** Simplified way to specify file links In a link, you can now leave out the "file:" prefix if you write an absolute file name like =/Users/dominik/.emacs= or =~/.emacs=, or if you write a relative file name by using =./= or =../= to start the file path. You cannot write a plain file name, because plain text is interpreted as an internal link. So for example, a link to an image /A.jpg/ with a thumbnail /B.jpg/ can now be written like #+begin_src org [[./A.jpg][./B.jpg] ] #+end_src *** Changes in iCalendar export Deadline and scheduling time stamps are now treated differently in iCalendar export. The default behavior is now the following: - a DEADLINE that appears in an entry that is a TODO item is used as the item's DUE date. Therefore, such a deadline will no longer show up in the calendar. - a DEADLINE that appears in an item that is *not* a TODO item is exported as an EVENT and will show up in the calendar. - a SCHEDULED timestamp in a TODO item will be used as the items DTSTART. Therefore, such a timestamp will not show up in the calendar. - a SCHEDULED timestamp in an item that is not a TODO has no effect on iCalendar export at all. It will be ignored. Of course this would not be Emacs if you could not configure exactly what you want. Take a look at the variables =org-icalendar-use-deadlines= and =org-icalendar-use-scheduled= if you want to go back to the old behavior or even do something completely different. Thanks to Karen Cooke for triggering this change. *** New way to compare times during a property search If the comparison value in a property search is a string that is enclosed in angular brackets, a time comparison will be done. For example : +DEADLINE>="<2008-12-24 15:20>" looks for entries with a deadline on or after that time. Special allowed values are "" (with time) and "" (date only). This is based on a request by Manish. *** New option `org-open-directory-means-index' When set, a link pointing to a directory will actually open the index.org file in that directory. This is a good setting inside a publishing project. When not set, you get a finder/explorer window for that directory, or dired, depending on system and setup. This follows a request by Richard Riley. *** New parameters :prefix and :prefix1 for include files These parameters specify prefixes for each line of included text. :prefix1 is only for the first line, :prefix for all other lines. This follows a proposal by Richard Riley. *** New option :index-style for org-publish This option can be used to switch the style of the index produced by org-publish. Can be `list' (index is just an itemized list of the titles of the files involved) or `tree' (the directory structure of the source files is reflected in the index). The default is `tree'. Thanks to Manuel Hermenegildo for the patch. *** In the Agenda, inclusion of archives can now be toggled - Pressing =v= will toggle inclusion of trees with the ARCHIVE tag, this includes obviously the archive sibling. - Pressing `C-u v' will include trees with ARCHIVE tag, and will also include all archive files that are currently associated with your agenda files. This was triggered by a proposal by Manuel Hermenegildo. * Version 6.05 If I were to name my releases, this one would be called "Adam". Adam, you definitely owe me a beer :-). And I owe you one, too - thanks for all the great ideas. ** Overview - Use cursor position in agenda for remember, scheduling and deadlines - New API for mapping a function over all or selected entries - Remember templates can be filed to beginning/end of a file - Visiting a filed remember buffer immediately - BBDB anniversaries are now links - Column view in the agenda now cleans the ITEM field - The format of section numbers in exported files is configurable - Direct, single key access to allowed values in column view - New hook to hack exported iCalendar files - Log mode in agenda now shows end time for CLOCK line ** Incompatible changes *** `C-c C-x C-k' now calls `org-mark-entry-for-agenda-action' It used to call =org-cut-special=, but that is also at bound to the key =C-c C-x C-w=. ** Details *** Making use of the cursor position in the agenda The date at the cursor in the agenda (and also in the calendar) can now be used to schedule entries, or to set the date in a remember template correctly. It is also designed to make it easier to move an entry to a date picked in the agenda. Thanks to Thomas Baumann for starting the thread that led to this development. **** Calling remember with the cursor date in the agenda If you want to use the date at the agenda cursor in a remember template, start remember from the agenda with the keys =k r=. While the template is being filled in, the default date for all time stamps, and also for all interactive escapes like =%^t= is now the date at the cursor in the agenda. The exact same command can also be used from the calendar if you prefer that. **** Picking a date for scheduling/deadline in the agenda You may now pick the date for scheduling an item or for setting a deadline in the agenda, where you have the best overview over free time slots. This is a two step process. 1. First you pick the entry that should be acted upon. In the agenda, you use the keys =k m=. In an org-mode file, this is on =C-c C-x C-k=. 2. Then you find the agenda date you want to apply. When the cursor is anywhere in the block belonging to that date, press =k s= to schedule, or =k d= to put a deadline. The agenda is not updated immediately, press =r= if you want it to show the affected entry in the right place. *** New API for mapping a function over all or selected entries Org has sophisticated mapping capabilities to find all entries satisfying certain criteria. Internally, this functionality is used to produce agenda views, but there is also an API that can be used to execute arbitrary functions for each or selected entries. The main entry point for this API is: #+begin_example -- Function: org-map-entries func &optional match scope &rest skip Call FUNC at each headline selected by MATCH in SCOPE. FUNC is a function or a lisp form. The function will be called without arguments, with the cursor positioned at the beginning of the headline. The return values of all calls to the function will be collected and returned as a list. MATCH is a tags/property/todo match as it is used in the agenda tags view. Only headlines that are matched by this query will be considered during the iteration. When MATCH is nil or t, all headlines will be visited by the iteration. SCOPE determines the scope of this command, it can specify a file, all agenda files, the current tree and much more. The remaining args are treated as settings for the skipping facilities of the scanner. #+end_example The function given to that mapping routine can really do anything you like. Here is a simple example that will turn all entries in the current file with a tag =TOMORROW= into TODO entries with the keyword =UPCOMING=. Entries in comment trees and in archive trees will be ignored. #+begin_src emacs-lisp (org-map-entries '(org-todo "UPCOMING") "+TOMORROW" 'file 'archive 'comment) #+end_src The following example counts the number of entries with TODO keyword =WAITING=, in all agenda files. #+begin_src emacs-lisp (length (org-map-entries t "/+WAITING" nil 'agenda)) #+end_src *** Changes in Remember templates **** Remember templates can now use the cursor date in the agenda Use =k r= to start remember from the agenda, with enforcing the cursor date as default for any time stamps created by the template. **** Filing remember templates to the beginning or end of a file You may now set the heading part of a remember template definition to `top' or `bottom'. The template will then be filed as a level 1 entry to the beginning or end of the target file, respectively. Thanks to Adam Spiers for this proposal. **** You can jump to the location of a note immediately after filing it Just include the =%&= escape anywhere in the template. An interesting combination now is to use =%!%&=, which will immediately file and visit the note, which is equivalent to generating the note directly in the target location. Thanks to Adam Spiers for this proposal. *** BBDB anniversaries are now links. If you are using =%%(bbdb-anniversaries)= to list anniversaries in the agenda, you can now directly access the entry that triggered a listed anniversary from the agenda. Just click the anniversary - it is a link now. Thanks to Thomas Baumann for a patch to this effect. *** Column view in the agenda now cleans the ITEM field See the new variable =org-agenda-columns-remove-prefix-from-item=. Thanks to Adam Spiers for this proposal. *** The format of section number in exported files is configurable See the new variable `org-export-section-number-format'. Thanks to Adam Spiers for this proposal. *** Direct access to allowed values in column view In column view, if you press a key 1-9 or 0, the corresponding values from the list of allowed values for that field at point will be directly selected. Thanks to Levin Du for this proposal and a patch to this effect. *** New hook to hack exported iCalendar files The new hook `org-before-save-iCalendar-file-hook' runs just before the buffer with a created iCalendar export is saved. This is what I settled for after a long discussion with Adam Spiers about doing some special filtering automatically. *** Log mode in agenda now shows end time for CLOCK lines When turning on log mode in the agenda with =l=, clock lines will now also list the end time, not only the starting time. Thanks to Tian Qiu for bringing this up again. *** Fixes and additions for org-publish - the :include and :index-title properties in org-publish work now as advertized - the #+TITLE of a page will be used in the index - new :completion-function property can define a hook to be run after publishing a file. Thanks to Manuel Hermenegildo for a patch to this effect. * Version 6.04 ** Overview - Statistics cookies [/] and [%] for TODO entries - Editing source code example in the proper mode - iCalendar now defines proper UIDs for entries - New properties for customizing subtree export ** Incompatible changes - The default of the variable `org-tags-match-list-sublevels' is now `t'. The main reason for this is that it is easier to explain in the manual and will lead to fewer surprises. - The former CONTRIB directory is now called "contrib". This was already the case in the git distribution, but the tar and zip archives still did this wrong. ** Details *** Statistics for TODO entries The [/] and [%] cookies have already provided statistics for checkboxes. Now they do the same also for TODO entries. If a headline contains either cookie, changing the TODO state of any direct child will trigger an update of this cookie. Children that are neither TODO nor DONE are ignored. There have already been requests to automatically switch the parent headline to DONE when all children are done. I am not making this a default feature, because one needs to make many decisions about which keyword to use, etc. Instead of a complex customization variable, I am providing a hook that can be used. This hook will be called each time a TODO statistics cookie is updated, with the cursor in the corresponding line. Each function in the hook will receive two arguments, the number of done entries, and the number of not-done entries, and you can use the hook to change the state of the headline. Here is an example implementation: #+begin_src emacs-lisp (defun org-summary-todo (n-done n-not-done) "Switch entry to DONE when all sub-entries are done, to TODO otherwise." (let (org-log-done org-log-states) ; turn off logging (org-todo (if (= n-not-done 0) "DONE" "TODO")))) (add-hook 'org-after-todo-statistics-hook 'org-summary-todo) #+end_src *** Editing source code example in the proper mode If you are writing a document with source code examples, you can include these examples into a =#+BEGIN_SRC lang ... #+END_SRC= or (with the org-mtags module loaded) a == tag of [[http://mwolson.org/static/doc/emacs-wiki.html#Lisp-Tricks][Emacs Wiki]] and [[http://mwolson.org/static/doc/muse/Embedded-Lisp.html#Embedded-Lisp][Muse]]. - org-mtags.el :: This new modules allows you to use Muse-like tags for some structure definitions in Org. For example, instead of :#+BEGIN_EXAMPLE :... :#+END_EXAMPLE you can write : :... : In fact, I myself find these easier to type and to look at. Also, it will allow you to more easily move text and files back and forth between Org and Muse. For a list of supported structure elements, see the commentary in the file [[http://repo.or.cz/w/org-mode.git?a=blob_plain;f=contrib/lisp/org-mtags.el;hb=HEAD][commentary in the file org-mtags.el]]. If you load this module and use the "='. When the search term uses the operator with plain number like =+Effort>=2.7=, then the property value is converted to a number and a numerical comparison takes place. When the search term uses a string on the right hand side of the operator, a string comparison is done: =+PRIORITY<"C".= Finally, if the right hand side is enclosed in curly braces, a regexp match is done: =aaa={regexp}=. In this case you should use only the `=' or `<>' operators, meaning "does match" or "does not match", respectively. This was a triggered with a request by Dan Davison. *** Search commands can now include archive files. If the value of the customization variable =org-agenda-text-search-extra-files= contains the symbol =agenda-archives= as the first element in the list, all archive files of all agenda files will be added to the list of files to search. This is relevant for the search view =C-c a s=, as well as for the agenda files multi-occur command =C-c a /=. *** Clock tables can include the archive files There are new values for the =:scope= parameter of a clock table. This can now be =file-with-archives= and =agenda-with-archives=, in order to collect information not only from the current file or all agenda files, but also from all archive files that are currently used by these files. *** Orgtbl radio tables generalized. The options available for radio tables using orgtbl-mode have been expanded. You may use several reception points and formats for the same table, you may have special formatting in the last line of the table, and many table parameters may be functions, so that more general transformations are possible. Jason Riedy provided a patch for this, and he will hopefully come up with some examples. Thanks! * Version 6.01 This is a new major release, mostly because of structural changes in Org. However, since this took a while, there is also a long list of small improvements and some new significant features. ** Overview - The Org distribution has a new structure - New system for selecting modules to load - New archiving mechanism: The Archive Sibling - Support for Sebastian Rose's JavaScript org-info.js. - Internal links work now better in HTML export - Export commands can be done in the background - Flexible setting of the time block shown by the clock table - Clock table can be included in the agenda - Support for ISO week dates (ISO 6801) - Tag inheritance can be limited to a subset of all tags - Entries can be sorted by TODO keyword - And some more small fixes and improvements ** Incompatible changes *** The Org distribution has a new structure In the distribution files as well as in the GIT repository, the lisp files are now located in a subdirectory "lisp", and the documentation files are located in a subdirectory "doc". If you are running Org directly from the unpacked distribution archive (zip or tar file, or GIT repository), you need to modify your settings for load-path accordingly. ** Details *** The Org distribution has a new structure In the distribution files as well as in the GIT repository, the lisp files are now located in a subdirectory "lisp", and the documentation files are located in a subdirectory "doc". If you are running Org directly from the unpacked distribution archive (zip or tar file, or GIT repository), you need to modify your settings for load-path accordingly. *** Loading modules Org-mode has now a system for loading modules by simply configuring an option that lists all the modules you want to use. Customize the variable `org-modules'. That variable lists both modules that are part of the Org-mode core (and in this way part of Emacs), and modules that are contributed packages. Contributed modules will only be available when you have installed them properly (most likely by downloading the distribution and adding /path/to/orgdir/contrib/lisp to your load path). *** New archiving mechanism: The Archive Sibling There is a new method to archive entries in the current file: By moving it to a sibling called the /Archive Sibling/. That sibling has the heading "Archive" and also carries the ARCHIVE tag. This can be a great way to do archiving inside a project, to get parts of the project out of the way and to wait with true archiving (moving to another file) until the entire project is done. Archiving to a sibling keeps much of the context, for example inherited tags and approximate tree position in tact. The key binding for the is "C-c C-x A", and from the agenda buffer you can simply use "A". Thanks to Ilya Shlyakhter for this rather clever idea. *** Support for Sebastian Rose's JavaScript org-info.js. This fascinating program allows a completely new viewing experience for web pages created from Org files. The same document can be viewed in different ways, and switching between the views as well as navigation uses single-key commands. One of the view types is an /Info-like/ interface where you can jump through the sections of the document with the `n' and `p' keys (and others). There is also a /folding/ interface where you can fold the document much like you can fold it in org-mode in Emacs, and cycle through the visibility both locally and globally. To set this up, all you need to do is to make sure that org-infojs.el gets loaded (customize the variable org-modules to check). Then add this line to the buffer: : #+INFOJS_OPT: view:info In that line, you can configure the initial view and other settings. Available views are =info= for the info-like interface, and =overview=, =content=, and =showall= for the folding interface. See the manual for more details. The JavaScript program is served from http://orgmode.org/org-info.js, and your exported HTML files will automatically get it from there. However, you may want to be independent of the existence and stability of orgmode.org and install a copy locally. Then you need to change the path from which the script is loaded, either by using something like : #+INFOJS_OPT: view:info path:../scripts/org-info.js or by configuring the variable =org-infojs-options=. For details see the documentation provided by Sebastian Rose together with org-info.js. *** Export improvements - The export of internal links to HTML now works a lot better. Most internal links that work while editing an Org file inside Emacs will now also work the the corresponding HTML file. - You can run many of the export commands in the background by using `C-c C-u C-c C-e' in order to start the process. RIght now this will only work if "emacs" is the right command to get to your Emacs executable - I hope to make this less system dependent in the future. Both these are based on requests by Ilya Shlyakhter. *** Improvements to clocktable - The clocktable is now much more flexible and user friendly when trying to specify the time block that should be considered when constructing the table. The =:block= parameter to the table can now look like any of these: | :block | meaning | |--------------+-----------------------| | 2008 | The entire year 2008 | | 2008-04 | The month April 2008 | | 2008-04-02 | The day April 2, 2008 | | 2008-W14 | ISO-Week 14 in 2008 | | today | Today | | today-5 | The day five days ago | | thisweek | The current week | | thisweek-2 | Two weeks ago | | thismonth | The current month | | thismonth-12 | Same month, last year | | lastmonth | Same as thismonth-1 | What is more, you can now use the =S-left= and =S-right= keys to shift the time block around. The cursor needs to be in the =#+BEGIN: clocktable= line for this to work. If the current block is =today=, =S-left= with switch to yesterday. If the current block is =2008-W14=, =S-right= will switch to the following week. - When the clocktable is collecting from several files, the total time for each file will now also be listed. This was a request from Bernt Hansen. - If you turn on the new clock report mode with the "R" key in the agenda, a clock table will be attached to the agenda, showing the clock report for the file scope and time interval of the agenda view. To turn this on permanently, configure the variable =org-agenda-start-with-clock report-mode=. To modify the properties of the table, in particular the =:maxlevel= depth, configure =org-agenda-clockreport-parameter-plist=. *** Support for ISO week dates (ISO 6801) The agenda now shows the ISO week for the displayed dates, in the form =W08= for week 8. The keys =d=, =w=, =m=, and =y= in the agenda view now accept prefix arguments. Remember that in the agenda, you can directly type a prefix argument by typing a number, no need to press =C-u= first. The prefix argument may be used to jump directly to a specific day of the year, ISO week, month, or year, respectively. For example, =32 d= jumps to February 1st, =9 w= to ISO week number 9. When setting day, week, or month view, a year may be encoded in the prefix argument as well. For example, =200712 w= will jump to week 12 in the year 2007. If such a year specification has only one or two digits, it will be mapped to the interval 1938-2037. When entering a date at the date prompt, you may now also specify an ISO week. For example : w4 Monday of week 4 : fri w4 Friday of week 4 : w4-5 Same as above : 2012 w4 fri Friday of week 4 in 2012. : 2012-W04-5 Same as above So far I have not implemented the effect of `org-read-date-prefer-future' on this functionality, because it seemed too magic for me. I'd appreciate comments on this issue: Should `org-read-date-prefer-future' also push dates into the next year if the week you are entering has already passed in the current year? For consistency I guess this should be the case, but I cannot quite wrap my head around it. I hope but am not entirely convinced that this will behave sanely also during the first/last week of a year. Please test extensively and report back. This was a request by Thomas Baumann. *** Improvements in Search View - Calling search view with a C-u prefix will make it match only in TODO entries. - The single quote is no longer considered a word character during search, so that searching for the word "Nasim" will also match in "Nasim's". *** Misc - Inheritance of tags can now be limited to a subset of all tags, using the variable =org-use-tag-inheritance=. This variable may now be a regular expression or a list to select the inherited tags. Thanks to Michael Ekstrand for this excellent proposal. The regexp option is also implemented for =org-use-property-inheritance=, so that you can now select properties for inheritance my name. - The INHERIT flag to the function =org-entry-get= can be set to the symbol =selective=. If this is the case, then the value of the property will be retrieved using inheritance if and only if the setting in =org-use-property-inheritance= selects the property for inheritance. - There are now special faces for the date lines in the agenda/timeline buffers, and another special face for days that fall on a weekend: =org-agenda-date= and =org-agenda-date-weekend=. Both these faces are initially similar to the =org-agenda-structure= face, but you can customize them freely. - When an entry already has a scheduling or deadline time stamp, calling `C-c C-s' or `C-c C-d', respectively, will now use that old date as the default, and you can can use the "++4d" syntax to invoke shifts relative to that default date. Simply pressing RET at the prompt will keep the default date, not switch to today. This was an omission in the earlier implementation, spotted by Wanrong Lin. Thanks! - File names in remember templates can be relative, if they are, they will be interpreted relative to =org-directory=. - The handling of the clipboard when inserting into remember templates is now much better, and gives more control on what should be inserted with new %-escapes: - =%c= - Now always insert the head of the kill ring, never the X clipboard. - =%x= - Insert the content of the X clipboard. This is the first non-empty value from the PRIMARY, SECONDARY and CLIPBOARD X clipboards. - =%^C= - This allows the user to choose between any of the clipboard values available, the kill ring head, and the initial region if set. - =%^L= - Like =%^C=, but this inserts an org link using the selected value. Thanks to James TD Smith for this patch. - Table export to an internal file can now use a format specification, similar to the formats that are used by orgtbl radio tables. The default format is in the variable =org-table-export-default-format=. You can use properties =TABLE_EXPORT_FILE= and =TABLE_EXPORT_FORMAT= to specify the file name to which the export should go, and a local format. For example: : :PROPERTIES: : :TABLE_EXPORT_FILE: ~/xx.txt : :TABLE_EXPORT_FORMAT: orgtbl-to-generic :splice t :sep "\t" : :END: Thanks to James TD Smith for this patch. - Entries can be sorted by TODO keyword, and the order is given by the definition sequence of the TODO keywords in the variable =org-todo-keywords=, or in the =#+TODO= line. Use the "o" key when sorting with =C-c ^=. Thanks to James TD Smith for this patch. * Older changes For older Changes, see [[file:Changes_old.org]]