aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2007-11-11 22:43:06 +0000
committerJuanma Barranquero2007-11-11 22:43:06 +0000
commit3013ced888c7d438455627009c4fbf32d483d401 (patch)
tree3de5ad21eac55daa5a58a02eaa8225ed4f7a0e55
parent34065e5efde6d85307aa2fde77b1af0d059635b3 (diff)
downloademacs-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.el50
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.
87The region between FROM and TO is translated using 87Translate the region between FROM and TO using the table
88the table `iso-spanish-trans-tab'. 88`iso-spanish-trans-tab'.
89Optional arg BUFFER is ignored (for use in `format-alist')." 89Optional 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.
105This table uses an aggressive translation approach and may erroneously 105This table uses an aggressive translation approach
106translate too much.") 106and 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.
120This table uses a conservative translation approach and may translate too 120This table uses a conservative translation approach
121little.") 121and 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.
129The region between FROM and TO is translated using 129Translate the region FROM and TO using the table
130the table `iso-german-trans-tab'. 130`iso-german-trans-tab'.
131Optional arg BUFFER is ignored (for use in `format-alist')." 131Optional 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.
202The region between FROM and TO is translated using 202Translate the region between FROM and TO using the table
203the table `iso-iso2tex-trans-tab'. 203`iso-iso2tex-trans-tab'.
204Optional arg BUFFER is ignored (for use in `format-alist')." 204Optional 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.
389This table is not exhaustive (and due to TeX's power can never be). It only 389This table is not exhaustive (and due to TeX's power can never be).
390contains commonly used sequences.") 390It 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.
395The region between FROM and TO is translated using 395Translate the region between FROM and TO using the table
396the table `iso-tex2iso-trans-tab'. 396`iso-tex2iso-trans-tab'.
397Optional arg BUFFER is ignored (for use in `format-alist')." 397Optional 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.
584This table is not exhaustive (and due to TeX's power can never be). It only 584This table is not exhaustive (and due to TeX's power can never be).
585contains commonly used sequences.") 585It 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.
654The region between FROM and TO is translated using 654Translate the region between FROM and TO using the table
655the table `iso-gtex2iso-trans-tab'. 655`iso-gtex2iso-trans-tab'.
656Optional arg BUFFER is ignored (for use in `format-alist')." 656Optional 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.
663The region between FROM and TO is translated using 663Translate the region between FROM and TO using the table
664the table `iso-iso2gtex-trans-tab'. 664`iso-iso2gtex-trans-tab'.
665Optional arg BUFFER is ignored (for use in `format-alist')." 665Optional 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.
682The region between FROM and TO is translated using 682Translate the region between FROM and TO using the table
683the table `iso-iso2duden-trans-tab'. 683`iso-iso2duden-trans-tab'.
684Optional arg BUFFER is ignored (for use in `format-alist')." 684Optional 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.
820The entities used are from \"ISO 8879:1986//ENTITIES Added Latin 1//EN\". 820Use entities from \"ISO 8879:1986//ENTITIES Added Latin 1//EN\".
821Optional arg BUFFER is ignored (for use in `format-alist')." 821Optional 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.
828The entities used are from \"ISO 8879:1986//ENTITIES Added Latin 1//EN\". 828Use entities from \"ISO 8879:1986//ENTITIES Added Latin 1//EN\".
829Optional arg BUFFER is ignored (for use in `format-alist')." 829Optional 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))