Gnus development mailing list
 help / color / mirror / Atom feed
* A bug in gnus-mime-view-part-internally
@ 2007-06-04 10:40 Leo
  2007-06-04 11:59 ` Katsumi Yamaoka
  0 siblings, 1 reply; 5+ messages in thread
From: Leo @ 2007-06-04 10:40 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 468 bytes --]

Dear Gnus,

If you go to the attachment of this post and hit 'E', assuming that your
Gnus doesn't know how to handle mimetype "application/octet-stream", you
will then be prompted in minibuffer:

  View as MIME Type (default application/octet-stream):

Now if you press any key an error message will be displayed:

  Error in post-command-hook: (wrong-type-argument stringp (text/xml))

And the biggest inconvenience is that it does not do completing-reading
at all.


[-- Attachment #2: test.pov --]
[-- Type: application/octet-stream, Size: 54 bytes --]

(defun text ()
  "这个是函数。"
  (do-nothing))

[-- Attachment #3: Type: text/plain, Size: 131 bytes --]


This is tested in No Gnus with latest check out.

HTH,
-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: A bug in gnus-mime-view-part-internally
  2007-06-04 10:40 A bug in gnus-mime-view-part-internally Leo
@ 2007-06-04 11:59 ` Katsumi Yamaoka
  2007-06-04 13:12   ` Leo
  0 siblings, 1 reply; 5+ messages in thread
From: Katsumi Yamaoka @ 2007-06-04 11:59 UTC (permalink / raw)
  To: ding

>>>>> In <m2y7j0ovd0.fsf@sl392.st-edmunds.cam.ac.uk> Leo wrote:

> If you go to the attachment of this post and hit 'E', assuming that your
> Gnus doesn't know how to handle mimetype "application/octet-stream", you
> will then be prompted in minibuffer:

>   View as MIME Type (default application/octet-stream):

> Now if you press any key an error message will be displayed:

>   Error in post-command-hook: (wrong-type-argument stringp (text/xml))

> And the biggest inconvenience is that it does not do completing-reading
> at all.

> This is tested in No Gnus with latest check out.

Fixed in both the trunk and the v5-10 branch.  Thanks.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: A bug in gnus-mime-view-part-internally
  2007-06-04 11:59 ` Katsumi Yamaoka
@ 2007-06-04 13:12   ` Leo
  2007-06-05  3:57     ` Katsumi Yamaoka
  0 siblings, 1 reply; 5+ messages in thread
From: Leo @ 2007-06-04 13:12 UTC (permalink / raw)
  To: ding

----- Katsumi Yamaoka (2007-06-04) wrote:-----

>> If you go to the attachment of this post and hit 'E', assuming that
>> your Gnus doesn't know how to handle mimetype
>> "application/octet-stream", you will then be prompted in minibuffer:
>
>>   View as MIME Type (default application/octet-stream):
>
>> Now if you press any key an error message will be displayed:
>
>>   Error in post-command-hook: (wrong-type-argument stringp (text/xml))
>
>> And the biggest inconvenience is that it does not do
>> completing-reading at all.
>
>> This is tested in No Gnus with latest check out.
>
> Fixed in both the trunk and the v5-10 branch.  Thanks.

The error is now gone. However, still a few problems.

  o  mimetype default to nil
  o  the number of completions are much less than in "K t"
     (gnus-article-view-part-as-type)

HTH,
-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: A bug in gnus-mime-view-part-internally
  2007-06-04 13:12   ` Leo
@ 2007-06-05  3:57     ` Katsumi Yamaoka
  2007-06-05  6:28       ` Leo
  0 siblings, 1 reply; 5+ messages in thread
From: Katsumi Yamaoka @ 2007-06-05  3:57 UTC (permalink / raw)
  To: ding

>>>>> In <m2zm3fc17s.fsf@sl392.st-edmunds.cam.ac.uk> Leo wrote:

> The error is now gone. However, still a few problems.

>   o  mimetype default to nil

What do you think is a good default for a MIME type that Gnus
doesn't know?  Isn't `none' the best candidate?

>   o  the number of completions are much less than in "K t"
>      (gnus-article-view-part-as-type)

The `E' command (gnus-mime-view-part-internally) on the button
does the same.  Those commands, that are for displaying internally
a part, use a filter which excludes types with which Gnus doesn't
work.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: A bug in gnus-mime-view-part-internally
  2007-06-05  3:57     ` Katsumi Yamaoka
@ 2007-06-05  6:28       ` Leo
  0 siblings, 0 replies; 5+ messages in thread
From: Leo @ 2007-06-05  6:28 UTC (permalink / raw)
  To: ding

----- Katsumi Yamaoka (2007-06-05) wrote:-----

>> The error is now gone. However, still a few problems.
>
>>   o  mimetype default to nil
>
> What do you think is a good default for a MIME type that Gnus
> doesn't know?  Isn't `none' the best candidate?
>
>>   o  the number of completions are much less than in "K t"
>>      (gnus-article-view-part-as-type)
>
> The `E' command (gnus-mime-view-part-internally) on the button
> does the same.  Those commands, that are for displaying internally
> a part, use a filter which excludes types with which Gnus doesn't
> work.

Ah, right. Sorry for that stupid question. This does make more sense.

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-06-05  6:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-04 10:40 A bug in gnus-mime-view-part-internally Leo
2007-06-04 11:59 ` Katsumi Yamaoka
2007-06-04 13:12   ` Leo
2007-06-05  3:57     ` Katsumi Yamaoka
2007-06-05  6:28       ` Leo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).