diff options
| author | Paul Eggert | 2012-05-28 23:16:49 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-05-28 23:16:49 -0700 |
| commit | c846da43835e99fa53c772814aa43c9ae7ac571b (patch) | |
| tree | 600a59a1a82be54023d58c1d82f9b2847becd07d /lisp/textmodes | |
| parent | b8f061b373e606e5ba757870ffa25b36c0df2d83 (diff) | |
| download | emacs-c846da43835e99fa53c772814aa43c9ae7ac571b.tar.gz emacs-c846da43835e99fa53c772814aa43c9ae7ac571b.zip | |
Spelling fixes.
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/rst.el | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el index 262a49e2668..c7da1fb5f80 100644 --- a/lisp/textmodes/rst.el +++ b/lisp/textmodes/rst.el | |||
| @@ -446,7 +446,7 @@ For the keyword `:alt' the results form an alternative (\"\\|\") | |||
| 446 | which is shy-grouped (\"\\(?:...\\)\"). | 446 | which is shy-grouped (\"\\(?:...\\)\"). |
| 447 | 447 | ||
| 448 | For the keyword `:grp' the results are concatenated and form a | 448 | For the keyword `:grp' the results are concatenated and form a |
| 449 | referencable grouped (\"\\(...\\)\"). | 449 | referenceable grouped (\"\\(...\\)\"). |
| 450 | 450 | ||
| 451 | After interpretation of ARGS the results are concatenated as for | 451 | After interpretation of ARGS the results are concatenated as for |
| 452 | `:seq'. | 452 | `:seq'. |
| @@ -1066,11 +1066,11 @@ Return nil if no syntactically valid adornment is found." | |||
| 1066 | (beg-pnt (progn | 1066 | (beg-pnt (progn |
| 1067 | (forward-line 0) | 1067 | (forward-line 0) |
| 1068 | (point))) | 1068 | (point))) |
| 1069 | (nxt-emp ; Next line inexistant or empty | 1069 | (nxt-emp ; Next line nonexistent or empty |
| 1070 | (save-excursion | 1070 | (save-excursion |
| 1071 | (or (not (zerop (forward-line 1))) | 1071 | (or (not (zerop (forward-line 1))) |
| 1072 | (looking-at (rst-re 'lin-end))))) | 1072 | (looking-at (rst-re 'lin-end))))) |
| 1073 | (prv-emp ; Previous line inexistant or empty | 1073 | (prv-emp ; Previous line nonexistent or empty |
| 1074 | (save-excursion | 1074 | (save-excursion |
| 1075 | (or (not (zerop (forward-line -1))) | 1075 | (or (not (zerop (forward-line -1))) |
| 1076 | (looking-at (rst-re 'lin-end))))) | 1076 | (looking-at (rst-re 'lin-end))))) |
| @@ -1917,7 +1917,7 @@ Other situations are just ignored and left to users themselves." | |||
| 1917 | "Insert a new list item. | 1917 | "Insert a new list item. |
| 1918 | 1918 | ||
| 1919 | User is asked to select the item style first, for example (a), i), +. Use TAB | 1919 | User is asked to select the item style first, for example (a), i), +. Use TAB |
| 1920 | for completition and choices. | 1920 | for completion and choices. |
| 1921 | 1921 | ||
| 1922 | If user selects bullets or #, it's just added with position arranged by | 1922 | If user selects bullets or #, it's just added with position arranged by |
| 1923 | `rst-insert-list-pos'. | 1923 | `rst-insert-list-pos'. |
| @@ -2020,7 +2020,7 @@ line, it will insert a list with the same list style. | |||
| 2020 | 1. When inserting a new list: | 2020 | 1. When inserting a new list: |
| 2021 | 2021 | ||
| 2022 | User is asked to select the item style first, for example (a), i), +. Use TAB | 2022 | User is asked to select the item style first, for example (a), i), +. Use TAB |
| 2023 | for completition and choices. | 2023 | for completion and choices. |
| 2024 | 2024 | ||
| 2025 | (a) If user selects bullets or #, it's just added. | 2025 | (a) If user selects bullets or #, it's just added. |
| 2026 | (b) If user selects enumerations, a further prompt is given. User needs to | 2026 | (b) If user selects enumerations, a further prompt is given. User needs to |
| @@ -2754,11 +2754,11 @@ first of a paragraph." | |||
| 2754 | ;; supported; comment lines with leading comment markup should be also | 2754 | ;; supported; comment lines with leading comment markup should be also |
| 2755 | ;; supported; may be a customizable option could control which style to prefer | 2755 | ;; supported; may be a customizable option could control which style to prefer |
| 2756 | 2756 | ||
| 2757 | (defgroup rst-indent nil "Settings for indendation in reStructuredText. | 2757 | (defgroup rst-indent nil "Settings for indentation in reStructuredText. |
| 2758 | 2758 | ||
| 2759 | In reStructuredText indendation points are usually determined by | 2759 | In reStructuredText indentation points are usually determined by |
| 2760 | preceding lines. Sometimes the syntax allows arbitrary | 2760 | preceding lines. Sometimes the syntax allows arbitrary |
| 2761 | indendation points such as where to start the first line | 2761 | indentation points such as where to start the first line |
| 2762 | following a directive. These indentation widths can be customized | 2762 | following a directive. These indentation widths can be customized |
| 2763 | here." | 2763 | here." |
| 2764 | :group 'rst | 2764 | :group 'rst |
| @@ -2772,25 +2772,25 @@ here." | |||
| 2772 | :type '(integer)) | 2772 | :type '(integer)) |
| 2773 | 2773 | ||
| 2774 | (defcustom rst-indent-field 3 | 2774 | (defcustom rst-indent-field 3 |
| 2775 | "Default indendation for first line after a field or 0 to always indent for | 2775 | "Default indentation for first line after a field or 0 to always indent for |
| 2776 | content." | 2776 | content." |
| 2777 | :group 'rst-indent | 2777 | :group 'rst-indent |
| 2778 | :type '(integer)) | 2778 | :type '(integer)) |
| 2779 | 2779 | ||
| 2780 | (defcustom rst-indent-literal-normal 3 | 2780 | (defcustom rst-indent-literal-normal 3 |
| 2781 | "Default indendation for literal block after a markup on an own | 2781 | "Default indentation for literal block after a markup on an own |
| 2782 | line." | 2782 | line." |
| 2783 | :group 'rst-indent | 2783 | :group 'rst-indent |
| 2784 | :type '(integer)) | 2784 | :type '(integer)) |
| 2785 | 2785 | ||
| 2786 | (defcustom rst-indent-literal-minimized 2 | 2786 | (defcustom rst-indent-literal-minimized 2 |
| 2787 | "Default indendation for literal block after a minimized | 2787 | "Default indentation for literal block after a minimized |
| 2788 | markup." | 2788 | markup." |
| 2789 | :group 'rst-indent | 2789 | :group 'rst-indent |
| 2790 | :type '(integer)) | 2790 | :type '(integer)) |
| 2791 | 2791 | ||
| 2792 | (defcustom rst-indent-comment 3 | 2792 | (defcustom rst-indent-comment 3 |
| 2793 | "Default indendation for first line of a comment." | 2793 | "Default indentation for first line of a comment." |
| 2794 | :group 'rst-indent | 2794 | :group 'rst-indent |
| 2795 | :type '(integer)) | 2795 | :type '(integer)) |
| 2796 | 2796 | ||
| @@ -2810,7 +2810,7 @@ and not from inner alignment points." | |||
| 2810 | (save-match-data | 2810 | (save-match-data |
| 2811 | (unless (looking-at (rst-re 'lin-end)) | 2811 | (unless (looking-at (rst-re 'lin-end)) |
| 2812 | (back-to-indentation) | 2812 | (back-to-indentation) |
| 2813 | ;; Current indendation is always the least likely tab | 2813 | ;; Current indentation is always the least likely tab |
| 2814 | (let ((tabs (list (list (point) 0 nil)))) ; (POINT OFFSET INNER) | 2814 | (let ((tabs (list (list (point) 0 nil)))) ; (POINT OFFSET INNER) |
| 2815 | ;; Push inner tabs more likely to continue writing | 2815 | ;; Push inner tabs more likely to continue writing |
| 2816 | (cond | 2816 | (cond |
| @@ -2863,7 +2863,7 @@ and not from inner alignment points." | |||
| 2863 | Search backwards from point PT to build the list of possible | 2863 | Search backwards from point PT to build the list of possible |
| 2864 | tabs. Return a list of tabs sorted by likeliness to continue | 2864 | tabs. Return a list of tabs sorted by likeliness to continue |
| 2865 | writing like `rst-line-tabs'. Nearer lines have generally a | 2865 | writing like `rst-line-tabs'. Nearer lines have generally a |
| 2866 | higher likeliness than farer lines. Return nil if no tab is found | 2866 | higher likeliness than farther lines. Return nil if no tab is found |
| 2867 | in the text above." | 2867 | in the text above." |
| 2868 | (save-excursion | 2868 | (save-excursion |
| 2869 | (goto-char pt) | 2869 | (goto-char pt) |
| @@ -3452,7 +3452,7 @@ details check the Rst Faces Defaults group." | |||
| 3452 | 1 rst-definition-face) | 3452 | 1 rst-definition-face) |
| 3453 | ;; `Hyperlink References`_ | 3453 | ;; `Hyperlink References`_ |
| 3454 | ;; FIXME: `Embedded URIs`_ not considered | 3454 | ;; FIXME: `Embedded URIs`_ not considered |
| 3455 | ;; FIXME: Directly adjacing marked up words are not fontified correctly | 3455 | ;; FIXME: Directly adjacent marked up words are not fontified correctly |
| 3456 | ;; unless they are not separated by two spaces: foo_ bar_ | 3456 | ;; unless they are not separated by two spaces: foo_ bar_ |
| 3457 | (,(rst-re 'ilm-pfx '(:grp (:alt (:seq "`" ilcbkq-tag "`") | 3457 | (,(rst-re 'ilm-pfx '(:grp (:alt (:seq "`" ilcbkq-tag "`") |
| 3458 | (:seq "\\sw" (:alt "\\sw" "-") "+\\sw")) | 3458 | (:seq "\\sw" (:alt "\\sw" "-") "+\\sw")) |
| @@ -3610,7 +3610,7 @@ Return extended point or nil if not moved." | |||
| 3610 | ;; | 3610 | ;; |
| 3611 | ;; * literal blocks following "::" | 3611 | ;; * literal blocks following "::" |
| 3612 | ;; | 3612 | ;; |
| 3613 | ;; which are both indented. Thus indendation is the first thing recognized | 3613 | ;; which are both indented. Thus indentation is the first thing recognized |
| 3614 | ;; here. The second criteria is an explicit markup tag which may be a comment | 3614 | ;; here. The second criteria is an explicit markup tag which may be a comment |
| 3615 | ;; or a double colon at the end of a line. | 3615 | ;; or a double colon at the end of a line. |
| 3616 | ;; | 3616 | ;; |
| @@ -3697,7 +3697,7 @@ Also used as a trigger for | |||
| 3697 | `rst-font-lock-find-unindented-line-match'.") | 3697 | `rst-font-lock-find-unindented-line-match'.") |
| 3698 | 3698 | ||
| 3699 | (defun rst-font-lock-find-unindented-line-limit (ind-pnt) | 3699 | (defun rst-font-lock-find-unindented-line-limit (ind-pnt) |
| 3700 | "Find the next unindented line relative to indenation at IND-PNT. | 3700 | "Find the next unindented line relative to indentation at IND-PNT. |
| 3701 | Return this point, the end of the buffer or nil if nothing found. | 3701 | Return this point, the end of the buffer or nil if nothing found. |
| 3702 | If IND-PNT is `next' take the indentation from the next line if | 3702 | If IND-PNT is `next' take the indentation from the next line if |
| 3703 | this is not empty and indented more than the current one. If | 3703 | this is not empty and indented more than the current one. If |