I use a lot the autocomplete feature for commands and environments of AucTeX, via the TeX-insert-macro and LaTeX-environment functions. But is there a way to add to the built-in list more commands and macros (\enquote{}, \noindent, etc.)?
Add command or environment to AucTeX autocomplete list
1.3k Views Asked by NVaughan At
1
There are 1 best solutions below
Related Questions in EMACS
- EMACS-Live + Slime error at startup
- Auto complete of braces in emacs
- tmux + emacs : ctrl is not reconized
- yasnippet weird-input when org-mode :tag: on same line
- Error in Dired sorting on Windows (with Cygwin Emacs)
- ESS produces "Variable binding depth exceeds max-specpdl-size"
- How to simplify the mode-line, and enter evil-insert-state depending on buffer name
- MELPA pointing to non-existent version of multi-term?
- Mark-up for bold and italic in emacs org-mode
- How to get C-` key combo recognized in Emacs under Mac?
- how to install Emacs Prelude system-wide on windows/MinGW?
- Emacs on Windows 8: write-error, bad file descriptor
- Emacs and Skim not in Sync fails to open
- Emacs web mode selection word delimiters include _
- Error loading D:\cygdrive\d\path\to\my\file.pdf
Related Questions in LISP
- Intercept and modify user input in Common Lisp
- Read next line when loading file in Common Lisp
- Calling CCL + Quicklisp script as executable with command line arguments and achieving the desired output
- Avoiding echos in Clozure lisp (noob)
- Backquote String Interpolation
- Structuring large Lisp applications
- If strings are vectors, why are they immutable?
- Invalid specialized parameter in method lambda list
- Emacs init.el and Elisp and equivalent of common lisp every-p function
- EVAL/APPLY: too many arguments given to F
- Insertion into a list doesn't reflect outside function whereas deletion does?
- How to traverse a tree in Clojure while collecting the value from each node node?
- in clojure, function argument type mismatch
- In Lisp is the function `1+` just syntactic sugar?
- Search function in lisp
Related Questions in AUCTEX
- pdf2dsc error: invalidaccess --.locksafe--
- Connecting to DBus from emacs daemon
- How to change brace indentation style in Emacs/ AUCTeX
- Extending list in .emacs init file
- Emacs/auctex not asking for prompting label anymore
- How can I customize LaTeX-item-list?
- How do I font lock dollar signs (math mode delimiters) in AUCTeX buffer only outside comments?
- emacs ispell breaks on latex quotation marks
- auxtex "problems after {1} page"
- Hide latex (auctex) output buffer
- Change the format of a word in Emacs-AUCTeX without actually selecting it
- Emacs syntax highlighting for custom LaTeX comment environment
- Add command or environment to AucTeX autocomplete list
- Emacs preview-latex minted package and -shell-escape
- emacs latex auctex error: void-variable latex-mode
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The standard way to add support for macros and environment is writing a style file, it's documented here: https://www.gnu.org/software/auctex/manual/auctex.html#Style-Files The relevant functions are
TeX-add-symbolsandLaTeX-add-environments.To add new macros and environments without creating style files see this answer: https://stackoverflow.com/a/17249399/2442087 For example, to add the
foomacro and thebarenvironment add this to your init file: