Giter VIP home page Giter VIP logo

Comments (4)

leotaku avatar leotaku commented on June 29, 2024

It's safe to say that I'm am unable to reproduce the issue at my end.

It's quite hard to debug such an issue without access to any backtrace, so maybe you could try getting one by enabling debug-on-error and manually running (flymake-aspell--check (lambda (&rest _))) in a buffer. Then just paste the whole debugger output here.

If doing that does not produce an error backtrace, debugging the issue might be more difficult. In that case, please tell me what version of Emacs you are using.

from flycheck-aspell.

moesasji avatar moesasji commented on June 29, 2024

This is on the current latest stable: 27.1. Executing:

(flymake-aspell--check (lambda (&rest _)))

in the scratch buffer gives the following, what for me doesn't immediately reveal anything obvious

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  make-process(:name "flymake-aspell" :noquery t :connection-type pipe :buffer #<buffer  *flymake-aspell*-93229> :command ("aspell" "pipe" "-d" nil "--mode" "url" "--guess" "--sug-mode=normal") :sentinel #f(compiled-function (proc event) #<bytecode 0x14002ad>))
  flymake-aspell--check((closure (t) (&rest _)))
  (progn (flymake-aspell--check #'(lambda (&rest _))))
  eval((progn (flymake-aspell--check #'(lambda (&rest _)))) t)
  elisp--eval-last-sexp(nil)
  eval-last-sexp(nil)
  funcall-interactively(eval-last-sexp nil)
  call-interactively(eval-last-sexp record nil)
  command-execute(eval-last-sexp record)
  execute-extended-command(nil "eval-last-sexp" "eva")
  funcall-interactively(execute-extended-command nil "eval-last-sexp" "eva")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

prior to this flyspell was working fine; the aspell version on my system:

[......:.emacs.d] $ aspell --version
@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.8)

from flycheck-aspell.

leotaku avatar leotaku commented on June 29, 2024

Got it! (At least I am mostly certain)

You don't seem to have either ispell-dictionary or ispell-local-dictionary defined, which is what my package uses to determine what language to use.

Try setting one the dictionary variables (eg. to "en_US") and see if that fixes the problem. In any case, I will most likely make the package default to English if no dictionary is set. (In fact, flycheck-aspell already does that.)

from flycheck-aspell.

moesasji avatar moesasji commented on June 29, 2024

setting ispell-dictionary indeed was the solution to make it work, thanks!

btw) Setting a default language to avoid this is issue would indeed be a good thing.

from flycheck-aspell.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.