unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: yasnippet and friends: usefull ?
@ 2009-04-28 22:25 Xavier Maillard
  2009-04-29  0:49 ` Leo
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Xavier Maillard @ 2009-04-28 22:25 UTC (permalink / raw)
  To: Leo; +Cc: help-gnu-emacs


   On 2009-04-28 07:34 +0100, Xavier Maillard wrote:
   > Hi,
   >
   > I was revamping my $TMP directory and found on old archive of
   > yasnippet. 
   >
   > Does anybody is really using it ? I mean do you find easy to TAB
   > everytime you are typing code ? How do you use it in real life ?
   > Don't you think abbrev-* is easier and less intrusive ?

   I use a modified snippet.el that integrates into abbrev seamlessly. I
   like it better than yasnippet.

Why ? Is it available somewhere ? How do you practically use it ?
Along my previous post, I decided to try yasnippet. It is nice
but you have to remember what is the "combo trigger" to use in
order to have it does something ;)

regards

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org




^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: yasnippet and friends: usefull ?
@ 2009-04-29 22:25 Xavier Maillard
  0 siblings, 0 replies; 16+ messages in thread
From: Xavier Maillard @ 2009-04-29 22:25 UTC (permalink / raw)
  To: thierry.volpiatto; +Cc: help-gnu-emacs


   Hi,
   NOTE:
   Instead of yasnippet, you can use also else-mode:

   http://www.emacswiki.org/emacs/ElseMode

   It's very well documented.

Tried it, abandonned. I am not sure I even understand how it
works. Templates are practically unreadable.

How do you use it exactly ? :D

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org




^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: yasnippet and friends: usefull ?
@ 2009-04-29 22:25 Xavier Maillard
  0 siblings, 0 replies; 16+ messages in thread
From: Xavier Maillard @ 2009-04-29 22:25 UTC (permalink / raw)
  To: Ian Eure; +Cc: help-gnu-emacs


   On Apr 27, 2009, at 11:34 PM, Xavier Maillard wrote:

   > Hi,
   >
   > I was revamping my $TMP directory and found on old archive of
   > yasnippet.
   >
   > Does anybody is really using it ? I mean do you find easy to TAB
   > everytime you are typing code ? How do you use it in real life ?
   > Don't you think abbrev-* is easier and less intrusive ?
   >
   Depends. For simple expansions, I prefer abbrev. Think: pub -> public,  
   pro -> protected, pri -> private, etc.

   For more complex templates, I use yasnippet. For example, new file  
   templates (where it's lisp evaluation is handy), class and function  
   templates with docblocks, etc. I use it to reduce the repetitious  
   parts of programming, and let me focus on getting things done.

Thank you for your feedback, it will help.

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org




^ permalink raw reply	[flat|nested] 16+ messages in thread
* yasnippet and friends: usefull ?
@ 2009-04-28  6:34 Xavier Maillard
  2009-04-28  8:05 ` Leo
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Xavier Maillard @ 2009-04-28  6:34 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I was revamping my $TMP directory and found on old archive of
yasnippet. 

Does anybody is really using it ? I mean do you find easy to TAB
everytime you are typing code ? How do you use it in real life ?
Don't you think abbrev-* is easier and less intrusive ?

[not a flame, just curious]

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org




^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-05-04  9:07 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-28 22:25 yasnippet and friends: usefull ? Xavier Maillard
2009-04-29  0:49 ` Leo
2009-04-29  5:57 ` thierry.volpiatto
     [not found] ` <mailman.6228.1240985098.31690.help-gnu-emacs@gnu.org>
2009-04-29 11:08   ` Richard Riley
2009-04-29 15:00     ` thierry.volpiatto
2009-05-02  6:18       ` thierry.volpiatto
     [not found]     ` <mailman.6255.1241017689.31690.help-gnu-emacs@gnu.org>
2009-04-29 16:23       ` Richard Riley
2009-04-29 22:13 ` Ian Eure
  -- strict thread matches above, loose matches on Subject: below --
2009-04-29 22:25 Xavier Maillard
2009-04-29 22:25 Xavier Maillard
2009-04-28  6:34 Xavier Maillard
2009-04-28  8:05 ` Leo
2009-04-28 17:37 ` Ian Eure
2009-04-29 18:07   ` Alberto Luaces
2009-04-29 17:33 ` Nikolaj Schumacher
2009-05-04  9:07 ` Mike Mattie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).