Commit graph

39 commits

Author SHA1 Message Date
0fbc39c2d8 Add clark-exists-p
Prints `yes' when the url is found in the database, `no' otherwise.
2013-03-24 13:42:20 +01:00
3f030d3fb3 Add keymap for conkeror
One could bind this keymap in their `.conkerorrc' to easily access all
the functions provided by CLark's conkeror module. For example:

    define_key(content_buffer_normal_keymap, "b", clark_keymap);
2013-03-24 13:04:55 +01:00
98ff909164 The command syntax has changed
This is not markam. Markam would try to figure out that you wanted to
add a url to the database by looking for either `http://' or
`https://' at the start of the first argument, but CLark uses the
`add' command so there should be no confusion.
2013-03-24 12:49:43 +01:00
418f7c9d2a Update README.org 2013-03-23 21:36:30 +01:00
aa3f4a26cc Update texi documentation to include new commands 2013-03-23 21:32:39 +01:00
eabe0f3978 Update the help messages to include the option
The `--script' option was not yet documented in the help message.
2013-03-23 20:58:00 +01:00
9d5973a022 Simplify usage of call-command 2013-03-23 20:57:13 +01:00
e41bb3a930 Add remove command
Removes a bookmark from the database.
2013-03-23 20:52:49 +01:00
280769a222 Add set-tags command
The set-tags command clears any tags for the bookmark, and then adds
the ones given.
2013-03-23 20:46:19 +01:00
e94a9ac013 Add edit command
Allows one to edit the name and description of a bookmark.
2013-03-23 19:25:28 +01:00
d1eb7d4c37 Check argument numbers for each command
This should keep error conditions from being signalled when someone
enters the wrong number of arguments.
2013-03-23 18:40:54 +01:00
3b165c81d9 Add --script option
When passing in the --script option all output will be formatted in a
machine-readable way.
2013-03-23 17:58:31 +01:00
50bb0f58ea Simplify get-bookmarks 2013-03-23 17:57:35 +01:00
2a37c88b34 Fix typo 2013-03-23 16:53:08 +01:00
977627a8af Simplify the exists command 2013-03-23 16:50:18 +01:00
fdce2ed81c Hide command detail
Hide the fact that a command is just of the form NAME-command by
abstracting it away into a macro.
2013-03-23 16:37:41 +01:00
c7f9d27638 Improve help messages
The `help' command can now be used to view help about other commands.
2013-03-23 16:31:22 +01:00
cbe1830f83 Add exists command
This command shows whether or not the given url is known to CLark.
2013-03-23 13:38:19 +01:00
dd47751a43 Place the database in XDG_DATA_HOME if possible 2013-03-23 13:24:43 +01:00
9e747fde54 Add some Makefile targets 2013-03-23 01:05:05 +01:00
080bb351b8 Add some docs 2013-03-23 01:00:14 +01:00
0b3e5c09d3 Add GPLv3 license info 2013-03-23 00:51:31 +01:00
89adbb11b5 Add conkeror module 2013-03-23 00:20:27 +01:00
02be3af2fd Move lisp sources to lisp/ 2013-03-23 00:15:52 +01:00
02a823cc28 Add macro defcommand
The defcommand macro defines a new command-line command. It also sets
up some variables for the help function.
2013-03-22 20:11:31 +01:00
0adccf6b3e Add README 2013-03-22 02:44:09 +01:00
671d0fdcc7 Add search command 2013-03-22 02:23:42 +01:00
153c26be43 Declare ignored variables
Keeps style-warning conditions from being raised.
2013-03-21 23:53:35 +01:00
aebd53868a Disable debugger for executable 2013-03-21 23:43:09 +01:00
a664f8f6e8 Separate help texts from help command 2013-03-21 23:42:54 +01:00
99e7d7e303 Switch date and name
Oops, these were being passed-in in the wrong order.
2013-03-21 23:30:52 +01:00
aff3e1536a Update usage info 2013-03-21 22:35:54 +01:00
ca72ca30d0 Add add-command
This command adds a new bookmark to the database and associates any
given tags with the bookmark, adding them, if necessary, as well.
2013-03-21 22:31:42 +01:00
14aa128643 Extract parse-args from clark
Keep functions nice and small.
2013-03-21 21:39:56 +01:00
f70b12c1c9 Reorder functions, add docstring to clark 2013-03-21 21:29:43 +01:00
0e6e795681 Move intern into make-command-name 2013-03-21 21:27:17 +01:00
6d1a3b02e0 Make it do something
- Add constant `*version*' which contains the version number of the
  project.

- Change `db-connect' to `check-db'. Update to using sqlite functions
  instead of cl-sql ones.

- Move the bookmark collection loop to `get-bookmarks'.

- When starting up, if the length of args is greater than 1 check if
  the given option is a known "command" and if so, call it with the
  command line arguments (minus the first). Otherwise show all the
  bookmarks.
2013-03-21 00:54:06 +01:00
940d990418 Make clark target depend on make-image.lisp 2013-03-21 00:49:58 +01:00
94f56cd473 Initial commit 2013-03-20 21:58:10 +01:00