From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Eglen Newsgroups: gmane.emacs.devel Subject: flyspell bug Date: Mon, 25 Apr 2005 12:30:06 +0100 Message-ID: <17004.54462.897131.4559@notch.amtp.cam.ac.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1114428367 3216 80.91.229.2 (25 Apr 2005 11:26:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Apr 2005 11:26:07 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 25 13:26:05 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DQ1is-0003gZ-RH for ged-emacs-devel@m.gmane.org; Mon, 25 Apr 2005 13:25:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQ1oO-00035k-FE for ged-emacs-devel@m.gmane.org; Mon, 25 Apr 2005 07:31:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DQ1oC-00034i-Sr for emacs-devel@gnu.org; Mon, 25 Apr 2005 07:31:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DQ1oB-00032w-4w for emacs-devel@gnu.org; Mon, 25 Apr 2005 07:31:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQ1oA-0001v4-WC for emacs-devel@gnu.org; Mon, 25 Apr 2005 07:31:23 -0400 Original-Received: from [131.111.8.133] (helo=ppsw-3.csi.cam.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DQ1qR-0005DO-LH for emacs-devel@gnu.org; Mon, 25 Apr 2005 07:33:43 -0400 Original-Received: from smtp.damtp.cam.ac.uk ([131.111.18.84]:64404 helo=medulla.damtp.cam.ac.uk) by ppsw-3.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.133]:25) with esmtp id 1DQ1mz-0005Yp-AJ (Exim 4.44) for emacs-devel@gnu.org (return-path ); Mon, 25 Apr 2005 12:30:09 +0100 Original-Received: from notch.amtp.cam.ac.uk ([131.111.16.112] ident=[wKk+/LE/vmgZK1SCHtljsG+a5csEkWyv]) by medulla.damtp.cam.ac.uk with esmtp (Exim 4.32) id 1DQ1mw-00033E-Vm for emacs-devel@gnu.org; Mon, 25 Apr 2005 12:30:06 +0100 Original-Received: from sje30 by notch.amtp.cam.ac.uk with local (Exim 4.12) id 1DQ1mw-0003wC-00 for emacs-devel@gnu.org; Mon, 25 Apr 2005 12:30:06 +0100 Original-To: emacs-devel@gnu.org X-Mailer: VM 7.17 under Emacs 22.0.50.1 X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ X-Cam-AntiVirus: No virus found X-Cam-SpamDetails: Not scanned X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36359 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36359 In today's CVS emacs: emacs -q C-h N M-x flyspell-buffer I get: Error: Can't check region and *flyspell-region* contains: Error: Could not open the file "list" for reading. This is compatibility problem between ispell and aspell. I have: $ ispell -v @(#) International Ispell Version 3.1.20 (but really Aspell 0.50.5) Relevant settings: ispell-really-aspell t ispell-program-name "ispell" The problem is that ispell doesn't allow the "list" command: $ echo "hello hhh" | ispell list Error: Could not open the file "list" for reading. whereas all the followng forms work (flagging hhh as a typo): $ echo "hello hhh" | ispell -l $ echo "hello hhh" | aspell list $ echo "hello hhh" | aspell -l So can I suggest we make the simple change within: (defun flyspell-large-region (beg end) from (if ispell-really-aspell "list" "-l") (line 1332) to "-l" Or are thing likely to be more complex depending on ispell/aspell version? Stephen