Emacs の素晴らしいところは, Linux でも Windows でも, 同じ Emacs の世界ですごせるところにある.
Official.
公式リポジトリは 64bit がおいてない.
NTEmacs: Windows 用にビルドした GNU Emacs の通称. 日本人がメンテナンスしている.
gnupack: Cygwin 用.
emacs-w64: git リポジトリの latest snapshot から絶えずビルドしているバイナリ. おそらくこれがもっとも最新の開発版.
IME パッチがあたった NTEmacs をつかうのが良い。 そうしないと、Google 日本語入力がインライン表示できない。 - Windows ユーザーで Emacs を導入したい初心者ユーザーのための情報まとめ | Gabekore Garage
- C:/app にツールはおくことにする.
- Program file にはなるべくおかない
- cygwin の環境変数にパスを通す.
パッケージ管理にはなるべく chocolatey を利用しよう.
Official に情報あり
F1 + v + dynamic-library-alist で必要な dll をしらべる
Value: ((xpm "libxpm.dll" "xpm4.dll" "libXpm-nox4.dll")
(png "libpng14-14.dll" "libpng14.dll")
(jpeg "jpeg62.dll" "libjpeg.dll" "jpeg-62.dll" "jpeg.dll")
(tiff "libtiff3.dll" "libtiff.dll")
(gif "giflib4.dll" "libungif4.dll" "libungif.dll")
(svg "librsvg-2-2.dll")
(gdk-pixbuf "libgdk_pixbuf-2.0-0.dll")
(glib "libglib-2.0-0.dll")
(gobject "libgobject-2.0-0.dll")
(gnutls "libgnutls-28.dll" "libgnutls-26.dll")
(libxml2 "libxml2-2.dll" "libxml2.dll"))
.dll が必要. 以下のサイトから入手.
- zlib_xxx.zip
- libpng_xxx.zip (PNG 用 , w32 でないとうごかなかった)
- jpeg_xxx.zip ( JPEG, ver8 ではなく, 6 であるところに注意)
解凍後, bin 配下にある dll を Emacs.exe と同じ bin フォルダに置く.
docview-mode. need ghostscript
- http://www.emacswiki.org/emacs/DocViewMode
- http://apeman0.blogspot.jp/2012/11/windowsgnu-emacsdocviewpng.html
- http://emacsworld.blogspot.jp/2009/08/getting-docview-to-work-on-windows.html
- Set up png support, you’ll have to look elsewhere for instructions on this.
- Install ghostscript and add the bin and lib directories to your path.
- http://www.ghostscript.com/download/
- Get xpdf for windows and put the executables somewhere on your path.
- http://gnuwin32.sourceforge.net/packages/xpdf.htm
- Set this in your .emacs: (setq doc-view-ghostscript-program “gswin32c”)
- That should be it.
(setq doc-view-ghostscript-program "C:/Program Files/gs/gs9.14/bin/gswin64c.exe")
eww では, auto-compression-mode によって, gzip が必要なようだ.
以下から windows 用のバイナリが手に入る.
(load-path “c:/app/ess”)
(add-to-list 'exec-path "C:/Program Files (x86)/Aspell/bin/")
(add-to-list 'exec-path "C:/Program Files/Git/bin/")
(setq magit-git-executable "C:/Program Files/Git/bin/git.exe")
変更していないのに変更したように見える.
old mode 100755 new mode 100644
これは, 権限が変更されたから. 権限の変更は管理しないようにする.
git config core.filemode false
(defun w32-browser
(doc)
(w32-shell-execute 1 doc))
(eval-after-load "dired"
'(define-key dired-mode-map [f6]
(lambda ()
(interactive)
(w32-browser (dired-replace-in-string "/" "\\" (dired-get-filename))))))
(setq w32-get-true-file-attributes nil)
(setq visible-bell t)
(setq ring-bell-function 'ignore)
caps2ctrl.exe をつかう.