From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: tomas@tuxteam.de
Cc: help-gnu-emacs@gnu.org
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 [thread overview]
Message-ID: <CAGP6POLrtcAwLguSBs+T_7gXDePgkHZnOuHCOn=hEdhxZYMVXQ@mail.gmail.com> (raw)
In-Reply-To: <ZE+ku40S4YgTKWDm@tuxteam.de>
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
next prev parent reply other threads:[~2023-05-01 13:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-30 14:36 Emacs will show the scratch window instead of the tex document window when I double click on a tex document to open it Hongyi Zhao
2023-04-30 14:45 ` tomas
2023-04-30 23:31 ` Hongyi Zhao
2023-05-01 2:03 ` Hongyi Zhao
2023-05-01 6:11 ` tomas
2023-05-01 6:51 ` Hongyi Zhao
2023-05-01 7:04 ` Hongyi Zhao
2023-05-01 11:38 ` tomas
2023-05-01 13:03 ` Hongyi Zhao [this message]
2023-05-01 13:41 ` tomas
2023-05-01 13:55 ` Hongyi Zhao
2023-05-01 14:08 ` Hongyi Zhao
2023-05-01 15:10 ` tomas
2023-05-01 11:33 ` tomas
2023-05-01 13:01 ` Hongyi Zhao
2023-05-01 13:38 ` tomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAGP6POLrtcAwLguSBs+T_7gXDePgkHZnOuHCOn=hEdhxZYMVXQ@mail.gmail.com' \
--to=hongyi.zhao@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=tomas@tuxteam.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.