From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: What to do with too-large group ids? Date: Mon, 29 Jul 2002 12:04:22 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200207290112.g6T1CVF12879@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1027937096 16929 127.0.0.1 (29 Jul 2002 10:04:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 29 Jul 2002 10:04:56 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Z7OZ-0004Ow-00 for ; Mon, 29 Jul 2002 12:04:55 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17Z7fk-0000EZ-00 for ; Mon, 29 Jul 2002 12:22:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17Z7Ou-0002Jt-00; Mon, 29 Jul 2002 06:05:16 -0400 Original-Received: from waldorf.cs.uni-dortmund.de ([129.217.4.42]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17Z7O9-0002Ic-00; Mon, 29 Jul 2002 06:04:30 -0400 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g6TA4Rb06788; Mon, 29 Jul 2002 12:04:27 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id MAA04787; Mon, 29 Jul 2002 12:04:22 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id 2A3493ADDC; Mon, 29 Jul 2002 12:04:22 +0200 (CEST) Original-To: Andreas Schwab In-Reply-To: (Andreas Schwab's message of "Mon, 29 Jul 2002 11:11:38 +0200") Original-Lines: 24 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6133 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6133 Andreas Schwab writes: > Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai writes: > > |> But if you prefer, I'll return them as strings and update the > |> documentation for file-attributes accordingly. (Something like the > |> following, wording needs to be changed: If the user id is too large > |> for an int, it is returned as a string. This never happens for normal > |> files, but it might happen when there is a filename handler.) > > Why can't this happen for normal files? Because the current file-attributes implementation never creates a cons (or a string) for user/group id. I don't know what happens when the id is too large for such a file. But surely a cons/string is not what happens. Maybe make_number automatically creates a float when the number is too large for a Lisp int? Then the handlers should do that, too, I guess. kai -- A large number of young women don't trust men with beards. (BFBS Radio)