GNU bug report logs - #70348
[PATCH] Make preview placement more flexible

Previous Next

Package: auctex;

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

Date: Fri, 12 Apr 2024 07:19:03 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


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] Make preview placement more flexible
Date: Fri, 12 Apr 2024 09:17:33 +0200
[Message part 1 (text/plain, inline)]
Hello,

This patch has no effect on current behavior, but introduces a
variable preview-find-end-function that would allow (e.g.) an external
package to modify how previews overlays are placed, without resorting
to advice.

The code needed to be rearranged a bit because the implementation of
preview-find-end-function that I have in mind requires the beginning
of the region as an argument, which thus needs to be computed outside
the argument list of preview-place-preview.

This patch complements the preprocessing step introduced in bug#70295.
I'd be happy to supply more detailed motivation if that would be
helpful.

Thanks, best,

Paul
[0001-Make-preview-placement-more-flexible.patch (application/octet-stream, attachment)]

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

Previous Next


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