Coder Social home page Coder Social logo

Comments (6)

joaotavora avatar joaotavora commented on May 20, 2024

Hi, thank you for reporting this bug. But if I remember correctly. This had been
fixed in version 0.5.2. Please download the latest version. :)

Google Code Info:
Author: [email protected]
Created On: 2008-04-23T01:53:25.000Z

from yasnippet.

joaotavora avatar joaotavora commented on May 20, 2024

I use the SVN-version and therefore mostly has the newest version. As I have now, and
there's still the problem!

Forgot to include my Emacs version before:
GNU Emacs 22.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.8)

Google Code Info:
Author: [email protected]
Created On: 2008-04-23T06:17:26.000Z

from yasnippet.

joaotavora avatar joaotavora commented on May 20, 2024

Hi, it shouldn't be that. If you are using the svn version. Maybe you need to
re-compile the bundle? or redo a byte-compilation if you use .elc file. And if you
still have the problem, please check the code you got, it should like this:

(defvar yas/buffer-local-condition
'(if (and (not (bobp))
(or (equal "font-lock-comment-face"
(get-char-property (1- (point))
'face))
(equal "font-lock-string-face"
(get-char-property (1- (point))
'face))))
'(require-snippet-condition . force-in-comment)
t)

Note in previous version it used "string=" instead of "equal" that caused the error.

Google Code Info:
Author: [email protected]
Created On: 2008-04-23T06:29:47.000Z

from yasnippet.

joaotavora avatar joaotavora commented on May 20, 2024

But even if I compile my lib shouldn't Emacs use the .el file if it's newer then the
.elc file?

Anyway, I'll try to recompile when I get home.

Google Code Info:
Author: [email protected]
Created On: 2008-04-23T07:47:30.000Z

from yasnippet.

joaotavora avatar joaotavora commented on May 20, 2024

I'm not sure for normal .el file. But at least for ~/.emacs, Emacs will use the
compiled file even if the .el file is newer than .elc file -- but a warning will be
reported.

Google Code Info:
Author: [email protected]
Created On: 2008-04-23T09:29:00.000Z

from yasnippet.

joaotavora avatar joaotavora commented on May 20, 2024

Works perfectly after compiling the lib!

Thanks! =)

Google Code Info:
Author: [email protected]
Created On: 2008-04-23T13:37:21.000Z

from yasnippet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.