all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Alternative Triggering of YAsnippet Expansions
@ 2008-09-22 10:44 Nordlöw
  0 siblings, 0 replies; only message in thread
From: Nordlöw @ 2008-09-22 10:44 UTC (permalink / raw)
  To: help-gnu-emacs

I prefer to have my dabbrev-expand functions placed before yas/try-
expand() in hippie-expand-try-functions-list. This makes hippie-
expand() steal the expansion from yas/try-expand() and instead expand
if/for/while/... as a symbol. This because my buffers often contain
many symbols beginning with the C keywords if, for, while, else, etc..

But for the other cases where I really want the expansion of C-
keywords if/for/while/... how do I make YAsnippet expansion trigger on
keyword + whitespace + '(' instead? In this way I would get best of
both worlds; both dabbrev expand and yas/expand() the way I would like
it to work.

Thanks in advance,
Nordlöw


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

only message in thread, other threads:[~2008-09-22 10:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-22 10:44 Alternative Triggering of YAsnippet Expansions Nordlöw

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.