From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.devel Subject: Re: ls-lisp and remote files Date: Wed, 05 Nov 2003 21:39:35 +0000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <873cd2h4vc.fsf@emptyhost.emptydomain.de> References: <3FA16F54.80201@math.ku.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1068068637 18720 80.91.224.253 (5 Nov 2003 21:43:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Nov 2003 21:43:57 +0000 (UTC) Cc: Lars Hansen , tramp-devel@nongnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Nov 05 22:43:54 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 1AHVRS-00083N-00 for ; Wed, 05 Nov 2003 22:43:54 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AHVRS-0003Gt-00 for ; Wed, 05 Nov 2003 22:43:54 +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 1AHVQm-0006IA-MJ for emacs-devel@quimby.gnus.org; Wed, 05 Nov 2003 16:43:12 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AHVPb-0005x0-CY for emacs-devel@gnu.org; Wed, 05 Nov 2003 16:41:59 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AHVO0-000501-Ft for emacs-devel@gnu.org; Wed, 05 Nov 2003 16:40:51 -0500 Original-Received: from [213.203.244.156] (helo=mail.emptydomain.de) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AHVNY-00049O-HK for emacs-devel@gnu.org; Wed, 05 Nov 2003 16:39:52 -0500 Original-Received: by mail.emptydomain.de (Postfix, from userid 1000) id B88661B812; Wed, 5 Nov 2003 21:39:35 +0000 (UTC) Original-To: Stefan Monnier In-Reply-To: (Stefan Monnier's message of "30 Oct 2003 15:25:38 -0500") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17701 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17701 Stefan Monnier writes: >> I have implemented these change on my own machine (dired.c, lisp.h, >> ls-lisp.el, tramp.el) and it seems to work fine. > >> I want to ask people what you think about this suggestion. > > I think this was requested already in the past and it would be > good to have. Maybe someone else remembers better in which context > this came up and what was done about it. I had a similar problem with remote VC. Now Tramp does weird stuff to circumvent the numerical ids problem, I think. I think the most recent workaround is that Michael made it so that Tramp invents user ids for remote files and maintains its own mapping between user id and user name. But that doesn't make sense. I also remember that I looked in the whole Emacs source tree (Lisp part only, though) to see if the numerical id is ever actually used. It turned out that what the code really wants is the user name. So I believe it would be good to at least offer the code the ability to request names instead of numbers, and to then convert the existing code to the names. Then, VC could work without those kludges. Warning: I'm out of the loop now and my memory is hazy, quite possibly this is wrong. *sigh* Later, I'll be able to invest more brains into this, I hope. Kai