help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help: how to load existing file after upgrading to Emacs 29.1 from 2


From: Globe Trotter
Subject: Re: help: how to load existing file after upgrading to Emacs 29.1 from 28.3, or save it without prompt
Date: Tue, 14 Nov 2023 14:10:20 +0000 (UTC)

Thanks!


 On Tuesday, November 14, 2023 at 07:20:24 AM CST, Manuel Giraud via Users list 
for the GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote: 





Globe Trotter <itsme_410@yahoo.com> writes:

> Taking the heavy-handed step of removing this file "solves" my problem
> in that I can load the file.
>
> This is the file, btw:
>
>
> ;;; loaded before user's ".emacs" file and default.el
>
> ;; load *.el and *.elc in /usr/share/emacs/site-lisp/site-start.d on startup
> (mapc
>  'load
>  (delete-dups
>   (mapcar 'file-name-sans-extension
>           (directory-files
>            "/usr/share/emacs/site-lisp/site-start.d" t "\\.elc?\\'"))))
> (setq source-directory "/usr/share/emacs/29.1/")

Ok.  So you should not remove this site-start.el.  It is related to how
Fedora install its package with Emacs code in it.

Now, we can go one step further.  What that the above code does is to
load each and every ".el" and ".elc" file located in the directory
"/usr/share/emacs/site-lisp/site-start.d"

So now, you have to look what those files are.  Most probably, it is
code from other Fedora packages.  Maybe one of those package was not
updated correctly, not tested correctly with Emacs 29,... I don't know.

-- 
Manuel Giraud

I have tracked down the problem: this was caused by emacs-common-ess. Despite 
the fact that I was not calling it, something was being messed up. So I removed 
that package and it sort of works.

I say sort of, because I get very tiny fonts and I have to manually go in and 
change for every session to 14, (does not last beyond the session, which is 
kind of irritatting).

Even bringing back my .emacs does not help.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]