unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Masatake YAMATO <yamato@redhat.com>
Cc: emacs-devel@gnu.org
Subject: Re: [RFC] syslog interface
Date: Thu, 27 May 2010 20:49:07 +0300	[thread overview]
Message-ID: <83zkzlme0c.fsf@gnu.org> (raw)
In-Reply-To: <20100527.141847.482451220872211521.yamato@redhat.com>

> Date: Thu, 27 May 2010 14:18:47 +0900 (JST)
> From: Masatake YAMATO <yamato@redhat.com>
> 
> 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.



  parent reply	other threads:[~2010-05-27 17:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-27  5:18 [RFC] syslog interface Masatake YAMATO
2010-05-27 16:19 ` Stefan Monnier
2010-05-28  5:01   ` Masatake YAMATO
2010-05-27 17:49 ` Eli Zaretskii [this message]
2010-05-28  5:02   ` Masatake YAMATO

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83zkzlme0c.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=yamato@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).