all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nikola Skoric <nick-news@net4u.hr>
To: help-gnu-emacs@gnu.org
Subject: Re: binding a command and a parameter
Date: Sun, 14 Oct 2007 19:18:45 +0000 (UTC)	[thread overview]
Message-ID: <fetq2l$fqi$1@ss408.t-com.hr> (raw)
In-Reply-To: slrnfh4m2j.4pv.joostkremers@j.kremers4.news.arnhem.chello.nl

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	other threads:[~2007-10-14 19:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-13 19:09 binding a command and a parameter Nikola Skoric
2007-10-13 22:41 ` Peter Dyballa
     [not found] ` <mailman.2032.1192315305.18990.help-gnu-emacs@gnu.org>
2007-10-14  9:21   ` Nikola Skoric
2007-10-14 16:57     ` Maarten Bergvelt
2007-10-14 17:26       ` Nikola Skoric
2007-10-14 17:40         ` Nikola Skoric
2007-10-14 17:57           ` Joost Kremers
2007-10-14 19:18             ` Nikola Skoric [this message]
2007-10-14 19:54               ` Joost Kremers
2007-10-14 20:46                 ` Nikola Skoric
2007-10-14 21:11                   ` Nikola Skoric
2007-10-14 22:17                     ` Joost Kremers
2007-10-14 22:25                       ` David Kastrup
2007-10-15 18:37                         ` Joost Kremers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fetq2l$fqi$1@ss408.t-com.hr' \
    --to=nick-news@net4u.hr \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.