From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Malte Spiess Newsgroups: gmane.emacs.help Subject: Re: using custom emacs abbreviations Date: Fri, 10 Nov 2006 17:05:07 +0100 Organization: Arcor Message-ID: <871wob8ez0.fsf@trick.ulm.malte.spiess> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1163176872 8762 80.91.229.2 (10 Nov 2006 16:41:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Nov 2006 16:41:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 10 17:41:10 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GiZR3-0003tC-AC for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Nov 2006 17:40:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GiZR2-0007Xd-Qh for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Nov 2006 11:40:56 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!newsfeed.cs.wisc.edu!newsfeed-00.mathworks.com!oleane.net!oleane!news.in2p3.fr!in2p3.fr!news.ecp.fr!news2.arglkargh.de!noris.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:uLn0gAlomKsgTXeMjL/gREPWU+8= Original-Lines: 25 Original-NNTP-Posting-Date: 10 Nov 2006 17:05:01 CET Original-NNTP-Posting-Host: a18d9074.newsspool1.arcor-online.net Original-X-Trace: DXC=K8N@:P^<; mI0YVY]kmLTlDic==]BZ:afN4Fo<]lROoRA^YC2XCjHcbI?B>DIC7]; UNjQd8 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:38620 Archived-At: Kevin Harriss 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