all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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:01:55 +0800	[thread overview]
Message-ID: <CAGP6PO+GT+kG0mCG1KkJ_LwYaNJKCJ=dMN6trJD+YNfCvvasFw@mail.gmail.com> (raw)
In-Reply-To: <ZE+jjl0r8zUyJq1U@tuxteam.de>

On Mon, May 1, 2023 at 7:33 PM <tomas@tuxteam.de> wrote:
>
> On Mon, May 01, 2023 at 02:51:43PM +0800, Hongyi Zhao wrote:
> > On Mon, May 1, 2023 at 2:11 PM <tomas@tuxteam.de> wrote:
>
> [...]
>
> > > 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?
>
> I'm a bit exotic. No desktop environment, just a window manager
> (fvwm2). I was actually quite a fan of GNOME in the early 2000s,
> but by about 2008 or so it started becoming too complex for my
> taste. After a short dabbling in XFCE I decided a desktop environment
> is too limiting for me and I went back to a simple WM; first it
> was Awesome, then (full circle) fvwm2.
>
> I have to do more things myself, but then I can do more things
> myself, and I appreciate that :-)
>
> > > > 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.
>
> Hmmm. I see. Any chance finding out how Emacs is really invoked
> by your desktop environment?
>
> What happens if you open a terminal and just enter
>
>   emacs <your-file-here>
>
> (substituting <your-file-here> by the real file path of your
> problematic file, of course)

The same problem occurs.

> Cheers
> --
> t

Zhao



  reply	other threads:[~2023-05-01 13:01 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
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 [this message]
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='CAGP6PO+GT+kG0mCG1KkJ_LwYaNJKCJ=dMN6trJD+YNfCvvasFw@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.