I am using GNU Emacs on MSwindows XP & MSWindows 7, and this functions exists. 
FYI html-to-texi converter project on GNA! uses this function.
Anyhow, using an XML-like markup was just an example from the top of my head. 
Letting the user provide some Lisp sexp may be a better solution (except that 
writting backslashes in a Lisp expression is a bit more tedious).

VBR,
   Vincent.

----------------------------------------
> From: [email protected]
> Date: Wed, 2 Dec 2015 11:11:22 +0100
> Subject: Re: [AUCTeX] AUCTeX support in lettre
> To: [email protected]
> CC: [email protected]; [email protected]; [email protected]
>
> Hi Vincent,
>
> 2015-12-01 0:30 GMT+01:00 Vincent Belaïche <[email protected]>:
>> This would be easilly analysed with some expression like
>>
>> (with-temp-buffer
>> (insert "<body>" formatter-string "</body>")
>> (xml-parse-region (point-min) (point-max)))
>
> I'm interested in this: `xml-parse-region' requires Emacs to be
> compiled with libxml2 in order to work. Do you think it's common? I
> use Emacs provided by Debian and it works, but I don't know which is
> the situation for other distros or the standard binaries for other
> operating systems.
>
> Bye,
> Mosè
                                          
_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to