From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: thierry.volpiatto@gmail.com Newsgroups: gmane.emacs.help Subject: Re: yasnippet and friends: usefull ? Date: Wed, 29 Apr 2009 17:00:50 +0200 Message-ID: <87tz47sdwd.fsf@tux.homenetwork> 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 1241017718 30506 80.91.229.12 (29 Apr 2009 15:08:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Apr 2009 15:08:38 +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 17:08:29 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 1LzBOd-00075F-T8 for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Apr 2009 17:08:28 +0200 Original-Received: from localhost ([127.0.0.1]:44715 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzBOd-0005Zn-Dg for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Apr 2009 11:08:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LzBOI-0005X1-T1 for help-gnu-emacs@gnu.org; Wed, 29 Apr 2009 11:08:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LzBOD-0005VF-J4 for help-gnu-emacs@gnu.org; Wed, 29 Apr 2009 11:08:05 -0400 Original-Received: from [199.232.76.173] (port=59792 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzBOD-0005VC-Ds for help-gnu-emacs@gnu.org; Wed, 29 Apr 2009 11:08:01 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:50793 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LzBOC-0004uW-9r for help-gnu-emacs@gnu.org; Wed, 29 Apr 2009 11:08:00 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LzBO8-00039d-0y for help-gnu-emacs@gnu.org; Wed, 29 Apr 2009 15:07:56 +0000 Original-Received: from 138.211.85-79.rev.gaoland.net ([79.85.211.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Apr 2009 15:07:56 +0000 Original-Received: from thierry.volpiatto by 138.211.85-79.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Apr 2009 15:07:56 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 78 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 138.211.85-79.rev.gaoland.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUHAwNfJRBVTESlTym0 RB/OwKFivhZqAAAACXBIWXMAAAsSAAALEgHS3X78AAAACXZwQWcAAAAwAAAAMADO7oxXAAABeElE QVQ4y3VTW47CMAyMwwUyTfYfUvG/wfC/ET4B0t7/KmsHurRgXFVVPRm/xglhsRj2+npW98G3+Amp tS5BXxl3SqzcXGRuEyf7n5lPA9jXetNPRhE7EJkzfz8YWnIgBSwW95TK4H79/t4GINKNADWj4PgA DiJX/ZxFDzDXeb4oYMw7kNUvyMzcaj3ioICG4hCKEShkPpwQ49Q05nnkGAQLDFDdExjm0qpowBYA Wi61bDlFU1GW0WbY2dSJYX5ZD2S0AiZL+rPyE19TpMzP2IvNWly+NkuWNgD4pO2oL73IQXoSyVX2 NHna7tgadWRXoCdvf2guqEcvGHqZwE520iRD0/QCYiiTE+U21w1Qxvg6iSp9fbIiDCnSAelDkCVF Vn+HekqXzRybwJ40xF4DMRG6SWGK9G1lYzHSxLYEm05GWbpJCB6A9tb9A3BGn2XdwJbS/WuInj74 4QNF8sVFdP3vl+5tgYp4Ev7fyrfFMkXgElDgV4uV/w8TWEeLCIGJ/AAAACV0RVh0Y3JlYXRlLWRh dGUAMjAwOC0wNS0zMVQyMDoxNDoyMiswMDowMAS7YjIAAAARdEVYdGpwZWc6Y29sb3JzcGFjZQAy LHVVnwAAACB0RVh0anBlZzpzYW1wbGluZy1mYWN0b3IAMngyLDF4MSwxeDFJ+qa0AAAAJXRFWHRt b2RpZnktZGF0ZQAyMDA3LTEwLTI4VDE2OjA4OjQ4KzAwOjAw44nspgAAAABJRU5ErkJggg== User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.92 (gnu/linux) Cancel-Lock: sha1:zuvfD2WeTJ41946ipYZ1dofVLXk= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:64102 Archived-At: 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") >> >> 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 -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France