From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80481 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-sync.el v2 Date: Thu, 03 Nov 2011 17:43:27 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <8739e4q3uo.fsf@lifelogs.com> References: <87mxcv3fu2.fsf@lifelogs.com> <87zkguv1yc.fsf@dod.no> <87ehy2le7h.fsf_-_@lifelogs.com> <87ehy2une3.fsf@dod.no> <87fwihi5qh.fsf@lifelogs.com> <87aa8pukqu.fsf@dod.no> <87sjmhghw9.fsf@lifelogs.com> <871uu1uh4e.fsf@dod.no> <874nyxm043.fsf@lifelogs.com> <87pqhicp6m.fsf@lifelogs.com> <87wrbqb4u8.fsf@lifelogs.com> <87lirw7w1d.fsf@dod.no> Reply-To: ding@gnus.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1320356651 8329 80.91.229.12 (3 Nov 2011 21:44:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Nov 2011 21:44:11 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28766@lists.math.uh.edu Thu Nov 03 22:44:07 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RM54w-0004k5-7R for ding-account@gmane.org; Thu, 03 Nov 2011 22:44:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1RM54h-0004bV-Tg; Thu, 03 Nov 2011 16:43:51 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RM54g-0004bI-Ki for ding@lists.math.uh.edu; Thu, 03 Nov 2011 16:43:50 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RM54f-0007qK-CF for ding@lists.math.uh.edu; Thu, 03 Nov 2011 16:43:50 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RM54d-0001eK-WD for ding@gnus.org; Thu, 03 Nov 2011 22:43:48 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RM54a-0004Yy-JP for ding@gnus.org; Thu, 03 Nov 2011 22:43:44 +0100 Original-Received: from c-76-28-40-19.hsd1.vt.comcast.net ([76.28.40.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Nov 2011 22:43:44 +0100 Original-Received: from tzz by c-76-28-40-19.hsd1.vt.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Nov 2011 22:43:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-76-28-40-19.hsd1.vt.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.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:H1ZHIA+PnM5M1HQyghyx9jFC86w= X-Spam-Score: -6.1 (------) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80481 Archived-At: On Thu, 03 Nov 2011 22:09:34 +0100 Steinar Bang wrote: SB> Another config item I'm confused about: SB> ;; against a LeSync server (beware the vampire LeSync, who knows your newsrc) SB> ;; (setq gnus-sync-backend '(lesync "http://lesync.info/sync.php") SB> ;; gnus-sync-global-vars `(gnus-newsrc-last-checked-date) SB> ;; gnus-sync-newsrc-groups `("nntp" "nnrss") SB> ;; gnus-sync-newsrc-offsets `(2 3)) SB> Is the local part of that URL right? Ie. "sync.php"? Sorry, I missed that in the instructions. Fixed. SB> Also: is there a way for me to transition my existing Tramp+EPA sync SB> file into the lesync couchdb database? Since merging of read in the SB> .newsrc.eld in gnus-sync v1 didn't work, I will probably lose a lot of SB> marks in the transition otherwise...? Your existing newsrc will be saved as is to LeSync. `gnus-sync-save' is 100% safe, it will never ever change your local marks, and it won't write if the revision has changed (meaning someone else has updated, in which case you need to `gnus-sync-read' first). So save and then use Futon (http://lesync.info:5984/_utils for example) to look at the data to be sure it's OK. `gnus-sync-read' will, currently, overwrite all local marks with what LeSync says, and update the revision for each newsgroup. Ted