From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.help Subject: Re: loading site start before .emacs Date: Tue, 18 May 2004 09:07:06 -0500 Organization: Still searching... Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <20040518021924.GA8072@luna.mooo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084902580 8629 80.91.224.253 (18 May 2004 17:49:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 May 2004 17:49:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 18 19:49:31 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BQ8iY-0000su-00 for ; Tue, 18 May 2004 19:49:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQ8iJ-00026f-UD for geh-help-gnu-emacs@m.gmane.org; Tue, 18 May 2004 13:49:15 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BQ8hy-000261-Gm for help-gnu-emacs@gnu.org; Tue, 18 May 2004 13:48:54 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BQ8Lt-00068O-H3 for help-gnu-emacs@gnu.org; Tue, 18 May 2004 13:26:36 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQ5FV-0006PB-JJ for help-gnu-emacs@gnu.org; Tue, 18 May 2004 10:07:17 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BQ5FN-0000BE-00 for ; Tue, 18 May 2004 16:07:10 +0200 Original-Received: from adsl-68-74-79-62.dsl.emhril.ameritech.net ([68.74.79.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 May 2004 16:07:09 +0200 Original-Received: from reader by adsl-68-74-79-62.dsl.emhril.ameritech.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 May 2004 16:07:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 19 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: adsl-68-74-79-62.dsl.emhril.ameritech.net User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:QEIHLKGJyd6o7r473ucPg+jOeUA= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:18561 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18561 Micha Feigin writes: > preview-latex is loaded automatically by the site file, so when I open > new latex files it is available. > > When using desktop, unless I add (load "preview-latex") before > desktop-read then preview latex is not available for latex files opened > by desktop for some reason. Here is something stolen from Kai G that might help, it leaves a message in `*Messages*' when something loads: Put it early in site-start.el ;; make loaded files give a message [from Kai] (defadvice load (before debug-log activate) (message "(Tip from Kai G): Now loading: %s" (locate-library (ad-get-arg 0)))) Might unravel what is loading when.