emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r107924: (ispell-dictionary-base-alis


From: Agustin Martin
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r107924: (ispell-dictionary-base-alist): Revert to original XEmacs friendly default value.
Date: Mon, 16 Apr 2012 19:32:02 +0200
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 107924
committer: Agustin Martin <address@hidden>
branch nick: trunk
timestamp: Mon 2012-04-16 19:32:02 +0200
message:
  (ispell-dictionary-base-alist): Revert to original XEmacs friendly default 
value.
  
  Having [:alpha:] here is no longer needed. If possible [:alpha:] will be
  set in `ispell-set-spellchecker-params' (and will always be for Emacs).
modified:
  lisp/ChangeLog
  lisp/textmodes/ispell.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-04-16 17:06:58 +0000
+++ b/lisp/ChangeLog    2012-04-16 17:32:02 +0000
@@ -2,6 +2,9 @@
 
        * ispell.el (ispell-set-spellchecker-params): Post-process
        `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
+       (ispell-dictionary-base-alist): Revert to original XEmacs
+       friendly version for default.  [:alpha:] will be added in
+       `ispell-set-spellchecker-params' if needed
 
 2012-04-16  Chong Yidong  <address@hidden>
 

=== modified file 'lisp/textmodes/ispell.el'
--- a/lisp/textmodes/ispell.el  2012-04-16 09:49:51 +0000
+++ b/lisp/textmodes/ispell.el  2012-04-16 17:32:02 +0000
@@ -574,12 +574,12 @@
 
 
 (defvar ispell-dictionary-base-alist
-  '((nil
+  '((nil                                ; default
      ;; 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)
+     ;; just use a minimal regexp. [:alpha:] will later be set if possible.
+     "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B") nil iso-8859-1)
     ("american"                                ; Yankee English
      "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B") nil iso-8859-1)
     ("brasileiro"                      ; Brazilian mode


reply via email to

[Prev in Thread] Current Thread [Next in Thread]