From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86003 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: Trying to get gnus-sync working with plink Date: Mon, 08 Jun 2015 18:25:06 +0200 Organization: Probably a good idea Message-ID: <86mw0arwv1.fsf@dod.no> References: <87twzdc86f.fsf@building.gnus.org> <8761bhzz0f.fsf@lifelogs.com> <878ugdxpuc.fsf@lifelogs.com> <86twv7p7nu.fsf_-_@dod.no> <86r3pnciof.fsf_-_@dod.no> <86r3pmnplm.fsf@dod.no> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1433780733 11350 80.91.229.3 (8 Jun 2015 16:25:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Jun 2015 16:25:33 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34238@lists.math.uh.edu Mon Jun 08 18:25:21 2015 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 1Z1zrO-0008Oj-HD for ding-account@gmane.org; Mon, 08 Jun 2015 18:25:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.84) (envelope-from ) id 1Z1zrI-0006Fq-1u; Mon, 08 Jun 2015 11:25:08 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1Z1zrG-0006FY-Mj for ding@lists.math.uh.edu; Mon, 08 Jun 2015 11:25:06 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1Z1zrF-00005u-Ek for ding@lists.math.uh.edu; Mon, 08 Jun 2015 11:25:06 -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 1Z1zrE-00053u-4D for ding@gnus.org; Mon, 08 Jun 2015 18:25:04 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Z1zrA-0008CX-LD for ding@gnus.org; Mon, 08 Jun 2015 18:25:00 +0200 Original-Received: from cm-84.208.248.210.getinternet.no ([84.208.248.210]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Jun 2015 18:25:00 +0200 Original-Received: from sb by cm-84.208.248.210.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Jun 2015 18:25:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 31 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.208.248.210.getinternet.no Mail-Copies-To: never User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (windows-nt) Cancel-Lock: sha1:FWZW73OU7wwQkDqcuHsRhrMg6KI= X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86003 Archived-At: >>>>> Steinar Bang : >> So I'm trying to go the SSH file sync route, and I'm trying use plink as >> the tramp method. >> I have done this in .emacs: >> (when windows-emacs >> (require 'tramp) >> (setenv "PATH" (concat "C:\\ProgramFiles\\PuTTY;" (getenv "PATH"))) >> (setq tramp-default-method "plink")) >> and I have done this in .gnus.el: >> (setq gnus-sync-backend '("/sb@sync.mydomain.no:sync/gnus") >> gnus-sync-global-vars '(gnus-newsrc-last-checked-date) >> gnus-sync-newsrc-groups '("nntp" "nnrss") >> gnus-sync-newsrc-offsets '(2 3)) > The problem was that I had made gnus-sync-backend a list containing a > string, instead of just a string. If I did it like this, it worked over > a plink tramp connection: Forgot to correct the lisp code, this is what works: (setq gnus-sync-backend "/sb@sync.mydomain.no:sync/gnus" gnus-sync-global-vars '(gnus-newsrc-last-checked-date) gnus-sync-newsrc-groups '("nntp" "nnrss") gnus-sync-newsrc-offsets '(2 3)) > Very slow compared to the lesync version, though. Not really. I just misinterpreted the feedback from the initial save and thought it was waiting for a response when it was actually finished.