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

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

Re: Emacs will show the scratch window instead of the tex document windo


From: Hongyi Zhao
Subject: Re: Emacs will show the scratch window instead of the tex document window when I double click on a tex document to open it.
Date: Mon, 1 May 2023 21:03:27 +0800

On Mon, May 1, 2023 at 7:38 PM <tomas@tuxteam.de> wrote:
>
> On Mon, May 01, 2023 at 03:04:36PM +0800, Hongyi Zhao wrote:
>
> [...]
>
> > Another important clue, when the problem occurs, I noticed the
> > following in the *Messages* buffer:
> >
> >      font-lock-compile-keywords: Font-lock trying to use keywords
> > before setting them up
> >
> > On the other hand, the correct open TeX file didn't trigger the above 
> > message.
>
> I don't even know what that message means: hopefully someone more
> expert in Emacs things can tell us. On the other hand, I can't
> imagine that this thing causes the file not being loaded.
>
> What happens when you click on the complex TeX file and then list
> the buffers in your Emacs (C-x b)? Does the buffer appear on the
> list?
>
> That would mean that the file is loaded, but Emacs still shows you
> the *scratch* buffer. Otherwise, the file doesn't get loaded at
> all.
>
> This might give hints to find the problem.

See the testing below:

$ emacs my-icur.tex

`C-x b RET` gives the following info:


Loading server...done
Iedit default key binding is C-;
Loading /home/werner/.emacs.d/var/recentf-save.el (source)...done
Cleaning up the recentf list...done (0 removed)
Using default formatter emacs-lisp
For information about GNU Emacs and the GNU system, type C-h C-a.
Wrote /home/werner/.emacs.d/var/recentf-save.el
File mode specification error: (void-function company--backends)
Applying style hooks...
Loading /home/werner/Desktop/iucr/latex/.auctex-auto/my-icur.el (source)...done
Loading /home/werner/.emacs.d/straight/repos/auctex/style/fontenc.elc...done
Loading /home/werner/.emacs.d/straight/repos/auctex/style/xspace.elc...done
Loading /home/werner/.emacs.d/straight/repos/auctex/style/graphicx.elc...done
Loading /home/werner/.emacs.d/straight/repos/auctex/style/mathtools.elc...
Loading /home/werner/.emacs.d/straight/repos/auctex/style/amsmath.elc...done
Loading /home/werner/.emacs.d/straight/repos/auctex/style/mathtools.elc...done
Loading /home/werner/.emacs.d/straight/repos/auctex/style/amstext.elc...done
Loading /home/werner/.emacs.d/straight/repos/auctex/style/amsbsy.elc...done
Loading /home/werner/.emacs.d/straight/repos/auctex/style/amsopn.elc...done
Loading /home/werner/.emacs.d/straight/repos/auctex/style/amssymb.elc...done
Loading /home/werner/.emacs.d/straight/repos/auctex/style/amsfonts.elc...done
Loading /home/werner/.emacs.d/straight/repos/auctex/style/algorithm.elc...done
Loading 
/home/werner/.emacs.d/straight/repos/auctex/style/algpseudocode.elc...done
Loading /home/werner/.emacs.d/straight/repos/auctex/style/color.elc...done
Loading /home/werner/.emacs.d/straight/repos/auctex/style/array.elc...done
Loading /home/werner/.emacs.d/straight/repos/auctex/style/bm.elc...done
Loading /home/werner/.emacs.d/straight/repos/auctex/style/multirow.elc...done
font-lock-compile-keywords: Font-lock trying to use keywords before
setting them up
Package cl is deprecated
Beginning of buffer [4 times]


> Cheers
> --
> t

Zhao



reply via email to

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