Questions tagged [http]
14 questions
15
votes
3 answers
Go to body after url-retrieve-synchronously
I use url-retrieve-synchronously to download a JSON file from a remote server. This function returns a buffer which contains the entire content of the response, including HTTP headers. However, I'm just interested in the body.
Now, short of…
user227
5
votes
1 answer
Is ELPA broken?
Emacs 26.1 as packaged in Debian buster.
After doing M-x package-list-packages I can select any package from the MELPA repo https://melpa.org/packages/ and then install it. But when I try to get any package from the GNU ELPA repo…

q.undertow
- 314
- 1
- 9
5
votes
1 answer
Sending application/x-www-form-urlencoded data with restclient
When I use restclient with Content-Type: application/x-www-form-urlencoded, restclient sends newlines with the data.
For example:
POST :domain/thing
Content-Type: application/x-www-form-urlencoded
data=foobar
The endpoint receives a form with the…

Matthew Piziak
- 5,958
- 3
- 29
- 77
3
votes
1 answer
Which package to share editing, in real-time, over http?
I seem to remember a package mentioned once, that you would activate in Emacs, and then other people could follow what happens in almost real time in your Emacs by accessing a URL with a web-browser.
I can't for the life of me find the name of this…

asjo
- 1,037
- 8
- 12
2
votes
0 answers
Cannot upgrade packages when adding melpa to the package-archives
I have problems upgrading packages coming from melpa:
When executing list-package with "https://melpa.org/packages/" in the package-archives I get the following in the *Messages* buffer:
Using a proxy for https...
gnutls.c: [0] (Emacs) Received…

halloleo
- 1,215
- 9
- 23
2
votes
2 answers
Can't connect to package managers on multiple computers
I just did a clean install of emacs 26.1 on multiple computers running different OS (Ubuntu, Mint, Windows), and for some reason I cannot update my packages using M-x refresh-package-contents. I've also re-installed emacs25 through apt with no…

Lee Jordan
- 41
- 5
2
votes
2 answers
How can I access a file at an (HTTP / HTTPS) URL?
If I have a URL to a file (for example, this gist), what's the easiest way to fetch that file from Emacs and edit a copy of it? Is there a better option than M-! curl -n [insert URL here] RET?
I'd consider an answer "better" if it didn't rely on an…

camdez
- 396
- 3
- 6
1
vote
1 answer
Emacs can't connect to GNU archive
I'm having a very basic problem with getting my emacs to talk to the GNU package repository.
The contents of my .emacs are
(require 'package)
(package-initialize)
(package-refresh-contents)
When I start up emacs, I see
Contacting host:…

Peter Wills
- 13
- 3
1
vote
2 answers
How do I get request.el to post the contents into the buffer
I'm trying to use request.el but have no clue what I'm doing. What I want to do is create a request to Zotero that uses their citation picker using the to get a 'Cite As You Write' capability using the Better Bibtex For Zotero backend.
I have…

Atanas Janackovski
- 134
- 7
1
vote
1 answer
Debugging a "binding stack not balanced" bug?
I'm trying to figure out how to approach a bug I've run into. I assume it's actually a bug in Emacs, but I don't know the right way to make headway with it. In short, I'm getting the message "binding stack not balanced (serious byte compiler bug)"…

abingham
- 927
- 6
- 18
1
vote
1 answer
How to use skewer mode beyond localhost?
I'd like to write the code for a website on one pc and see the results in a browser on another pc in my local network.
For calling the skewer script in html, I replaced localhost with the local ip of pc1 –