[AUCTeX-devel] reftex in emacs vs. CVS reftex

2012-07-27 Thread Tassilo Horn
Hi all, because Vincent's patch I noticed that there's in fact a separate reftex CVS repository which I wasn't aware of. Earlier today, I committed some reftex changes in Emacs's bzr repository. The CVS repo hasn't been touched since 2010 while there are recent changes in the version bundled in

Re: [AUCTeX-devel] reftex in emacs vs. CVS reftex

2012-07-27 Thread Ralf Angeli
* Tassilo Horn (2012-07-27) writes: because Vincent's patch I noticed that there's in fact a separate reftex CVS repository which I wasn't aware of. Earlier today, I committed some reftex changes in Emacs's bzr repository. The CVS repo hasn't been touched since 2010 while there are recent

Re: [AUCTeX-devel] reftex in emacs vs. CVS reftex

2012-07-27 Thread Tassilo Horn
Ralf Angeli ang...@caeruleus.net writes: Hey Ralf, The CVS repo hasn't been touched since 2010 while there are recent changes in the version bundled in emacs. Diffing some files, it seems they've diverged quite a bit, not only in trivial parts. I've also been surprised how much they

Re: [AUCTeX] reftex-label-alist for ctable package

2012-07-27 Thread Tassilo Horn
Tassilo Horn t...@gnu.org writes: Hi again, Ah, and one restriction: You have to write labels like so [..., label={tab:foo}, ...] that is, no spaces around the =, and the {} are mandatory. That could probably be relaxed a bit, but maybe you'd get false positives then... I think, I've

Re: [AUCTeX] reftex-label-alist for ctable package

2012-07-27 Thread Tassilo Horn
Tassilo Horn t...@gnu.org writes: [..., label={tab:foo}, ...] that is, no spaces around the =, and the {} are mandatory. That could probably be relaxed a bit, but maybe you'd get false positives then... I think, I've made it. After some more refinements and testing, I decided it's just

Re: [AUCTeX] reftex-label-alist for ctable package

2012-07-27 Thread Michael Bach
Hi Tassilo, The ctable macro has the following exemplary structure: \ctable[ pos = htbp, cap = shortcap, caption = longcap, label = tab:me, ]{lll}{ \tnote{Who is that guy?} }{ \FL Me Myself I \ML how are you? \NN I\tnote am fine \LL } Oh,

Re: [AUCTeX] reftex-label-alist for ctable package

2012-07-27 Thread Tassilo Horn
Michael Bach pha...@gmail.com writes: Ah, and one restriction: You have to write labels like so [..., label={tab:foo}, ...] that is, no spaces around the =, and the {} are mandatory. That could probably be relaxed a bit, but maybe you'd get false positives then... This is no big

Re: [AUCTeX] reftex-label-alist for ctable package

2012-07-27 Thread Michael Bach
The committed change doesn't have that restriction. And in the patch you have there's another problem. You cannot jump to the label location from the *toc* buffer, cause the label-finding regex had to be adapted, too. Complete patch below. I tried the newer patch in AUCTeX and org-mode

Re: [AUCTeX] reftex-label-alist for ctable package

2012-07-27 Thread Tassilo Horn
Michael Bach pha...@gmail.com writes: Hi Michael, I tried the newer patch in AUCTeX and org-mode and sadly this does not work for me... I also checked for old .elc files. RefTeX still works for figure labels but the table list in the *RefTeX Select* buffer remains empty. I double and