help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: binding a command and a parameter


From: Joost Kremers
Subject: Re: binding a command and a parameter
Date: 14 Oct 2007 17:57:08 GMT
User-agent: slrn/0.9.8.1 (Linux)

Nikola Skoric wrote:
> Dana Sun, 14 Oct 2007 17:26:33 +0000 (UTC), 
> Nikola Skoric <address@hidden> kaze:
>> Dana Sun, 14 Oct 2007 16:57:02 +0000 (UTC), 
>> Maarten Bergvelt <address@hidden> kaze:
>>> You should not need to type Latex, just hit return.
>>
>> That works if the last command I used was latex. But, sometimes I also use
>> bibtex... And, I'd really like to bind that whole combination to something.
>
> Hm, no, if I don't hit return, it invokes xdvi. So, I do have to type latex.

AUCTeX provides a default based on the current state of the document
compilation. the default is latex if the .tex file is newer than the dvi
file (or pdf, if you're using pdflatex), but if the dvi file is up-to-date,
the default is xdvi (or whatever viewer you've defined, or AUCTeX finds
suitable).

however, the prompt sports TAB-completion, so all you really need to type
to get latex is just `l', then hit RETURN.


-- 
Joost Kremers                                      address@hidden
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


reply via email to

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