Hi Arash and Al,

>>>>> Arash Esbati <[email protected]> writes:
> Before looking further, is it possible to change the signature in a
> backward compatible way?  The usual practice is append new args to the
> arg-list as optional ones, i.e.:

>   (defun preview-watch-preamble (file command format-cons
>                                  &optional out-file)

> I don't think this function is widely used elsewhere, but still.

> @Keita: WDYT?

>>>>> Al Haji-Ali <[email protected]> writes:
> Yes of course. I thought it would be better to have it mirror the
> structure of `format-cons`, documented in `preview-dumped-alist` where
> these are taken from.

> --8<---------------cut here---------------start------------->8---
> If the value is a cons cell, the CAR of the cons cell is the name of
> output master file, the CADR of the cons cell is the command with
> which the format has been generated, and the CDDR is some Emacs-flavor
> specific value used for maintaining a watch on possible changes of the
> preamble.
> --8<---------------cut here---------------end--------------->8---

> I added the output file as the CAR rather than tack it on at the end
> since that seemed more logical to me. But let me know if this should
> be modified in a backward compatible way as well.

I'm reluctant to the idea to change the structure (order) of the
format-cons. If some third party package assumes the current structure,
it would break with this change.
On the other hand, I don't mind adding a new element to the tail of the
list. So I'd like to ask Al to have output master file as the last
element of the list.

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
#Gaza #StopGenocide #CeasefireNOW



_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to