Re: [AUCTeX-devel] [PATCH] A fix for longtable and a new style

2015-10-06 Thread Arash Esbati
Hi Mosè, Mosè Giordano writes: > 2015-10-05 23:08 GMT+02:00 Arash Esbati : >> Many thanks for updating the style. I also found a bug in the way I >> used `(LaTeX-largest-level)'. Please find attached a patch fixing the >> issue and also adapting it caption.el. I

Re: [AUCTeX-devel] [PATCH] A fix for longtable and a new style

2015-10-05 Thread Tassilo Horn
Arash Esbati writes: Hi Arash, >>> `pushnew' can't append to variables, but my understanding is that >>> it's safer than `add-to-list' when it comes to let-bound variables >>> (can someone please confirm this?), >> >> Yes, `add-to-list' should not be used on locals: > > So I

Re: [AUCTeX-devel] [PATCH] A fix for longtable and a new style

2015-10-05 Thread Arash Esbati
Hi Tassilo, Tassilo Horn writes: > Mosè Giordano writes: > >> `pushnew' can't append to variables, but my understanding is that it's >> safer than `add-to-list' when it comes to let-bound variables (can >> someone please confirm this?), > > Yes, `add-to-list' should

Re: [AUCTeX-devel] [PATCH] A fix for longtable and a new style

2015-10-05 Thread Arash Esbati
Hi Mosè, Mosè Giordano writes: > 2015-09-28 20:29 GMT+02:00 Arash Esbati : >> Thanks for looking at this, installing and updating the style. There is >> still one `pushnew' in the code, line 118: >> >> --8<---cut

Re: [AUCTeX-devel] [PATCH] A fix for longtable and a new style

2015-10-05 Thread Mosè Giordano
Hi Arash, 2015-10-05 23:08 GMT+02:00 Arash Esbati : > Many thanks for updating the style. I also found a bug in the way I > used `(LaTeX-largest-level)'. Please find attached a patch fixing the > issue and also adapting it caption.el. I would appreciate if you could > install

Re: [AUCTeX-devel] [PATCH] A fix for longtable and a new style

2015-09-29 Thread Mosè Giordano
Hi Arash, 2015-09-28 20:29 GMT+02:00 Arash Esbati : > Thanks for looking at this, installing and updating the style. There is > still one `pushnew' in the code, line 118: > > --8<---cut here---start->8--- > ((string-equal type "verbatim") >

Re: [AUCTeX-devel] [PATCH] A fix for longtable and a new style

2015-09-28 Thread Mosè Giordano
Hi Tassilo, 2015-09-28 8:40 GMT+02:00 Tassilo Horn : > Mosè Giordano writes: > >> `pushnew' can't append to variables, but my understanding is that it's >> safer than `add-to-list' when it comes to let-bound variables (can >> someone please confirm this?), > > Yes,

Re: [AUCTeX-devel] [PATCH] A fix for longtable and a new style

2015-09-28 Thread Tassilo Horn
Mosè Giordano writes: > `pushnew' can't append to variables, but my understanding is that it's > safer than `add-to-list' when it comes to let-bound variables (can > someone please confirm this?), Yes, `add-to-list' should not be used on locals: ,[ C-h f add-to-list RET ] |

Re: [AUCTeX-devel] [PATCH] A fix for longtable and a new style

2015-09-28 Thread Arash Esbati
Hi Mosè, Mosè Giordano writes: > 2015-09-28 8:40 GMT+02:00 Tassilo Horn : >> Mosè Giordano writes: >> >>> `pushnew' can't append to variables, but my understanding is that it's >>> safer than `add-to-list' when it comes to let-bound variables (can >>>

Re: [AUCTeX-devel] [PATCH] A fix for longtable and a new style

2015-09-27 Thread Mosè Giordano
Hi Arash, 2015-09-27 10:24 GMT+02:00 Arash Esbati : > Hi all, > > please find attached 2 patches: > > * style/newfloat.el: New file. > > * style/longtable.el ("longtable"): Make package lengths available > through `LaTeX-add-lengths' and not `TeX-add-symbol'. > > Any comments

[AUCTeX-devel] [PATCH] A fix for longtable and a new style

2015-09-27 Thread Arash Esbati
Hi all, please find attached 2 patches: * style/newfloat.el: New file. * style/longtable.el ("longtable"): Make package lengths available through `LaTeX-add-lengths' and not `TeX-add-symbol'. Any comments welcome. Best, Arash >From 722bde77051fdb23ac9ebcebd75151c974a70902 Mon Sep 17 00:00:00