News for hackers. Stuff that matters.
Re:Show HN: Next Browser native on Linux by nine_k on Wednesday December 05, 2018 @11:37AM (#18609830)
What if a browser was built like Emacs is built? With low-level rendering core exposing almost everything to scripting in Lisp, and the entire UX written in Lisp, fully customizable?

It appears that Next goes in this direction. I don't know if gtk-webkit allows to script it very deeply, e.g. enough to expose DOM and write extensions in Lisp.

It would also be great to have something like the Emacs's customization framework, and something like Melpa. (But this is obviously far down the road.)

Re:Show HN: Next Browser native on Linux by snaky on Wednesday December 05, 2018 @02:52PM (#18611806)
> What if a browser was built like Emacs is built? With low-level rendering core exposing almost everything to scripting

Firefox with XUL was this kind of browser.

Re:Show HN: Next Browser native on Linux by bloopernova on Wednesday December 05, 2018 @11:45AM (#18609911)
Ever since I started using Org Mode in the Android app "Orgzly" and in Visual Studio Code, I've been wishing a lot more was written so it could take advantage of Lisp.

Mostly because I'm selfish and want more of Org Mode's features supported in more places, but also I'm super impressed by Emacs' scripting/control abilities.

I'd also like to see vim with a mode specifically for Org Mode. But that sort of idea is very much beyond my talents :/

Re:Show HN: Next Browser native on Linux by xte on Wednesday December 05, 2018 @02:49PM (#18611774)
There is a vim org-mode plugin but it's super-limited, mostly only proper syntax highlight + folding...

Anyway, my dream is a browser, a real one for modern web, built-in in Emacs. eww is nice but substantially useless and anytime I use Firefox (witch is well... Nearly any day) I complaint due to it's limited "window/buffer" (tabs) management, inconsistent keybindings support despite saka key, limited text navigation capabilities etc...

Imaging your (big) bookmark collection in an org file, ivy-searchable on demand, seamless integration for instance when you receive complex html mails (sgrunt), or for html feeds (sgrunt again) etc. instead of asphyxiated bookmark bar/manager + tab manager... Webpages as Emacs buffers, arranged as any Emacs windows, with consistent keybindings etc...

Re:Show HN: Next Browser native on Linux by nine_k on Wednesday December 05, 2018 @12:00PM (#18610097)
Yes, when I finally have free time, I'll spend some of it to write a reasonably good implementation of Org Mode data model in Typescript, and maybe in something else, to help making Org Mode support painless everywhere, like Markdown now.
Re:Show HN: Next Browser native on Linux by bloopernova on Wednesday December 05, 2018 @12:07PM (#18610163)
I really wish I was a better, more focused, coder to be able to help such efforts. It would benefit me to really learn Typescript deeply, since many of my employer's projects are written in it. Me = Sysadmin/Devops = jack of all trades, master of none.
Re:Show HN: Next Browser native on Linux by all2 on Wednesday December 05, 2018 @02:05PM (#18611363)
I make lists. Lists (and a planner I mostly ignore) keep my on track. The "Get(ting) Things Done" method is, in some ways, making lists. Maybe that could help?

That, and pacing myself during mentally intensive tasks. I do 25 on, 10 off (more than pomodoro, because my brain). This works really well for me. You may have to adjust the variables to make it work well for you.

Re:Show HN: Next Browser native on Linux by bashmydotfiles on Thursday December 06, 2018 @08:13AM (#18617706)
If you ever feel like "deep diving" into Org Mode, I'd consider giving Emacs a try.
Re:Show HN: Next Browser native on Linux by psetq on Wednesday December 05, 2018 @01:11PM (#18610828)
You're basically just using Emacs then, right?

https://www.gnu.org/software/emacs/manual/html_mono/eww.html

Re:Show HN: Next Browser native on Linux by nine_k on Wednesday December 05, 2018 @01:34PM (#18611047)
Yes, this is a nice thing. But it supports way fewer features a modern web site could legitimately use.

The modern browser engine exposes a lot of controls to scripts and to the chrome layer. IIRC Firefox uses this extensively to code (most of) the UI in Javascript and HTML/ CSS. But this is not very exposed to the user, and web extensions are intentionally limited.

Re:Show HN: Next Browser native on Linux by nouseforaname on Wednesday December 05, 2018 @05:28PM (#18613332)
At one point you could embed webkit in emacs. https://www.reddit.com/r/emacs/comments/4srze9/watching_yout...