OSDN Git Service

[VM][FMTOWNS][MEMORY] Fix setup around memory banks by I/O 0404h and 0480h.
[csp-qt/common_source_project-fm7.git] / .dir-locals.el
1 ;;; vs-set-c-style.el --- Visual Studio like C/C++ style for c-mode
2 ;; Use source/tool/emacs/csp-qt-c-style.el .
3 ;; Please copy above to ~/.emacs.d/lisp/ or /usr/local/share/site-lisp etc.
4 ;; And put below threelines to ~/.emacs and uncomment. --- 20180228 K.Ohta
5
6 ;; Important note:
7 ;; If you using editorconfig for elisp,
8 ;; please load this before loading editorconfig. 
9 ;; -- 2023-02-07 K.Ohta.
10
11 ;; DO NOT UNCOMMENT BELOW if you USE EDITORCONFIG,
12 ;; PLACE below threee lines to .emacs .
13 ;(autoload 'csp-qt-set-c-style "csp-qt-c-style")
14 ;(add-hook 'c-mode-hook 'csp-qt-set-c-style)
15 ;(add-hook 'c++-mode-hook 'csp-qt-set-c-style)
16
17 ;; Keywords: c, tools
18 ;('csp-qt-set-c-style )
19 ;('vs-set-c-style )
20 ;;(setq c-file-style "csp-qt")
21 ;; (setq c-file-style "vs")
22 ; "FILE" "lconv" "tm" "va_list" "jmp_buf" "istream" "istreambuf" "ostream" "ostreambuf" "ifstream" "ofstream" "fstream" "strstream" "strstreambuf" "istrstream" "ostrstream" "ios" "string" "rope" "list" "slist" "deque" "vector" "bit_vector" "set" "multiset" "map" "multimap" "hash" "hash_set" "hash_multiset" "hash_map" "hash_multimap" "stack" "queue" "priority_queue" "type_info" "iterator" "const_iterator" "reverse_iterator" "const_reverse_iterator" "reference" "const_reference" "int[0-9]+_t" "uint[0-9]+_t" "Qt3D[:alnum:]+" "Q[A-Z][:alnum:]+" "quint[0-9]+" "pair64_[tu]" "pair32_[tu]" "pair16_[tu]" "LPTSTR" "LPCTSTR" "BOOL" "BYTE" "WORD" "[DQ]WORD" "INT[8|16|32|64]" "INT" "UINT[8|16|32|64]" "UINT" "_TCHAR" "SOCKET" "qint[0-9]+"
23
24 ;(font-lock-add-keywords
25 ; 'c++-mode
26 ; '(("\\sw+_t"
27 ;       "qint[0-9]+"
28 ;       "quint[0-9]+"
29 ;       "BOOL"
30 ;       "BYTE"
31 ;       "WORD"
32 ;       "[DQ]WORD"
33 ;       .
34 ;       font-lock-type-face
35 ;    ))
36 ;
37 ;)
38
39 ;(require 'company)
40 ;(company-mode)
41 ;(global-company-mode) ; 全バッファで有効にする 
42 ;(setq company-idle-delay 0) ; デフォルトは0.5
43 ;(setq company-minimum-prefix-length 2) ; デフォルトは4
44 ;(setq company-selection-wrap-around t) ; 候補の一番下でさらに下に行こうとすると一番上に戻る
45