Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
no registered snippets
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Brett  
View profile  
 More options Jun 1 2009, 7:31 pm
From: Brett <brettat...@gmail.com>
Date: Mon, 1 Jun 2009 16:31:34 -0700 (PDT)
Local: Mon, Jun 1 2009 7:31 pm
Subject: no registered snippets
I'm trying to use pyton-mode and yasnippet and I can't get my snippets
to load.  Even if I type in a snippet prefix and do a M-x yas/expand
then it doesn't expand.  The python snippets are listed in the
YASnippet menu but they don't seem to be associated with my python-
mode.    When I run yas/debug-some-vars it says:
No registered snippets.

Everything seems to be installed correctly and ruby-mode and rst-mode
seem to work fine.  I'm using yasnippet-0.5.10

Any ideas?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zhang Chiyuan  
View profile  
 More options Jun 4 2009, 9:17 am
From: Zhang Chiyuan <plus...@gmail.com>
Date: Thu, 4 Jun 2009 21:17:22 +0800
Local: Thurs, Jun 4 2009 9:17 am
Subject: Re: no registered snippets

hi, what does it say when you are in python-mode and type "C-h v major-mode"
?
It should be python-mode to make it work.

On Tue, Jun 2, 2009 at 7:31 AM, Brett <brettat...@gmail.com> wrote:

> I'm trying to use pyton-mode and yasnippet and I can't get my snippets
> to load.  Even if I type in a snippet prefix and do a M-x yas/expand
> then it doesn't expand.  The python snippets are listed in the
> YASnippet menu but they don't seem to be associated with my python-
> mode.    When I run yas/debug-some-vars it says:
> No registered snippets.

> Everything seems to be installed correctly and ruby-mode and rst-mode
> seem to work fine.  I'm using yasnippet-0.5.10

> Any ideas?

--
pluskid

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brett  
View profile  
 More options Jun 13 2009, 7:53 pm
From: Brett <brettat...@gmail.com>
Date: Sat, 13 Jun 2009 16:53:07 -0700 (PDT)
Local: Sat, Jun 13 2009 7:53 pm
Subject: Re: no registered snippets
I was using Dave Love's python.el from http://www.loveshack.ukfsn.org/emacs/
and even when I thought I had disabled it it was still in my load-path
and was getting loaded before the default python.el.

After realizing that snippets are loaded from the directory with the
same major-mode name then I created a link from python-mode to
python-2-mode and everything worked like a charm.

Thanks.

On Jun 4, 9:17 am, Zhang Chiyuan <plus...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »