unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* .emacs (load {user-init-file, custom-file} causes duplicate load of both
@ 2010-11-11  1:14 Larry Evans
  2010-11-11  2:28 ` PJ Weisberg
  2010-11-11  7:45 ` Eli Zaretskii
  0 siblings, 2 replies; 10+ messages in thread
From: Larry Evans @ 2010-11-11  1:14 UTC (permalink / raw)
  To: help-gnu-emacs

My ~/.emacs file contains (amoung other things):

---{~/.emacs---
(setq user-init-file
      (expand-file-name "init.el"
			(expand-file-name ".emacs.d" "~")))
(setq custom-file
      (expand-file-name "custom.el"
			(expand-file-name ".xemacs" "~")))
(load-file user-init-file)
(load-file custom-file)
---}~/.emacs---

When started with this, the *messages* buffer contains:

---{*messages---
Loading /home/evansl/.emacs.d/init.el (source)...
Loading /home/evansl/.recentf...done
Cleaning up the recentf list...done (0 removed)
Loading /home/evansl/.emacs.d/init.el (source)...done
Loading /home/evansl/.xemacs/custom.el (source)...
Loading desktop...done
Loading /home/evansl/.xemacs/custom.el (source)...done
---}*messages---

Why are both user-init-file and custom-file both loaded twice?

uname -a shows:

Linux evansl-desktop 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19
01:38:40 UTC 2010 x86_64 GNU/Linux

emacs --version shows:

GNU Emacs 23.1.1

Any help is appreciated.

-Larry




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

* Re: .emacs (load {user-init-file, custom-file} causes duplicate load of both
  2010-11-11  1:14 .emacs (load {user-init-file, custom-file} causes duplicate load of both Larry Evans
@ 2010-11-11  2:28 ` PJ Weisberg
  2010-11-11  3:28   ` Larry Evans
  2010-11-11  7:45 ` Eli Zaretskii
  1 sibling, 1 reply; 10+ messages in thread
From: PJ Weisberg @ 2010-11-11  2:28 UTC (permalink / raw)
  To: Larry Evans; +Cc: help-gnu-emacs

On Wed, Nov 10, 2010 at 5:14 PM, Larry Evans <cppljevans@suddenlink.net> wrote:
>
> Why are both user-init-file and custom-file both loaded twice?

What happens if you remove:

(load-file user-init-file)
(load-file custom-file)

?

-PJ



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

* Re: .emacs (load {user-init-file, custom-file} causes duplicate load of both
  2010-11-11  2:28 ` PJ Weisberg
@ 2010-11-11  3:28   ` Larry Evans
  0 siblings, 0 replies; 10+ messages in thread
From: Larry Evans @ 2010-11-11  3:28 UTC (permalink / raw)
  To: help-gnu-emacs

On 11/10/10 20:28, PJ Weisberg wrote:
> On Wed, Nov 10, 2010 at 5:14 PM, Larry Evans <cppljevans@suddenlink.net> wrote:
>>
>> Why are both user-init-file and custom-file both loaded twice?
> 
> What happens if you remove:
> 
> (load-file user-init-file)
> (load-file custom-file)
> 
> ?
> 
> -PJ
> 
> 
The *Messages* buffer shows neither is loaded:

Loading 00debian-vars...done
Loading /etc/emacs/site-start.d/20apel.el (source)...done
Loading /etc/emacs/site-start.d/50agda.el (source)...
Loading /usr/share/emacs/site-lisp/agda/agda2.el (source)...done
Loading /etc/emacs/site-start.d/50agda.el (source)...done
Loading /etc/emacs/site-start.d/50autoconf.el (source)...done
Loading /etc/emacs/site-start.d/50cmake-data.el (source)...done
Loading /etc/emacs/site-start.d/50css-mode.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el
(source)...done
Loading debian-ispell...done
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el
(source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
Loading /etc/emacs/site-start.d/50elserv.el (source)...done
Loading /etc/emacs/site-start.d/50emacs-goodies-el.el (source)...done
Loading /etc/emacs/site-start.d/50erc.el (source)...
Loading erc-auto...done
Loading /etc/emacs/site-start.d/50erc.el (source)...done
Loading /etc/emacs/site-start.d/50flim.el (source)...done
Loading /etc/emacs/site-start.d/50git-core.el (source)...done
Loading /etc/emacs/site-start.d/50global.el (source)...done
Loading /etc/emacs/site-start.d/50gnuplot-mode.el (source)...done
Loading /etc/emacs/site-start.d/50goby.el (source)...done
Loading /etc/emacs/site-start.d/50haskell-mode.el (source)...done
Loading /etc/emacs/site-start.d/50html-helper-mode.el (source)...done
Loading /etc/emacs/site-start.d/50magit.el (source)...done
Loading /etc/emacs/site-start.d/50ocaml-mode.el (source)...done
Loading /etc/emacs/site-start.d/50oneliner-el.el (source)...done
Loading /etc/emacs23/site-start.d/50psgml-init.el (source)...done
Loading /etc/emacs/site-start.d/50psvn.el (source)...done
Loading /etc/emacs/site-start.d/50rnc-mode.el (source)...done
Loading /etc/emacs/site-start.d/50windows-el.el (source)...done
Loading /etc/emacs/site-start.d/51liece.el (source)...done
Loading /etc/emacs/site-start.d/51oneliner-el.el (source)...done
Loading /etc/emacs/site-start.d/52remember-el.el (source)...
Loading /usr/share/emacs/site-lisp/remember-el/remember-autoloads.el
(source)...done
Loading /etc/emacs/site-start.d/52remember-el.el (source)...done
Loading /etc/emacs/site-start.d/60agda-stdlib.el (source)...done
Loading /etc/emacs/site-start.d/60wysihtml-el.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Startup with window [1]





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

* Re: .emacs (load {user-init-file, custom-file} causes duplicate load of both
  2010-11-11  1:14 .emacs (load {user-init-file, custom-file} causes duplicate load of both Larry Evans
  2010-11-11  2:28 ` PJ Weisberg
@ 2010-11-11  7:45 ` Eli Zaretskii
  2010-11-11 11:22   ` Larry Evans
  1 sibling, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2010-11-11  7:45 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Larry Evans <cppljevans@suddenlink.net>
> Date: Wed, 10 Nov 2010 19:14:25 -0600
> 
> My ~/.emacs file contains (amoung other things):
> 
> ---{~/.emacs---
> (setq user-init-file
>       (expand-file-name "init.el"
> 			(expand-file-name ".emacs.d" "~")))
> (setq custom-file
>       (expand-file-name "custom.el"
> 			(expand-file-name ".xemacs" "~")))
> (load-file user-init-file)
> (load-file custom-file)
> ---}~/.emacs---
> 
> When started with this, the *messages* buffer contains:
> 
> ---{*messages---
> Loading /home/evansl/.emacs.d/init.el (source)...
> Loading /home/evansl/.recentf...done
> Cleaning up the recentf list...done (0 removed)
> Loading /home/evansl/.emacs.d/init.el (source)...done
> Loading /home/evansl/.xemacs/custom.el (source)...
> Loading desktop...done
> Loading /home/evansl/.xemacs/custom.el (source)...done
> ---}*messages---
> 
> Why are both user-init-file and custom-file both loaded twice?

Because you are overriding the values of variables that Emacs uses at
startup.  The startup procedure involves some non-trivial logic for
loading user-init-file and custom-file, and you are interfering with
that logic by setting their values in your ~/.emacs, which is read
half-way through the startup process.

Simply load the files by name, or use other variables.  Then Emacs
should load these files only once, as you want.



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

* Re: .emacs (load {user-init-file, custom-file} causes duplicate load of both
  2010-11-11  7:45 ` Eli Zaretskii
@ 2010-11-11 11:22   ` Larry Evans
  2010-11-11 12:09     ` Larry Evans
  2010-11-11 18:26     ` Eli Zaretskii
  0 siblings, 2 replies; 10+ messages in thread
From: Larry Evans @ 2010-11-11 11:22 UTC (permalink / raw)
  To: help-gnu-emacs

On 11/11/10 01:45, Eli Zaretskii wrote:
>> From: Larry Evans <cppljevans@suddenlink.net>
>> Date: Wed, 10 Nov 2010 19:14:25 -0600
>>
>> My ~/.emacs file contains (amoung other things):
>>
>> ---{~/.emacs---
>> (setq user-init-file
>>       (expand-file-name "init.el"
>> 			(expand-file-name ".emacs.d" "~")))
>> (setq custom-file
>>       (expand-file-name "custom.el"
>> 			(expand-file-name ".xemacs" "~")))
>> (load-file user-init-file)
>> (load-file custom-file)
>> ---}~/.emacs---
>>
>> When started with this, the *messages* buffer contains:
>>
>> ---{*messages---
>> Loading /home/evansl/.emacs.d/init.el (source)...
>> Loading /home/evansl/.recentf...done
>> Cleaning up the recentf list...done (0 removed)
>> Loading /home/evansl/.emacs.d/init.el (source)...done
>> Loading /home/evansl/.xemacs/custom.el (source)...
>> Loading desktop...done
>> Loading /home/evansl/.xemacs/custom.el (source)...done
>> ---}*messages---
>>
>> Why are both user-init-file and custom-file both loaded twice?
> 
> Because you are overriding the values of variables that Emacs uses at
> startup.  The startup procedure involves some non-trivial logic for
> loading user-init-file and custom-file, and you are interfering with
> that logic by setting their values in your ~/.emacs, which is read
> half-way through the startup process.
> 
> Simply load the files by name, or use other variables.  Then Emacs
> should load these files only once, as you want.
> 
> 

Hi Eli,

Unfortunately, after renaming the variables to:

  my-user-init-file
  my-custom-file

the *Messages* buffer still had the duplicate loads.

My real reason for investigating this is I'm trying to avoid
the error message:

"Current desktop was not loaded from a file.  Overwrite this desktop file? "

from function desktop-save in desktop.el.gz.  A trace in that function
showed:

  desktop-file-modtime

was nil.  Further search in that file showed the only place that was
set was in function desktop-read.  So, in .emacs I put:

  (desktop-read)

However, that didn't work.

Any help resolving this would be appreciated.

-Larry





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

* Re: .emacs (load {user-init-file, custom-file} causes duplicate load of both
  2010-11-11 11:22   ` Larry Evans
@ 2010-11-11 12:09     ` Larry Evans
  2010-11-11 14:32       ` Larry Evans
  2010-11-11 18:26     ` Eli Zaretskii
  1 sibling, 1 reply; 10+ messages in thread
From: Larry Evans @ 2010-11-11 12:09 UTC (permalink / raw)
  To: help-gnu-emacs

On 11/11/10 05:22, Larry Evans wrote:
> On 11/11/10 01:45, Eli Zaretskii wrote:
>>> From: Larry Evans <cppljevans@suddenlink.net>
>>> Date: Wed, 10 Nov 2010 19:14:25 -0600
>>>
>>> My ~/.emacs file contains (amoung other things):
>>>
>>> ---{~/.emacs---
>>> (setq user-init-file
>>>       (expand-file-name "init.el"
>>> 			(expand-file-name ".emacs.d" "~")))
>>> (setq custom-file
>>>       (expand-file-name "custom.el"
>>> 			(expand-file-name ".xemacs" "~")))
>>> (load-file user-init-file)
>>> (load-file custom-file)
>>> ---}~/.emacs---
>>>
>>> When started with this, the *messages* buffer contains:
>>>
>>> ---{*messages---
>>> Loading /home/evansl/.emacs.d/init.el (source)...
>>> Loading /home/evansl/.recentf...done
>>> Cleaning up the recentf list...done (0 removed)
>>> Loading /home/evansl/.emacs.d/init.el (source)...done
>>> Loading /home/evansl/.xemacs/custom.el (source)...
>>> Loading desktop...done
>>> Loading /home/evansl/.xemacs/custom.el (source)...done
>>> ---}*messages---
>>>
>>> Why are both user-init-file and custom-file both loaded twice?
>>
>> Because you are overriding the values of variables that Emacs uses at
>> startup.  The startup procedure involves some non-trivial logic for
>> loading user-init-file and custom-file, and you are interfering with
>> that logic by setting their values in your ~/.emacs, which is read
>> half-way through the startup process.
>>
>> Simply load the files by name, or use other variables.  Then Emacs
>> should load these files only once, as you want.
>>
>>
> 
> Hi Eli,
> 
> Unfortunately, after renaming the variables to:
> 
>   my-user-init-file
>   my-custom-file
> 
> the *Messages* buffer still had the duplicate loads.
> 
> My real reason for investigating this is I'm trying to avoid
> the error message:
> 
> "Current desktop was not loaded from a file.  Overwrite this desktop file? "
> 
> from function desktop-save in desktop.el.gz.  A trace in that function
> showed:
> 
>   desktop-file-modtime
> 
> was nil.  Further search in that file showed the only place that was
> set was in function desktop-read.  So, in .emacs I put:
> 
>   (desktop-read)
> 
> However, that didn't work.
> 
> Any help resolving this would be appreciated.
[snip]
OOPS.  A more careful reading of *Messages* shows that the there
was a slight difference in the entries:

 Loading /home/evansl/.xemacs/custom.el (source)...
 Loading desktop...done
 Loading /home/evansl/.xemacs/custom.el (source)...done

The 1st Loading was for the start of loading.  The 2nd,
as the trailing ...done indicates, is for the end of the
loading.

Sorry for noise.  However, why am I getting the error message
from function desktop-save?

-Larry





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

* Re: .emacs (load {user-init-file, custom-file} causes duplicate load of both
  2010-11-11 12:09     ` Larry Evans
@ 2010-11-11 14:32       ` Larry Evans
  0 siblings, 0 replies; 10+ messages in thread
From: Larry Evans @ 2010-11-11 14:32 UTC (permalink / raw)
  To: help-gnu-emacs

On 11/11/10 06:09, Larry Evans wrote:
> On 11/11/10 05:22, Larry Evans wrote:
>> On 11/11/10 01:45, Eli Zaretskii wrote:
>>>> From: Larry Evans <cppljevans@suddenlink.net>
>>>> Date: Wed, 10 Nov 2010 19:14:25 -0600
>>>>
>>>> My ~/.emacs file contains (amoung other things):
>>>>
>>>> ---{~/.emacs---
>>>> (setq user-init-file
>>>>       (expand-file-name "init.el"
>>>> 			(expand-file-name ".emacs.d" "~")))
>>>> (setq custom-file
>>>>       (expand-file-name "custom.el"
>>>> 			(expand-file-name ".xemacs" "~")))
>>>> (load-file user-init-file)
>>>> (load-file custom-file)
>>>> ---}~/.emacs---
>>>>
>>>> When started with this, the *messages* buffer contains:
>>>>
>>>> ---{*messages---
>>>> Loading /home/evansl/.emacs.d/init.el (source)...
>>>> Loading /home/evansl/.recentf...done
>>>> Cleaning up the recentf list...done (0 removed)
>>>> Loading /home/evansl/.emacs.d/init.el (source)...done
>>>> Loading /home/evansl/.xemacs/custom.el (source)...
>>>> Loading desktop...done
>>>> Loading /home/evansl/.xemacs/custom.el (source)...done
>>>> ---}*messages---
>>>>
>>>> Why are both user-init-file and custom-file both loaded twice?
>>>
>>> Because you are overriding the values of variables that Emacs uses at
>>> startup.  The startup procedure involves some non-trivial logic for
>>> loading user-init-file and custom-file, and you are interfering with
>>> that logic by setting their values in your ~/.emacs, which is read
>>> half-way through the startup process.
>>>
>>> Simply load the files by name, or use other variables.  Then Emacs
>>> should load these files only once, as you want.
>>>
>>>
>>
>> Hi Eli,
>>
>> Unfortunately, after renaming the variables to:
>>
>>   my-user-init-file
>>   my-custom-file
>>
>> the *Messages* buffer still had the duplicate loads.
>>
>> My real reason for investigating this is I'm trying to avoid
>> the error message:
>>
>> "Current desktop was not loaded from a file.  Overwrite this desktop file? "
>>
>> from function desktop-save in desktop.el.gz.  A trace in that function
>> showed:
>>
>>   desktop-file-modtime
>>
>> was nil.  Further search in that file showed the only place that was
>> set was in function desktop-read.  So, in .emacs I put:
>>
>>   (desktop-read)
>>
>> However, that didn't work.
>>
>> Any help resolving this would be appreciated.
> [snip]
> OOPS.  A more careful reading of *Messages* shows that the there
> was a slight difference in the entries:
> 
>  Loading /home/evansl/.xemacs/custom.el (source)...
>  Loading desktop...done
>  Loading /home/evansl/.xemacs/custom.el (source)...done
> 
> The 1st Loading was for the start of loading.  The 2nd,
> as the trailing ...done indicates, is for the end of the
> loading.
> 
> Sorry for noise.  However, why am I getting the error message
> from function desktop-save?
> 

Placed a (debug) in .emacs just before the loads for my-*-file.
Then did some tracing, but nothing was helpful.  However, after
that, the error message from desktop-read about desktop file
already in use showed at bottom of frame.  Strange thing is
that before that message showed in some sort of widget.
So I answered to use anyway.  Then exited emacs, and now
no error message occurs when emacs restarted.

I've no idea why.
Anyone have a clue?

-regards,
Larry




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

* Re: .emacs (load {user-init-file, custom-file} causes duplicate load of both
  2010-11-11 11:22   ` Larry Evans
  2010-11-11 12:09     ` Larry Evans
@ 2010-11-11 18:26     ` Eli Zaretskii
  2010-11-11 18:44       ` Larry Evans
  1 sibling, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2010-11-11 18:26 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Larry Evans <cppljevans@suddenlink.net>
> Date: Thu, 11 Nov 2010 05:22:39 -0600
> 
> "Current desktop was not loaded from a file.  Overwrite this desktop file? "
> 
> from function desktop-save in desktop.el.gz.  A trace in that function
> showed:
> 
>   desktop-file-modtime
> 
> was nil.  Further search in that file showed the only place that was
> set was in function desktop-read.  So, in .emacs I put:
> 
>   (desktop-read)
> 
> However, that didn't work.

Didn't work how?

Having `(desktop-read)' in your ~/.emacs _is_ the right way of
activating Desktop.



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

* Re: .emacs (load {user-init-file, custom-file} causes duplicate load of both
  2010-11-11 18:26     ` Eli Zaretskii
@ 2010-11-11 18:44       ` Larry Evans
  2010-11-13 12:43         ` Howto avoid "Overwrite desktop file" question. (was " Larry Evans
  0 siblings, 1 reply; 10+ messages in thread
From: Larry Evans @ 2010-11-11 18:44 UTC (permalink / raw)
  To: help-gnu-emacs

On 11/11/10 12:26, Eli Zaretskii wrote:
>> From: Larry Evans <cppljevans@suddenlink.net>
>> Date: Thu, 11 Nov 2010 05:22:39 -0600
>>
>> "Current desktop was not loaded from a file.  Overwrite this desktop file? "
>>
>> from function desktop-save in desktop.el.gz.  A trace in that function
>> showed:
>>
>>   desktop-file-modtime
>>
>> was nil.  Further search in that file showed the only place that was
>> set was in function desktop-read.  So, in .emacs I put:
>>
>>   (desktop-read)
>>
>> However, that didn't work.
> 
> Didn't work how?
> 
> Having `(desktop-read)' in your ~/.emacs _is_ the right way of
> activating Desktop.
> 
> 
When exiting emacs, I still got the error message:

"Current desktop was not loaded from a file.  Overwrite this desktop file? "

However, as I mentioned in my last post, for some mysterious reason,
I'm no longer getting this error.

OK *maybe* I forgot to uncomment the (desktop-read) in my .emacs,
but I thought I had.  Everything is working OK now.  Wait
let me check since I'm now in emacs.  Exited emacs
and the error message doesn't occur.

Sorry for noise, but unless I'm imagining things, I did
have the (desktop-read) and was getting the "not loaded from file"
error message.

-regards,
Larry






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

* Howto avoid "Overwrite desktop file" question. (was Re: .emacs (load {user-init-file, custom-file} causes duplicate load of both
  2010-11-11 18:44       ` Larry Evans
@ 2010-11-13 12:43         ` Larry Evans
  0 siblings, 0 replies; 10+ messages in thread
From: Larry Evans @ 2010-11-13 12:43 UTC (permalink / raw)
  To: help-gnu-emacs

On 11/11/10 12:44, Larry Evans wrote:
> On 11/11/10 12:26, Eli Zaretskii wrote:
>>> From: Larry Evans <cppljevans@suddenlink.net>
>>> Date: Thu, 11 Nov 2010 05:22:39 -0600
>>>
>>> "Current desktop was not loaded from a file.  Overwrite this desktop file? "
>>>
>>> from function desktop-save in desktop.el.gz.  A trace in that function
>>> showed:
>>>
>>>   desktop-file-modtime
>>>
>>> was nil.  Further search in that file showed the only place that was
>>> set was in function desktop-read.  So, in .emacs I put:
>>>
>>>   (desktop-read)
>>>
>>> However, that didn't work.
>>
>> Didn't work how?
>>
>> Having `(desktop-read)' in your ~/.emacs _is_ the right way of
>> activating Desktop.
>>
>>
> When exiting emacs, I still got the error message:
> 
> "Current desktop was not loaded from a file.  Overwrite this desktop file? "
> 
> However, as I mentioned in my last post, for some mysterious reason,
> I'm no longer getting this error.
> 
> OK *maybe* I forgot to uncomment the (desktop-read) in my .emacs,
> but I thought I had.  Everything is working OK now.  Wait
> let me check since I'm now in emacs.  Exited emacs
> and the error message doesn't occur.
> 
> Sorry for noise, but unless I'm imagining things, I did
> have the (desktop-read) and was getting the "not loaded from file"
> error message.
> 
> -regards,
> Larry

It's happening again, only now, like it did at first, the
messages are displayed in a dialog box that has Question
in the title, then the line:

  Current desktop was not loaded from a file.  Overwrite this desktop file?

Followed by two buttons labeled "Yes" and "No".

I did not change any of my ~/.emacs or my ~/.emacs.d/init.el or
my ~/.xemacs/custom.el files.  It just started happening for some
mysterious reason.

The Nautilaus file browser show a ~/.emacs modification time of
Nov 11 08:25, confirming that no changes have been made to
that file as I suspected. I viewed the contents with gedit and
it showed:

  ;(desktop-read)

IOW, it was commented out.  So, I changed that to:

  (desktop-read)

and exited after pressing "Yes"  and reentered and then existed
and the same warning dialog appeared.  So I chose the "No" option,
then reentered and exited emacs.  The same warning dialog containing
"Overwrite desktop file" appeared.

How do I prevent this warning dialog from appearing each time
I exit emacs?

TIA.

-Larry


NOTE:

  Just as before, the *Messages* buffer shows all the init files
and the desktop being loaded:

...
Loading /etc/emacs/site-start.d/60agda-stdlib.el (source)...done
Loading /etc/emacs/site-start.d/60wysihtml-el.el (source)...done
Loading /home/evansl/.emacs.d/init.el (source)...
Loading /home/evansl/.recentf...done
Cleaning up the recentf list...done (0 removed)
Loading /home/evansl/.emacs.d/init.el (source)...done
Loading /home/evansl/.xemacs/custom.el (source)...
Loading desktop...done
Loading /home/evansl/.xemacs/custom.el (source)...done
Loading /usr/share/emacs/site-lisp/haskell-mode/haskell-mode.el
(source)...done
Note: file is write protected
Scanning declarations in IoDemo.hs... (  0%)
Sorting declarations in IoDemo.hs...done
Startup with window [1]
imenu--make-index-alist: No items suitable for an index found in this buffer

What's mysterious is the *Messages* indicates the desktop was
being loaded from the ~/.xemacs/custom.el file but not from the

  (desktop-read)

in the ~/.emacs file.  However, as noted, the (desktop-read)
was initially commented out.  The custom.el contains:

(custom-set-variables
  ;; custom-set-variables was added by Custom.
...
'(default-input-method "latin-1-prefix")
 '(desktop-save t)
 '(desktop-save-mode t)
 '(ecb-cedet-url "http://cedet.sourceforge.net/")





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

end of thread, other threads:[~2010-11-13 12:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-11  1:14 .emacs (load {user-init-file, custom-file} causes duplicate load of both Larry Evans
2010-11-11  2:28 ` PJ Weisberg
2010-11-11  3:28   ` Larry Evans
2010-11-11  7:45 ` Eli Zaretskii
2010-11-11 11:22   ` Larry Evans
2010-11-11 12:09     ` Larry Evans
2010-11-11 14:32       ` Larry Evans
2010-11-11 18:26     ` Eli Zaretskii
2010-11-11 18:44       ` Larry Evans
2010-11-13 12:43         ` Howto avoid "Overwrite desktop file" question. (was " Larry Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).