Merge branch 'maint'
This commit is contained in:
commit
f03cba1b6f
68
etc/ORG-NEWS
68
etc/ORG-NEWS
|
@ -319,6 +319,40 @@ Also, ~org-startup-folded~ now defaults to ~showeverything~.
|
||||||
|
|
||||||
** New features
|
** New features
|
||||||
|
|
||||||
|
*** =RET= and =C-j= now obey ~electric-indent-mode~
|
||||||
|
|
||||||
|
Since Emacs 24.4, ~electric-indent-mode~ is enabled by default. In
|
||||||
|
most major modes, this causes =RET= to reindent the current line and
|
||||||
|
indent the new line, and =C-j= to insert a newline without indenting.
|
||||||
|
|
||||||
|
Org mode now obeys this minor mode: when ~electric-indent-mode~ is
|
||||||
|
enabled, and point is neither in a table nor on a timestamp or a link:
|
||||||
|
|
||||||
|
- =RET= (bound to ~org-return~) reindents the current line and indents
|
||||||
|
the new line;
|
||||||
|
- =C-j= (bound to the new command ~org-return-and-maybe-indent~)
|
||||||
|
merely inserts a newline.
|
||||||
|
|
||||||
|
To get the previous behaviour back, disable ~electric-indent-mode~
|
||||||
|
explicitly:
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(add-hook 'org-mode-hook (lambda () (electric-indent-local-mode -1)))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
Alternatively, if you wish to keep =RET= as the "smart-return" key,
|
||||||
|
but dislike Org's default indentation of sections, you may prefer to
|
||||||
|
customize ~org-adapt-indentation~ to either =nil= or =headline-data=.
|
||||||
|
|
||||||
|
*** New allowed value for ~org-adapt-indentation~
|
||||||
|
|
||||||
|
~org-adapt-indentation~ now accepts a new value, =headline-data=.
|
||||||
|
|
||||||
|
When set to this value, Org will only adapt indentation of headline
|
||||||
|
data lines, such as planning/clock lines and property/logbook drawers.
|
||||||
|
Also, with this setting, =org-indent-mode= will keep these data lines
|
||||||
|
correctly aligned with the headline above.
|
||||||
|
|
||||||
*** Looping agenda commands over headlines
|
*** Looping agenda commands over headlines
|
||||||
|
|
||||||
~org-agenda-loop-over-headlines-in-active-region~ allows you to loop
|
~org-agenda-loop-over-headlines-in-active-region~ allows you to loop
|
||||||
|
@ -352,15 +386,6 @@ call ~org-toggle-radio-button~.
|
||||||
You can also add =#+ATTR_ORG: :radio t= right before the list to tell
|
You can also add =#+ATTR_ORG: :radio t= right before the list to tell
|
||||||
Org to use radio buttons for this list only.
|
Org to use radio buttons for this list only.
|
||||||
|
|
||||||
*** New allowed value for ~org-adapt-indentation~
|
|
||||||
|
|
||||||
~org-adapt-indentation~ now accepts a new value, ='headline-data=.
|
|
||||||
|
|
||||||
When set to this value, Org will only adapt indentation of headline
|
|
||||||
data lines, such as planning/clock lines and property/logbook drawers.
|
|
||||||
Also, with this setting, =org-indent-mode= will keep these data lines
|
|
||||||
correctly aligned with the headline above.
|
|
||||||
|
|
||||||
*** Numeric priorities are now allowed (up to 65)
|
*** Numeric priorities are now allowed (up to 65)
|
||||||
|
|
||||||
You can now set ~org-priority-highest/lowest/default~ to integers to
|
You can now set ~org-priority-highest/lowest/default~ to integers to
|
||||||
|
@ -430,31 +455,6 @@ can now be inserted with this prefix argument.
|
||||||
Source code block header argument =:file-mode= can set file
|
Source code block header argument =:file-mode= can set file
|
||||||
permissions if =:file= argument is provided.
|
permissions if =:file= argument is provided.
|
||||||
|
|
||||||
*** =RET= and =C-j= now obey ~electric-indent-mode~
|
|
||||||
|
|
||||||
Since Emacs 24.4, ~electric-indent-mode~ is enabled by default. In
|
|
||||||
most major modes, this causes =RET= to reindent the current line and
|
|
||||||
indent the new line, and =C-j= to insert a newline without indenting.
|
|
||||||
|
|
||||||
Org mode now obeys this minor mode: when ~electric-indent-mode~ is
|
|
||||||
enabled, and point is neither in a table nor on a timestamp or a link:
|
|
||||||
|
|
||||||
- =RET= (bound to ~org-return~) reindents the current line and indents
|
|
||||||
the new line;
|
|
||||||
- =C-j= (bound to the new command ~org-return-and-maybe-indent~)
|
|
||||||
merely inserts a newline.
|
|
||||||
|
|
||||||
To get the previous behaviour back, disable ~electric-indent-mode~
|
|
||||||
explicitly:
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(add-hook 'org-mode-hook (lambda () (electric-indent-local-mode -1)))
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
Alternatively, if you wish to keep =RET= as the "smart-return" key,
|
|
||||||
but dislike Org's default indentation of sections, you may prefer to
|
|
||||||
customize ~org-adapt-indentation~ to either =nil= or ='headline-data=.
|
|
||||||
|
|
||||||
*** =ob-C.el= allows the inclusion of non-system header files
|
*** =ob-C.el= allows the inclusion of non-system header files
|
||||||
|
|
||||||
In C and C++ blocks, ~:includes~ arguments that do not start with a
|
In C and C++ blocks, ~:includes~ arguments that do not start with a
|
||||||
|
|
Loading…
Reference in New Issue