unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Kastrup <dak@gnu.org>
Subject: Re: what are the commands on the menu
Date: Tue, 05 Apr 2005 15:53:47 +0200	[thread overview]
Message-ID: <x5oect2utw.fsf@lola.goethe.zz> (raw)
In-Reply-To: d2u4a1$qio$1@snic.vub.ac.be

Olive <olive.lin@versateladsl.be> writes:

> David Kastrup wrote:
>> Olive <olive.lin@versateladsl.be> writes:
>> 
>>>I used to use the standard TeX mode but D. Kastrup have convinced me
>>>that auctex is better.
>> Actually, it was not really my intent to turn you from the default
>> tex-mode.el as long as it was an informed decision.
>> 
>>>My principal trouble about it is that I can't figure out on what
>>>functions the command on the menu are bound.  I would like to define
>>>"\C-c\C-f" to be bound to the LaTeX command I see in the menu (to
>>>emulate the key in the stand. mode).
>> This can be called a deficiency of AUCTeX, so it would probably be
>> best discussed on auctex-devel at gnu.org.
>> 
>>>But if a do a describe-key on this item; I get something like
>>>menu-function-<some-number>; which I think is dynamically generated
>>>(?)
>> Yes, more or less.
>> You probably want something like
>>   (TeX-command "LaTeX" 'TeX-master-file 0)
>
> I had already tried this (after having looked in the source code;
> trying to guess how thing are done); but then the files are not
> saved if there are been modified (I have configured auctex to save
> all the modified files). I have not tried to remake the LaTeX
> command by trying to save the files myself since this command
> already exists and I tought that all I have to do is to "locate it".

No such command exists yet.  This is done in the course of
TeX-command-query which is not consulted here.  You need to do
something like

  (TeX-save-document (TeX-master-file))

yourself.  Again: this is rather a topic for the developer list of
AUCTeX than for this group.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

      reply	other threads:[~2005-04-05 13:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-05 12:49 what are the commands on the menu Olive
2005-04-05 13:08 ` David Kastrup
2005-04-05 13:37   ` Olive
2005-04-05 13:53     ` David Kastrup [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=x5oect2utw.fsf@lola.goethe.zz \
    --to=dak@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).