Age | Commit message (Collapse) | Author |
|
With two types of caching: file-based for retrieved documents, and
memory-based for predicate labels extracted from those.
|
|
|
|
|
|
|
|
Not shared with Emacs yet, just for CLI.
|
|
The code is slightly cleaner with it, and it would be useful for
completion.
|
|
|
|
|
|
Not for tables or lists, but for regular text lines. Using
visual-line-mode for that by default.
|
|
|
|
The list is ordered anyway, no need to keep numbers there.
|
|
Just to simplify it.
|
|
Based on line numbers that are attached to document blocks, not
dependent on window/terminal width.
Some bits can still be refined/refactored, but here's the initial
support.
|
|
This covers both command-line options and the "load config" (former
"reload config") command.
|
|
So that e.g. `pancake ddg something` can be invoked for a quick
search.
Also print option parsing error messages.
|
|
|
|
This is mostly needed for embedding, since there doesn't seem to be
any practical (let alone portable) standard way to notify pancake of
emacs window size changes.
In pancake.el, width adjustment is now getting done automatically
whenever any other command gets issued.
|
|
|
|
|
|
Akin to info viewers, and these won't interfere with link enumeration.
Also use "quit" instead of "q".
|
|
Pancake reports saved files to Emacs, Emacs inserts them into
appropriate positions if they are images; `pancake-load-images' just
sends "save" commands for all the images.
`pancake-display-hook' was added as well, so that image loading can be
requested automatically, among other things.
There is a few things to improve: currently the images don't get
sliced, there's no caching or parallelization, and no tracking of
explicitly requested images.
|
|
|
|
User commands are adjusted, and the code is slightly refactored in
order to fit this better.
|
|
|
|
|
|
It is too easy to kill pancake by accident, while trying to interrupt
a child process that finishes by itself right at that moment. So, only
quitting if there's two interruptions in a row (without any input
between them).
Minor refactoring has also happened in this commit.
|
|
Using GetOpt now.
|
|
It used to escape "reserved" instead of "unreserved" characters.
|
|
|
|
This is useful mostly for backward search.
Also ignore empty lines in embedded mode in pancake itself, and add a
"pancake>" prompt.
|
|
|
|
|
|
|
|
And add a command for displaying and copying it.
|
|
Reading effective URI and content type (if those are available) now,
aiming `curl -w` or similar commands.
Not a particularly nice way, and complicates both the program and the
configuration, but sometimes file name extensions are deceptive.
|
|
|
|
|
|
|
|
|
|
Inline math may contain those.
|
|
|
|
|
|
|
|
|
|
It is rather unpleasant to get long inline image URIs without titles.
|
|
Based simply on total amounts of characters in their cells.
|
|
That is, don't assume that there is just a single block per
item (which is not always the case).
Other blocks should be indented accordingly, just as lines of the
first block.
|
|
colorful-monoids don't use terminfo, simply guessing capabilities.
|
|
It is getting set by M-x term and shell as well, so it's wrong to
decide whether to run in the embedded mode based on it.
|
|
`fitWords` used to look for plain newlines, missing styled ones.
|