diff options
| author | Richard M. Stallman | 2001-08-08 23:38:27 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-08-08 23:38:27 +0000 |
| commit | 17ec59da80b4ff3136647dff126be3c025da8f70 (patch) | |
| tree | 57f3caebef088ec1483d74af4da4ec21326cd3ea | |
| parent | 7fb4961cb146dd81136bce74b3b661c5c7946774 (diff) | |
| download | emacs-17ec59da80b4ff3136647dff126be3c025da8f70.tar.gz emacs-17ec59da80b4ff3136647dff126be3c025da8f70.zip | |
Show example of specifying C-M-= in Lisp.
Minor cleanup.
| -rw-r--r-- | man/custom.texi | 46 |
1 files changed, 25 insertions, 21 deletions
diff --git a/man/custom.texi b/man/custom.texi index 8c4c6df0356..8eb991fbed7 100644 --- a/man/custom.texi +++ b/man/custom.texi | |||
| @@ -13,10 +13,10 @@ Manual} for how to make more far-reaching changes. | |||
| 13 | Customization that you do within Emacs normally affects only the | 13 | Customization that you do within Emacs normally affects only the |
| 14 | particular Emacs session that you do it in--it does not persist | 14 | particular Emacs session that you do it in--it does not persist |
| 15 | between sessions unless you save the customization in a file such as | 15 | between sessions unless you save the customization in a file such as |
| 16 | @file{.emacs} or @file{.Xdefaults} that will change future sessions. | 16 | @file{.emacs} or @file{.Xdefaults} that will affect future sessions. |
| 17 | @xref{Init File}. In the customization buffer, if you use a | 17 | @xref{Init File}. In the customization buffer, when you save |
| 18 | command to save customizations for future sessions, this actually | 18 | customizations for future sessions, this actually works by editing |
| 19 | works by editing @file{.emacs} for you. | 19 | @file{.emacs} for you. |
| 20 | 20 | ||
| 21 | @menu | 21 | @menu |
| 22 | * Minor Modes:: Each minor mode is one feature you can turn on | 22 | * Minor Modes:: Each minor mode is one feature you can turn on |
| @@ -111,8 +111,9 @@ This requires a window system that can display multiple fonts. | |||
| 111 | 111 | ||
| 112 | ISO Accents mode makes the characters @samp{`}, @samp{'}, @samp{"}, | 112 | ISO Accents mode makes the characters @samp{`}, @samp{'}, @samp{"}, |
| 113 | @samp{^}, @samp{/} and @samp{~} combine with the following letter, to | 113 | @samp{^}, @samp{/} and @samp{~} combine with the following letter, to |
| 114 | produce an accented letter in the ISO Latin-1 character set. | 114 | produce an accented letter in the ISO Latin-1 character set. The |
| 115 | @xref{Single-Byte Character Support}. | 115 | newer and more general feature of input methods more or less |
| 116 | supersedes ISO Accents mode. @xref{Single-Byte Character Support}. | ||
| 116 | 117 | ||
| 117 | Outline minor mode provides the same facilities as the major mode | 118 | Outline minor mode provides the same facilities as the major mode |
| 118 | called Outline mode; but since it is a minor mode instead, you can | 119 | called Outline mode; but since it is a minor mode instead, you can |
| @@ -359,12 +360,13 @@ Group]} field for a group creates a new customization buffer, which | |||
| 359 | shows that group and its contents. This field is a kind of hypertext | 360 | shows that group and its contents. This field is a kind of hypertext |
| 360 | link to another group. | 361 | link to another group. |
| 361 | 362 | ||
| 362 | The @code{Emacs} group includes a few user options itself, but most | 363 | The @code{Emacs} group includes a few user options itself, but |
| 363 | of them are in other groups. By examining various groups, you will | 364 | mainly it contains other groups, which contain more groups, which |
| 364 | eventually find the options and faces that belong to the feature you | 365 | contain the user options. By browsing the hierarchy of groups, you |
| 365 | are interested in customizing. Then you can use the customization | 366 | will eventually find the feature you are interested in customizing. |
| 366 | buffer to set them. You can go straight to a particular group by name | 367 | Then you can use the customization buffer to set the options and faces |
| 367 | using the command @kbd{M-x customize-group}. | 368 | pertaining to that feature. You can also go straight to a particular |
| 369 | group by name, using the command @kbd{M-x customize-group}. | ||
| 368 | 370 | ||
| 369 | @findex customize-browse | 371 | @findex customize-browse |
| 370 | You can view the structure of customization groups on a larger scale | 372 | You can view the structure of customization groups on a larger scale |
| @@ -1619,12 +1621,14 @@ character, write it as a Lisp character constant: @samp{?} followed by | |||
| 1619 | the character as it would appear in a string. | 1621 | the character as it would appear in a string. |
| 1620 | 1622 | ||
| 1621 | Here are examples of using vectors to rebind @kbd{C-=} (a control | 1623 | Here are examples of using vectors to rebind @kbd{C-=} (a control |
| 1622 | character not in ASCII), @kbd{H-a} (a Hyper character; ASCII doesn't | 1624 | character not in ASCII), @kbd{C-M-=} (not in ASCII because @kbd{C-=} |
| 1623 | have Hyper at all), @key{F7} (a function key), and @kbd{C-Mouse-1} (a | 1625 | is not), @kbd{H-a} (a Hyper character; ASCII doesn't have Hyper at |
| 1626 | all), @key{F7} (a function key), and @kbd{C-Mouse-1} (a | ||
| 1624 | keyboard-modified mouse button): | 1627 | keyboard-modified mouse button): |
| 1625 | 1628 | ||
| 1626 | @example | 1629 | @example |
| 1627 | (global-set-key [?\C-=] 'make-symbolic-link) | 1630 | (global-set-key [?\C-=] 'make-symbolic-link) |
| 1631 | (global-set-key [?\M-\C-=] 'make-symbolic-link) | ||
| 1628 | (global-set-key [?\H-a] 'make-symbolic-link) | 1632 | (global-set-key [?\H-a] 'make-symbolic-link) |
| 1629 | (global-set-key [f7] 'make-symbolic-link) | 1633 | (global-set-key [f7] 'make-symbolic-link) |
| 1630 | (global-set-key [C-mouse-1] 'make-symbolic-link) | 1634 | (global-set-key [C-mouse-1] 'make-symbolic-link) |
| @@ -1871,16 +1875,16 @@ moment when you press it down for the second time, Emacs gets a | |||
| 1871 | events, if it has no binding). | 1875 | events, if it has no binding). |
| 1872 | 1876 | ||
| 1873 | @vindex double-click-time | 1877 | @vindex double-click-time |
| 1874 | The variable @code{double-click-time} specifies how long may elapse | 1878 | The variable @code{double-click-time} specifies how much time can |
| 1875 | between clicks that are recognized as a pair. Its value is measured | 1879 | elapse between clicks and still allow them to be grouped as a multiple |
| 1876 | in milliseconds. If the value is @code{nil}, double clicks are not | 1880 | click. Its value is in units of milliseconds. If the value is |
| 1877 | detected at all. If the value is @code{t}, then there is no time | 1881 | @code{nil}, double clicks are not detected at all. If the value is |
| 1878 | limit. | 1882 | @code{t}, then there is no time limit. |
| 1879 | 1883 | ||
| 1880 | @vindex double-click-fuzz | 1884 | @vindex double-click-fuzz |
| 1881 | The variable @code{double-click-fuzz} specifies how much the mouse | 1885 | The variable @code{double-click-fuzz} specifies how much the mouse |
| 1882 | may be moved between clicks that are recognized as a pair. Its value | 1886 | can move between clicks still allow them to be grouped as a multiple |
| 1883 | is measured in pixels. | 1887 | click. Its value is in units of pixels. |
| 1884 | 1888 | ||
| 1885 | The symbols for mouse events also indicate the status of the modifier | 1889 | The symbols for mouse events also indicate the status of the modifier |
| 1886 | keys, with the usual prefixes @samp{C-}, @samp{M-}, @samp{H-}, | 1890 | keys, with the usual prefixes @samp{C-}, @samp{M-}, @samp{H-}, |