From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lars Hansen Newsgroups: gmane.emacs.tramp,gmane.emacs.devel Subject: Re: ls-lisp and remote files Date: Fri, 14 Nov 2003 11:36:19 +0100 Sender: tramp-devel-bounces+tramp=quimby.gnus.org@nongnu.org Message-ID: <3FB4B023.2010708@math.ku.dk> References: <3FA16F54.80201@math.ku.dk> <873cd2h4vc.fsf@emptyhost.emptydomain.de> <3FAEB1CD.8010100@math.ku.dk> <3FB089D8.8010300@math.ku.dk> <3FB20E4C.4080904@math.ku.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1068806856 6371 80.91.224.253 (14 Nov 2003 10:47:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Nov 2003 10:47:36 +0000 (UTC) Cc: tramp-devel@nongnu.org, kai@emptydomain.de, monnier@IRO.UMontreal.CA, emacs-devel@gnu.org Original-X-From: tramp-devel-bounces+tramp=quimby.gnus.org@nongnu.org Fri Nov 14 11:47:33 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AKbUD-0006gk-00 for ; Fri, 14 Nov 2003 11:47:33 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AKbUD-0001Jm-00 for ; Fri, 14 Nov 2003 11:47:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AKcQk-0002PT-A4 for tramp@quimby.gnus.org; Fri, 14 Nov 2003 06:48:02 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AKcQ7-0002O2-Fp for tramp-devel@nongnu.org; Fri, 14 Nov 2003 06:47:23 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AKcPZ-0002IH-Kg for tramp-devel@nongnu.org; Fri, 14 Nov 2003 06:47:20 -0500 Original-Received: from [130.225.103.32] (helo=imf.math.ku.dk) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AKcGt-0001LA-PB for tramp-devel@nongnu.org; Fri, 14 Nov 2003 06:37:51 -0500 Original-Received: by imf.math.ku.dk (Postfix, from userid 73) id ED4B820DEB; Fri, 14 Nov 2003 11:36:25 +0100 (CET) Original-Received: from imf (localhost [127.0.0.1]) by spamwall (Postfix) with ESMTP id E0B7220CCB; Fri, 14 Nov 2003 11:36:20 +0100 (CET) Original-Received: from localhost ([127.0.0.1]) by imf.math.ku.dk (MailMonitor for SMTP v1.2.2 ) ; Fri, 14 Nov 2003 11:36:20 +0100 (CET) Original-Received: from math.ku.dk (pc33.math.ku.dk [10.2.1.33]) by imf.math.ku.dk (Postfix) with ESMTP id 492A420CCB; Fri, 14 Nov 2003 11:36:20 +0100 (CET) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en Original-To: rms@gnu.org In-Reply-To: X-BeenThere: tramp-devel@nongnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tramp-devel-bounces+tramp=quimby.gnus.org@nongnu.org Xref: main.gmane.org gmane.emacs.tramp:1412 gmane.emacs.devel:17816 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17816 Richard Stallman wrote: >The option should be designed so that there is a non-nil value meaning >"numbers" and another non-nil value meaning "strings", so that we can >someday change the meaning of nil. > > I like that idea. How about this: We introduce a parameter ID-FORMAT with the following meaning: If ID-FORMAT is numeric or nil, UID and GID are returned as integers, otherwise as strings. Over time we can change all calls so they include ID-FORMAT with a value of 0 or t, and we can try to avoid using 0. Once the lisp source has no calls with ID-FORMAT left out, we can change the meaning of nil such that UID and GID are returned as strings in that case. Then we can remove the parameter from the calls where it has value t, and if the parameter then is unused, we may even remove it from the definition. These plans should be written in the lisp manual and the TODO file, I think.