GithubHelp home page GithubHelp logo

Comments (6)

ag91 avatar ag91 commented on September 14, 2024

thanks for sharing how you made it work: I will review the README with your instructions :)

About your question, I think the default keybindings of Nyxt may be different: you are looking for the command edit-with-external-editor. Point in the Google search bar and then invoke that command and it will open Emacs.
Let me know if that helps!

I set Emacs as my external editor in Nyxt like this

(define-configuration browser
  ((external-editor-program '("/usr/bin/emacsclient"))))

from emacs-with-nyxt.

MorphicResonance avatar MorphicResonance commented on September 14, 2024

Found it yesterday that there is such 'edit-with-external-editor' command in Nyxt browser and also that it's no need to install sly package for it.
So my instruction is relevant to make all contents of emacs-with-nyxt.el workable. If you add the code from the posts also to nyxt config so to scrape text from web pages from nyxt to emacs and put text from emacs to web form in nyxt user don't need install sly package. Got org-capture working according to posts just putting code snippets from your posts.

It would be cool to have small function for Nyxt to copy url of the webpage as org-mode link. Don't need webpage title url in formatted as org capture template always . But orgmode formatted url pagetitle is handy in many cases.

The process of submitting text to a web form is not smooth. Emacs opens a temporary file and only when it is saved the text is sent to the browser. I would like to work from a permanent file, send only the selected text from the file, without the requirement to save, and the like.
Maybe there are some improvements for this (this text was sent from emacs from the file tmpVZTRIZD7.tmp).

from emacs-with-nyxt.

ag91 avatar ag91 commented on September 14, 2024

Well you can edit Nyxt to do what you want. You need Sly or Slime to send text to Nyxt if you start from Emacs. When you use edit-with-external-editor you are running a Nyxt command.

If I understand things right, you would like to be in Nyxt, browse around, click on a text area, then switch to Emacs and send parts of a file to that text area, correct?
If so you need to inspect how edit-with-external-editor works and reuse the part that fills the text area but this time with strings from Emacs. It sounds doable and an interesting idea!

from emacs-with-nyxt.

MorphicResonance avatar MorphicResonance commented on September 14, 2024

I would like to do something in didderent domension. Being in edit-with-external-editor . Click on text area in nyxt and be able insert just selected text from static .org file (not just temp file with random name) or just text from selected org node.

Case study example org file : you've posted several job postings on several freelance site . You have some specific info for each site, some questions, some notes. But they are all related to 1 goal and should be in 1 static file . More it all can be just a small part (deep subtree) of big file.

from emacs-with-nyxt.

ag91 avatar ag91 commented on September 14, 2024

from emacs-with-nyxt.

MorphicResonance avatar MorphicResonance commented on September 14, 2024

Try to implement the simpliest possible way because right now input from emacs to nyxt with undefined temp file looks like incomplete sdemo action.
org-ql will work well for searching subtrees but it could be possible selected text in the opened file.

from emacs-with-nyxt.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.