GNU bug report logs - #19229
ispell-phaf: No matching entry for ...

Previous Next

Package: emacs;

Reported by: Alexander Shukaev <haroogan <at> gmail.com>

Date: Sun, 30 Nov 2014 18:26:02 UTC

Severity: normal

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 19229 <at> debbugs.gnu.org (full text, mbox):

From: Chris Zheng <chriszheng99 <at> gmail.com>
To: 19229 <at> debbugs.gnu.org
Cc: haroogan <at> gmail.com
Subject: A workaround for hunspell
Date: Mon, 01 Dec 2014 03:50:50 +0800
Hi Alexander,
I think I have wasted more time than you. :(  I have a way to
workaround this problem.  See the below diff.  I don't know whether
this affect *nix users, so it just stays in my init files.

*** a	Mon Dec  1 03:40:31 2014
--- b	Mon Dec  1 03:40:31 2014
***************
*** 27,33 ****
  		(error "ispell-fhd: Default dict already defined as %s. Not using %s.\n"
  		       hunspell-default-dict dict)
  	      (setq affix-file dict)
! 	      (setq hunspell-default-dict (list basename affix-file)))
  	  (if (and (not (assoc basename ispell-hunspell-dict-paths-alist))
  		   (file-exists-p affix-file))
  	      ;; Entry has an associated .aff file and no previous value.
--- 27,35 ----
  		(error "ispell-fhd: Default dict already defined as %s. Not using %s.\n"
  		       hunspell-default-dict dict)
  	      (setq affix-file dict)
! 	      (setq hunspell-default-dict (list basename affix-file))
! 	      (add-to-list 'ispell-hunspell-dict-paths-alist
! 			   (list basename affix-file)))
  	  (if (and (not (assoc basename ispell-hunspell-dict-paths-alist))
  		   (file-exists-p affix-file))
  	      ;; Entry has an associated .aff file and no previous value.




This bug report was last modified 4 years and 257 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.