unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* multipart/alternative bug
@ 2012-08-13 15:50 hellekin
  2012-08-13 16:48 ` Jameson Graef Rollins
  2012-08-13 17:52 ` Dmitrijs Ledkovs
  0 siblings, 2 replies; 3+ messages in thread
From: hellekin @ 2012-08-13 15:50 UTC (permalink / raw)
  To: notmuch


Hello, 

as I mentioned on IRC a few days ago, there are some cases where:

  - a thread only displays the first message
  - key bindings do not work at all (except q)

By trial and error, I could nail down the issue to multipart/alternative
support. I had set notmuch to only show the text/plain part of an email
before hitting the bug, and by setting "Notmuch Show All
Multipart/Alternative Parts" to *off* in notmuch-show configuration, the
bug disappeared. 

I'm sorry not to be able to dig further, but I hope this tip will help
users to avoid the issue, and developers to find and fix the bug.

Cheers,

==
hk

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

* Re: multipart/alternative bug
  2012-08-13 15:50 multipart/alternative bug hellekin
@ 2012-08-13 16:48 ` Jameson Graef Rollins
  2012-08-13 17:52 ` Dmitrijs Ledkovs
  1 sibling, 0 replies; 3+ messages in thread
From: Jameson Graef Rollins @ 2012-08-13 16:48 UTC (permalink / raw)
  To: hellekin, notmuch

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

On Mon, Aug 13 2012, hellekin <hellekin@cepheide.org> wrote:
> as I mentioned on IRC a few days ago, there are some cases where:
>
>   - a thread only displays the first message
>   - key bindings do not work at all (except q)
>
> By trial and error, I could nail down the issue to multipart/alternative
> support. I had set notmuch to only show the text/plain part of an email
> before hitting the bug, and by setting "Notmuch Show All
> Multipart/Alternative Parts" to *off* in notmuch-show configuration, the
> bug disappeared. 
>
> I'm sorry not to be able to dig further, but I hope this tip will help
> users to avoid the issue, and developers to find and fix the bug.

Hi, hk.  I'm going to go out on a limb and guess that this is actually
probably *not* an issue with multipart/alternative but instead with
whatever is in that alternative part.  If you set
notmuch-show-all-multipart/alternative to off you're only seeing the
text/plain part.  If there's something crazy in the alternative part,
something that's not getting decoded correctly maybe, then that might
screw up the buffer.

Can you use the command line UI to determine what else is in the
offending message?  Is it just a text/html part, or is there something
else more exotic?  A lot of popular but broken MUAs stuff
non-alternative stuff into alternative parts.

You can grab the message id (id:XXX) of the offending message with 'c i'
in the emacs UI, and the look at it on the command line with:

notmuch show id:XXX

hth.

jamie.

ps. In general the command line UI is a great resource for figuring out
what might be causing problems in the emacs UI.

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

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

* Re: multipart/alternative bug
  2012-08-13 15:50 multipart/alternative bug hellekin
  2012-08-13 16:48 ` Jameson Graef Rollins
@ 2012-08-13 17:52 ` Dmitrijs Ledkovs
  1 sibling, 0 replies; 3+ messages in thread
From: Dmitrijs Ledkovs @ 2012-08-13 17:52 UTC (permalink / raw)
  To: notmuch

On 13 August 2012 16:50, hellekin <hellekin@cepheide.org> wrote:
>
> Hello,
>
> as I mentioned on IRC a few days ago, there are some cases where:
>
>   - a thread only displays the first message
>   - key bindings do not work at all (except q)
>

Does this in ~/.emacs help ?

(defvar gnus-inhibit-images nil "*testing")
(set-variable 'gnus-inhibit-images nil)

Don't ask why..... I have no clue!

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

end of thread, other threads:[~2012-08-13 17:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-13 15:50 multipart/alternative bug hellekin
2012-08-13 16:48 ` Jameson Graef Rollins
2012-08-13 17:52 ` Dmitrijs Ledkovs

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

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 read-only IMAP folder(s) and NNTP newsgroup(s).