Ralf Angeli <[EMAIL PROTECTED]> writes:

> In case somebody wants to have a toolbar button for
> `TeX-command-master', you can check out the attached patch.
>
> The button does not update the displayed image.  You will always see
> the cog wheels.

I think at least the tooltip should mention what the button does, and
it might make sense to compute the button's action on mouse-over, too,
and then change the image to the specific one while mouse-over is
active.

This is still a hack, but you'd at least know what the button does
before pressing it.  And I think that is essential.

What could be useful to have (maybe) is a button like
run-TeX-command-master-until-failure-or-success-and-start-viewer-if-success.

Of course, having the cog wheels actually turn (timer-set-function?)
while the compilation is in progress would be...

Seems like I am in get-offered-a-finger-bite-off-an-arm mode.

> There won't be the usual questions about which command to use you
> normally get with `C-c C-c'.  So for the button it is crucial that
> we always compute the correct next command.  If we fail to do so, we
> might think about alternative invocations to temporarily reenable
> the question for the command.  I don't know if something like
> `S-mouse-1' works which could be used for this purpose (if it
> works).

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to