GNU bug report logs - #70330
[PATCH] Add new custom option `TeX-fold-region-functions'

Previous Next

Package: auctex;

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

Date: Thu, 11 Apr 2024 05:47: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: 70330 <at> debbugs.gnu.org
Subject: bug#70330: [PATCH] Add new custom option `TeX-fold-region-functions'
Date: Thu, 11 Apr 2024 07:45:48 +0200
[Message part 1 (text/plain, inline)]
Hello,

This patch adds a hook TeX-fold-region-functions, called at the end of
TeX-fold-region.

The motivation is that this can be used to fold miscellaneous tex
stuff.  For example, in https://github.com/ultronozm/czm-tex-fold.el,
I have used similar functionality, implemented via :after advice, to
fold quotes, dashes, and \verb|...| constructs.  The new variable
would allow me to excise the advice.

Thanks, best,

Paul
[0001-Add-new-custom-option-TeX-fold-region-functions.patch (application/octet-stream, attachment)]

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

Previous Next


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