GNU bug report logs -
#9632
wrong-type-argument stringp mailcap-save-binary-file
Previous Next
Reported by: Dave Abrahams <dave <at> boostpro.com>
Date: Thu, 29 Sep 2011 20:08:01 UTC
Severity: normal
Tags: fixed
Found in version 5.110018
Fixed in version 24.1
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Dave Abrahams <dave <at> boostpro.com> writes:
> gnus-completing-read("Viewer" (mailcap-save-binary-file "/usr/bin/open %s"))
> mm-interactively-view-part((#<buffer *mm*<3>> ("application/octet-stream") base64 nil ("attachment" (filename . "0F31DE07 - Personal.asc")) nil nil nil))
> gnus-mime-view-part()
I'm unable to reproduce the bug.
Looking at the code, it seems like the following is returning
something... something doesn't like:
(mapcar (lambda (i) (cdr (assoc 'viewer i)))
(mailcap-mime-info "application/octet-stream" 'all))
=> (mailcap-save-binary-file)
(Only that yours includes the "open" thing, too. Hm...
string-match("" mailcap-save-binary-file)
[...]
ido-set-matches-1(("/usr/bin/open %s" mailcap-save-binary-file) t)
Oh, you're triggering ido... Right:
gnus-ido-completing-read("Viewer: " (mailcap-save-binary-file "/usr/bin/open %s") nil nil nil nil)
gnus-completing-read("Viewer" (mailcap-save-binary-file "/usr/bin/open %s"))
And ido doesn't work on symbols.
Fix in No Gnus.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
This bug report was last modified 13 years and 223 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.