all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: Yu Yang <yy2012cn@gmail.com>
Cc: "help-gnu-emacs@gnu.org List" <help-gnu-emacs@gnu.org>
Subject: Re: abbrev-mode can't work in python-mode
Date: Tue, 12 Nov 2013 08:15:48 +0100	[thread overview]
Message-ID: <5281D5A4.9030200@easy-emacs.de> (raw)
In-Reply-To: <CAHvdkjgMhx8EEUnQOU1DMEWM9hFA65g1tCpP-kU+c5XxqbCZug@mail.gmail.com>

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




      parent reply	other threads:[~2013-11-12  7:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-11  9:09 abbrev-mode can't work in python-mode Yu Yang
2013-11-11 15:43 ` Andreas Röhler
     [not found]   ` <CAHvdkjgMhx8EEUnQOU1DMEWM9hFA65g1tCpP-kU+c5XxqbCZug@mail.gmail.com>
2013-11-12  7:15     ` Andreas Röhler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5281D5A4.9030200@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=yy2012cn@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.