aboutsummaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-09-19 09:57:06 +1000
committerYuchen Pei <hi@ypei.me>2022-09-19 09:57:06 +1000
commitbbc38aad99945bf5ec9acaa163c6149b4443a412 (patch)
tree9844dfb6e8578207dffbaff72d67f75ec38d4419 /README.org
first commit, moving out of hcel.
Diffstat (limited to 'README.org')
-rw-r--r--README.org42
1 files changed, 42 insertions, 0 deletions
diff --git a/README.org b/README.org
new file mode 100644
index 0000000..290455e
--- /dev/null
+++ b/README.org
@@ -0,0 +1,42 @@
+#+title: hc.el
+
+hc.el is the emacs client for hcel.
+
+* Install
+
+Clone this repo, and add load path (assuming you clone to ~~/.emacs.d~):
+
+#+begin_src sh
+cd ~/.emacs.d
+git clone https://g.ypei.me/hc.el.git
+#+end_src
+
+#+begin_src elisp
+(add-to-list 'load-path "~/.emacs.d/hc.el")
+#+end_src
+
+You'll also need an hcel server. To host one yourself, clone the [[https://g.ypei.me/hcel.git][repo]]
+and follow the instructions there.
+
+Once you have a server set up (say at ~localhost:8080~) and serving
+indexed packages, do the following and you are all set.
+
+#+begin_src elisp
+(require 'hc)
+(setq hcel-endpoint "localhost:8080")
+#+end_src
+
+* Use
+
+The main entry points are two commands: ~hcel~, which opens up an
+hcel-outline mode buffer, which you can use to browse all packages,
+modules and identifiers in outline mode, and open any module source or
+jump to the definition of any identifier you like; ~hcel-package~
+prompts you for a package id, followed by a module path, to open the
+module source. If you want to search for an identifier, the command
+~hcel-global-ids~ is for you.
+
+* Contact and Copyright
+
+~hc.el~ is covered by [[https://www.gnu.org/licenses/agpl-3.0.en.html][GNU AGPLv3+]]. You may find the license text in a
+file named COPYING.agpl3 in the project tree.