From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [RFC] syslog interface Date: Thu, 27 May 2010 12:19:28 -0400 Message-ID: References: <20100527.141847.482451220872211521.yamato@redhat.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1274977184 7756 80.91.229.12 (27 May 2010 16:19:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 27 May 2010 16:19:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Masatake YAMATO Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 27 18:19:42 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 1OHfo6-0004II-4N for ged-emacs-devel@m.gmane.org; Thu, 27 May 2010 18:19:42 +0200 Original-Received: from localhost ([127.0.0.1]:41393 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHfo5-0004nu-GE for ged-emacs-devel@m.gmane.org; Thu, 27 May 2010 12:19:41 -0400 Original-Received: from [140.186.70.92] (port=56962 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHfny-0004ma-CP for emacs-devel@gnu.org; Thu, 27 May 2010 12:19:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHfnw-0003QZ-0Z for emacs-devel@gnu.org; Thu, 27 May 2010 12:19:34 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:34530) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHfnv-0003QH-U9 for emacs-devel@gnu.org; Thu, 27 May 2010 12:19:31 -0400 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o4RGJSHO015076; Thu, 27 May 2010 12:19:28 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 8C2CF703CE; Thu, 27 May 2010 12:19:28 -0400 (EDT) In-Reply-To: <20100527.141847.482451220872211521.yamato@redhat.com> (Masatake YAMATO's message of "Thu, 27 May 2010 14:18:47 +0900 (JST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3544=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:125303 Archived-At: > -server option added to newer emacs is very interesting. > But to write a rael server with emacs, there may be some missing > functions in emacs. > syslog interface is one of such function. As a system administrator, > I'd like to track the event on the emacs server on which the service written > in elisp is running via /var/log/messages. Not sure what's the purpose here: the emacs-server is normally expected to be run by users, not as a system process (it's not expected to be shared by all users of the system), whereas syslog is normally used only for messages coming from system processes rather than from user processes. Can you give some additional info about what use case you're thinking of? Stefan PS: the "return Qundefined" is wrong, because Qundefined is a special value that Elisp code should never see. Return Qnil instead.