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: Nikola Skoric
Subject: Re: binding a command and a parameter
Date: Sun, 14 Oct 2007 19:18:45 +0000 (UTC)
User-agent: slrn/0.9.8.1pl1 (Debian)

Dana 14 Oct 2007 17:57:08 GMT, 
Joost Kremers <joostkremers@yahoo.com> kaze:
> Nikola Skoric wrote:
>> Dana Sun, 14 Oct 2007 17:26:33 +0000 (UTC), 
>> Nikola Skoric <nick-news@net4u.hr> kaze:
>>> Dana Sun, 14 Oct 2007 16:57:02 +0000 (UTC), 
>>> Maarten Bergvelt <bergv@math.uiuc.edu> 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).

Of course dvi file is up-to-date since I'm editing .tex file which is then
\included to .tex file I'm compiling (main fail doesn't change). So, my default
option is always view :-)

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

Arrow up works fine to, but I'd really like to learn how to bind this kind of
commands. :-D

-- 
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"


reply via email to

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