From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vangelis Evangelou Newsgroups: gmane.emacs.bugs Subject: bug#70816: 29.2; Flymake fails in latex-mode when the buffer is narrowed Date: Tue, 7 May 2024 08:56:21 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000003dbbb30617d88617" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20683"; mail-complaints-to="usenet@ciao.gmane.io" To: 70816@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 07 09:58:16 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 1s4FiH-0005FF-R7 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 May 2024 09:58:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4Fhn-0003q5-0B; Tue, 07 May 2024 03:57:43 -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 1s4Fhk-0003nF-JN for bug-gnu-emacs@gnu.org; Tue, 07 May 2024 03:57:40 -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 1s4Fhi-0006eb-V8 for bug-gnu-emacs@gnu.org; Tue, 07 May 2024 03:57:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s4Fi6-0006Fd-9Q for bug-gnu-emacs@gnu.org; Tue, 07 May 2024 03:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vangelis Evangelou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 May 2024 07:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70816 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171506863924004 (code B ref -1); Tue, 07 May 2024 07:58:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 May 2024 07:57:19 +0000 Original-Received: from localhost ([127.0.0.1]:42389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4FhO-0006F6-SX for submit@debbugs.gnu.org; Tue, 07 May 2024 03:57:19 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:56700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4FhJ-0006F0-8N for submit@debbugs.gnu.org; Tue, 07 May 2024 03:57:17 -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 1s4Fgn-0003aQ-1R for bug-gnu-emacs@gnu.org; Tue, 07 May 2024 03:56:41 -0400 Original-Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s4Fgk-0006RL-5G for bug-gnu-emacs@gnu.org; Tue, 07 May 2024 03:56:40 -0400 Original-Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-52006fbae67so3949206e87.0 for ; Tue, 07 May 2024 00:56:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715068593; x=1715673393; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=b1s2VJPQGCM3KyqoXvTtb/CrWNgLf1c6YUzKCpXbwWQ=; b=mJcxu0qWdBkmRsNAgTqluzOlc+J3GxNH4Fh30xQaXWS8xw1lcVEyWoQJUQUo2Im1HY d2hLTXTBiD2HfI2r0ggvJYtIMspamFcF7kuqgL2X9LBn4joeMR/yBOU9nPyIzGliW/j4 SavZyYA6fyvJuXeR0eN5LFlbJaoP9QN1DpbuLBjru4tmXqLnjUEIns8Gi2bNGy1Ba+9r I+Vpf4alEwt91nJjiYSOfeyFpyL4v8T3RZrM5e1QyqPKZgykuAUJxJXJMkCa5+98pfB1 MkOGk3HCBacEdXL3goJwW7IWEuxJxp4vcrZCFV+HgFJpyB4GwEMSPzvoMiVrsicMsRwF 1jKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715068593; x=1715673393; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=b1s2VJPQGCM3KyqoXvTtb/CrWNgLf1c6YUzKCpXbwWQ=; b=VMF+wKXznYb3ZUu18cv6vTrzZB6bcApl0nCqpoNGKrFm0hC+6EVABFxFYjFUI1oCxO P/4cz9dxT37D3l9CN17ZPugDasoibFgA4bSfA9eL7jUOLMG/PyFC8nC0AdjQEKG63OGV EGyRO1hUjXuzHkpVvFz1IULPp3HIHEqkHvvli8Pzo6kj8ghUST2KHIoUAdir7zICVwMY b1vhsysvWifUsCqo54d+Anop1MmXI7W2dI2GuDDAoNKly0utf5U8uq8U4B+DcIOoGP61 Vmw8RwgwOmxYQw2XJ0Fvj/PXn4/fDZgnL9Xuq0wfvLYjOKXHs6YciGM+L+f/shQc5DW/ 5wJw== X-Gm-Message-State: AOJu0Yzad8otWgs7lo/yM44EDxnxL/GlORzzjpwGy/fxjJk1w95wxEZJ 5GNTas9/e3Z15OFLcu0M40r+MPHTAuWRjtfFzT38GTglPaNpy4vkuLBgspe7OGYDSTw/LHlSPtx NTOqbGdKY/XidUDccm57wYTWmJSGjHkf8 X-Google-Smtp-Source: AGHT+IGJTw1FecXCVN7R7ubNFG6a5gk4SZ/2skWuOmPCklQ7oqZ1KkhZLLIcYMJuh8JbaK+S9xhs45XTs5PEyfkBNUw= X-Received: by 2002:a05:6512:e9a:b0:521:43c1:8127 with SMTP id bi26-20020a0565120e9a00b0052143c18127mr465953lfb.32.1715068592828; Tue, 07 May 2024 00:56:32 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::136; envelope-from=evangelou@gmail.com; helo=mail-lf1-x136.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:284627 Archived-At: --0000000000003dbbb30617d88617 Content-Type: text/plain; charset="UTF-8" With the buffer having the contents shown below, 1. Enable flymake-mode. 2. Narrow from the top of the buffer down to the indicated comment. 3. Execute flymake-start. You should get an error "error in process sentinel: Wrong type argument: integer-or-marker-p, nil". I suspect perl-flymake has similar issues so you might want to check that out as well. Buffer contents: \documentclass{article} \begin{document} 0 a b c % <----- End narrow d e f g h i j{ \end{document} --0000000000003dbbb30617d88617 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
With the buffer having the contents shown below,
1. Enable flymake-mode.
2. Narrow from the top of the buffe= r down to the indicated comment.
3. Execute flymake-start.
<= div>You should get an error "error in process sentinel: Wrong type arg= ument: integer-or-marker-p, nil". I suspect perl-flymake has similar i= ssues so you might want to check that out as well.

Buffer contents:

\documentclass{article}
= \begin{document}
0
a
b
c
% <----- End narrow
d
ef
g
h
i
j{
\end{document}
--0000000000003dbbb30617d88617--