etc/ORG-NEWS: more formatting minor enhancements

This commit is contained in:
Bastien 2016-11-01 21:38:19 +01:00
parent 877f35800e
commit e8fe974ab8
1 changed files with 117 additions and 104 deletions

View File

@ -20,7 +20,8 @@ above is suggested.
*** XEmacs support has been dropped *** XEmacs support has been dropped
Incomplete compatibility layer with XEmacs has been removed. If you Incomplete compatibility layer with XEmacs has been removed. If you
want to preserve this compatibility, you can contact our mailing list. want to take over maintainance of this compatibility, please contact
our mailing list.
*** New syntax for export blocks *** New syntax for export blocks
@ -59,6 +60,7 @@ using previous syntax:
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(defun org-repair-export-blocks () (defun org-repair-export-blocks ()
"Repair export blocks and INCLUDE keywords in current buffer." "Repair export blocks and INCLUDE keywords in current buffer."
(interactive)
(when (eq major-mode 'org-mode) (when (eq major-mode 'org-mode)
(let ((case-fold-search t) (let ((case-fold-search t)
(back-end-re (regexp-opt (back-end-re (regexp-opt
@ -88,9 +90,9 @@ using previous syntax:
(replace-match "EXPORT \\1" nil nil nil 1))))))))) (replace-match "EXPORT \\1" nil nil nil 1)))))))))
#+END_SRC #+END_SRC
Moreover, ~:export-block~ keyword used in ~org-export-define-backend~ Moreover, ~:export-block~ keyword used in ~org-export-define-backend~ and
and ~org-export-define-derived-backend~ is no longer used and needs to ~org-export-define-derived-backend~ is no longer used and needs to be
be removed. removed.
*** Footnotes *** Footnotes
@ -100,14 +102,14 @@ Using =[1]= as a footnote was already discouraged in the manual, since
it introduced too many false-positives in many Org documents. These it introduced too many false-positives in many Org documents. These
constructs are now unsupported. constructs are now unsupported.
If you used =[N]= in some of your documents, consider turning them If you used =[N]= in some of your documents, consider turning them into
into =[fn:N]=. =[fn:N]=.
**** /Org Footnote/ library doesn't handle non-Org buffers **** /Org Footnote/ library doesn't handle non-Org buffers
Commands for footnotes in an Org document no longer try to do Commands for footnotes in an Org document no longer try to do
something in non-Org ones. If you need to have footnotes there, something in non-Org ones. If you need to have footnotes there,
consider using =footnote.el= library, shipped with Emacs. consider using the =footnote.el= library, shipped with Emacs.
In particular, ~org-footnote-tag-for-non-org-mode-files~ no longer In particular, ~org-footnote-tag-for-non-org-mode-files~ no longer
exists. exists.
@ -124,7 +126,7 @@ becomes
: ("pdf" . (lambda (file link) (foo))) : ("pdf" . (lambda (file link) (foo)))
*** The ~{{{modification-time}}}~ macro can obtain time via =vc= *** The ~{{{modification-time}}}~ macro can get time via =vc=
The modification time will be determined via =vc.el= if the second The modification time will be determined via =vc.el= if the second
argument is non-nil. See the manual for details. argument is non-nil. See the manual for details.
@ -165,8 +167,7 @@ block definition. Current ones are defined where the block is called.
** New features ** New features
*** ~org-eww~ is moved into core *** ~org-eww~ has been moved into core
*** New org-protocol key=value syntax *** New org-protocol key=value syntax
Org-protocol can now handle query-style parameters such as: Org-protocol can now handle query-style parameters such as:
@ -183,10 +184,10 @@ continue to be supported.
If you have defined your own handler functions for If you have defined your own handler functions for
~org-protocol-protocol-alist~, change them to accept either a property ~org-protocol-protocol-alist~, change them to accept either a property
list (for new-style links) or a string (for old-style links). Use list (for new-style links) or a string (for old-style links). Use
~org-protocol-parse-parameters~ to convert old-style links into ~org-protocol-parse-parameters~ to convert old-style links into property
property lists. lists.
*** Org linter *** New Org linter library
~org-lint~ can check syntax and report common issues in Org documents. ~org-lint~ can check syntax and report common issues in Org documents.
@ -248,14 +249,14 @@ added to the last line number from the previous block as the starting
point for the SRC/EXAMPLE block. point for the SRC/EXAMPLE block.
#+BEGIN_SRC org #+BEGIN_SRC org
,#+BEGIN_SRC emacs-lisp -n 20 ,#+BEGIN_SRC emacs-lisp -n 20
;; this will export with line number 20 ;; this will export with line number 20
(message "This is line 21") (message "This is line 21")
,#+END_SRC ,#+END_SRC
,#+BEGIN_SRC emacs-lisp +n 10 ,#+BEGIN_SRC emacs-lisp +n 10
;; This will be listed as line 31 ;; This will be listed as line 31
(message "This is line 32") (message "This is line 32")
,#+END_SRC ,#+END_SRC
#+END_SRC #+END_SRC
**** Allow toggling center for images in LaTeX export **** Allow toggling center for images in LaTeX export
@ -268,8 +269,8 @@ export.
SVG images exported in HTML are now by default assigned a CSS class SVG images exported in HTML are now by default assigned a CSS class
~org-svg~ if no CSS class is specified with the ~:class~ attribute. By ~org-svg~ if no CSS class is specified with the ~:class~ attribute. By
default, the CSS styling of class ~org-svg~ specifies an image width default, the CSS styling of class ~org-svg~ specifies an image width of
of 90\thinsp{}% of the container the image. 90\thinsp{}% of the container the image.
**** Markdown footnote export customization **** Markdown footnote export customization
@ -316,12 +317,12 @@ database using ~sqlplus~. Use with properties like this (all
mandatory): mandatory):
#+BEGIN_EXAMPLE #+BEGIN_EXAMPLE
:engine oracle :engine oracle
:dbhost <host.com> :dbhost <host.com>
:dbport <1521> :dbport <1521>
:dbuser <username> :dbuser <username>
:database <database> :database <database>
:dbpassword <secret> :dbpassword <secret>
#+END_EXAMPLE #+END_EXAMPLE
**** Improved support to Microsoft SQL Server via ~sqlcmd~ **** Improved support to Microsoft SQL Server via ~sqlcmd~
@ -332,16 +333,15 @@ engine which uses the ~sqlcmd~ command line tool. Use with properties
like this: like this:
#+BEGIN_EXAMPLE #+BEGIN_EXAMPLE
:engine mssql :engine mssql
:dbhost <host.com> :dbhost <host.com>
:dbuser <username> :dbuser <username>
:dbpassword <secret> :dbpassword <secret>
:database <database> :database <database>
#+END_EXAMPLE #+END_EXAMPLE
If you want to use the *trusted connection* feature, omit *both* the If you want to use the *trusted connection* feature, omit *both* the
=dbuser= and =dbpassword= properties and add =cmdline -E= to the =dbuser= and =dbpassword= properties and add =cmdline -E= to the properties.
properties.
If your Emacs is running in a Cygwin environment, the =ob-sql= library If your Emacs is running in a Cygwin environment, the =ob-sql= library
can pass the converted path to the =sqlcmd= tool. can pass the converted path to the =sqlcmd= tool.
@ -385,9 +385,9 @@ Alice <-- Bob: another authentication Response
@enduml @enduml
#+end_src #+end_src
Please note that *pdf* *does not work out of the box* and needss Please note that *pdf* *does not work out of the box* and needs additional
additional setup in addition to plantuml. See setup in addition to plantuml. See [[http://plantuml.com/pdf.html]] for
[[http://plantuml.com/pdf.html]] for details and setup information. details and setup information.
*** Rewrite of radio lists *** Rewrite of radio lists
@ -398,8 +398,8 @@ for details.
*** org-bbdb-anniversaries-future *** org-bbdb-anniversaries-future
Used like org-bbdb-anniversaries, it provides a few days warning Used like ~org-bbdb-anniversaries~, it provides a few days warning for
for upcoming anniversaries (default: 7 days). upcoming anniversaries (default: 7 days).
*** Clear non-repeated SCHEDULED upon repeating a task *** Clear non-repeated SCHEDULED upon repeating a task
@ -459,10 +459,10 @@ a git repository.
*** Allow conditional case-fold searches in ~org-occur~ *** Allow conditional case-fold searches in ~org-occur~
When set to ~smart~, the new variable ~org-occur-case-fold-search~ When set to ~smart~, the new variable ~org-occur-case-fold-search~ allows
allows to mimic =isearch.el=: if the regexp searched contains any to mimic =isearch.el=: if the regexp searched contains any upper case
upper case character (or character class), the search is case character (or character class), the search is case sensitive.
sensitive. Otherwise, it is case insensitive. Otherwise, it is case insensitive.
*** More robust repeated =ox-latex= footnote handling *** More robust repeated =ox-latex= footnote handling
@ -478,7 +478,7 @@ the manual for details.
*** Links are now customizable *** Links are now customizable
Links can now have custom colors, tooltips, keymaps, display behavior, Links can now have custom colors, tooltips, keymaps, display behavior,
etc. Links are now centralized in ~org-link-parameters~. etc. Links are now centralized in ~org-link-parameters~.
** New functions ** New functions
@ -783,10 +783,10 @@ buffer name, as the title. Instead, simply ignore the title.
*** Default bindings of =C-c C-n= and =C-c C-p= changed *** Default bindings of =C-c C-n= and =C-c C-p= changed
The key sequences =C-c C-n= and =C-c C-p= are now bound to The key sequences =C-c C-n= and =C-c C-p= are now bound to
~org-next-visible-heading~ and ~org-previous-visible-heading~ respectively, ~org-next-visible-heading~ and ~org-previous-visible-heading~
rather than the =outline-mode= versions of these functions. The Org respectively, rather than the =outline-mode= versions of these
version of these functions skips over inline tasks (and even-level functions. The Org version of these functions skips over inline tasks
headlines when ~org-odd-levels-only~ is set). (and even-level headlines when ~org-odd-levels-only~ is set).
*** ~org-element-context~ no longer return objects in keywords *** ~org-element-context~ no longer return objects in keywords
@ -810,9 +810,13 @@ docstring for more information.
- ~org-latex-format-headline-function~ - ~org-latex-format-headline-function~
- ~org-latex-format-inlinetask-function~ - ~org-latex-format-inlinetask-function~
- ~org-link-search~ - ~org-link-search~
** New features ** New features
*** Default lexical evaluation of emacs-lisp src blocks *** Default lexical evaluation of emacs-lisp src blocks
Emacs-lisp src blocks in babel are now evaluated using lexical scoping. There is a new header to control this behavior.
Emacs-lisp src blocks in babel are now evaluated using lexical
scoping. There is a new header to control this behavior.
The default results in an eval with lexical scoping. The default results in an eval with lexical scoping.
:lexical yes :lexical yes
@ -829,11 +833,13 @@ If point is before or after the headline title, insert a new line
without changing the headline. without changing the headline.
*** Hierarchies of tags *** Hierarchies of tags
The functionality of nesting tags in hierarchies is added to org-mode. The functionality of nesting tags in hierarchies is added to org-mode.
This is the generalization of what was previously called "Tag groups" This is the generalization of what was previously called "Tag groups"
in the manual. That term is now changed to "Tag hierarchy". in the manual. That term is now changed to "Tag hierarchy".
The following in-buffer definition: The following in-buffer definition:
#+BEGIN_SRC org #+BEGIN_SRC org
,#+TAGS: [ Group : SubOne SubTwo ] ,#+TAGS: [ Group : SubOne SubTwo ]
,#+TAGS: [ SubOne : SubOne1 SubOne2 ] ,#+TAGS: [ SubOne : SubOne1 SubOne2 ]
@ -841,6 +847,7 @@ The following in-buffer definition:
#+END_SRC #+END_SRC
Should be seen as the following tree of tags: Should be seen as the following tree of tags:
- Group - Group
- SubOne - SubOne
- SubOne1 - SubOne1
@ -855,25 +862,27 @@ on SubOne filters also it's sub-tags. Etc.
There is no limit on the depth for the tag hierarchy. There is no limit on the depth for the tag hierarchy.
*** Additional syntax for non-unique grouptags *** Additional syntax for non-unique grouptags
Additional syntax is defined for grouptags if the tags in the group Additional syntax is defined for grouptags if the tags in the group
don't have to be distinct on a heading. don't have to be distinct on a heading.
Grouptags had to previously be defined with { }. This syntax is Grouptags had to previously be defined with { }. This syntax is
already used for exclusive tags and Grouptags need their own, already used for exclusive tags and Grouptags need their own,
non-exclusive syntax. This behaviour is achieved with [ ]. Note: { non-exclusive syntax. This behaviour is achieved with [ ]. Note: { }
} can still be used also for Grouptags but then only one of the can still be used also for Grouptags but then only one of the given
given tags can be used on the headline at the same time. Example: tags can be used on the headline at the same time. Example:
[ group : sub1 sub2 ] [ group : sub1 sub2 ]
#+BEGIN_SRC org #+BEGIN_SRC org
,* Test :sub1:sub2: ,* Test :sub1:sub2:
#+END_SRC #+END_SRC
This is a more general case than the already existing syntax for This is a more general case than the already existing syntax for
grouptags; { }. grouptags; { }.
*** Define regular expression patterns as tags *** Define regular expression patterns as tags
Tags can be defined as grouptags with regular expressions as Tags can be defined as grouptags with regular expressions as
"sub-tags". "sub-tags".
@ -883,13 +892,13 @@ Example use:
: #+TAGS: [ Project : {P@.+} ] : #+TAGS: [ Project : {P@.+} ]
Searching for the tag Project will now list all tags also including Searching for the tag Project will now list all tags also including
regular expression matches for P@.+. Good for example if tags for a regular expression matches for P@.+. This is good for example for
certain project is tagged with a common project-identifier, projects tagged with a common identifier, i.e. P@2014_OrgTags.
i.e. P@2014_OrgTags.
*** Filtering in the agenda on grouptags (Tag hierarchies) *** Filtering in the agenda on grouptags (Tag hierarchies)
Filtering in the agenda on grouptags filter all of the related tags.
Exception if filter is applied with a (double) prefix-argument. Filtering in the agenda on grouptags filters all of the related tags.
Except if a filter is applied with a (double) prefix-argument.
Filtering in the agenda on subcategories does not filter the "above" Filtering in the agenda on subcategories does not filter the "above"
levels anymore. levels anymore.
@ -898,9 +907,10 @@ If a grouptag contains a regular expression the regular expression
is also used as a filter. is also used as a filter.
*** Minor refactoring of ~org-agenda-filter-by-tag~ *** Minor refactoring of ~org-agenda-filter-by-tag~
Now uses the argument arg and optional argument exclude instead of
Now uses the argument ARG and optional argument exclude instead of
strip and narrow. ARG because the argument has multiple purposes and strip and narrow. ARG because the argument has multiple purposes and
makes more sense than strip now. The term narrowing is changed to makes more sense than strip now. The term "narrowing" is changed to
exclude. exclude.
The main purpose is for the function to make more logical sense when The main purpose is for the function to make more logical sense when
@ -918,16 +928,17 @@ This library implements necessary functions for implementing editing
of Processing code blocks, viewing the resulting sketches in an of Processing code blocks, viewing the resulting sketches in an
external viewer, and HTML export of the sketches. external viewer, and HTML export of the sketches.
Check the documentation for more. Check the documentation for more details.
Thanks to Jarmo Hurri for this feature. Thanks to Jarmo Hurri for this feature.
*** New behaviour for `org-toggle-latex-fragment' *** New behaviour for ~org-toggle-latex-fragment~
The new behaviour is the following: The new behaviour is the following:
- With a double prefix argument or with a single prefix argument - With a double prefix argument or with a single prefix argument when
when point is before the first headline, toggle overlays in the point is before the first headline, toggle overlays in the whole
whole buffer; buffer;
- With a single prefix argument, toggle overlays in the current - With a single prefix argument, toggle overlays in the current
subtree; subtree;
@ -969,18 +980,18 @@ default is =hline=.
*** Markdown export supports switches in source blocks *** Markdown export supports switches in source blocks
For example, it is now possible to number lines using the =-n= switch For example, it is now possible to number lines using the =-n= switch in
in a source block. a source block.
*** New option in ASCII export *** New option in ASCII export
Plain lists can have an extra margin by setting Plain lists can have an extra margin by setting ~org-ascii-list-margin~
~org-ascii-list-margin~ variable to an appopriate integer. variable to an appopriate integer.
*** New blocks in ASCII export *** New blocks in ASCII export
ASCII export now supports =#+BEGIN_JUSTIFYRIGHT= and ASCII export now supports =#+BEGIN_JUSTIFYRIGHT= and =#+BEGIN_JUSTIFYLEFT=
=#+BEGIN_JUSTIFYLEFT= blocks. See documentation for details. blocks. See documentation for details.
*** More back-end specific publishing options *** More back-end specific publishing options
@ -1026,23 +1037,23 @@ will be exported using =@samp(myverbatim)= instead of =@samp(verbatim)=.
Radio tables feature now relies on Org's export framework ("ox.el"). Radio tables feature now relies on Org's export framework ("ox.el").
~:no-escape~ parameter no longer exists, but additional global ~:no-escape~ parameter no longer exists, but additional global
parameters are now supported: ~:raw~, ~:backend~. Moreover, there are parameters are now supported: ~:raw~, ~:backend~. Moreover, there are new
new parameters specific to some pre-defined translators, e.g., parameters specific to some pre-defined translators, e.g.,
~:environment~ and ~:booktabs~ for ~orgtbl-to-latex~. See translators ~:environment~ and ~:booktabs~ for ~orgtbl-to-latex~. See translators
docstrings (including ~orgtbl-to-generic~) for details. docstrings (including ~orgtbl-to-generic~) for details.
*** Non-floating minted listings in Latex export *** Non-floating minted listings in Latex export
It is not possible to specify =#+attr_latex: :float nil= in conjunction with It is not possible to specify =#+attr_latex: :float nil= in conjunction
source blocks exported by the minted package. with source blocks exported by the minted package.
*** Field formulas can now create columns as needed *** Field formulas can now create columns as needed
Previously, evaluating formulas that referenced out-of-bounds columns Previously, evaluating formulas that referenced out-of-bounds columns
would throw an error. A new variable would throw an error. A new variable ~org-table-formula-create-columns~
~org-table-formula-create-columns~ was added to adjust this was added to adjust this behavior. It is now possible to silently add
behavior. It is now possible to silently add new columns, to do so new columns, to do so with a warning or to explicitly ask the user
with a warning or to explicitly ask the user each time. each time.
*** ASCII plot *** ASCII plot
@ -1060,13 +1071,13 @@ When non-nil, attachments from archived subtrees are removed.
*** New option: ~org-latex-caption-above~ *** New option: ~org-latex-caption-above~
This variable generalizes ~org-latex-table-caption-above~, which is This variable generalizes ~org-latex-table-caption-above~, which is now
now deprecated. In addition to tables, it applies to source blocks, deprecated. In addition to tables, it applies to source blocks,
special blocks and images. See docstring for more information. special blocks and images. See docstring for more information.
*** New option: ~org-latex-prefer-user-labels~ *** New option: ~org-latex-prefer-user-labels~
See docstring for more information. See the docstring for more information.
*** Export unnumbered headlines *** Export unnumbered headlines
@ -1077,13 +1088,13 @@ property is inherited by children.
*** Tables can be sorted with an arbitrary function *** Tables can be sorted with an arbitrary function
It is now possible to specify a function, both programatically, It is now possible to specify a function, both programatically,
through a new optional argument, and interactively with ~f~ or ~F~ through a new optional argument, and interactively with ~f~ or ~F~ keys,
keys, to sort a table. to sort a table.
*** Table of contents can be local to a section *** Table of contents can be local to a section
The ~TOC~ keywords now accepts an optional ~local~ parameter. See The ~TOC~ keywords now accepts an optional ~local~ parameter. See manual
manual for details. for details.
*** Countdown timers can now be paused *** Countdown timers can now be paused
@ -1146,8 +1157,8 @@ for details.
*** Remotely edit a footnote definition *** Remotely edit a footnote definition
Calling ~org-edit-footnote-reference~ (C-c ') on a footnote reference Calling ~org-edit-footnote-reference~ (C-c ') on a footnote reference
allows to edit its definition, as long as it is not anonymous, in allows to edit its definition, as long as it is not anonymous, in a
a dedicated buffer. It works even if buffer is currently narrowed. dedicated buffer. It works even if buffer is currently narrowed.
*** New function ~org-delete-indentation~ bound to ~M-^~ *** New function ~org-delete-indentation~ bound to ~M-^~
@ -1156,7 +1167,7 @@ added to headline text.
*** Support for images in Texinfo export *** Support for images in Texinfo export
~Texinfo~ back-end now handles images. See manual for details. ~Texinfo~ back-end now handles images. See the manual for details.
*** Support for captions in Texinfo export *** Support for captions in Texinfo export
@ -1171,9 +1182,9 @@ set using the hh:mm:ss format.
*** Extend ~org-clone-subtree-with-time-shift~ *** Extend ~org-clone-subtree-with-time-shift~
~org-clone-subtree-with-time-shift~ now accepts 0 as an argument for ~org-clone-subtree-with-time-shift~ now accepts 0 as an argument for the
the number of clones, which removes the repeater from the original number of clones, which removes the repeater from the original subtree
subtree and creates one shifted, repeating clone. and creates one shifted, repeating clone.
*** New time block for clock tables: ~untilnow~ *** New time block for clock tables: ~untilnow~
@ -1219,6 +1230,7 @@ optional argument.
These functions were left-over from pre 8.0 era. They are not correct These functions were left-over from pre 8.0 era. They are not correct
anymore. Since they are not needed, they have no replacement. anymore. Since they are not needed, they have no replacement.
** Removed options ** Removed options
*** ~org-list-empty-line-terminates-plain-lists~ is deprecated *** ~org-list-empty-line-terminates-plain-lists~ is deprecated
@ -1242,11 +1254,11 @@ everywhere in the buffer, possibly corrupting URLs.
*** Removed option =org-babel-sh-command= *** Removed option =org-babel-sh-command=
This undocumented option defaulted to the value of =shell-file-name= This undocumented option defaulted to the value of =shell-file-name= at
at the time of loading =ob-shell=. The new behaviour is to use the the time of loading =ob-shell=. The new behaviour is to use the value
value of =shell-file-name= directly when the shell langage is =shell=. of =shell-file-name= directly when the shell langage is =shell=. To chose
To chose a different shell, either customize =shell-file-name= or bind a different shell, either customize =shell-file-name= or bind this
this variable locally. variable locally.
*** Removed option =org-babel-sh-var-quote-fmt= *** Removed option =org-babel-sh-var-quote-fmt=
@ -1286,6 +1298,7 @@ end-users browser. You may force initial usage of MathML via
~org-export-filter-comment-functions~ and ~org-export-filter-comment-functions~ and
~org-export-filter-comment-block-functions~ variables do not exist ~org-export-filter-comment-block-functions~ variables do not exist
anymore. anymore.
** Miscellaneous ** Miscellaneous
*** Strip all meta data from ITEM special property *** Strip all meta data from ITEM special property
@ -1322,9 +1335,9 @@ particular test failure was introduced.
*** Exact heading search for external links ignore spaces and cookies *** Exact heading search for external links ignore spaces and cookies
Exact heading search for links now ignore spaces and cookies. This is Exact heading search for links now ignore spaces and cookies. This is
the case for links of the form ~file:projects.org::*task title~, as the case for links of the form ~file:projects.org::*task title~, as well
well as links of the form ~file:projects.org::some words~ as links of the form ~file:projects.org::some words~ when
when ~org-link-search-must-match-exact-headline~ is not nil. ~org-link-search-must-match-exact-headline~ is not nil.
*** ~org-latex-hyperref-template~, ~org-latex-title-command~ formatting *** ~org-latex-hyperref-template~, ~org-latex-title-command~ formatting
@ -1334,12 +1347,12 @@ Note, ~org-latex-hyperref-template~ has a new default value.
*** ~float, wasysym, marvosym~ are removed from ~org-latex-default-packages-alist~ *** ~float, wasysym, marvosym~ are removed from ~org-latex-default-packages-alist~
If you require any of these package add them to your preamble via If you require any of these package add them to your preamble via
~org-latex-packages-alist~. Org also uses default LaTeX ~\tolerance~ ~org-latex-packages-alist~. Org also uses default LaTeX ~\tolerance~ now.
now.
*** When exporting, throw an error on unresolved id/fuzzy links and code refs *** When exporting, throw an error on unresolved id/fuzzy links and code refs
This helps spotting wrong links. This helps spotting wrong links.
* Version 8.2 * Version 8.2
** Incompatible changes ** Incompatible changes