From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: `file-attribute' accessors
Date: Mon, 09 Apr 2012 16:53:26 +0200 [thread overview]
Message-ID: <878vi5c5y1.fsf@gmail.com> (raw)
In-Reply-To: m3iph955os.fsf@stories.gnus.org
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
>> Why not keys instead of many accessor functions?
>
> Because `file-attributes' already has an optional parameter, and one
> sometimes wants to have, say, both the uid and the size, and statting
> the file twice to get that isn't optimal.
Without key argument i.e only filename, you have all in a proplist, so
you do not have to call function many times to have diverses infos.
--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
next prev parent reply other threads:[~2012-04-09 14:53 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-09 13:56 `file-attribute' accessors Lars Magne Ingebrigtsen
2012-04-09 14:19 ` Thierry Volpiatto
2012-04-09 14:40 ` Lars Magne Ingebrigtsen
2012-04-09 14:53 ` Thierry Volpiatto [this message]
2012-04-09 15:46 ` Ted Zlatanov
2012-04-09 16:29 ` Lars Magne Ingebrigtsen
2012-04-09 16:32 ` Stefan Monnier
2012-04-09 16:52 ` Ted Zlatanov
2012-04-10 1:48 ` Stefan Monnier
2012-04-11 1:55 ` Miles Bader
2012-04-09 15:32 ` Leo
2012-04-09 16:31 ` Stefan Monnier
2012-04-09 17:08 ` Drew Adams
2012-04-10 1:47 ` Stefan Monnier
2012-04-10 10:58 ` Thien-Thi Nguyen
2012-04-10 12:52 ` Stefan Monnier
2012-04-09 17:57 ` Leo
2012-04-09 16:33 ` Stefan Monnier
2012-04-09 17:35 ` Lars Magne Ingebrigtsen
2012-04-10 1:50 ` Stefan Monnier
2012-04-10 2:00 ` Lars Magne Ingebrigtsen
2012-04-10 12:56 ` Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878vi5c5y1.fsf@gmail.com \
--to=thierry.volpiatto@gmail.com \
--cc=emacs-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.