From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: tramp 2.1.13-pre messed up symbolic link? Date: Fri, 27 Jun 2008 09:05:38 +0200 Message-ID: References: <87bq1v18ux.fsf@gmx.de> <8d61170c0806220203h75885df3nf6283e13c6d3732c@mail.gmail.com> <8d61170c0806232224r324a4b0gb1f22fa28ac78e36@mail.gmail.com> <6aa768f2-76c7-4445-ae5b-cf40930e20f1@79g2000hsk.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1214550306 20015 80.91.229.12 (27 Jun 2008 07:05:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Jun 2008 07:05:06 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Thr4wn Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 27 09:05:50 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 1KC81f-0000lS-D0 for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Jun 2008 09:05:49 +0200 Original-Received: from localhost ([127.0.0.1]:48735 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KC80p-0003ZW-31 for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Jun 2008 03:04:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KC80W-0003Xb-Fc for help-gnu-emacs@gnu.org; Fri, 27 Jun 2008 03:04:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KC80T-0003TP-Tj for help-gnu-emacs@gnu.org; Fri, 27 Jun 2008 03:04:31 -0400 Original-Received: from [199.232.76.173] (port=55943 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KC80T-0003TG-Qe for help-gnu-emacs@gnu.org; Fri, 27 Jun 2008 03:04:29 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:57064) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KC80S-0003FZ-E5 for help-gnu-emacs@gnu.org; Fri, 27 Jun 2008 03:04:29 -0400 Original-Received: from mailrelay2.alcatel.de ([194.113.59.96]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KC80F-0005Bg-If for help-gnu-emacs@gnu.org; Fri, 27 Jun 2008 03:04:15 -0400 Original-Received: from slbhab.alcatel.de (slbhab.bln.sel.alcatel.de [149.204.63.218]) by mailrelay2.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id m5R746HV023802; Fri, 27 Jun 2008 09:04:07 +0200 In-Reply-To: <6aa768f2-76c7-4445-ae5b-cf40930e20f1@79g2000hsk.googlegroups.com> (Seth.A.Bird@gmail.com's message of "Thu, 26 Jun 2008 10:20:09 -0700 (PDT)") User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux) X-Scanned-By: MIMEDefang 2.57 on 149.204.45.73 X-detected-kernel: by mx20.gnu.org: Linux 2.6, seldom 2.4 (older, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:55106 Archived-At: --=-=-= Thr4wn writes: > how do I apply the patch? Saving the enclosure as file, applying "patch". If you run Emacs for reading emails, you could use `ediff-patch-file'. > also, is the second patch the 'newer' one, or am I supposed to apply > the first one as well, because I receive 404 error when I click it. Usually, it should. Unfortunately, I have provided *this* patch in the wrong order, my sloppiness. Sorry for this. I append the patch, again, in the right order. > -Thr4wn Best regards, Michael. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment *** /tmp/tramp.el.~1~ Fri Jun 27 09:03:41 2008 --- /tmp/tramp.el Fri Jun 27 09:03:41 2008 *************** *** 2675,2683 **** (defun tramp-handle-file-modes (filename) "Like `file-modes' for Tramp files." ! (when (file-exists-p filename) ! (tramp-mode-string-to-int ! (nth 8 (file-attributes filename))))) (defun tramp-handle-file-directory-p (filename) "Like `file-directory-p' for Tramp files." --- 2675,2684 ---- (defun tramp-handle-file-modes (filename) "Like `file-modes' for Tramp files." ! (let ((truename (or (file-truename filename) filename))) ! (when (and (stringp truename) (file-exists-p truename)) ! (tramp-mode-string-to-int ! (nth 8 (file-attributes truename)))))) (defun tramp-handle-file-directory-p (filename) "Like `file-directory-p' for Tramp files." --=-=-=--