auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] Implementing TeX-update


From: Mosè Giordano
Subject: Re: [AUCTeX-devel] Implementing TeX-update
Date: Tue, 1 Sep 2015 10:07:03 +0200

Hi Tassilo,

2015-09-01 9:10 GMT+02:00 Tassilo Horn <address@hidden>:
> 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è



reply via email to

[Prev in Thread] Current Thread [Next in Thread]