From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#73854: 29.4; tex-mode: unexpected and inconsistent behaviour of `tex-compile`, `tex-file`, and `tex-view` Date: Mon, 21 Oct 2024 09:22:55 -0400 Message-ID: References: <86ed4cl8no.fsf@gnu.org> <87ldykxrba.fsf@gmx.net> <8634ksl34a.fsf@gnu.org> <87o73dyfnp.fsf@gmx.net> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4702"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 73854@debbugs.gnu.org, thales1@protonmail.com To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 21 15:23:50 2024 Return-path: Envelope-to: geb-bug-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 1t2sNx-00012u-KP for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Oct 2024 15:23:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2sNn-0005Z4-L5; Mon, 21 Oct 2024 09:23:39 -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 1t2sNk-0005Yj-CH for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2024 09:23:36 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t2sNj-00007s-Tb for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2024 09:23:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=2cqYr1cVjL6f6KYy9/015z/mcycLfDcPCm1BK0nDg18=; b=a80PET9u0hS8Cq6drocJiwjB7CPXHfhmPhrZLpP/B1+TWl89KS3lmLivvf1w/lMqGytudhjY0bC1nAcz6pWiXnaFWhbcAtQ8Z5ypK0/PVNTgarlO13aUuXenY58kHpX2VNkHyLuk/1DuO9JORcO0BEbklx10t+XM70/h11GMTQt5+36DGjJZc1GNSqXjgExXzr3Bm7tv1Kvz3kfwIVAXr+tMtBjA28ZkT2wBoEzuE6hFx/4Ni/KvvArbaUaSPwFrVLCizMlnz7M5+OpAZ3RA6jiE+FwxcazZYfFtuiqmfH8/3AvTzw80a8zWz/r/ehhnqsu1NunXTDpx0Js4BSoZcQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2sOA-0000v0-8H for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2024 09:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Oct 2024 13:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73854 X-GNU-PR-Package: emacs Original-Received: via spool by 73854-submit@debbugs.gnu.org id=B73854.17295170133483 (code B ref 73854); Mon, 21 Oct 2024 13:24:02 +0000 Original-Received: (at 73854) by debbugs.gnu.org; 21 Oct 2024 13:23:33 +0000 Original-Received: from localhost ([127.0.0.1]:50643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2sNg-0000u5-JB for submit@debbugs.gnu.org; Mon, 21 Oct 2024 09:23:32 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:38494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2sNe-0000tc-11 for 73854@debbugs.gnu.org; Mon, 21 Oct 2024 09:23:31 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 11F06441B3D; Mon, 21 Oct 2024 09:22:58 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1729516977; bh=MplLT7x+CFZummdSqd/8PpZ4yF8q83BD+8JPFUfj618=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=jOfHpa25sXJ4Y2fDImYQZ8u8Yyy+NKFvJFpSCNLgGBaUnqzQBbWA1+BVxj8lBJHLr GMnDTQ0XLWIlYlFw2ZVOu8WB9KWPKNxJW0TdeYMlHe26oDDbVtuEsy+945NSfJ/5lR 7fvI3F4ZzUnTpUk19NvKpo5ZlkAgEBYubiKbVaUuXH4PMbPL9tWASqzkcE7Bu37+Z3 xzrWrbeLVSigkTD3/qxdVyJTWe5OW7VhqoV1Dez/gdFmzJDP2v3JySOGo1AukalOHm sSudki3Ux8U67jmoiRQbgezMlDrVLFUtv047f3oAKGGtVO/UlcNz+c/P+PvIpLE6pZ HropkkCpvkK3w== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 0AC1C441AF3; Mon, 21 Oct 2024 09:22:57 -0400 (EDT) Original-Received: from pastel (69-196-161-60.dsl.teksavvy.com [69.196.161.60]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id CF1A5120896; Mon, 21 Oct 2024 09:22:56 -0400 (EDT) In-Reply-To: <87o73dyfnp.fsf@gmx.net> (Stephen Berman's message of "Mon, 21 Oct 2024 11:22:02 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:294051 Archived-At: > Indeed, with a suitable entry for viewing a PDF, typing `C-c C-c' twice > does the job. In my case, however, a suitable entry is not evince, > since I don't have that program installed here, but I do have mupdf and > with an entry for it, `C-c C-c' calls it and the PDF is displayed. So > this raises the question of whether tex-compile-commands should be > enhanced with all known free software PDF viewers, or, more > maintainer-friendly, turned into a defcustom, so users can just added > their preferred entries. That's a problem, indeed, and I'm not sure how best to address it. Just making it a `defcustom` might be OK, but the UI would be a bit complex for the users who just want to add their favorite PDF viewer. > But that's a complementary issue to the present bug report, Agreed, sorry. > So should I just go ahead and install my patch? Yes, please. > And if so, to master or to emacs-30 (which has the same issue)? OT1H, it looks safe to me, but OTOH it's a long standing issue so there's no hurry either. Eli? Stefan