[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This mode is used for editing JavaScript code. It is automatically invoked for buffers visiting any file ending in an extension of `.js' or `.pac'.
See the documentation for c++-mode
: JavaScript mode is an extension of
it (see section `Top' in CC Mode Manual). Use the hook
javascript-mode-hook
to execute custom code when entering JavaScript
mode.
The following key mappings are defined:
# | c-electric-pound |
(, ) | c-electric-paren |
* | c-electric-star |
, | c-electric-semi&comma |
/ | c-electric-slash |
: | c-electric-colon |
; | c-electric-semi&comma |
< | c-electric-lt-gt |
> | c-electric-lt-gt |
{ | c-electric-brace |
} | c-electric-brace |
backspace | c-electric-backspace |
delete | c-electric-delete |
return | c-context-line-break |
tab | c-indent-command |
C-c | << Prefix Command >> |
C-i | c-indent-command |
C-m | c-context-line-break |
C-x | << Prefix Command >> |
M-a | c-beginning-of-statement |
M-c | c-comment-edit-at-point |
M-e | c-end-of-statement |
M-j | c-indent-new-comment-line |
M-q | c-fill-paragraph |
M-backspace | backward-kill-word |
M-backward | backward-kill-word |
M-delete | backward-kill-word |
M-linefeed | c-indent-new-comment-line |
M-C-h | backward-kill-word |
M-C-j | c-indent-new-comment-line |
M-C-q | c-indent-exp |
M-C-kp-left | c-beginning-of-statement |
M-C-kp-right | c-end-of-statement |
M-C-left | c-beginning-of-statement |
M-C-right | c-end-of-statement |
C-c . | c-set-style |
C-c C-\ | c-backslash-region |
C-c C-a | c-toggle-auto-state |
C-c C-b | c-submit-bug-report |
C-c C-c | comment-region |
C-c C-d | c-toggle-hungry-state |
C-c C-n | c-forward-conditional |
C-c C-o | c-set-offset |
C-c C-p | c-backward-conditional |
C-c C-q | c-indent-defun |
C-c C-s | c-show-syntactic-information |
C-c C-t | c-toggle-auto-hungry-state |
C-c C-u | c-up-conditional |
C-x f | c-fill-paragraph |
To configure this package, type:
M-x customize-group RET javascript RET |
11.1 About JavaScript |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
JavaScript is a compact, object-based scripting language for developing client and server Internet applications.
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated by XEmacs shared group account on December, 19 2009
using texi2html 1.65.