Re: How to enable srecode/fields

"Eric M. Ludlam" <[email protected]>
Newsgroups gmane.emacs.cedet
Message-ID <[email protected]>
On 06/06/2014 01:54 PM, Tu Do wrote:
> Hi Eric,
>
> It seems like Srecode allows field completion similar to yasnippet,
> since I found out the fields.el file in cedet/srecode/. However, I don't
> know how to activate it. Currently, I put it like this:
>
> (require 'srecode/fields)

Hi,

Customize srecode-insert-ask-variable-method and set it to 'field.

It is not on by default as there are a few little bits that can annoy. 
A key one was related to undo/redo that I didn't figure out.  There are 
probably a couple others.

The main use case of just typing what you want and TABing to the next 
field works pretty well though.

Eric

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.