From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] POSIX ACL support Date: Wed, 21 Nov 2012 13:51:37 +0100 Organization: orebokech dot com Message-ID: <87mwybm84m.fsf@silenus.orebokech.com> References: <878v9yr1h1.fsf@silenus.orebokech.com> <87ehjpp9b7.fsf@silenus.orebokech.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1353502314 16062 80.91.229.3 (21 Nov 2012 12:51:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Nov 2012 12:51:54 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 21 13:52:04 2012 Return-path: Envelope-to: ged-emacs-devel@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 1Tb9me-0004se-3t for ged-emacs-devel@m.gmane.org; Wed, 21 Nov 2012 13:52:04 +0100 Original-Received: from localhost ([::1]:56247 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tb9mT-0001Qz-MU for ged-emacs-devel@m.gmane.org; Wed, 21 Nov 2012 07:51:53 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tb9mR-0001Qt-Qn for emacs-devel@gnu.org; Wed, 21 Nov 2012 07:51:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tb9mM-0008JT-3t for emacs-devel@gnu.org; Wed, 21 Nov 2012 07:51:51 -0500 Original-Received: from stringer.orebokech.com ([88.190.240.207]:60702) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tb9mF-0008I7-RO; Wed, 21 Nov 2012 07:51:39 -0500 Original-Received: from silenus.orebokech.com (silenus [192.168.1.4]) by stringer.orebokech.com (Postfix) with ESMTP id CD84118800DC; Wed, 21 Nov 2012 13:51:37 +0100 (CET) Original-Received: by silenus.orebokech.com (Postfix, from userid 1000) id A30AEA02F4; Wed, 21 Nov 2012 13:51:37 +0100 (CET) In-Reply-To: (Stefan Monnier's message of "Tue, 20 Nov 2012 13:15:10 -0500") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 88.190.240.207 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:155017 Archived-At: Hi, Stefan Monnier writes: > Yes, this also needs to be handled in a similar way (tho I'm not sure > what you mean by "which doesn't preserve the modes" since the docstring > says "This function always sets the file modes of the output file to match > the input file."). Oh, right. I guess I meant "which doesn't take a `preserve-modes' argument"... > But we could start by providing a new file-extended-attributes which > returns a self-descriptive list of attributes, and then > set-file-extended-attributes which takes that list and applies it. Okay. Do you envision this as a Lisp-level API which uses lower-level subroutines for each type (set-file-foo, similar to what we have today), or as a C-level API which abstracts the different metadata types (in which case we would remove file-foo/set-file-foo)? Thanks!