[AUCTeX-devel] A question with regexps

2015-09-26 Thread Arash Esbati
Hi all, I have a question reg. building a regexp: I have a `newfloat.el' ready where I have: --8<---cut here---start->8--- (defvar LaTeX-newfloat-DeclareFloatingEnvironment-regex `(,(concat "DeclareFloatingEnvironment" "[ \t\n\r%]*"

Re: [AUCTeX-devel] A question with regexps

2015-09-26 Thread Mosè Giordano
Hi Arash, 2015-09-26 16:19 GMT+02:00 Arash Esbati : > Hi all, > > I have a question reg. building a regexp: I have a `newfloat.el' ready > where I have: > > --8<---cut here---start->8--- > (defvar LaTeX-newfloat-DeclareFloatingEnvironment-regex > `(,(concat "\

Re: [AUCTeX-devel] A question with regexps

2015-09-26 Thread Arash Esbati
Hi Mosè, Mosè Giordano writes: > 2015-09-26 16:19 GMT+02:00 Arash Esbati : >> >> The idea is to pass the type of new float-env to AUCTeX and process it, >> e.g.: >> >> --8<---cut here---start->8--- >> \usepackage{newfloat} >> >> \DeclareFloatingEnvironment[ >>

Re: [AUCTeX-devel] A question with regexps

2015-09-26 Thread Mosè Giordano
2015-09-26 23:37 GMT+02:00 Arash Esbati : > Hi Mosè, > > Mosè Giordano writes: > >> 2015-09-26 16:19 GMT+02:00 Arash Esbati : >>> >>> The idea is to pass the type of new float-env to AUCTeX and process it, >>> e.g.: >>> >>> --8<---cut here---start->8--- >>> \use

Re: [AUCTeX-devel] A question with regexps

2015-09-27 Thread Arash Esbati
Hi Mosè, Mosè Giordano writes: > 2015-09-26 23:37 GMT+02:00 Arash Esbati : >> >> Thanks for your response and sorry for being unclear. Let me rephrase >> that: The idea is to pass the type of a new float-env to AUCTeX as a >> TeX-comment enclosed in braces, e.g. >> >> --8<---cut her