unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Subject: [S.J.Eglen@damtp.cam.ac.uk: flyspell bug]
Date: Wed, 11 May 2005 12:28:45 -0400	[thread overview]
Message-ID: <E1DVu4j-0003nU-2z@fencepost.gnu.org> (raw)

Can someone you possibly look at debugging this?
(Please respond to this message if you debug it.)

------- Start of forwarded message -------
From: Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
Date: Mon, 25 Apr 2005 12:30:06 +0100
To: emacs-devel@gnu.org
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
X-Cam-AntiVirus: No virus found
X-Cam-SpamDetails: Not scanned
Subject: flyspell bug
Sender: emacs-devel-bounces+rms=gnu.org@gnu.org
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on monty-python
X-Spam-Level: 
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63


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


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
------- End of forwarded message -------

                 reply	other threads:[~2005-05-11 16:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1DVu4j-0003nU-2z@fencepost.gnu.org \
    --to=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).