Skip to main content

Timeline for Live view an html document in emacs

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Nov 1, 2020 at 10:08 comment added dcorking Not an exact duplicate, because it doesn't discuss scrolling, but the answers on this question may help: emacs.stackexchange.com/questions/476/…
Feb 10, 2019 at 9:44 answer added dotancohen timeline score: 7
Jul 25, 2018 at 10:20 comment added deshmukh @lawlist Your point about the live preview is well-taken. I have updated the question.
Jul 25, 2018 at 10:19 history edited deshmukh CC BY-SA 4.0
added 182 characters in body
Jul 25, 2018 at 4:54 comment added lawlist In terms of a live-preview (e.g., via the post-command-hook), there will undoubtedly be a significant trade-off in terms of performance in Emacs because the working buffer will need to be rendered every command loop and updated in the target buffer. The slow-down in performance is probably a deal-breaker, but maybe you'll have good luck ... Perhaps after every save would be a better way to do it ... [Personally, I rsync a draft to the shared server and view the live draft version in an external web browser.]
Jul 25, 2018 at 4:49 comment added lawlist If you have access to the w3m executable, then there is a complimentary Lisp library that can help you view an html file like a web-browser (within Emacs) -- although, not as fancy as Firefox and so forth. Another library (which I believe is all Lisp and does not require an executable) is called shr -- I've only used it once and am by no means an expert. Although I love to do everything in Emacs, if you are doing any sort of web development, then you will want to do a start-process or the equivalent thereof and use the real browser that your target audience will be using.
Jul 25, 2018 at 4:28 history asked deshmukh CC BY-SA 4.0