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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 70630 in the body.
You can then email your comments to 70630 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-auctex <at> gnu.org:
bug#70630; Package auctex. (Sun, 28 Apr 2024 15:42:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Nelson <ultrono <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Sun, 28 Apr 2024 15:42:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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 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)]

Reply sent to Arash Esbati <arash <at> gnu.org>:
You have taken responsibility. (Sat, 04 May 2024 19:53:02 GMT) Full text and rfc822 format available.

Notification sent to Paul Nelson <ultrono <at> gmail.com>:
bug acknowledged by developer. (Sat, 04 May 2024 19:53:02 GMT) Full text and rfc822 format available.

Message #10 received at 70630-done <at> debbugs.gnu.org (full text, mbox):

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 02 Jun 2024 11:24:07 GMT) Full text and rfc822 format available.

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.