On 2018-09-18 15:39:47, Nicholas D Steeves wrote: [...] > URL : https://wiki.debian.org/EmacsenTeam/Team [...]
You probably meant this here: URL: https://nschum.de/src/emacs/auto-dictionary/ > Antoine, does it detect language with per-buffer granularity, or > support mixing languages in the same buffer? I don't know! It *apparently* does that if I read the above homepage correctly: "It is also possible to insert text according to the current dictionary and have it updated automatically when it changes. This is great for your text templates and signatures." > Thanks for mentioning > that you use this software on #debian-emacs :-) Well, I *just* started using it - I don't actually know if it really works or anything. :p But I fixed up a function (mode-to-be) that I was using for that instead: (defun anarcat/author-mode () "toggle a bunch of minor modes for authorship this should be converted to a minor mode in itself, or maybe as hooks fro writeroom? see Elisp manual, 22.3 Minor Modes" (interactive) (writegood-mode) (wc-mode) (writeroom-mode) - (anarcat/change-dict "en") + (adict-guess-dictionary) So basically, instead of forcing the "english" dictionary in my author "mode", I let adict guess it. It seems to work for english at least... > P.S. please ping me if I take more than two weeks to package this Wow, thanks! > I do not yet use this package and have been manually switching between > languages, which is why I'm motivated to package it. I plan to > maintain it as part of the Debian Emacsen Team, and the team policy is > here: https://wiki.debian.org/EmacsenTeam/Team > > I will require a sponsor for the initial upload. I'd be happy to help. A. -- The value of a college education is not the learning of many facts but the training of the mind to think. - Albert Einstein