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 15:04:36 +0800 [thread overview]
Message-ID: <CAGP6POL0O5n37vowoMWA+Z=C6j21t1b-s9HrGMY2Pv_-PVrd2Q@mail.gmail.com> (raw)
In-Reply-To: <CAGP6POLO1h=LnDC8ra7Rrk=STgkJiNEY8ORF-1GEc-id1cW2pA@mail.gmail.com>
On Mon, May 1, 2023 at 2:51 PM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> On Mon, May 1, 2023 at 2:11 PM <tomas@tuxteam.de> wrote:
> >
> > On Mon, May 01, 2023 at 10:03:30AM +0800, Hongyi Zhao wrote:
> > > On Mon, May 1, 2023 at 7:31 AM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
> > > >
> > > > On Sun, Apr 30, 2023 at 10:46 PM <tomas@tuxteam.de> wrote:
> > > > >
> > > > > On Sun, Apr 30, 2023 at 10:36:17PM +0800, Hongyi Zhao wrote:
> > > > > > Hi here,
> > > > > >
> > > > > > When I double-click on a TeX document to open it, Emacs will show the
> > > > > > scratch window instead of the TeX document window [...]
> >
> > > > > What OS/desktop environment are you using?
> > > >
> > > > $ inxi -S
> > > > System:
> > > > Host: X10DAi Kernel: 5.19.0-21-generic x86_64 bits: 64 Desktop: GNOME 43.0
> > > > Distro: Ubuntu 22.10 (Kinetic Kudu)
> >
> > So it's GNOME, I see. Sorry to say that I lost track of GNOME years
> > ago, so I'm not that much of an expert...
>
> So, what is your favorite desktop environment? What are you currently using?
>
> > > A very strange thing is that if I double-click on a very simple tex
> > > file, this issue does not occur, as shown in the attached screenshot:
> >
> > This is strange indeed. I guess that there is a context menu
> > (perhaps right-clicking on the file) which offers you "open
> > with..." or similar. What happens then?
>
> The default application has been set to Emacs, as shown in the attachment.
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.
Zhao
next prev parent reply other threads:[~2023-05-01 7:04 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 [this message]
2023-05-01 11:38 ` tomas
2023-05-01 13:03 ` Hongyi Zhao
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='CAGP6POL0O5n37vowoMWA+Z=C6j21t1b-s9HrGMY2Pv_-PVrd2Q@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.