Mercurial > emacs
comparison lisp/textmodes/two-column.el @ 923:9f3cc03dae67
entered into RCS
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Tue, 04 Aug 1992 04:15:43 +0000 |
parents | 113281b361ec |
children | f8a5da3d18e8 |
comparison
equal
deleted
inserted
replaced
922:52cd80cb5be1 | 923:9f3cc03dae67 |
---|---|
124 | 124 |
125 | 125 |
126 ;; An^stata^u tri `autoload' kaj tri | Instead of three `autoload' and | 126 ;; An^stata^u tri `autoload' kaj tri | Instead of three `autoload' and |
127 ;; `global-set-key' vi povas uzi la | three `global-set-key' you can use | 127 ;; `global-set-key' vi povas uzi la | three `global-set-key' you can use |
128 ;; jenon en via dataro ~/.emacs, por | the following in your file | 128 ;; jenon en via dataro ~/.emacs, por | the following in your file |
129 ;; memstare ^car^gi la modalon: | ~/.emacs, to automatically load | 129 ;; memstare ^car^gi la modalon: | ~/.emacs, to automatically load |
130 ;; | the mode: | 130 ;; | the mode: |
131 | 131 |
132 ;; (global-set-key "\C-x6" | 132 ;; (global-set-key "\C-x6" |
133 ;; '(lambda () (interactive) | 133 ;; '(lambda () (interactive) |
134 ;; (load-library "two-column") | 134 ;; (load-library "two-column") |
135 ;; (call-interactively | 135 ;; (call-interactively |
136 ;; (cdr (assq (read-char) tc-mode-map))))) | 136 ;; (cdr (assq (read-char) tc-mode-map))))) |
137 | 137 |
138 ;; Se vi ^satus havi la dukolumnajn | If you'd like to have the | 138 ;; Se vi ^satus havi la dukolumnajn | If you'd like to have the |
139 ;; ordonojn je funkciklavo <f2>, vi | two-column commands on function | 139 ;; ordonojn je funkciklavo <f2>, vi | two-column commands on function |
140 ;; povas uzi la jenon en via dataro | key <f2>, you can use the | 140 ;; povas uzi la jenon en via dataro | key <f2>, you can use the |
141 ;; ~/.emacs: | following in your file ~/.emacs: | 141 ;; ~/.emacs: | following in your file ~/.emacs: |
142 | 142 |
143 ;; (define-key function-keymap "\^b" | 143 ;; (global-set-key [f2] (function |
144 ;; '(lambda () (interactive) | 144 ;; (lambda () |
145 ;; (load-library "two-column") | 145 ;; (interactive) |
146 ;; (define-key function-keymap "\^b" tc-mode-map) | 146 ;; (load-library "two-column") |
147 ;; (call-interactively | 147 ;; (global-set-key [f2] tc-mode-map) |
148 ;; (cdr (assq (read-char) tc-mode-map))))) | 148 ;; (call-interactively |
149 ;; (cdr (assq (read-char) tc-mode-map)))))) | |
149 | 150 |
150 ;; In addition to two-column editing of text, for example for writing a | 151 ;; In addition to two-column editing of text, for example for writing a |
151 ;; bilingual text side-by-side as shown below in the file's prolog, other | 152 ;; bilingual text side-by-side as shown below in the file's prolog, other |
152 ;; interesting uses have been found for this minor mode: | 153 ;; interesting uses have been found for this minor mode: |
153 ;; | 154 ;; |
154 ;; | 155 ;; |
155 ;; You can separate the columns with {+} C-x 6 u or <f2> u if you prefer | 156 ;; You can separate the columns with {+} C-x 6 u or <f2> u if you prefer |
156 ;; any string that pleases you, by {+} handles these with a prefix argument | 157 ;; any string that pleases you, by {+} handles these with a prefix argument |
157 ;; setting tc-separator. For {+} that enables you to declare the | 158 ;; setting tc-separator. For {+} that enables you to declare the |
158 ;; example "{+} " if you like to {+} desired length of such a string. | 159 ;; example "{+} " if you like to {+} desired length of such a string. |
159 ;; amuse yourself. | 160 ;; amuse yourself. |
160 ;; | 161 ;; |
161 ;; | 162 ;; |
162 ;; keyword You can write any text corresponding to a | 163 ;; keyword You can write any text corresponding to a |
163 ;; given keyword in a filled paragraph next to | 164 ;; given keyword in a filled paragraph next to |