1635 |
Type @kbd{C-q} followed by the key you want to bind, to insert @var{char}. |
Type @kbd{C-q} followed by the key you want to bind, to insert @var{char}. |
1636 |
|
|
1637 |
Since this puts a non-@acronym{ASCII} character in the @file{.emacs}, |
Since this puts a non-@acronym{ASCII} character in the @file{.emacs}, |
1638 |
you should specify the proper coding system for that file. @xref{Init |
you should specify for that file a coding system that supports |
1639 |
Syntax}. You should specify the same coding system for the file that |
that character. @xref{Init Syntax}. |
|
you use for your keyboard. |
|
1640 |
|
|
1641 |
@strong{Warning:} if you change the keyboard encoding, or change |
@strong{Warning:} if you change the keyboard encoding, such that the code that |
|
from unibyte to multibyte mode, such that the code that |
|
1642 |
@kbd{C-q} inserts becomes different, you'll need to edit the |
@kbd{C-q} inserts becomes different, you'll need to edit the |
1643 |
Lisp expression accordingly. |
Lisp expression accordingly. |
1644 |
|
|
1645 |
If you bind 8-bit characters like this in your init file, you may find it |
@strong{Warning:} @kbd{C-q} will insert the wrong code if you visit |
1646 |
convenient to specify that it is unibyte. @xref{Enabling Multibyte}. |
the file @file{.emacs} in a unibyte buffer, so don't do that. |
1647 |
|
|
1648 |
@node Mouse Buttons |
@node Mouse Buttons |
1649 |
@subsection Rebinding Mouse Buttons |
@subsection Rebinding Mouse Buttons |