Posts

Showing posts from February 15, 2009

how to define menu and keymap in emacs

misc tidbits

post deleted.

Cindy's Torment; internet censorship

this page's content is removed due to possible incompatibilities with Google's AdSense. For the content, goto http://xahlee.org/p/cindys_torment_wikipedia.html

How To Define Templates In YASnippet

perm url http://xahlee.org/emacs/yasnippet_templates_howto.htmlHow To Define Templates In YASnippetXah Lee, 2009-02-18This page shows you how to define your own templates for emacs's YASnippet template system.YASnippet is a template system for emacs. It allows you to type a abbrevation and automatically expand the abbreviation into function templates. Bundled language templates includes: C, C++, C#, Perl, Python, Ruby, SQL, LaTeX, HTML, CSS and more. But you can define your own template set for your own language, or for any text that you need a template.You will need to have yasnippet installed. If you haven't already, see: http://code.google.com/p/yasnippet/. BasicsDir Structure By Emacs's ModesIn your yasnippet dir, you'll find a path like this: “~/Documents/emacs/yasnippet/yasnippet-0.5.9/snippets/text-mode”. All template definitions are inside this dir or subdir. In the text-mode dir, there are subdirs like: cc-mode, perl-mode, python-mode, html-mode, css-mode, et…

LSL mode for emacs; Architecture photo gallery

A new version of xlsl-mode. A emacs mode for editing Linden Scripting Language. (computing; Second Life)Update with new thumbnail index: Architectural Beauties. (photography; architecture)

The Metamorphosis of Prime Intellect

The Metamorphosis of Prime Intellect, (2002) by Roger Williams. (5.8 k words) A torture porn fantasy; a scenario of a omnipotent machine; a question of human animals as the process of pursuing desire. Annotated a short science fiction: The Metamorphosis of Prime Intellect.