A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/mrkkrp/common-lisp-snippets below:

mrkkrp/common-lisp-snippets: Yasnippets for Common Lisp

Yasnippets for Common Lisp

This is a collection of Yasnippets for Common Lisp. It includes snippets for top-level forms and (as a bonus) headers for popular free-software licenses: GNU GPL and MIT License.

To use these snippets you need to install the Yasnippet package. Once you have Yasnippet installed, place contents of this repository on your load path, so Emacs can see it and add the following to your configuration file:

(require 'common-lisp-snippets)

It's now available via MELPA: M-x package-install RET common-lisp-snippets RET—and you are done!

To insert a snippet, type its name and press ↹ Tab or C-i, for example:

defsystem
⇒
(asdf:defsystem :system-name
  :version      "0.1.0"
  :description  "description"
  :author       "user-full-name <user-mail-address>"
  :serial       t
  :license      "GNU GPL, version 3"
  :components   ((:file "file.lisp"))
  :depends-on   (#:alexandria))

…you can move through the fields pressing ↹ Tab and edit or delete them. Some fields, like :author try to guess their values.

As a special bonus, there are snippets to insert headers of files that contain information about the software license (gnugpl and mitlic), they are smart too.

There are some stylistic conventions:

Copyright © 2015–2017 Mark Karpov

Distributed under GNU GPL, version 3.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4