When testing in the REPL and reloading the package, using a `defvar'
causes it to collect the names and help messages for commands more than
once. With `defparameter' this variable is reset every time the package
is loaded.
Since texinfo files can start to look like a big jumble of letters these
control characters help in keeping visual distinction between nodes and
make navigating the file in Emacs easier by splitting it up in pages.
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'.
The McCLIM dependency will come back, but for v0.1.* it is not a
requirement.
Also properly require `cl-sqlite' by adding it in the `asdf:defsystem'
call.
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.
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.
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);
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);
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.