diff options
| author | Rasmus | 2017-06-22 12:26:08 +0200 |
|---|---|---|
| committer | Rasmus | 2017-06-22 12:26:08 +0200 |
| commit | 5cfdf8dd17366e3ebf9f4e000b82a281c4183e66 (patch) | |
| tree | 01a6c3befefdb413531a52d5b07b7fd4a55baf36 | |
| parent | 1ce7864d1f3fc81257193b8cece934f984285c92 (diff) | |
| download | emacs-5cfdf8dd17366e3ebf9f4e000b82a281c4183e66.tar.gz emacs-5cfdf8dd17366e3ebf9f4e000b82a281c4183e66.zip | |
; Fix ORG-NEWS formatting in previous commit
| -rw-r--r-- | etc/ORG-NEWS | 172 |
1 files changed, 86 insertions, 86 deletions
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index fb50175316e..b870b395e68 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS | |||
| @@ -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 |
| @@ -2198,14 +2198,14 @@ See [[http://orgmode.org/org.html#Lookup-functions][the manual]] for details. | |||
| 2198 | 2198 | ||
| 2199 | These new startup keywords are now available: | 2199 | These new startup keywords are now available: |
| 2200 | 2200 | ||
| 2201 | | Startup keyword | Option | | 2201 | | Startup keyword | Option | |
| 2202 | |--------------------------------+-------------------------------------------| | 2202 | |----------------------------------+---------------------------------------------| |
| 2203 | | =#+STARTUP: logdrawer= | =(setq org-log-into-drawer t)= | | 2203 | | =#+STARTUP: logdrawer= | =(setq org-log-into-drawer t)= | |
| 2204 | | =#+STARTUP: nologdrawer= | =(setq org-log-into-drawer nil)= | | 2204 | | =#+STARTUP: nologdrawer= | =(setq org-log-into-drawer nil)= | |
| 2205 | |--------------------------------+-------------------------------------------| | 2205 | |----------------------------------+---------------------------------------------| |
| 2206 | | =#+STARTUP: logstatesreversed= | =(setq org-log-states-order-reversed t)= | | 2206 | | =#+STARTUP: logstatesreversed= | =(setq org-log-states-order-reversed t)= | |
| 2207 | | =#+STARTUP: nologstatesreversed= | =(setq org-log-states-order-reversed nil)= | | 2207 | | =#+STARTUP: nologstatesreversed= | =(setq org-log-states-order-reversed nil)= | |
| 2208 | |--------------------------------+-------------------------------------------| | 2208 | |----------------------------------+---------------------------------------------| |
| 2209 | | =#+STARTUP: latexpreview= | =(setq org-startup-with-latex-preview t)= | | 2209 | | =#+STARTUP: latexpreview= | =(setq org-startup-with-latex-preview t)= | |
| 2210 | | =#+STARTUP: nolatexpreview= | =(setq org-startup-with-latex-preview nil)= | | 2210 | | =#+STARTUP: nolatexpreview= | =(setq org-startup-with-latex-preview nil)= | |
| 2211 | 2211 | ||
| @@ -2416,8 +2416,8 @@ See http://orgmode.org/elpa/ | |||
| 2416 | 2416 | ||
| 2417 | ** Overview of the new keybindings | 2417 | ** Overview of the new keybindings |
| 2418 | 2418 | ||
| 2419 | | Keybinding | Speedy | Command | | 2419 | | Keybinding | Speedy | Command | |
| 2420 | |---------------+--------+-----------------------------| | 2420 | |-----------------+--------+-----------------------------| |
| 2421 | | =C-c C-x C-z= | | [[doc::org-clock-resolve][org-clock-resolve]] | | 2421 | | =C-c C-x C-z= | | [[doc::org-clock-resolve][org-clock-resolve]] | |
| 2422 | | =C-c C-x C-q= | | [[doc::org-clock-cancel][org-clock-cancel]] | | 2422 | | =C-c C-x C-q= | | [[doc::org-clock-cancel][org-clock-cancel]] | |
| 2423 | | =C-c C-x C-x= | | [[doc::org-clock-in-last][org-clock-in-last]] | | 2423 | | =C-c C-x C-x= | | [[doc::org-clock-in-last][org-clock-in-last]] | |
| @@ -2425,12 +2425,12 @@ See http://orgmode.org/elpa/ | |||
| 2425 | | =*= | | [[doc::org-agenda-bulk-mark-all][org-agenda-bulk-mark-all]] | | 2425 | | =*= | | [[doc::org-agenda-bulk-mark-all][org-agenda-bulk-mark-all]] | |
| 2426 | | =C-c C-M-l= | | [[doc::org-insert-all-links][org-insert-all-links]] | | 2426 | | =C-c C-M-l= | | [[doc::org-insert-all-links][org-insert-all-links]] | |
| 2427 | | =C-c C-x C-M-v= | | [[doc::org-redisplay-inline-images][org-redisplay-inline-images]] | | 2427 | | =C-c C-x C-M-v= | | [[doc::org-redisplay-inline-images][org-redisplay-inline-images]] | |
| 2428 | | =C-c C-x E= | =E= | [[doc::org-inc-effort][org-inc-effort]] | | 2428 | | =C-c C-x E= | =E= | [[doc::org-inc-effort][org-inc-effort]] | |
| 2429 | | | =#= | [[doc::org-toggle-comment][org-toggle-comment]] | | 2429 | | | =#= | [[doc::org-toggle-comment][org-toggle-comment]] | |
| 2430 | | | =:= | [[doc::org-columns][org-columns]] | | 2430 | | | =:= | [[doc::org-columns][org-columns]] | |
| 2431 | | | =W= | Set =APPT_WARNTIME= | | 2431 | | | =W= | Set =APPT_WARNTIME= | |
| 2432 | | =k= | | [[doc::org-agenda-capture][org-agenda-capture]] | | 2432 | | =k= | | [[doc::org-agenda-capture][org-agenda-capture]] | |
| 2433 | | C-c , | , | [[doc::org-priority][org-priority]] | | 2433 | | C-c , | , | [[doc::org-priority][org-priority]] | |
| 2434 | 2434 | ||
| 2435 | ** New package and Babel language | 2435 | ** New package and Babel language |
| 2436 | 2436 | ||
| @@ -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 | ||