From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Emacs unconditionally loads tramp.el Date: Sat, 29 Apr 2006 21:55:39 +0200 Message-ID: <87zmi4i2bo.fsf@gmx.de> References: <87r73n5o5x.fsf@pacem.orebokech.com> <87iroz5g0z.fsf@pacem.orebokech.com> <87u08iyd2r.fsf@gmx.de> <87hd4ewcj0.fsf@gmx.de> <87slnxtqum.fsf@gmx.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146340562 8783 80.91.229.2 (29 Apr 2006 19:56:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 Apr 2006 19:56:02 +0000 (UTC) Cc: eliz@gnu.org, romain@orebokech.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 29 21:56:00 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FZvXl-0003vI-PC for ged-emacs-devel@m.gmane.org; Sat, 29 Apr 2006 21:55:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZvXl-0001xm-DJ for ged-emacs-devel@m.gmane.org; Sat, 29 Apr 2006 15:55:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FZvXZ-0001xh-H5 for emacs-devel@gnu.org; Sat, 29 Apr 2006 15:55:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FZvXX-0001xV-9W for emacs-devel@gnu.org; Sat, 29 Apr 2006 15:55:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZvXX-0001xS-3w for emacs-devel@gnu.org; Sat, 29 Apr 2006 15:55:39 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1FZvax-0000DD-B0 for emacs-devel@gnu.org; Sat, 29 Apr 2006 15:59:11 -0400 Original-Received: (qmail invoked by alias); 29 Apr 2006 19:55:37 -0000 Original-Received: from p54BD8E4F.dip0.t-ipconnect.de (EHLO localhost.local) [84.189.142.79] by mail.gmx.net (mp001) with SMTP; 29 Apr 2006 21:55:37 +0200 X-Authenticated: #3708877 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sat, 29 Apr 2006 15:09:40 -0400") User-Agent: Gnus/5.110005 (No Gnus v0.5) Emacs/22.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53615 Archived-At: Richard Stallman writes: > I just found that this problem was due to XEmacs compatibility code. > So I deleted that code. I won't delete XEmacs compatibility code > merely because it is XEmacs compatibility code; but I won't let > a bug remain in Emacs for the sake of XEmacs. Could we agree on this? magdalene:~/src/emacs/lisp/net> cvs diff tramp.el Index: tramp.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/net/tramp.el,v retrieving revision 1.95 diff -u -r1.95 tramp.el --- tramp.el 29 Apr 2006 15:58:31 -0000 1.95 +++ tramp.el 29 Apr 2006 19:50:57 -0000 @@ -1931,9 +1931,14 @@ ;; Handlers for partial tramp file names. For Emacs just ;; `file-name-all-completions' is needed. (defconst tramp-completion-file-name-handler-alist - '( - (file-name-all-completions . tramp-completion-handle-file-name-all-completions) - (file-name-completion . tramp-completion-handle-file-name-completion)) + (append + '((file-name-all-completions . tramp-completion-handle-file-name-all-completions) + (file-name-completion . tramp-completion-handle-file-name-completion)) + (when (featurep 'xemacs) + '((file-name-directory . tramp-completion-handle-file-name-directory) + (file-name-nondirectory . tramp-completion-handle-file-name-nondirectory) + (file-exists-p . tramp-completion-handle-file-exists-p) + (expand-file-name . tramp-completion-handle-expand-file-name)))) "Alist of completion handler functions. Used for file names matching `tramp-file-name-regexp'. Operations not mentioned here will be handled by `tramp-file-name-handler-alist' or the > I also noticed this: > > ; These values conform to `file-attributes' from XEmacs 21.2. > ; Emacs and other tools not checked. > (defconst tramp-file-mode-type-map > > What exactly hasn't been checked here? Don't know, it was written before I've entered the Tramp team. I'll check. Best regards, Michael.