all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#5448: 23.1.91; Loading a file in a Windows root directory loads gazillion packages
@ 2010-01-22 10:44 Eli Zaretskii
  2010-01-22 13:40 ` Andreas Schwab
  0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2010-01-22 10:44 UTC (permalink / raw)
  To: bug-gnu-emacs

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug.  If you can, give
a recipe starting from `emacs -Q':

  emacs -Q
  M-: (setq force-load-messages t) RET
  M-x load-file RET C:/

and watch in disbelief how many packages are loaded by Tramp:

  Loading tramp...
  Loading trampver...done
  Loading tramp-compat...done
  Loading format-spec...done
  Loading password-cache...done
  Loading shell...
  Loading comint...
  Loading ring...done
  Loading comint...done
  Loading shell...done
  Loading advice...done
  Loading auth-source...
  Loading gnus-util...
  Loading time-date...done
  Loading netrc...done
  Loading gnus-util...done
  Loading auth-source...done
  Loading regexp-opt...done
  Loading tramp-cmds...done
  Loading tramp-ftp...done
  Loading tramp-fish...
  Loading tramp-cache...done
  Loading tramp-fish...done
  Loading tramp-gw...done
  Loading tramp-imap...
  Loading assoc...done
  Loading message...
  Loading hashcash...
  Loading mail-utils...done
  Loading hashcash...done
  Loading canlock...
  Loading sha1...
  Loading hex-util...done
  Loading sha1...done
  Loading canlock...done
  Loading mailheader...done
  Loading gmm-utils...
  Loading wid-edit...done
  Loading gmm-utils...done
  Loading nnheader...
  Loading mm-util...
  Loading mail-prsvr...done
  Loading mm-util...done
  Loading nnheader...done
  Loading mailabbrev...done
  Loading mail-parse...
  Loading ietf-drums...done
  Loading rfc2231...
  Loading rfc2047...
  Loading qp...done
  Loading rfc2045...done
  Loading rfc2047...done
  Loading rfc2231...done
  Loading mail-parse...done
  Loading mml...
  Loading mm-bodies...
  Loading mm-encode...
  Loading mailcap...done
  Loading mm-encode...done
  Loading mm-bodies...done
  Loading mm-decode...done
  Loading mml-sec...done
  Loading easymenu...done
  Loading mml...done
  Loading rfc822...done
  Loading ecomplete...done
  Loading sendmail...done
  Loading smtpmail...done
  Loading message...done
  Loading imap-hash...
  Loading imap...done
  Loading imap-hash...done
  Loading epa...
  Loading epg...
  Loading epg-config...done
  Loading epg...done
  Loading derived...done
  Loading epa...done
  Loading tramp-imap...done
  Loading tramp...done
  Loading ange-ftp...done

I can understand some of these, like components of Tramp itself and some
utilities, like comint (btw, why is it loaded twice?), shell,
auth-source, time-date, regexp-opt.  But why does it load message, parts
of gnus, epa, advice, and the rest of this gang?  All this just to load
a local file in a root directory???

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
d:/gnu/bzr/emacs/trunk/etc/DEBUG.


In GNU Emacs 23.1.91.1 (i386-mingw-nt5.1.2600)
 of 2010-01-22 on HOME-C4E4A596F7
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  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: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1255
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x s e t - v a r <tab> <return> f o r c <tab> <tab> 
C-g <help-echo> M-: ( s e t q SPC f o r c e - l o a 
d - m e s s a g e SPC <backspace> s SPC t ) <return> 
M-x l o a d - f i <tab> <return> C : / t h e - f i 
l <tab> . g z <return> C-x b <return> <C-home> <down> 
<down> <down> C-SPC <next> <down> <next> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> M-w C-x b <return> M-x r e p o r t - 
e m <tab> <return>

Recent messages:
Loading ange-ftp...done
Loading jka-compr...done
uncompressing the-file.el.gz...done
Loading c:/the-file.el.gz...
Loading c:/DOCUME~1/Zaretzky/LOCALS~1/Temp/jka-com2980B9X...done
Loading c:/the-file.el.gz...done.
Mark set [2 times]
Saved text from "Loading tramp...
Loading trampver...done"
Loading emacsbug...done

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug jka-compr ange-ftp tramp-imap epa
derived epg epg-config imap-hash imap message smtpmail sendmail
ecomplete rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode
mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev
nnheader mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1
hex-util hashcash mail-utils assoc tramp-gw tramp-fish tramp-cache
tramp-ftp tramp-cmds tramp regexp-opt auth-source gnus-util netrc
time-date advice advice-preload shell comint ring password-cache
format-spec tramp-compat trampver help-fns tooltip ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars
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 button minibuffer
faces cus-face files text-properties overlay md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process multi-tty emacs)







^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#5448: 23.1.91; Loading a file in a Windows root directory loads gazillion packages
  2010-01-22 10:44 bug#5448: 23.1.91; Loading a file in a Windows root directory loads gazillion packages Eli Zaretskii
@ 2010-01-22 13:40 ` Andreas Schwab
  2010-01-22 13:43   ` Eli Zaretskii
       [not found]   ` <mailman.1938.1264169386.18930.bug-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 9+ messages in thread
From: Andreas Schwab @ 2010-01-22 13:40 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 5448

Eli Zaretskii <eliz@gnu.org> writes:

> like comint (btw, why is it loaded twice?)

It isn't.  The first message is the start message, the second one the
done message (and ring is loaded in between as dependency).

> But why does it load message, parts of gnus, epa, advice, and the rest
> of this gang?

Most if it is a dependency of tramp-imap.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."






^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#5448: 23.1.91; Loading a file in a Windows root directory loads gazillion packages
  2010-01-22 13:40 ` Andreas Schwab
@ 2010-01-22 13:43   ` Eli Zaretskii
       [not found]   ` <mailman.1938.1264169386.18930.bug-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 9+ messages in thread
From: Eli Zaretskii @ 2010-01-22 13:43 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 5448

> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: 5448@debbugs.gnu.org
> Date: Fri, 22 Jan 2010 14:40:20 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > But why does it load message, parts of gnus, epa, advice, and the rest
> > of this gang?
> 
> Most if it is a dependency of tramp-imap.

Why is tramp-imap needed?






^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#5448: 23.1.91; Loading a file in a Windows root directory loads gazillion packages
       [not found]   ` <mailman.1938.1264169386.18930.bug-gnu-emacs@gnu.org>
@ 2010-01-22 14:52     ` Michael Albinus
  2010-01-22 15:30       ` Chong Yidong
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Albinus @ 2010-01-22 14:52 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 5448, Andreas Schwab

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Andreas Schwab <schwab@linux-m68k.org>
>> Cc: 5448@debbugs.gnu.org
>> Date: Fri, 22 Jan 2010 14:40:20 +0100
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> > But why does it load message, parts of gnus, epa, advice, and the rest
>> > of this gang?
>> 
>> Most if it is a dependency of tramp-imap.
>
> Why is tramp-imap needed?

It is on my todo list. Currently, Tramp loads *all* subpackages for
different methods. It shall be rewritten, that subpackages are
autoloaded only when a given method is needed.

It is not trivial, so I don't know whether we shall do it before 23.2.

Best regards, Michael.






^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#5448: 23.1.91; Loading a file in a Windows root directory loads gazillion packages
  2010-01-22 14:52     ` Michael Albinus
@ 2010-01-22 15:30       ` Chong Yidong
  2010-01-22 16:01         ` Michael Albinus
  0 siblings, 1 reply; 9+ messages in thread
From: Chong Yidong @ 2010-01-22 15:30 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 5448, Andreas Schwab

Michael Albinus <michael.albinus@gmx.de> writes:

> It is on my todo list. Currently, Tramp loads *all* subpackages for
> different methods. It shall be rewritten, that subpackages are
> autoloaded only when a given method is needed.
>
> It is not trivial, so I don't know whether we shall do it before 23.2.

No, let's save it for post-23.2.






^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#5448: 23.1.91; Loading a file in a Windows root directory loads gazillion packages
  2010-01-22 15:30       ` Chong Yidong
@ 2010-01-22 16:01         ` Michael Albinus
  2010-01-22 18:06           ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Albinus @ 2010-01-22 16:01 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 5448, Andreas Schwab

Chong Yidong <cyd@stupidchicken.com> writes:

> Michael Albinus <michael.albinus@gmx.de> writes:
>
>> It is on my todo list. Currently, Tramp loads *all* subpackages for
>> different methods. It shall be rewritten, that subpackages are
>> autoloaded only when a given method is needed.
>>
>> It is not trivial, so I don't know whether we shall do it before 23.2.
>
> No, let's save it for post-23.2.

Maybe I shall try it for tramp-imap.el. This package loads the majority
of other packages, and it is not used widely (yet).

Best regards, Michael.






^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#5448: 23.1.91; Loading a file in a Windows root directory loads gazillion packages
  2010-01-22 16:01         ` Michael Albinus
@ 2010-01-22 18:06           ` Eli Zaretskii
  2010-01-22 21:25             ` Michael Albinus
  0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2010-01-22 18:06 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 5448, cyd

> From: Michael Albinus <michael.albinus@gmx.de>
> Cc: Eli Zaretskii <eliz@gnu.org>,  5448@debbugs.gnu.org,  Andreas Schwab <schwab@linux-m68k.org>
> Date: Fri, 22 Jan 2010 17:01:09 +0100
> 
> Chong Yidong <cyd@stupidchicken.com> writes:
> 
> > Michael Albinus <michael.albinus@gmx.de> writes:
> >
> >> It is on my todo list. Currently, Tramp loads *all* subpackages for
> >> different methods. It shall be rewritten, that subpackages are
> >> autoloaded only when a given method is needed.
> >>
> >> It is not trivial, so I don't know whether we shall do it before 23.2.
> >
> > No, let's save it for post-23.2.
> 
> Maybe I shall try it for tramp-imap.el. This package loads the majority
> of other packages, and it is not used widely (yet).

If this could be done safely enough to be included in v23.2, I'd
appreciate it.

Thanks.






^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#5448: 23.1.91; Loading a file in a Windows root directory loads gazillion packages
  2010-01-22 18:06           ` Eli Zaretskii
@ 2010-01-22 21:25             ` Michael Albinus
  2010-01-23  8:13               ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Albinus @ 2010-01-22 21:25 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 5448, cyd

Eli Zaretskii <eliz@gnu.org> writes:

>> Maybe I shall try it for tramp-imap.el. This package loads the majority
>> of other packages, and it is not used widely (yet).
>
> If this could be done safely enough to be included in v23.2, I'd
> appreciate it.

Done. The bug shall be kept open for reorganization of Tramp's package
loading, post 23.2.

> Thanks.

Best regards, Michael.






^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#5448: 23.1.91; Loading a file in a Windows root directory loads gazillion packages
  2010-01-22 21:25             ` Michael Albinus
@ 2010-01-23  8:13               ` Eli Zaretskii
  0 siblings, 0 replies; 9+ messages in thread
From: Eli Zaretskii @ 2010-01-23  8:13 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 5448, cyd

> From: Michael Albinus <michael.albinus@gmx.de>
> Cc: cyd@stupidchicken.com,  5448@debbugs.gnu.org
> Date: Fri, 22 Jan 2010 22:25:18 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> Maybe I shall try it for tramp-imap.el. This package loads the majority
> >> of other packages, and it is not used widely (yet).
> >
> > If this could be done safely enough to be included in v23.2, I'd
> > appreciate it.
> 
> Done.

Thank you.






^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-01-23  8:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-22 10:44 bug#5448: 23.1.91; Loading a file in a Windows root directory loads gazillion packages Eli Zaretskii
2010-01-22 13:40 ` Andreas Schwab
2010-01-22 13:43   ` Eli Zaretskii
     [not found]   ` <mailman.1938.1264169386.18930.bug-gnu-emacs@gnu.org>
2010-01-22 14:52     ` Michael Albinus
2010-01-22 15:30       ` Chong Yidong
2010-01-22 16:01         ` Michael Albinus
2010-01-22 18:06           ` Eli Zaretskii
2010-01-22 21:25             ` Michael Albinus
2010-01-23  8:13               ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.