From unknown Mon Aug 11 21:13:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15903: 24.3.50; Fix small issue with ispell-hunspell when dictionary is set to default (nil) Resent-From: Vladimir Lomov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Nov 2013 15:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15903 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 15903@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.138452865621566 (code B ref -1); Fri, 15 Nov 2013 15:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Nov 2013 15:17:36 +0000 Received: from localhost ([127.0.0.1]:56081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhL9K-0005bk-FZ for submit@debbugs.gnu.org; Fri, 15 Nov 2013 10:17:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39703) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhL9G-0005bR-Me for submit@debbugs.gnu.org; Fri, 15 Nov 2013 10:17:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhL95-000485-32 for submit@debbugs.gnu.org; Fri, 15 Nov 2013 10:17:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhL94-000481-Us for submit@debbugs.gnu.org; Fri, 15 Nov 2013 10:17:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhL8y-0003O0-Hu for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2013 10:17:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhL8s-00045y-C1 for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2013 10:17:12 -0500 Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]:46145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhL8r-00045X-Qp for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2013 10:17:06 -0500 Received: by mail-la0-f45.google.com with SMTP id eh20so2873565lab.32 for ; Fri, 15 Nov 2013 07:17:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=rA+fjj1mGDlc5pkQhpZocKeqx4dFtSLyaDj2zqeWM0g=; b=xT1arIDiGIqFsOsbbXXU9wG6ZJxfWZ1fcw/yuGw/snZ+kLJqCIZnMjBUE47EPwggEn DR8hw685gPjrXG8tGc1vo64vNYrXDd82xD7Hs17Kp3ghciuNM1G9B8203ugEwMF50fzY C9SYcCwRyHMdqi5PSCctN4HGs2NtCCNta5CUMSbWej4hZr+bfvXLNF8QNNl+VZTdecnL hX3lTMVipQUim2L0zpwpOXJQcA7oN1KHdDJzOVSEM2K8vcJdNciIf22Iyajm+EJ8LRs0 N77KCwWwhr0o80l6RgvFPUpXSlht00ktPVFzl3VKzCfC+iMMsoJg5L5keDvk7Wjd5iRs 2N5w== X-Received: by 10.112.73.97 with SMTP id k1mr143507lbv.58.1384528624144; Fri, 15 Nov 2013 07:17:04 -0800 (PST) Received: from smoon ([141.105.47.97]) by mx.google.com with ESMTPSA id l10sm2456206lbh.13.2013.11.15.07.17.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Nov 2013 07:17:02 -0800 (PST) Date: Sat, 16 Nov 2013 00:16:59 +0900 From: Vladimir Lomov Message-ID: <87wqk9k96w.fsf@smoon.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline User-Agent: Mutt/1.5.22 (2013-10-16) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline --text follows this line-- Hello, according to variable 'ispell-dictionary-base-alist' defined in 'ispell.el' if 'ispell-dictionary' is nil then it is considered as default value for dictionary. Unfortunately, when hunspell is used as ispell program function 'ispell-parse-hunspell-affix-file' fails because it doesn't expect nil as argument. I propose small and simple patch. I checked it starting emacs as: emacs -Q and evaluating in *scratch*: (setq ispell-program-name "hunspell") (setq ispell-really-hunspell t) after that I run 'M-$' while point is on first 's' of (message) In minibuffer I see MESSAGE is correct Without this patch the same steps lead to message ispell-phaf: No matching entry for nil. In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.3) of 2013-11-14 on smoon Bzr revision: rgm@gnu.org-20131114112121-t9kk595b6a0hqn4x Windowing system distributor `The X.Org Foundation', version 11.0.11404000 System Description: Arch Linux Configured using: `configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-rsvg --with-x-toolkit=gtk3 --with-xft --with-libotf --with-dbus --with-gsettings --without-sound 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Important settings: value of $LC_COLLATE: C value of $LANG: ru_RU.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Org Minor modes in effect: erc-services-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t diff-auto-refine-mode: t global-auto-complete-mode: t shell-dirtrack-mode: t org-cdlatex-mode: t ido-everywhere: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-c ' C-SPC C-c ; C-c C-c u e n g l i s h C-k l i s h l i s h l i s h C-SPC C-g C-SPC C-c ' C-c C-v C-t C-c ' C-SPC C-SPC C-c ' C-c C-v C-t C-c ' C-SPC C-w C-c ' C-c C-v C-t M-x r e p o r t - e m Recent messages: Wrote /home/lomov/works/scripts/emacs.d/erc-us.el Wrote /home/lomov/works/scripts/emacs.d/emacs Wrote /home/lomov/works/scripts/emacs.d/cdlatex-us.el Wrote /home/lomov/works/scripts/emacs.d/auctex-us.el Wrote /home/lomov/works/scripts/emacs.d/org-us.el Wrote /home/lomov/works/scripts/emacs.d/keybinds-us.el Wrote /home/lomov/works/scripts/emacs.d/mode/org-capture-note-idea.txt Wrote /home/lomov/works/scripts/emacs.d/mode/org-capture-journal.txt Wrote /home/lomov/works/scripts/emacs.d/mode/org-capture-todo.txt Tangled 27 code blocks from emacs.org Load-path shadows: /usr/share/emacs/site-lisp/org/org-macs hides /usr/share/emacs/24.3.50/lisp/org/org-macs /usr/share/emacs/site-lisp/org/org-list hides /usr/share/emacs/24.3.50/lisp/org/org-list /usr/share/emacs/site-lisp/org/org-feed hides /usr/share/emacs/24.3.50/lisp/org/org-feed /usr/share/emacs/site-lisp/org/org-faces hides /usr/share/emacs/24.3.50/lisp/org/org-faces /usr/share/emacs/site-lisp/org/org-ctags hides /usr/share/emacs/24.3.50/lisp/org/org-ctags /usr/share/emacs/site-lisp/org/org-crypt hides /usr/share/emacs/24.3.50/lisp/org/org-crypt /usr/share/emacs/site-lisp/org/org-colview hides /usr/share/emacs/24.3.50/lisp/org/org-colview /usr/share/emacs/site-lisp/org/org-clock hides /usr/share/emacs/24.3.50/lisp/org/org-clock /usr/share/emacs/site-lisp/org/org-archive hides /usr/share/emacs/24.3.50/lisp/org/org-archive /usr/share/emacs/site-lisp/org/org-agenda hides /usr/share/emacs/24.3.50/lisp/org/org-agenda /usr/share/emacs/site-lisp/org/ob-lilypond hides /usr/share/emacs/24.3.50/lisp/org/ob-lilypond /usr/share/emacs/site-lisp/org/ob-ocaml hides /usr/share/emacs/24.3.50/lisp/org/ob-ocaml /usr/share/emacs/site-lisp/org/ob-latex hides /usr/share/emacs/24.3.50/lisp/org/ob-latex /usr/share/emacs/site-lisp/org/ob-python hides /usr/share/emacs/24.3.50/lisp/org/ob-python /usr/share/emacs/site-lisp/org/ob-mscgen hides /usr/share/emacs/24.3.50/lisp/org/ob-mscgen /usr/share/emacs/site-lisp/org/ob-asymptote hides /usr/share/emacs/24.3.50/lisp/org/ob-asymptote /usr/share/emacs/site-lisp/org/ob-comint hides /usr/share/emacs/24.3.50/lisp/org/ob-comint /usr/share/emacs/site-lisp/org/ob-clojure hides /usr/share/emacs/24.3.50/lisp/org/ob-clojure /usr/share/emacs/site-lisp/org/ob-scheme hides /usr/share/emacs/24.3.50/lisp/org/ob-scheme /usr/share/emacs/site-lisp/org/org-table hides /usr/share/emacs/24.3.50/lisp/org/org-table /usr/share/emacs/site-lisp/org/org-src hides /usr/share/emacs/24.3.50/lisp/org/org-src /usr/share/emacs/site-lisp/org/org-rmail hides /usr/share/emacs/24.3.50/lisp/org/org-rmail /usr/share/emacs/site-lisp/org/org-protocol hides /usr/share/emacs/24.3.50/lisp/org/org-protocol /usr/share/emacs/site-lisp/org/ox-odt hides /usr/share/emacs/24.3.50/lisp/org/ox-odt /usr/share/emacs/site-lisp/org/org-plot hides /usr/share/emacs/24.3.50/lisp/org/org-plot /usr/share/emacs/site-lisp/org/org-pcomplete hides /usr/share/emacs/24.3.50/lisp/org/org-pcomplete /usr/share/emacs/site-lisp/org/ox-md hides /usr/share/emacs/24.3.50/lisp/org/ox-md /usr/share/emacs/site-lisp/org/org-mouse hides /usr/share/emacs/24.3.50/lisp/org/org-mouse /usr/share/emacs/site-lisp/org/org-mobile hides /usr/share/emacs/24.3.50/lisp/org/org-mobile /usr/share/emacs/site-lisp/org/org-mhe hides /usr/share/emacs/24.3.50/lisp/org/org-mhe /usr/share/emacs/site-lisp/org/org-macro hides /usr/share/emacs/24.3.50/lisp/org/org-macro /usr/share/emacs/site-lisp/org/org-irc hides /usr/share/emacs/24.3.50/lisp/org/org-irc /usr/share/emacs/site-lisp/org/org-inlinetask hides /usr/share/emacs/24.3.50/lisp/org/org-inlinetask /usr/share/emacs/site-lisp/org/ox-icalendar hides /usr/share/emacs/24.3.50/lisp/org/ox-icalendar /usr/share/emacs/site-lisp/org/org-info hides /usr/share/emacs/24.3.50/lisp/org/org-info /usr/share/emacs/site-lisp/org/org-indent hides /usr/share/emacs/24.3.50/lisp/org/org-indent /usr/share/emacs/site-lisp/org/org-id hides /usr/share/emacs/24.3.50/lisp/org/org-id /usr/share/emacs/site-lisp/org/org-habit hides /usr/share/emacs/24.3.50/lisp/org/org-habit /usr/share/emacs/site-lisp/org/org-gnus hides /usr/share/emacs/24.3.50/lisp/org/org-gnus /usr/share/emacs/site-lisp/org/org-footnote hides /usr/share/emacs/24.3.50/lisp/org/org-footnote /usr/share/emacs/site-lisp/org/ox-html hides /usr/share/emacs/24.3.50/lisp/org/ox-html /usr/share/emacs/site-lisp/org/org-eshell hides /usr/share/emacs/24.3.50/lisp/org/org-eshell /usr/share/emacs/site-lisp/org/org-entities hides /usr/share/emacs/24.3.50/lisp/org/org-entities /usr/share/emacs/site-lisp/org/ox-beamer hides /usr/share/emacs/24.3.50/lisp/org/ox-beamer /usr/share/emacs/site-lisp/org/org-element hides /usr/share/emacs/24.3.50/lisp/org/org-element /usr/share/emacs/site-lisp/org/ox-ascii hides /usr/share/emacs/24.3.50/lisp/org/ox-ascii /usr/share/emacs/site-lisp/org/org-docview hides /usr/share/emacs/24.3.50/lisp/org/org-docview /usr/share/emacs/site-lisp/org/org hides /usr/share/emacs/24.3.50/lisp/org/org /usr/share/emacs/site-lisp/org/org-datetree hides /usr/share/emacs/24.3.50/lisp/org/org-datetree /usr/share/emacs/site-lisp/org/org-w3m hides /usr/share/emacs/24.3.50/lisp/org/org-w3m /usr/share/emacs/site-lisp/org/org-compat hides /usr/share/emacs/24.3.50/lisp/org/org-compat /usr/share/emacs/site-lisp/org/org-timer hides /usr/share/emacs/24.3.50/lisp/org/org-timer /usr/share/emacs/site-lisp/org/ox hides /usr/share/emacs/24.3.50/lisp/org/ox /usr/share/emacs/site-lisp/org/org-capture hides /usr/share/emacs/24.3.50/lisp/org/org-capture /usr/share/emacs/site-lisp/org/ox-latex hides /usr/share/emacs/24.3.50/lisp/org/ox-latex /usr/share/emacs/site-lisp/org/org-bibtex hides /usr/share/emacs/24.3.50/lisp/org/org-bibtex /usr/share/emacs/site-lisp/org/ox-texinfo hides /usr/share/emacs/24.3.50/lisp/org/ox-texinfo /usr/share/emacs/site-lisp/org/org-bbdb hides /usr/share/emacs/24.3.50/lisp/org/org-bbdb /usr/share/emacs/site-lisp/org/org-attach hides /usr/share/emacs/24.3.50/lisp/org/org-attach /usr/share/emacs/site-lisp/org/ox-publish hides /usr/share/emacs/24.3.50/lisp/org/ox-publish /usr/share/emacs/site-lisp/org/ox-man hides /usr/share/emacs/24.3.50/lisp/org/ox-man /usr/share/emacs/site-lisp/org/ox-org hides /usr/share/emacs/24.3.50/lisp/org/ox-org /usr/share/emacs/site-lisp/org/ob hides /usr/share/emacs/24.3.50/lisp/org/ob /usr/share/emacs/site-lisp/org/ob-tangle hides /usr/share/emacs/24.3.50/lisp/org/ob-tangle /usr/share/emacs/site-lisp/org/ob-table hides /usr/share/emacs/24.3.50/lisp/org/ob-table /usr/share/emacs/site-lisp/org/ob-sqlite hides /usr/share/emacs/24.3.50/lisp/org/ob-sqlite /usr/share/emacs/site-lisp/org/ob-plantuml hides /usr/share/emacs/24.3.50/lisp/org/ob-plantuml /usr/share/emacs/site-lisp/org/ob-java hides /usr/share/emacs/24.3.50/lisp/org/ob-java /usr/share/emacs/site-lisp/org/ob-picolisp hides /usr/share/emacs/24.3.50/lisp/org/ob-picolisp /usr/share/emacs/site-lisp/org/ob-maxima hides /usr/share/emacs/24.3.50/lisp/org/ob-maxima /usr/share/emacs/site-lisp/org/ob-io hides /usr/share/emacs/24.3.50/lisp/org/ob-io /usr/share/emacs/site-lisp/org/ob-perl hides /usr/share/emacs/24.3.50/lisp/org/ob-perl /usr/share/emacs/site-lisp/org/ob-matlab hides /usr/share/emacs/24.3.50/lisp/org/ob-matlab /usr/share/emacs/site-lisp/org/ob-haskell hides /usr/share/emacs/24.3.50/lisp/org/ob-haskell /usr/share/emacs/site-lisp/org/ob-sql hides /usr/share/emacs/24.3.50/lisp/org/ob-sql /usr/share/emacs/site-lisp/org/ob-org hides /usr/share/emacs/24.3.50/lisp/org/ob-org /usr/share/emacs/site-lisp/org/ob-ledger hides /usr/share/emacs/24.3.50/lisp/org/ob-ledger /usr/share/emacs/site-lisp/org/ob-gnuplot hides /usr/share/emacs/24.3.50/lisp/org/ob-gnuplot /usr/share/emacs/site-lisp/org/ob-shen hides /usr/share/emacs/24.3.50/lisp/org/ob-shen /usr/share/emacs/site-lisp/org/ob-octave hides /usr/share/emacs/24.3.50/lisp/org/ob-octave /usr/share/emacs/site-lisp/org/ob-keys hides /usr/share/emacs/24.3.50/lisp/org/ob-keys /usr/share/emacs/site-lisp/org/ob-fortran hides /usr/share/emacs/24.3.50/lisp/org/ob-fortran /usr/share/emacs/site-lisp/org/ob-screen hides /usr/share/emacs/24.3.50/lisp/org/ob-screen /usr/share/emacs/site-lisp/org/ob-exp hides /usr/share/emacs/24.3.50/lisp/org/ob-exp /usr/share/emacs/site-lisp/org/ob-lisp hides /usr/share/emacs/24.3.50/lisp/org/ob-lisp /usr/share/emacs/site-lisp/org/ob-eval hides /usr/share/emacs/24.3.50/lisp/org/ob-eval /usr/share/emacs/site-lisp/org/ob-ref hides /usr/share/emacs/24.3.50/lisp/org/ob-ref /usr/share/emacs/site-lisp/org/ob-lob hides /usr/share/emacs/24.3.50/lisp/org/ob-lob /usr/share/emacs/site-lisp/org/ob-emacs-lisp hides /usr/share/emacs/24.3.50/lisp/org/ob-emacs-lisp /usr/share/emacs/site-lisp/org/ob-sass hides /usr/share/emacs/24.3.50/lisp/org/ob-sass /usr/share/emacs/site-lisp/org/ob-js hides /usr/share/emacs/24.3.50/lisp/org/ob-js /usr/share/emacs/site-lisp/org/ob-dot hides /usr/share/emacs/24.3.50/lisp/org/ob-dot /usr/share/emacs/site-lisp/org/ob-ruby hides /usr/share/emacs/24.3.50/lisp/org/ob-ruby /usr/share/emacs/site-lisp/org/ob-makefile hides /usr/share/emacs/24.3.50/lisp/org/ob-makefile /usr/share/emacs/site-lisp/org/ob-ditaa hides /usr/share/emacs/24.3.50/lisp/org/ob-ditaa /usr/share/emacs/site-lisp/org/ob-scala hides /usr/share/emacs/24.3.50/lisp/org/ob-scala /usr/share/emacs/site-lisp/org/ob-R hides /usr/share/emacs/24.3.50/lisp/org/ob-R /usr/share/emacs/site-lisp/org/ob-css hides /usr/share/emacs/24.3.50/lisp/org/ob-css /usr/share/emacs/site-lisp/org/ob-C hides /usr/share/emacs/24.3.50/lisp/org/ob-C /usr/share/emacs/site-lisp/org/ob-sh hides /usr/share/emacs/24.3.50/lisp/org/ob-sh /usr/share/emacs/site-lisp/org/org-loaddefs hides /usr/share/emacs/24.3.50/lisp/org/org-loaddefs /usr/share/emacs/site-lisp/org/ob-awk hides /usr/share/emacs/24.3.50/lisp/org/ob-awk /usr/share/emacs/site-lisp/org/ob-core hides /usr/share/emacs/24.3.50/lisp/org/ob-core /usr/share/emacs/site-lisp/org/ob-calc hides /usr/share/emacs/24.3.50/lisp/org/ob-calc /usr/share/emacs/site-lisp/org/org-version hides /usr/share/emacs/24.3.50/lisp/org/org-version /usr/share/emacs/site-lisp/org/org-install hides /usr/share/emacs/24.3.50/lisp/org/org-install Features: (shadow sort spook cookie1 mail-extr emacsbug message idna rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils image-file tabify ffap org-colview cal-china lunar solar cal-dst cal-bahai cal-iso vc-git cdlatex texmathp org-annotate-file org-id org-habit org-info org-docview org-bibtex bibtex org-bbdb erc-services erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button wid-edit erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat magit-key-mode magit grep compile epa derived epg epg-config diff-mode git-rebase-mode thingatpt rx git-commit-mode server log-edit pcvs-util add-log magit-version auto-complete-config auto-complete cl-macs gv popup cl calfw-ical url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source eieio eieio-core gnus-util mm-util mail-prsvr password-cache url-vars mailcap icalendar diary-lib diary-loaddefs calfw-org org-agenda calfw edmacro kmacro cl-loaddefs cl-lib holidays hol-loaddefs ob-sh shell ob-perl ob-latex ob-asymptote ob-gnuplot ox-latex ox-icalendar ox-html ox-ascii ox-publish ox org-element org byte-opt bytecomp byte-compile cconv org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs preview-latex tex-site auto-loads jka-compr dired+ dired-aux bookmark+ bookmark+-key easy-mmode advice help-fns dired-x dired bookmark+-1 bookmark+-bmu help-mode easymenu bookmark+-lit bookmark pp ido uniquify flyspell ispell time-date paren cyril-util tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) P.S. I wasn't able to configure Emacs Message mode to use local configured mail server (postfix), so I have to resend message using other mail agent. -- WBR, Vladimir Lomov -- Whenever Richard Cory went downtown, We people on the pavement looked at him: He was a gentleman from sole to crown, Clean-favored, and imperially slim. And he was always quietly arrayed, And he was always human when he talked; But still he fluttered pulses when he said, "Good morning," and he glittered when he walked. And he was rich -- yes, richer than a king -- And admirably schooled in every grace: In fine, we thought that he was everything To make us wish that we were in his place. So on we worked, and waited for the light, And went without the meat, and cursed the bread; And Richard Cory, one calm summer night, Went home and put a bullet through his head. -- E.A. Robinson, "Richard Cory" --SLDf9lqlvOQaIe6s Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="ispell.el.patch" --- ispell.el.orig 2013-11-15 22:40:50.922512372 +0900 +++ ispell.el 2013-11-15 22:41:25.509015578 +0900 @@ -1181,6 +1181,7 @@ (defun ispell-parse-hunspell-affix-file (dict-key) "Parse hunspell affix file to extract parameters for `DICT-KEY'. Return a list in `ispell-dictionary-alist' format." + (unless dict-key (setq dict-key "english")) (let ((affix-file (cadr (assoc dict-key ispell-hunspell-dict-paths-alist)))) (unless affix-file (error "ispell-phaf: No matching entry for %s.\n" dict-key)) --SLDf9lqlvOQaIe6s-- From unknown Mon Aug 11 21:13:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15903: 24.3.50; Fix small issue with ispell-hunspell when dictionary is set to default (nil) Resent-From: Agustin Martin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Nov 2013 18:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15903 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Vladimir Lomov Cc: 15903@debbugs.gnu.org Received: via spool by 15903-submit@debbugs.gnu.org id=B15903.138462724626491 (code B ref 15903); Sat, 16 Nov 2013 18:41:02 +0000 Received: (at 15903) by debbugs.gnu.org; 16 Nov 2013 18:40:46 +0000 Received: from localhost ([127.0.0.1]:57425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhknV-0006t9-Nc for submit@debbugs.gnu.org; Sat, 16 Nov 2013 13:40:46 -0500 Received: from mail-la0-f53.google.com ([209.85.215.53]:58257) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VheHM-0003eP-CW for 15903@debbugs.gnu.org; Sat, 16 Nov 2013 06:43:08 -0500 Received: by mail-la0-f53.google.com with SMTP id ea20so3503497lab.26 for <15903@debbugs.gnu.org>; Sat, 16 Nov 2013 03:43:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=nB4W/IFrkN65kMKwBD/p5ywA59X4oJ0CAAwNzwbz1OY=; b=0piHGSv29bMp+YNMT3R1Qr13p8fEaHjCidIhGw8cBPWAzBeDc0o0TrF0yoqPufFiuF HEPFADDviw4w24Okvf0muMuNDlDlfAbsKSM7wjD3VdC3krswH+AyyxKW6F1ju7cF38L7 1QRvwIlmJuxTukAZ8Lwsjo+xMGFIXdB3Yx0UchVj46vZHO57xkOnetLfRMQEWNxyhJa9 rwYN8gHUP7pDDZ5bvDKNIrsgkGotmr1aV7MBMc676os5CG+MYjIyYDZohyU4zI7pcV42 rYtXyouD8fj76BaLPdGlcoJc543h/krjIMqkRC/1dGLJF40Zst+RlqBtja4QweA1IGbv nbrw== MIME-Version: 1.0 X-Received: by 10.152.120.231 with SMTP id lf7mr3551489lab.36.1384602182198; Sat, 16 Nov 2013 03:43:02 -0800 (PST) Received: by 10.112.100.231 with HTTP; Sat, 16 Nov 2013 03:43:02 -0800 (PST) In-Reply-To: <87wqk9k96w.fsf@smoon.org> References: <87wqk9k96w.fsf@smoon.org> Date: Sat, 16 Nov 2013 12:43:02 +0100 Message-ID: From: Agustin Martin Content-Type: multipart/alternative; boundary=089e0122aefe39ab4f04eb49d190 X-Spam-Score: -0.7 (/) X-Mailman-Approved-At: Sat, 16 Nov 2013 13:40:43 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --089e0122aefe39ab4f04eb49d190 Content-Type: text/plain; charset=ISO-8859-1 2013/11/15 Vladimir Lomov > --text follows this line-- > > Hello, > according to variable 'ispell-dictionary-base-alist' defined in > 'ispell.el' if 'ispell-dictionary' is nil then it is considered as > default value for dictionary. Unfortunately, when hunspell is used as > ispell program function 'ispell-parse-hunspell-affix-file' fails because > it doesn't expect nil as argument. > > I propose small and simple patch. I checked it starting emacs as: > emacs -Q > and evaluating in *scratch*: > (setq ispell-program-name "hunspell") > (setq ispell-really-hunspell t) > after that I run 'M-$' while point is on first 's' of > (message) > > In minibuffer I see > MESSAGE is correct > > Without this patch the same steps lead to message > ispell-phaf: No matching entry for nil. > Hi, Cannot reproduce it here. By the way, once initialized for hunspell ispell.el provides a match for default (nil) value, here (nil [[:alpha:]] [^[:alpha:]] ['] nil (-B) nil utf-8) Regards, -- Agustin --089e0122aefe39ab4f04eb49d190 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
2013/11/15 Vladimir Lomov <lomov.vl@gmail.com>
--text follows this line--

Hello,
according to variable 'ispell-dictionary-base-alist' defined in
'ispell.el' if 'ispell-dictionary' is nil then it is consid= ered as
default value for dictionary. Unfortunately, when hunspell is used as
ispell program function 'ispell-parse-hunspell-affix-file' fails be= cause
it doesn't expect nil as argument.

I propose small and simple patch. I checked it starting emacs as:
=A0 emacs -Q
and evaluating in *scratch*:
=A0 (setq ispell-program-name "hunspell")
=A0 (setq ispell-really-hunspell t)
after that I run 'M-$' while point is on first 's' of
=A0 (message)

In minibuffer I see
=A0 MESSAGE is correct

Without this patch the same steps lead to message
=A0 ispell-phaf: No matching entry for nil.

Hi,

Can= not reproduce it here. By the way, once initialized for hunspell ispell.el = provides a match for default (nil) value, here

(nil [[:alpha:]] [^[:alpha:]] ['] nil (-B) nil utf-8)

=
Regards,

--
Agustin
--089e0122aefe39ab4f04eb49d190-- From unknown Mon Aug 11 21:13:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15903: 24.3.50; Fix small issue with ispell-hunspell when dictionary is set to default (nil) Resent-From: Vladimir Lomov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Nov 2013 06:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15903 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 15903@debbugs.gnu.org Cc: Agustin Martin Received: via spool by 15903-submit@debbugs.gnu.org id=B15903.138475639919284 (code B ref 15903); Mon, 18 Nov 2013 06:34:01 +0000 Received: (at 15903) by debbugs.gnu.org; 18 Nov 2013 06:33:19 +0000 Received: from localhost ([127.0.0.1]:59382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ViIOb-00050w-8Y for submit@debbugs.gnu.org; Mon, 18 Nov 2013 01:33:18 -0500 Received: from mail-la0-f53.google.com ([209.85.215.53]:56723) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ViIOW-00050d-Bc for 15903@debbugs.gnu.org; Mon, 18 Nov 2013 01:33:14 -0500 Received: by mail-la0-f53.google.com with SMTP id ea20so4461842lab.26 for <15903@debbugs.gnu.org>; Sun, 17 Nov 2013 22:33:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=qk2XHxs85Un3kCaoGtZe0cI7eBI2TJOTM7D2uvGXQMY=; b=kn5bnbsuYrdoHk7jUsvBWhWpv6kUYYtUx/rrlowkFwFALhV2yjPJHCPfaFO21h5H3z 7thzfZe6l6T93L1fD5vVAuNBX3YEFyOFftVSLg/8g8+k+22E7CvWDeqC4NFMIZBlqfZc BzrjvpQL7RE5deBeaTML5E7FmSuqouzHooTtEuF8xxEoreALcvebvJu1uoAJ4OKZyw9u 7rH0ytgBvtWgNkUIm1byhPwIzSZfPbnLSbR989L9gbCuKkC9SAlIC2WVRrslsQ/4VHe9 qlWwaS4ndKRy0nKF4j8ihfyDcwmKS32cGd1NT+BiZOwmSjPPCr5hbpMWUVVdYHab4aAO YJDg== X-Received: by 10.112.204.74 with SMTP id kw10mr12292867lbc.13.1384756386215; Sun, 17 Nov 2013 22:33:06 -0800 (PST) Received: from smoon ([141.105.47.97]) by mx.google.com with ESMTPSA id zv10sm11252163lbb.2.2013.11.17.22.33.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Nov 2013 22:33:04 -0800 (PST) Date: Mon, 18 Nov 2013 15:33:00 +0900 From: Vladimir Lomov Message-ID: <20131118063300.GB889@smoon> References: <87wqk9k96w.fsf@smoon.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="IrhDeMKUP4DT/M7F" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.22 (2013-10-16) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, ** Agustin Martin [2013-11-16 12:43:02 +0100]: > 2013/11/15 Vladimir Lomov >> Hello, >> according to variable 'ispell-dictionary-base-alist' defined in >> 'ispell.el' if 'ispell-dictionary' is nil then it is considered as >> default value for dictionary. Unfortunately, when hunspell is used as >> ispell program function 'ispell-parse-hunspell-affix-file' fails because >> it doesn't expect nil as argument. >> I propose small and simple patch. I checked it starting emacs as: >> emacs -Q >> and evaluating in *scratch*: >> (setq ispell-program-name "hunspell") >> (setq ispell-really-hunspell t) >> after that I run 'M-$' while point is on first 's' of >> (message) >> In minibuffer I see >> MESSAGE is correct >> Without this patch the same steps lead to message >> ispell-phaf: No matching entry for nil. > Hi, > Cannot reproduce it here. By the way, once initialized for hunspell > ispell.el provides a match for default (nil) value, here > (nil [[:alpha:]] [^[:alpha:]] ['] nil (-B) nil utf-8) Wouldn't you mind to share how you get this? I tried hard to prepare minimal example to catch when the problem appears but I know a very little of Emacs Lisp. This is my investigation and results. My system: OS: Archlinux x86_64, Emacs: compiled from trunk (rev. 115132), with original ispell.el env. variables: DICTIONARY=russian LANG=ru_RU.UTF-8 LC_CTYPE="ru_RU.UTF-8" LC_NUMERIC="ru_RU.UTF-8" LC_TIME="ru_RU.UTF-8" LC_COLLATE=C LC_MONETARY="ru_RU.UTF-8" LC_MESSAGES="ru_RU.UTF-8" LC_PAPER="ru_RU.UTF-8" LC_NAME="ru_RU.UTF-8" LC_ADDRESS="ru_RU.UTF-8" LC_TELEPHONE="ru_RU.UTF-8" LC_MEASUREMENT="ru_RU.UTF-8" LC_IDENTIFICATION="ru_RU.UTF-8" LC_ALL= aspell: @(#) International Ispell Version 3.1.20 (but really Aspell 0.60.6.1) hunspell: @(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2) System has both Russian and English dictionaries. I tested both aspell and hunspell variants. Emacs is started from rxvt terminal as emacs -Q -l min-VARIANT.el both min-VARIANT.el, VARIANT={a,hun}spell are attached (and also can be found in repository https://bitbucket.org/vp1981/issues, https://bitbucket.org/vp1981/issues/src/452f8c393983a875cb46e96d9c9b5d42cb5e1dc7/emacs/ispell/?at=default) Then I open one of three test files VARIANT-exN.el, (N=,2,3) and evaluate commands. The only difference between test files is that - VARIANT-ex.el: dictionary is not set explicitly, - VARIANT-ex2.el: dictionary is set to string 'english', - VARIANT-ex3.el: dictionary is set to nil, The rest of test files are the same: 1. output values of several variables: ispell-VARIANT-dictionary-alist, ispell-dictionary and ispell-{local,current}-dictionary; 2. run 'ispell-word'; 3. output values of the same variables; 4. run 'ispell-word' again; 5. output values of the same variables. Results are shown in table \ | aspell | hunspell Test file \ | 1 | 2 | 3 | 4 | 5 | 1 | 2 | 3 | 4 | 5 | ------------+---+---+---+---+---+---+---+---+---+---+ ex.el | n | - | + | - | + | n |e11| + |e12| + | ex2.el | n |+n | + |+n | + | n |e11| + |e2 | + | ex3.el | n | - | + | - | + | n |e11| + |e12| + | Here: n: means 'nil' (return value); +n: means successful run and nil is returned; +: means successful run; -: means 'ispell-word' was run but seems can't find word "message" in a dictionary (may be it didn't use any); e1*: 'ispell-phaf' error (No matching entry for nil); difference between e11 and e12 is that first calls 'find-dictionaries' while second one calls 'fill-dictionary-entry'; e2: Lisp error, (No data for dictionary \"english\"...) Reports (backtrace) from Debugger are attached. What I expect in all cases: if either dictionary set to a valid string, to nil or doesn't set at all, call of 'ispell-word' (or M-$) should give result, may be zero one but not an error. These test files show (on my system) some problem with ispell. Of course I could be wrong and do something unusual but I tried to minimize any side-effects of my /real/ Emacs configuration. If I apply patch proposed in first message and run tests again (only hunspell part) then all three test files would give positive results (evaluating 'ispell-word' function gives nil, M-$ gives message in minibuffer "MESSAGE is correct"). P.S. Seems there might be a problem with aspell but here I want to clarify issue with hunspell. --- WBR, Vladimir Lomov -- Churchill's Commentary on Man: Man will occasionally stumble over the truth, but most of the time he will pick himself up and continue on. --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hunspell-ex.el" ;;; ;; Show default values for several variables, even if they are not defined before first call to 'ispell-word' ;;; (when (boundp 'ispell-hunspell-dictionary-alist) (progn (message "Default dictionary [%s]" ispell-dictionary) (message "Local dictionary [%s]" ispell-local-dictionary) (message "Current dictionary [%s]" ispell-current-dictionary) (prin1 "ispell-hunspell-dictionary-alist:") (prin1 ispell-hunspell-dictionary-alist) ) ) ;;; ;; The call of 'ispell-word' runs several routines that populate several variables, especially '-dictionary-alist'. ;;; (ispell-word "message") ;;; ;; Now output the same variables as above. They must have values. ;;; (progn (message "Default dictionary [%s]" ispell-dictionary) (message "Local dictionary [%s]" ispell-local-dictionary) (message "Current dictionary [%s]" ispell-current-dictionary) (prin1 "ispell-hunspell-dictionary-alist:") (prin1 ispell-hunspell-dictionary-alist) ) ;;; ;; Second run of 'ispell-word'. ;;; (ispell-word "message") ;;; ;; After second run variables might have other values. ;;; (progn (message "Default dictionary [%s]" ispell-dictionary) (message "Local dictionary [%s]" ispell-local-dictionary) (message "Current dictionary [%s]" ispell-current-dictionary) (prin1 "ispell-hunspell-dictionary-alist:") (prin1 ispell-hunspell-dictionary-alist) ) --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hunspell-ex2.el" ;;; ;; Set (default) dictionary ;;; (setq ispell-dictionary "english") ;;; ;; Show default values for several variables, even if they are not defined before first call to 'ispell-word' ;;; (when (boundp 'ispell-hunspell-dictionary-alist) (progn (message "Default dictionary [%s]" ispell-dictionary) (message "Local dictionary [%s]" ispell-local-dictionary) (message "Current dictionary [%s]" ispell-current-dictionary) (prin1 "ispell-hunspell-dictionary-alist:") (prin1 ispell-hunspell-dictionary-alist) ) ) ;;; ;; The call of 'ispell-word' runs several routines that populate several variables, especially '-dictionary-alist'. ;;; (ispell-word "message") ;;; ;; Now output the same variables as above. They must have values. ;;; (progn (message "Default dictionary [%s]" ispell-dictionary) (message "Local dictionary [%s]" ispell-local-dictionary) (message "Current dictionary [%s]" ispell-current-dictionary) (prin1 "ispell-hunspell-dictionary-alist:") (prin1 ispell-hunspell-dictionary-alist) ) ;;; ;; Second run of 'ispell-word'. ;;; (ispell-word "message") ;;; ;; After second run variables might have other values. ;;; (progn (message "Default dictionary [%s]" ispell-dictionary) (message "Local dictionary [%s]" ispell-local-dictionary) (message "Current dictionary [%s]" ispell-current-dictionary) (prin1 "ispell-hunspell-dictionary-alist:") (prin1 ispell-hunspell-dictionary-alist) ) --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hunspell-ex3.el" ;;; ;; Set (default) dictionary ;;; (setq ispell-dictionary nil) ;;; ;; Show default values for several variables, even if they are not defined before first call to 'ispell-word' ;;; (when (boundp 'ispell-hunspell-dictionary-alist) (progn (message "Default dictionary [%s]" ispell-dictionary) (message "Local dictionary [%s]" ispell-local-dictionary) (message "Current dictionary [%s]" ispell-current-dictionary) (prin1 "ispell-hunspell-dictionary-alist:") (prin1 ispell-hunspell-dictionary-alist) ) ) ;;; ;; The call of 'ispell-word' runs several routines that populate several variables, especially '-dictionary-alist'. ;;; (ispell-word "message") ;;; ;; Now output the same variables as above. They must have values. ;;; (progn (message "Default dictionary [%s]" ispell-dictionary) (message "Local dictionary [%s]" ispell-local-dictionary) (message "Current dictionary [%s]" ispell-current-dictionary) (prin1 "ispell-hunspell-dictionary-alist:") (prin1 ispell-hunspell-dictionary-alist) ) ;;; ;; Second run of 'ispell-word'. ;;; (ispell-word "message") ;;; ;; After second run variables might have other values. ;;; (progn (message "Default dictionary [%s]" ispell-dictionary) (message "Local dictionary [%s]" ispell-local-dictionary) (message "Current dictionary [%s]" ispell-current-dictionary) (prin1 "ispell-hunspell-dictionary-alist:") (prin1 ispell-hunspell-dictionary-alist) ) --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="aspell-ex3.el" ;;; ;; Set (default) dictionary ;;; (setq ispell-dictionary nil) ;;; ;; Show default values for several variables, even if they are not defined before first call to 'ispell-word' ;;; (when (boundp 'ispell-aspell-dictionary-alist) (progn (message "Default dictionary [%s]" ispell-dictionary) (message "Local dictionary [%s]" ispell-local-dictionary) (message "Current dictionary [%s]" ispell-current-dictionary) (prin1 "aspell-dictionary-alist:") (prin1 ispell-aspell-dictionary-alist) ) ) ;;; ;; The call of 'ispell-word' runs several routines that populate several variables, especially '-dictionary-alist'. ;;; (ispell-word "message") ;;; ;; Now output the same variables as above. They must have values. ;;; (progn (message "Default dictionary [%s]" ispell-dictionary) (message "Local dictionary [%s]" ispell-local-dictionary) (message "Current dictionary [%s]" ispell-current-dictionary) (prin1 "aspell-dictionary-alist:") (prin1 ispell-aspell-dictionary-alist) ) ;;; ;; Second run of 'ispell-word'. ;;; (ispell-word "message") ;;; ;; After second run variables might have other values. ;;; (progn (message "Default dictionary [%s]" ispell-dictionary) (message "Local dictionary [%s]" ispell-local-dictionary) (message "Current dictionary [%s]" ispell-current-dictionary) (prin1 "aspell-dictionary-alist:") (prin1 ispell-aspell-dictionary-alist) ) --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="aspell-ex2.el" ;;; ;; Set (default) dictionary ;;; (setq ispell-dictionary "english") ;;; ;; Show default values for several variables, even if they are not defined before first call to 'ispell-word' ;;; (when (boundp 'ispell-aspell-dictionary-alist) (progn (message "Default dictionary [%s]" ispell-dictionary) (message "Local dictionary [%s]" ispell-local-dictionary) (message "Current dictionary [%s]" ispell-current-dictionary) (prin1 "aspell-dictionary-alist:") (prin1 ispell-aspell-dictionary-alist) ) ) ;;; ;; The call of 'ispell-word' runs several routines that populate several variables, especially '-dictionary-alist'. ;;; (ispell-word "message") ;;; ;; Now output the same variables as above. They must have values. ;;; (progn (message "Default dictionary [%s]" ispell-dictionary) (message "Local dictionary [%s]" ispell-local-dictionary) (message "Current dictionary [%s]" ispell-current-dictionary) (prin1 "aspell-dictionary-alist:") (prin1 ispell-aspell-dictionary-alist) ) ;;; ;; Second run of 'ispell-word'. ;;; (ispell-word "message") ;;; ;; After second run variables might have other values. ;;; (progn (message "Default dictionary [%s]" ispell-dictionary) (message "Local dictionary [%s]" ispell-local-dictionary) (message "Current dictionary [%s]" ispell-current-dictionary) (prin1 "aspell-dictionary-alist:") (prin1 ispell-aspell-dictionary-alist) ) --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="aspell-ex3.el" ;;; ;; Set (default) dictionary ;;; (setq ispell-dictionary nil) ;;; ;; Show default values for several variables, even if they are not defined before first call to 'ispell-word' ;;; (when (boundp 'ispell-aspell-dictionary-alist) (progn (message "Default dictionary [%s]" ispell-dictionary) (message "Local dictionary [%s]" ispell-local-dictionary) (message "Current dictionary [%s]" ispell-current-dictionary) (prin1 "aspell-dictionary-alist:") (prin1 ispell-aspell-dictionary-alist) ) ) ;;; ;; The call of 'ispell-word' runs several routines that populate several variables, especially '-dictionary-alist'. ;;; (ispell-word "message") ;;; ;; Now output the same variables as above. They must have values. ;;; (progn (message "Default dictionary [%s]" ispell-dictionary) (message "Local dictionary [%s]" ispell-local-dictionary) (message "Current dictionary [%s]" ispell-current-dictionary) (prin1 "aspell-dictionary-alist:") (prin1 ispell-aspell-dictionary-alist) ) ;;; ;; Second run of 'ispell-word'. ;;; (ispell-word "message") ;;; ;; After second run variables might have other values. ;;; (progn (message "Default dictionary [%s]" ispell-dictionary) (message "Local dictionary [%s]" ispell-local-dictionary) (message "Current dictionary [%s]" ispell-current-dictionary) (prin1 "aspell-dictionary-alist:") (prin1 ispell-aspell-dictionary-alist) ) --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="min-hunspell.el" (setq ispell-program-name "hunspell") (setq ispell-really-hunspell t) ;; (setq ispell-dictionary "english") ;; (setq ispell-local-dictionary "english") (setq debug-on-error t) --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="min-aspell.el" (setq ispell-program-name "aspell") (setq ispell-really-aspell t) ;; (setq ispell-dictionary "english") ;; (setq ispell-local-dictionary "english") (setq debug-on-error t) --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hunspell-ex-step2.txt" Debugger entered--Lisp error: (error "ispell-phaf: No matching entry for nil. ") signal(error ("ispell-phaf: No matching entry for nil.\n")) error("ispell-phaf: No matching entry for %s.\n" nil) ispell-parse-hunspell-affix-file(nil) ispell-find-hunspell-dictionaries() ispell-set-spellchecker-params() ispell-word("message") eval((ispell-word "message") nil) eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp) --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hunspell-ex-step4.txt" Debugger entered--Lisp error: (error "ispell-phaf: No matching entry for nil. ") signal(error ("ispell-phaf: No matching entry for nil.\n")) error("ispell-phaf: No matching entry for %s.\n" nil) 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() ispell-word("message") eval((ispell-word "message") nil) eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp) --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hunspell-ex2-step2.txt" Debugger entered--Lisp error: (error "ispell-phaf: No matching entry for nil. ") signal(error ("ispell-phaf: No matching entry for nil.\n")) error("ispell-phaf: No matching entry for %s.\n" nil) ispell-parse-hunspell-affix-file(nil) ispell-find-hunspell-dictionaries() ispell-set-spellchecker-params() ispell-word("message") eval((ispell-word "message") nil) eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp) --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hunspell-ex2-step4.txt" Debugger entered--Lisp error: (error "No data for dictionary \"english\", neither in `ispell-local-dictionary-alist' nor in `ispell-dictionary-alist'") signal(error ("No data for dictionary \"english\", neither in `ispell-local-dictionary-alist' nor in `ispell-dictionary-alist'")) error("No data for dictionary \"%s\", neither in `ispell-local-dictionary-alist' nor in `ispell-dictionary-alist'" "english") ispell-get-decoded-string(1) ispell-get-casechars() ispell-get-word("message") ispell-word("message") eval((ispell-word "message") nil) eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp) --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hunspell-ex3-step2.txt" Debugger entered--Lisp error: (error "ispell-phaf: No matching entry for nil. ") signal(error ("ispell-phaf: No matching entry for nil.\n")) error("ispell-phaf: No matching entry for %s.\n" nil) ispell-parse-hunspell-affix-file(nil) ispell-find-hunspell-dictionaries() ispell-set-spellchecker-params() ispell-word("message") eval((ispell-word "message") nil) eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp) --IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hunspell-ex3-step4.txt" Debugger entered--Lisp error: (error "ispell-phaf: No matching entry for nil. ") signal(error ("ispell-phaf: No matching entry for nil.\n")) error("ispell-phaf: No matching entry for %s.\n" nil) 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() ispell-word("message") eval((ispell-word "message") nil) eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp) --IrhDeMKUP4DT/M7F-- From unknown Mon Aug 11 21:13:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15903: 24.3.50; Fix small issue with ispell-hunspell when dictionary is set to default (nil) Resent-From: Agustin Martin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Nov 2013 12:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15903 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Vladimir Lomov , 15903@debbugs.gnu.org Received: via spool by 15903-submit@debbugs.gnu.org id=B15903.138477673020439 (code B ref 15903); Mon, 18 Nov 2013 12:13:01 +0000 Received: (at 15903) by debbugs.gnu.org; 18 Nov 2013 12:12:10 +0000 Received: from localhost ([127.0.0.1]:59624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ViNgW-0005Ja-RJ for submit@debbugs.gnu.org; Mon, 18 Nov 2013 07:12:09 -0500 Received: from edison.ccupm.upm.es ([138.100.198.71]:58416) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ViNgT-0005Iv-9M for 15903@debbugs.gnu.org; Mon, 18 Nov 2013 07:12:06 -0500 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.14.3/8.14.3/edison-001) with ESMTP id rAICBwpF027711; Mon, 18 Nov 2013 13:11:58 +0100 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 382124001B; Mon, 18 Nov 2013 13:11:58 +0100 (CET) Date: Mon, 18 Nov 2013 13:11:58 +0100 From: Agustin Martin Message-ID: <20131118121157.GA8051@agmartin.aq.upm.es> References: <87wqk9k96w.fsf@smoon.org> <20131118063300.GB889@smoon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131118063300.GB889@smoon> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) On Mon, Nov 18, 2013 at 03:33:00PM +0900, Vladimir Lomov wrote: > Hello, > ** Agustin Martin [2013-11-16 12:43:02 +0100]: > > > 2013/11/15 Vladimir Lomov > > >> Hello, > >> according to variable 'ispell-dictionary-base-alist' defined in > >> 'ispell.el' if 'ispell-dictionary' is nil then it is considered as > >> default value for dictionary. Unfortunately, when hunspell is used as > >> ispell program function 'ispell-parse-hunspell-affix-file' fails because > >> it doesn't expect nil as argument. > > >> I propose small and simple patch. I checked it starting emacs as: > >> emacs -Q > >> and evaluating in *scratch*: > >> (setq ispell-program-name "hunspell") > >> (setq ispell-really-hunspell t) > >> after that I run 'M-$' while point is on first 's' of > >> (message) > > >> In minibuffer I see > >> MESSAGE is correct > > >> Without this patch the same steps lead to message > >> ispell-phaf: No matching entry for nil. > > > Hi, > > > Cannot reproduce it here. By the way, once initialized for hunspell > > ispell.el provides a match for default (nil) value, here > > > (nil [[:alpha:]] [^[:alpha:]] ['] nil (-B) nil utf-8) > > Wouldn't you mind to share how you get this? Using 20131101 emacs-snapshot, $ LC_ALL=C emacs-snapshot -Q & In scratch buffer, type (setq ispell-program-name "hunspell") (setq ispell-dictionary nil) and `eval-region' that region. Then run 'M-$' on a couple of words (file and dictionary). This will make ispell.el be loaded and ispell process started, messages buffer shows Starting new Ispell process [hunspell::default] ... Checking spelling of FILE... FILE is correct Checking spelling of DICTIONARY... DICTIONARY is correct Evaluating in the scratch buffer (message "%s" (assoc nil ispell-hunspell-dictionary-alist)) I get (now default here is en_US) (nil [[:alpha:]] [^[:alpha:]] ['0-9] t (-d en_US) nil utf-8) Note that `ispell-hunspell-dictionary-alist' is not bound until ispell.el is loaded, and that will not happen until you spellcheck for the first time (or call a command that forces ispell.el load), so the first part of your check should do nothing until then. If you get some result there please doublecheck that you are not loading it from a different site. PS: What is prin1? Regards, -- Agustin From unknown Mon Aug 11 21:13:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15903: 24.3.50; Fix small issue with ispell-hunspell when dictionary is set to default (nil) Resent-From: Vladimir Lomov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Nov 2013 12:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15903 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Agustin Martin , 15903@debbugs.gnu.org Received: via spool by 15903-submit@debbugs.gnu.org id=B15903.138477891727930 (code B ref 15903); Mon, 18 Nov 2013 12:49:02 +0000 Received: (at 15903) by debbugs.gnu.org; 18 Nov 2013 12:48:37 +0000 Received: from localhost ([127.0.0.1]:59629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ViOFn-0007GO-0L for submit@debbugs.gnu.org; Mon, 18 Nov 2013 07:48:35 -0500 Received: from mail-lb0-f182.google.com ([209.85.217.182]:57359) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ViOFj-0007G7-Pu for 15903@debbugs.gnu.org; Mon, 18 Nov 2013 07:48:32 -0500 Received: by mail-lb0-f182.google.com with SMTP id u14so1388408lbd.27 for <15903@debbugs.gnu.org>; Mon, 18 Nov 2013 04:48:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=bKIZc7WXfBQ2MI3C73v7GBxUO06oGYkzfr4osT57uCI=; b=xoSST+X/CMHkBFUsUAWY6FtnWs7E1aJf2S/MwrxYVrFyI7ndbAafiRjHTKHG/W1ozt s/9OsMtPlmdxc0lAuvqdRvexaiwY4XR36ITsYUMt3AeNImAky4IZ8x9xP9QxAUBESueX OnrOrHmL3cUy2K+alj8fAnKpdSgiaCvn+8AEliQxrBkevm1YKuV+UxKZlk4qAOET6L+J /EdJOs88ydqOSiJLZKdDf4ckNeDB5i6+EwiUWBmj/PpljKzBDXepjTHy+gTbb/J9x2SY Z1tqxNP+ZjVQrqQztehWPR1JGcBlefOVSVxeEY6RQQS9yWkS/7xlUj7WN2pvyqgzbI40 IVhQ== X-Received: by 10.112.53.134 with SMTP id b6mr13686025lbp.5.1384778905579; Mon, 18 Nov 2013 04:48:25 -0800 (PST) Received: from smoon ([141.105.47.97]) by mx.google.com with ESMTPSA id mq10sm10976337lbb.12.2013.11.18.04.48.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Nov 2013 04:48:23 -0800 (PST) Date: Mon, 18 Nov 2013 21:48:20 +0900 From: Vladimir Lomov Message-ID: <20131118124820.GC889@smoon> References: <87wqk9k96w.fsf@smoon.org> <20131118063300.GB889@smoon> <20131118121157.GA8051@agmartin.aq.upm.es> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="gr/z0/N6AeWAPJVB" Content-Disposition: inline In-Reply-To: <20131118121157.GA8051@agmartin.aq.upm.es> User-Agent: Mutt/1.5.22 (2013-10-16) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --gr/z0/N6AeWAPJVB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, ** Agustin Martin [2013-11-18 13:11:58 +0100]: [...] >>> Cannot reproduce it here. By the way, once initialized for hunspell >>> ispell.el provides a match for default (nil) value, here >>> (nil [[:alpha:]] [^[:alpha:]] ['] nil (-B) nil utf-8) >> Wouldn't you mind to share how you get this? > Using 20131101 emacs-snapshot, > $ LC_ALL=C emacs-snapshot -Q & > In scratch buffer, type > (setq ispell-program-name "hunspell") > (setq ispell-dictionary nil) > and `eval-region' that region. Then run 'M-$' on a couple of words (file and > dictionary). This will make ispell.el be loaded and ispell process started, > messages buffer shows > Starting new Ispell process [hunspell::default] ... > Checking spelling of FILE... > FILE is correct > Checking spelling of DICTIONARY... > DICTIONARY is correct Tried but without luck, I attached content of *Messages* and *scratch*. > Evaluating in the scratch buffer > (message "%s" (assoc nil ispell-hunspell-dictionary-alist)) > I get (now default here is en_US) > (nil [[:alpha:]] [^[:alpha:]] ['0-9] t (-d en_US) nil utf-8) Got nil. > Note that `ispell-hunspell-dictionary-alist' is not bound until ispell.el is > loaded, and that will not happen until you spellcheck for the first time (or > call a command that forces ispell.el load), so the first part of your check > should do nothing until then. If you get some result there please doublecheck > that you are not loading it from a different site. Exactly that I figured out from ispell.el, so at first I got 'void variable' then added 'boundp'. > PS: What is prin1? I found thin function in Emacs Lisp Manual (info:elisp#Output Functions), I use it because I didn't know how to use 'message' :), thanks for example. After some tests I found that my /real/ Emacs configuration works, this is odd because earlier it didn't. Using the same settings for test files gives failure. I'll back to this problem later on this week. --- WBR, Vladimir Lomov -- Clique Maintenance: The need of one generation to see the generation following it as deficient so as to bolster its own collective ego: "Kids today do nothing. They're so apathetic. We used to go out and protest. All they do is shop and complain." -- Douglas Coupland, "Generation X: Tales for an Accelerated Culture" --gr/z0/N6AeWAPJVB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="messages.txt" For information about GNU Emacs and the GNU system, type C-h C-a. "hunspell" nil Mark set ispell-parse-hunspell-affix-file: ispell-phaf: No matching entry for nil. Quit Starting new Ispell process [hunspell::default] ... ispell-parse-hunspell-affix-file: ispell-phaf: No matching entry for nil. Starting new Ispell process [hunspell::default] ... ispell-parse-hunspell-affix-file: ispell-phaf: No matching entry for nil. Starting new Ispell process [hunspell::default] ... ispell-parse-hunspell-affix-file: ispell-phaf: No matching entry for nil. End of buffer [2 times] nil "nil" --gr/z0/N6AeWAPJVB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="scratch.txt" (setq ispell-program-name "hunspell") (setq ispell-dictionary nil) (message "%s" (assoc nil ispell-hunspell-dictionary-alist)) --gr/z0/N6AeWAPJVB-- From unknown Mon Aug 11 21:13:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15903: 24.3.50; Fix small issue with ispell-hunspell when dictionary is set to default (nil) Resent-From: Agustin Martin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Nov 2013 10:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15903 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Vladimir Lomov , 15903@debbugs.gnu.org Received: via spool by 15903-submit@debbugs.gnu.org id=B15903.138485699411532 (code B ref 15903); Tue, 19 Nov 2013 10:30:02 +0000 Received: (at 15903) by debbugs.gnu.org; 19 Nov 2013 10:29:54 +0000 Received: from localhost ([127.0.0.1]:60948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ViiZ7-0002zt-Ks for submit@debbugs.gnu.org; Tue, 19 Nov 2013 05:29:53 -0500 Received: from fibonacci.ccupm.upm.es ([138.100.198.70]:60819) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ViiZ5-0002zb-GJ for 15903@debbugs.gnu.org; Tue, 19 Nov 2013 05:29:52 -0500 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.14.3/8.14.3/fibonacci-001) with ESMTP id rAJATi1D002309; Tue, 19 Nov 2013 11:29:45 +0100 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id E41FB4027D; Tue, 19 Nov 2013 11:29:44 +0100 (CET) Date: Tue, 19 Nov 2013 11:29:44 +0100 From: Agustin Martin Message-ID: <20131119102944.GA18745@agmartin.aq.upm.es> References: <87wqk9k96w.fsf@smoon.org> <20131118063300.GB889@smoon> <20131118121157.GA8051@agmartin.aq.upm.es> <20131118124820.GC889@smoon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131118124820.GC889@smoon> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) On Mon, Nov 18, 2013 at 09:48:20PM +0900, Vladimir Lomov wrote: > > After some tests I found that my /real/ Emacs configuration works, > this is odd because earlier it didn't. Using the same settings for test > files gives failure. I'll back to this problem later on this week. Hi, Just to complete info. What does 'hunspell -D' return in your box? Please try both with your locale and with LC_ALL=C. Thanks for the feedback, -- Agustin From unknown Mon Aug 11 21:13:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15903: 24.3.50; Fix small issue with ispell-hunspell when dictionary is set to default (nil) Resent-From: Vladimir Lomov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Nov 2013 12:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15903 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Agustin Martin , 15903@debbugs.gnu.org Received: via spool by 15903-submit@debbugs.gnu.org id=B15903.138486295321560 (code B ref 15903); Tue, 19 Nov 2013 12:10:01 +0000 Received: (at 15903) by debbugs.gnu.org; 19 Nov 2013 12:09:13 +0000 Received: from localhost ([127.0.0.1]:32818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vik7E-0005bf-Rn for submit@debbugs.gnu.org; Tue, 19 Nov 2013 07:09:13 -0500 Received: from mail-lb0-f172.google.com ([209.85.217.172]:48828) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vik7C-0005bR-8q for 15903@debbugs.gnu.org; Tue, 19 Nov 2013 07:09:10 -0500 Received: by mail-lb0-f172.google.com with SMTP id z5so1736653lbh.31 for <15903@debbugs.gnu.org>; Tue, 19 Nov 2013 04:09:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=d7G/A5QdG140IGet/6RU9fd2537jIjVuriSVM7PfPGE=; b=0gBVRCyUkiAFJH8AQLkIXPNBtAkRH4GM0BFx5jQ5Fo+2R1fNd02ZkR0NQgCuQ5MALv m9LC/6dR4bFziMY6IX5BhoKG4G4m90SV2qIol8rose5YK2llbV6+1dSWHAx/JtLJct2u LXh08BW5WpwLfx/hoMDcjpvKbLEmMMuNCtgqPptp03nCp4/fd/Ze8OvrqrJ9QDDgT1zn I3DgEFgd4qtUl6NPZoY56VWT8y2yM+vAGtOB5FxqjA6bJJ1lLjFPSrg7nsXRqpbMDHu1 80liHzDD8NQeZW3wNuphxxcMKEv5YLzgCHUsvEhkDsY+GAawBVh9IZVadsmbLG4GpAiE PqTg== X-Received: by 10.112.168.170 with SMTP id zx10mr17684638lbb.0.1384862944191; Tue, 19 Nov 2013 04:09:04 -0800 (PST) Received: from smoon ([141.105.47.97]) by mx.google.com with ESMTPSA id mr1sm15637734lbc.16.2013.11.19.04.09.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Nov 2013 04:09:02 -0800 (PST) Date: Tue, 19 Nov 2013 21:08:59 +0900 From: Vladimir Lomov Message-ID: <20131119120859.GD889@smoon> References: <87wqk9k96w.fsf@smoon.org> <20131118063300.GB889@smoon> <20131118121157.GA8051@agmartin.aq.upm.es> <20131118124820.GC889@smoon> <20131119102944.GA18745@agmartin.aq.upm.es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131119102944.GA18745@agmartin.aq.upm.es> User-Agent: Mutt/1.5.22 (2013-10-16) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello, ** Agustin Martin [2013-11-19 11:29:44 +0100]: > On Mon, Nov 18, 2013 at 09:48:20PM +0900, Vladimir Lomov wrote: >> After some tests I found that my /real/ Emacs configuration works, >> this is odd because earlier it didn't. Using the same settings for test >> files gives failure. I'll back to this problem later on this week. > Hi, > Just to complete info. What does 'hunspell -D' return in your box? Please > try both with your locale and with LC_ALL=C. Thank you, this helps me to resolve my issue. Problem was on my side, at that time when I used to use aspell for spell checking I set environment variable DICTIONARY to string 'russian'. Seems that fools hunspell. When I run hunspell -D in a shell with DICTIONARY set to 'russian' hunspell ended with ... Can't open affix or dictionary files for dictionary named "russian". with exit code 1. When I unset that variable I get ... LOADED DICTIONARY: /usr/share/hunspell/ru_RU.aff /usr/share/hunspell/ru_RU.dic Hunspell 1.3.2 And if I run hunspell with LC_ALL=C: ... LOADED DICTIONARY: /usr/share/hunspell/en_US.aff /usr/share/hunspell/en_US.dic Hunspell 1.3.2 So when I run Emacs in a shell without variable DICTIONARY like LC_ALL=C emacs -Q and perform your steps, (setq ispell-program-name "hunspell") (setq ispell-dictionary) 'evar-region' and 'M-$' some words in *scratch* buffer, then (message "%s" (assoc nil ispell-hunspell-dictionary-alist)) I get expected behaviour: 'M-$' checks words and ispell-hunspell-dictionary-alist contains 'nil' entry so it is treated correctly. > Thanks for the feedback, Thanks again. Now I think this "bug" can be closed as "FIXED". --- WBR, Vladimir Lomov -- Journalism is literature in a hurry. -- Matthew Arnold From unknown Mon Aug 11 21:13:31 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vladimir Lomov Subject: bug#15903: closed (Re: bug#15903: 24.3.50; Fix small issue with ispell-hunspell when dictionary is set to default (nil)) Message-ID: References: <20131119134331.GA5937@agmartin.aq.upm.es> <87wqk9k96w.fsf@smoon.org> X-Gnu-PR-Message: they-closed 15903 X-Gnu-PR-Package: emacs Reply-To: 15903@debbugs.gnu.org Date: Tue, 19 Nov 2013 13:44:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1384868643-2851-1" This is a multi-part message in MIME format... ------------=_1384868643-2851-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #15903: 24.3.50; Fix small issue with ispell-hunspell when dictionary is se= t to default (nil) which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 15903@debbugs.gnu.org. --=20 15903: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D15903 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1384868643-2851-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 15903-done) by debbugs.gnu.org; 19 Nov 2013 13:43:43 +0000 Received: from localhost ([127.0.0.1]:32939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vilag-0000jJ-BD for submit@debbugs.gnu.org; Tue, 19 Nov 2013 08:43:42 -0500 Received: from edison.ccupm.upm.es ([138.100.198.71]:33839) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vilac-0000j1-5i for 15903-done@debbugs.gnu.org; Tue, 19 Nov 2013 08:43:39 -0500 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.14.3/8.14.3/edison-001) with ESMTP id rAJDhV2R016890; Tue, 19 Nov 2013 14:43:31 +0100 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 6BEB640214; Tue, 19 Nov 2013 14:43:31 +0100 (CET) Date: Tue, 19 Nov 2013 14:43:31 +0100 From: Agustin Martin To: Vladimir Lomov , 15903-done@debbugs.gnu.org Subject: Re: bug#15903: 24.3.50; Fix small issue with ispell-hunspell when dictionary is set to default (nil) Message-ID: <20131119134331.GA5937@agmartin.aq.upm.es> References: <87wqk9k96w.fsf@smoon.org> <20131118063300.GB889@smoon> <20131118121157.GA8051@agmartin.aq.upm.es> <20131118124820.GC889@smoon> <20131119102944.GA18745@agmartin.aq.upm.es> <20131119120859.GD889@smoon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131119120859.GD889@smoon> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 15903-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) On Tue, Nov 19, 2013 at 09:08:59PM +0900, Vladimir Lomov wrote: > Hello, > ** Agustin Martin [2013-11-19 11:29:44 +0100]: > > > On Mon, Nov 18, 2013 at 09:48:20PM +0900, Vladimir Lomov wrote: > > >> After some tests I found that my /real/ Emacs configuration works, > >> this is odd because earlier it didn't. Using the same settings for test > >> files gives failure. I'll back to this problem later on this week. > > > Hi, > > > Just to complete info. What does 'hunspell -D' return in your box? Please > > try both with your locale and with LC_ALL=C. > > Thank you, this helps me to resolve my issue. Problem was on my side, at > that time when I used to use aspell for spell checking I set environment > variable DICTIONARY to string 'russian'. Seems that fools hunspell. When > I run hunspell -D in a shell with DICTIONARY set to 'russian' hunspell > ended with > > ... > Can't open affix or dictionary files for dictionary named "russian". hunspell does not have aliases unless you set symlinks to simulate them, will only accept entries shown in "hunspell -D". ispell.el tries to match aliases for entries traditionally in ispell-dictionary-alist, so those names still work from ispell.el, but that is only an internal ispell.el issue. > Now I think this "bug" can be closed as "FIXED". Done. Thanks for your help. Regards, -- Agustin ------------=_1384868643-2851-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 15 Nov 2013 15:17:36 +0000 Received: from localhost ([127.0.0.1]:56081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhL9K-0005bk-FZ for submit@debbugs.gnu.org; Fri, 15 Nov 2013 10:17:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39703) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhL9G-0005bR-Me for submit@debbugs.gnu.org; Fri, 15 Nov 2013 10:17:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhL95-000485-32 for submit@debbugs.gnu.org; Fri, 15 Nov 2013 10:17:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhL94-000481-Us for submit@debbugs.gnu.org; Fri, 15 Nov 2013 10:17:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhL8y-0003O0-Hu for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2013 10:17:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhL8s-00045y-C1 for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2013 10:17:12 -0500 Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]:46145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhL8r-00045X-Qp for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2013 10:17:06 -0500 Received: by mail-la0-f45.google.com with SMTP id eh20so2873565lab.32 for ; Fri, 15 Nov 2013 07:17:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=rA+fjj1mGDlc5pkQhpZocKeqx4dFtSLyaDj2zqeWM0g=; b=xT1arIDiGIqFsOsbbXXU9wG6ZJxfWZ1fcw/yuGw/snZ+kLJqCIZnMjBUE47EPwggEn DR8hw685gPjrXG8tGc1vo64vNYrXDd82xD7Hs17Kp3ghciuNM1G9B8203ugEwMF50fzY C9SYcCwRyHMdqi5PSCctN4HGs2NtCCNta5CUMSbWej4hZr+bfvXLNF8QNNl+VZTdecnL hX3lTMVipQUim2L0zpwpOXJQcA7oN1KHdDJzOVSEM2K8vcJdNciIf22Iyajm+EJ8LRs0 N77KCwWwhr0o80l6RgvFPUpXSlht00ktPVFzl3VKzCfC+iMMsoJg5L5keDvk7Wjd5iRs 2N5w== X-Received: by 10.112.73.97 with SMTP id k1mr143507lbv.58.1384528624144; Fri, 15 Nov 2013 07:17:04 -0800 (PST) Received: from smoon ([141.105.47.97]) by mx.google.com with ESMTPSA id l10sm2456206lbh.13.2013.11.15.07.17.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Nov 2013 07:17:02 -0800 (PST) Date: Sat, 16 Nov 2013 00:16:59 +0900 From: Vladimir Lomov To: bug-gnu-emacs@gnu.org Subject: 24.3.50; Fix small issue with ispell-hunspell when dictionary is set to default (nil) Message-ID: <87wqk9k96w.fsf@smoon.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline User-Agent: Mutt/1.5.22 (2013-10-16) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline --text follows this line-- Hello, according to variable 'ispell-dictionary-base-alist' defined in 'ispell.el' if 'ispell-dictionary' is nil then it is considered as default value for dictionary. Unfortunately, when hunspell is used as ispell program function 'ispell-parse-hunspell-affix-file' fails because it doesn't expect nil as argument. I propose small and simple patch. I checked it starting emacs as: emacs -Q and evaluating in *scratch*: (setq ispell-program-name "hunspell") (setq ispell-really-hunspell t) after that I run 'M-$' while point is on first 's' of (message) In minibuffer I see MESSAGE is correct Without this patch the same steps lead to message ispell-phaf: No matching entry for nil. In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.3) of 2013-11-14 on smoon Bzr revision: rgm@gnu.org-20131114112121-t9kk595b6a0hqn4x Windowing system distributor `The X.Org Foundation', version 11.0.11404000 System Description: Arch Linux Configured using: `configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-rsvg --with-x-toolkit=gtk3 --with-xft --with-libotf --with-dbus --with-gsettings --without-sound 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Important settings: value of $LC_COLLATE: C value of $LANG: ru_RU.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Org Minor modes in effect: erc-services-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t diff-auto-refine-mode: t global-auto-complete-mode: t shell-dirtrack-mode: t org-cdlatex-mode: t ido-everywhere: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-c ' C-SPC C-c ; C-c C-c u e n g l i s h C-k l i s h l i s h l i s h C-SPC C-g C-SPC C-c ' C-c C-v C-t C-c ' C-SPC C-SPC C-c ' C-c C-v C-t C-c ' C-SPC C-w C-c ' C-c C-v C-t M-x r e p o r t - e m Recent messages: Wrote /home/lomov/works/scripts/emacs.d/erc-us.el Wrote /home/lomov/works/scripts/emacs.d/emacs Wrote /home/lomov/works/scripts/emacs.d/cdlatex-us.el Wrote /home/lomov/works/scripts/emacs.d/auctex-us.el Wrote /home/lomov/works/scripts/emacs.d/org-us.el Wrote /home/lomov/works/scripts/emacs.d/keybinds-us.el Wrote /home/lomov/works/scripts/emacs.d/mode/org-capture-note-idea.txt Wrote /home/lomov/works/scripts/emacs.d/mode/org-capture-journal.txt Wrote /home/lomov/works/scripts/emacs.d/mode/org-capture-todo.txt Tangled 27 code blocks from emacs.org Load-path shadows: /usr/share/emacs/site-lisp/org/org-macs hides /usr/share/emacs/24.3.50/lisp/org/org-macs /usr/share/emacs/site-lisp/org/org-list hides /usr/share/emacs/24.3.50/lisp/org/org-list /usr/share/emacs/site-lisp/org/org-feed hides /usr/share/emacs/24.3.50/lisp/org/org-feed /usr/share/emacs/site-lisp/org/org-faces hides /usr/share/emacs/24.3.50/lisp/org/org-faces /usr/share/emacs/site-lisp/org/org-ctags hides /usr/share/emacs/24.3.50/lisp/org/org-ctags /usr/share/emacs/site-lisp/org/org-crypt hides /usr/share/emacs/24.3.50/lisp/org/org-crypt /usr/share/emacs/site-lisp/org/org-colview hides /usr/share/emacs/24.3.50/lisp/org/org-colview /usr/share/emacs/site-lisp/org/org-clock hides /usr/share/emacs/24.3.50/lisp/org/org-clock /usr/share/emacs/site-lisp/org/org-archive hides /usr/share/emacs/24.3.50/lisp/org/org-archive /usr/share/emacs/site-lisp/org/org-agenda hides /usr/share/emacs/24.3.50/lisp/org/org-agenda /usr/share/emacs/site-lisp/org/ob-lilypond hides /usr/share/emacs/24.3.50/lisp/org/ob-lilypond /usr/share/emacs/site-lisp/org/ob-ocaml hides /usr/share/emacs/24.3.50/lisp/org/ob-ocaml /usr/share/emacs/site-lisp/org/ob-latex hides /usr/share/emacs/24.3.50/lisp/org/ob-latex /usr/share/emacs/site-lisp/org/ob-python hides /usr/share/emacs/24.3.50/lisp/org/ob-python /usr/share/emacs/site-lisp/org/ob-mscgen hides /usr/share/emacs/24.3.50/lisp/org/ob-mscgen /usr/share/emacs/site-lisp/org/ob-asymptote hides /usr/share/emacs/24.3.50/lisp/org/ob-asymptote /usr/share/emacs/site-lisp/org/ob-comint hides /usr/share/emacs/24.3.50/lisp/org/ob-comint /usr/share/emacs/site-lisp/org/ob-clojure hides /usr/share/emacs/24.3.50/lisp/org/ob-clojure /usr/share/emacs/site-lisp/org/ob-scheme hides /usr/share/emacs/24.3.50/lisp/org/ob-scheme /usr/share/emacs/site-lisp/org/org-table hides /usr/share/emacs/24.3.50/lisp/org/org-table /usr/share/emacs/site-lisp/org/org-src hides /usr/share/emacs/24.3.50/lisp/org/org-src /usr/share/emacs/site-lisp/org/org-rmail hides /usr/share/emacs/24.3.50/lisp/org/org-rmail /usr/share/emacs/site-lisp/org/org-protocol hides /usr/share/emacs/24.3.50/lisp/org/org-protocol /usr/share/emacs/site-lisp/org/ox-odt hides /usr/share/emacs/24.3.50/lisp/org/ox-odt /usr/share/emacs/site-lisp/org/org-plot hides /usr/share/emacs/24.3.50/lisp/org/org-plot /usr/share/emacs/site-lisp/org/org-pcomplete hides /usr/share/emacs/24.3.50/lisp/org/org-pcomplete /usr/share/emacs/site-lisp/org/ox-md hides /usr/share/emacs/24.3.50/lisp/org/ox-md /usr/share/emacs/site-lisp/org/org-mouse hides /usr/share/emacs/24.3.50/lisp/org/org-mouse /usr/share/emacs/site-lisp/org/org-mobile hides /usr/share/emacs/24.3.50/lisp/org/org-mobile /usr/share/emacs/site-lisp/org/org-mhe hides /usr/share/emacs/24.3.50/lisp/org/org-mhe /usr/share/emacs/site-lisp/org/org-macro hides /usr/share/emacs/24.3.50/lisp/org/org-macro /usr/share/emacs/site-lisp/org/org-irc hides /usr/share/emacs/24.3.50/lisp/org/org-irc /usr/share/emacs/site-lisp/org/org-inlinetask hides /usr/share/emacs/24.3.50/lisp/org/org-inlinetask /usr/share/emacs/site-lisp/org/ox-icalendar hides /usr/share/emacs/24.3.50/lisp/org/ox-icalendar /usr/share/emacs/site-lisp/org/org-info hides /usr/share/emacs/24.3.50/lisp/org/org-info /usr/share/emacs/site-lisp/org/org-indent hides /usr/share/emacs/24.3.50/lisp/org/org-indent /usr/share/emacs/site-lisp/org/org-id hides /usr/share/emacs/24.3.50/lisp/org/org-id /usr/share/emacs/site-lisp/org/org-habit hides /usr/share/emacs/24.3.50/lisp/org/org-habit /usr/share/emacs/site-lisp/org/org-gnus hides /usr/share/emacs/24.3.50/lisp/org/org-gnus /usr/share/emacs/site-lisp/org/org-footnote hides /usr/share/emacs/24.3.50/lisp/org/org-footnote /usr/share/emacs/site-lisp/org/ox-html hides /usr/share/emacs/24.3.50/lisp/org/ox-html /usr/share/emacs/site-lisp/org/org-eshell hides /usr/share/emacs/24.3.50/lisp/org/org-eshell /usr/share/emacs/site-lisp/org/org-entities hides /usr/share/emacs/24.3.50/lisp/org/org-entities /usr/share/emacs/site-lisp/org/ox-beamer hides /usr/share/emacs/24.3.50/lisp/org/ox-beamer /usr/share/emacs/site-lisp/org/org-element hides /usr/share/emacs/24.3.50/lisp/org/org-element /usr/share/emacs/site-lisp/org/ox-ascii hides /usr/share/emacs/24.3.50/lisp/org/ox-ascii /usr/share/emacs/site-lisp/org/org-docview hides /usr/share/emacs/24.3.50/lisp/org/org-docview /usr/share/emacs/site-lisp/org/org hides /usr/share/emacs/24.3.50/lisp/org/org /usr/share/emacs/site-lisp/org/org-datetree hides /usr/share/emacs/24.3.50/lisp/org/org-datetree /usr/share/emacs/site-lisp/org/org-w3m hides /usr/share/emacs/24.3.50/lisp/org/org-w3m /usr/share/emacs/site-lisp/org/org-compat hides /usr/share/emacs/24.3.50/lisp/org/org-compat /usr/share/emacs/site-lisp/org/org-timer hides /usr/share/emacs/24.3.50/lisp/org/org-timer /usr/share/emacs/site-lisp/org/ox hides /usr/share/emacs/24.3.50/lisp/org/ox /usr/share/emacs/site-lisp/org/org-capture hides /usr/share/emacs/24.3.50/lisp/org/org-capture /usr/share/emacs/site-lisp/org/ox-latex hides /usr/share/emacs/24.3.50/lisp/org/ox-latex /usr/share/emacs/site-lisp/org/org-bibtex hides /usr/share/emacs/24.3.50/lisp/org/org-bibtex /usr/share/emacs/site-lisp/org/ox-texinfo hides /usr/share/emacs/24.3.50/lisp/org/ox-texinfo /usr/share/emacs/site-lisp/org/org-bbdb hides /usr/share/emacs/24.3.50/lisp/org/org-bbdb /usr/share/emacs/site-lisp/org/org-attach hides /usr/share/emacs/24.3.50/lisp/org/org-attach /usr/share/emacs/site-lisp/org/ox-publish hides /usr/share/emacs/24.3.50/lisp/org/ox-publish /usr/share/emacs/site-lisp/org/ox-man hides /usr/share/emacs/24.3.50/lisp/org/ox-man /usr/share/emacs/site-lisp/org/ox-org hides /usr/share/emacs/24.3.50/lisp/org/ox-org /usr/share/emacs/site-lisp/org/ob hides /usr/share/emacs/24.3.50/lisp/org/ob /usr/share/emacs/site-lisp/org/ob-tangle hides /usr/share/emacs/24.3.50/lisp/org/ob-tangle /usr/share/emacs/site-lisp/org/ob-table hides /usr/share/emacs/24.3.50/lisp/org/ob-table /usr/share/emacs/site-lisp/org/ob-sqlite hides /usr/share/emacs/24.3.50/lisp/org/ob-sqlite /usr/share/emacs/site-lisp/org/ob-plantuml hides /usr/share/emacs/24.3.50/lisp/org/ob-plantuml /usr/share/emacs/site-lisp/org/ob-java hides /usr/share/emacs/24.3.50/lisp/org/ob-java /usr/share/emacs/site-lisp/org/ob-picolisp hides /usr/share/emacs/24.3.50/lisp/org/ob-picolisp /usr/share/emacs/site-lisp/org/ob-maxima hides /usr/share/emacs/24.3.50/lisp/org/ob-maxima /usr/share/emacs/site-lisp/org/ob-io hides /usr/share/emacs/24.3.50/lisp/org/ob-io /usr/share/emacs/site-lisp/org/ob-perl hides /usr/share/emacs/24.3.50/lisp/org/ob-perl /usr/share/emacs/site-lisp/org/ob-matlab hides /usr/share/emacs/24.3.50/lisp/org/ob-matlab /usr/share/emacs/site-lisp/org/ob-haskell hides /usr/share/emacs/24.3.50/lisp/org/ob-haskell /usr/share/emacs/site-lisp/org/ob-sql hides /usr/share/emacs/24.3.50/lisp/org/ob-sql /usr/share/emacs/site-lisp/org/ob-org hides /usr/share/emacs/24.3.50/lisp/org/ob-org /usr/share/emacs/site-lisp/org/ob-ledger hides /usr/share/emacs/24.3.50/lisp/org/ob-ledger /usr/share/emacs/site-lisp/org/ob-gnuplot hides /usr/share/emacs/24.3.50/lisp/org/ob-gnuplot /usr/share/emacs/site-lisp/org/ob-shen hides /usr/share/emacs/24.3.50/lisp/org/ob-shen /usr/share/emacs/site-lisp/org/ob-octave hides /usr/share/emacs/24.3.50/lisp/org/ob-octave /usr/share/emacs/site-lisp/org/ob-keys hides /usr/share/emacs/24.3.50/lisp/org/ob-keys /usr/share/emacs/site-lisp/org/ob-fortran hides /usr/share/emacs/24.3.50/lisp/org/ob-fortran /usr/share/emacs/site-lisp/org/ob-screen hides /usr/share/emacs/24.3.50/lisp/org/ob-screen /usr/share/emacs/site-lisp/org/ob-exp hides /usr/share/emacs/24.3.50/lisp/org/ob-exp /usr/share/emacs/site-lisp/org/ob-lisp hides /usr/share/emacs/24.3.50/lisp/org/ob-lisp /usr/share/emacs/site-lisp/org/ob-eval hides /usr/share/emacs/24.3.50/lisp/org/ob-eval /usr/share/emacs/site-lisp/org/ob-ref hides /usr/share/emacs/24.3.50/lisp/org/ob-ref /usr/share/emacs/site-lisp/org/ob-lob hides /usr/share/emacs/24.3.50/lisp/org/ob-lob /usr/share/emacs/site-lisp/org/ob-emacs-lisp hides /usr/share/emacs/24.3.50/lisp/org/ob-emacs-lisp /usr/share/emacs/site-lisp/org/ob-sass hides /usr/share/emacs/24.3.50/lisp/org/ob-sass /usr/share/emacs/site-lisp/org/ob-js hides /usr/share/emacs/24.3.50/lisp/org/ob-js /usr/share/emacs/site-lisp/org/ob-dot hides /usr/share/emacs/24.3.50/lisp/org/ob-dot /usr/share/emacs/site-lisp/org/ob-ruby hides /usr/share/emacs/24.3.50/lisp/org/ob-ruby /usr/share/emacs/site-lisp/org/ob-makefile hides /usr/share/emacs/24.3.50/lisp/org/ob-makefile /usr/share/emacs/site-lisp/org/ob-ditaa hides /usr/share/emacs/24.3.50/lisp/org/ob-ditaa /usr/share/emacs/site-lisp/org/ob-scala hides /usr/share/emacs/24.3.50/lisp/org/ob-scala /usr/share/emacs/site-lisp/org/ob-R hides /usr/share/emacs/24.3.50/lisp/org/ob-R /usr/share/emacs/site-lisp/org/ob-css hides /usr/share/emacs/24.3.50/lisp/org/ob-css /usr/share/emacs/site-lisp/org/ob-C hides /usr/share/emacs/24.3.50/lisp/org/ob-C /usr/share/emacs/site-lisp/org/ob-sh hides /usr/share/emacs/24.3.50/lisp/org/ob-sh /usr/share/emacs/site-lisp/org/org-loaddefs hides /usr/share/emacs/24.3.50/lisp/org/org-loaddefs /usr/share/emacs/site-lisp/org/ob-awk hides /usr/share/emacs/24.3.50/lisp/org/ob-awk /usr/share/emacs/site-lisp/org/ob-core hides /usr/share/emacs/24.3.50/lisp/org/ob-core /usr/share/emacs/site-lisp/org/ob-calc hides /usr/share/emacs/24.3.50/lisp/org/ob-calc /usr/share/emacs/site-lisp/org/org-version hides /usr/share/emacs/24.3.50/lisp/org/org-version /usr/share/emacs/site-lisp/org/org-install hides /usr/share/emacs/24.3.50/lisp/org/org-install Features: (shadow sort spook cookie1 mail-extr emacsbug message idna rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils image-file tabify ffap org-colview cal-china lunar solar cal-dst cal-bahai cal-iso vc-git cdlatex texmathp org-annotate-file org-id org-habit org-info org-docview org-bibtex bibtex org-bbdb erc-services erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button wid-edit erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat magit-key-mode magit grep compile epa derived epg epg-config diff-mode git-rebase-mode thingatpt rx git-commit-mode server log-edit pcvs-util add-log magit-version auto-complete-config auto-complete cl-macs gv popup cl calfw-ical url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source eieio eieio-core gnus-util mm-util mail-prsvr password-cache url-vars mailcap icalendar diary-lib diary-loaddefs calfw-org org-agenda calfw edmacro kmacro cl-loaddefs cl-lib holidays hol-loaddefs ob-sh shell ob-perl ob-latex ob-asymptote ob-gnuplot ox-latex ox-icalendar ox-html ox-ascii ox-publish ox org-element org byte-opt bytecomp byte-compile cconv org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs preview-latex tex-site auto-loads jka-compr dired+ dired-aux bookmark+ bookmark+-key easy-mmode advice help-fns dired-x dired bookmark+-1 bookmark+-bmu help-mode easymenu bookmark+-lit bookmark pp ido uniquify flyspell ispell time-date paren cyril-util tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) P.S. I wasn't able to configure Emacs Message mode to use local configured mail server (postfix), so I have to resend message using other mail agent. -- WBR, Vladimir Lomov -- Whenever Richard Cory went downtown, We people on the pavement looked at him: He was a gentleman from sole to crown, Clean-favored, and imperially slim. And he was always quietly arrayed, And he was always human when he talked; But still he fluttered pulses when he said, "Good morning," and he glittered when he walked. And he was rich -- yes, richer than a king -- And admirably schooled in every grace: In fine, we thought that he was everything To make us wish that we were in his place. So on we worked, and waited for the light, And went without the meat, and cursed the bread; And Richard Cory, one calm summer night, Went home and put a bullet through his head. -- E.A. Robinson, "Richard Cory" --SLDf9lqlvOQaIe6s Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="ispell.el.patch" --- ispell.el.orig 2013-11-15 22:40:50.922512372 +0900 +++ ispell.el 2013-11-15 22:41:25.509015578 +0900 @@ -1181,6 +1181,7 @@ (defun ispell-parse-hunspell-affix-file (dict-key) "Parse hunspell affix file to extract parameters for `DICT-KEY'. Return a list in `ispell-dictionary-alist' format." + (unless dict-key (setq dict-key "english")) (let ((affix-file (cadr (assoc dict-key ispell-hunspell-dict-paths-alist)))) (unless affix-file (error "ispell-phaf: No matching entry for %s.\n" dict-key)) --SLDf9lqlvOQaIe6s-- ------------=_1384868643-2851-1--