aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRasmus2017-09-18 12:01:12 +0200
committerRasmus2017-09-18 12:01:12 +0200
commitab351d442d7bb4d17cbb43638aaed1775d8c0344 (patch)
tree19da4c93526d3de543efe21a53ab2d098fb9f50b /etc
parent5490ccc5ebf39759dfd084bbd31f464701a3e775 (diff)
downloademacs-ab351d442d7bb4d17cbb43638aaed1775d8c0344.tar.gz
emacs-ab351d442d7bb4d17cbb43638aaed1775d8c0344.zip
Update Org to v9.1.1
Please see etc/ORG-NEWS for major changes.
Diffstat (limited to 'etc')
-rw-r--r--etc/ORG-NEWS493
-rw-r--r--etc/refcards/orgcard.tex2
2 files changed, 494 insertions, 1 deletions
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index bb1a4008a7c..d1e476267bf 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -8,6 +8,499 @@ See the end of the file for license conditions.
8 8
9Please send Org bug reports to mailto:emacs-orgmode@gnu.org. 9Please send Org bug reports to mailto:emacs-orgmode@gnu.org.
10 10
11* Version 9.1
12
13** Incompatible changes
14
15*** Variables relative to clocksum duration are obsolete
16
17~org-time-clocksum-format~, ~org-time-clocksum-use-fractional~ and
18~org-time-clocksum-fractional-format~ are obsolete. If you changed
19them, consider modifying ~org-duration-format~ instead.
20
21Variable ~org-time-clocksum-use-effort-durations~ is also obsolete.
22Consider setting ~org-duration-units~ instead.
23
24*** ~org-at-timestamp-p~ optional argument accepts different values
25
26See docstrings for the allowed values. For backward compatibility,
27~(org-at-timestamp-p t)~ is still supported, but should be updated
28accordingly.
29
30*** ~org-capture-templates~ no longer accepts S-expressions as file names
31
32Since functions are allowed there, a straightforward way to migrate
33is to turn, e.g.,
34
35: (file (sexp))
36
37into
38
39: (file (lambda () (sexp)))
40
41*** Deleted contributed packages
42
43=org-ebib.el, =org-bullets.el= and =org-mime.el= have been deleted
44from the contrib/ directory.
45
46You can now find them here :
47
48- https://github.com/joostkremers/ebib
49- https://github.com/sabof/org-bullets
50- https://github.com/org-mime/org-mime
51
52*** Change ~org-texinfo-classes~ value
53The value cannot support functions to create sectionning commands
54anymore. Also, the sectionning commands should include commands for
55appendices. See the docstring for more information.
56*** Removal of ~:sitemap-sans-extension~
57
58The publishing property is no longer recognized, as a consequence of
59changes to site-map generation.
60
61You can get the same functionality by setting ~:sitemap-format-entry~
62to the following
63
64#+BEGIN_SRC elisp
65(lambda (entry style project)
66 (cond ((not (directory-name-p entry))
67 (format "[[file:%s][%s]]"
68 (file-name-sans-extension entry)
69 (org-publish-find-title entry project)))
70 ((eq style 'tree) (file-name-nondirectory (directory-file-name entry)))
71 (t entry)))
72#+END_SRC
73
74*** Change signature for ~:sitemap-function~
75
76~:sitemap-function~ now expects to be called with two arguments. See
77~org-publish-project-alist~ for details.
78
79*** Change signature for some properties in ~org-list-to-generic~
80
81~:istart~, ~:icount~, ~:iend~ and ~:isep~ now expect the type of the
82list as their first argument.
83
84*** Change signature for ~org-get-repeater~
85The optional argument is now a string to extract the repeater from.
86See docstring for details.
87
88*** Change signature for ~org-time-string-to-time~
89See docstring for changes.
90
91*** Change order of items in ~org-agenda-time-grid~
92~org-agenda-time-grid~ gained an extra item to allow users to customize
93the string displayed after times in the agenda. See docstring for
94details.
95
96*** ~tags-todo~ custom searches now include DONE keywords
97
98Use "/!" markup when filtering TODO keywords to get only not-done TODO
99keywords.
100
101*** ~org-split-string~ returns ~("")~ when called on an empty string
102It used to return nil.
103*** Removal of =ob-scala.el=
104
105See [[https://github.com/ensime/emacs-scala-mode/issues/114][this github issue]].
106
107You can use =ob-scala.el= as packaged in scala-mode, available from the
108MELPA repository.
109
110** New features
111*** iCalendar export uses inheritance for TIMEZONE and LOCATION properties
112Both these properties can be inherited during iCalendar export,
113depending on the value of ~org-use-property-inheritance~.
114*** iCalendar export respects a TIMEZONE property
115Set the TIMEZONE property on an entry to specify a time zone for that
116entry only during iCalendar export. The property value should be
117specified as in "Europe/London".
118*** ~org-attach~ can move directory contents
119When setting a new directory for an entry, org-attach offers to move
120files over from the old directory. Using a prefix arg will reset the
121directory to old, ID based one.
122*** New Org duration library
123This new library implements tools to read and print time durations in
124various formats (e.g., "H:MM", or "1d 2h 3min"...).
125
126See ~org-duration-to-minutes~ and ~org-duration-from-minutes~
127docstrings.
128
129*** Agenda
130**** New variable : ~org-agenda-show-future-repeats~
131**** New variable : ~org-agenda-prefer-last-repeat~
132**** New variable : ~org-deadline-past-days~
133See docstring for details.
134**** Binding C-c C-x < for ~org-agenda-set-restriction-lock-from-agenda~
135**** New auto-align default setting for =org-agenda-tags-column=
136
137=org-agenda-tags-column= can now be set to =auto=, which will
138automatically align tags to the right edge of the window. This is now
139the default setting.
140
141*** New value for ~org-publish-sitemap-sort-folders~
142
143The new ~ignore~ value effectively allows toggling inclusion of
144directories in published site-maps.
145
146*** Babel
147
148**** Scheme: support for tables
149**** Scheme: new variable: ~org-babel-scheme-null-to~
150
151This new custom option allows to use a empty list or null symbol to
152format the table output, initially assigned to ~hlines~.
153
154**** Scheme: new header ~:prologue~
155
156A new block code header has been created for Org Babel that enables
157developers to prepend code to the scheme block being processed.
158
159Multiple ~:prologue~ headers can be added each of them using a string
160with the content to be added.
161
162The scheme blocks are prepared by surronding the code in the block
163with a let form. The content of the ~:prologue~ headers are prepended
164before this let form.
165
166**** Support for hledger accounting reports added
167**** Clojure: new setting ~org-babel-clojure-sync-nrepl-timeout~
168
169Creation of a new setting to specify the Cider timeout. By setting
170the =org-babel-clojure-sync-nrepl-timeout= setting option. The value
171is in seconds and if set to =nil= then no timeout will occur.
172**** Clojure: new header ~:show-process~
173
174A new block code header has been created for Org Babel that enables
175developers to output the process of an ongoing process into a new
176window/buffer.
177
178You can tell Org Babel to output the process of a running code block.
179
180To show that output you only have to specify the =:show-process=
181option in the code block's header like this:
182
183#+begin_example
184,#+BEGIN_SRC clojure :results output :show-process t
185 (dotimes [n 10]
186 (println n ".")
187 (Thread/sleep 500))
188,#+END_SRC
189#+end_example
190
191If =:show-process= is specified that way, then when you will run the
192code using =C-c C-c= a new window will open in Emacs. Everything that
193is output by the REPL will immediately be added to that new window.
194
195When the processing of the code is finished, then the window and its
196buffer will be closed and the results will be reported in the
197=#+RESULTS= section.
198
199Note that the =:results= parameter's behavior is *not* changed. If
200=silent= is specified, then no result will be displayed. If =output=
201is specified then all the output from the window will appears in the
202results section. If =value= is specified, then only the last returned
203value of the code will be displayed in the results section.
204
205**** Maxima: new headers ~:prologue~ and ~:epilogue~
206Babel options ~:prologue~ and ~:epilogue~ have been implemented for
207Maxima src blocks which prepend and append, respectively, the given
208code strings. This can be useful for specifying formatting settings
209which would add clutter to exported code. For instance, you can use
210this ~:prologue "fpprintprec: 2; linel: 50;"~ for presenting Maxima
211results in a beamer presentation.
212**** PlantUML: add support for header arguments
213
214[[http://plantuml.com/][Plantuml]] source blocks now support the [[http://orgmode.org/manual/prologue.html#prologue][~:prologue~]], [[http://orgmode.org/manual/epilogue.html#epilogue][~:epilogue~]] and
215[[http://orgmode.org/manual/var.html#var][~:var~]] header arguments.
216
217**** SQL: new engine added ~sqsh~
218
219A new engine was added to support ~sqsh~ command line utility for use
220against Microsoft SQL Server or Sybase SQL server.
221
222More information on ~sqsh~ can be found here: [[https://sourceforge.net/projects/sqsh/][sourceforge/sqsh]]
223
224To use ~sqsh~ in an *sql* =SRC_BLK= set the =:engine= like this:
225
226#+begin_example
227,#+BEGIN_SRC sql :engine sqsh :dbhost my_host :dbuser master :dbpassword pass :database support
228Select * From Users
229Where clue > 0
230,#+END_SRC
231#+end_example
232
233**** SQL: new engine added =vertica=
234
235A new engine was added to support vsql command line utility for use
236against HP Vertica.
237
238More information on =vsql= can be found here: [[https://my.vertica.com/docs/7.2.x/HTML/index.htm#Authoring/ConnectingToHPVertica/vsql/UsingVsql.htm][my.vertica.com]]
239
240To use =vertica= in an sql =SRC_BLK= set the =:engine= like this:
241
242#+BEGIN_EXAMPLE
243 ,#+BEGIN_SRC sql :engine vertica :dbhost my_host :dbuser dbadmin :dbpassword pw :database vmart
244 SELECT * FROM nodes;
245 ,#+END_SRC
246#+END_EXAMPLE
247**** C++: New header ~:namespaces~
248
249The new ~:namespaces~ export option can be used to specify namespaces
250to be used within a C++ org source block. Its usage is similar to
251~:includes~, in that it can accept multiple, space-separated
252namespaces to use. This header is equivalent to adding ~using
253namespace <name>;~ in the source block. Here is a "Hello World" in C++
254using ~:namespaces~:
255
256#+begin_example
257 ,#+BEGIN_SRC C++ :results output :namespaces std :includes <iostream>
258 cout << "Hello World" << endl;
259 ,#+END_SRC
260#+end_example
261
262**** Support for Vala language
263
264[[https://wiki.gnome.org/Projects/Vala][Vala]] language blocks support two special header arguments:
265
266- ~:flags~ passes arguments to the compiler
267- ~:cmdline~ passes commandline arguments to the generated executable
268
269Support for [[http://orgmode.org/manual/var.html#var][~:var~]] does not exist yet, also there is no [[http://orgmode.org/manual/session.html#session][~:session~]]
270support because Vala is a compiled language.
271
272The Vala compiler binary can be changed via the ~defcustom~
273~org-babel-vala-compiler~.
274
275*** New ~function~ scope argument for the Clock Table
276Added a nullary function that returns a list of files as a possible
277argument for the scope of the clock table.
278*** Export
279**** Implement vernacular table of contents in Markdown exporter
280Global table of contents are generated using vanilla Markdown syntax
281instead of HTML. Also #+TOC keyword, including local table of
282contents, are now supported.
283**** Add Slovanian translations
284**** Implement ~org-export-insert-image-links~
285This new function is meant to be used in back-ends supporting images
286as descriptions of links, a.k.a. image links. See its docstring for
287details.
288**** New macro : ~{{{n}}}~
289This macro creates and increment multiple counters in a document. See
290manual for details.
291**** Add global macros through ~org-export-global-macros~
292With this variable, one can define macros available for all documents.
293**** New keyword ~#+EXPORT_FILE_NAME~
294Similarly to ~:EXPORT_FILE_NAME:~ property, this keyword allows the
295user to specify the name of the output file upon exporting the
296document. This also has an effect on publishing.
297**** Horizontal rules are no longer ignored in LaTeX table math mode
298**** Use ~compilation-mode~ for compilation output
299**** Plain lists accept a new ~:separator~ attribute in Texinfo
300
301The new ~:separator~ attribute splits a tag from a description list
302item into multiple parts. This allows to have two-column tables with
303multiple entries in the first column. See manual for more details.
304
305**** ~latex-environment~ elements support ~caption~ keywords for LaTeX export
306*** ~org-edit-special~ can edit LaTeX environments
307
308Using ~C-c '~ on a LaTeX environment opens a sub-editing buffer. By
309default, major mode in that buffer is ~latex-mode~, but it can be
310changed by configuring ~org-src-lang-modes~.
311
312*** ~org-list-to-generic~ includes a new property: ~:ifmt~
313
314~:ifmt~ is a function to be called on the body of each item. See
315~org-list-to-generic~ documentation for details.
316
317*** New variable : ~org-bibtex-headline-format-function~
318This allow to use a different title than entry title.
319
320*** ~org-attach~ supports attaching files from URLs
321
322Using ~C-c C-a u~ prompts for a URL pointing to a file to be attached
323to the document.
324
325*** New option for ~org-refile-use-outline-path~
326~org-refile-use-outline-path~ now supports the setting ~buffer-name~,
327which causes refile targets to be prefixed with the buffer’s
328name. This is particularly useful when used in conjunction with
329~uniquify.el~.
330
331*** ~org-file-contents~ now allows the FILE argument to be a URL.
332This allows ~#+SETUPFILE:~ to accept a URL instead of a local file
333path. The URL contents are auto-downloaded and saved to a temporary
334cache ~org--file-cache~. A new optional argument ~NOCACHE~ is added
335to ~org-file-contents~.
336
337*** ~org-mode-restart~ now resets the newly added ~org--file-cache~.
338Using ~C-c C-c~ on any keyword (like ~#+SETUPFILE~) will reset the
339that file cache.
340
341*** New option : ~org-table-duration-hour-zero-padding~
342This variable allow computed durations in tables to be zero-padded.
343
344*** New mode switch for table formulas : =U=
345This mode omits seconds in durations.
346
347** Removed functions
348
349*** Org Timeline
350
351This feature has been removed. Use a custom agenda view, possibly
352narrowed to current buffer to achieve a similar functionality.
353
354*** ~org-agenda-skip-entry-when-regexp-matches~ is obsolete
355
356Use ~org-agenda-skip-if~ instead.
357
358*** ~org-agenda-skip-subtree-when-regexp-matches~ is obsolete
359
360Use ~org-agenda-skip-if~ instead.
361
362*** ~org-agenda-skip-entry-when-regexp-matches-in-subtree~ is obsolete
363
364Use ~org-agenda-skip-if~ instead.
365
366*** ~org-minutes-to-clocksum-string~ is obsolete
367
368Use ~org-duration-from-minutes~ instead.
369
370*** ~org-hh:mm-string-to-minutes~ is obsolete
371
372Use ~org-duration-to-minutes~ instead.
373
374*** ~org-duration-string-to-minutes~ is obsolete
375
376Use ~org-duration-to-minutes~ instead.
377
378*** ~org-gnus-nnimap-cached-article-number~ is removed.
379
380This function relied on ~nnimap-group-overview-filename~, which was
381removed from Gnus circa September 2010.
382
383** Removed options
384
385*** ~org-agenda-repeating-timestamp-show-all~ is removed.
386
387For an equivalent to a ~nil~ value, set
388~org-agenda-show-future-repeats~ to nil and
389~org-agenda-prefer-last-repeat~ to ~t~.
390
391*** ~org-gnus-nnimap-query-article-no-from-file~ is removed.
392
393This variable has no effect, as it was relying on a function that was
394removed from Gnus circa September 2010.
395
396*** ~org-usenet-links-prefer-google~ is obsolete.
397
398Use ~org-gnus-prefer-web-links~ instead.
399
400*** ~org-publish-sitemap-file-entry-format~ is deprecated
401
402One can provide new ~:sitemap-format-entry~ property for a function
403equivalent to the removed format string.
404
405*** ~org-enable-table-editor~ is removed.
406
407Setting it to a ~nil~ value broke some other features (e.g., speed
408keys).
409
410*** ~org-export-use-babel~ cannot be set to ~inline-only~
411
412The variable is now a boolean.
413
414*** ~org-texinfo-def-table-markup~ is obsolete
415
416Use ~org-texinfo-table-default-markup~ instead.
417
418** New functions
419
420*** ~org-publish-find-property~
421
422This function can be used as a tool to format entries in a site-map,
423in addition to ~org-publish-find-title~ and ~org-publish-find-date~.
424
425*** ~org-list-to-org~
426
427It is the reciprocal of ~org-list-to-lisp~, which see.
428
429*** ~org-agenda-set-restriction-lock-from-agenda~
430
431Call ~org-agenda-set-restriction-lock~ from the agenda.
432
433** Miscellaneous
434
435*** The Library of Babel now on Worg
436
437The library-of-babel.org used to be accessible from the =doc/=
438directory, distributed with Org’s core. It is now accessible
439from the Worg community-driven documentation [[http://orgmode.org/worg/library-of-babel.html][here]].
440
441If you want to contribute to it, please see [[http://orgmode.org/worg/org-contribute.html][how to contribute]].
442
443*** Allow multiple columns view
444
445Columns view is not limited to a single buffer anymore.
446*** Org Attach obeys ~dired-dwim-target~
447
448When a Dired buffer is opened next to the Org document being edited,
449the prompt for file to attach can start in the Dired buffer's
450directory if `dired-dwim-target' in non-nil.
451
452*** ~org-fill-paragraph~ can now fill a whole region
453*** More specific anniversary descriptions
454
455Anniversary descriptions (used in the agenda view, for instance)
456include the point in time, when the anniversary appears. This is,
457in its most general form, just the date of the anniversary. Or
458more specific terms, like "today", "tomorrow" or "in n days" are
459used to describe the time span.
460
461This feature allows to automatically change the description of an
462anniversary, depending on if it occurs in the next few days or
463far away in the future.
464
465*** Computed dates in tables appear as inactive time stamps
466
467*** Save point before opening a file with an unknown search option
468
469When following a file link with a search option (e.g., =::#custom-id=)
470that doesn't exist in the target file, save positon before raising an
471error. As a consequence, it is possible to jump back to the original
472document with ~org-mark-ring-goto~ (default binding =C-c &=).
473
474*** ~org-get-heading~ accepts two more optional arguments
475
476See docstring for details.
477
478*** New option ~org-babel-uppercase-example-markers~
479
480This variable is a ~defcustom~ and replaces the variable
481~org-babel-capitalize-example-region-markers~, which is a ~defvar~ and
482is now obselete.
483*** =INCLUDE= keywords in commented trees are now ignored.
484*** Default value for ~org-texinfo-text-markup-alist~ changed.
485
486Now ~=...=~ markup uses ~@samp{}~ instead of ~@verb{}~. You can use
487~@verb{}~ again by customizing the variable.
488*** Texinfo exports example blocks as ~@example~
489*** Texinfo exports inline src blocks as ~@code{}~
490*** Texinfo default table markup is ~@asis~
491It used to be ~@samp~ but ~@asis~ is neutral and, therefore, more
492suitable as a default value.
493*** Texinfo default process includes ~--no-split~ option
494*** New entities : ~\dollar~ and ~\USD~
495*** ~org-parse-time-string~ accepts a new optional argument
496=ZONE= specifies the current time zone.
497*** ~org-time-string-to-seconds~ now accepts an optional =ZONE= argument
498*** Support for date style URLs in =org-protocol://open-source=
499 URLs like =https://cool-blog.com/2017/05/20/cool-post/= are
500 covered by rewrite rules.
501
502*** Add (C) =COMMENT= support to ~org-structure-template-alist~
503
11* Version 9.0 504* Version 9.0
12 505
13** Incompatible changes 506** Incompatible changes
diff --git a/etc/refcards/orgcard.tex b/etc/refcards/orgcard.tex
index 71d1ef5f907..0880841a945 100644
--- a/etc/refcards/orgcard.tex
+++ b/etc/refcards/orgcard.tex
@@ -1,5 +1,5 @@
1% Reference Card for Org Mode 1% Reference Card for Org Mode
2\def\orgversionnumber{9.0.10} 2\def\orgversionnumber{9.1.1}
3\def\versionyear{2017} % latest update 3\def\versionyear{2017} % latest update
4\input emacsver.tex 4\input emacsver.tex
5 5