Questions tagged [web-browser]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Can I use copilot.el with a token?

The way I use ChatGPT with Emacs, is that I have a token. Is this same use case possible with copilot.el? It tries to open a browser, but I'd rather supply it with a token.
Jason Hunter's user avatar
0 votes
1 answer
40 views

Why can't I open a file in browser from Emacs on macOS?

I have emacs installed with homebrew. I'm trying to open a file with: (condition-case ex (browse-url-default-browser (concat "file://" (buffer-file-name))) (error (message "Error:...
caisah's user avatar
  • 4,096
0 votes
1 answer
57 views

Local map of xwidget-webkit-mode?

In xwidget-webkit-mode, the command M-x local-set-key RET S-<right> windmove-right RET has no effect — the key continues to be bound to xwidget-webkit-pass-command-event. Also, M-x local-unset-...
toomas's user avatar
  • 183
0 votes
1 answer
51 views

How can I trigger `browse-url-at-point` using C-c C-o on URLs within programs?

C-cC-o nicely opens the URL under the point in Emacs org-mode. goto-address-mode can likewise be added as a minor mode to a program's major mode, (add-hook 'python-mode-hook #'goto-address-mode) That ...
Sam7919's user avatar
  • 369
1 vote
0 answers
72 views

How can I have `browse-url-firefox` give focus to my web browser?

I'm trying to customize WWW url browsing in one specific mode. Looking at the documentation for browse-url led me to believe this could be achieved as follows with browse-url-browser-function: (defun ...
flooose's user avatar
  • 521
0 votes
0 answers
30 views

Opening hyperlinks stops working when browser runs in sandbox (firejail)

Opening links (e.g. [[https://www.example.com][example]]) stops working when browser (librewolf) runs in a sandbox (firejail). The only output it gives is "nil". It works again when sandbox ...
Daniel Krajnik's user avatar
3 votes
1 answer
210 views

How to toggle between browsers?

I set chromium as my default browser by putting the following lines in my init: (setq browse-url-browser-function 'browse-url-generic browse-url-generic-program "chromium") Sometimes ...
crocefisso's user avatar
  • 1,274
1 vote
0 answers
277 views

Why EAF browser is opening outside emacs buffer?

I'm new to emacs, so excuse any naivety that you might see. These are my sys and emacs config. System Version: macOS 12.5 (21G72) GNU Emacs 28.1 I've tried installing eaf and eaf-browser in emacs, i ...
Question's user avatar
0 votes
0 answers
109 views

Is there a way to create a emacs shotcut that runs a specific terminal command before opening emacs?

a friend of mine recomended that I use a program called obsidian to make notes,and I quite liked the idea, but i didn't like the program. I have been searching and it seeams to me that org-roam in ...
user38135's user avatar
0 votes
1 answer
671 views

set Brave as default browser in DoomEmacs

I am new to DoomEmacs, I am on Ubuntu and I want to set Brave as my default web browser. How can I do this? Currently Chrome is set to this but I do not know how to change it.
thefonso's user avatar
  • 101
0 votes
1 answer
334 views

How can I run JavaScript in a browser console?

I am looking for a way to stream data, using Emacs, which is accessible through an API that requires the submission of JavaScript code to a browser console: https://developer.tdameritrade.com/content/...
lawlist's user avatar
  • 19.1k
0 votes
1 answer
125 views

How can I make `helm-google-suggest` use DuckDuckGo?

I quite like helm-google-suggest, but I would like it even more if it didn't connect to Google. Once you have your candidate, searching for it in a better search engine is as simple as this: (setq ...
Betta George's user avatar
1 vote
1 answer
159 views

How to debug Emacs to find out why Emacs doesn't open external browser?

In Emacs (27.1) on the orgmode when I RET on HTTP link, Emacs doesn't open it on any browser (chromium, firefox, ...). I've set these variable in my spacemacs user config: (setq browse-url-browser-...
Milad Khajavi's user avatar
0 votes
0 answers
56 views

GUI Emacs opens new session of firefox with strange border

I am using emacs27 on Elementary OS. I had to tweak Exec=/usr/bin/env XLIB_SKIP_ARGB_VISUALS=1 emacs27 %F in .desktop file to be able to run it in GUI mode. When I am in org mode and try to open a ...
tkowal's user avatar
  • 101
1 vote
0 answers
98 views

Annoying error message when using Atomic Chrome

I'm using Atomic Chrome. Atomic Chrome lets one associate a text area in a browser page with an Emacs buffer, so that one can edit the browser text area directly within Emacs. This involves installing ...
Faheem Mitha's user avatar
1 vote
0 answers
413 views

EWW very slow opening of certain pages

This question was asked on stackoverflow. Just cross posting it here for better visibility. I am too facing the same issue. I'm using EWW Emacs browser for opening various remote pages(mostly ...
Kabira  K's user avatar
0 votes
0 answers
87 views

Getting w3 to work

I want to get the package w3 working so I can view close to full web pages in terminal Emacs. I grabbed the old release tar from their ELPA page and used package-install-file to get the package ...
0x1a4's user avatar
  • 1
0 votes
0 answers
444 views

No server remain buffer to edit for org-capture-extension

Update: I have fixed it, seem like we need stranform-square-bracket-function to due with "p" protocal (use-package org :hook (org-mode . turn-on-visual-line-mode) :config (setq org-...
Kidman's user avatar
  • 31
2 votes
1 answer
179 views

Open the manuals in the default web browser without accessing the internet

I am talking about this to be precise. Suppose there are an emacs installation and a web browser on an X session (desktop). I know you can open the manuals in emacs itself using M-x info, but is it ...
nomad's user avatar
  • 257
1 vote
1 answer
92 views

Is there a way to generally search package or language documentation within emacs?

In this case, I'm most interested in Rust's documentation, which lives at doc.rust-lang.org/std. eww is incompatible with JS, so the documentation doesn't play nice, thus my general current soln is to ...
cryptograthor's user avatar
2 votes
1 answer
490 views

run Emacs remotely in a webpage?

I am just curious: Is there a way to run Emacs remotely from a webpage? For example, one can set up a JupyterHub on a Ubuntu server so that many users can access server programs from a webpage. Can ...
tinlyx's user avatar
  • 1,336
1 vote
0 answers
744 views

CSS Stylesheets on EWW

Began here on using eww as web browser in Emacs, but felt that it misses CSS stylish, even loading simple HTML and CSS only. Already managed to repair libxml2 error before running it, but now would ...
Waldemar22's user avatar
1 vote
1 answer
1k views

How can I open URLs from within Emacs?

When I ran GNOME, I used to be able to click on any link in Emacs, and it would open in my default web browser. But now that I'm using i3, it doesn't work any more, even though I haven't changed any ...
Jonathan's user avatar
  • 597
1 vote
1 answer
469 views

What EWW Emacs Web Brower Would Be Used For [closed]

Managed here to run eww, despite its requirements of libxml2-dev package BEFORE compiling and installing Emacs itself. Have already browsed some websites, including some simple ones, only with basic ...
Vincent33's user avatar
1 vote
1 answer
561 views

Add browser bookmark to bookmark browser

What I mean is, can I add a URL to my Emacs bookmarks, such that selecting the bookmark runs the URL through browse-url? Desired behavior What I would like is a bookmark-set-url function that ...
Matthew Piziak's user avatar
0 votes
1 answer
40 views

wrong behavior of org-open-at-point with certain url

NOTE, this only happens on mac. Linux is fine. For the given link, which is directly copied from chrome url bar, https://lwn.net/Articles/262464/#Quick Quiz 5 org-open-at-point will open it as ...
FunkyBaby's user avatar
  • 797
3 votes
1 answer
108 views

How can I sign in using Google to Emacs StackExchange to post questions

I am able to browse the Emacs StackExchange site using Emacs with M-x w3m b URL RET I wanted to try out posting questions and answers to the site using Emacs. The main hurdle I am facing is to sign ...
Amit Tendulkar's user avatar
2 votes
1 answer
125 views

How to call lynx on URL inside a program

During my LaTeX typesetting I need to "visually" check if URLs point to reacheable pages. I'd like to do it with lynx in a separate emacs buffer so I wrote this function: (defun urls-check-if-working-...
Gabriele Nicolardi's user avatar
3 votes
0 answers
94 views

Inspect element in Firefox from within Emacs [duplicate]

In Firefox, when I right-click anywhere on a web page and select "Inspect Element" from the popup menu, Firefox will open its Developer Tools and show me the properties for that element and ...
izkon's user avatar
  • 1,858
0 votes
1 answer
73 views

Tell Emacs to use always the same browser

In my experience xhtml-mode's browse-url-of-buffer command uses different browsers depending, I guess, on the different desktop environments (or on their absence sometimes). My question, how can I ...
gboffi's user avatar
  • 604
1 vote
2 answers
443 views

Cannot open new chrome tab by `(browse-url "chrome://newtab")`

I can open a web page by (browse-url "http://www.google.com"), but cannot open new tab by (browse-url "chrome://newtab"). Any workaround? I would like to have an Emacs shortcut to open a new chrome ...
AhLeung's user avatar
  • 1,083
4 votes
3 answers
991 views

Emacs picking the wrong browser

I'm working under org-mode. When I click on a [http://example.com] link, it opens a tab in Firefox as expected. The .emacs config is: '(browse-url-browser-function (quote browse-url-firefox)) ...
Quora Feans's user avatar
4 votes
1 answer
1k views

Org external link - can I indicate which browser/tab to be used

Suppose I have several browsers running at any given time. Google Chrome Google Chrome Canary Chromium Opera Safari How can I indicate in my org mode links [[https://www.gnu.org/software/emacs/][...
american-ninja-warrior's user avatar
2 votes
1 answer
842 views

browse-url-browser-function for Firefox Quantum

browse-url-firefox does not work with Firefox Quantum. If Firefox Quantum is already running, then I am told: Firefox is already running, but is not responding. To open a new window, you must ...
tarsius's user avatar
  • 25.7k
4 votes
2 answers
342 views

How to open multiple webpages from org mode?

I have a list of www addresses as a list like: - https://www.nytimes.com - https://www.foxnews.com and so on. I can open single elements with the command org-open-at-point which is bound to the key ...
Pierre B's user avatar
  • 391
2 votes
1 answer
2k views

In mu4e, how do you open a message in a web browser?

I'm using the mu4e layer in spacemacs on develop. When I press a (for action) and then V, it opens an email in Firefox. But I want it to open in a browser of my choosing (qutebrowser). The manual says,...
Jonathan's user avatar
  • 597
4 votes
1 answer
316 views

Pinboard website (i.e., non-Emacs) bookmark editing in Emacs

I recently switched over to pinboard.in for organizing website bookmarks. I'm looking for a way to organize my bookmarks in Emacs. I've installed the pinboard-api package but I can't seem to find any ...
Chris Gray's user avatar
6 votes
0 answers
1k views

orgmode open link in system browser or eww

I want orgmode web links to open in my system browser with C-o, and to open in eww with C-u C-o. This seems in line with the function description for org-open-at-point but it doesn't seem to be ...
Webdev Tory's user avatar
2 votes
1 answer
2k views

How can I open an url file in emacs dired?

When using dired in emacs, how can I open an url file in a web browser outside emacs?
myotis's user avatar
  • 1,119
3 votes
1 answer
1k views

Copy current URL from web browser from Emacs while editing

When editing code or org-mode, I often need the URL of the page I'm viewing in Google Chrome. Is there a way to do this from Emacs? Or with an external helper script if necessary? An example use ...
Joe's user avatar
  • 1,322
7 votes
1 answer
5k views

your emacs does not come with xwidget support... (Windows 10)

Just unzipped and started using Emacs 25.1, hoping to get a browser running in emacs. The instructions I found had me enter "M-x xwidget-webkit-browse-url" And then I'm asked to complete a command ...
David J.'s user avatar
  • 163
2 votes
1 answer
304 views

How to start a specific Firefox profile with browse-url?

In command line I can start a specific firefox profile doing someting like that: firefox -P my_specific_profile Is it possible to configure emacs for use a specific Firefox profile when using browse-...
ucsky's user avatar
  • 133
2 votes
1 answer
4k views

display images in emacs w3m in terminal

I would like w3m in emacs (in a terminal) to show me pictures. Showing pictures in emacs gui works: Showing pictures in the terminal without emacs works: But in emacs w3m running in a terminal, no ...
Kaligule's user avatar
  • 339
2 votes
0 answers
286 views

How to write a function to open real hyperlinks (Org Mode, Gnus Article, elfeed hyperlinks) in a specific browser?

First off, you can find my entire current config at https://gitlab.com/mordocai/emacs.d/tree/4cfdfd76368aa687a6277a22161b40624e32b8fe, just in case I miss including something. I currently have my ...
mordocai's user avatar
1 vote
1 answer
162 views

Does "Edit with Emacs" saves a local file of current edit buffer?

I'm using Edit with Emacs to edit Stack Overflow and Stack Exchange sites. Currently I'm doing it with this message ;-) When I click on the button under the text area of Chrome browser, I get a new ...
nephewtom's user avatar
  • 2,261
6 votes
1 answer
814 views

How to make browse-url-of-buffer load the same html file in the same tab in Firefox?

When editing a html file (in an Emacs buffer in HTML mode), I often review the file in my default browser (Firefox) by C-c C-v (ie, running browse-url-of-buffer). But every time I run C-c C-v, Firefox ...
KS Leung's user avatar
  • 103
1 vote
0 answers
642 views

Suggestions for a well-thought structure, for instant results inside browser from buffers

Situation First, I hope you will not mind my poor English. When you're working with websites/webapplications, there is a good chance that you will work with HTML/CSS files. When editing such files in ...
ReneFroger's user avatar
  • 3,840
1 vote
2 answers
674 views

problem using surfraw with helm

I'm fairly new to emacs. I'm using OS X 10.10. I have been learning to use helm. I was interested in its integration with surfraw. I installed surfraw from teh source tarball following the ...
hartshoj's user avatar
  • 497
6 votes
2 answers
3k views

Can org-mode open a link in external browser when using prefix key?

In my Emacs I have set browse-url-browser-function to eww and org-open-at-point (org-return) will open my links using eww as expected. However, I would like to configure org-mode so that when I press ...
David Holm's user avatar
  • 1,199
8 votes
0 answers
167 views

Make browse-url follow URLs with line breaks?

How can I make browse-url follow URLs with line breaks? Example from RFC 1738: Yes, Jim, I found it under <URL:ftp://info.cern.ch/pub/www/doc; type=d> but you can probably pick it up from <...
feklee's user avatar
  • 1,079