Comments (4)
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.
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.
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.
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)
- Check for spelling mistakes in the comments of source code. HOT 3
- How does this package compare to flyspell? HOT 2
- How to config flycheck-aspell? HOT 12
- `flycheck-aspell--handle-and` errors on curly quotes HOT 1
- flymake-aspell-setup results in void variable flymake-diagnostic-functions HOT 2
- Describe how to deal with different languages HOT 3
- Quelpa error, "Package lacks a file header" HOT 2
- Args out of range processing markdown HOT 8
- error in required aspell version HOT 1
- submit package to melpa HOT 3
- autoloading cookies missing? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flycheck-aspell.