[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/xeft dd14e69939 33/55: * README.md: Remove text about t
From: |
ELPA Syncer |
Subject: |
[elpa] externals/xeft dd14e69939 33/55: * README.md: Remove text about the dynamic mocule. |
Date: |
Fri, 13 Jan 2023 23:58:38 -0500 (EST) |
branch: externals/xeft
commit dd14e6993997b5322cbe19864147553b3bc3a9b6
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
* README.md: Remove text about the dynamic mocule.
---
README.md | 53 ++++-------------------------------------------------
1 file changed, 4 insertions(+), 49 deletions(-)
diff --git a/README.md b/README.md
index 36e16358b5..3cf2e067a5 100644
--- a/README.md
+++ b/README.md
@@ -1,18 +1,5 @@
![Demo gif](./demo.gif)
-# What is Xeft
-
-1. A dynamic module that exposes a very basic indexing feature to
- Emacs Lisp, that lets you index and search a text files very fast.
-
-```emacs-lisp
-;; Querying my ~40MB worth of notes.
-(benchmark-run 100 (xeft-query-term "common lisp" xeft-database 0 10))
-;;=> (0.031512 0 0.0)
-```
-
-2. A note taking interface like Deft, built on top of the dynamic module.
-
# Usage
To use Xeft the note searching interface, install it and type `M-x
@@ -31,7 +18,7 @@ Directory `xeft-directory` stores note files, directory
with `xeft-ignore-extension`.
By default, Xeft only searches for first level files in
-`xeft-directory`, to make it search recursively, set `xeft-recursiv`
+`xeft-directory`, to make it search recursively, set `xeft-recursive`
to t.
See the “xeft” customize group for more custom options and faces.
@@ -55,46 +42,14 @@ Here `/opt/local` is the default prefix of macports, which
is what I
used to install Xapian. Homebrew and Linux users probably can leave it
empty.
-# Beware
-
-Since its a dynamic module, if Xeft goes wrong, it will crash Emacs.
-
# notdeft
-Many thanks to the author of notdeft. I don’t really know C++ or
+I owe many thanks to the author of notdeft. I don’t really know C++ or
Xapian, without reading his code I wouldn’t be able to write Xeft.
Also, if you want a more powerful searching experience, you will be
happier using notdeft instead.
-# How to use the dynamic module
-
-Because it’s so basic, the dynamic module is very easy to use and
-also very flexible. To index files, use
-
-```emacs-lisp
-(dolist (file (directory-files "my-note-dir"))
- (xeft-reindex-file file dbpath))
-```
-
-This indexes each file in `my-note-dir`, saving them to the database
-at `dbpath`. If the database doesn’t exist yet, it is created.
-
-To search for a term, use
-
-```emacs-lisp
-(xeft-query-term "search term" dbpath 0 10)
-```
-
-This returns a list of paths of the files that contains `search term`,
-ranked by relevance. The `0` and `10` means “return 10 results
-starting from the 0th place”, it is essentially used for paging. If
-you want all the result, use `0` and `999999`.
-
-When a file is modified, call `xeft-reindex-file` again on that file.
-If a file is removed, you don’t need to remove it from the database,
-it will be automatically removed. If the file has been indexed and
-haven’t been modified, `xeft-reindex-file` is (kind of) a no-op (i.e.
-fast).
+# Xapian dynamic module
-Both file path and database path must be absolute path.
+I wrote a xapian dynamic module that you can use too. Check it out at
<https://github.com/casouri/xapian-lite>.
- [elpa] externals/xeft 71febb833f 26/55: Improve latency, (continued)
- [elpa] externals/xeft 71febb833f 26/55: Improve latency, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 1c1b449d21 25/55: Add semicolon after macro, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 8b8c4bd37a 27/55: Improve README, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 2b515faf2e 29/55: * xeft-module.cc (copy_string): Fix free statement;, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft b980aac44f 45/55: Pull xapian-lite from GitHub, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft ea43335993 35/55: Extend handled query syntax and document it, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft e694278a16 53/55: Improve auto-compile/download commands, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft cb4b595b6a 50/55: Update gitignore, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 3a60ed7639 36/55: Provide option to download dynamic module automatically, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 39430a861a 47/55: Update to v3.0, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft dd14e69939 33/55: * README.md: Remove text about the dynamic mocule.,
ELPA Syncer <=
- [elpa] externals/xeft f05eca90f6 46/55: * Makefile (CXXFLAGS): Remove -stdlib=libc++, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 270eeb1084 44/55: * xeft.el: Add version for package-vc-install., ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 0f56356d24 48/55: Switch to sr.ht, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft fa63432715 11/55: * Makefile (xeft-module.so): Fix linking flags, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 26389942e9 37/55: Minor change, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 6efff4f20d 12/55: Add conexcept qualifier, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 5c8adb7c51 28/55: * Makefile: Fix PREFIX., ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 78bf82b507 31/55: * xeft.el (xeft-refresh): Remove workaround for emacs-rime., ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 6d27d1a7ab 32/55: Replace xeft-module with xapian-lite, ELPA Syncer, 2023/01/13
- [elpa] externals/xeft 4f16722a47 38/55: Handle database errors, ELPA Syncer, 2023/01/13