Emacs helm-flyspell-correct (wrong-type-argument stringp nil) error












0















I have installed emacs on a new mac machine and the spell checker (which used to work on an older machine) has stopped working. Here is the details:



OS: MacOS Mojave, V. 10.14.2



Emacs: GNU Emacs 26.1 (build 1, x86_64-apple-darwin18.2.0, Carbon Version 158 Appkit 1671.1) of 2018-11-17



helm-flyspell set up:



(use-package helm-flyspell
:ensure t)



(setq ispell-program-name "/opt/local/bin/hunspell")



(global-set-key (kbd "< f8 >") 'helm-flyspell-correct)



hunspell: it is installed via macports together with a dictionary



Backtrace output:



Debugger entered--Lisp error: (wrong-type-argument stringp nil)



string-match("," nil 0)



split-string(nil "," t)



ispell-parse-hunspell-affix-file(nil)



ispell-hunspell-fill-dictionary-entry(nil)



ispell-start-process()



ispell-init-process()



ispell-buffer-local-words()



ispell-accept-buffer-local-defs()



flyspell-accept-buffer-local-defs()



helm-flyspell-correct()



funcall-interactively(helm-flyspell-correct)



call-interactively(helm-flyspell-correct nil nil)



command-execute(helm-flyspell-correct)



Does anyone know what is going wrong? I have limited Elisp knowledge. It appears that the word I want to check its spelling by placing my cursor around it and pressing F8 key is not parsed and passed to the spell checker properly. I should also add that I get error when I want to enable flyspell-mode. The error message in the echo area is the same (stringp nill) but I cannot get the backtrace output on that.



Many thanks,



PS: I have reinstalled helm-flyspell without any effect.










share|improve this question













migrated from superuser.com Jan 8 at 22:09


This question came from our site for computer enthusiasts and power users.























    0















    I have installed emacs on a new mac machine and the spell checker (which used to work on an older machine) has stopped working. Here is the details:



    OS: MacOS Mojave, V. 10.14.2



    Emacs: GNU Emacs 26.1 (build 1, x86_64-apple-darwin18.2.0, Carbon Version 158 Appkit 1671.1) of 2018-11-17



    helm-flyspell set up:



    (use-package helm-flyspell
    :ensure t)



    (setq ispell-program-name "/opt/local/bin/hunspell")



    (global-set-key (kbd "< f8 >") 'helm-flyspell-correct)



    hunspell: it is installed via macports together with a dictionary



    Backtrace output:



    Debugger entered--Lisp error: (wrong-type-argument stringp nil)



    string-match("," nil 0)



    split-string(nil "," t)



    ispell-parse-hunspell-affix-file(nil)



    ispell-hunspell-fill-dictionary-entry(nil)



    ispell-start-process()



    ispell-init-process()



    ispell-buffer-local-words()



    ispell-accept-buffer-local-defs()



    flyspell-accept-buffer-local-defs()



    helm-flyspell-correct()



    funcall-interactively(helm-flyspell-correct)



    call-interactively(helm-flyspell-correct nil nil)



    command-execute(helm-flyspell-correct)



    Does anyone know what is going wrong? I have limited Elisp knowledge. It appears that the word I want to check its spelling by placing my cursor around it and pressing F8 key is not parsed and passed to the spell checker properly. I should also add that I get error when I want to enable flyspell-mode. The error message in the echo area is the same (stringp nill) but I cannot get the backtrace output on that.



    Many thanks,



    PS: I have reinstalled helm-flyspell without any effect.










    share|improve this question













    migrated from superuser.com Jan 8 at 22:09


    This question came from our site for computer enthusiasts and power users.





















      0












      0








      0








      I have installed emacs on a new mac machine and the spell checker (which used to work on an older machine) has stopped working. Here is the details:



      OS: MacOS Mojave, V. 10.14.2



      Emacs: GNU Emacs 26.1 (build 1, x86_64-apple-darwin18.2.0, Carbon Version 158 Appkit 1671.1) of 2018-11-17



      helm-flyspell set up:



      (use-package helm-flyspell
      :ensure t)



      (setq ispell-program-name "/opt/local/bin/hunspell")



      (global-set-key (kbd "< f8 >") 'helm-flyspell-correct)



      hunspell: it is installed via macports together with a dictionary



      Backtrace output:



      Debugger entered--Lisp error: (wrong-type-argument stringp nil)



      string-match("," nil 0)



      split-string(nil "," t)



      ispell-parse-hunspell-affix-file(nil)



      ispell-hunspell-fill-dictionary-entry(nil)



      ispell-start-process()



      ispell-init-process()



      ispell-buffer-local-words()



      ispell-accept-buffer-local-defs()



      flyspell-accept-buffer-local-defs()



      helm-flyspell-correct()



      funcall-interactively(helm-flyspell-correct)



      call-interactively(helm-flyspell-correct nil nil)



      command-execute(helm-flyspell-correct)



      Does anyone know what is going wrong? I have limited Elisp knowledge. It appears that the word I want to check its spelling by placing my cursor around it and pressing F8 key is not parsed and passed to the spell checker properly. I should also add that I get error when I want to enable flyspell-mode. The error message in the echo area is the same (stringp nill) but I cannot get the backtrace output on that.



      Many thanks,



      PS: I have reinstalled helm-flyspell without any effect.










      share|improve this question














      I have installed emacs on a new mac machine and the spell checker (which used to work on an older machine) has stopped working. Here is the details:



      OS: MacOS Mojave, V. 10.14.2



      Emacs: GNU Emacs 26.1 (build 1, x86_64-apple-darwin18.2.0, Carbon Version 158 Appkit 1671.1) of 2018-11-17



      helm-flyspell set up:



      (use-package helm-flyspell
      :ensure t)



      (setq ispell-program-name "/opt/local/bin/hunspell")



      (global-set-key (kbd "< f8 >") 'helm-flyspell-correct)



      hunspell: it is installed via macports together with a dictionary



      Backtrace output:



      Debugger entered--Lisp error: (wrong-type-argument stringp nil)



      string-match("," nil 0)



      split-string(nil "," t)



      ispell-parse-hunspell-affix-file(nil)



      ispell-hunspell-fill-dictionary-entry(nil)



      ispell-start-process()



      ispell-init-process()



      ispell-buffer-local-words()



      ispell-accept-buffer-local-defs()



      flyspell-accept-buffer-local-defs()



      helm-flyspell-correct()



      funcall-interactively(helm-flyspell-correct)



      call-interactively(helm-flyspell-correct nil nil)



      command-execute(helm-flyspell-correct)



      Does anyone know what is going wrong? I have limited Elisp knowledge. It appears that the word I want to check its spelling by placing my cursor around it and pressing F8 key is not parsed and passed to the spell checker properly. I should also add that I get error when I want to enable flyspell-mode. The error message in the echo area is the same (stringp nill) but I cannot get the backtrace output on that.



      Many thanks,



      PS: I have reinstalled helm-flyspell without any effect.







      hunspell flyspell






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 8 at 5:00







      David











      migrated from superuser.com Jan 8 at 22:09


      This question came from our site for computer enthusiasts and power users.









      migrated from superuser.com Jan 8 at 22:09


      This question came from our site for computer enthusiasts and power users.
























          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "583"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2femacs.stackexchange.com%2fquestions%2f46989%2femacs-helm-flyspell-correct-wrong-type-argument-stringp-nil-error%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown
























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Emacs Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2femacs.stackexchange.com%2fquestions%2f46989%2femacs-helm-flyspell-correct-wrong-type-argument-stringp-nil-error%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

          Eduardo VII do Reino Unido