Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Idea] Control Chrome from emacs #15

Open
NightMachinery opened this issue Oct 5, 2021 · 3 comments
Open

[Idea] Control Chrome from emacs #15

NightMachinery opened this issue Oct 5, 2021 · 3 comments

Comments

@NightMachinery
Copy link

This was the idea I had when I was searching for an org-mode Chrome extension and found your tool; Chrome has windows, windows have tab groups, and tab groups have tabs. It's a naturally hierarchical structure. Wouldn't it be great if this structure was just an org-mode file, where I could easily bring up my terminal with a keyboard hotkey, and start editing it?

The idea is basically to have BrainTool's sidebar's functionality available from emacs.

Some possible workflows follow:

  • close tabs by adding a :closed: tag
  • open tabs by changing that tag to :open:
  • refile subtrees to move tabs between groups and windows
    • each first-level heading is a window
    • second-level headings are tab groups
  • use org-mode's search and narrowing features to narrow the open tabs
    • (I myself am not very familiar with this functionality, as I hadn't needed narrowing searches before, but I am pretty sure it's available.)
    • E.g., we narrow to only show the tag :trip:, and then invoke a command braintool-sync-open-tabs, and all the extra tabs are closed from Chrome
      • these closed tabs retain their :open: tag, so when we cancel the narrowing, we can again restore them easily
@NightMachinery
Copy link
Author

BTW, I couldn't find any docs on what emacs integration is currently offered. Is it just opening the org file stored in the Google drive? How is conflict resolution handled?

@tconfrey
Copy link
Owner

tconfrey commented Oct 5, 2021

Hi NightMachinary,
Interesting ideas. RN I'm focusing on have BrainTool be at least a bridge between the browser and org. The extension checks on file versions every time it gets focused and before any save. It warns if there's been external updates to the file but does not try to manage conflicts.

@Awannaphasch2016
Copy link

It is not on the project main roadmap,
lets contribute feature into BrainTool. doesn't seem to be hard to do. (I am doom emacs users myself)

add me on discord. Anak#9256
lets have a chat. If you want to work on this features together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants