From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 08 05:35:00 2012 Received: (at submit) by debbugs.gnu.org; 8 Apr 2012 09:35:00 +0000 Received: from localhost ([127.0.0.1]:44431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SGoWR-00058V-38 for submit@debbugs.gnu.org; Sun, 08 Apr 2012 05:34:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57294) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SGoWM-00058M-NF for submit@debbugs.gnu.org; Sun, 08 Apr 2012 05:34:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SGoVX-00040R-Dy for submit@debbugs.gnu.org; Sun, 08 Apr 2012 05:34:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:43781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGoVX-00040M-Al for submit@debbugs.gnu.org; Sun, 08 Apr 2012 05:34:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGoVV-0002kB-6P for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2012 05:34:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SGoVS-000407-Ic for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2012 05:34:00 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:65436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGoVS-000402-4o for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2012 05:33:58 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M2500K00MEBSH00@a-mtaout21.012.net.il> for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2012 12:33:56 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.57.204]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M2500KAWMKGKHA0@a-mtaout21.012.net.il> for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2012 12:33:53 +0300 (IDT) Date: Sun, 08 Apr 2012 12:31:55 +0300 From: Eli Zaretskii Subject: 24.0.95; ispell.el sets incorrect encoding for the default dictionary X-012-Sender: halo1@inter.net.il To: bug-gnu-emacs@gnu.org Message-id: <83aa2ma7sk.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) In ispell.el we see: (defvar ispell-dictionary-base-alist '((nil ;; The default dictionary. It may be English.aff, or any other ;; dictionary depending on locale and such things. We should probably ;; ask ispell what dictionary it's using, but until we do that, let's ;; just use an approximate regexp. "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-B") nil iso-8859-1) The iso-8859-1 part is not the optimal choice for aspell and hunspell. These spell-checkers support UTF-8 encoding, so using utf-8 here will DTRT in a much larger number of locales. With iso-8859-1, any non-Latin locale will require the user to customize ispell-local-dictionary-alist, when there's no real reason for forcing them do that. Please include some simple logic to use utf-8 with the default dictionary, when the speller is aspell or hunspell. In GNU Emacs 24.0.95.1 (i386-mingw-nt5.1.2600) of 2012-04-02 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1255 default enable-multibyte-characters: t Major mode: Mail Minor modes in effect: diff-auto-refine-mode: t flyspell-mode: t desktop-save-mode: t show-paren-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t abbrev-mode: t Recent input: M-z M-z M-z M-z M-z M-z M-z M-z M-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z C-x k C-x k C-x k C-x k M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z C-x C-x M-z M-z M-z M-z M-z C-u 1 C-h i i d o l i s t M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z M-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z C-z M-x r e p o r t - e m Recent messages: Parsing archive file...done. Mark saved where search started [4 times] Mark set Mark saved where search started [4 times] Parsing archive file...done. Mark saved where search started [7 times] Parsing archive file...done. Mark saved where search started Mark set Found `dolist' in Index. (Only match) Load-path shadows: None found. Features: (shadow emacsbug pp descr-text smerge-mode timezone rmailsort mule-util ebuff-menu electric vc-dispatcher etags dabbrev help-mode view multi-isearch network-stream starttls tls smtpmail auth-source eieio assoc gnus-util password-cache mailalias sendmail rmailout ld-script dired-x dired tcl nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok sgml-mode face-remap org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks find-func org-agenda org-info org-gnus org-docview org-bibtex bibtex org-bbdb org byte-opt warnings bytecomp byte-compile cconv macroexp advice help-fns advice-preload ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-pcomplete pcomplete org-list org-faces org-compat org-entities org-macs cal-menu calendar cal-loaddefs noutline outline arc-mode archive-mode diff-mode conf-mode newcomment sh-script executable generic jka-compr make-mode autorevert gud easy-mmode comint ansi-color ring parse-time vc-cvs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs info texinfo regexp-opt vc-bzr flyspell ispell add-log qp rmailsum rmailmm message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 rmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils desktop server filecache mairix cus-edit easymenu cus-start cus-load wid-edit saveplace midnight generic-x paren battery time time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-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 loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 16 13:05:18 2012 Received: (at 11200-done) by debbugs.gnu.org; 16 Apr 2012 17:05:18 +0000 Received: from localhost ([127.0.0.1]:37112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SJpMb-0004KG-F0 for submit@debbugs.gnu.org; Mon, 16 Apr 2012 13:05:18 -0400 Received: from fibonacci.ccupm.upm.es ([138.100.198.70]:53627 helo=smtp.upm.es) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SJpMV-0004Ju-4E for 11200-done@debbugs.gnu.org; Mon, 16 Apr 2012 13:05:16 -0400 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 q3GH51e7018273; Mon, 16 Apr 2012 19:05:01 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 8416D4F5; Mon, 16 Apr 2012 19:05:01 +0200 (CEST) Date: Mon, 16 Apr 2012 19:05:01 +0200 From: Agustin Martin To: 11200-done@debbugs.gnu.org Subject: Re: bug#11200: 24.0.95; ispell.el sets incorrect encoding for the default dictionary Message-ID: <20120416170501.GA14907@agmartin.aq.upm.es> References: <83aa2ma7sk.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83aa2ma7sk.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 11200-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) On Sun, Apr 08, 2012 at 12:31:55PM +0300, Eli Zaretskii wrote: > In ispell.el we see: > > (defvar ispell-dictionary-base-alist > '((nil > ;; The default dictionary. It may be English.aff, or any other > ;; dictionary depending on locale and such things. We should probably > ;; ask ispell what dictionary it's using, but until we do that, let's > ;; just use an approximate regexp. > "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-B") nil iso-8859-1) > > The iso-8859-1 part is not the optimal choice for aspell and hunspell. > These spell-checkers support UTF-8 encoding, so using utf-8 here will > DTRT in a much larger number of locales. With iso-8859-1, any > non-Latin locale will require the user to customize > ispell-local-dictionary-alist, when there's no real reason for forcing > them do that. > > Please include some simple logic to use utf-8 with the default > dictionary, when the speller is aspell or hunspell. Committed change to use utf-8 for recent aspell or hunspell together with the change to use [:alpha:] if available. Closing bug report. By the way, since global dicts will always use [:alpha:] in Emacs, I will revert above `ispell-dictionary-base-alist' definition to the XEmacs friendly original version. Should have no effect at all for Emacs. Thanks for your hunspell tests and general feedback. -- Agustin From unknown Wed Jun 18 23:18:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 15 May 2012 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator