From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.help 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 13:33:34 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wyK0JXcxZrUQ+sS+" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29345"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Hongyi Zhao Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 01 13:34:34 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ptRnd-0007PD-7M for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 01 May 2023 13:34:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptRmn-0002Lb-2m; Mon, 01 May 2023 07:33:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptRml-0002LP-69 for help-gnu-emacs@gnu.org; Mon, 01 May 2023 07:33:39 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptRmj-0008Rj-Os for help-gnu-emacs@gnu.org; Mon, 01 May 2023 07:33:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject :Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=IIhIq4oJMkjJHfUUC2iBea1YJT+SVP85+Ie4+/ACZpY=; b=IuV0rUTY9mAoktcpJxnPt3HoQT qho9VH9yAXFYw6+g3FkorZ3Fh30Izsu11JKwAeozZH3Tw0Z4UctT6rWlQ1rvFcDsqoeAlzkNbDXpG FFtZjofqqwGC6dbZ4mHVGMO8iY5DtbXDXlZJP8meIXzMWSi63n14zAivJstkgPob3wJVfjd2ybzMo s5bFG1dKJz9AAFTk7fs6ZGMu+BXCiYQb8wt4GAoeatQACiGwggAg5kHWPhTStUakL8iCLUmCeont5 v2s3b0tBjTIaAitPRJD2p+AUy0rEim1waLzLT4Vc37/C39crdn77t8qScAyBJBx1s5wLvgJKidK+D 6kBXxiWg==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1ptRmg-0004lh-U0; Mon, 01 May 2023 13:33:34 +0200 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143483 Archived-At: --wyK0JXcxZrUQ+sS+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 01, 2023 at 02:51:43PM +0800, Hongyi Zhao wrote: > On Mon, May 1, 2023 at 2:11=E2=80=AFPM 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... >=20 > So, what is your favorite desktop environment? What are you currently usi= ng? 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? >=20 > 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 (substituting by the real file path of your problematic file, of course) Cheers --=20 t --wyK0JXcxZrUQ+sS+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZE+jjgAKCRAFyCz1etHa RsURAJ9x6DJMDoWzqMy25ti0kOwr/u18FQCggUbCxc7bE4JzCA4CBG+j8tBoXgg= =q3e6 -----END PGP SIGNATURE----- --wyK0JXcxZrUQ+sS+--