[fedora-ja-list] [Bug 143759] iiimf-emacs never talks to unix domain socket
bugzilla @ redhat.com
bugzilla @ redhat.com
2005年 1月 10日 (月) 05:59:59 UTC
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: iiimf-emacs never talks to unix domain socket
https://bugzilla.redhat.com/beta/show_bug.cgi?id=143759
miura @ da-cha.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |miura @ da-cha.org
------- Additional Comments From miura @ da-cha.org 2005-01-10 00:59 EST -------
You can hack iiimp-open-network-channel to use simple helper program which
connect to unix domain socket and relay it to stdin/out.
What you need is not just to wait for next relase of Emacs, but send request to
upstream author of iiimecf, I think.
A modification of iiimp.el is like as follows(not tested yet):
--- iiimp.el~ 2002-07-15 20:18:13.000000000 +0900
+++ iiimp.el 2005-01-10 12:53:03.000000000 +0900
@@ -68,6 +68,8 @@
(defvar iiimp-text-warning-char ?!)
+(defvar iiimp-helper-path "iiimp")
+
(defconst iiimp-basic-opcode-spec-list
'((iiimp-im-no-protocol
0 (nil . nil)
@@ -391,7 +393,10 @@
(set-buffer-multibyte nil))
(buffer-disable-undo buf)
(setq proc
- (open-network-stream iiimp-process-name buf host port))
+ (cond ((string= host "unix")
+ (let ((process-connection-type nil))
+ (start-process "iiimp" nil iiimp-helper-path)))
+ (t (open-network-stream iiimp-process-name buf host port))))
(process-kill-without-query proc)
(set-process-coding-system proc 'binary 'binary)
(set-process-sentinel
--
Configure bugmail: https://bugzilla.redhat.com/beta/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Fedora-ja-list メーリングリストの案内