GNU bug report logs - #1529
23.0.60; Recursive load: tramp.elc

Previous Next

Package: emacs;

Reported by: trentbuck <at> gmail.com

Date: Wed, 10 Dec 2008 03:30:03 UTC

Severity: important

Merged with 5705

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1529 in the body.
You can then email your comments to 1529 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1529; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to trentbuck <at> gmail.com:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: trentbuck <at> gmail.com
To: emacs-pretest-bug <at> gnu.org
Cc: rfrancoise <at> debian.org
Subject: 23.0.60; Recursive load: tramp.elc
Date: Tue, 09 Dec 2008 19:24:00 -0800 (PST)
I get this sometimes, and it's bloody annoying, because once I get it
I don't know how to actually use tramp without restarting Emacs.

Loading tramp...
require: Recursive load: "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc"

In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2008-12-06 on elegiac, modified by Debian
 (emacs-snapshot package, version 1:20081205-1)
configured using `configure  '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_AU.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  rcirc-track-minor-mode: t
  savehist-mode: t
  icomplete-mode: t
  partial-completion-mode: t
  show-paren-mode: t
  delete-selection-mode: t
  tooltip-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
[ 1 ~ d e b i a n SPC RET ESC O B ESC O B ESC O B ESC 
O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B 
ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC 
O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B 
ESC O B ESC O B ESC O B ESC O B C-x 2 ESC a C-x b # 
d e RET H m m , SPC m a y b e SPC i t SPC i s SPC U 
b u n t u ' s SPC f a u l t . SPC SPC I DEL G o o g 
l e SPC c a n ' t SPC f i n d SPC a n y SPC r e f e 
r e n c e SPC DEL s SPC t o SPC D e b i a n SPC h a 
v i n g SPC t h i s SPC s t u p i DEL DEL DEL DEL DEL 
m o u n t . RET l DEL B l o o d y SPC U b u n t u SPC 
g DEL c r a p RET C-x ESC O B C-x C-f / s t r C-g C-x 
C-f / s C-h e ESC O A ESC O A ESC O A ESC O A ESC O 
A ESC O C C-@ ESC O B ESC O B ESC w ESC > ESC x r e 
p o r t SPC e m a c s SPC b u g RET

Recent messages:
Mark saved where search started
Mark set
Error during redisplay: (quit)
Mark saved where search started [3 times]
Loading tramp...
require: Recursive load: "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc"
Quit
Loading tramp...
require: Recursive load: "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc"
Mark set [2 times]




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1529; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 1529 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: trentbuck <at> gmail.com
Cc: 1529 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#1529: 23.0.60; Recursive load: tramp.elc
Date: Thu, 11 Dec 2008 07:01:01 +0100
trentbuck <at> gmail.com writes:

> I get this sometimes, and it's bloody annoying, because once I get it
> I don't know how to actually use tramp without restarting Emacs.
>
> Loading tramp...
> require: Recursive load: "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc"

How do you load Tramp in your .emacs? Does it happen also, when you start
"emacs -Q"?

Best regards, Michael.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1529; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Trent W. Buck" <trentbuck <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #15 received at 1529 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Trent W. Buck" <trentbuck <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 1529 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#1529: 23.0.60; Recursive load: tramp.elc
Date: Thu, 11 Dec 2008 17:18:41 +1100
On Thu, Dec 11, 2008 at 07:01:01AM +0100, Michael Albinus wrote:
> trentbuck <at> gmail.com writes:
> 
> > I get this sometimes, and it's bloody annoying, because once I get it
> > I don't know how to actually use tramp without restarting Emacs.
> >
> > Loading tramp...
> > require: Recursive load: "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc"
> 
> How do you load Tramp in your .emacs? Does it happen also, when you start
> "emacs -Q"?

I don't load tramp in my .emacs.  I can't reproduce this just by
starting a new Emacs, either with or without -Q -- it's something that
seems to happen only when there's some additional condition that I
rarely trigger.

To give a completely unfounded example, it might only happen if Emacs
is started indirectly by emacsclient, and then later I try to use
ido-find-file.

As far as I can remember, the error itself is always triggered when
using ido-find-file, and not when e.g. clicking on a file in dired.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1529; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #20 received at 1529 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: "Trent W. Buck" <trentbuck <at> gmail.com>
Cc: 1529 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#1529: 23.0.60; Recursive load: tramp.elc
Date: Sat, 13 Dec 2008 14:30:53 +0100
"Trent W. Buck" <trentbuck <at> gmail.com> writes:

>> How do you load Tramp in your .emacs? Does it happen also, when you start
>> "emacs -Q"?
>
> I don't load tramp in my .emacs.  I can't reproduce this just by
> starting a new Emacs, either with or without -Q -- it's something that
> seems to happen only when there's some additional condition that I
> rarely trigger.
>
> To give a completely unfounded example, it might only happen if Emacs
> is started indirectly by emacsclient, and then later I try to use
> ido-find-file.
>
> As far as I can remember, the error itself is always triggered when
> using ido-find-file, and not when e.g. clicking on a file in dired.

I've tried it under different constellations. Unfortunately, I cannot
reproduce the problem, also using your recipe.

So I must wait for a robust description for seeing it here. Sorry.

Best regards, Michael.




Tags added: moreinfo Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 17 Dec 2008 19:30:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1529; Package emacs. (Mon, 13 Apr 2009 16:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Reinhard Tartler <siretart <at> tauware.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 13 Apr 2009 16:45:03 GMT) Full text and rfc822 format available.

Message #27 received at 1529 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Reinhard Tartler <siretart <at> tauware.de>
To: Romain Francoise <romain <at> orebokech.com>, 1529 <at> debbugs.gnu.org
Cc: michael.albinus <at> gmx.de
Subject: Re: [emacs-snapshot/master] Changelog entry for 20090411-1
Date: Mon, 13 Apr 2009 18:37:23 +0200
Romain Francoise <romain <at> orebokech.com> writes:

> Hi Reinhard,
>
> Reinhard Tartler <siretart <at> tauware.de> writes:
>
>> just a quick question, does tramp work for you in 200904011? I've
>> installed the jaunty package, but I only get an error message about
>> Recursive load: "/usr/share/emacs/23.0.92/lisp/net/tramp.elc",
>> "/usr/share/emacs/23.0.92/lisp/net/tramp-cmds.elc",
>> "/usr/share/emacs/23.0.92/lisp/net/tramp.elc",
>> "/usr/share/emacs/23.0.92/lisp/net/tramp-cmds.elc",
>> "/usr/share/emacs/23.0.92/lisp/net/tramp.elc",
>> "/usr/share/emacs/23.0.92/lisp/net/tramp-cmds.elc",
>> "/usr/share/emacs/23.0.92/lisp/net/tramp.elc",
>> "/usr/share/emacs/23.0.92/lisp/net/tramp-cmds.elc",
>> "/usr/share/emacs/23.0.92/lisp/net/tramp.elc"
>
> That looks like bug #1529, http://debbugs.gnu.org/1529 :(
>
> I've never managed to reproduce it myself, and the Tramp maintainer
> doesn't know what it's about either... It's tagged 'moreinfo', if
> you have a reliable way to reproduce this I'd appreciate if you
> could poke around. It works fine for me (and I just rechecked in
> 20090411-1).

I can reliably reproduce it with the package 'emacs-goodies-el'
installed. Tramp works fine with 'emacs-goodies-el' uninstalled.

Perhaps that helps you to further track down the issue?

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1529; Package emacs. (Mon, 13 Apr 2009 17:20:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Reinhard Tartler <siretart <at> tauware.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 13 Apr 2009 17:20:08 GMT) Full text and rfc822 format available.

Message #32 received at 1529 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Reinhard Tartler <siretart <at> tauware.de>
To: Romain Francoise <romain <at> orebokech.com>
Cc: 1529 <at> debbugs.gnu.org, michael.albinus <at> gmx.de
Subject: Re: [emacs-snapshot/master] Changelog entry for 20090411-1
Date: Mon, 13 Apr 2009 19:10:24 +0200
[Message part 1 (text/plain, inline)]
Reinhard Tartler <siretart <at> tauware.de> writes:

> Romain Francoise <romain <at> orebokech.com> writes:
>
>> Hi Reinhard,
>>
>> Reinhard Tartler <siretart <at> tauware.de> writes:
>>
>>> just a quick question, does tramp work for you in 200904011? I've
>>> installed the jaunty package, but I only get an error message about
>>> Recursive load: "/usr/share/emacs/23.0.92/lisp/net/tramp.elc",
>>> "/usr/share/emacs/23.0.92/lisp/net/tramp-cmds.elc",
>>> "/usr/share/emacs/23.0.92/lisp/net/tramp.elc",
>>> "/usr/share/emacs/23.0.92/lisp/net/tramp-cmds.elc",
>>> "/usr/share/emacs/23.0.92/lisp/net/tramp.elc",
>>> "/usr/share/emacs/23.0.92/lisp/net/tramp-cmds.elc",
>>> "/usr/share/emacs/23.0.92/lisp/net/tramp.elc",
>>> "/usr/share/emacs/23.0.92/lisp/net/tramp-cmds.elc",
>>> "/usr/share/emacs/23.0.92/lisp/net/tramp.elc"
>>
>> That looks like bug #1529, http://debbugs.gnu.org/1529 :(
>>
>> I've never managed to reproduce it myself, and the Tramp maintainer
>> doesn't know what it's about either... It's tagged 'moreinfo', if
>> you have a reliable way to reproduce this I'd appreciate if you
>> could poke around. It works fine for me (and I just rechecked in
>> 20090411-1).
>
> I can reliably reproduce it with the package 'emacs-goodies-el'
> installed. Tramp works fine with 'emacs-goodies-el' uninstalled.
>
> Perhaps that helps you to further track down the issue?

It seems that color-theme.el is causing the issue. I'm attaching the
lisp file for your convenience. Can someone else confirm that
color-theme.el breaks tramp?

[color-theme.el (application/emacs-lisp, attachment)]
[Message part 3 (text/plain, inline)]

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1529; Package emacs. (Tue, 14 Apr 2009 12:25:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 14 Apr 2009 12:25:06 GMT) Full text and rfc822 format available.

Message #37 received at 1529 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Reinhard Tartler <siretart <at> tauware.de>
Cc: Romain Francoise <romain <at> orebokech.com>, 1529 <at> debbugs.gnu.org
Subject: Re: [emacs-snapshot/master] Changelog entry for 20090411-1
Date: Tue, 14 Apr 2009 14:17:42 +0200
Reinhard Tartler <siretart <at> tauware.de> writes:

>> I can reliably reproduce it with the package 'emacs-goodies-el'
>> installed. Tramp works fine with 'emacs-goodies-el' uninstalled.
>>
>> Perhaps that helps you to further track down the issue?
>
> It seems that color-theme.el is causing the issue. I'm attaching the
> lisp file for your convenience. Can someone else confirm that
> color-theme.el breaks tramp?

Could you, please, tell me the steps how to reproduce? I cannot
reproduce, doing

~/src/emacs/src/emacs -Q 
C-x C-f ~/lisp/color-theme.el
M-x eval-current-buffer
[Tools] -> [Color Themes] -> [Classic]
C-x C-f /ssh::

Best regards, Michael.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1529; Package emacs. (Tue, 14 Apr 2009 13:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Reinhard Tartler <siretart <at> tauware.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 14 Apr 2009 13:15:03 GMT) Full text and rfc822 format available.

Message #42 received at 1529 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Reinhard Tartler <siretart <at> tauware.de>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: Romain Francoise <romain <at> orebokech.com>, 1529 <at> debbugs.gnu.org
Subject: Re: [emacs-snapshot/master] Changelog entry for 20090411-1
Date: Tue, 14 Apr 2009 15:08:26 +0200
Michael Albinus <michael.albinus <at> gmx.de> writes:

> Reinhard Tartler <siretart <at> tauware.de> writes:
>
>>> I can reliably reproduce it with the package 'emacs-goodies-el'
>>> installed. Tramp works fine with 'emacs-goodies-el' uninstalled.
>>>
>>> Perhaps that helps you to further track down the issue?
>>
>> It seems that color-theme.el is causing the issue. I'm attaching the
>> lisp file for your convenience. Can someone else confirm that
>> color-theme.el breaks tramp?
>
> Could you, please, tell me the steps how to reproduce? I cannot
> reproduce, doing
>
> ~/src/emacs/src/emacs -Q 
> C-x C-f ~/lisp/color-theme.el
> M-x eval-current-buffer
> [Tools] -> [Color Themes] -> [Classic]
> C-x C-f /ssh::

sorry, no. This way I cannot reproduce it either :(

However during my tests, I discovered the following:

when pressing C-x C-f /ssh:
                          ^
                          at that point, tramp gets loaded. I notice
                          that in the minibuffer by a flashing message.

In a "clean" environment (running emacs with -Q), this happens only the
first time I do that in my emacs session. in my "unclean" session (that
is with my customisations), this happens every time.

Any clue how to debug these automatic loadings?

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1529; Package emacs. (Tue, 14 Apr 2009 13:20:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 14 Apr 2009 13:20:03 GMT) Full text and rfc822 format available.

Message #47 received at 1529 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Reinhard Tartler <siretart <at> tauware.de>
Cc: Romain Francoise <romain <at> orebokech.com>, 1529 <at> debbugs.gnu.org
Subject: Re: [emacs-snapshot/master] Changelog entry for 20090411-1
Date: Tue, 14 Apr 2009 15:14:52 +0200
Reinhard Tartler <siretart <at> tauware.de> writes:

> However during my tests, I discovered the following:
>
> when pressing C-x C-f /ssh:
>                           ^
>                           at that point, tramp gets loaded. I notice
>                           that in the minibuffer by a flashing message.
>
> In a "clean" environment (running emacs with -Q), this happens only the
> first time I do that in my emacs session. in my "unclean" session (that
> is with my customisations), this happens every time.
>
> Any clue how to debug these automatic loadings?

Send me your .emacs and related files, if they are not secret. I try to
reproduce.

Best regards, Michael.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1529; Package emacs. (Tue, 14 Apr 2009 15:30:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Reinhard Tartler <siretart <at> tauware.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 14 Apr 2009 15:30:05 GMT) Full text and rfc822 format available.

Message #52 received at 1529 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Reinhard Tartler <siretart <at> tauware.de>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: Romain Francoise <romain <at> orebokech.com>, 1529 <at> debbugs.gnu.org
Subject: Re: [emacs-snapshot/master] Changelog entry for 20090411-1
Date: Tue, 14 Apr 2009 17:27:44 +0200
Michael Albinus <michael.albinus <at> gmx.de> writes:

> Reinhard Tartler <siretart <at> tauware.de> writes:
>
>> However during my tests, I discovered the following:
>>
>> when pressing C-x C-f /ssh:
>>                           ^
>>                           at that point, tramp gets loaded. I notice
>>                           that in the minibuffer by a flashing message.
>>
>> In a "clean" environment (running emacs with -Q), this happens only the
>> first time I do that in my emacs session. in my "unclean" session (that
>> is with my customisations), this happens every time.
>>
>> Any clue how to debug these automatic loadings?
>
> Send me your .emacs and related files, if they are not secret. I try to
> reproduce.

I don't think they will help you. I've figured out that it does not
happen if one removes the emacs-goodies-el package, which adds system
customisation to emacs.

Currently the best testcase would be to install a debian or ubuntu
system in some virtual machine. I'll keep on trying to produce a "more"
minimal testcase.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1529; Package emacs. (Tue, 14 Apr 2009 16:10:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Romain Francoise <romain <at> orebokech.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 14 Apr 2009 16:10:04 GMT) Full text and rfc822 format available.

Message #57 received at 1529 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Romain Francoise <romain <at> orebokech.com>
To: Reinhard Tartler <siretart <at> tauware.de>
Cc: Michael Albinus <michael.albinus <at> gmx.de>, 1529 <at> debbugs.gnu.org
Subject: Re: [emacs-snapshot/master] Changelog entry for 20090411-1
Date: Tue, 14 Apr 2009 18:03:38 +0200
Reinhard Tartler <siretart <at> tauware.de> writes:

> Currently the best testcase would be to install a debian or ubuntu
> system in some virtual machine. I'll keep on trying to produce a
> "more" minimal testcase.

I can't reproduce it here with emacs-goodies-el 29.5-1 on Debian
unstable.  Are you sure that you don't have an old Tramp installed
somewhere on your system, or perhaps the tramp package installed?
Does your configuration mention Tramp in any way?

I see that emacs-goodies-el.el (loaded via a site-start.d file)
plays lots of games with load-path and autoloads but I don't see
why that would make Tramp fail like that.

How did you arrive at the conclusion that color-theme.el was
involved?

Thanks.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1529; Package emacs. (Wed, 15 Apr 2009 09:35:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 15 Apr 2009 09:35:04 GMT) Full text and rfc822 format available.

Message #62 received at 1529 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Reinhard Tartler <siretart <at> tauware.de>
Cc: Romain Francoise <romain <at> orebokech.com>, 1529 <at> debbugs.gnu.org
Subject: Re: [emacs-snapshot/master] Changelog entry for 20090411-1
Date: Wed, 15 Apr 2009 11:24:59 +0200
Reinhard Tartler <siretart <at> tauware.de> writes:

> I'm attaching my local emacs configuration to this email. My ~/.emacs
> file is a symlink to the 'emacs' file in the top level directory of the
> archive. The funny thing is: If I start emacs with -Q to avoid loading
> the environment, and M-x eval-current-buffer on the file 'emacs' then
> tramp continues to work.

You have a file "tramp.el" in your private lisp directory. Likely this
directory comes *before* the directory the real tramp.el is located.

When you open a file, Tramp tries to be autoloaded. It finds *your*
tramp.el; therefore autoload fails (and it tries it again and again, I
guess).

Please rename your private tramp.el to something different.

Best regards, Michael.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1529; Package emacs. (Wed, 15 Apr 2009 15:00:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Reinhard Tartler <siretart <at> tauware.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 15 Apr 2009 15:00:04 GMT) Full text and rfc822 format available.

Message #67 received at 1529 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Reinhard Tartler <siretart <at> tauware.de>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: Romain Francoise <romain <at> orebokech.com>, 1529 <at> debbugs.gnu.org,
        1529-submitter <at> debbugs.gnu.org
Subject: Re: [emacs-snapshot/master] Changelog entry for 20090411-1
Date: Wed, 15 Apr 2009 16:51:26 +0200
Michael Albinus <michael.albinus <at> gmx.de> writes:

> Reinhard Tartler <siretart <at> tauware.de> writes:
>
>> I'm attaching my local emacs configuration to this email. My ~/.emacs
>> file is a symlink to the 'emacs' file in the top level directory of the
>> archive. The funny thing is: If I start emacs with -Q to avoid loading
>> the environment, and M-x eval-current-buffer on the file 'emacs' then
>> tramp continues to work.
>
> You have a file "tramp.el" in your private lisp directory. Likely this
> directory comes *before* the directory the real tramp.el is located.
>
> When you open a file, Tramp tries to be autoloaded. It finds *your*
> tramp.el; therefore autoload fails (and it tries it again and again, I
> guess).
>
> Please rename your private tramp.el to something different.

AAAh, thank you very much.

This solved the issue on both of my machines.

Perhaps the original submitter suffered from the same problem?

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4




Message sent on to trentbuck <at> gmail.com:
bug#1529. (Wed, 15 Apr 2009 15:00:05 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1529; Package emacs. (Wed, 15 Apr 2009 15:10:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 15 Apr 2009 15:10:04 GMT) Full text and rfc822 format available.

Message #75 received at 1529 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Reinhard Tartler <siretart <at> tauware.de>
Cc: Romain Francoise <romain <at> orebokech.com>, 1529 <at> debbugs.gnu.org,
        1529-submitter <at> debbugs.gnu.org
Subject: Re: [emacs-snapshot/master] Changelog entry for 20090411-1
Date: Wed, 15 Apr 2009 17:04:07 +0200
Reinhard Tartler <siretart <at> tauware.de> writes:

> AAAh, thank you very much.
>
> This solved the issue on both of my machines.
>
> Perhaps the original submitter suffered from the same problem?

Don't know. But he wrote, that it happens for him also when starting
emacs -Q, so maybe it is something different.

Best regards, Michael.




Message sent on to trentbuck <at> gmail.com:
bug#1529. (Wed, 15 Apr 2009 15:10:06 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1529; Package emacs. (Tue, 27 Oct 2009 23:30:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gregor Zattler <grfz <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 27 Oct 2009 23:30:05 GMT) Full text and rfc822 format available.

Message #83 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Gregor Zattler <grfz <at> gmx.de>
To: "Trent W. Buck" <trentbuck <at> gmail.com>,
        Michael Albinus <michael.albinus <at> gmx.de>,
        1529 <at> debbugs.gnu.org, rfrancoise <at> debian.org,
        emacs-pretest-bug <at> gnu.org
Subject: Re: bug#1529: 23.0.60; Recursive load: tramp.elc
Date: Wed, 28 Oct 2009 00:23:06 +0100
Dear emacs developers,
* Trent W. Buck <trentbuck <at> gmail.com> [11. Dec. 2008]:
> On Thu, Dec 11, 2008 at 07:01:01AM +0100, Michael Albinus wrote:
>> trentbuck <at> gmail.com writes:
>> 
>>> I get this sometimes, and it's bloody annoying, because once I get it
>>> I don't know how to actually use tramp without restarting Emacs.

Same for me since a few days.  Since a few days/weeks tramp is loaded
every time a file is opened. That slows things down.  

This is 
GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3) of 2009-10-23 on elegiac, modified by Debian

and this is the error message:

require: Recursive load:
"/usr/share/emacs/23.1.50/lisp/net/tramp.elc",
"/usr/share/emacs/23.1.50/lisp/net/tramp-cmds.elc",
"/usr/share/emacs/23.1.50/lisp/net/tramp.elc",
"/usr/share/emacs/23.1.50/lisp/net/tramp-cmds.elc",
"/usr/share/emacs/23.1.50/lisp/net/tramp.elc",
"/usr/share/emacs/23.1.50/lisp/net/tramp-cmds.elc",
"/usr/share/emacs/23.1.50/lisp/net/tramp.elc",
"/usr/share/emacs/23.1.50/lisp/net/tramp-cmds.elc",
"/usr/share/emacs/23.1.50/lisp/net/tramp.elc"

>>> Loading tramp...
>>> require: Recursive load: "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp-cmds.elc", "/usr/share/emacs/23.0.60/lisp/net/tramp.elc"
>> 
>> How do you load Tramp in your .emacs? Does it happen also, when you start
>> "emacs -Q"?
> 
> I don't load tramp in my .emacs.  I can't reproduce this just by
> starting a new Emacs, either with or without -Q -- it's something that
> seems to happen only when there's some additional condition that I
> rarely trigger.
> 
> To give a completely unfounded example, it might only happen if Emacs
> is started indirectly by emacsclient, and then later I try to use
> ido-find-file.
> 
> As far as I can remember, the error itself is always triggered when
> using ido-find-file, and not when e.g. clicking on a file in dired.

While I also have ido enabled here it now happens when calling
emacs-client from a shell script which in turn is called by mutt in
order to reply to an email.  Therefore I write this bug report with "jed".

Elsewhere in this thread/bug report the package emacs-goodies-el was
mentioned.  I have emacs-goodies-el installed.  My personal emacs
configuration has one tramp configuration:

 '(tramp-copy-size-limit 0 nil nil "otherwise TRAMP fails when there are no inline transport methods")
 
but does not "require" nor "load" tramp.  There is no file tramp.el or
similar in my private load-path.  

I'm trapped in this recursion loop since emacs loads tramp even when I
try kill-emacs.


Now I killed emacs, started a new emacs session (no problems so far)
and cut 'n paste the info it attaches to a bug report.

I don't speak elisp but would like to help you debug this bug.

Thanks for emacs,
Gregor




In GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3)
 of 2009-10-23 on elegiac, modified by Debian
 (emacs-snapshot package, version 1:20091023-1)
configured using `configure  '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.1.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1.50/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: de_DE.utf8
  value of $LC_MESSAGES: POSIX
  value of $LC_MONETARY: de_DE.utf8
  value of $LC_NUMERIC: de_DE.utf8
  value of $LC_TIME: de_DE.utf8
  value of $LANG: de_DE.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Post

Minor modes in effect:
  flyspell-mode: t
  savehist-mode: t
  recentf-mode: t
  global-hl-line-mode: t
  display-time-mode: t
  show-paren-mode: t
  ido-everywhere: t
  cua-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
ESC x r e p o TAB C-g C-g C-h a b u g RET ESC ESC [ 
6 ~ ESC ESC [ 6 ~ C-g C-g C-x 1 ESC x r e p o TAB r 
TAB RET

Recent messages:
Starting Emacs daemon.
Modification-flag cleared
Starting new Ispell process [deutsch8] ...
Recognizing tables...done
When done with a buffer, type C-x #
Making completion list...
Quit [2 times]
Type C-x 1 to remove help window.  
Quit [2 times]
Making completion list...

Load-path shadows:
/usr/share/emacs/23.1.50/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs-snapshot/site-lisp/emms/tq hides /usr/share/emacs/23.1.50/lisp/emacs-lisp/tq

Features:
(shadow mail-extr message ecomplete rfc822 mml mml-sec password-cache
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 qp
ietf-drums mailabbrev nnheader gnus-util netrc gmm-utils mailheader
canlock sha1 hex-util hashcash mail-utils emacsbug sendmail apropos
help-mode view pp flyspell ispell server mule-util cal-move appt
diary-lib diary-loaddefs cal-menu calendar cal-loaddefs ffap ff-paths
savehist recentf tree-widget avoid org-remember org byte-opt bytecomp
byte-compile org-footnote org-src org-list org-faces org-compat org-macs
noutline outline remember emms-volume easy-mmode emms-volume-amixer
format-spec emms-tag-editor emms-i18n emms-mark emms-history
emms-bookmarks emms-last-played emms-stream-info emms-metaplaylist-mode
emms-lastfm emms-url url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-util url-parse timezone url-vars mm-util
mail-prsvr mailcap emms-browser sort emms-playlist-sort emms-score
emms-player-xine emms-player-mpd tq emms-playing-time emms-lyrics
time-date emms-streams emms-mode-line emms-cache emms-info-ogginfo
emms-info-mp3info emms-info later-do emms-playlist-mode
emms-player-mplayer emms-player-simple emms-source-playlist
emms-source-file emms-setup emms emms-compat muse-docbook muse-texinfo
texnfo-upd texinfo muse-latex muse-html muse-xml-common cus-edit
cus-start cus-load muse-publish muse-project muse-protocols info
muse-regexps wid-edit muse muse-nested-tags muse-mode filladapt table
post derived hl-line time paren uniquify sr-speedbar cl cl-19 advice
help-fns advice-preload speedbar sb-image ezimage dframe easymenu assoc
wdired dired-x dired-aux dired regexp-opt ido cua-base edmacro kmacro
package reporter muse-autoloads emms-auto emacs-goodies-el
emacs-goodies-custom emacs-goodies-loaddefs tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev loaddefs button minibuffer faces cus-face text-properties overlay
md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind gtk
x-toolkit x multi-tty emacs)











Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1529; Package emacs. (Tue, 27 Oct 2009 23:30:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gregor Zattler <grfz <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 27 Oct 2009 23:30:07 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1529; Package emacs. (Wed, 28 Oct 2009 04:50:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 28 Oct 2009 04:50:04 GMT) Full text and rfc822 format available.

Message #93 received at 1529 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Gregor Zattler <grfz <at> gmx.de>
Cc: "Trent W. Buck" <trentbuck <at> gmail.com>, 1529 <at> debbugs.gnu.org,
        rfrancoise <at> debian.org
Subject: Re: bug#1529: 23.0.60; Recursive load: tramp.elc
Date: Wed, 28 Oct 2009 05:43:33 +0100
Gregor Zattler <grfz <at> gmx.de> writes:

> Dear emacs developers,

Hi,

> While I also have ido enabled here it now happens when calling
> emacs-client from a shell script which in turn is called by mutt in
> order to reply to an email.  Therefore I write this bug report with "jed".
>
> Elsewhere in this thread/bug report the package emacs-goodies-el was
> mentioned.  I have emacs-goodies-el installed.  My personal emacs
> configuration has one tramp configuration:
>
>  '(tramp-copy-size-limit 0 nil nil "otherwise TRAMP fails when there are no inline transport methods")
>  
> but does not "require" nor "load" tramp.  There is no file tramp.el or
> similar in my private load-path.  

Could you, please, strip private data off your .emacs, and send it to
me? I'll try to reproduce the problem locally.

It will take some days, because I'll be offline for a week, starting on
Friday.

> Thanks for emacs,
> Gregor

Best regards, Michael.



Forcibly Merged 1529 5705. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 11 Mar 2010 17:52:02 GMT) Full text and rfc822 format available.

Removed tag(s) moreinfo. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 12 Mar 2010 17:08:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 08 Oct 2010 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 255 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.