diff options
| author | Juanma Barranquero | 2007-11-11 22:43:06 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-11-11 22:43:06 +0000 |
| commit | 3013ced888c7d438455627009c4fbf32d483d401 (patch) | |
| tree | 3de5ad21eac55daa5a58a02eaa8225ed4f7a0e55 | |
| parent | 34065e5efde6d85307aa2fde77b1af0d059635b3 (diff) | |
| download | emacs-3013ced888c7d438455627009c4fbf32d483d401.tar.gz emacs-3013ced888c7d438455627009c4fbf32d483d401.zip | |
(iso-translate-conventions): Doc fix.
(iso-aggressive-german-trans-tab, iso-conservative-german-trans-tab,
iso-tex2iso-trans-tab, iso-gtex2iso-trans-tab): Reflow docstring.
(iso-spanish, iso-german, iso-iso2tex, iso-tex2iso, iso-gtex2iso, iso-iso2gtex,
iso-iso2duden, iso-iso2sgml, iso-sgml2iso): Rewrite in active voice.
| -rw-r--r-- | lisp/international/iso-cvt.el | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/lisp/international/iso-cvt.el b/lisp/international/iso-cvt.el index d7149b8a9bc..f2725e9d854 100644 --- a/lisp/international/iso-cvt.el +++ b/lisp/international/iso-cvt.el | |||
| @@ -65,7 +65,7 @@ | |||
| 65 | "Spanish translation table.") | 65 | "Spanish translation table.") |
| 66 | 66 | ||
| 67 | (defun iso-translate-conventions (from to trans-tab) | 67 | (defun iso-translate-conventions (from to trans-tab) |
| 68 | "Use the translation table TRANS-TAB to translate the current buffer." | 68 | "Translate between FROM and TO using the translation table TRANS-TAB." |
| 69 | (save-excursion | 69 | (save-excursion |
| 70 | (save-restriction | 70 | (save-restriction |
| 71 | (narrow-to-region from to) | 71 | (narrow-to-region from to) |
| @@ -84,8 +84,8 @@ | |||
| 84 | ;;;###autoload | 84 | ;;;###autoload |
| 85 | (defun iso-spanish (from to &optional buffer) | 85 | (defun iso-spanish (from to &optional buffer) |
| 86 | "Translate net conventions for Spanish to ISO 8859-1. | 86 | "Translate net conventions for Spanish to ISO 8859-1. |
| 87 | The region between FROM and TO is translated using | 87 | Translate the region between FROM and TO using the table |
| 88 | the table `iso-spanish-trans-tab'. | 88 | `iso-spanish-trans-tab'. |
| 89 | Optional arg BUFFER is ignored (for use in `format-alist')." | 89 | Optional arg BUFFER is ignored (for use in `format-alist')." |
| 90 | (interactive "*r") | 90 | (interactive "*r") |
| 91 | (iso-translate-conventions from to iso-spanish-trans-tab)) | 91 | (iso-translate-conventions from to iso-spanish-trans-tab)) |
| @@ -102,8 +102,8 @@ Optional arg BUFFER is ignored (for use in `format-alist')." | |||
| 102 | ("\\\\3" "ß") | 102 | ("\\\\3" "ß") |
| 103 | ) | 103 | ) |
| 104 | "German translation table. | 104 | "German translation table. |
| 105 | This table uses an aggressive translation approach and may erroneously | 105 | This table uses an aggressive translation approach |
| 106 | translate too much.") | 106 | and may erroneously translate too much.") |
| 107 | 107 | ||
| 108 | (defvar iso-conservative-german-trans-tab | 108 | (defvar iso-conservative-german-trans-tab |
| 109 | '( | 109 | '( |
| @@ -117,8 +117,8 @@ translate too much.") | |||
| 117 | ("\\([-a-zA-Z\"`]\\)\\\\3" "\\1ß") | 117 | ("\\([-a-zA-Z\"`]\\)\\\\3" "\\1ß") |
| 118 | ) | 118 | ) |
| 119 | "German translation table. | 119 | "German translation table. |
| 120 | This table uses a conservative translation approach and may translate too | 120 | This table uses a conservative translation approach |
| 121 | little.") | 121 | and may translate too little.") |
| 122 | 122 | ||
| 123 | (defvar iso-german-trans-tab iso-aggressive-german-trans-tab | 123 | (defvar iso-german-trans-tab iso-aggressive-german-trans-tab |
| 124 | "Currently active translation table for German.") | 124 | "Currently active translation table for German.") |
| @@ -126,8 +126,8 @@ little.") | |||
| 126 | ;;;###autoload | 126 | ;;;###autoload |
| 127 | (defun iso-german (from to &optional buffer) | 127 | (defun iso-german (from to &optional buffer) |
| 128 | "Translate net conventions for German to ISO 8859-1. | 128 | "Translate net conventions for German to ISO 8859-1. |
| 129 | The region between FROM and TO is translated using | 129 | Translate the region FROM and TO using the table |
| 130 | the table `iso-german-trans-tab'. | 130 | `iso-german-trans-tab'. |
| 131 | Optional arg BUFFER is ignored (for use in `format-alist')." | 131 | Optional arg BUFFER is ignored (for use in `format-alist')." |
| 132 | (interactive "*r") | 132 | (interactive "*r") |
| 133 | (iso-translate-conventions from to iso-german-trans-tab)) | 133 | (iso-translate-conventions from to iso-german-trans-tab)) |
| @@ -199,8 +199,8 @@ Optional arg BUFFER is ignored (for use in `format-alist')." | |||
| 199 | ;;;###autoload | 199 | ;;;###autoload |
| 200 | (defun iso-iso2tex (from to &optional buffer) | 200 | (defun iso-iso2tex (from to &optional buffer) |
| 201 | "Translate ISO 8859-1 characters to TeX sequences. | 201 | "Translate ISO 8859-1 characters to TeX sequences. |
| 202 | The region between FROM and TO is translated using | 202 | Translate the region between FROM and TO using the table |
| 203 | the table `iso-iso2tex-trans-tab'. | 203 | `iso-iso2tex-trans-tab'. |
| 204 | Optional arg BUFFER is ignored (for use in `format-alist')." | 204 | Optional arg BUFFER is ignored (for use in `format-alist')." |
| 205 | (interactive "*r") | 205 | (interactive "*r") |
| 206 | (iso-translate-conventions from to iso-iso2tex-trans-tab)) | 206 | (iso-translate-conventions from to iso-iso2tex-trans-tab)) |
| @@ -386,14 +386,14 @@ Optional arg BUFFER is ignored (for use in `format-alist')." | |||
| 386 | ("!`" "¡") | 386 | ("!`" "¡") |
| 387 | ) | 387 | ) |
| 388 | "Translation table for translating TeX sequences to ISO 8859-1 characters. | 388 | "Translation table for translating TeX sequences to ISO 8859-1 characters. |
| 389 | This table is not exhaustive (and due to TeX's power can never be). It only | 389 | This table is not exhaustive (and due to TeX's power can never be). |
| 390 | contains commonly used sequences.") | 390 | It only contains commonly used sequences.") |
| 391 | 391 | ||
| 392 | ;;;###autoload | 392 | ;;;###autoload |
| 393 | (defun iso-tex2iso (from to &optional buffer) | 393 | (defun iso-tex2iso (from to &optional buffer) |
| 394 | "Translate TeX sequences to ISO 8859-1 characters. | 394 | "Translate TeX sequences to ISO 8859-1 characters. |
| 395 | The region between FROM and TO is translated using | 395 | Translate the region between FROM and TO using the table |
| 396 | the table `iso-tex2iso-trans-tab'. | 396 | `iso-tex2iso-trans-tab'. |
| 397 | Optional arg BUFFER is ignored (for use in `format-alist')." | 397 | Optional arg BUFFER is ignored (for use in `format-alist')." |
| 398 | (interactive "*r") | 398 | (interactive "*r") |
| 399 | (iso-translate-conventions from to iso-tex2iso-trans-tab)) | 399 | (iso-translate-conventions from to iso-tex2iso-trans-tab)) |
| @@ -581,8 +581,8 @@ Optional arg BUFFER is ignored (for use in `format-alist')." | |||
| 581 | ("\\\\3" "ß") | 581 | ("\\\\3" "ß") |
| 582 | ) | 582 | ) |
| 583 | "Translation table for translating German TeX sequences to ISO 8859-1. | 583 | "Translation table for translating German TeX sequences to ISO 8859-1. |
| 584 | This table is not exhaustive (and due to TeX's power can never be). It only | 584 | This table is not exhaustive (and due to TeX's power can never be). |
| 585 | contains commonly used sequences.") | 585 | It only contains commonly used sequences.") |
| 586 | 586 | ||
| 587 | (defvar iso-iso2gtex-trans-tab | 587 | (defvar iso-iso2gtex-trans-tab |
| 588 | '( | 588 | '( |
| @@ -651,8 +651,8 @@ contains commonly used sequences.") | |||
| 651 | ;;;###autoload | 651 | ;;;###autoload |
| 652 | (defun iso-gtex2iso (from to &optional buffer) | 652 | (defun iso-gtex2iso (from to &optional buffer) |
| 653 | "Translate German TeX sequences to ISO 8859-1 characters. | 653 | "Translate German TeX sequences to ISO 8859-1 characters. |
| 654 | The region between FROM and TO is translated using | 654 | Translate the region between FROM and TO using the table |
| 655 | the table `iso-gtex2iso-trans-tab'. | 655 | `iso-gtex2iso-trans-tab'. |
| 656 | Optional arg BUFFER is ignored (for use in `format-alist')." | 656 | Optional arg BUFFER is ignored (for use in `format-alist')." |
| 657 | (interactive "*r") | 657 | (interactive "*r") |
| 658 | (iso-translate-conventions from to iso-gtex2iso-trans-tab)) | 658 | (iso-translate-conventions from to iso-gtex2iso-trans-tab)) |
| @@ -660,8 +660,8 @@ Optional arg BUFFER is ignored (for use in `format-alist')." | |||
| 660 | ;;;###autoload | 660 | ;;;###autoload |
| 661 | (defun iso-iso2gtex (from to &optional buffer) | 661 | (defun iso-iso2gtex (from to &optional buffer) |
| 662 | "Translate ISO 8859-1 characters to German TeX sequences. | 662 | "Translate ISO 8859-1 characters to German TeX sequences. |
| 663 | The region between FROM and TO is translated using | 663 | Translate the region between FROM and TO using the table |
| 664 | the table `iso-iso2gtex-trans-tab'. | 664 | `iso-iso2gtex-trans-tab'. |
| 665 | Optional arg BUFFER is ignored (for use in `format-alist')." | 665 | Optional arg BUFFER is ignored (for use in `format-alist')." |
| 666 | (interactive "*r") | 666 | (interactive "*r") |
| 667 | (iso-translate-conventions from to iso-iso2gtex-trans-tab)) | 667 | (iso-translate-conventions from to iso-iso2gtex-trans-tab)) |
| @@ -679,8 +679,8 @@ Optional arg BUFFER is ignored (for use in `format-alist')." | |||
| 679 | ;;;###autoload | 679 | ;;;###autoload |
| 680 | (defun iso-iso2duden (from to &optional buffer) | 680 | (defun iso-iso2duden (from to &optional buffer) |
| 681 | "Translate ISO 8859-1 characters to Duden sequences. | 681 | "Translate ISO 8859-1 characters to Duden sequences. |
| 682 | The region between FROM and TO is translated using | 682 | Translate the region between FROM and TO using the table |
| 683 | the table `iso-iso2duden-trans-tab'. | 683 | `iso-iso2duden-trans-tab'. |
| 684 | Optional arg BUFFER is ignored (for use in `format-alist')." | 684 | Optional arg BUFFER is ignored (for use in `format-alist')." |
| 685 | (interactive "*r") | 685 | (interactive "*r") |
| 686 | (iso-translate-conventions from to iso-iso2duden-trans-tab)) | 686 | (iso-translate-conventions from to iso-iso2duden-trans-tab)) |
| @@ -817,7 +817,7 @@ Optional arg BUFFER is ignored (for use in `format-alist')." | |||
| 817 | ;;;###autoload | 817 | ;;;###autoload |
| 818 | (defun iso-iso2sgml (from to &optional buffer) | 818 | (defun iso-iso2sgml (from to &optional buffer) |
| 819 | "Translate ISO 8859-1 characters in the region to SGML entities. | 819 | "Translate ISO 8859-1 characters in the region to SGML entities. |
| 820 | The entities used are from \"ISO 8879:1986//ENTITIES Added Latin 1//EN\". | 820 | Use entities from \"ISO 8879:1986//ENTITIES Added Latin 1//EN\". |
| 821 | Optional arg BUFFER is ignored (for use in `format-alist')." | 821 | Optional arg BUFFER is ignored (for use in `format-alist')." |
| 822 | (interactive "*r") | 822 | (interactive "*r") |
| 823 | (iso-translate-conventions from to iso-iso2sgml-trans-tab)) | 823 | (iso-translate-conventions from to iso-iso2sgml-trans-tab)) |
| @@ -825,7 +825,7 @@ Optional arg BUFFER is ignored (for use in `format-alist')." | |||
| 825 | ;;;###autoload | 825 | ;;;###autoload |
| 826 | (defun iso-sgml2iso (from to &optional buffer) | 826 | (defun iso-sgml2iso (from to &optional buffer) |
| 827 | "Translate SGML entities in the region to ISO 8859-1 characters. | 827 | "Translate SGML entities in the region to ISO 8859-1 characters. |
| 828 | The entities used are from \"ISO 8879:1986//ENTITIES Added Latin 1//EN\". | 828 | Use entities from \"ISO 8879:1986//ENTITIES Added Latin 1//EN\". |
| 829 | Optional arg BUFFER is ignored (for use in `format-alist')." | 829 | Optional arg BUFFER is ignored (for use in `format-alist')." |
| 830 | (interactive "*r") | 830 | (interactive "*r") |
| 831 | (iso-translate-conventions from to iso-sgml2iso-trans-tab)) | 831 | (iso-translate-conventions from to iso-sgml2iso-trans-tab)) |