From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87160 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-cloud work Date: Mon, 25 Jul 2016 09:00:23 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87oa5l50uw.fsf@lifelogs.com> References: <87io0y4bw4.fsf_-_@lifelogs.com> <87lh3439r6.fsf@dod.no> <87bn3vs1tb.fsf@lifelogs.com> <877fe0svto.fsf@lifelogs.com> <87r3by2sfd.fsf_-_@lifelogs.com> <87wplnzhvb.fsf@lifelogs.com> <8737nukab5.fsf@ericabrahamsen.net> <87a8i2n2i7.fsf@lifelogs.com> <878txm6rsy.fsf@ericabrahamsen.net> <87poqxjls5.fsf@lifelogs.com> <87shvsj1lg.fsf@lifelogs.com> <87lh1eg6s6.fsf@lifelogs.com> <87d1m8bh5z.fsf@lifelogs.com> <86wpkcaym2.fsf@dod.no> <86mvl7f9eh.fsf@dod.no> <86invvf96u.fsf@dod.no> <86d1m3f60a.fsf@dod.no> Reply-To: ding@gnus.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1469451727 14238 80.91.229.3 (25 Jul 2016 13:02:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Jul 2016 13:02:07 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M35380@lists.math.uh.edu Mon Jul 25 15:01:55 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bRfW7-0002uP-1y for ding-account@gmane.org; Mon, 25 Jul 2016 15:01:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.86_2) (envelope-from ) id 1bRfUr-0002c0-Gq; Mon, 25 Jul 2016 08:00:37 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86_2) (envelope-from ) id 1bRfUn-0002bV-V8 for ding@lists.math.uh.edu; Mon, 25 Jul 2016 08:00:34 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.86_2) (envelope-from ) id 1bRfUk-0002qV-U3 for ding@lists.math.uh.edu; Mon, 25 Jul 2016 08:00:33 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1bRfUj-0007RZ-Bj for ding@gnus.org; Mon, 25 Jul 2016 15:00:29 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bRfUi-0001ta-R1 for ding@gnus.org; Mon, 25 Jul 2016 15:00:28 +0200 Original-Received: from c-98-229-60-157.hsd1.ma.comcast.net ([98.229.60.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Jul 2016 15:00:28 +0200 Original-Received: from tzz by c-98-229-60-157.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Jul 2016 15:00:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 48 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-229-60-157.hsd1.ma.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:oXY69RxOxpR7QXdDtdHo3gfEYfs= X-Spam-Score: -4.2 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:87160 Archived-At: On Sun, 24 Jul 2016 16:46:45 +0200 Steinar Bang wrote: SB> I switched gnus-cloud-storage-method to base64+gzip and now storage SB> seems to work. At least, the group nnimap+privat:Emacs-Cloud has been SB> created, containing 1 article. Yup. SB> Looking at the contents of the article (directly in the Maildir SB> directory of the folder on the dovecot server) it does indeed seem to be SB> base64 followed by gzip (ie. the body of the article is binary, meaning SB> gzip last). SB> That was a bit unexpected... I would have thought SB> gzip-followed-by-base64 would be the natural way to go for storing data SB> in an email system...? I don't know why that would happen. Look at the code: #+begin_src lisp (defun gnus-cloud-encode-data () (cond ((eq gnus-cloud-storage-method 'base64-gzip) (call-process-region (point-min) (point-max) "gzip" t (current-buffer) nil "-c")) ((memq gnus-cloud-storage-method '(base64 base64-gzip)) (base64-encode-region (point-min) (point-max))) ... #+end_src It gzips, then does base64. >>>>>> Ted Zlatanov : >> Once upload, download, and sequence numbers are settled, I'll squash >> all the commits and merge this into Emacs master branch. SB> Why squash the commits? I made a lot of small commits playing around with the rewrite. Most had bad commit messages and were unstructured (touching many areas). Also, this is a pretty big rewrite, so it makes sense to squash into one large change that can be reviewed easily. But I certainly could have done small commits too, I was just lazy :) Ted