Re: [AUCTeX-devel] amsrefs support in reftex

2015-10-16 Thread Marcin Borkowski
On 2015-10-16, at 13:58, Tassilo Horn wrote: > Marcin Borkowski writes: > >> And using those, I will be soon able to move by tokens. The next step >> could be making e.g. M-d and M-DEL kill a word /or/ a token, depending >> on the context. For instance, in this situation: >> >> \foo-!-bar >>

Re: [AUCTeX-devel] amsrefs support in reftex

2015-10-16 Thread Tassilo Horn
Marcin Borkowski writes: > And using those, I will be soon able to move by tokens. The next step > could be making e.g. M-d and M-DEL kill a word /or/ a token, depending > on the context. For instance, in this situation: > > \foo-!-bar > > pressing M-DEL kills "foo", which doesn't make sense, a

Re: [AUCTeX-devel] amsrefs support in reftex

2015-10-16 Thread Marcin Borkowski
On 2015-10-16, at 12:16, Tassilo Horn wrote: > Marcin Borkowski writes: > >>> Uh, that sounds quite complicated to integrate into RefTeX. >>> Basically, you have to have something similar to >>> `reftex-parse-bibtex-entry' or `reftex-parse-bibitem' for amsrefs >>> entries which knows about cust

Re: [AUCTeX-devel] amsrefs support in reftex

2015-10-16 Thread Tassilo Horn
Marcin Borkowski writes: >> Uh, that sounds quite complicated to integrate into RefTeX. >> Basically, you have to have something similar to >> `reftex-parse-bibtex-entry' or `reftex-parse-bibitem' for amsrefs >> entries which knows about custom entry types and fields. > > Well, what I would like

Re: [AUCTeX-devel] amsrefs support in reftex

2015-10-16 Thread Marcin Borkowski
On 2015-10-16, at 10:22, Mosè Giordano wrote: > Hi Marcin, > > 2015-10-16 9:43 GMT+02:00 Marcin Borkowski : >> This means that (most probably) I should look into reftex-cite.el, in >> particular the parts which (a) look for files with the bibliography and >> (b) extract info from them. But wher

Re: [AUCTeX-devel] amsrefs support in reftex

2015-10-16 Thread Marcin Borkowski
On 2015-10-16, at 10:22, Tassilo Horn wrote: > Marcin Borkowski writes: > > Hi Marcin, > >> Amsrefs is a (sort of) replacement for Bib(La)TeX. Unlike those >> tools, it is written completely in TeX. The disadvantage of amsrefs >> is that it can't sort entries - you have to take care of that >

Re: [AUCTeX-devel] amsrefs support in reftex

2015-10-16 Thread Mosè Giordano
Hi Marcin, 2015-10-16 9:43 GMT+02:00 Marcin Borkowski : > This means that (most probably) I should look into reftex-cite.el, in > particular the parts which (a) look for files with the bibliography and > (b) extract info from them. But where are they and how do they work...? Yes, reftex-cite.el

Re: [AUCTeX-devel] amsrefs support in reftex

2015-10-16 Thread Tassilo Horn
Marcin Borkowski writes: Hi Marcin, > Amsrefs is a (sort of) replacement for Bib(La)TeX. Unlike those > tools, it is written completely in TeX. The disadvantage of amsrefs > is that it can't sort entries - you have to take care of that > manually. The advantage is that you program the bibliog

Re: [AUCTeX-devel] amsrefs support in reftex

2015-10-16 Thread Marcin Borkowski
On 2015-10-16, at 09:01, Tassilo Horn wrote: > Mosè Giordano writes: > >>> So, my question is: Where should I start reading reftex's code to be >>> able to start working on amsrefs support? >> >> Your help would be very welcome. > > Yes, absolutely! Thanks! (BTW, that doesn't mean that I'm no

Re: [AUCTeX-devel] amsrefs support in reftex

2015-10-16 Thread Tassilo Horn
Mosè Giordano writes: > I'm really happy I'm not the only one having difficulties with > understanding RefTeX' code! RefTeX is great, provides tons of useful > features, but I find AUCTeX' code much much easier to read. Amen. >> So, my question is: Where should I start reading reftex's code to