emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Aspell does not work


From: Peter Dyballa
Subject: Aspell does not work
Date: Sun, 29 May 2005 20:58:16 +0200

Hello!

I'm not an experienced Aspell user, but since others have problems with it I try to find which and how. And now I have this problem when I invoke ispell-buffer:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  re-search-forward(nil 33 t)
  ispell-get-line(1 33 nil)
  byte-code("^Hb\210Æ ...
  ispell-region(1 347)
  ispell-buffer()
  call-interactively(ispell-buffer)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)

I'm not using some 'pure' Aspell installation but the cocoAspell service for Mac OS X (version 2.0.1, http://www.ict.usc.edu/~leuski/cocoaspell/home.html). Of course it has an aspell binary in /usr/local/bin, that allows to install other dictionaries. For GNU Emacs 23 I prepared some settings:

    (setq ispell-program-name "aspell")
    (setq ispell-dictionary "de")
    (ispell-change-dictionary "de")
    (set-default 'ispell-local-dictionary "de")

In the end I see aspell run as:

UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND 501 20699 20696 0 31 0 49832 2224 - Ss ?? 0:00.06 /usr/local/bin/aspell -a -m -d de



In GNU Emacs 22.0.50 I see aspell too do ispell's job, although I never intended to allow this:

UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND 501 20510 20480 0 31 0 49832 12040 - Ss ?? 0:05.36 /usr/local/bin/aspell -a -m -B

How comes this? How comes, that I can't finish a-spelling an ISO Latin-9 buffer:

Debugger entered--Lisp error: (args-out-of-range "" 2)
  string-match(" " "" 2)
  ispell-parse-output("" ("best" "Dings" "Dungs") 0)
ispell-process-line("^ Dings und Dungs, die den Sachverhalt best\xf64tigen k\xf76nnen.\n" nil)
  byte-code("^Hb\210Æ ...
  ispell-region(1 2591)
  ispell-buffer()
  call-interactively(ispell-buffer)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)



In GNU Emacs 23.0.0.1 (powerpc-apple-darwin7.9.0, GTK+ Version 2.4.9)
 of 2005-05-29 on Latsche.local
Distributor `The XFree86 Project, Inc', version 11.0.40300000
configured using `configure '--without-carbon' '--with-x' '--with-gtk' '--without-pop' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-png' '--with-gif' 'CFLAGS=-I/sw/include' 'CPPFLAGS=-I/sw/include' 'LDFLAGS=-L/sw/lib''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: de_DE.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
  desktop-save-mode: t
  display-time-mode: t
  mouse-sel-mode: t
  show-paren-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  column-number-mode: t
  line-number-mode: t
  next-error-follow-minor-mode:  Fol

--
Greetings

  Pete
                      ~  o
                       ~_\\_/\
                      ~  O   O





reply via email to

[Prev in Thread] Current Thread [Next in Thread]