[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 22:47:10 +0200 |
2015-09-01 21:45 GMT+02:00 Tassilo Horn <address@hidden>:
> Mosè Giordano <address@hidden> writes:
>
>>> 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 just added an optional FILE-FN argument which can be either
> #'TeX-master-file or #'TeX-region-file. So now you can do
>
> (TeX-command-sequence t t #'TeX-region-file)
>
> to recompile the region.
Thanks, that's what I was thinking to.
> Well, what's missing is that the region file
> needs to be updated before doing that but I don't have time to do that.
Uhm, I'll try to have a look at this, but I don't know when.
>>> 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.
>
> Too bad the bindings for the only two better terms I can come up, i.e.,
> _c_ompile and _r_ecompile, are already taken for _c_ommand and
> _r_egion...
Indeed we're running out of letters. Letters still free should be:
a (u) x y
Actually I'm not sure about "x". Do you have ideas for "a" or "y"?
Bye,
Mosè
- Re: [AUCTeX-devel] Implementing TeX-update, Tassilo Horn, 2015/09/01
- Re: [AUCTeX-devel] Implementing TeX-update, Mosè Giordano, 2015/09/01
- Re: [AUCTeX-devel] Implementing TeX-update, Tassilo Horn, 2015/09/01
- Re: [AUCTeX-devel] Implementing TeX-update,
Mosè Giordano <=
- Re: [AUCTeX-devel] Implementing TeX-update, Ivan Andrus, 2015/09/02
- Re: [AUCTeX-devel] Implementing TeX-update, Tassilo Horn, 2015/09/02
- Re: [AUCTeX-devel] Implementing TeX-update, Mosè Giordano, 2015/09/02
- Re: [AUCTeX-devel] Implementing TeX-update, Arash Esbati, 2015/09/03
- Re: [AUCTeX-devel] Implementing TeX-update, Mosè Giordano, 2015/09/03
- Re: [AUCTeX-devel] Implementing TeX-update, Tassilo Horn, 2015/09/04
- Re: [AUCTeX-devel] Implementing TeX-update, Tassilo Horn, 2015/09/04
- Re: [AUCTeX-devel] Implementing TeX-update, Mosè Giordano, 2015/09/04
- Re: [AUCTeX-devel] Implementing TeX-update, Tassilo Horn, 2015/09/04
- Re: [AUCTeX-devel] Implementing TeX-update, Mosè Giordano, 2015/09/04