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: generation of tramp-loaddefs Date: Mon, 13 Sep 2010 17:49:29 +0200 Message-ID: <878w3563ue.fsf@gmx.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1284392995 6034 80.91.229.12 (13 Sep 2010 15:49:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Sep 2010 15:49:55 +0000 (UTC) Cc: Emacs developers To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 13 17:49:54 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OvBHv-00045X-S1 for ged-emacs-devel@m.gmane.org; Mon, 13 Sep 2010 17:49:48 +0200 Original-Received: from localhost ([127.0.0.1]:60057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvBHv-0004JP-4y for ged-emacs-devel@m.gmane.org; Mon, 13 Sep 2010 11:49:47 -0400 Original-Received: from [140.186.70.92] (port=41608 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvBHo-0004JJ-N8 for emacs-devel@gnu.org; Mon, 13 Sep 2010 11:49:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OvBHk-0000S3-CN for emacs-devel@gnu.org; Mon, 13 Sep 2010 11:49:40 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:33369 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OvBHj-0000Rr-RS for emacs-devel@gnu.org; Mon, 13 Sep 2010 11:49:36 -0400 Original-Received: (qmail invoked by alias); 13 Sep 2010 15:49:34 -0000 Original-Received: from p4FC18E1E.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [79.193.142.30] by mail.gmx.net (mp003) with SMTP; 13 Sep 2010 17:49:34 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19ds9k1xWFdc1t+DZ+vN8lJF0cAdZW4zVPa/vrfhd 5saH/b15AoSlv/ In-Reply-To: (Juanma Barranquero's message of "Mon, 13 Sep 2010 17:38:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:130058 Archived-At: Juanma Barranquero writes: > I'm porting this change to Windows: > > 2010-09-08 Michael Albinus > > Migrate to Tramp 2.2. Rearrange load dependencies. > (Bug#1529, Bug#5448, Bug#5705) Thanks a lot! > but AFAICS, this > > TRAMP_DIR = $(lisp)/net > TRAMP_SRC = $(TRAMP_DIR)/tramp.el $(TRAMP_DIR)/tramp-cache.el \ > [... etc...] > > $(TRAMP_DIR)/tramp-loaddefs.el: $(TRAMP_SRC) > $(emacs) -l autoload \ > --eval "(setq generate-autoload-cookie \";;;###tramp-autoload\")" \ > --eval "(setq generated-autoload-file \"$@\")" \ > --eval "(setq make-backup-files nil)" \ > -f batch-update-autoloads $(TRAMP_DIR) > > will update autoloads for *all* files in lisp/net/*, using > $(TRAMP_DIR)/tramp-loaddefs.el as autoload file. Or am I missing > something? That's correct. But it doesn't hurt, because it uses the autoload cookie ";;;###tramp-autoload", which exists only in tramp-*.el files. An alternative would be to introduce an own lisp/tramp subdirectory, but Tramp does not reach the "20 files or up" count. Shall I continue to split the files? :-) > Juanma Best regards, Michael.