• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/lisp/progmodes/

Lines Matching +defs:mode +defs:function

12 ;; Maintainer: bug-cc-mode@gnu.org
13 ;; Created: 22-Apr-1997 (split from cc-mode.el)
14 ;; Version: See cc-mode.el
56 ;; Need the function form of `backquote', which isn't standardized
266 Note: The value of `indent-tabs-mode' will determine whether a real
268 When inserting a tab, actually the function stored in the variable
269 `c-insert-tab-function' is called.
279 (defcustom c-insert-tab-function 'insert-tab
282 should be inserted. Value must be a function taking no arguments."
283 :type 'function
295 effect in this mode, nor any of the indentation associated variables,
331 lineup function is used on the `comment-intro' syntactic symbol (the
458 '((pike-mode . "//+!?\\|\\**")
459 (awk-mode . "#+")
467 regexps to specific major modes. The symbol for the major mode is
480 handle the paragraph filling. That's done at mode initialization or
487 before the mode hooks are run. It's therefore necessary to make a
489 variable in a mode hook."
497 (const :format "C " c-mode) (regexp :format "%v"))
499 (const :format "C++ " c++-mode) (regexp :format "%v"))
501 (const :format "ObjC " objc-mode) (regexp :format "%v"))
503 (const :format "Java " java-mode) (regexp :format "%v"))
505 (const :format "IDL " idl-mode) (regexp :format "%v"))
507 (const :format "Pike " pike-mode) (regexp :format "%v"))
509 (const :format "AWK " awk-mode) (regexp :format "%v")))
515 '((java-mode . javadoc)
516 (pike-mode . autodoc)
517 (c-mode . gtkdoc))
525 javadoc -- Javadoc style for \"/** ... */\" comments (default in Java mode).
526 autodoc -- Pike autodoc style for \"//! ...\" comments (default in Pike mode).
527 gtkdoc -- GtkDoc style for \"/** ... **/\" comments (default in C mode).
534 comment styles for different languages. The symbol for the major mode
540 handle fontification etc. That's done at mode initialization or when
543 need to do \\[java-mode] (or whatever mode you're currently using) to
547 modified before the mode hooks are run. If you change this variable
548 in a mode hook, you have to call `c-setup-doc-comment-style'
553 ;; font lock keywords list. If it's a function then it's called and
562 (const :format "C " c-mode)
565 (const :format "C++ " c++-mode)
568 (const :format "ObjC " objc-mode)
571 (const :format "Java " java-mode)
574 (const :format "IDL " idl-mode)
577 (const :format "Pike " pike-mode)
580 (const :format "AWK " awk-mode)
589 If Auto Fill mode is active, it will be temporarily disabled if point
610 is turned on, as evidenced by the `/la' appearing next to the mode
628 one-liner-defun -- If the code inside a function body can fit in
655 parenthesis of a function call. Clean up
657 compact-empty-funcall -- Clean up any space before the function call
677 (const :tag "Put short function bodies on one line (one-liner-defun)"
723 ACTION can be either a function symbol or a list containing any
727 When ACTION is a function symbol, the function is called with a two
729 at which the brace was inserted. The function must return a list as
731 the function, the variable `c-syntactic-context' is set to the entire
746 (function :menu-tag "Function"
747 :format "Run function: %v"
778 variable. Note however that making ACTION a function symbol is
797 auto-newline minor mode is activated (as evidenced by a `/a' or `/ah'
798 string in the mode line), and a semicolon or comma is typed (see
799 `c-electric-semi&comma'). Each function in this list is called with
806 If every function in the list is called with no determination made,
808 :type '(repeat function)
840 (defcustom c-backspace-function 'backward-delete-char-untabify
842 :type 'function
845 (defcustom c-delete-function 'delete-char
847 :type 'function
855 '((c-mode . t)
856 (c++-mode . t)
857 (objc-mode . t))
859 The value is an association list that for each language mode specifies
860 the value to give to `require-final-newline' at mode initialization;
865 (const :format "C " c-mode)
868 (const :format "C++ " c++-mode)
871 (const :format "ObjC " objc-mode)
874 (const :format "Java " java-mode)
877 (const :format "IDL " idl-mode)
880 (const :format "Pike " pike-mode)
883 (const :format "AWK " awk-mode)
895 This hook gets called after each line is indented by the mode. It is only
904 blocks. Specifically, the function `c-gnu-impose-minimum' on your
917 (defcustom c-default-style '((java-mode . "java") (awk-mode . "awk")
923 association list of major mode symbols to style names.
928 When the value is an alist, the major mode symbol is looked up in it
929 and the associated style is installed. If the major mode is not
934 The default style gets installed before your mode hooks run, so you
936 `c-set-style' in the appropriate mode hook."
941 (const :format "C " c-mode) (string :format "%v"))
943 (const :format "C++ " c++-mode) (string :format "%v"))
945 (const :format "ObjC " objc-mode) (string :format "%v"))
947 (const :format "Java " java-mode) (string :format "%v"))
949 (const :format "IDL " idl-mode) (string :format "%v"))
951 (const :format "Pike " pike-mode) (string :format "%v"))
953 (const :format "AWK " awk-mode) (string :format "%v"))
1179 If OFFSET is a function or a lambda expression then it's called with
1182 from the function is then reinterpreted as an offset specification.
1212 defun-open -- Brace that opens a function definition.
1213 defun-close -- Brace that closes a function definition.
1219 func-decl-cont -- The region between a function definition's
1220 argument list and the function opening brace
1287 inlambda -- In the header or body of a lambda function.
1288 lambda-intro-cont -- Continuation of the header of a lambda function.
1350 (defcustom c-mode-hook nil
1351 "*Hook called by `c-mode'."
1355 (defcustom c++-mode-hook nil
1356 "*Hook called by `c++-mode'."
1360 (defcustom objc-mode-hook nil
1361 "*Hook called by `objc-mode'."
1365 (defcustom java-mode-hook nil
1366 "*Hook called by `java-mode'."
1370 (defcustom idl-mode-hook nil
1371 "*Hook called by `idl-mode'."
1375 (defcustom pike-mode-hook nil
1376 "*Hook called by `pike-mode'."
1380 (defcustom awk-mode-hook nil
1381 "*Hook called by `awk-mode'."
1385 (defcustom c-mode-common-hook nil
1432 mode1 " mode.
1446 Note that this variable is only consulted when the major mode is
1470 (c-make-font-lock-extra-types-blurb "C" "c-mode"
1501 (c-make-font-lock-extra-types-blurb "C++" "c++-mode"
1509 (c-make-font-lock-extra-types-blurb "ObjC" "objc-mode" (concat
1519 (c-make-font-lock-extra-types-blurb "Java" "java-mode" (concat
1527 (c-make-font-lock-extra-types-blurb "IDL" "idl-mode" "")
1533 (c-make-font-lock-extra-types-blurb "Pike" "pike-mode" (concat
1583 function\"; \(ii) a semicolon/comma hanging \"criteria function\"; \(iii) a
1584 \"line-up function\"; \(iv) a c-special-indent-hook function. It is also
1617 Set from `c-comment-prefix-regexp' at mode initialization.")