From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: yasnippet and friends: usefull ? Date: Wed, 29 Apr 2009 18:23:47 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: References: <200904282225.n3SMP36j017386@zogzog.maillard.mobi> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1241023252 26210 80.91.229.12 (29 Apr 2009 16:40:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Apr 2009 16:40:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 29 18:40:42 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LzCpt-0005B6-JF for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Apr 2009 18:40:41 +0200 Original-Received: from localhost ([127.0.0.1]:33131 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzCps-0002gO-Kr for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Apr 2009 12:40:40 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!feeder.news-service.com!feeder.motzarella.org!news.motzarella.org!motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 84 Original-X-Trace: news.eternal-september.org U2FsdGVkX19dP2DaCjmf4Ln+uHw9TfOzpl1LJS00hQ+J+9QPKBdpQtmX98N3e7Q9jVcKBfHN6aGZzRuedilAm4pA8kYYrpXJJlqXW59MtEALQ9PAtq80LEfP84RoE+ppbLFPeXrOPUXi9csXceb/ow== Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Wed, 29 Apr 2009 16:23:48 +0000 (UTC) X-Auth-Sender: U2FsdGVkX18wPTg7WWk9BOVaj6yIEoAdvwEAsao+mMVdJcoWWf4HkQ== Cancel-Lock: sha1:ioRRFptNnLuaT95Pwcb7dIH0Z2g= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:168830 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64103 Archived-At: thierry.volpiatto@gmail.com writes: > Richard Riley writes: > >> thierry.volpiatto@gmail.com writes: >> >>> Hi, >>> NOTE: >>> Instead of yasnippet, you can use also else-mode: >>> >>> http://www.emacswiki.org/emacs/ElseMode >>> >>> It's very well documented. >>> >>> I prefer it than yasnippet. >> >> Just as an aside noticing it's not hosted on the wiki (it would be nice >> if it was), Andy Stewart wrote a great utility suite for accessing >> emacs wiki code : see >> >> http://www.emacswiki.org/emacs/AutoInstall >> >> ,---- >> | 1. Find the Elisp file. Locate it on the web, either from a private site, or from a code repository such as the EmacsWiki ElispArea or gist. >> | 2. Asynchronous parallel download the file. >> | 3. Batch install files Some extension (such as Icicles) have many packages need install, and install those packages one by one is painful. >> | 4. View differences with the old version. Sometimes, you’ll want to view the differences between the new and old versions before you update. >> | 5. Save the Elisp file. You might keep your elisp files organized by categories, but this causes its own problems: if you download a new elisp file, you need to make sure you’re deleting the old one, a hassle if the file is located deep in a storage directory. >> | 6. Install the Elisp file. >> | 7. Keep the Elisp file updated. >> `---- >> >> It has saved me a lot of time - especially with the "update" feature. > > Yes it's nice, i use it also. > >> (also, the instructions for "else" talk about installing help files into >> ~/info which is wrong for most of us). > > For me it's in ~/elisp/info (but it can be anywhere else), > you have just to write this line > > ,---- > | * ELSE: (else). Emacs Language Sensitive Editor mode. > `---- > > in your dir file. > > and also in .emacs: > > (add-to-list 'Info-default-directory-list "/home/you/elisp/info") Yes, which is why the instructions are, I think, wrong. I didn't see that line. Mind you I constantly prove my ineptitude with info files. In Debian there are dir files all over the shop and invariably make files stick the info file in the wrong place.. > >>> >>> Xavier Maillard writes: >>> >>>> 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 --