> Hi Uwe,
> 2016-11-14 18:43 GMT+01:00 Uwe Brauer <[email protected]>:
> This is funny: you praise how RefTeX is great, you don't like RefTeX's
> behavior and blame AUCTeX for it ;-)
Aehm no, I did not. See below.
> You're comparing apples with oranges: `reftex-label' defines a new
> label, `TeX-arg-ref' prompts for an already existing label. What do
> you want to accomplish? Determine what action you want to take
> (define a new label? reference an existing one?), use the appropriate
> AUCTeX function, and you're done. If you use RefTeX, it'll be
> actually used.
The first version of my code was
'("titledquestion" "Title" ["Points"] reftex-label)
Arash told me to change it because it was too reftex specific. So I
changed it to
'("titledquestion" "Title" ["Points"] TeX-arg-ref)
which most likely is fine if reftex-plug-into-AUCTeX is nil.
But the problem is, with setq reftex-plug-into-AUCTeX t, TeX-arg-ref
behaves differently from reftex-label, because it now asks you
interactively to insert a label. That is a behaviour which I don't want,
I want reftex to do this automatically.
So it boils down to this what is the corresponding AUCTeX function which
behaves *exactly* as reftex-label?
Uwe
_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel