diff -Nru auto-dictionary-mode-1.1/auto-dictionary.el auto-dictionary-mode-1.1+14.gb364e08/auto-dictionary.el --- auto-dictionary-mode-1.1/auto-dictionary.el 2013-06-26 17:46:23.000000000 +0000 +++ auto-dictionary-mode-1.1+14.gb364e08/auto-dictionary.el 2015-04-10 16:10:22.000000000 +0000 @@ -45,8 +45,11 @@ ;; ;;; Change Log: ;; +;; Support Esperanto and Slovak. (thanks to Johannes Mueller) +;; Support for Catalan. (thanks to Walter Garcia-Fontes) +;; ;; 2013-06-26 (1.1) -;; Support for nb, nn, dk, hi, el, and grc. (thanks to Tore Ferner) +;; Support for nb, nn, da, hi, el, and grc. (thanks to Tore Ferner) ;; `adict-dictionary-list' now has an easier to customize format. ;; `adict-guess-dictionary' no longer changes the dictionary if aborted. ;; @@ -118,8 +121,8 @@ (cons (car names) (adict-guess-dictionary-name names))) (defconst adict-language-list - '(nil "en" "de" "fr" "es" "sv" "sl" "hu" "ro" "pt" "nb" "dk" "grc" "el" "hi" - "nn") + '(nil "en" "de" "fr" "es" "sv" "sl" "hu" "ro" "pt" "nb" "da" "grc" "el" "hi" + "nn" "ca" "eo" "sk") "The languages, in order, which `adict-hash' contains.") (defun adict--dictionary-alist-type () @@ -141,11 +144,14 @@ ("ro" "românâ" "româneşte" "romanian") ("pt" "português" "portuguese") ("nb" "bokmål" "norwegian bokmål") - ("dk" "dansk" "danish") + ("da" "dansk" "danish") ("grc" "ἑλληνικά" "classical greek") ("el" "νέα ελληνικά" "modern greek") ("hi" "हिन्दी" "hindi") - ("nn" "nynorsk" "norwegian nynorsk"))) + ("nn" "nynorsk" "norwegian nynorsk") + ("ca" "catalan") + ("eo" "esperanto") + ("sk" "slovenčina" "slovak"))) "The dictionaries `auto-dictionary-mode' uses. Change the second part of each pair to specify a specific dictionary for that language. You can use this to specify a different region for your @@ -491,7 +497,7 @@ ;; "ham" "og" "i" "det" "på" "at" "ikke" "jeg" "også" "bare" ;; "hvor" "siden" "hun" (adict-add-word hash 11 - ;; Danish (dk) + ;; Danish (da) ;; Look at comment above on Swedish. ;; ;; Based on: @@ -620,6 +626,79 @@ "døme" "vori" "skrivi" "lesi" ;; Don't use: ;; "ein" "sidan" "utan" "elles" ) + (adict-add-word hash 16 "més" "ara" "algú" "alguns" "abans" "benvolgut" + "així" "any" "anys" "bo" "quasi" "cas" "senyor" "benvolguda" + "com" "amb" "contra" "coses" "crec" "quan" "diem" "dir" + "sisplau" "dieu" "des" "després" "diuen" "dius" "dic" "dir" + "on" "dia" "dies" "exemple" "ells" "llavors" "digues" "dic" + "direm" "aquesta" "aquest" "això" "està" "estava" "estat" + "aquestes" "aquests" "estigui" "estan" "forma" "ser" + "general" "gent" "govern" "gran" "havia" "fa" "fem" "fan" + "fer" "fas" "cap" "benvolguda" "feu" "faig" "fan" "fins" + "fet" "home" "avui" "les" "benvolguts" "els" "doncs" + "millor" "menys" "mentre" "mateix" "envia" "moment" "molt" + "dóna" "món" "més" "mí" "res" "ens" "felicitacions" + "nosaltres" "altra" "altres" "altre" "altres" "sembla" + "reunió" "reunions" "actes" "acte" "extern" "externs" + "externes" "part" "país" "però" "persones" "poc" "poder" + "política" "perquè" "pot" "poden" "què" "sigui" "segons" + "ser" "escrivint" "escrit" "sempre" "sinó" "sou" "som" "soc" + "seu" "seus" "escriure" "escric" "sols" "també" "tant" + "tenim" "tenir" "tinc" "tindre" "enhorabona" "teniu" "tenia" + "temps" "té" "tenen" "tens" "temps" "tota" "totes" "tot" + "tots" "treball" "tres" "una" "un" "uns" "vostè" "anem" + "signat" "vegada" "veieu" "veuen" "veig" "veure" "ves" "ja" + "jo") + (adict-add-word hash 17 + ;; Esperanto (eo) + ;; + ;; Frequent words, that are most probably unique to + ;; Esperanto + "kaj" "ĉu" "ĉi" "aŭ" "ankaŭ" "ankaŭa" "baldaŭ" + "antaŭ" "antaŭa" "antaŭaj" "antaŭe" "antaŭen" + "malantaŭ" "malantaŭa" "malantaŭaj" "malantaŭe" + "malantaŭen" "ĝis" "eĉ" "ĉe" "eble" "ankoraŭ" "ajn" + "preskaŭ" "pri" "ke" "pliaj" "pliajn" "morgaŭ" "morgaŭa" + "hieraŭ" "hieraŭa" "ĉar" + ;; + ;; Very frequent words, that are probably not quite unique + "havi" "havas" "havis" "havos" "havus" + "esti" "estas" "estis" "estos" "estus" + "povi" "povas" "povis" "povos" "povus" + ;; + ;; Fairly frequent words, that are most probably unique to + ;; Esperanto + "kiaj" "kiajn" "tiaj" "tiajn" "iaj" "iajn" + "miaj" "miajn" "viaj" "viajn" "liaj" "liajn" + "ŝi" "ŝin" "ŝia" "ŝian" "ŝiajn" "siaj" "siajn" + "ĝi" "ĝin" "ĝia" "ĝian" "ĝiaj" "ĝiajn" "niaj" "niajn" + "iliaj" "iliajn" "ĉiu" "kiu" "ĉiun" "kiun" "tiun" + "ĉiuj" "kiuj" "tiujn" "ĉiujn" "kiujn" "ĉio" "ĉion" + "nenio" "nenion" "neniu" "neniuj" "neniun" "neniujn" + "aliaj" "aliajn" "ĉiam" "ĉie") + (adict-add-word hash 18 + ;; slovak (sk) + ;; + "alebo" "aj" + "človek" "rok" "čas" "deň" "svet" "ruka" "voda" "žena" + "celý" "veľký" "malý" "nový" "starý" "dobrý" + "celá" "veľká" "malá" "nová" "stará" "dobrá" + "celé" "veľké" "malé" "nové" "staré" "dobré" + "ty" "my" "vy" "ony" + "byť" "sme" "ste" "sú" + "mať" "mám" "máš" "má" "máme" "máte" "majú" + "môcť" "môžem" "môžeš" "môže" "môžeme" "môžete" "môžu" + "musieť" "musím" "musíš" "musí" "musíme" "musíte" "musía" + "chcieť" "chcem" "chceš" "chce" "chceme" "chcete" "chcú" + "prísť" "prídem" "prídeš" "príde" + "prídeme" "prídete" "prídu" + "vidieť" "vidím" "vidíš" "vidí" "vidíme" "vidíte" "vidia" + "bývať" "bývam" "bývaš" "býva" "bývame" "bývate" "bývajú" + "bol" "bola" "bolo" "boli" + "budem" "budeš" "bude" "budeme" "budete" "budú" + "nejaký" "nejaká" "nejaké" "aký" "aká" "aké" + "nijaký" "nijaká" "nijaké" + "v" "z" "k") ;; adding another language? email me to make it available to everyone! hash)) diff -Nru auto-dictionary-mode-1.1/debian/changelog auto-dictionary-mode-1.1+14.gb364e08/debian/changelog --- auto-dictionary-mode-1.1/debian/changelog 2019-08-26 21:39:59.000000000 +0000 +++ auto-dictionary-mode-1.1+14.gb364e08/debian/changelog 2020-11-11 02:19:16.000000000 +0000 @@ -1,3 +1,16 @@ +auto-dictionary-mode (1.1+14.gb364e08-1) unstable; urgency=medium + + * Package upstream snapshot: + - Catalan, Esperanto, and Slovak languages were missing from the 1.1 + release. + * Add 0001-Document-how-to-limit-candidate-languages.patch + * Migrate to debhelper-compat 13. + * Add Rules-Requires-Root: no. + * Update my copyright years. + * Declare Standards-Version 4.5.0 (no changes required). + + -- Nicholas D Steeves Tue, 10 Nov 2020 21:19:16 -0500 + auto-dictionary-mode (1.1-2) unstable; urgency=medium * Switch to debhelper-compat 12. diff -Nru auto-dictionary-mode-1.1/debian/control auto-dictionary-mode-1.1+14.gb364e08/debian/control --- auto-dictionary-mode-1.1/debian/control 2019-08-26 21:39:59.000000000 +0000 +++ auto-dictionary-mode-1.1+14.gb364e08/debian/control 2020-11-11 02:19:16.000000000 +0000 @@ -3,9 +3,10 @@ Priority: optional Maintainer: Debian Emacsen team Uploaders: Nicholas D Steeves -Build-Depends: debhelper-compat (= 12), - dh-elpa -Standards-Version: 4.4.0 +Build-Depends: debhelper-compat (= 13), + dh-elpa +Rules-Requires-Root: no +Standards-Version: 4.5.0 Homepage: https://github.com/nschum/auto-dictionary-mode Vcs-Browser: https://salsa.debian.org/emacsen-team/auto-dictionary-mode Vcs-Git: https://salsa.debian.org/emacsen-team/auto-dictionary-mode.git diff -Nru auto-dictionary-mode-1.1/debian/copyright auto-dictionary-mode-1.1+14.gb364e08/debian/copyright --- auto-dictionary-mode-1.1/debian/copyright 2019-08-26 21:39:59.000000000 +0000 +++ auto-dictionary-mode-1.1+14.gb364e08/debian/copyright 2020-11-11 02:19:16.000000000 +0000 @@ -6,7 +6,7 @@ License: GPL-2+ Files: debian/* -Copyright: 2018-2019 Nicholas D Steeves +Copyright: 2018-2020 Nicholas D Steeves License: GPL-2+ License: GPL-2+ diff -Nru auto-dictionary-mode-1.1/debian/patches/0001-Document-how-to-limit-candidate-languages.patch auto-dictionary-mode-1.1+14.gb364e08/debian/patches/0001-Document-how-to-limit-candidate-languages.patch --- auto-dictionary-mode-1.1/debian/patches/0001-Document-how-to-limit-candidate-languages.patch 1970-01-01 00:00:00.000000000 +0000 +++ auto-dictionary-mode-1.1+14.gb364e08/debian/patches/0001-Document-how-to-limit-candidate-languages.patch 2020-11-11 02:19:16.000000000 +0000 @@ -0,0 +1,30 @@ +Subject: Document how to limit candidate languages. +Forwarded: https://github.com/nschum/auto-dictionary-mode/pull/23 +From: Nicholas D Steeves +Date: Fri, 22 Nov 2019 19:48:14 -0500 + +Closes #15 +--- + README.md | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +diff --git a/README.md b/README.md +index e8338ad..c71acab 100644 +--- a/README.md ++++ b/README.md +@@ -22,3 +22,15 @@ change it and stop automatic checks. + You can use `adict-change-dictionary-hook` to hook into any of these changes, + or `adict-conditional-insert` to insert text (like signatures) that will + automatically conform to the language. ++ ++To limit the candidate languages when guessing which dictionary to use, add ++something like the following to your Emacs config: ++```elisp ++(eval-after-load "auto-dictionary" ++ '(setq adict-dictionary-list ++ (mapcar 'adict--guess-dictionary-cons ++ '(("en" . "en") ++ ("fr" . "fr"))))) ++``` ++Get the full list from `adict-dictionary-list` in auto-dictionary.el, or ++alternatively use the Customize interface to do this. diff -Nru auto-dictionary-mode-1.1/debian/patches/series auto-dictionary-mode-1.1+14.gb364e08/debian/patches/series --- auto-dictionary-mode-1.1/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ auto-dictionary-mode-1.1+14.gb364e08/debian/patches/series 2020-11-11 02:19:16.000000000 +0000 @@ -0,0 +1 @@ +0001-Document-how-to-limit-candidate-languages.patch diff -Nru auto-dictionary-mode-1.1/.travis.yml auto-dictionary-mode-1.1+14.gb364e08/.travis.yml --- auto-dictionary-mode-1.1/.travis.yml 2013-06-26 17:46:23.000000000 +0000 +++ auto-dictionary-mode-1.1+14.gb364e08/.travis.yml 2015-04-10 16:10:22.000000000 +0000 @@ -17,7 +17,7 @@ - if [ "$EMACS" = "emacs23" ]; then sudo apt-get update -qq && sudo apt-get install -qq emacs23-gtk emacs23-el && - mkdir -p lib && curl https://raw.github.com/ohler/ert/c619b56c5bc6a866e33787489545b87d79973205/lisp/emacs-lisp/ert.el > lib/ert.el; + mkdir -p lib && curl https://raw.githubusercontent.com/ohler/ert/c619b56c5bc6a866e33787489545b87d79973205/lisp/emacs-lisp/ert.el > lib/ert.el; fi - if [ "$EMACS" = "emacs24" ]; then sudo add-apt-repository -y ppa:cassou/emacs && @@ -30,7 +30,7 @@ sudo apt-get install -qq emacs-snapshot && sudo apt-get install -qq emacs-snapshot-el emacs-snapshot-gtk; fi - - mkdir -p lib && curl https://raw.github.com/nschum/elisp-lint/stable/elisp-lint.el > lib/elisp-lint.el + - mkdir -p lib && curl https://raw.githubusercontent.com/nschum/elisp-lint/stable/elisp-lint.el > lib/elisp-lint.el script: $EMACS --version && find *.el -not -name "tests.el" | xargs $EMACS -Q --batch -l lib/elisp-lint.el -f elisp-lint-files-batch