From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46369 Path: main.gmane.org!not-for-mail From: Alexander Kotelnikov Newsgroups: gmane.emacs.gnus.general Subject: Re: emacs -batch -l ~/.emacs -f gnus-agent-batch Date: Tue, 03 Sep 2002 22:34:30 +0400 Organization: Debian Project Sender: owner-ding@hpc.uh.edu Message-ID: <878z2i9b2h.fsf@pale.loc> References: <87it1na5d5.fsf@pale.loc> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031078566 13941 127.0.0.1 (3 Sep 2002 18:42:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Sep 2002 18:42:46 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17mIdQ-0003cg-00 for ; Tue, 03 Sep 2002 20:42:44 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17mIdA-0001zV-00; Tue, 03 Sep 2002 13:42:28 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 03 Sep 2002 13:42:59 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id NAA26016 for ; Tue, 3 Sep 2002 13:42:36 -0500 (CDT) Original-Received: (qmail 4859 invoked by alias); 3 Sep 2002 18:41:55 -0000 Original-Received: (qmail 4852 invoked from network); 3 Sep 2002 18:41:54 -0000 Original-Received: from pet-relcom.softjoys.ru (HELO pet.softjoys.ru) (212.113.101.73) by gnus.org with SMTP; 3 Sep 2002 18:41:54 -0000 Original-Received: from pale.loc (mail@pale.softjoys.ru [212.113.101.137]) by pet.softjoys.ru (8.11.0/8.11.0) with ESMTP id g83Ii0o06241 for ; Tue, 3 Sep 2002 22:44:00 +0400 (MSD) Original-Received: from sacha by pale.loc with local (Exim 3.36 #1 (Debian)) id 17mIcY-0006GL-00 for ; Tue, 03 Sep 2002 22:41:50 +0400 Original-To: ding@gnus.org X-Face: (uU)eOi[yT~l(bwno'Pl_Z-MbLa:<"SX"r]IQb3zJ8G[n(PGcwS^;\?oSN~iz{IrR3`=_A- ]ghp.+wSOFa}KX@4m{Nl!yP)&v;o8~ (Simon Josefsson's message of "Tue, 03 Sep 2002 18:13:42 +0200") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.2 (i386-debian-linux-gnu) Original-Lines: 31 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46369 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46369 >>>>> On Tue, 03 Sep 2002 18:13:42 +0200 >>>>> "SJ" == Simon Josefsson wrote: SJ> SJ> Alexander Kotelnikov writes: >> This command could not be run for imap backend without controlling >> terminal: >> 11:39 pts/0 sacha@pale:~ 41> emacs -batch -l ~/.emacs -f gnus-agent-batch > imap: Connecting to giotto.sj.ru... >> imap: Opening IMAP connection with `ssh -q %s /usr/sbin/imapd'... >> zsh: hangup emacs -batch -l ~/.emacs -f gnus-agent-batch < /dev/null SJ> SJ> Does this patch together with frobing `imap-process-connection-type' SJ> help? (Line numbers might differ, it is in `imap-shell-open'.) It does not. imap-process-connection-type is t. SJ> SJ> --- imap.el.~6.39.~ 2002-08-12 23:09:16.000000000 +0200 SJ> +++ imap.el 2002-08-27 12:17:32.000000000 +0200 SJ> @@ -681,6 +689,7 @@ SJ> (let* ((port (or port imap-default-port)) SJ> (coding-system-for-read imap-coding-system-for-read) SJ> (coding-system-for-write imap-coding-system-for-write) SJ> + (process-connection-type imap-process-connection-type) SJ> (process (start-process SJ> name buffer shell-file-name shell-command-switch SJ> (format-spec SJ> -- Alexander Kotelnikov Saint-Petersburg, Russia