Go Back   maemo.org - Talk > Software > Applications
 
Register FAQ Community Calendar Today's Posts Search

Notices

Reply
 
Thread Tools
  #1  
Old 2010-06-10, 14:11
matthew_exon matthew_exon is offline
 
Join Date: Feb 2008
Posts: 72
Thanks!: 27
Thanked 58 Times in 19 Posts
Default Modest patch: offline IMAP support

I've always been annoyed by the standard Maemo mail readers' inability to cache mail for offline reading.

For me, the real value of a pocketable computer is when I'm travelling overseas: that's the only time I spend long periods without access to my computer. But when I'm travelling I don't have Internet access - at best, maybe I can manage an unreliable wifi connection for half an hour. Nokia continues to insist that the tablets are "always on", and therefore offline caching (of web pages, maps, emails, etc etc) is unnecessary, so my tablet is constantly failing me precisely when I need it most. If only Android or iOS were any better I'd switch in a snap, but of course they're even worse!

But anyway, better to light a candle than curse the darkness, so...

These patched binaries allow me to cache my email, at least. Actually I just switched on functionality that has been present in Modest and Tinymail since the projects were started, but functionality that was broken and disabled. Frustrating to know that it was so close to working all this time!

http://mat.exon.name/modest/

I don't intend to support these at all, and no doubt the next release of Tinymail and/or Modest will obliterate the functionality. If you're interested in a more permanent solution, here's the critical bug report:

http://tinymail.org/trac/tinymail/ticket/91

Last edited by matthew_exon; 2010-06-10 at 14:15.
Reply With Quote
The Following 27 Users Say Thank You to matthew_exon For This Useful Post:
  #2  
Old 2010-06-10, 17:52
gordonshowers gordonshowers is offline
 
Join Date: Apr 2010
Location: Pompey, UK
Posts: 55
Thanks!: 599
Thanked 18 Times in 14 Posts
Default Re: Modest patch: offline IMAP support

I used a slightly awkward workaround. I had set a rule on each email account to copy all mail to an "archive to phone" gmail account, and added that gmail account to modest on my phone. Then from modest I used the "move message" option to move each message to a folder on the memory card. You can also select the phone memory.

If only there was a "copy message" command as well as move, I wouldn't have needed the intermediate archiving gmail account.

Edit: Thanks a lot matthew_exon, I can now delete my intermediate gmail account!

Last edited by gordonshowers; 2010-06-10 at 19:00. Reason: Changed to past tense, having installed OP's files :-)
Reply With Quote
  #3  
Old 2010-06-10, 18:06
manavs manavs is offline
 
Join Date: Feb 2010
Location: AZ
Posts: 77
Thanks!: 159
Thanked 35 Times in 25 Posts
Default Re: Modest patch: offline IMAP support

I am assuming there would be a considerable speed increase when opening/browsing those imap folders as they would be pulled from the cache? Or will this only help with reading mail offline?
Reply With Quote
  #4  
Old 2010-06-11, 06:48
matthew_exon matthew_exon is offline
 
Join Date: Feb 2008
Posts: 72
Thanks!: 27
Thanked 58 Times in 19 Posts
Default Re: Modest patch: offline IMAP support

Oh yeah, almost forgot, the big speed improvement is the other advantage of this :-) No need to be in offline mode, it's always faster.
Reply With Quote
The Following 2 Users Say Thank You to matthew_exon For This Useful Post:
  #5  
Old 2010-06-11, 08:27
ruskie ruskie is offline
 
Join Date: Aug 2009
Location: Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
Posts: 543
Thanks!: 23
Thanked 181 Times in 104 Posts
Default Re: Modest patch: offline IMAP support

I'll stick to a non-caching imap client. But still great for those that want it.. it should be an opiton in the official client(no not enabled or disabled) but actually asked for each account.

Have you considered pushing the entire patch upstream?
__________________
For any repos or anything else I might have working on my N900 see:
http://wiki.maemo.org/User:Ruskie
A quick list of what I have in the repos
zsh|xmms2|fcron|gtar|gcoreutils
Reply With Quote
  #6  
Old 2010-06-11, 11:35
matthew_exon matthew_exon is offline
 
Join Date: Feb 2008
Posts: 72
Thanks!: 27
Thanked 58 Times in 19 Posts
Default Re: Modest patch: offline IMAP support

The whole thing depends on the bug in Tinymail being fixed. Until that happens, pushing the patch upstream will just result in memory leaks.
Reply With Quote
  #7  
Old 2010-06-11, 11:40
dack001 dack001 is offline
 
Join Date: Nov 2009
Posts: 35
Thanks!: 8
Thanked 17 Times in 10 Posts
Default Re: Modest patch: offline IMAP support

Nice!
May i ask where those mails are chached?
In the 2 gig ineternal or on the big fat-partition?
Reply With Quote
  #8  
Old 2010-06-11, 14:33
hawaii's Avatar
hawaii hawaii is offline
 
Join Date: Jun 2009
Posts: 1,030
Thanks!: 317
Thanked 792 Times in 376 Posts
Default Re: Modest patch: offline IMAP support

Installing the patched package removes the generic-pr package, FWIW.

Best not to confuse with original packages so using +offline was a good thing, if anybody wants to sort it; simply edit the control file and use the original versions so nothing is conflicting. with the PR package expects.

Thank you very much for patching and packaging this.

Last edited by hawaii; 2010-06-11 at 14:47.
Reply With Quote
  #9  
Old 2010-06-11, 15:15
hawaii's Avatar
hawaii hawaii is offline
 
Join Date: Jun 2009
Posts: 1,030
Thanks!: 317
Thanked 792 Times in 376 Posts
Default Re: Modest patch: offline IMAP support

Seems to change the font in a reply window for some reason? Related?
Reply With Quote
  #10  
Old 2010-06-11, 15:21
pelago's Avatar
pelago pelago is offline
 
Join Date: Mar 2008
Location: Oxford, UK
Posts: 2,121
Thanks!: 6,461
Thanked 1,540 Times in 755 Posts
Default Re: Modest patch: offline IMAP support

Many thanks for this. Maybe the package and executable should be called "modest-community" or similar, to allow it to sit side-by-side with the official modest, if that will help avoid upgrade problems. It would also more easily allow users to compare and switch between the two versions.

I wonder if there are other community-created modest or tinymail patches that could be added to this version. Of course, these things should be pushed upstream, but it would be nice to be able to use fixed versions without having to wait for Nokia to release the next PR.
Reply With Quote
The Following 2 Users Say Thank You to pelago For This Useful Post:
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:12.