* bug#23140: url-package-name and url-package-version are ignored by url-retrieve and url-retrieve-synchronously
@ 2016-03-29 10:06 Clément Pit--Claudel
0 siblings, 0 replies; only message in thread
From: Clément Pit--Claudel @ 2016-03-29 10:06 UTC (permalink / raw
To: 23140
[-- Attachment #1.1: Type: text/plain, Size: 614 bytes --]
url-package-name and url-package-version are only used in the initializer of the url-user-agent, which is computed when url.el is loaded; this makes these two variables essentially useless; in particular, one can't let-bind them around a call to url-retrieve.
The fix is probably to make url-user-agent accept nil, and make the url-http-user-agent-string function generate the default string every time it is called, based on the current values of url-package-name and url-package-version.
I have some code to do this, but I'd just like to make sure that it's the right approach before I propose a patch.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-03-29 10:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-29 10:06 bug#23140: url-package-name and url-package-version are ignored by url-retrieve and url-retrieve-synchronously Clément Pit--Claudel
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.