View README.txt
■各パッチについて
emacs-26.0.90-*.diff は emacs-26.0.90 に対するパッチです。
GNU emacs(x64) (http://hp.vector.co.jp/authors/VA052357/emacs.html)
の追加機能の主なものを切り出したものと自作のものをいくつか。
GNU emacs(x64) で独自に実装されていたダイナミックロード機能は私にはうまく動かせなかったので
そのパッチはありませんが、emacs-25 で dynamic module 機能が実装されたので似たようなことは
できるかと思います。
cmigemo を dynamic module で組み込むようにしてみたものを
View emacs-26.0.90-w32-ime.diff
--- ./configure.ac.orig 2017-10-12 05:39:12.000000000 +0900
+++ ./configure.ac 2017-10-12 21:09:33.201897300 +0900
@@ -368,6 +368,10 @@
On by default on macOS.])],[],[with_ns=maybe])
OPTION_DEFAULT_OFF([w32], [use native MS Windows GUI in a Cygwin build])
+OPTION_DEFAULT_ON([w32-ime], [don't compile with W32-IME support])
+OPTION_DEFAULT_ON([reconversion], [don't compile with RECONVERSION support])
+OPTION_DEFAULT_ON([documentfeed], [don't compile with DOCUMENTFEED support])
+
View emacs-26.0.90-image-fit.diff
--- ./lisp/image-mode.el.orig 2017-09-25 17:34:23.000000000 +0900
+++ ./lisp/image-mode.el 2017-10-12 21:09:30.924491400 +0900
@@ -758,9 +758,12 @@
(edges (and (null image-transform-resize)
(window-inside-pixel-edges
(get-buffer-window (current-buffer)))))
+ (type (image-type file-or-data nil data-p))
(type (if (fboundp 'imagemagick-types)
- 'imagemagick
- (image-type file-or-data nil data-p)))
View emacs-26.0.90-cmigemo.diff
--- ./configure.ac.orig 2017-10-12 05:39:12.000000000 +0900
+++ ./configure.ac 2017-10-12 21:09:28.229944100 +0900
@@ -379,6 +379,8 @@
OPTION_DEFAULT_OFF([modules],[compile with dynamic modules support])
OPTION_DEFAULT_ON([threads],[don't compile with elisp threading support])
+OPTION_DEFAULT_ON([cmigemo], [don't compile with CMIGEMO support])
+
AC_ARG_WITH([file-notification],[AS_HELP_STRING([--with-file-notification=LIB],
[use a file notification library (LIB one of: yes, inotify, kqueue, gfile, w32, no)])],
View emacs-26.0.90-cygwin-rsvg.diff
--- ./configure.ac.orig 2017-10-12 05:39:12.000000000 +0900
+++ ./configure.ac 2017-10-12 21:09:29.551461900 +0900
@@ -2487,7 +2487,7 @@
### Use -lrsvg-2 if available, unless '--with-rsvg=no' is specified.
HAVE_RSVG=no
-if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes" || test "${opsys}" = "mingw32"; then
+if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes" || test "${HAVE_W32}" = "yes"; then
if test "${with_rsvg}" != "no"; then
RSVG_REQUIRED=2.11.0
View emacs-26.0.90-mingw-imagemagick.diff
--- ./lisp/loadup.el.orig 2017-09-25 17:34:23.000000000 +0900
+++ ./lisp/loadup.el 2017-10-12 21:09:32.388184500 +0900
@@ -283,6 +283,7 @@
(load "term/w32-win")
(load "disp-table")
(when (eq system-type 'windows-nt)
+ (load "image")
(load "w32-fns")
(load "ls-lisp")
(load "dos-w32"))))
View emacs-26.0.90-disable-w32-ime.diff
--- ./src/w32fns.c.orig 2017-10-03 17:58:57.000000000 +0900
+++ ./src/w32fns.c 2017-10-12 21:09:30.244428100 +0900
@@ -79,6 +79,8 @@
extern void w32_free_menu_strings (HWND);
extern const char *map_w32_filename (const char *, const char **);
+static int ime_disabled = 0;
+
#ifndef IDC_HAND
#define IDC_HAND MAKEINTRESOURCE(32649)
View emacs-26.0.90-ImmDisableIME.diff
--- ./src/w32fns.c.orig 2017-10-03 17:58:57.000000000 +0900
+++ ./src/w32fns.c 2017-10-12 21:09:31.898158500 +0900
@@ -11051,6 +11051,9 @@
{
HMODULE imm32_lib = GetModuleHandle ("imm32.dll");
+ BOOL (WINAPI * disable_ime_fn) (DWORD) = (BOOL (WINAPI *) (DWORD))
+ GetProcAddress (imm32_lib, "ImmDisableIME");
+ if (disable_ime_fn) disable_ime_fn (-1);
get_composition_string_fn = (ImmGetCompositionString_Proc)
View README.25.3.txt
※以下は emacs-26 プレテスト前のものなので現在では内容が古くなっているかもしれません。
emacs-26(以降)の README.txt も参照してみてください。
■各パッチについて
emacs-25.3-*.diff は emacs-25.3 に対するパッチです。
GNU emacs(x64) (http://hp.vector.co.jp/authors/VA052357/emacs.html)
の追加機能の主なものを切り出したものと自作のものをいくつか。
View emacs-25.3-ImmDisableIME.diff
--- ./src/w32fns.c.orig 2017-04-15 00:02:47.000000000 +0900
+++ ./src/w32fns.c 2017-09-13 21:00:22.787460000 +0900
@@ -9944,6 +9944,9 @@
{
HMODULE imm32_lib = GetModuleHandle ("imm32.dll");
+ BOOL (WINAPI * disable_ime_fn) (DWORD) = (BOOL (WINAPI *) (DWORD))
+ GetProcAddress (imm32_lib, "ImmDisableIME");
+ if (disable_ime_fn) disable_ime_fn (-1);
get_composition_string_fn = (ImmGetCompositionString_Proc)