diff options
| author | Pierre Courtieu | 2004-04-05 15:30:23 +0000 |
|---|---|---|
| committer | Pierre Courtieu | 2004-04-05 15:30:23 +0000 |
| commit | e15470fba6208e47a1a5c8e6e9cf1bd12be4c820 (patch) | |
| tree | fa9b5dd6b1ed3114e5e65c5bfd24381cfbd6e90b /generic | |
| parent | 7936d6b8fe6dbcb03532be76b1159020d1c7aa09 (diff) | |
Fixed the short doc on holes
Diffstat (limited to 'generic')
| -rw-r--r-- | generic/holes.el | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/generic/holes.el b/generic/holes.el index c32b21f6..98cbff56 100644 --- a/generic/holes.el +++ b/generic/holes.el @@ -27,13 +27,11 @@ (switch-to-buffer-other-window "*doc holes*") (insert " -The highlighted # in your buffer are \"holes\", holes are a powerful -feature for program editing. the character '#' is inserted to make -empty holes visible. You can delete them like usual characters. If you -don't replace \"#\"s by something else (see below), it will be saved -in the buffer's file as usual '#' characters. To delete a hole, click -on it with button 3 of your mouse. See the short documentation below -to learn how to use holes. +The highlighted characters in your buffer are \"holes\", holes are a +powerful feature for program editing. You can delete them like usual +characters. If you don't replace holes by something else (see below), +they will be saved in the buffer's file as usual characters. See the +short documentation below to learn how to use holes. HOLES @@ -52,7 +50,7 @@ zero active hole globally. It is highlighted with a different color. TO DEFINE A HOLE, two methods: o Select a region with keyboard (ctrl-space) or mouse, then hit -ctrl-meta-h. If the selected region is empty (i.e. if you just +ctrl-meta-h. If the selected region is empty (i.e. if you just hit ctrl+meta+h), then a hole containing '#' is created. o Select text with mouse while pressing ctrl + meta. If the selected @@ -90,7 +88,7 @@ to put at its place. The following hole is automatically made active, so you can hit meta-return again. It is useful in combination with abbreviations. For example in -coq-mode \"f\" is an abbreviation for Fixpoint # (# : #) {struct #} : +coq-mode \"fix\" is an abbreviation for Fixpoint # (# : #) {struct #} : # := #, where each # is a hole. Then hitting meta-return goes from one hole to the following and you can fill-in each hole very quickly. |
