GNU bug report logs - #70295
[PATCH] Allow preprocessing of previews

Previous Next

Package: auctex;

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

Date: Tue, 9 Apr 2024 03:20:04 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: Arash Esbati <arash <at> gnu.org>
Cc: 70295 <at> debbugs.gnu.org
Subject: bug#70295: [PATCH] Allow preprocessing of previews
Date: Tue, 9 Apr 2024 11:26:18 +0200
Hi Arash,

Yes, your suggestion sounds good.  One other quick thought: maybe it'd
be bad design to have an external variable like this that can only
really be used by one package at a time?  Would something like the
following be preferred?

(defvar preview-preprocess-functions nil
  "List of functions used to preprocess region before previewing.
The functions in this list will be called inside `preview-region' with
one argument which is a string.")

Then (dolist ...) inside preview-region.  Happy to adjust it either
way, let me know.

Thanks, best,

Paul




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

Previous Next


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