GNU bug report logs - #23140
url-package-name and url-package-version are ignored by url-retrieve and url-retrieve-synchronously

Previous Next

Package: emacs;

Reported by: Clément Pit--Claudel <clement.pitclaudel <at> live.com>

Date: Tue, 29 Mar 2016 10:08:01 UTC

Severity: normal

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23140 in the body.
You can then email your comments to 23140 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#23140; Package emacs. (Tue, 29 Mar 2016 10:08:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Clément Pit--Claudel <clement.pitclaudel <at> live.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 29 Mar 2016 10:08:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Clément Pit--Claudel <clement.pitclaudel <at> live.com>
To: bug-gnu-emacs <at> gnu.org
Subject: url-package-name and url-package-version are ignored by url-retrieve
 and url-retrieve-synchronously
Date: Tue, 29 Mar 2016 12:06:47 +0200
[Message part 1 (text/plain, inline)]
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.

[signature.asc (application/pgp-signature, attachment)]

bug closed, send any further explanations to 23140 <at> debbugs.gnu.org and Clément Pit--Claudel <clement.pitclaudel <at> live.com> Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Sat, 04 Jun 2016 17:19:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 03 Jul 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 356 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.