* Mirko Vukovic (2010-09-24) writes:

> That info section is very nice.  Now, the example uses %s in the
> command specification, while most of
> the commands use %t.  The two are defined as follows:
>
>  ("%s" file nil t)
>  ("%t" file t t)
>
> What is the difference between the two.  I did not follow the code in
> TeX-command-expand.

Yup, the code here is quite finicky.  That's why I added a remark in
tex.el about what `file' does just above the lines of code you cited
above:

    ;; `file' means to call `TeX-master-file' or `TeX-region-file'

So with %s you get the file name without extension and with %t you get
it with extension.

Eventually all the extenders should be documented in the manual so that
people actually get to know and have a chance to use them.

-- 
Ralf

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

Reply via email to