unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Alex Kost <alezost@gmail.com>
To: znavko--- via <help-guix@gnu.org>
Subject: Re: Why Emacs config file disables Welcome message only if this line places to .emacs but not in .emacs.d/init.el
Date: Mon, 04 Jan 2021 19:16:33 +0300	[thread overview]
Message-ID: <87zh1or82m.fsf@gmail.com> (raw)
In-Reply-To: <5dcfd9ae1486823d1b952db6a7830ba4@disroot.org> (znavko's message of "Tue, 29 Dec 2020 17:54:06 +0000")

znavko--- via (2020-12-29 17:54 +0000) wrote:

[...]
> My next step is russian spell check. Need to have some basics of how to deal with this great instrument!

Here is my configuration:

1. I installed "aspell", "aspell-dict-en", and "aspell-dict-ru" packages.

2. I put the following into my ~/.bash_profile:
   (Perhaps, this step is not needed: I don't know if it is
   auto-configured by Guix nowadays; it was not in the past)

    aspell_dir="<my-guix-profile>/lib/aspell"
    if [ -d $aspell_dir ]; then
        export ASPELL_CONF="dict-dir $aspell_dir"
    fi

3. Now, you should be able to select "ru-..." languages after
   "M-x ispell-change-dictionary".
   You can even set it as default in your emacs config like this:

   (with-eval-after-load 'ispell
     (ispell-change-dictionary "ru-yeyo" 'global))

4. Finally, you can use commands like "ispell-word" (bound to "M-$") or
   "ispell-region".

-- 
Alex


      parent reply	other threads:[~2021-01-04 16:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-29 17:54 Why Emacs config file disables Welcome message only if this line places to .emacs but not in .emacs.d/init.el znavko--- via
2021-01-01 15:38 ` znavko
2021-01-04 16:16 ` Alex Kost [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zh1or82m.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).