[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] documentclass option completion
From: |
Reiner Steib |
Subject: |
Re: [AUCTeX-devel] documentclass option completion |
Date: |
Thu, 21 Apr 2011 08:37:47 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) |
On Sat, Apr 16 2011, Mads Jensen wrote:
> And while I'm at the topic of documentclass, I'd like to make a
> suggestion of adding completion to options just like AUCTeX does so
> nicely with \usepackage
>
> Perhaps there was a decision to not support it?
I'm not sure what you have in mind. But when I start a new file and
enter C-c C-e document RET s TAB, I get completion for the classes
starting with "s":
,----[ *Completions* ]
| Click <mouse-2> on a completion to select it.
| In this buffer, type RET to select the completion near point.
|
| Possible completions are:
| scrartcl scrbook
| scrlttr2 scrreprt
| slides
`----
,----[ <f1> f TeX-arg-document RET ]
| TeX-arg-document is a compiled Lisp function in `latex.elc'.
| (TeX-arg-document OPTIONAL &optional IGNORE)
|
| Insert arguments to documentclass.
`----
,----[ Backtrace with debug-on-quit ]
| Debugger entered--Lisp error: (quit)
| completing-read("Document class: (default scrartcl) " (("amsart")
| ("amsbook") ("article") ("beamer") ("book") ("dinbrief") ("foils")
| ("letter") ("minimal") ("prosper") ("report") ("scrartcl")
| ("scrbook") ("scrlttr2") ("scrreprt") ("slides")))
| TeX-arg-document(nil)
| TeX-parse-argument(nil TeX-arg-document)
| TeX-parse-arguments((TeX-arg-document))
| TeX-parse-macro("documentclass" (TeX-arg-document))
| TeX-insert-macro("documentclass")
| LaTeX-env-document("document")
| apply(LaTeX-env-document "document" nil)
| LaTeX-environment-menu("document")
| LaTeX-environment(nil)
| call-interactively(LaTeX-environment)
`----
With a quite old AUCTeX version (Ubuntu 8.04.4 LTS):
,----[ <f1> v AUCTeX-version RET ]
| AUCTeX-version is a variable defined in `tex-site.el'.
| Its value is "11.84"
|
| Documentation:
| AUCTeX version.
| If not a regular release, the date of the last change.
`----
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/