Re: Please help me keep url-retrieve from spamming my *Messages* buffer.
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.emacs.devel |
|---|---|
| Message-ID | <[email protected]> |
> From: Jason Martens <[email protected]> > Date: Sat, 18 Jul 2026 01:35:05 -0400 > > So, I have this script which fetchs JSON data at 30 second intervals using url-retrieve, and I keep receiving the > message 'Contacting host: www.radiofrance.fr:443' in the minibuffer at every poll. It happens _just_ often > enough to be distracting. > > I tried to silence it by setting SILENT in url-retrieve and tryint to rebind `url-lazy-message' with cl-letf, but she no > work. This happens in both 30.2 and 31.0.90. 31 is a few weeks, old, though. > > Is there a supported way to suppress the connection messages? I'd like to allow error messages to still go > through, but beggars can't be choosers. Did you try setting url-show-status to nil? If everything else fails, try binding inhibit-message to t around the code which fetches JSON.