| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
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'.
|
| |
|
|
|
|
|
| |
Since `*version*' is a constant, it should not be named as a special
variable.
|
|
|
|
|
|
|
|
|
|
| |
Add macros `with-error-status' and `with-error-and-help' that help to
easily report errors to the user. The latter also calls the `help'
command.
All commands, when done, exit with `*exit-status*' being the status
code used. The `with-error-status' macro let-binds this variable so
that the command function exits with the given status code.
|
|
|
|
|
| |
`concatenate' does not work as I thought, cannot handle list
arguments, except `nil'.
|
|
|
|
| |
So that it also works when loaded from some other place.
|
|
|
|
| |
That's where it belongs.
|
|
|
|
|
| |
This gives SQL queries a little more Lisp-y feel and allows for better
formatting of the code written.
|
|
|
|
|
| |
The order of parameters for `--script' and without it was different,
to keep things simple these should be the same.
|
|
|
|
|
|
| |
Writing a command like with a normal labmda-list to indicate
parameters is much clearer than using an `args' parameter that
semmingly comes out of nowhere.
|
| |
|
|
|
|
|
| |
With this init file one can change certain defaults, and define their
own commands.
|
|
|
|
| |
The `--script' option was not yet documented in the help message.
|
| |
|
|
|
|
| |
Removes a bookmark from the database.
|
|
|
|
|
| |
The set-tags command clears any tags for the bookmark, and then adds
the ones given.
|
|
|
|
| |
Allows one to edit the name and description of a bookmark.
|
|
|
|
|
| |
This should keep error conditions from being signalled when someone
enters the wrong number of arguments.
|
|
|
|
|
| |
When passing in the --script option all output will be formatted in a
machine-readable way.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Hide the fact that a command is just of the form NAME-command by
abstracting it away into a macro.
|
|
|
|
| |
The `help' command can now be used to view help about other commands.
|
|
|
|
| |
This command shows whether or not the given url is known to CLark.
|
| |
|
| |
|
|
|