Age | Commit message (Collapse) | Author |
|
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
|