This is a multi-part message in MIME format. --------------4C991D96DA2B4A90BAECC376
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
David W. Hodgins escreveu:
On Tue, 25 Oct 2022 21:37:36 -0400, Gilberto F da Silva
<[email protected]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2022-10-26, David W. Hodgins <[email protected]> wrote:
On Tue, 25 Oct 2022 19:11:48 -0400, Gilberto F da Silva
<[email protected]> wrote:
    The spell checker for Esperanto is not working on Emacs running
under
Mageia 8. Obviously I already installed the dictionary using MCC. The
.emacs file is the same as used in other distributions.
What's the output of "env|grep -i -e LANG -e LC_|sort"?
mageia8 ~$ env|grep -i -e LANG -e LC_|sort
LANG=eo_XX.UTF-8
LANGUAGE=pt_BR:en_US
LC_ADDRESS=pt_BR.UTF-8
LC_IDENTIFICATION=pt_BR.UTF-8
LC_MEASUREMENT=pt_BR.UTF-8
LC_MONETARY=pt_BR.UTF-8
LC_NAME=pt_BR.UTF-8
LC_NUMERIC=pt_BR.UTF-8
LC_PAPER=pt_BR.UTF-8
LC_SOURCED=1
LC_TELEPHONE=pt_BR.UTF-8
mageia8 ~$
If I'm reading things correctly emacs uses aspell. Do you have a ~/.aspell.conf
file or /etc/aspell.conf and if so what do they contain?
Also if I'm reading things correctly the LANGUAGE variable is overriding
the LANG
variable.
Try "LANGUAGE=eo_XX.UTF8 emacs"
Regards, Dave Hodgins
I couldn't find this .aspell file. As far as I can remember, I've never
had to deal with this file.
Many years ago I found these lines to be added to my .emacs file Since
then emacs running on my machine is able to spell check in 3 languages.
;;; Flyspell - correção ortográfica
(dolist (hook '(text-mode-hook))
(add-hook hook (lambda () (flyspell-mode 1))))
(dolist (hook '(change-log-mode-hook log-edit-mode-hook))
(add-hook hook (lambda () (flyspell-mode -1))))
; Troca de dicionários
(let ((langs '("esperanto" "brazilian" "american")))
(setq lang-ring (make-ring (length langs)))
(dolist (elem langs) (ring-insert lang-ring elem)))
(defun cycle-ispell-languages ()
(interactive)
(let ((lang (ring-ref lang-ring -1)))
(ring-insert lang-ring lang)
(ispell-change-dictionary lang)))
Sure! I need to install the dictionaries first.
--
Abraços
Gilberto F da Silva
--------------4C991D96DA2B4A90BAECC376
Content-Type: image/png;
name="0.png"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="0.png"
iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4CAIAAABnsVYUAAAACXBIWXMAAA7EAAAOxAGVKw4b AAAgAElEQVR4Xuzdd1wURxsA4HevUJVeFbAAFrCAogKCFGkqxYrls2tiib1jV7AbY0QTNXaj RiM2UAQbKlZQFBUsqKj0DtKOu935/thjWfaKqDExZp7finuzs7Nldoe7l7lZIv31K8AwDMMw DMOwrxVCSMlLTmLdMoTqpde+pNGJFEJMEpONoijmNUWSzCoIAQKEKCqioDOdGcMwDMMwDMOw DxJwEzAMwzAMwzDs365+9Lk2TdlLOkVZ9BlRCCGJRCK7IoZhGIZhGIZhiuAANIZhGIZhGPaN YAeG2WFiaQiZNQN0ZmlwuV7naPqFNBKNEKIDzxRFr1VcXMzMYxiGYRiGYRj2QTgAjWEYhmEY hv070MFhWdx0BT2d2dkQqjf4hjTQTFHKo88kSZIkiQAHoDEMwzAMwzCsoZQFoN+9q0h9+v7W zYL8AlG1iEQU8Higr6/q7mZka6ttbq7BXQHDMAzDMAzD/iJ0aLjhmDAzyKxLh5KZdCa4zH4p jT7XX8pEn+mQNBOgrisagCIlpFiEGry3BEHwhSo8vpC7AMMwDMMwDMO+RfID0FVV5MVLObdv FVZUkQQQAgFPnQCJhCJJlJdXdeRIuo6u0MPDxNfXVF2Nz10ZwzAMwzAMw/5eiqK/7LgwPY9q kxBCCYmJcVeuJCcnF+TnA4C+gUH79u1dXF3t7ewIgqAfUShdBSGKQgjoGHRdmQSggvRko