Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
|
|
This took a bit of refactoring, and now providing link and identifier
lists to the emacs interface as well (though not using them yet).
|
|
|
|
|
|
|
|
Set an environment variable for file name.
|
|
|
|
|
|
Add more extensions to handle by external viewers by default, handle
".htm" for HTML, compare their downcased versions.
|
|
There's no need in waiting (it's rather harmful, actually), and it
pollutes stdout -- so adding the `-n` (--no-wait) option.
|
|
Using `splitDirectories` for its paths (types + selectors) was a bad
idea, particularly leading to misbehaviour with "hURL:" redirects.
|
|
A minor fix: `renderDoc` used to call `renderBlocks`, which increases
indentation at once, giving a minimum indentation level of 1.
|
|
Though the gopher onion initiative is nice, that's an unnecessary
dependency here -- better to not set by default.
|
|
So that they are distinguishable from active links.
|
|
|