Hi,
I'm trying to use some abbrevs in BibTex mode. When visiting my
.bib file, I use the C-x a l command to define a mode-specific
abbreviation. However, when I save the abbreviations, the abbrevs
defined from within BibTex mode are listed as abbrevs for
fundamental-mode. How do I define abbrevs so that they are active only
when I'm visiting a .bib file?
The .abbrevs_def file generated by my first experiment is copied
below. I tried manually changing the 'fundamental-mode-abbrev-table to
'bibtex-mode-abbrev-table, and also 'BibTex-mode-abbrev-table, but
neither one worked. Only the 'fundamental-mode-abbrev-table works, but
not just for .bib files, any file visited in fundamental mode.
Any pointers appreciated.
Thanks,
Tyler
;;-*-coding: emacs-mule;-*-
(define-abbrev-table 'apropos-mode-abbrev-table '(
))
(define-abbrev-table 'comint-mode-abbrev-table '(
))
(define-abbrev-table 'fundamental-mode-abbrev-table '(
("em" "ecol_mono" nil 0)
("ijps" "int_j_plant_sci" nil 1)
("mr" "microbiol_rev" nil 0)
))
(define-abbrev-table 'global-abbrev-table '(
))
(define-abbrev-table 'lisp-mode-abbrev-table '(
))
(define-abbrev-table 'org-mode-abbrev-table '(
))
(define-abbrev-table 'outline-mode-abbrev-table '(
))
(define-abbrev-table 'shell-mode-abbrev-table '(
))
(define-abbrev-table 'sldb-mode-abbrev-table '(
))
(define-abbrev-table 'slime-compiler-notes-mode-abbrev-table '(
))
(define-abbrev-table 'slime-connection-list-mode-abbrev-table '(
))
(define-abbrev-table 'slime-fuzzy-completions-mode-abbrev-table '(
))
(define-abbrev-table 'slime-inspector-mode-abbrev-table '(
))
(define-abbrev-table 'slime-thread-control-mode-abbrev-table '(
))
(define-abbrev-table 'slime-xref-mode-abbrev-table '(
))
(define-abbrev-table 'text-mode-abbrev-table '(
))
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex