Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added php-mode manual.

  • Loading branch information...
commit 6d3acced3de63cc17fcff4edd743be5ab83b9364 1 parent 13c8141
Kenichi Sasaki authored
Showing with 61 additions and 40 deletions.
  1. +51 −25 dot-emacs/ac-comphist.dat
  2. +10 −15 dot-emacs/init.el
View
76 dot-emacs/ac-comphist.dat
@@ -1,28 +1,54 @@
-((("show-ws-highlight-tabs" .
- [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0])
- ("show-ws-highlight-*" .
- [0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0])
- ("font-lock-mode-hook" .
- [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0])
- ("add-hook" .
- [1 0 0 0 0 1 0 0])
- ("toggle-truncate-lines" .
- [0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0])
- ("nil" .
- [3 0 0])
- ("require" .
- [2 0 0 0 0 0 0])
- ("wgrep" .
- [0 1 0 0 0])
- ("setq" .
+((("php-manual-url" .
+ [0 0 0 0 0 0 0 0 0 1 0 0 0 0])
+ ("php-search-url" .
+ [0 0 0 0 0 0 1 0 0 0 0 0 0 0])
+ ("auto-mode-alist" .
+ [0 0 0 0 0 0 0 0 0 1 0 0 0 0 0])
+ ("add-to-list" .
+ [0 0 0 0 0 0 1 0 0 0 0])
+ ("php-mode" .
+ [0 0 0 0 1 0 1 0])
+ ("php-mode-autoloads" .
+ [0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0])
+ ("show-ws-highlight-trailing-whitespace" .
+ [0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0])
+ ("show-ws-trailing-whitespace" .
+ [0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0])
+ ("when" .
[2 0 0 0])
- ("linum-format" .
- [1 0 0 0 0 0 1 1 0 0 0 0])
("linum-mode" .
[0 0 0 0 0 0 0 0 1 0])
- ("when" .
- [1 0 0 0])
- ("show-ws-trailing-whitespace" .
- [0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0])
- ("show-ws-highlight-trailing-whitespace" .
- [0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0])))
+ ("linum-format" .
+ [1 0 0 0 0 0 1 1 0 0 0 0])
+ ("setq" .
+ [2 0 2 0])
+ ("wgrep" .
+ [0 1 0 0 0])
+ ("require" .
+ [2 0 0 0 1 0 0])
+ ("nil" .
+ [5 0 0])
+ ("toggle-truncate-lines" .
+ [0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0])
+ ("add-hook" .
+ [1 0 0 0 0 1 0 0])
+ ("font-lock-mode-hook" .
+ [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0])
+ ("show-ws-highlight-*" .
+ [0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0])
+ ("show-ws-highlight-tabs" .
+ [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0])
+ ("color-theme" .
+ [1 0 0 0 0 0 0 0 0 0 0])
+ ("featurep" .
+ [0 0 1 0 0 0 0 0])
+ ("php-mode-hook" .
+ [0 0 0 0 0 0 0 0 0 0 0 1 0])
+ ("indent-tabs-mode" .
+ [0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0])
+ ("php" .
+ [1 0 0])
+ ("class" .
+ [0 0 1 0 0])
+ ("extends" .
+ [0 0 1 0 0 0 0])))
View
25 dot-emacs/init.el
@@ -51,25 +51,14 @@
(global-linum-mode t)
(setq linum-format "%d ")
-;; TAB
+;; never never use TAB code!!
(setq-default tab-width 4)
(setq-default indent-tabs-mode nil)
-;; theme
-(when (require 'color-theme nil t)
- (color-theme-initialize)
-;;(color-theme-bluemood)
-)
-
-;; show w-space
-(when (require 'show-wspace nil t)
- (add-hook 'font-lock-mode-hook 'show-ws-highlight-tabs)
- (add-hook 'font-lock-mode-hook 'show-ws-highlight-trailing-whitespace)
-)
-
-
-
;; php-mode
+(when (require 'php-mode nil t)
+ (setq php-search-url "http://jp.php.net/ja/")
+ (setq php-manual-url "http://jp.php.net/manual/ja/"))
(c-add-style "php/dietcake"
'((c-basic-offset . 4)
(c-offsets-alist . (
@@ -96,5 +85,11 @@
(add-hook 'php-mode-hook (lambda ()
(c-set-style "php/dietcake")))
+;; show w-space
+(when (require 'show-wspace nil t)
+ (add-hook 'font-lock-mode-hook 'show-ws-highlight-tabs)
+ (add-hook 'font-lock-mode-hook 'show-ws-highlight-trailing-whitespace)
+)
+
;; wgrep
(require 'wgrep nil t)
Please sign in to comment.
Something went wrong with that request. Please try again.