From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: help-gnu-emacs@gnu.org
Subject: Re: abbrev mode not working
Date: Mon, 21 Apr 2014 10:34:57 +0200 [thread overview]
Message-ID: <5354D831.5040005@easy-emacs.de> (raw)
In-Reply-To: <12052970.tkrmUIJGVB@horus>
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 <space> 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
next prev parent reply other threads:[~2014-04-21 8:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-16 8:18 abbrev mode not working Florian Lindner
2014-04-19 7:40 ` Andreas Röhler
2014-04-20 13:39 ` Florian Lindner
2014-04-21 8:34 ` Andreas Röhler [this message]
2014-04-21 9:41 ` Andreas Röhler
[not found] ` <mailman.19922.1398001214.10748.help-gnu-emacs@gnu.org>
2014-04-20 13:50 ` Stefan Monnier
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5354D831.5040005@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).