Hi Tassilo,

2015-09-01 9:10 GMT+02:00 Tassilo Horn <t...@gnu.org>:
> Now could there also be commands `TeX-update-region' and
> `LaTeX-update-section'?

In `TeX-command-sequence' there is the line

    (TeX-command cmd 'TeX-master-file 0)

so commands are always run on the whole document, but we can change
this by adding another argument to the function with the name of the
file to be compiled, for the region case.  Also the `t' branch of the
first `cond' should be updated to cater for the region.  I'm not sure
what to do for the LaTeX section, you're the expert on this ;-)

> And while we are at it: do you think "update" is the best term for this
> feature?  IMHO, it's a too wide term, e.g., anything can be updated and
> there's already `TeX-update-style' which has nothing to do with that
> feature.  So maybe the terms "recompile" or just "compile" would fit
> better?

I don't have a strong opinion on this, but I tend to agree with you.
I just followed the name suggested in our wishlist which also matches
the proposed key binding `C-c C-u'.  Feel free to change the names
(and key binding), if you feel like that.

Bye,
Mosè

_______________________________________________
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to