(emacs) yasnippet and its update.



Emacs "yasnippet" minor mode is nice, providing shortcuts.

For example, in emacs-lisp-mode,
------------------------------------------------------------------------
defun<press tab here>

=>

(defun <cursor here> ()
  "DOCSTRING"
  (interactive)
  (let (var1)
    (setq var1 some)
    
    ))
------------------------------------------------------------------------
This is not best to me, but it can be easily changed.

Since sawfish-mode is a child mode of emacs-lisp-mode, all works
for sawfish-mode, too.

Currently, few snippets for elisp are included, but recently Xah Lee
has posted a number of them here:
http://groups.google.com/group/smart-snippet/browse_thread/thread/c8ed88941edb286c#
(He says it will be included in the next release of yasnippet.)

Regards,
Teika (Teika kazura)



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