From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/34801 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: [patch] imap.el imap-gssapi-open fix Date: Thu, 15 Feb 2001 10:22:40 +0100 (CET) Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1035170656 32168 80.91.224.250 (21 Oct 2002 03:24:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:24:16 +0000 (UTC) Cc: , Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by mailhost.sclp.com (Postfix) with ESMTP id A616FD049D for ; Thu, 15 Feb 2001 04:24:43 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id DAC03676; Thu, 15 Feb 2001 03:23:20 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 15 Feb 2001 03:22:25 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id DAA12589 for ; Thu, 15 Feb 2001 03:22:16 -0600 (CST) Original-Received: from slipsten.extundo.com (slipsten.extundo.com [195.42.214.241]) by mailhost.sclp.com (Postfix) with ESMTP id 9C186D049D; Thu, 15 Feb 2001 04:22:44 -0500 (EST) Original-Received: from localhost (jas@localhost) by slipsten.extundo.com (8.9.3/8.9.3) with ESMTP id KAA04148; Thu, 15 Feb 2001 10:22:41 +0100 X-Authentication-Warning: slipsten.extundo.com: jas owned process doing -bs Original-To: NAGY Andras In-Reply-To: Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 19 Xref: main.gmane.org gmane.emacs.gnus.general:34801 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:34801 On 15 Feb 2001, NAGY Andras wrote: > Solution: in imap-gssapi-open, set imap-calculate-literal-size-first > to the correct value, besides imap-client-eol, as seen in > imap-kerberos4-open. Thanks! Commited. > Other possible occurrence: imap-shell-open also sets imap-client-eol > but not imap-calculate-literal-size-first. As I'm unable to test > this, not included in the patch. In shell streams, \r's are usually not altered by the transport (imtest do that). But it really depends on how the "shell" stream work -- if you run imtest in a shell-stream, you need to set i-c-l-s-f. I think it should not be used when the shell stream is something like "ssh mailserver imapd". I'm not sure there's a perfect default behaviour.