From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: abbrev-mode can't work in python-mode Date: Tue, 12 Nov 2013 08:15:48 +0100 Message-ID: <5281D5A4.9030200@easy-emacs.de> References: <5280FB26.1050701@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1384240406 23849 80.91.229.3 (12 Nov 2013 07:13:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Nov 2013 07:13:26 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org List" To: Yu Yang Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 12 08:13:28 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vg8AB-0000wm-9K for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Nov 2013 08:13:27 +0100 Original-Received: from localhost ([::1]:41270 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vg8AA-0001LS-OL for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Nov 2013 02:13:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vg89u-0001JR-0D for help-gnu-emacs@gnu.org; Tue, 12 Nov 2013 02:13:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vg89m-0003DL-Ib for help-gnu-emacs@gnu.org; Tue, 12 Nov 2013 02:13:09 -0500 Original-Received: from moutng.kundenserver.de ([212.227.17.9]:49412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vg89m-0003D0-9W for help-gnu-emacs@gnu.org; Tue, 12 Nov 2013 02:13:02 -0500 Original-Received: from purzel.sitgens (brln-4dbc7906.pool.mediaWays.net [77.188.121.6]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0M5V4W-1VUup808Vs-00xQV3; Tue, 12 Nov 2013 08:13:00 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: X-Provags-ID: V02:K0:D6whpT5giREEqia3Fx1VyT8IgZK2MbMzIERS6LtjNRw aLCNYY1ibR8yTGqRM0yUlmXLGh39FgWMZ7+mYEZPn9djRoR2KV JtyerL8gRliHQMZDmcz90YvQIu7yRgcj9gjKw2qPNOaV7yAaDl nJ1asv07l9DLplSpAiEbb9rwySTJlK1S8DQZJdtjM0u+4B9DEM VCTiLGRsCPpoHQhXhSUJnGFJ/5UR7Bq730Bon5Xsk81i/NNN+v 3rOPxC6EfwTuLRaHOTUexcpsazdC1QcFkINDBHP4KM9g/NDNxs la72rkp/O3eo89uq/f3rqvuOsd0B294SPjiiebkrp/c8zjF681 OFm23JuFYmcZDYmzs/iw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.9 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94465 Archived-At: Am 12.11.2013 03:15, schrieb Yu Yang: > yes. the result is : > > (python-mode-abbrev-table) > > "class" (sys) 0 "" python-skeleton-class > "def" (sys) 0 "" python-skeleton-def > "for" (sys) 0 "" python-skeleton-for > "if" (sys) 0 "" python-skeleton-if > "iform" 0 "from django import forms" > "imodel" 0 "from django.db import models" > "irequestcontext" 0 "from django.template import RequestContext" > "isettings" 0 "from django.conf import settings" > > Okay. M-x expand-abbrev RET does it here with your code, while SPACE, which should expand also, fails. Looks like a bug for me. GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2013-07-06