help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: yasnippet and friends: usefull ?


From: thierry . volpiatto
Subject: Re: yasnippet and friends: usefull ?
Date: Wed, 29 Apr 2009 17:00:50 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.92 (gnu/linux)

Richard Riley <rileyrgdev@googlemail.com> 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 <xma@gnu.org> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]