GNU bug report logs - #30258
26.0.90; url-file and url-data don't load mm-misc

Previous Next

Package: emacs;

Reported by: Noam Postavsky <npostavs <at> users.sourceforge.net>

Date: Fri, 26 Jan 2018 14:02:01 UTC

Severity: normal

Tags: fixed, patch

Found in version 26.0.90

Fixed in version 26.1

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 30258 in the body.
You can then email your comments to 30258 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#30258; Package emacs. (Fri, 26 Jan 2018 14:02:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Noam Postavsky <npostavs <at> users.sourceforge.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 26 Jan 2018 14:02:01 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.90; url-file and url-data don't load mm-misc 
Date: Fri, 26 Jan 2018 08:40:21 -0500
emacs -Q

    (url-data (url-generic-parse-url "data:;,A-brief-note"))

gives

Debugger entered--Lisp error: (void-function mm-disable-multibyte)
  mm-disable-multibyte()
  url-data(#s(url :type "data" :user nil :password nil :host nil :portspec nil :filename ";,A-brief-note" :target nil :attributes nil :fullness nil :silent nil :use-cookies t :asynchronous t))
  eval((url-data (url-generic-parse-url "data:;,A-brief-note")) nil)

Similarly,

    (url-file (url-generic-parse-url "file:///dev/null") #'ignore nil)

Debugger entered--Lisp error: (void-function mm-disable-multibyte)
  mm-disable-multibyte()
  url-file(#s(url :type "file" :user nil :password nil :host "" :portspec nil :filename "/dev/null" :target nil :attributes nil :fullness t :silent nil :use-cookies t :asynchronous t) ignore nil)
  eval((url-file (url-generic-parse-url "file:///dev/null") (function ignore) nil) nil)

This does not occur with Emacs 25.  Will send patch when I have the bug number.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#30258; Package emacs. (Fri, 26 Jan 2018 14:09:02 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: 30258 <at> debbugs.gnu.org
Subject: Re: bug#30258: 26.0.90; url-file and url-data don't load mm-misc
Date: Fri, 26 Jan 2018 09:08:34 -0500
[Message part 1 (text/plain, inline)]
tags 30258 + patch
quit

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

> This does not occur with Emacs 25.  Will send patch when I have the bug number.

Here is the patch, should be obviously safe enough for emacs-26, so I'll
push there in a day or two.

[0001-Load-mm-util-as-needed-for-url-file-and-url-data-Bug.patch (text/plain, attachment)]

Added tag(s) patch. Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Fri, 26 Jan 2018 14:09:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#30258; Package emacs. (Fri, 26 Jan 2018 18:55:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Noam Postavsky <npostavs <at> users.sourceforge.net>
Cc: 30258 <at> debbugs.gnu.org
Subject: Re: bug#30258: 26.0.90; url-file and url-data don't load mm-misc
Date: Fri, 26 Jan 2018 20:54:02 +0200
> From: Noam Postavsky <npostavs <at> users.sourceforge.net>
> Date: Fri, 26 Jan 2018 09:08:34 -0500
> 
> Here is the patch, should be obviously safe enough for emacs-26, so I'll
> push there in a day or two.

Please do, and thanks.




Added tag(s) fixed. Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Sat, 27 Jan 2018 02:04:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 26.1, send any further explanations to 30258 <at> debbugs.gnu.org and Noam Postavsky <npostavs <at> users.sourceforge.net> Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Sat, 27 Jan 2018 02:04:02 GMT) Full text and rfc822 format available.

Message #18 received at 30258-quiet <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: 30258-quiet <at> debbugs.gnu.org
Subject: Re: bug#30258: 26.0.90; url-file and url-data don't load mm-misc
Date: Fri, 26 Jan 2018 21:03:36 -0500
tags 30258 fixed
close 30258 26.1
quit

Eli Zaretskii <eliz <at> gnu.org> writes:

>> Here is the patch, should be obviously safe enough for emacs-26, so I'll
>> push there in a day or two.
>
> Please do, and thanks.

Pushed.

[1: 81ae9c8c05]: 2018-01-26 19:50:57 -0500
  Load mm-util as needed for url-file and url-data (Bug#30258)
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=81ae9c8c058d17d276a4443f6938aa3b57a40ca4




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 24 Feb 2018 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 120 days ago.

Previous Next


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