Comments (6)
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.
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.
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.
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.
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.
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)
- please tag new release for Emacs 29 compat (affects MELPA stable and others) HOT 7
- Tests failing under Emacs 29+ HOT 13
- unwanted prompt when pressing TAB HOT 1
- self-defined function `expand-from-key-p`(which check current expanding come from key or binding) not work anymore after update to newest master. HOT 3
- update latex snippets for use with text selection
- Documentation webage 404s HOT 1
- yas--all-parents can fail to find all parents if called before snippet directory is loaded HOT 5
- Some functions don't work in yasnippet HOT 3
- Multi-line embedded lisp-code HOT 7
- Template variables do not work in template lines starting with # HOT 3
- delete-numberless-inner-snippet-issue-562 test failure (non-deterministic) HOT 6
- Error in condition evaluation: Symbol’s function definition is void: js2-node-type HOT 3
- elpy-snippet-init-assignments - "Symbol’s value as variable is void: start-point" HOT 1
- Suggestion: not preceded by space HOT 4
- special character
- elisp evaluation move cursor on new line
- elisp evaluation move cursor on new line in snippet body
- Suggestion for a repeat snippet feature. HOT 8
- Case sensitive major modes? HOT 1
- [FR/Q] How do I comment a line of the snippet from being included in the snippet? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yasnippet.