diff --git a/dicts.changes b/dicts.changes index 07e64a1..2572d85 100644 --- a/dicts.changes +++ b/dicts.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 28 13:50:05 UTC 2017 - werner@suse.de + +- Use modern regular expressions for character sets in lisp + declarations for the dictionaries + ------------------------------------------------------------------- Thu Feb 13 09:22:44 UTC 2014 - werner@suse.de diff --git a/dicts.spec b/dicts.spec index c57b7a1..025b5d7 100644 --- a/dicts.spec +++ b/dicts.spec @@ -1,7 +1,7 @@ # # spec file for package dicts # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/prepare-dicts.dif b/prepare-dicts.dif index f58d060..11105c6 100644 --- a/prepare-dicts.dif +++ b/prepare-dicts.dif @@ -2706,8 +2706,8 @@ + +(append-ispell-dict-alist "br.hash" + '("brazilian" -+ "[A-Za-z\300\301\302\303\307\310\311\312\314\315\322\323\324\325\331\332\333\334\340\341\342\343\347\350\351\352\354\355\362\363\364\365\371\372\373\374]" -+ "[^A-Za-z\300\301\302\303\307\310\311\312\314\315\322\323\324\325\331\332\333\334\340\341\342\343\347\350\351\352\354\355\362\363\364\365\371\372\373\374]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[']" nil ("-B" "-d" "br") "~nroff" iso-latin-1)) + +(append-ispell-dict-alist "br.hash" @@ -2724,14 +2724,14 @@ + +(append-ispell-dict-alist "catala.hash" + '("catalan-tex" -+ "[A-Za-z'\"\\`^}{~\267]" -+ "[^A-Za-z'\"\\`^}{~\267]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[---'.\"\\`^}{~]" nil ("-B" "-d" "catala") "~plaintex" nil)) + +(append-ispell-dict-alist "catala.hash" + '("catalan" -+ "[A-Za-z\267\300\301\307\310\311\313\315\316\317\321\322\323\326\332\333\334\340\341\347\350\351\353\355\356\357\361\362\363\363\366\372\373\374]" -+ "[^A-Za-z\267\300\301\307\310\311\313\315\316\317\321\322\323\326\332\333\334\340\341\347\350\351\353\355\356\357\361\362\363\363\366\372\373\374]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[---'.]" nil ("-B" "-d" "catala") "~list" iso-latin-1)) + +(append-ispell-dict-alist "catala.hash" @@ -2747,8 +2747,8 @@ + +(append-ispell-dict-alist "czech.hash" + '("czech" -+ "[A-Za-z\245\251\256\271\273\276\310\315\330\332\341\350\351\354\355\357\362\363\370\371\372\374\375]" -+ "[^A-Za-z\245\251\256\271\273\276\310\315\330\332\341\350\351\354\355\357\362\363\370\371\372\374\375]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[']" nil ("-B" "-d" "czech") nil iso-latin-2)) + +(append-ispell-dict-alist "czech.hash" @@ -2765,14 +2765,14 @@ + +(append-ispell-dict-alist "dansk.hash" + '("dansk-tex" -+ "[A-Za-z'\"\\`}{]" -+ "[^A-Za-z'\"\\`}{]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "['\"\\`}{]" nil ("-C" "-d" "dansk") "~tex" nil)) + +(append-ispell-dict-alist "dansk.hash" + '("dansk" -+ "[A-Za-z\304\305\306\310\311\326\330\334\344\345\346\350\351\366\370\374]" -+ "[^A-Za-z\304\305\306\310\311\326\330\334\344\345\346\350\351\366\370\374]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[']" nil ("-C" "-d" "dansk") "~list" iso-latin-1)) ; regexp "" or [] leads to an error + +(append-ispell-dict-alist "dansk.hash" @@ -2789,19 +2789,19 @@ + +(append-ispell-dict-alist "deutsch.hash" + '("deutsch-babel" -+ "[a-zA-Z\"]" -+ "[^a-zA-Z\"]" "[']" t ("-C" "-d" "deutsch") "~tex" nil)) ++ "[[:alpha:]]" ++ "[^[:alpha:]]" t ("-C" "-d" "deutsch") "~tex" nil)) + +(append-ispell-dict-alist "deutsch.hash" + '("deutsch" -+ "[a-zA-Z\304\326\334\344\366\337\374]" -+ "[^a-zA-Z\304\326\334\344\366\337\374]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[']" t ("-C" "-d" "deutsch") "~latin1" iso-latin-1)) + +(append-ispell-dict-alist "deutsch.hash" + '("deutsch-utf8" -+ "[a-zA-Z\303\204\303\226\303\234\303\244\303\266\303\237\303\274]" -+ "[^a-zA-Z\303\204\303\226\303\234\303\244\303\266\303\237\303\274]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[']" t ("-C" "-d" "deutsch") "~utf8" utf-8)) + --- suse/emacs/ellhnika.el @@ -2812,8 +2812,8 @@ + +(append-ispell-dict-alist "ellhnika.hash" + '("ellhnika" -+ "[\242\270\271\272\273\274\275\276\277\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377]" -+ "[^\242\270\271\272\273\274\275\276\277\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[']" nil ("-B" "-d" "ellhnika") nil iso-latin-7)) + +(append-ispell-dict-alist "ellhnika.hash" @@ -2830,20 +2830,20 @@ + +(append-ispell-dict-alist "espanol.hash" + '("espanol-babel" -+ "[A-Za-z'\"^~]" -+ "[^A-Za-z'\"^~]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "['\"^~]" nil ("-B" "-d" "espanol") "~tex" nil)) + +(append-ispell-dict-alist "espanol.hash" + '("espanol" -+ "[A-Za-z\301\311\315\321\323\332\334\341\351\355\361\363\372\374]" -+ "[^A-Za-z\301\311\315\321\323\332\334\341\351\355\361\363\372\374]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[']" nil ("-B" "-d" "espanol") "~latin1" iso-latin-1)) ; regexp "" or [] leads to an error + +(append-ispell-dict-alist "espanol.hash" + '("espanol-utf8" -+ "[A-Za-z\303\201\303\211\303\215\303\221\303\223\303\232\303\234\303\241\303\251\303\255\303\261\303\263\303\272\303\274]" -+ "[^A-Za-z\303\201\303\211\303\215\303\221\303\223\303\232\303\234\303\241\303\251\303\255\303\261\303\263\303\272\303\274]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[']" nil ("-B" "-d" "espanol") "~utf8" utf-8)) ; regexp "" or [] leads to an error + --- suse/emacs/esperanto.el @@ -2854,20 +2854,20 @@ + +(append-ispell-dict-alist "esperanto.hash" + '("esperanto-babel" -+ "[A-Za-z^\\]" -+ "[^A-Za-z^\\]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[---'`\"]" t ("-C" "-d" "esperanto") "~tex" nil)) + +(append-ispell-dict-alist "esperanto.hash" + '("esperanto" -+ "[A-Za-z\246\254\266\274\306\330\335\336\346\370\375\376]" -+ "[^A-Za-z\246\254\266\274\306\330\335\336\346\370\375\376]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[---']" t ("-C" "-d" "esperanto") "~latin3" iso-latin-3)) + +(append-ispell-dict-alist "esperanto.hash" + '("esperanto-utf8" -+ "[A-Za-z\304\244\304\264\304\245\304\265\304\210\304\234\305\254\305\234\304\211\304\235\305\255\305\235]" -+ "[^A-Za-z\304\244\304\264\304\245\304\265\304\210\304\234\305\254\305\234\304\211\304\235\305\255\305\235]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[---']" t ("-C" "-d" "esperanto") "~utf8" utf-8)) + --- suse/emacs/estonian.el @@ -2878,19 +2878,19 @@ + +(append-ispell-dict-alist "estonian.hash" + '("estonian-babel" -+ "[a-zA-Z\"]" -+ "[^a-zA-Z\"]" "[-]" t ("-C" "-d" "estonian") "~tex" nil)) ++ "[[:alpha:]]" ++ "[^[:alpha:]]" t ("-C" "-d" "estonian") "~tex" nil)) + +(append-ispell-dict-alist "estonian.hash" + '("estonian" -+ "[a-zA-Z\344\360\365\366\374\376\304\320\325\326\336]" -+ "[^a-zA-Z\344\360\365\366\374\376\304\320\325\326\336]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[-]" t ("-C" "-d" "estonian") "~latin1" iso-latin-1)) + +(append-ispell-dict-alist "estonian.hash" + '("estonian-utf8" -+ "[a-zA-Z\303\244\303\260\303\265\303\266\303\274\303\276\303\204\303\220\303\225\303\226\303\236]" -+ "[^a-zA-Z\303\244\303\260\303\265\303\266\303\274\303\276\303\204\303\220\303\225\303\226\303\236]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[-]" t ("-C" "-d" "estonian") "~utf8" utf-8)) + --- suse/emacs/finnish.el @@ -2901,19 +2901,19 @@ + +(append-ispell-dict-alist "finnish.hash" + '("finnish-babel" -+ "[a-zA-Z\"]" -+ "[^a-zA-Z\"]" "[':-]" t ("-C" "-d" "finnish") "~tex" nil)) ++ "[[:alpha:]]" ++ "[^[:alpha:]]" t ("-C" "-d" "finnish") "~tex" nil)) + +(append-ispell-dict-alist "finnish.hash" + '("finnish" -+ "[a-zA-Z\304\305\326\344\345\366]" -+ "[^a-zA-Z\304\305\326\344\345\366]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[':-]" t ("-C" "-d" "finnish") "~latin1" iso-latin-1)) + +(append-ispell-dict-alist "finnish.hash" + '("finnish-utf8" -+ "[a-zA-Z\303\204\303\205\303\226\303\244\303\245\303\266]" -+ "[^a-zA-Z\303\204\303\205\303\226\303\244\303\245\303\266]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[':-]" t ("-C" "-d" "finnish") "~utf8" utf-8)) + --- suse/emacs/francais.el @@ -2924,14 +2924,14 @@ + +(append-ispell-dict-alist "francais.hash" + '("francais-tex" -+ "[A-Za-z'\"\\`^}{]" -+ "[^A-Za-z'\"\\`^}{]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[---'\"\\`^}{]" t ("-d" "francais") "~tex" nil)) + +(append-ispell-dict-alist "francais.hash" + '("francais" -+ "[A-Za-z\300\302\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374]" -+ "[^A-Za-z\300\302\307\310\311\312\313\316\317\324\331\333\334\340\342\347\350\351\352\353\356\357\364\371\373\374]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[---']" t ("-d" "francais") "~list" iso-latin-1)) + +(append-ispell-dict-alist "francais.hash" @@ -2948,14 +2948,14 @@ + +(append-ispell-dict-alist "italian.hash" + '("italiano-tex" -+ "[A-Za-z'\\`^}{]" -+ "[^A-Za-z'\\`^}{]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "['\\`^}{]" t ("-d" "italian") "~tex" nil)) + +(append-ispell-dict-alist "italian.hash" + '("italiano" -+ "[A-Za-z\300\301\310\311\314\315\322\323\324\331\332\340\341\350\351\354\355\362\363\364\371\372]" -+ "[^A-Za-z\300\301\310\311\314\315\322\323\324\331\332\340\341\350\351\354\355\362\363\364\371\372]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[']" t ("-d" "italian") "~list" iso-latin-1)) + +(append-ispell-dict-alist "italian.hash" @@ -2972,14 +2972,14 @@ + +(append-ispell-dict-alist "nederlands.hash" + '("nederlands-babel" -+ "[A-Za-z'\"\\`^}{~]" -+ "[^A-Za-z'\"\\`^}{~]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[---'\"\\`^}{~]" t ("-C" "-d" "nederlands") "~tex" nil)) + +(append-ispell-dict-alist "nederlands.hash" + '("nederlands" -+ "[A-Za-z\300\301\302\303\304\305\307\310\311\312\313\314\315\316\317\322\323\324\325\326\331\332\333\334\340\341\342\343\344\345\347\350\351\352\353\354\355\356\357\361\362\363\364\365\366\371\372\373\374]" -+ "[^A-Za-z\300\301\302\303\304\305\307\310\311\312\313\314\315\316\317\322\323\324\325\326\331\332\333\334\340\341\342\343\344\345\347\350\351\352\353\354\355\356\357\361\362\363\364\365\366\371\372\373\374]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[---']" t ("-C" "-d" "nederlands") "~latin1" iso-latin-1)) + +(append-ispell-dict-alist "nederlands.hash" @@ -2996,32 +2996,32 @@ + +(append-ispell-dict-alist "norsk.hash" + '("norsk-tex" -+ "[A-Za-z'\"\\`^}{]" -+ "[^A-Za-z'\"\\`^}{]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "['\"\\`}{]" nil ("-C" "-d" "norsk") "~plaintex" nil)) + +(append-ispell-dict-alist "norsk.hash" + '("norsk" -+ "[A-Za-z\305\306\310\311\322\324\330\345\346\350\351\362\364\370]" -+ "[^A-Za-z\305\306\310\311\322\324\330\345\346\350\351\362\364\370]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[']" nil ("-C" "-d" "norsk") "~list" iso-latin-1)) + +(append-ispell-dict-alist "nynorsk.hash" + '("nynorsk-tex" -+ "[A-Za-z'\"\\`^}{]" -+ "[^A-Za-z'\"\\`^}{]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "['\"\\`}{]" nil ("-C" "-d" "nynorsk") "~plaintex" nil)) + +(append-ispell-dict-alist "nynorsk.hash" + '("nynorsk" -+ "[A-Za-z\305\306\310\311\322\324\330\345\346\350\351\362\364\370]" -+ "[^A-Za-z\305\306\310\311\322\324\330\345\346\350\351\362\364\370]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[']" nil ("-C" "-d" "nynorsk") "~list" iso-latin-1)) + +(append-ispell-dict-alist "nynorsk.hash" + '("nynorsk-utf8" -+ "[A-Za-z\303\205\303\206\303\210\303\211\303\222\303\224\303\230\303\245\303\246\303\250\303\251\303\262\303\264\037]" -+ "[^A-Za-z\303\205\303\206\303\210\303\211\303\222\303\224\303\230\303\245\303\246\303\250\303\251\303\262\303\264\037]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[']" nil ("-C" "-d" "nynorsk") "~utf8" utf-8)) + --- suse/emacs/polish.el @@ -3032,14 +3032,14 @@ + +(append-ispell-dict-alist "polish.hash" + '("polish" -+ "[A-Za-z\243\246\257\261\263\266\274\277\346\352\361\363]" -+ "[^A-Za-z\243\246\257\261\263\266\274\277\346\352\361\363]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[---']" nil ("-B" "-d" "polish") nil iso-latin-2)) + +(append-ispell-dict-alist "polish.hash" + '("polish-utf8" -+ "[A-Za-z\305\201\305\232\305\273\304\205\305\202\305\233\305\272\305\274\304\207\304\231\305\204\303\263]" -+ "[^A-Za-z\305\201\305\232\305\273\304\205\305\202\305\233\305\272\305\274\304\207\304\231\305\204\303\263]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[---']" nil ("-B" "-d" "polish") "~utf8" utf-8)) + --- suse/emacs/portugues.el @@ -3050,14 +3050,14 @@ + +(append-ispell-dict-alist "portugues.hash" + '("portugues-tex" -+ "[A-Za-z'\\`^}{~]" -+ "[^A-Za-z'\\`^}{~]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "['\"^~]" nil ("-B" "-d" "portugues") "~tex" nil)) + +(append-ispell-dict-alist "portugues.hash" + '("portugues" -+ "[A-Za-z\300\301\302\303\307\310\311\312\314\315\322\323\324\325\331\332\333\334\340\341\342\343\347\350\351\352\354\355\362\363\364\365\371\372\373\374]" -+ "[^A-Za-z\300\301\302\303\307\310\311\312\314\315\322\323\324\325\331\332\333\334\340\341\342\343\347\350\351\352\354\355\362\363\364\365\371\372\373\374]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[']" nil ("-B" "-d" "portugues") "~lat" iso-latin-1)) + +(append-ispell-dict-alist "portugues.hash" @@ -3075,13 +3075,13 @@ +(if (string-match "XEmacs\\|Lucid" emacs-version) + (append-ispell-dict-alist "russian.hash" + '("russian-koi8" -+ "[\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377]" -+ "[^\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[']" t ("-B" "-d" "russian") nil nil)) + (append-ispell-dict-alist "russian.hash" + '("russian" -+ "[\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377]" -+ "[^\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[']" t ("-B" "-d" "russian") nil cyrillic-koi8))) + +(append-ispell-dict-alist "russian.hash" @@ -3097,14 +3097,14 @@ + +(append-ispell-dict-alist "slovensko.hash" + '("slovensko" -+ "[A-Za-z\251\256\271\276\310\346\350]" -+ "[^A-Za-z\251\256\271\276\310\346\350]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[---']" nil ("-B" "-d" "slovensko") nil iso-latin-2)) + +(append-ispell-dict-alist "slovensko.hash" + '("slovensko-utf8" -+ "[A-Za-z\305\240\305\275\305\241\305\276\304\214\304\207\304\215]" -+ "[^A-Za-z\305\240\305\275\305\241\305\276\304\214\304\207\304\215]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[---']" nil ("-B" "-d" "slovensko") "~utf8" utf-8)) + --- suse/emacs/svenska.el @@ -3115,14 +3115,14 @@ + +(append-ispell-dict-alist "svenska.hash" + '("svenska-tex" -+ "[A-Za-z'\"\\`}{]" -+ "[^A-Za-z'\"\\`}{]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "['\"\\`}{]" nil ("-C" "-d" "svenska") "~tex" nil)) + +(append-ispell-dict-alist "svenska.hash" + '("svenska" -+ "[A-Za-z\300\304\305\306\307\310\311\326\330\334\340\344\345\346\347\350\351\366\370\374]" -+ "[^A-Za-z\300\304\305\306\307\310\311\326\330\334\340\344\345\346\347\350\351\366\370\374]" ++ "[[:alpha:]]" ++ "[^[:alpha:]]" + "[']" nil ("-C" "-d" "svenska") "~list" iso-latin-1)) + +(append-ispell-dict-alist "svenska.hash" @@ -3131,21 +3131,3 @@ + "[^[:alpha:]]" + "[']" nil ("-C" "-d" "svenska") "~utf8" utf-8)) + ---- suse/emacs/template.el -+++ suse/emacs/template.el 2007-11-28 14:47:56.791132993 +0100 -@@ -8,8 +8,14 @@ - "['\"\\`}{]" nil ("-C" "-d" "XXX") "~tex" nil)) - - (append-ispell-dict-alist "XXX.hash" -- '("XXX-latinYZ" -+ '("XXX" - "[A-Za-z]" - "[^A-Za-z]" - "[']" nil ("-C" "-d" "XXX") "~list" iso-latin-YZ)) - -+(append-ispell-dict-alist "XXX.hash" -+ '("XXX-utf8" -+ "[[:alpha:]]" -+ "[^[:alpha:]]" -+ "[']" nil ("-C" "-d" "XXX") "~utf8" utf-8)) -+ diff --git a/prepare-dicts.tar.bz2 b/prepare-dicts.tar.bz2 index 2969745..fbec8ee 100644 --- a/prepare-dicts.tar.bz2 +++ b/prepare-dicts.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a88401d8cea1766b5c4b90c97654afcee7b13930316851fab9e91a5054baa827 -size 3606 +oid sha256:9b292b6ae8564091d01aa09e6299cfa1cc2625cb059923e57c559de8255d5382 +size 4000