From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao 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 07:31:01 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21145"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: tomas@tuxteam.de Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 01 01:31:54 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 1ptGWI-0005Jh-Dq for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 01 May 2023 01:31:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptGVi-0002KF-Il; Sun, 30 Apr 2023 19:31:18 -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 1ptGVh-0002K2-30 for help-gnu-emacs@gnu.org; Sun, 30 Apr 2023 19:31:17 -0400 Original-Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ptGVe-0004GT-Dm for help-gnu-emacs@gnu.org; Sun, 30 Apr 2023 19:31:15 -0400 Original-Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-959a626b622so292871766b.0 for ; Sun, 30 Apr 2023 16:31:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682897473; x=1685489473; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=2fokUTQ+qQhHT1TJQmPM18TVsXdgT1mbkCjQ4UtynhM=; b=cM0HCaHn0dTGQHsc+LDpcY50XypoeOdfaab+r6PWAf2Ds1kYNQuzWjFpwcDWyYsc3V jpPRDghaJd/4Tsg8RPVWDG8md3IZDha8qNoSGwpk9x5glTIiU0av/O8Fu5GN3SXPwKS4 TQZtQWFd82yaL9HBzbtErTDofOlRIZEbshODeSSSIdrBHjW9PUIIIEyPgAjFOFQ4F4yH 2wHleFOGajFwEwmF6BIGT+tat7ouJBu36Gcblb5QSswCmDaz8QTsOGHPuHRpZYtPEEKl IV4x85Q5vpgesepMPliG5Jkh/7KvcXl4tseEZbTfpJ4y8J2iM0g/MmdgQxQtTuSyC6yg p/yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682897473; x=1685489473; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2fokUTQ+qQhHT1TJQmPM18TVsXdgT1mbkCjQ4UtynhM=; b=Ci0MOMKfBlMH2AcT5kU9VE5d3xq02XWkhtxByivIXFutHkQaOns/e5KX82JiBmQ63I CEkfY2mWzoZMdsPvLlmPHo8ltY+5IZWokxaUfxHAuxzBBWVo3OC0fcscAtPohi1wBMnx K+FvhKqU9AkXWGZAHIx+N5XCb4hLDnptsIF6/pKUaIuK56uoTskBBtVq/JAJWFXVbO7r SGuc3gj9h83ZV7U1Kteaj8sMqpnmmWXZ2zdt18ErwkLZfD+JEIqHo0W7YPGuvnpnEeBt VO0JZEgdQPfTN2dfh8ZxSXzBxq8ps8YqbM9B2p7d9D6EG0K5QfMB6pUBBQYnXJjCDhU4 j0bg== X-Gm-Message-State: AC+VfDzAFC3pwB3WEX1HMIDt7aP2DqWfPyWdZUc6sX9WGtn0SyB9AGYi pCvoXtP82uf4tiaYnuEZHF+pFY7uTGwzI6uFyK0= X-Google-Smtp-Source: ACHHUZ57t5okjgL1IRTTaY5d9FOb8iuyFI+9CEjbyYjmCmZNqEdpSwh1n+iaM0U7y85SX0Q2dmxulQI9/uu0WI2bkiw= X-Received: by 2002:a17:907:94c2:b0:94b:ffe9:37fd with SMTP id dn2-20020a17090794c200b0094bffe937fdmr14468158ejc.5.1682897472700; Sun, 30 Apr 2023 16:31:12 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=hongyi.zhao@gmail.com; helo=mail-ej1-x632.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:143469 Archived-At: On Sun, Apr 30, 2023 at 10:46=E2=80=AFPM 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, as shown in the > > attachment. Any tips will be appreciated. > > I think this depends more on your operating system/desktop environment > than on Emacs itself. The desktop environment is the one responsible > of translating your double click into the invocation of Emacs. > > It seems that some parameter in this invocation got lost. > > 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) > Cheers > -- > t Zhao