From: Angelo Graziosi <angelo.graziosi@alice.it>
To: help-gnu-emacs@gnu.org
Subject: Re: About how misspelled word are displayed
Date: Fri, 12 May 2017 21:30:13 +0200 [thread overview]
Message-ID: <4bf8d1cf-5287-f74e-d6c5-938bbf295d6c@alice.it> (raw)
In-Reply-To: <CAFyQvY1tfAckhfEqb6m6xo0YtgbbzaNKUX3rL8DDsUE4WgBuXA@mail.gmail.com>
Drew Adams wrote:
> And for stuff that is not so simple, it is better to rely
> on Customize.
Yes, you are right but I have spent all the afternoon trying to find in
'Options - Customize Emacs' the things to customize and how... at the
end I found this post:
https://email.esm.psu.edu/pipermail/macosx-emacs/2008-October/000888.html
which helped a bit.
In short I have to use something like this:
(custom-set-faces
'(flyspell-duplicate ((t (:foreground "Gold3" :underline t :weight
normal))))
'(flyspell-incorrect ((t (:foreground "OrangeRed" :underline t
:weight normal))))
)
Really I already have in my init.el:
;; Instead of saving on ~/.emacs.d/init.el
(setq custom-file "~/.emacs.d/custom.el")
(load custom-file)
this because I have installed packages from MELPA and I didn't want my
init file changed silently (*).
For this reasons, usually, I want to put all customizations, decided by
me, in init.el leaving all the rest in custom.el.
In this case, since _I_ want to change 'flyspell-duplicate',
'flyspell-incorrect', I would to add the code in init.el without
duplicating the "custom-set-faces" (one in init.el and one in custom.el (*))
In any case, thanks for all your help.
Angelo
----
(*) Installing from MELPA adds something like this to init.el if ono
does not set a custom file:
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(package-selected-packages (quote (tabbar-ruler sr-speedbar))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
next prev parent reply other threads:[~2017-05-12 19:30 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-12 9:49 About how misspelled word are displayed Angelo Graziosi
2017-05-12 13:09 ` Kaushal Modi
2017-05-12 14:07 ` Angelo Graziosi
2017-05-12 14:14 ` tomas
2017-05-12 14:27 ` Emanuel Berg
2017-05-12 15:16 ` Drew Adams
2017-05-12 16:27 ` Emanuel Berg
2017-05-12 17:32 ` Drew Adams
2017-05-12 18:00 ` Emanuel Berg
2017-05-12 21:15 ` tomas
2017-05-12 21:28 ` N. Raghavendra
2017-05-12 22:08 ` Drew Adams
2017-05-13 14:15 ` N. Raghavendra
2017-05-13 14:59 ` Emanuel Berg
2017-05-13 15:07 ` Emanuel Berg
2017-05-13 15:22 ` Emanuel Berg
2017-05-13 15:34 ` N. Raghavendra
2017-05-13 15:54 ` Emanuel Berg
2017-05-13 17:59 ` Drew Adams
2017-05-14 13:07 ` N. Raghavendra
2017-05-12 19:30 ` Angelo Graziosi [this message]
2017-05-12 20:34 ` Drew Adams
2017-05-12 20:41 ` Drew Adams
2017-05-12 22:14 ` Angelo Graziosi
2017-05-12 23:42 ` Emanuel Berg
2017-05-13 0:22 ` John Mastro
2017-05-13 9:53 ` Emanuel Berg
2017-05-12 21:07 ` Emanuel Berg
2017-05-12 19:57 ` Angelo Graziosi
2017-05-12 20:56 ` Emanuel Berg
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://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4bf8d1cf-5287-f74e-d6c5-938bbf295d6c@alice.it \
--to=angelo.graziosi@alice.it \
--cc=help-gnu-emacs@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).