Commit graph

17 commits

Author SHA1 Message Date
983aace089 Add history and auto-completion
When using `clark-find-url' and `clark-find-url-new-buffer' a history of
items is kept and completion options should appear immediately when the
user starts typing.
2013-08-26 23:49:43 +02:00
19e80308ef Add webjumps, history and file completions
When looking for a URL the webjumps, history and file completers are
also used, this should make `clark-find-url' and
`clark-find-url-new-buffer' able to replace `find-url' and
`find-url-new-buffer'.
2013-08-26 23:47:29 +02:00
f596510d0d Improve error notification for conkeror 2013-06-06 22:51:34 +02:00
6c3dce90cb Add random command
This command simply prints a random URL. A tag may be specified to limit
the search to that tag. In the Conkeror module this command immediately
loads the random bookmark in the current buffer.

- js/clark.js: If `error' is empty, return the value of `data'. This
  makes it easier for some commands to use the result of the command.
  Add `clark-random' to `clark_keymap'.
2013-06-04 01:12:13 +02:00
09f37ea2e1 Change order of script output
The order of parameters for `--script' and without it was different,
to keep things simple these should be the same.
2013-03-28 00:52:48 +01:00
cf50ebad50 Make simple commands check stderr
Don't assume all operations will complete successfully, check the
error output to see if something happened.
2013-03-27 21:48:02 +01:00
3ec871d500 Add bookmarked mode-line widget
This widget shows whether or not the current buffer has been
bookmarked using `clark_bookmarked_string' and
`clark_not_bookmarked_string'. This widget can be enabled by using,
for example:

    add_hook("mode_line_hook",
             mode_line_adder(clark_bookmarked_widget),
             true);
2013-03-24 21:24:31 +01:00
765d59771f Add clark-set-tags command
Replaces the previously added tags.
2013-03-24 16:43:32 +01:00
7cd8f9d196 Add clark-remove command
Removes the current url from the database.
2013-03-24 16:30:52 +01:00
60f4ff4f32 Add clark-edit command 2013-03-24 15:55:36 +01:00
70e5ab3cd9 Fix commentary 2013-03-24 13:47:56 +01:00
270cd80cc6 Add keybindings for existing commands
Add keybindings for `clark-add-link', `clark-find-url' and
`clark-find-url-new-buffer'.
2013-03-24 13:45:16 +01:00
db214157f0 Add clark-exists-p
Prints `yes' when the url is found in the database, `no' otherwise.
2013-03-24 13:42:20 +01:00
58b2139a97 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
ea6b06beec 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
13d9dab58e Add GPLv3 license info 2013-03-23 00:51:31 +01:00
88b4167734 Add conkeror module 2013-03-23 00:20:27 +01:00