From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Masatake YAMATO Newsgroups: gmane.emacs.devel Subject: Re: [RFC] syslog interface Date: Fri, 28 May 2010 14:02:33 +0900 (JST) Organization: Red Hat Japan, Inc. Message-ID: <20100528.140233.426426550911485005.yamato@redhat.com> References: <20100527.141847.482451220872211521.yamato@redhat.com> <83zkzlme0c.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1275022911 26575 80.91.229.12 (28 May 2010 05:01:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 28 May 2010 05:01:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: eliz@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 28 07:01:50 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OHrhe-0004JU-9B for ged-emacs-devel@m.gmane.org; Fri, 28 May 2010 07:01:50 +0200 Original-Received: from localhost ([127.0.0.1]:38742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHrhd-0007c6-Pf for ged-emacs-devel@m.gmane.org; Fri, 28 May 2010 01:01:49 -0400 Original-Received: from [140.186.70.92] (port=36115 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHrhS-0007ZQ-6Z for emacs-devel@gnu.org; Fri, 28 May 2010 01:01:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHrhR-0005dv-3B for emacs-devel@gnu.org; Fri, 28 May 2010 01:01:37 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]:39682) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHrhO-0005cC-2v; Fri, 28 May 2010 01:01:34 -0400 Original-Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o4S51X4i026580 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 28 May 2010 01:01:33 -0400 Original-Received: from localhost (beach.nrt.redhat.com [10.64.200.71]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o4S51V6I021214; Fri, 28 May 2010 01:01:32 -0400 In-Reply-To: <83zkzlme0c.fsf@gnu.org> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125321 Archived-At: >> Date: Thu, 27 May 2010 14:18:47 +0900 (JST) >> From: Masatake YAMATO >> >> My idea is using syslog implemention in libc; >> it handles the protocol, and we can expect it is maintained well. If >> the protocol is changed the libc maintainer will update the function. >> As the result we can use/maintain syslog interfae from elisp without >> worrying about the protocol changing. >> >> Here is sample implemention. It comes from two parts: syslog.el and a patch >> for emacs. > > IMHO, this syslog.el is too specific to the single platform on which > it was coded. It should be more portable: not to expose highly > system-dependent constants, for example. All this unportable stuff > should be inside the primitive, because the primitive will have to be > implemented for every platform that has its own syslog facility and > API. > > See proced.el for an example of another similar facility, and the > primitives it uses. > Thank you for advice. I'll look at proced.el. Masatake YAMATO