summaryrefslogtreecommitdiff
path: root/pancake.el
AgeCommit message (Collapse)Author
2018-02-23Increase version to 0.1.10defanor
2018-01-01Update copyright yearsdefanor
2017-12-31Open links in a new session on C-u RETdefanor
2017-12-31Adjust a docstringdefanor
The `pancake' function actually accepts any pancake command, not necessarily an URL.
2017-12-30Show target URIs on pancake-{next, previous}-buttondefanor
2017-12-30Increase version to 0.1.9defanor
2017-12-26Put pancake-uri-at-point URIs into the kill ringdefanor
When called interactively.
2017-12-26Use relative #fragment links in Emacsdefanor
Don't reload a document on those.
2017-12-25Add `pancake-uri-at-point'defanor
2017-12-25Provide absolute URIs for pancake.eldefanor
2017-12-24Open URLs in new session if one is createddefanor
Even when calling `pancake' from another pancake buffer.
2017-12-22Partially delegate line wrapping to Emacsdefanor
Not for tables or lists, but for regular text lines. Using visual-line-mode for that by default.
2017-12-21Retain position on redisplay, reload, etcdefanor
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.
2017-12-19Increase version to 0.1.8defanor
2017-12-15Add the "redisplay" commanddefanor
2017-12-15Decrease window width by 1 in `pancake-width-adjust'defanor
Take the continuation glyph column into account.
2017-12-14Get rid of Elisp warningsdefanor
Silence the "unused lexical argument" ones, use a custom function instead of `goto-line'.
2017-12-14Add the "set width" commanddefanor
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.
2017-12-14Rename main elisp functionsdefanor
`pancake' into `pancake-new', `pancake-browse-url' into `pancake', and make its URL argument optional. Should be less confusing and more idiomatic this way, similar to w3m.
2017-12-09Increase version to 0.1.7defanor
2017-12-05pancake-browse-url: use current buffer if it's a pancake bufferdefanor
2017-11-28Cleanup pancake-process-output before processingdefanor
There may be an error during rendering, don't let it to get repeated on each iteration.
2017-11-28Use [ and ] instead of b and f for history navigationdefanor
Akin to info viewers, and these won't interfere with link enumeration. Also use "quit" instead of "q".
2017-11-28Increase version to 0.1.6defanor
2017-11-28Introduce initial image supportdefanor
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.
2017-11-26Add file savingdefanor
User commands are adjusted, and the code is slightly refactored in order to fit this better.
2017-11-26Distinguish image denotations from those for linksdefanor
Some kind of image support can be introduced in the future, and it's not quite correct to present images as links.
2017-11-21Restore ^{} for superscripts and similar text bits in Emacsdefanor
Superscripts and subscripts, as they were rendered, shorten lines in GUI Emacs, breaking tables if those contained subscripts or superscripts. In terminal Emacs, they were just indistinguishable from regular text. And there was a minor hack for these. Mostly undoing that (for strikethrough as well), though leaving slight raising.
2017-11-20Increase version to 0.1.5defanor
2017-11-15Adjust default faces for Emacs with dark backgrounddefanor
- Make the green paler, so that code blocks are easier to read. - Use a more saturated color for cyan, to make links easily distinguishable from grey text (assuming that in most cases the default face will be grey or close to it).
2017-11-14pancake.el: initiate input on '*'defanor
That's handy for completion.
2017-11-14Set help-echo and follow-link for text buttonsdefanor
2017-11-12Increase version to 0.1.4defanor
2017-11-12Use completing-read and remember URI history in Emacsdefanor
The completion is based on the URI history.
2017-11-09pancake.el: prompt for input on RETdefanor
This is useful mostly for backward search. Also ignore empty lines in embedded mode in pancake itself, and add a "pancake>" prompt.
2017-11-08Denote headingsdefanor
2017-11-07Let Emacs to render subscripts, superscripts, strikethroughdefanor
That is, add `Styled` constructors for those.
2017-11-06pancake.el: use `inhibit-read-only'defanor
2017-11-06Increase version to 0.1.3defanor
2017-11-05Introduce denotations, buttonize links in emacsdefanor
Styled elements now can be denoted, so that the emacs interface can buttonize links, while it is still easy to ignore the semantics and just render those elements. The emacs interface is more mouse- and TAB-friendly now.
2017-11-05Provide current URI to pancake-modedefanor
And add a command for displaying and copying it.
2017-11-03Increase version to 0.1.2defanor
2017-11-02pancake.el: generate buffers for stderr handlersdefanor
Otherwise the same buffer gets reused, and cleanup of one session kills all sessions.
2017-11-01Use terminfo instead of colorful-monoidsdefanor
colorful-monoids don't use terminfo, simply guessing capabilities.
2017-11-01Don't rely on INSIDE_EMACSdefanor
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.
2017-10-31Handle fragment identifiersdefanor
This took a bit of refactoring, and now providing link and identifier lists to the emacs interface as well (though not using them yet).
2017-10-31Implement document reloadingdefanor
2017-10-31Change version numbers, update ChangeLogdefanor
Since the browser and its emacs interface are currently shipped together, it seems appropriate to use the same version number for both, counting them as a single project. Also switch to 3-component version numbers, at least for now.
2017-10-28Add backward/forward/quit pancake-mode commandsdefanor
Now it is easier to quickly go through the history.
2017-10-28Support interruptionsdefanor
This is mostly to kill curl processes that take too long to finish.