Issue 97 in yasnippet: yasnippet and flyspell

0 views
Skip to first unread message

codesite...@google.com

unread,
Sep 5, 2009, 10:38:06 AM9/5/09
to smart-...@googlegroups.com
Updates:
Status: Knownissue
Labels: -Priority-Medium Priority-Low

Comment #1 on issue 97 by joaotavora: yasnippet and flyspell
http://code.google.com/p/yasnippet/issues/detail?id=97

A workaround is to inhibit flyspell overlays while the snippet is active:

(add-hook 'flyspell-incorrect-hook
#'(lambda (dummy1 dummy2 dymmy3)
(and yas/active-field-overlay
(overlay-buffer yas/active-field-overlay))))

This is apparently related to overlay priorities. For some reason, the
keymap property of flyspell's overlays always takes priority over
the same property in yasnippet's overlays, even if one sets the latter's
priority property to something big. If you know emacs-lisp and can
solve this problem, drop a line in the discussion group.

This might also be a bug in Emacs, but I haven't investigated.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Sep 5, 2009, 10:42:24 AM9/5/09
to smart-...@googlegroups.com
Updates:
Status: KnownIssue

Comment #2 on issue 97 by joaotavora: yasnippet and flyspell
http://code.google.com/p/yasnippet/issues/detail?id=97

(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages