diff options
| author | Rasmus | 2017-06-23 10:58:09 +0200 |
|---|---|---|
| committer | Rasmus | 2017-06-23 10:58:09 +0200 |
| commit | 896641b962443a6398ebe337cd78a6c1180971c1 (patch) | |
| tree | e1f88325ed060d9c80dce28414629a33bc84cddd | |
| parent | 5cfdf8dd17366e3ebf9f4e000b82a281c4183e66 (diff) | |
| download | emacs-896641b962443a6398ebe337cd78a6c1180971c1.tar.gz emacs-896641b962443a6398ebe337cd78a6c1180971c1.zip | |
Synchronize with the "emacs-sync" branch from Org
| -rw-r--r-- | doc/misc/org.texi | 1 | ||||
| -rw-r--r-- | etc/ORG-NEWS | 154 | ||||
| -rw-r--r-- | etc/org/README | 2 | ||||
| -rw-r--r-- | etc/refcards/orgcard.tex | 7 |
4 files changed, 83 insertions, 81 deletions
diff --git a/doc/misc/org.texi b/doc/misc/org.texi index 272788b1a11..e3f8962c896 100644 --- a/doc/misc/org.texi +++ b/doc/misc/org.texi | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | @include docstyle.texi | 5 | @include docstyle.texi |
| 6 | 6 | ||
| 7 | @set VERSION 9.0.9 | 7 | @set VERSION 9.0.9 |
| 8 | @set DATE 2017-06-22 | ||
| 9 | 8 | ||
| 10 | @c Version and Contact Info | 9 | @c Version and Contact Info |
| 11 | @set MAINTAINERSITE @uref{http://orgmode.org,maintainers web page} | 10 | @set MAINTAINERSITE @uref{http://orgmode.org,maintainers web page} |
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index b870b395e68..87c6458ae4c 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ORG NEWS -- history of user-visible changes. -*- org -*- | 1 | ORG NEWS -- history of user-visible changes. -*- mode: org; coding: utf-8 -*- |
| 2 | 2 | ||
| 3 | #+LINK: doc http://orgmode.org/worg/doc.html#%s | 3 | #+LINK: doc http://orgmode.org/worg/doc.html#%s |
| 4 | #+LINK: git http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=%s | 4 | #+LINK: git http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=%s |
| @@ -63,31 +63,31 @@ using previous syntax: | |||
| 63 | (interactive) | 63 | (interactive) |
| 64 | (when (eq major-mode 'org-mode) | 64 | (when (eq major-mode 'org-mode) |
| 65 | (let ((case-fold-search t) | 65 | (let ((case-fold-search t) |
| 66 | (back-end-re (regexp-opt | 66 | (back-end-re (regexp-opt |
| 67 | '("HTML" "ASCII" "LATEX" "ODT" "MARKDOWN" "MD" "ORG" | 67 | '("HTML" "ASCII" "LATEX" "ODT" "MARKDOWN" "MD" "ORG" |
| 68 | "MAN" "BEAMER" "TEXINFO" "GROFF" "KOMA-LETTER") | 68 | "MAN" "BEAMER" "TEXINFO" "GROFF" "KOMA-LETTER") |
| 69 | t))) | 69 | t))) |
| 70 | (org-with-wide-buffer | 70 | (org-with-wide-buffer |
| 71 | (goto-char (point-min)) | 71 | (goto-char (point-min)) |
| 72 | (let ((block-re (concat "^[ \t]*#\\+BEGIN_" back-end-re))) | 72 | (let ((block-re (concat "^[ \t]*#\\+BEGIN_" back-end-re))) |
| 73 | (save-excursion | 73 | (save-excursion |
| 74 | (while (re-search-forward block-re nil t) | 74 | (while (re-search-forward block-re nil t) |
| 75 | (let ((element (save-match-data (org-element-at-point)))) | 75 | (let ((element (save-match-data (org-element-at-point)))) |
| 76 | (when (eq (org-element-type element) 'special-block) | 76 | (when (eq (org-element-type element) 'special-block) |
| 77 | (save-excursion | 77 | (save-excursion |
| 78 | (goto-char (org-element-property :end element)) | 78 | (goto-char (org-element-property :end element)) |
| 79 | (save-match-data (search-backward "_")) | 79 | (save-match-data (search-backward "_")) |
| 80 | (forward-char) | 80 | (forward-char) |
| 81 | (insert "EXPORT") | 81 | (insert "EXPORT") |
| 82 | (delete-region (point) (line-end-position))) | 82 | (delete-region (point) (line-end-position))) |
| 83 | (replace-match "EXPORT \\1" nil nil nil 1)))))) | 83 | (replace-match "EXPORT \\1" nil nil nil 1)))))) |
| 84 | (let ((include-re | 84 | (let ((include-re |
| 85 | (format "^[ \t]*#\\+INCLUDE: .*?%s[ \t]*$" back-end-re))) | 85 | (format "^[ \t]*#\\+INCLUDE: .*?%s[ \t]*$" back-end-re))) |
| 86 | (while (re-search-forward include-re nil t) | 86 | (while (re-search-forward include-re nil t) |
| 87 | (let ((element (save-match-data (org-element-at-point)))) | 87 | (let ((element (save-match-data (org-element-at-point)))) |
| 88 | (when (and (eq (org-element-type element) 'keyword) | 88 | (when (and (eq (org-element-type element) 'keyword) |
| 89 | (string= (org-element-property :key element) "INCLUDE")) | 89 | (string= (org-element-property :key element) "INCLUDE")) |
| 90 | (replace-match "EXPORT \\1" nil nil nil 1))))))))) | 90 | (replace-match "EXPORT \\1" nil nil nil 1))))))))) |
| 91 | #+END_SRC | 91 | #+END_SRC |
| 92 | 92 | ||
| 93 | Moreover, ~:export-block~ keyword used in ~org-export-define-backend~ and | 93 | Moreover, ~:export-block~ keyword used in ~org-export-define-backend~ and |
| @@ -711,27 +711,27 @@ Ignore non Org buffers." | |||
| 711 | (org-with-wide-buffer | 711 | (org-with-wide-buffer |
| 712 | (goto-char (point-min)) | 712 | (goto-char (point-min)) |
| 713 | (let ((case-fold-search t) | 713 | (let ((case-fold-search t) |
| 714 | (inline-re (and (featurep 'org-inlinetask) | 714 | (inline-re (and (featurep 'org-inlinetask) |
| 715 | (concat (org-inlinetask-outline-regexp) | 715 | (concat (org-inlinetask-outline-regexp) |
| 716 | "END[ \t]*$")))) | 716 | "END[ \t]*$")))) |
| 717 | (org-map-entries | 717 | (org-map-entries |
| 718 | (lambda () | 718 | (lambda () |
| 719 | (unless (and inline-re (org-looking-at-p inline-re)) | 719 | (unless (and inline-re (org-looking-at-p inline-re)) |
| 720 | (save-excursion | 720 | (save-excursion |
| 721 | (let ((end (save-excursion (outline-next-heading) (point)))) | 721 | (let ((end (save-excursion (outline-next-heading) (point)))) |
| 722 | (forward-line) | 722 | (forward-line) |
| 723 | (when (org-looking-at-p org-planning-line-re) (forward-line)) | 723 | (when (org-looking-at-p org-planning-line-re) (forward-line)) |
| 724 | (when (and (< (point) end) | 724 | (when (and (< (point) end) |
| 725 | (not (org-looking-at-p org-property-drawer-re)) | 725 | (not (org-looking-at-p org-property-drawer-re)) |
| 726 | (save-excursion | 726 | (save-excursion |
| 727 | (and (re-search-forward org-property-drawer-re end t) | 727 | (and (re-search-forward org-property-drawer-re end t) |
| 728 | (eq (org-element-type | 728 | (eq (org-element-type |
| 729 | (save-match-data (org-element-at-point))) | 729 | (save-match-data (org-element-at-point))) |
| 730 | 'drawer)))) | 730 | 'drawer)))) |
| 731 | (insert (delete-and-extract-region | 731 | (insert (delete-and-extract-region |
| 732 | (match-beginning 0) | 732 | (match-beginning 0) |
| 733 | (min (1+ (match-end 0)) end))) | 733 | (min (1+ (match-end 0)) end))) |
| 734 | (unless (bolp) (insert "\n")))))))))))) | 734 | (unless (bolp) (insert "\n")))))))))))) |
| 735 | #+END_SRC | 735 | #+END_SRC |
| 736 | 736 | ||
| 737 | *** Using "COMMENT" is now equivalent to commenting with "#" | 737 | *** Using "COMMENT" is now equivalent to commenting with "#" |
| @@ -1917,8 +1917,8 @@ the "@" key to =calendar-goto-today=, use this: | |||
| 1917 | 1917 | ||
| 1918 | ;; Bind "@" to `calendar-goto-today': | 1918 | ;; Bind "@" to `calendar-goto-today': |
| 1919 | (define-key org-read-date-minibuffer-local-map | 1919 | (define-key org-read-date-minibuffer-local-map |
| 1920 | (kbd "@") | 1920 | (kbd "@") |
| 1921 | (lambda () (interactive) (org-eval-in-calendar '(calendar-goto-today)))) | 1921 | (lambda () (interactive) (org-eval-in-calendar '(calendar-goto-today)))) |
| 1922 | #+END_SRC | 1922 | #+END_SRC |
| 1923 | 1923 | ||
| 1924 | **** In Org's calendar, =!= displays diary entries of the date at point | 1924 | **** In Org's calendar, =!= displays diary entries of the date at point |
| @@ -2315,7 +2315,7 @@ instead of requiring each Babel library one by one. | |||
| 2315 | - New option [[doc:org-gnus-no-server][org-gnus-no-server]] to start Gnus with =gnus-no-server= | 2315 | - New option [[doc:org-gnus-no-server][org-gnus-no-server]] to start Gnus with =gnus-no-server= |
| 2316 | - Org is now distributed with =htmlize.el= version 1.43 | 2316 | - Org is now distributed with =htmlize.el= version 1.43 |
| 2317 | - ~org-drill.el~ has been updated to version 2.3.7 | 2317 | - ~org-drill.el~ has been updated to version 2.3.7 |
| 2318 | - ~org-mac-iCal.el~ now supports MacOSX version up to 10.8 | 2318 | - ~org-mac-iCal.el~ now supports OS X versions up to 10.8 |
| 2319 | - Various improvements to ~org-contacts.el~ and =orgpan.el= | 2319 | - Various improvements to ~org-contacts.el~ and =orgpan.el= |
| 2320 | 2320 | ||
| 2321 | ** Outside Org | 2321 | ** Outside Org |
| @@ -2539,7 +2539,7 @@ See http://orgmode.org/elpa/ | |||
| 2539 | 2539 | ||
| 2540 | #+BEGIN_SRC emacs-lisp | 2540 | #+BEGIN_SRC emacs-lisp |
| 2541 | (setq org-agenda-custom-commands-contexts | 2541 | (setq org-agenda-custom-commands-contexts |
| 2542 | '(("p" (in-file . "\\.txt")))) | 2542 | '(("p" (in-file . "\\.txt")))) |
| 2543 | #+END_SRC | 2543 | #+END_SRC |
| 2544 | 2544 | ||
| 2545 | then the =p= agenda command will only be available from buffers | 2545 | then the =p= agenda command will only be available from buffers |
| @@ -2849,7 +2849,7 @@ See http://orgmode.org/elpa/ | |||
| 2849 | 2849 | ||
| 2850 | #+BEGIN_SRC emacs-lisp | 2850 | #+BEGIN_SRC emacs-lisp |
| 2851 | (setq org-capture-templates-contexts | 2851 | (setq org-capture-templates-contexts |
| 2852 | '(("c" (in-mode . "message-mode")))) | 2852 | '(("c" (in-mode . "message-mode")))) |
| 2853 | #+END_SRC | 2853 | #+END_SRC |
| 2854 | 2854 | ||
| 2855 | then the =c= capture template will only be available from | 2855 | then the =c= capture template will only be available from |
| @@ -3085,7 +3085,7 @@ that Calc formulas can operate on them. | |||
| 3085 | 3085 | ||
| 3086 | #+begin_src emacs-lisp | 3086 | #+begin_src emacs-lisp |
| 3087 | (setq org-export-latex-default-packages-alist nil | 3087 | (setq org-export-latex-default-packages-alist nil |
| 3088 | org-export-latex-packages-alist nil) | 3088 | org-export-latex-packages-alist nil) |
| 3089 | #+end_src | 3089 | #+end_src |
| 3090 | 3090 | ||
| 3091 | /Continue to read here if you want to go along with the modified | 3091 | /Continue to read here if you want to go along with the modified |
| @@ -3099,16 +3099,16 @@ that Calc formulas can operate on them. | |||
| 3099 | The two new variables are: | 3099 | The two new variables are: |
| 3100 | 3100 | ||
| 3101 | 1. =org-export-latex-default-packages-alist= :: This is the | 3101 | 1. =org-export-latex-default-packages-alist= :: This is the |
| 3102 | variable where Org-mode itself puts the packages it needs. | 3102 | variable where Org-mode itself puts the packages it needs. |
| 3103 | Normally you should not change this variable. The only | 3103 | Normally you should not change this variable. The only |
| 3104 | reason to change it anyway is when one of these packages | 3104 | reason to change it anyway is when one of these packages |
| 3105 | causes a conflict with another package you want to use. Then | 3105 | causes a conflict with another package you want to use. Then |
| 3106 | you can remove that packages and hope that you are not using | 3106 | you can remove that packages and hope that you are not using |
| 3107 | Org-mode functionality that needs it. | 3107 | Org-mode functionality that needs it. |
| 3108 | 3108 | ||
| 3109 | 2. =org-export-latex-packages-alist= :: This is the variable where | 3109 | 2. =org-export-latex-packages-alist= :: This is the variable where |
| 3110 | you can put the packages that you'd like to use across all | 3110 | you can put the packages that you'd like to use across all |
| 3111 | classes. | 3111 | classes. |
| 3112 | 3112 | ||
| 3113 | The sequence how these customizations will show up in the LaTeX | 3113 | The sequence how these customizations will show up in the LaTeX |
| 3114 | document are: | 3114 | document are: |
| @@ -3310,17 +3310,17 @@ that Calc formulas can operate on them. | |||
| 3310 | The key new functions are | 3310 | The key new functions are |
| 3311 | 3311 | ||
| 3312 | - org-bibtex-check :: queries the user to flesh out all required | 3312 | - org-bibtex-check :: queries the user to flesh out all required |
| 3313 | (and with prefix argument optional) bibtex fields available | 3313 | (and with prefix argument optional) bibtex fields available |
| 3314 | for the specific reference =type= of the current headline. | 3314 | for the specific reference =type= of the current headline. |
| 3315 | 3315 | ||
| 3316 | - org-bibtex-create :: Create a new entry at the given level, | 3316 | - org-bibtex-create :: Create a new entry at the given level, |
| 3317 | using org-bibtex-check to flesh out the relevant fields. | 3317 | using org-bibtex-check to flesh out the relevant fields. |
| 3318 | 3318 | ||
| 3319 | - org-bibtex-yank :: Yank a bibtex entry on the kill ring as a | 3319 | - org-bibtex-yank :: Yank a bibtex entry on the kill ring as a |
| 3320 | formatted Org-mode headline into the current buffer | 3320 | formatted Org-mode headline into the current buffer |
| 3321 | 3321 | ||
| 3322 | - org-bibtex-export-to-kill-ring :: Export the current headline | 3322 | - org-bibtex-export-to-kill-ring :: Export the current headline |
| 3323 | to the kill ring as a formatted bibtex entry. | 3323 | to the kill ring as a formatted bibtex entry. |
| 3324 | 3324 | ||
| 3325 | **** org-gnus.el now allows link creation from messages | 3325 | **** org-gnus.el now allows link creation from messages |
| 3326 | 3326 | ||
| @@ -3573,32 +3573,32 @@ that Calc formulas can operate on them. | |||
| 3573 | Nicolas Goaziou extended and improved the way Org handles lists. | 3573 | Nicolas Goaziou extended and improved the way Org handles lists. |
| 3574 | 3574 | ||
| 3575 | 1. Indentation of text determines again end of items in | 3575 | 1. Indentation of text determines again end of items in |
| 3576 | lists. So, some text less indented than the previous item | 3576 | lists. So, some text less indented than the previous item |
| 3577 | doesn't close the whole list anymore, only all items more | 3577 | doesn't close the whole list anymore, only all items more |
| 3578 | indented than it. | 3578 | indented than it. |
| 3579 | 3579 | ||
| 3580 | 2. Alphabetical bullets are implemented, through the use of the | 3580 | 2. Alphabetical bullets are implemented, through the use of the |
| 3581 | variable `org-alphabetical-lists'. This also adds alphabetical | 3581 | variable `org-alphabetical-lists'. This also adds alphabetical |
| 3582 | counters like [@c] or [@W]. | 3582 | counters like [@c] or [@W]. |
| 3583 | 3583 | ||
| 3584 | 3. Lists can now safely contain drawers, inline tasks, or various | 3584 | 3. Lists can now safely contain drawers, inline tasks, or various |
| 3585 | blocks, themselves containing lists. Two variables are | 3585 | blocks, themselves containing lists. Two variables are |
| 3586 | controlling this: `org-list-forbidden-blocks', and | 3586 | controlling this: `org-list-forbidden-blocks', and |
| 3587 | `org-list-export-context'. | 3587 | `org-list-export-context'. |
| 3588 | 3588 | ||
| 3589 | 4. Improve `newline-and-indent' (C-j): used in an item, it will | 3589 | 4. Improve `newline-and-indent' (C-j): used in an item, it will |
| 3590 | keep text from moving at column 0. This allows to split text | 3590 | keep text from moving at column 0. This allows to split text |
| 3591 | and make paragraphs and still not break the list. | 3591 | and make paragraphs and still not break the list. |
| 3592 | 3592 | ||
| 3593 | 5. Improve `org-toggle-item' (C-c -): used on a region with | 3593 | 5. Improve `org-toggle-item' (C-c -): used on a region with |
| 3594 | standard text, it will change the region into one item. With a | 3594 | standard text, it will change the region into one item. With a |
| 3595 | prefix argument, it will fallback to the previous behavior and | 3595 | prefix argument, it will fallback to the previous behavior and |
| 3596 | make every line in region an item. It permits to easily | 3596 | make every line in region an item. It permits to easily |
| 3597 | integrate paragraphs inside a list. | 3597 | integrate paragraphs inside a list. |
| 3598 | 3598 | ||
| 3599 | 6. `fill-paragraph' (M-q) now understands lists. It can freely be | 3599 | 6. `fill-paragraph' (M-q) now understands lists. It can freely be |
| 3600 | used inside items, or on text just after a list, even with no | 3600 | used inside items, or on text just after a list, even with no |
| 3601 | blank line around, without breaking list structure. | 3601 | blank line around, without breaking list structure. |
| 3602 | 3602 | ||
| 3603 | Thanks a lot to Nicolas for all this! | 3603 | Thanks a lot to Nicolas for all this! |
| 3604 | 3604 | ||
diff --git a/etc/org/README b/etc/org/README index d04f4349629..68905add814 100644 --- a/etc/org/README +++ b/etc/org/README | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | The files OrgOdtContentTemplate.xml and OrgOdtStyles.xml have the | 1 | The files OrgOdtContentTemplate.xml and OrgOdtStyles.xml have the |
| 2 | following copyright information: | 2 | following copyright information: |
| 3 | 3 | ||
| 4 | Copyright (C) 2010-2014 Free Software Foundation, Inc. | 4 | Copyright (C) 2010-2017 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | These files are part of GNU Emacs. | 6 | These files are part of GNU Emacs. |
| 7 | 7 | ||
diff --git a/etc/refcards/orgcard.tex b/etc/refcards/orgcard.tex index 9ab6b4aef1d..b691a51c8f2 100644 --- a/etc/refcards/orgcard.tex +++ b/etc/refcards/orgcard.tex | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | % Reference Card for Org Mode | 1 | % Reference Card for Org Mode |
| 2 | \def\orgversionnumber{9.0.9} | 2 | \def\orgversionnumber{9.0.4} |
| 3 | \def\versionyear{2017} % latest update | 3 | \def\versionyear{2017} % latest update |
| 4 | \def\year{2017} % latest copyright year | 4 | \input emacsver.tex |
| 5 | 5 | ||
| 6 | %**start of header | 6 | %**start of header |
| 7 | \newcount\columnsperpage | 7 | \newcount\columnsperpage |
| @@ -80,6 +80,9 @@ | |||
| 80 | \centerline{Released under the terms of the GNU General Public License} | 80 | \centerline{Released under the terms of the GNU General Public License} |
| 81 | \centerline{version 3 or later.} | 81 | \centerline{version 3 or later.} |
| 82 | 82 | ||
| 83 | \centerline{For more Emacs documentation, and the \TeX{} source for this card, see} | ||
| 84 | \centerline{the Emacs distribution, or {\tt http://www.gnu.org/software/emacs}} | ||
| 85 | |||
| 83 | \endgroup} | 86 | \endgroup} |
| 84 | 87 | ||
| 85 | % make \bye not \outer so that the \def\bye in the \else clause below | 88 | % make \bye not \outer so that the \def\bye in the \else clause below |