GNU bug report logs - #70630
[PATCH] Allow programmatic preview abortion

Previous Next

Package: auctex;

Reported by: Paul Nelson <ultrono <at> gmail.com>

Date: Sun, 28 Apr 2024 15:42:01 UTC

Severity: normal

Tags: patch

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Arash Esbati <arash <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#70630: closed ([PATCH] Allow programmatic preview abortion)
Date: Sat, 04 May 2024 19:53:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 04 May 2024 21:51:07 +0200
with message-id <m2le4p5pas.fsf <at> macmutant.fritz.box>
and subject line Re: bug#70630: [PATCH] Allow programmatic preview abortion
has caused the debbugs.gnu.org bug report #70630,
regarding [PATCH] Allow programmatic preview abortion
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
70630: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70630
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Nelson <ultrono <at> gmail.com>
To: bug-auctex <at> gnu.org
Subject: [PATCH] Allow programmatic preview abortion
Date: Sun, 28 Apr 2024 17:40:48 +0200
[Message part 3 (text/plain, inline)]
This patch should not affect existing behavior, but introduces a
variable that would allow (e.g.) an external package to do so.

One way for an external package to terminate an ongoing preview
generation is via (TeX-kill-job).  This approach is unreliable: if the
timing is just right, then the kill signal arrives too late.  This
patch gives a more reliable way, based on a buffer-local flag.  (The
motivation is that one might wish to avoid generating previews when
subsequent edits to the buffer make them irrelevant or misplaced.)

Thanks, best,

Paul
[0001-Allow-programmatic-preview-abortion.patch (application/octet-stream, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Arash Esbati <arash <at> gnu.org>
To: Paul Nelson <ultrono <at> gmail.com>
Cc: 70630-done <at> debbugs.gnu.org
Subject: Re: bug#70630: [PATCH] Allow programmatic preview abortion
Date: Sat, 04 May 2024 21:51:07 +0200
Paul Nelson <ultrono <at> gmail.com> writes:

> This patch should not affect existing behavior, but introduces a
> variable that would allow (e.g.) an external package to do so.
>
> One way for an external package to terminate an ongoing preview
> generation is via (TeX-kill-job).  This approach is unreliable: if the
> timing is just right, then the kill signal arrives too late.  This
> patch gives a more reliable way, based on a buffer-local flag.  (The
> motivation is that one might wish to avoid generating previews when
> subsequent edits to the buffer make them irrelevant or misplaced.)

Thanks, installed, and closing.

Best, Arash


This bug report was last modified 1 year and 111 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.