From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Windows Emacs doesn't understand UNIX symbolic link? Date: Thu, 03 Apr 2008 06:12:34 +0300 Message-ID: References: <27202653-22F2-4BD5-BC50-2FA036609A07@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1207192413 19032 80.91.229.12 (3 Apr 2008 03:13:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Apr 2008 03:13:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 03 05:14:05 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JhFts-0007zs-TQ for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Apr 2008 05:14:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhFtG-0004EO-Ar for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Apr 2008 23:13:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JhFsa-00045R-LJ for help-gnu-emacs@gnu.org; Wed, 02 Apr 2008 23:12:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JhFsZ-00043e-7E for help-gnu-emacs@gnu.org; Wed, 02 Apr 2008 23:12:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhFsY-00043Z-Lp for help-gnu-emacs@gnu.org; Wed, 02 Apr 2008 23:12:42 -0400 Original-Received: from heller.inter.net.il ([213.8.233.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JhFsY-0001bH-DY for help-gnu-emacs@gnu.org; Wed, 02 Apr 2008 23:12:42 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-12-167.inter.net.il [80.230.12.167]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id FKJ57251 (AUTH halo1); Thu, 3 Apr 2008 06:12:40 +0300 (IDT) In-reply-to: (message from Peter Dyballa on Thu, 3 Apr 2008 00:12:39 +0200) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52997 Archived-At: > Cc: help-gnu-emacs@gnu.org > From: Peter Dyballa > Date: Thu, 3 Apr 2008 00:12:39 +0200 > > > Am 02.04.2008 um 19:54 schrieb Eli Zaretskii: > >> Why should that make a difference? Although TRAMP sees on the remote > >> UNIX host a sym-link it can present to MS Losedos nothing but some > >> kind of file. > > > > And what does Tramp present to Emacs on a Unix system? isn't that > > ``some kind of file'' as well? > > > A file with the character of a sym-link – and UNIX can handle that. For remote files, Tramp handles that, not the local OS. If the remote file is a symlink, I'd expect Tramp to resolve it and bring to Emacs the contents of the target of the link. > On a system that can't distinguish a file from a sym-link For a remote file, it's Tramp that needs to distinguish between them. The file-symlink-p primitive should hand the file name to Tramp, for that to happen, as it probably does on Unix. > A system able to handle sym-links won't send such requests to TRAMP, > so TRAMP won't do the nonsense described. Are you sure that Tramp does such nonsense on Unix?