home *** CD-ROM | disk | FTP | other *** search
Wrap
(provide (quote objective-C-mode)) (defun objective-C-mode-version nil "\ 3.03a" (byte-code "¹Ç" [nil] 1)) (defun echo-objective-C-mode-version nil (interactive) (byte-code "ˋÈ´ˆ˜¯ ˘˙%!Ç" [mode-name nil message concat "Version " objective-C-mode-version " of " " mode."] 8)) (defvar objective-C-interface-file-dir nil "\ The directory where to put generated interface files") (defvar objective-C-document-file-dir nil "\ The directory where to put generated document files") (defvar objective-C-mode-map nil "\ *Keymap used in objective-C mode.") (if objective-C-mode-map nil (let ((map (make-sparse-keymap))) (define-key map "c" (quote objective-C-mfile-header)) (define-key map "h" (quote objective-C-hfile-header)) (define-key map "p" (quote objective-C-protocol)) (define-key map "f" (quote objective-C-factory-method)) (define-key map "m" (quote objective-C-instance-method)) (define-key map "l" (quote objective-C-codelimit)) (define-key map " " (quote objective-C-method-comment)) (define-key map "d" (quote generate-Objective-C-documentation)) (define-key map "h" (quote generate-Objective-C-hfile)) (define-key map "?" (quote describe-objective-C-mode)) (define-key map "i" (quote indent-region)) (define-key map "a" (quote add-user-sign)) (define-key map "v" (quote echo-objective-C-mode-version)) (define-key map "{" (quote electric-objective-C-brace)) (define-key map "}" (quote electric-objective-C-brace)) (define-key map ":" (quote electric-objective-C-keyword-match)) (define-key map "" (quote backward-delete-char)) (define-key map " " (quote objective-C-indent-command)) (setq objective-C-mode-map map))) (define-abbrev-table (quote objective-C-mode-abbrev-table) nil) (defvar objective-C-mode-abbrev-table nil "\ abbrevations to use in objective-c") (defvar objective-C-mode-syntax-table nil "\ Syntax table in use in Objective-C-Mode buffers.") (if objective-C-mode-syntax-table nil (setq objective-C-mode-syntax-table (make-syntax-table)) (modify-syntax-entry 92 "\\" objective-C-mode-syntax-table) (modify-syntax-entry 47 ". 14" objective-C-mode-syntax-table) (modify-syntax-entry 42 ". 23" objective-C-mode-syntax-table) (modify-syntax-entry 43 "." objective-C-mode-syntax-table) (modify-syntax-entry 45 "." objective-C-mode-syntax-table) (modify-syntax-entry 61 "." objective-C-mode-syntax-table) (modify-syntax-entry 37 "." objective-C-mode-syntax-table) (modify-syntax-entry 60 "." objective-C-mode-syntax-table) (modify-syntax-entry 62 "." objective-C-mode-syntax-table) (modify-syntax-entry 38 "." objective-C-mode-syntax-table) (modify-syntax-entry 124 "." objective-C-mode-syntax-table) (modify-syntax-entry 39 "\"" objective-C-mode-syntax-table) (modify-syntax-entry 58 "_" objective-C-mode-syntax-table)) (defconst objective-C-indent-level 2 "\ *Indentation of C statements with respect to containing block.") (defconst objective-C-brace-imaginary-offset 0 "\ *Imagined indentation of a C open brace that actually follows a statement.") (defconst objective-C-brace-offset -2 "\ *Extra indentation for braces, compared with other text in same context.") (defconst objective-C-argdecl-indent 5 "\ *Indentation level of declarations of C function arguments.") (defconst objective-C-label-offset -2 "\ *Offset of C label lines and case statements relative to usual indentation.") (defconst objective-C-continued-statement-offset 2 "\ *Extra indent for lines not starting new statements.") (defconst objective-C-auto-newline nil "\ *Non-nil means automatically newline before and after braces, and after colons and semicolons, inserted in C code.") (defconst objective-C-tab-always-indent t "\ *Non-nil means TAB in C mode should always reindent the current line, regardless of where in the line point is when the TAB command is used.") (defun objective-C-mode nil "\ A major mode for the Objective-C language. Commands: Expression and list commands understand all Objective-C brackets. Tab anywhere on a line indents it according to Objective-C conventions. LF does a CR and then an indentation like above. Comments are delimited with /* ... */ or // to cr. Paragraphs are separated by blank lines only. Delete converts tabs to spaces as it moves back. \\{objective-C-mode-map} Variables controlling indentation style: objective-C-indent-level Indentation of C statements within surrounding block. The surrounding block's indentation is the indentation of the line on which the open-brace appears. Variables controlling directories of generated files: objective-C-interface-file-dir If non nil generated interface files will be put into this directory. The default is current directory. objective-C-document-file-dir If non nil generated dokument files will be put into this directory. The default is current directory. Skeletons of the major Objective-C constructs are inserted with: C-c c class header C-c m instanceMethod C-c f factoryMethod C-c p protocol C-c l limiter C-c h header in h file C-c <RET> method comment Other useful stuff C-c ? Describe objective-C mode C-c a Add signature to use in comments C-c v Return the version of this mode C-c C-c h Generate an interface file from the implementation file C-c C-c d Generate an documentation file from the implementation file Abbreviations: ry & ryes = return YES rn & rno = return NO rs & rself = return self rnil = return nil imp = @implementation intf = @interface st = STR bo = BOOL Turning on Objective-C mode calls the value of the variable objective-C-mode-hook with abbrevs, if that value is non-nil." (interactive) (byte-code "˛Èá Èâ!ÈãÉÈäÉÈÉÈå !Èç˘!ÈèPÉÈç¨!ÈÉÈç²!ÈéÉ Èç˚!È¸É Èç³!ÈêÉÈç˝!È˛É Èçˇ!ÈëÉÈç—!ÈìÉÈç±!ÈÆÉÈç¼!ÈíÉÈç½!ȸÉȪÉÈçà!È˛ÉÈîï!Ç" [objective-C-mode-map major-mode mode-name local-abbrev-table objective-C-mode-abbrev-table objective-C-mode-syntax-table paragraph-start page-delimiter paragraph-separate indent-line-function require-final-newline t comment-start signatures nil comment-end comment-column comment-start-skip comment-indent-hook parse-sexp-ignore-comments objective-C-line-length super-filename kill-all-local-variables use-local-map objective-C-mode "Objective-C" set-syntax-table make-local-variable "^$\\|" objective-C-indent-line "/* " " */" 32 "/\\*+ *" objective-C-comment-indent 70 run-hooks objective-C-mode-hook] 17)) (defun eb-day (aString) (byte-code "´ ˆ\"A@? Á )Ç" [a aString assoc ((" 1" "01") (" 2" "02") (" 3" "03") (" 4" "04") (" 5" "05") (" 6" "06") (" 7" "07") (" 8" "08") (" 9" "09"))] 3)) (defun eb-month (aString) (byte-code "´ ˆ\"A@? Á )Ç" [a aString assoc (("JAN" "01") ("FEB" "02") ("MAR" "03") ("APR" "04") ("MAY" "05") ("JUN" "06") ("JUL" "07") ("AUG" "08") ("SEP" "09") ("OCT" "10") ("NOV" "11") ("DEC" "12"))] 3)) (defun eb-date nil "\ Return the current date in an EB Signal standard form" (byte-code "ˋ´ ˆ¹O˜¯´ ˘˙O!˜¨´ ²˚O!%Ç" [nil concat current-time-string -4 "-" eb-month 4 7 eb-day 8 10] 13)) (defun file-type (&optional name) (byte-code "?Â