branch: elpa/flx commit 47ef1bf377e598d6c057d6b2ca8e8677658b45e2 Author: Le Wang <le.w...@agworld.com.au> Commit: Le Wang <le.w...@agworld.com.au>
update license --- flx.el | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 65 insertions(+), 5 deletions(-) diff --git a/flx.el b/flx.el index 65d223dcd6..10a2ddc599 100644 --- a/flx.el +++ b/flx.el @@ -1,3 +1,62 @@ + + + +;;; flx.el --- fuzzy matching with good sorting + +;; this file is not part of Emacs + +;; Copyright (C) 2013 Le Wang +;; Author: Le Wang +;; Maintainer: Le Wang +;; Description: fuzzy matching with good sorting +;; Author: Le Wang +;; Maintainer: Le Wang + +;; Created: Wed Apr 17 01:01:41 2013 (+0800) +;; Version: 0.1 +;; Last-Updated: +;; By: +;; Update #: 1 +;; URL: +;; Keywords: +;; Compatibility: + +;;; Installation: + +;; +;; +;; + +;;; Commentary: + +;; +;; +;; + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; +;; 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 +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 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. +;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +;;; Code: + +(eval-when-compile (require 'cl)) + + ;;; credit note: Daniel Skarda ido-speed-hack for bitmap idea ;;; not necessary as we aren't using bitmap caching ;;; @@ -16,10 +75,6 @@ ;;; - -(eval-when-compile - (require 'cl)) - (defun flx-get-hash-for-string (str heatmap-func) "Return hash-table for string where keys are characters value is a sorted list of indexes for character occurrences." @@ -263,6 +318,11 @@ e.g. (\"aab\" \"ab\") returns (provide 'flx) -;;; macro expanded + + + + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;; flx.el ends here \ No newline at end of file