all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* abbrev mode and AucTeX - defining TeX-mode specific abbrev-table
@ 2009-10-21  8:04 dnquark
  2009-10-21 11:26 ` Leo
  0 siblings, 1 reply; 2+ messages in thread
From: dnquark @ 2009-10-21  8:04 UTC (permalink / raw)
  To: help-gnu-emacs

Section 8 of EmacsWiki page on AucTeX states this:

By default, AUCTeX shares its abbreviations with the major mode text-
mode. ..... Here is how to define abbreviations that work in auctex
modes only, without interfering with the standard text-mode:

 (define-abbrev-table 'TeX-mode-abbrev-table (make-abbrev-table))

However, this command when put in my .emacs results in an error
Wrong type argument: listp, [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0]

Can someone shed some light on how to properly define TeX-mode-
specific abbrev-table?..


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: abbrev mode and AucTeX - defining TeX-mode specific abbrev-table
  2009-10-21  8:04 abbrev mode and AucTeX - defining TeX-mode specific abbrev-table dnquark
@ 2009-10-21 11:26 ` Leo
  0 siblings, 0 replies; 2+ messages in thread
From: Leo @ 2009-10-21 11:26 UTC (permalink / raw)
  To: help-gnu-emacs

I think this is a bug in AUCTeX not to have a abbrev table of its own.
The default TeX/LaTeX modes in Emacs do not have this problem.

On 2009-10-21 09:04 +0100, dnquark wrote:
>  (define-abbrev-table 'TeX-mode-abbrev-table (make-abbrev-table))

(define-abbrev-table 'TeX-mode-abbrev-table nil)

Leo





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-21 11:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-21  8:04 abbrev mode and AucTeX - defining TeX-mode specific abbrev-table dnquark
2009-10-21 11:26 ` Leo

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.