Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7771423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:38:57+00:00 2026-06-01T16:38:57+00:00

I setup python support for emacs using rope and yasnippet by following the tutorial

  • 0

I setup python support for emacs using rope and yasnippet by following the tutorial given at http://www.enigmacurry.com/2009/01/21/autocompleteel-python-code-completion-in-emacs/#disqus_thread.
I declared a string variable a_str="Hello". Now when i type a_str. and press tab, i get the following message in the minibuffer

Symbol's function definition is void: yas/snippet-table

I was getting a drop-down earlier but suddenly this has stopped working. Any reason why this could be happening ?

Also,i would like to know the meaning of the line

(setq yas/trigger-key (kbd "C-c <kp-multiply>"))

Please Help
Thank You

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T16:38:58+00:00Added an answer on June 1, 2026 at 4:38 pm
    (setq yas/trigger-key (kbd "C-c <kp-multiply>"))
    

    means: generate the internal representation for the key binding described by the string C-c <kp-multiply>, and assign that value to the variable yas/trigger-key.

    (<kp-multiply> would generally be the * key on the keypad.)

    You could then subsequently use yas/trigger-key in key-bindings. e.g.:

    (local-set-key yas/trigger-key 'some-function)
    

    As for your main error, either something is not being loaded correctly (such that yas/snippet-table does exist in code, but isn’t being loaded before it’s used), or else there is an incompatibility between Yasnippet and another library which is trying to use it (presumably autocomplete in this case).

    I see at the bottom of the comments thread you linked to that there was discussion at the time about a similar error being caused by changes in autocomplete 0.2 over 0.1. I also see that the tutorial author links to his git repository for his own Emacs config, and is still using version 0.1 of autocomplete there.

    So I’d suggest checking your versions of each library first. The tutorial uses:

    • pymacs 0.23
    • yasnippet 0.5.9
    • autocomplete 0.1

    The Rope version is unclear, and described only as “the very latest development version (as of December ’08)”

    Alternatively, you might prefer to grab the versions directly from that git repository (especially as the version of yasnippet in the repo says that it’s version 0.2.2, not 0.5.9).

    If you get it working with those, you could then try upgrading things (and perhaps adding a comment to that thread listing a set of compatible versions, if you come up with a working combination which is more recent).

    Failing that, here’s another git repository which might be useful:

    https://github.com/gabrielelanaro/emacs-for-python/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a setup where I'm serving simple python pages using the mod_python publisher.
I run sudo python setup.py install to install the Mongrel2 Python support, but it
I ran python setup.py install in a Windows XP console, and it reported as
The install instructions are: $ python setup.py build $ sudo python setup.py install #
This is a previous post detailing a CI setup for Python. The asker and
Is there a way that when a user types python setup.py install to install
I'm uploadig my package to PyPi with this command: python setup.py sdist upload This
I am aware of how to setup autocompletion of python objects in the python
I'm having a hard time with the setup statement in Python's timeit.Timer(stmt, setup_stmt). I
Every Python developer is familiar with easy_install and setup tools. If I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.