help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using custom emacs abbreviations


From: Malte Spiess
Subject: Re: using custom emacs abbreviations
Date: Fri, 10 Nov 2006 17:05:07 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Kevin Harriss <address@hidden> writes:

> I am wanting to use a set of custom abbreviation in python-mode for
> emacs.  The layout for my files I have is follows a ~/.emacs,
> ~/.emacs-dir/abbrevs.el, ~/.emacs-dir/recipe-abbrevs.el.  I will post
> the contents of those files below.  When I open a python file with emacs
> it says that it loads recipe-abbrevs.el but when I do M-x list-abbrevs
> it only shows the default abbrevs with python-mode, so my custom abbrevs
> are not being loaded.

I'm not an expert on abbrevs, but I guess this may be your problem:

> [...]
> === ~/.emacs-dir/abbrevs.el ===
> (define-abbrev-table 'text-mode-abbrev-table '(
                        ^^^^^^^^^^^^^^^^^^^^^^
You redefine the table for text mode (should be python-mode I guess).

> Thanks,
>
> Kevin

HTH

Malte


reply via email to

[Prev in Thread] Current Thread [Next in Thread]