Skip to main content
12 votes

Go to body after url-retrieve-synchronously

A higher-level alternative to using url-http-end-of-headers, but equally undocumented, is url-insert-file-contents: (with-temp-buffer (url-insert-file-contents "https://api.stackexchange.com/2.2/...
Basil's user avatar
  • 12.5k
7 votes
Accepted

Is ELPA broken?

It might be this bug: https://debbugs.gnu.org/34341. It's fixed in Emacs 26.3+ and the workaround is: (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") Source
gulpnerd's user avatar
6 votes
Accepted

Go to body after url-retrieve-synchronously

With respect to a "proper API", I think the short answer, at present, is "no" -- unless you are willing to rely on an external library. url-http-end-of-headers seems to be as good as it gets, although ...
dat's user avatar
  • 301
2 votes

Can't connect to package managers on multiple computers

This problem was solved by forcing emacs to use https instead of http. For some reason, emacs is using http as default instead of https. Steps to solve: (customize-variable RET package-archives) ...
Lee Jordan's user avatar
2 votes
Accepted

Emacs can't connect to GNU archive

I believe that Emacs 26.3 fixes this. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34341 https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36725 You should upgrade (26.2 to 26.3 is a very minor update; ...
phils's user avatar
  • 52.4k
2 votes
Accepted

How to use skewer mode beyond localhost?

An alternative to setting httpd-host to a hostname is to set it to an IP. You can use 0.0.0.0 to bind to all local IP addresses. Try (setq httpd-host "0.0.0.0") (it works for me).
ebpa's user avatar
  • 7,559
1 vote
Accepted

How do I get request.el to post the contents into the buffer

/usr/bin/curl 'http://localhost:23119/better-bibtex/cayw?format=pandoc' 2>/dev/null; exit 0 This is a shell command consisting two commands (curl and exit), here is another way to write it /usr/bin/...
xuchunyang's user avatar
  • 14.7k
1 vote

How do I get request.el to post the contents into the buffer

Whenever an Emacs user receives an error message like void-function request, it generally means the function has not yet been defined because the library containing that function has not been loaded. ...
lawlist's user avatar
  • 19.4k
1 vote

Can't connect to package managers on multiple computers

When in doubt, simplify. Start your Emacs with emacs -Q to disable initialization. Then in the *scratch* buffer, evaluate the following lines by hitting Ctrl+j after each lisp line. Afterwards your *...
nega's user avatar
  • 3,346

Only top scored, non community-wiki answers of a minimum length are eligible