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: Paul Nelson <ultrono <at> gmail.com>
To: 70630 <at> debbugs.gnu.org
Subject: bug#70630: [PATCH] Allow programmatic preview abortion
Date: Sun, 28 Apr 2024 17:40:48 +0200
[Message part 1 (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)]

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.