all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bad interaction between yasnippet and org-mode
@ 2015-06-09 12:44 Mark Edgington
  0 siblings, 0 replies; only message in thread
From: Mark Edgington @ 2015-06-09 12:44 UTC (permalink / raw
  To: emacs-orgmode

I have a yas snippet that looks like the following:

*  $1                   :sometag:
$0

When I try to expand this snippet (on an empty line) in an org-mode
buffer, there seems to be a bad interaction happening between org-mode
and yasnippet, such that when entering in text at the $1 location,
typing something like "abc" results in "a b c " being inserted (spaces
get interspersed).

This behavior does not happen if there is no tag at the end of the
headline, or if the $1 is replaced with $0 (so yas mode is exited
after expanding the snippet).

I'm using yas 0.8.0beta (latest git), and Org-mode 8.3beta
(release_8.3beta-1206-g2f0bcc)

Is there a way to work around or fix this?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-09 12:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-09 12:44 bad interaction between yasnippet and org-mode Mark Edgington

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.