From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeff Norden Newsgroups: gmane.emacs.bugs Subject: bug#63956: 29.0.91; tex-mode display problem in emacs-29 Date: Sun, 11 Jun 2023 15:12:08 -0500 Message-ID: References: <83h6ri2u2i.fsf@gnu.org> <87ttvhkfw7.fsf@gnu.org> <8335313ise.fsf@gnu.org> <87o7lojthj.fsf@gnu.org> <837csb2731.fsf@gnu.org> <837csazff2.fsf@gnu.org> <83ttvexa1n.fsf@gnu.org> <83pm61yigx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31809"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63956@debbugs.gnu.org, sds@gnu.org, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 11 22:13:21 2023 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 1q8RRB-00087O-H4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Jun 2023 22:13:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q8RQu-0005oS-Cx; Sun, 11 Jun 2023 16:13:04 -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 1q8RQt-0005oI-3r for bug-gnu-emacs@gnu.org; Sun, 11 Jun 2023 16:13:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q8RQs-000516-QD for bug-gnu-emacs@gnu.org; Sun, 11 Jun 2023 16:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q8RQs-0005xn-EE for bug-gnu-emacs@gnu.org; Sun, 11 Jun 2023 16:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jeff Norden Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Jun 2023 20:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63956 X-GNU-PR-Package: emacs Original-Received: via spool by 63956-submit@debbugs.gnu.org id=B63956.168651436222885 (code B ref 63956); Sun, 11 Jun 2023 20:13:02 +0000 Original-Received: (at 63956) by debbugs.gnu.org; 11 Jun 2023 20:12:42 +0000 Original-Received: from localhost ([127.0.0.1]:37749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q8RQX-0005x3-SA for submit@debbugs.gnu.org; Sun, 11 Jun 2023 16:12:42 -0400 Original-Received: from mail-pj1-f49.google.com ([209.85.216.49]:61787) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q8RQW-0005wp-Og for 63956@debbugs.gnu.org; Sun, 11 Jun 2023 16:12:41 -0400 Original-Received: by mail-pj1-f49.google.com with SMTP id 98e67ed59e1d1-25bf202899aso30920a91.3 for <63956@debbugs.gnu.org>; Sun, 11 Jun 2023 13:12:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686514355; x=1689106355; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=/bWHGPXvHcg6SjxxI7OzJ639twRQQxTg6d134ux7LLs=; b=JiIu+9Xz76p8xK2FhUKV2Q8BpWIiLZcxib1RvVT53dO5WN/TiyAKOXswVGJwm2WRY9 zuNOMmuH0qOTy9D2QXrv3vNFnlPL7MN7ToVatYKyVwx2Ve2WdsaZswvH5IahjAGlSPad o6RdSMtylJBn7flAWZTsnNy580PgauaEPa7ut/XxAAYwVS+4DruV7Vm0bNACugS8ZYoI ov1c4cBM/k2johR4z217kkEXTQV4HTAAo3Og1zUuK+SnDNMFI47L+BeZyEu+wXgCc4i9 YYIvI0JtfBqjQpXG1zNf+lsDHS4FI+cDgT4GNLP1d0g6WMc/APk56z/NHLCh7HyKbH1Q Ed6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686514355; x=1689106355; h=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=/bWHGPXvHcg6SjxxI7OzJ639twRQQxTg6d134ux7LLs=; b=Tfbu7Mfa1ni8i1UoS6awUO8Wk1Lybcv9XZaXSgMVxMCas7g4PCmizuA/RkEIEMCQWu GodXQvzX/6V8CL1IAeKtXNE7sUJl5mk/IuGbqBrg0LaqzM/OBuRe8EQg6kJHdCpcpjpb 2CMYRCQphmZX5DlI0+qYv5bPHwTOKF1MN2roSi5WiqOhgV7mHslGO0u1iFneH4qbimJH bQxRjThsHoDaEkSz4kwa1vTzI5T78zHd2iKnlsmENH+53Q4Ohc+4WBC+GoYlWH2msWCy VtvmIjeLMFIypD1B8C4ECIX75oJDyARf+IB/CEYE4b2vW+Xae2QeHS5vjB8Z/qarDWRB 7aXA== X-Gm-Message-State: AC+VfDyfUXnviTmm+o5n+eX6VzurPvHj+vF6rxsycioOTgzDNzVcSka6 7odZwcD2RcF4/CI2irrDzSmgNvYj3UsSeviiCaY= X-Google-Smtp-Source: ACHHUZ4ZPtwCekvhy3jo9I+W9tVRcff6VLnc+eAuHvjEWqZ/UH4Q1rCEl0aNSbXI7yzI3eGqc/9abJd/mDYeEo6V01c= X-Received: by 2002:a17:90a:194e:b0:259:3e7f:c60d with SMTP id 14-20020a17090a194e00b002593e7fc60dmr6210344pjh.3.1686514354696; Sun, 11 Jun 2023 13:12:34 -0700 (PDT) In-Reply-To: <83pm61yigx.fsf@gnu.org> 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:263259 Archived-At: On Sun, Jun 11, 2023 at 1:14 PM Eli Zaretskii wrote: > ... > > Using -tex-shell-buffer-action for a docview buffer is perhaps a bit > > odd > > You could be right, but I couldn't find any callers of that function, > so it was hard for me to reason about that specific case. Stefan, > since you introduced tex-cmd-doc-view into tex-mode.el, could you take > a look and tell whether using display-tex-shell-buffer-action in its > default value there makes sense? If not, what would be a better > default? Took me a bit to figure that out. Choosing the docview option from `tex-compile' results in pre-pending "tex-cmd-" to "doc-view" and then calling `tex-cmd-doc-view', which simply opens the pdf file (in docview mode) with pop-to-buffer. The other tex-compile commands that preview the document do so by running an external program such as ghostview or xdvi. That is why I was thinking that opening in a new frame might be appropriate. I've never used tex-compile, and I wonder if it gets much use in general. One of the ideas I was thinking of was adding it as a sub-menu of the TeX menubar entry, which would make it easier to use. Another thing, which I now realize is already listed as a 'fixme' item in tex-mode.el, is to check that, e.g., the corresponding pdf file is up to date (newer than the tex source) before previewing it. -Jeff