Giter VIP home page Giter VIP logo

Comments (11)

djcb avatar djcb commented on July 24, 2024

You mean scanning attached pdf documents during 'mu index'?

from mu.

martinbalfanz avatar martinbalfanz commented on July 24, 2024

I don't mean the pdf's contents, but if the file is inlined (Content-Disposition: inline;) the message should be flagged with a as if it was a "real" attachment.

I hope that clarifies it a little :-)

from mu.

djcb avatar djcb commented on July 24, 2024

Sure, thanks. I've pushed some changes, which hopefully help wrt the mu4e part of this.

from mu.

djcb avatar djcb commented on July 24, 2024

Ok, this should be fixed in git.

from mu.

akopytov avatar akopytov commented on July 24, 2024

I stll have a problem with inline attachments in 0.9.9.5-dev4. Attachments with the following headers neither flag the message with 'a', nor do the show up in the message body (i.e. they are absolutely invisible without using mu4e-view-raw-message):

Content-Disposition: inline; filename="review-diff.txt"
MIME-Version: 1.0
Content-Type: text/x-diff; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

from mu.

djcb avatar djcb commented on July 24, 2024

Can you attach an example message file that has this problem? Thanks!

from mu.

akopytov avatar akopytov commented on July 24, 2024

Not sure how to properly attach files on github. Hope this will work: https://gist.github.com/4107377

In that email, there's no way to read (or even know it exists) review-diff.txt other than mu4e-view-raw-message.

from mu.

djcb avatar djcb commented on July 24, 2024

Sadly, that didn't work (I get a 20 byte file from that link). Can you send it to me through normal email? Thanks.

from mu.

akopytov avatar akopytov commented on July 24, 2024

Sorry, I have updated that link, it should have the email contents now.

I also did some quick tests. It appears that the root cause is a combination of "text/x-diff" for the Content-Type header and "inline" for Content-Disposition. Sending "text/plain" attachments inline works just fine, i.e. they are both indexed and visible in the mu4e message view.

from mu.

djcb avatar djcb commented on July 24, 2024

Thanks -- I've made a change, hopefully in the latest git, it is fixed.

from mu.

djcb avatar djcb commented on July 24, 2024

Closing.

from mu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.