From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.devel Subject: movemail re-write [was Re: TODO additions] Date: 06 Dec 2002 16:41:36 +0000 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200210291902.g9TJ2AY18220@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039207926 12256 80.91.224.249 (6 Dec 2002 20:52:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 6 Dec 2002 20:52:06 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18KPS9-0003BY-00 for ; Fri, 06 Dec 2002 21:52:05 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18KPaw-0002oN-00 for ; Fri, 06 Dec 2002 22:01:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18KPFt-00020Y-00; Fri, 06 Dec 2002 15:39:25 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18KPF6-0001e8-00 for emacs-devel@gnu.org; Fri, 06 Dec 2002 15:38:36 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18KPF3-0001cJ-00 for emacs-devel@gnu.org; Fri, 06 Dec 2002 15:38:35 -0500 Original-Received: from gnudist.gnu.org ([199.232.41.7]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18KOgZ-0001i7-00; Fri, 06 Dec 2002 15:02:55 -0500 Original-Received: from albion.dl.ac.uk ([148.79.80.39]) by gnudist.gnu.org with esmtp (Exim 4.10.13) id 18KLYk-0005NZ-00; Fri, 06 Dec 2002 11:42:38 -0500 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.35 #1 (Debian)) id 18KLXk-0001G8-00; Fri, 06 Dec 2002 16:41:36 +0000 Original-To: rms@gnu.org Original-Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9939 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9939 Richard Stallman writes: > The bulk of it was apparently done by > Sperber, but I didn't check it thoroughly. > > Would you be willing to check thoroughly, so we could tell if we could > use that code? I thought it made sense for anyone doing the work to see what code they needed first, but to save another round of mail I checked. [Most people could do this, but time I spend time on it is taken from mule work that nobody else helps handa with.] I can supply someone willing to do the work with a diff that's all Sperber's work, and thus assigned. It's between _old versions_ of the _XEmacs_ source, though. > Or do you have a different implementation to recommend to do the same > job? No. It may not be so difficult to change the compile-time checks in movemail to runtime ones; I don't know and I probably don't understand enough about locking methods. The idea is to specify a lock method that the system can support via environment variable EMACSLOCKMETHOD or a flag. E.g. on Debian with the binary from the XEmacs package: $ ./movemail --help Usage: movemail [-rvxkh] [-l lines ] [-m method ] [-i] inbox [-o] destfile [[-p] POP-password] where method is one of: dot, lockf, flock Default is: dot $ EMACSLOCKMETHOD=flock $ ./movemail --help Usage: movemail [-rvxkh] [-l lines ] [-m method ] [-i] inbox [-o] destfile [[-p] POP-password] where method is one of: dot, lockf, flock Default is: flock To allow reading several spools with different lock methods, any Lisp which runs movemail would probably have to be more flexible, of course.