restored yasnippet

This commit is contained in:
Bozhidar Batsov 2012-02-17 22:12:32 +02:00
parent ac01f235cc
commit 103dbcd8d0
573 changed files with 71124 additions and 0 deletions
vendor/yasnippet/snippets/emacs-lisp-mode
.read_me.yas-parentsadd-hook.yasnippetand.yasnippetappend.yasnippetapply.yasnippetaref.yasnippetaset.yasnippetassq.yasnippetautoload.yasnippetbackward-char.yasnippetbeginning-of-line.yasnippetbounds-of-thing-at-point.yasnippetbuffer-file-name.yasnippetbuffer-modified-p.yasnippetbuffer-substring-no-properties.yasnippetbuffer-substring.yasnippetcar.yasnippetcdr.yasnippetconcat.yasnippetcond.yasnippetcondition-case.yasnippetcons.yasnippetconsp.yasnippetcopy-directory.yasnippetcopy-file.yasnippetcurrent-buffer.yasnippetcustom-autoload.yasnippetdefalias.yasnippetdefcustom.yasnippetdefine-key.yasnippetdefsubst.yasnippetdefun.yasnippetdefvar.yasnippetdelete-char.yasnippetdelete-directory.yasnippetdelete-file.yasnippetdelete-region.yasnippetdirectory-files.yasnippetdolist.yasnippetend-of-line.yasnippeteq.yasnippetequal.yasnippeterror.yasnippetexpand-file-name.yasnippetf.yasnippetfboundp.yasnippetfile-name-directory.yasnippetfile-name-extension.yasnippetfile-name-nondirectory.yasnippetfile-name-sans-extension.yasnippetfile-relative-name.yasnippetfind-file.yasnippetformat.yasnippetforward-char.yasnippetforward-line.yasnippetfuncall.yasnippetfunction.yasnippetget.yasnippetglobal-set-key.yasnippetgoto-char.yasnippetif.yasnippetinsert-file-contents.yasnippetinsert.yasnippetinteractive.yasnippetkbd.yasnippetkill-buffer.yasnippetlambda.yasnippetlength.yasnippetlet.yasnippetline-beginning-position.yasnippetline-end-position.yasnippetlist.yasnippetlooking-at.yasnippetmake-directory.yasnippetmake-local-variable.yasnippetmapc.yasnippetmapcar.yasnippetmatch-beginning.yasnippetmatch-end.yasnippetmatch-string.yasnippetmemq.yasnippetmessage.yasnippetnot.yasnippetnth.yasnippetnull.yasnippetnumber-to-string.yasnippetor.yasnippetpoint-max.yasnippetpoint-min.yasnippetpoint.yasnippetprinc.yasnippetprint.yasnippetprogn.yasnippetpush.yasnippetput.yasnippetre-search-backward.yasnippetre-search-forward.yasnippetregion-active-p.yasnippetregion-beginning.yasnippet

View file

@ -0,0 +1,7 @@
-*- coding: utf-8 -*-
Originally started by Xah Lee (xahlee.org) on 2009-02-22
Released under GPL 3.
Feel free to add missing ones or modify existing ones to improve.
Those starting with “x-” are supposed to be idiom templates. Not sure it's very useful. They might start with “i-” or "id-" in the future.

View file

@ -0,0 +1 @@
text-mode

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: add-hook
# key: add-hook
# key: ah
# --
(add-hook HOOK$0 FUNCTION)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: and
# key: and
# key: a
# --
(and $0)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: append
# key: append
# --
(append $0 )

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: apply
# key: apply
# --
(apply $0 )

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: aref
# key: aref
# --
(aref ARRAY$0 INDEX)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: aset
# key: aset
# --
(aset ARRAY$0 IDX NEWELT)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: assq
# key: assq
# --
(assq KEY$0 LIST)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: autoload
# key: autoload
# --
(autoload 'FUNCNAME$0 "FILENAME" &optional "DOCSTRING" INTERACTIVE TYPE)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: backward-char
# key: backward-char
# key: bc
# --
(backward-char $0)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: beginning-of-line
# key: beginning-of-line
# key: bol
# --
(beginning-of-line)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: bounds-of-thing-at-point
# key: bounds-of-thing-at-point
# key: botap
# --
(bounds-of-thing-at-point '$0) ; symbol, list, sexp, defun, filename, url, email, word, sentence, whitespace, line, page ...

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: buffer-file-name
# key: buffer-file-name
# key: bfn
# --
(buffer-file-name)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: buffer-modified-p
# key: buffer-modified-p
# key: bmp
# --
(buffer-modified-p $0)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: buffer-substring-no-properties
# key: buffer-substring-no-properties
# key: bsnp
# --
(buffer-substring-no-properties START$0 END)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: buffer-substring
# key: buffer-substring
# key: bs
# --
(buffer-substring START$0 END)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: car
# key: car
# --
(car $0)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: cdr
# key: cdr
# --
(cdr $0)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: concat
# key: concat
# --
(concat $0)

View file

@ -0,0 +1,8 @@
# contributor: Xah Lee (XahLee.org)
# name: cond
# key: cond
# --
(cond
(CONDITION$0 BODY)
(CONDITION BODY)
)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: condition-case
# key: condition-case
# key: cc
# --
(condition-case $0 )

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: cons
# key: cons
# --
(cons $0)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: consp
# key: consp
# --
(consp $0 )

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: copy-directory
# key: copy-directory
# key: cd
# --
(copy-directory $0 NEWNAME &optional KEEP-TIME PARENTS)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: copy-file
# key: copy-file
# key: cf
# --
(copy-file FILE$0 NEWNAME &optional OK-IF-ALREADY-EXISTS KEEP-TIME PRESERVE-UID-GID)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: current-buffer
# key: current-buffer
# key: cb
# --
(current-buffer)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: custom-autoload
# key: custom-autoload
# key: ca
# --
(custom-autoload$0 SYMBOL LOAD &optional NOSET)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: defalias
# key: defalias
# --
(defalias 'SYMBOL$0 'DEFINITION &optional DOCSTRING)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: defcustom
# key: defcustom
# --
(defcustom $0 VALUE "DOC" &optional ARGS)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: define-key
# key: define-key
# key: dk
# --
(define-key KEYMAPNAME$0 (kbd "M-b") 'FUNCNAME)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: defsubst
# key: defsubst
# --
(defsubst $0 )

View file

@ -0,0 +1,12 @@
# contributor: Xah Lee (XahLee.org)
# name: defun
# key: defun
# key: d
# --
(defun $1 ()
"DOCSTRING"
(interactive)
(let (var1)
(setq var1 some)
$0
))

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: defvar
# key: defvar
# --
(defvar $0 &optional INITVALUE "DOCSTRING")

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: delete-char
# key: delete-char
# key: dc
# --
(delete-char $0)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: delete-directory
# key: delete-directory
# key: dd
# --
(delete-directory $0 &optional RECURSIVE)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: delete-file
# key: delete-file
# key: df
# --
(delete-file $0)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: delete-region
# key: delete-region
# key: dr
# --
(delete-region $0 )

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: directory-files
# key: directory-files
# key: df
# --
(directory-files $0 &optional FULL MATCH NOSORT)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: dolist
# key: dolist
# --
(dolist $0 )

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: end-of-line
# key: end-of-line
# key: eol
# --
(end-of-line)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: eq
# key: eq
# --
(eq $0)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: equal
# key: equal
# --
(equal $0)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: error
# key: error
# --
(error "$0" &optional ARGS)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: expand-file-name
# key: expand-file-name
# key: efn
# --
(expand-file-name $0 )

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: format
# key: format
# --
(format "$0" &optional OBJECTS)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: fboundp
# key: fboundp
# --
(fboundp '$0 )

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: file-name-directory
# key: file-name-directory
# key: fnd
# --
(file-name-directory $0)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: file-name-extension
# key: file-name-extension
# key: fne
# --
(file-name-extension $0 &optional PERIOD)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: file-name-nondirectory
# key: file-name-nondirectory
# key: fnn
# --
(file-name-nondirectory $0 )

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: file-name-sans-extension
# key: file-name-sans-extension
# key: fnse
# --
(file-name-sans-extension $0)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: file-relative-name
# key: file-relative-name
# key: frn
# --
(file-relative-name $0 )

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: find-file
# key: find-file
# key: ff
# --
(find-file $0 )

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: format
# key: format
# --
(format "$0" &optional OBJECTS)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: forward-char
# key: forward-char
# key: fc
# --
(forward-char $0)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: forward-line
# key: forward-line
# key: fl
# --
(forward-line $0 )

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: funcall
# key: funcall
# --
(funcall $0)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: function
# key: function
# --
(function $0 )

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: get
# key: get
# --
(get SYMBOL$0 PROPNAME)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: global-set-key
# key: global-set-key
# key: gsk
# --
(global-set-key (kbd "C-$0") 'COMMAND)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: goto-char
# key: goto-char
# key: gc
# --
(goto-char $0)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: if
# key: if
# --
(if $0)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: insert-file-contents
# key: insert-file-contents
# key: ifc
# --
(insert-file-contents $0 &optional VISIT BEG END REPLACE)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: insert
# key: insert
# key: i
# --
(insert $0)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: interactive
# key: interactive
# --
(interactive)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: kbd
# key: kbd
# --
(kbd "$0")

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: kill-buffer
# key: kill-buffer
# key: kb
# --
(kill-buffer $0)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: lambda
# key: lambda
# --
(lambda ($0) "DOCSTRING" (interactive) BODY)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: length
# key: length
# --
(length $0)

View file

@ -0,0 +1,8 @@
# contributor: Xah Lee (XahLee.org)
# name: let
# key: let
# key: l
# --
(let ($1 )
$0
)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: line-beginning-position
# key: line-beginning-position
# key: lbp
# --
(line-beginning-position)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: line-end-position
# key: line-end-position
# key: lep
# --
(line-end-position)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: list
# key: list
# --
(list $0)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: looking-at
# key: looking-at
# key: la
# --
(looking-at $0)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: make-directory
# key: make-directory
# key: md
# --
(make-directory $0 &optional PARENTS)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: make-local-variable
# key: make-local-variable
# key: mlv
# --
(make-local-variable $0)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: mapc
# key: mapc
# --
(mapc '$0 SEQUENCE)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: mapcar
# key: mapcar
# --
(mapcar $0 )

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: match-beginning
# key: match-beginning
# key: mb
# --
(match-beginning N$0)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: match-end
# key: match-end
# key: me
# --
(match-end N$0)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: match-string
# key: match-string
# key: ms
# --
(match-string $0 )

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: memq
# key: memq
# --
(memq ELT$0 LIST)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: message
# key: message
# key: m
# --
(message "FORMATSTRING$0" &optional ARGS)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: not
# key: not
# key: n
# --
(not $0 )

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: nth
# key: nth
# --
(nth N$0 LIST)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: null
# key: null
# --
(null $0)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: number-to-string
# key: number-to-string
# key: nts
# --
(number-to-string $0)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: or
# key: or
# key: o
# --
(or $0 )

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: point-max
# key: point-max
# --
(point-max)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: point-min
# key: point-min
# key: pm
# --
(point-min)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: point
# key: point
# key: p
# --
(point)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: princ
# key: princ
# --
(princ $0)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: print
# key: print
# --
(print $0)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: progn
# key: progn
# --
(progn $0)

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: push
# key: push
# --
(push $0 )

View file

@ -0,0 +1,5 @@
# contributor: Xah Lee (XahLee.org)
# name: put
# key: put
# --
(put $0 PROPNAME VALUE)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: re-search-backward
# key: re-search-backward
# key: rsb
# --
(re-search-backward REGEXP$0 &optional BOUND NOERROR COUNT)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: re-search-forward
# key: re-search-forward
# key: rsf
# --
(re-search-forward REGEXP$0 &optional BOUND NOERROR COUNT)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: region-active-p
# key: region-active-p
# key: rap
# --
(region-active-p)

View file

@ -0,0 +1,6 @@
# contributor: Xah Lee (XahLee.org)
# name: region-beginning
# key: region-beginning
# key: rb
# --
(region-beginning)

Some files were not shown because too many files have changed in this diff Show more