From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= Newsgroups: gmane.emacs.help Subject: Re: abbrev mode not working Date: Mon, 21 Apr 2014 10:34:57 +0200 Message-ID: <5354D831.5040005@easy-emacs.de> References: <53522858.1070407@easy-emacs.de> <12052970.tkrmUIJGVB@horus> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1398069029 3458 80.91.229.3 (21 Apr 2014 08:30:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Apr 2014 08:30:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 21 10:30:23 2014 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 1Wc9cL-000457-Nx for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Apr 2014 10:30:21 +0200 Original-Received: from localhost ([::1]:48010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wc9cL-0001FZ-A4 for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Apr 2014 04:30:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wc9c4-0001Bx-Vv for help-gnu-emacs@gnu.org; Mon, 21 Apr 2014 04:30:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wc9by-0001Xs-QP for help-gnu-emacs@gnu.org; Mon, 21 Apr 2014 04:30:04 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.187]:60651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wc9by-0001XZ-H9 for help-gnu-emacs@gnu.org; Mon, 21 Apr 2014 04:29:58 -0400 Original-Received: from purzel.sitgens (brln-4db9170a.pool.mediaWays.net [77.185.23.10]) by mrelayeu.kundenserver.de (node=mreue005) with ESMTP (Nemesis) id 0MCuUJ-1WloGG3Kj5-009gak; Mon, 21 Apr 2014 10:29:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <12052970.tkrmUIJGVB@horus> X-Provags-ID: V02:K0:MCEq0QX9lVbHEGd1AJoVpYnVgSrBcy23PUfkMrpi/C/ ZO4QnC1Fr/qabftdqxHYboCavtmHPUcMvlIsdBBVdkFXD0tk2S ScmzJYXmN7zbFqK+rjOT/qK41hhFzkJVjNcekF8zlK2I71lQ66 lK5Y7G21y2ctlBw0yU9RipiHucsB2ChZBnXBW6an++FROW1YB9 /bSPZc6x3AFsZXWamjKyqQyRInfPSiUlV4kKZj7mJXYrm0tWuh s3nzmbVR+BBhY+3icZuYoclHosG/+cN9y/yDPOIFMadx7baH+K Glw3KTckUeDUlOB5cDkKpMx4C2TaA6XsV2fnKs+HLY9faq6+qe +i8kV/OtrT5ShIK+0qTwejqSSI7u9yxrEFq+7lsGH X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.126.187 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:97284 Archived-At: Am 20.04.2014 15:39, schrieb Florian Lindner: > Am Samstag, 19. April 2014, 09:40:08 schrieb Andreas Röhler: >> Am 16.04.2014 10:18, schrieb Florian Lindner: >>> Hello, >>> >>> on emacs 24.3.1 I have trouble using the abbrev mode. >>> >>> emacs -Q >>> M-x python-mode >>> M-x abbrev-mode >> >> This toggles abbrev-mode. >> If abbrev-mode was on by init, it's now off. > > That's why I invoked emacs using -Q. > >> What does the status bare tell WRT abbrev-mode? > > i enabled abbrev-mode, Abbrev is shown in the status bar. > >>> typing "pdb", nothing happens. >> >> Just typing an abbrev does nothing. Needs to expand, for example. > > Sure. > >>> Though my ~/.emacs.d/abbrev_defs contains: >>> >>> ;;-*-coding: utf-8;-*- >>> >>> (define-abbrev-table 'python-mode-abbrev-table >>> '( >>> ("pdb" "pdb.set_trace()" nil 0) >>> )) > >> Does this solve it already? > > Sorry, no. > > Thanks! > Florian > > Using abbrevs heavily with python-mode.el, you may give it a try. https://launchpad.net/python-mode As it doesn't unload python.el, it's a little bit strange seeing abbrevs working that way, but so it is. BTW you should be able to run the python.el commands used to while expanding python-mode.el based abbrevs. Cheers, Andreas