From 9e6199a5aa54b8ef2af1999981cafa0becb3049e Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 4 Jun 2013 00:35:52 +0200 Subject: 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'. --- doc/clark.texi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/clark.texi b/doc/clark.texi index f0ba70b..69f1ba5 100644 --- a/doc/clark.texi +++ b/doc/clark.texi @@ -118,6 +118,12 @@ as when no commands are given, but filtered by either of these conditions. @end deffn +@deffn Command random [TAG] +Look through the database for a random bookmark. If @var{tag} is +specified, limit the results to bookmarks having the given tag. Simply +prints the url of the selected bookmark. +@end deffn + @node Management, Miscellaneous, Querying, Usage @section Maintaining bookmarks in the database. -- cgit v1.3-2-g0d8e