From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ohki@gssm.otsuka.tsukuba.ac.jp Newsgroups: gmane.emacs.bugs Subject: bug#22815: 25.0.91; emacs-module.* Date: Fri, 26 Feb 2016 19:09:57 +0900 Message-ID: <1298.1456481397@smr00> References: <83lh67et0e.fsf@gnu.org> <5098.1456478165@smr00> <83d1rjercx.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=us-ascii X-Trace: ger.gmane.org 1456481482 1843 80.91.229.3 (26 Feb 2016 10:11:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Feb 2016 10:11:22 +0000 (UTC) Cc: ohki@gssm.otsuka.tsukuba.ac.jp, 22815@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 26 11:11:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aZFMe-0002mC-4m for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2016 11:11:12 +0100 Original-Received: from localhost ([::1]:48568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZFMd-00038E-C2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2016 05:11:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZFMY-00035Q-3Q for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 05:11:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZFMU-0007Ji-UN for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 05:11:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZFMU-0007JR-S2 for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 05:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aZFMU-0003lp-O1 for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 05:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: ohki@gssm.otsuka.tsukuba.ac.jp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Feb 2016 10:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22815 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22815-submit@debbugs.gnu.org id=B22815.145648140614394 (code B ref 22815); Fri, 26 Feb 2016 10:11:02 +0000 Original-Received: (at 22815) by debbugs.gnu.org; 26 Feb 2016 10:10:06 +0000 Original-Received: from localhost ([127.0.0.1]:46924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZFLa-0003k6-0Y for submit@debbugs.gnu.org; Fri, 26 Feb 2016 05:10:06 -0500 Original-Received: from utogwpl.gssm.otsuka.tsukuba.ac.jp ([210.154.96.162]:58546) by debbugs.gnu.org with smtp (Exim 4.84) (envelope-from ) id 1aZFLX-0003jT-CH for 22815@debbugs.gnu.org; Fri, 26 Feb 2016 05:10:04 -0500 Original-Received: (qmail 10269 invoked from network); 26 Feb 2016 10:09:57 -0000 Original-Received: from OneOfLocalMachines (HELO ohki1.gssm.otsuka.tsukuba.ac.jp) (10.2.1.1) by 10.1.1.1 with SMTP; 26 Feb 2016 10:09:57 -0000 Original-Received: from smr00 (localhost [127.0.0.1]) by ohki1.gssm.otsuka.tsukuba.ac.jp (8.15.2/8.14.9) with ESMTP id u1QA9vVK001299; Fri, 26 Feb 2016 19:09:57 +0900 (JST) (envelope-from ohki@gssm.otsuka.tsukuba.ac.jp) In-reply-to: Your message of "Fri, 26 Feb 2016 11:46:38 +0200" <83d1rjercx.fsf@gnu.org> X-Mailer: MH-E 8.6; MH 6.8.4.JP-3.05; GNU Emacs 24.5.1 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113870 Archived-At: Eli Zaretskii writes: > > From: ohki@gssm.otsuka.tsukuba.ac.jp > > Cc: Atsuo Ohki , 22815@debbugs.gnu.org > > Date: Fri, 26 Feb 2016 18:16:05 +0900 > > > > > But why cannot the module convert the string to UTF-8 before passing > > > it to Emacs? > > > > Because, an external module could use a coding system other then UTF-8. > > I have used emacs-module capability to plugin CANNA server interface > > (CANNA server is a rather out of dated KANA-KANJI converter for japanese), > > and CANNA server uses euc-jp encoding for communication. > > I was asking why couldn't the plug-in do the conversion, e.g., by > using libiconv? Emacs is not the only piece of software that knows > how to convert from one encoding to another. I considered using libiconv once, but Emacs has the conversion capability, so why not use it. It is simple to use Emacs itself for conversion, than using different conversion library, as long as a plugin runs as a part of Emacs process.