From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57705 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: sieve: NO "Expected EOL" Date: Tue, 25 May 2004 16:24:59 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <9ehdu44ujk.fsf@fhi-berlin.mpg.de> <9en03w38of.fsf@fhi-berlin.mpg.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1085495156 28190 80.91.224.253 (25 May 2004 14:25:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 May 2004 14:25:56 +0000 (UTC) Original-X-From: ding-owner+M6245@lists.math.uh.edu Tue May 25 16:25:32 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BScrz-000275-00 for ; Tue, 25 May 2004 16:25:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BScrg-000300-00; Tue, 25 May 2004 09:25:12 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BScrb-0002zv-00 for ding@lists.math.uh.edu; Tue, 25 May 2004 09:25:07 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BScrY-0006Vo-Kn for ding@lists.math.uh.edu; Tue, 25 May 2004 09:25:04 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id AFBC83A0063 for ; Tue, 25 May 2004 09:25:03 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BScrX-0002Nw-00 for ; Tue, 25 May 2004 16:25:03 +0200 Original-Received: from c494102a.s-bi.bostream.se ([217.215.27.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 May 2004 16:25:03 +0200 Original-Received: from jas by c494102a.s-bi.bostream.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 May 2004 16:25:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 37 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c494102a.s-bi.bostream.se User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:XccjWFOyu4dMKai2pTDFvShMjuw= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57705 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57705 Jochen K=FCpper writes: > On Tue, 25 May 2004 14:00:11 +0200 Simon Josefsson wrote: > > Simon> Can you reproduce this using a smaller script, and post the entire > Simon> log? > > Attached. > > Seems to be a coding-system problem. In the manage-sieve log I see > \201 characters that where somehow hidden in my local sieve-script > buffer. I changed the script to ASCII-only and everything works fine. > (I'm happy with that solution, but can do some more testing (with > guidelines;) if it helps to enhance manage-sieve or emacs.) Ah. Hm. Sieve scripts are UTF-8, so perhaps the emacs-sieve stuff should do some conversion. Does the following patch do anything useful? Index: sieve-manage.el =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/local/cvsroot/gnus/lisp/sieve-manage.el,v retrieving revision 7.5 diff -u -p -u -w -r7.5 sieve-manage.el --- sieve-manage.el 20 May 2004 08:02:41 -0000 7.5 +++ sieve-manage.el 25 May 2004 14:24:33 -0000 @@ -160,8 +160,8 @@ for doing the actual authentication.") sieve-manage-server-eol sieve-manage-capability)) (defconst sieve-manage-default-stream 'network) -(defconst sieve-manage-coding-system-for-read 'binary) -(defconst sieve-manage-coding-system-for-write 'binary) +(defconst sieve-manage-coding-system-for-read 'utf-8) +(defconst sieve-manage-coding-system-for-write 'utf-8) (defvar sieve-manage-stream nil) (defvar sieve-manage-auth nil) (defvar sieve-manage-server nil)