Re: [AUCTeX-devel] Implementing TeX-update

2015-09-04 Thread Tassilo Horn
Mosè Giordano writes: (after a bit of testing)! I think we have accumulated more than enough additions, fixes, and new features to think about that. >>> >>> Regarding testing. I think `LaTeX-command-run-all-section' should >>> check if it's on a LaTeX document, for example in a plain

Re: [AUCTeX-devel] Implementing TeX-update

2015-09-04 Thread Mosè Giordano
Hi Tassilo, 2015-09-04 11:02 GMT+02:00 Tassilo Horn : > Mosè Giordano writes: > >>> (after a bit of testing)! I think we have accumulated more than enough >>> additions, fixes, and new features to think about that. >> >> Regarding testing. I think `LaTeX-command-run-all-section' should >> check

Re: [AUCTeX-devel] Implementing TeX-update

2015-09-04 Thread Tassilo Horn
Mosè Giordano writes: >> (after a bit of testing)! I think we have accumulated more than enough >> additions, fixes, and new features to think about that. > > Regarding testing. I think `LaTeX-command-run-all-section' should > check if it's on a LaTeX document, for example in a plain tex docume

Re: [AUCTeX-devel] Implementing TeX-update

2015-09-04 Thread Mosè Giordano
Hi Tassilo, 2015-09-04 6:56 GMT+02:00 Tassilo Horn : > Tassilo Horn writes: > Is `TeX-command-run-all' an option? Rational: `TeX-command-list' mostly uses `run'. +1 for C-c C-a. >>> >>> Uhm, good point but I really don't know which option to choose: for >>> me `TeX-command-compile-all

Re: [AUCTeX-devel] Implementing TeX-update

2015-09-03 Thread Tassilo Horn
Tassilo Horn writes: >>> Is `TeX-command-run-all' an option? Rational: `TeX-command-list' >>> mostly uses `run'. +1 for C-c C-a. >> >> Uhm, good point but I really don't know which option to choose: for >> me `TeX-command-compile-all' and `TeX-command-run-all' are equally >> good. So now I've

Re: [AUCTeX-devel] Implementing TeX-update

2015-09-03 Thread Tassilo Horn
Mosè Giordano writes: I'm not sure which name is best, though. `TeX-command-all' has the nice property that then all processing commands have the TeX-command prefix. So maybe `TeX-command-compile-all' would be best compromise wrt. discoverability, descriptiveness, and mnemoni

Re: [AUCTeX-devel] Implementing TeX-update

2015-09-03 Thread Mosè Giordano
Hi Arash, 2015-09-03 22:27 GMT+02:00 Arash Esbati : > Mosè Giordano writes: > >> 2015-09-02 7:58 GMT+02:00 Tassilo Horn : >>> >>> I'm not sure which name is best, though. `TeX-command-all' has the nice >>> property that then all processing commands have the TeX-command prefix. >>> So maybe `TeX-

Re: [AUCTeX-devel] Implementing TeX-update

2015-09-03 Thread Arash Esbati
Mosè Giordano writes: > 2015-09-02 7:58 GMT+02:00 Tassilo Horn : >> >> I'm not sure which name is best, though. `TeX-command-all' has the nice >> property that then all processing commands have the TeX-command prefix. >> So maybe `TeX-command-compile-all' would be best compromise >> wrt. discove

Re: [AUCTeX-devel] Implementing TeX-update

2015-09-02 Thread Mosè Giordano
Hi Uwe, 2015-09-02 17:56 GMT+02:00 Uwe Brauer : > >> 2015-08-17 12:26 GMT+02:00 Mosè Giordano : > >> No comment? :-) > > Sorry to arrive late on this discussion. Off-topic question to start > with, where is the «wishlist» you mentioned? In our manual (info "(auctex)Development") or https:

Re: [AUCTeX-devel] Implementing TeX-update

2015-09-02 Thread Uwe Brauer
> 2015-08-17 12:26 GMT+02:00 Mosè Giordano : > No comment? :-) Sorry to arrive late on this discussion. Off-topic question to start with, where is the «wishlist» you mentioned? Let me see whether I understand the philosophy. Usually I run C-c C-c and then I will be prompted for latex (pd

Re: [AUCTeX-devel] Implementing TeX-update

2015-09-02 Thread Mosè Giordano
Hi Tassilo, 2015-09-02 7:58 GMT+02:00 Tassilo Horn : > I like Ivan's suggestions. Basically, the command is something like > "make all", so how about either `TeX-make-all', `TeX-execute-all', > `TeX-command-all', or `TeX-compile-all'? The binding C-c C-a would make > sense for all of them. > > I

Re: [AUCTeX-devel] Implementing TeX-update

2015-09-01 Thread Tassilo Horn
Mosè Giordano writes: >> 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. I think we should extract the `TeX-region-create' call in `TeX-command-region' into a

Re: [AUCTeX-devel] Implementing TeX-update

2015-09-01 Thread Ivan Andrus
> On Sep 1, 2015, at 2:47 PM, Mosè Giordano wrote: > > 2015-09-01 21:45 GMT+02:00 Tassilo Horn : >> Mosè Giordano writes: >> 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 alr

Re: [AUCTeX-devel] Implementing TeX-update

2015-09-01 Thread Mosè Giordano
2015-09-01 21:45 GMT+02:00 Tassilo Horn : > Mosè Giordano 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 whol

Re: [AUCTeX-devel] Implementing TeX-update

2015-09-01 Thread Tassilo Horn
Mosè Giordano 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 anothe

Re: [AUCTeX-devel] Implementing TeX-update

2015-09-01 Thread Mosè Giordano
Hi Tassilo, 2015-09-01 9:10 GMT+02:00 Tassilo Horn : > 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

Re: [AUCTeX-devel] Implementing TeX-update

2015-09-01 Thread Tassilo Horn
Mosè Giordano writes: > Ok, no one objected, then I've applied the patches. > > Happy TeXing with new C-c C-u command! Awesome, thanks! Now could there also be commands `TeX-update-region' and `LaTeX-update-section'? And while we are at it: do you think "update" is the best term for this featu

Re: [AUCTeX-devel] Implementing TeX-update

2015-08-31 Thread Mosè Giordano
Ok, no one objected, then I've applied the patches. Happy TeXing with new C-c C-u command! Bye, Mosè 2015-08-24 18:27 GMT+02:00 Mosè Giordano : > 2015-08-17 12:26 GMT+02:00 Mosè Giordano : >> Hi list, >> >> I've implemented TeX-update, as suggested in the wishlist. My work >> follows the same

Re: [AUCTeX-devel] Implementing TeX-update

2015-08-24 Thread Mosè Giordano
2015-08-17 12:26 GMT+02:00 Mosè Giordano : > Hi list, > > I've implemented TeX-update, as suggested in the wishlist. My work > follows the same logic of http://www.emacswiki.org/emacs/TN#toc8 and > is in part based on it: a function runs the compilation command and > calls a sentinel which, when t

Re: [AUCTeX-devel] Implementing TeX-update

2015-08-17 Thread Mosè Giordano
Hi Lars, 2015-08-17 12:37 GMT+02:00 Lars Madsen : > A slightly related question > > I always run the compilation outside Emacs, via latexmk -pvc > > This of course does not give me the C-c ` access to errors, can I provoke > that manually? Don't know whether this works, but I've seen there is an

Re: [AUCTeX-devel] Implementing TeX-update

2015-08-17 Thread Lars Madsen
-devel Subject: [AUCTeX-devel] Implementing TeX-update Hi list, I've implemented TeX-update, as suggested in the wishlist. My work follows the same logic of http://www.emacswiki.org/emacs/TN#toc8 and is in part based on it: a function runs the compilation command and calls a sentinel which, whe

[AUCTeX-devel] Implementing TeX-update

2015-08-17 Thread Mosè Giordano
Hi list, I've implemented TeX-update, as suggested in the wishlist. My work follows the same logic of http://www.emacswiki.org/emacs/TN#toc8 and is in part based on it: a function runs the compilation command and calls a sentinel which, when the command finishes, calls back the function and so on