1. Yaron Minsky
  2. js-elisp


Dmitry Astapov  committed bc4bbab

Adding contrib/anything and Jane.anything micro-feature

  • Participants
  • Parent commits c81224c
  • Branches default

Comments (0)

Files changed (25)

File elisp/contrib/anything/.gitignore

View file

File elisp/contrib/anything/Makefile

View file
+# makefile for anything.
+# Author: Michael Markert.
+# Copyright (C) 2011~2012, Michael Markert, all rights reserved.
+## This file is NOT part of GNU Emacs
+## License
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 3, or (at your option)
+## any later version.
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## GNU General Public License for more details.
+## You should have received a copy of the GNU General Public License
+## along with this program; see the file COPYING.  If not, write to
+## the Free Software Foundation, Inc., 51 Franklin Street, Fifth
+## Floor, Boston, MA 02110-1301, USA.
+# emacs invocation
+EMACS		:= emacs -Q -batch
+# additional emacs loadpath
+# files to compile
+EL			:= $(wildcard anything*.el)
+# compiled files
+ELC			:= $(EL:.el=.elc)
+.PHONY: clean batch-compile
+all: clean batch-compile
+$(ELC): %.elc: %.el
+	$(EMACS) $(LOADPATH) -f batch-byte-compile $<
+# compile needed files
+compile: $(ELC)
+# compile all files at once
+	$(EMACS) $(LOADPATH) -f batch-byte-compile $(EL)
+# remove all generated files
+	rm -f $(ELC)

File elisp/contrib/anything/README

View file
+* To install anything:
+A) The easiest way:
+  1) Put the anything directory in load-path.
+  2) Run make from this directory.
+  3) Add to .emacs.el:
+     (add-to-list 'load-path "/path/to/anything/directory")
+     (require 'anything-config)
+B) By copying files from anything directory
+  1) Put following files somewhere in your load-path:
+     - anything.el
+     - anything-config.el
+     - anything-match-plugin.el
+  2) Byte-compile these files
+  3) Add this code to .emacs.el:
+     (require 'anything-config)
+* NOTE to Distribution maintainers:(Ubuntu etc...)
+Use only the files mentioned above in 1) for your packages, other files
+contained in contrib and extensions directory contain deprecated, unmaintained or
+incompatible code or files that need dependencies not provided here.
+Most of the features provided in these files are present in anything-config.el.
+* NOTE to install optional deprecated library ../extensions/anything-complete.el
+Additionaly, if you want to install extensions/anything-complete.el, 
+anything-obsolete.el is needed.
+So don't forget to add to your load-path the extensions directory. 
+You may want also to add anything-show-completion.el to your load-path.
+These libraries will be required by anything-complete.el.
+WARNING: You will find in anything-complete.el deprecated code that may clash with
+some features of anything-config.el, so use it with care.