From: "Sean Richards" <somebody@nowhere.com>
Subject: Re: turning off underlining, bold, all faces
Date: Sat, 26 Mar 2005 14:07:39 +1200 [thread overview]
Message-ID: <87eke3f9ck.fsf@munin.valhalla.net> (raw)
In-Reply-To: mailman.228.1111778664.28103.help-gnu-emacs@gnu.org
karl@freefriends.org (Karl Berry) writes:
> I mostly use Emacs (21.3) in tty mode. I've tried various terminal
> types, makes no apparent difference; currently using "xterm-color" for
> no real reason. I would like to turn off all faces, i.e., underlining,
> bold, and other such "enhancements". (I already don't have color,
> despite the terminal type, and I'm happy about that.)
I use the following elisp to turn off bold faces
(defun unbold-all-faces ()
"Clear the `bold' flag from all faces."
(interactive)
(dolist (f (face-list))
(if (face-bold-p f) (set-face-bold-p f nil))))
(add-hook 'font-lock-mode-hook
(lambda ()
(unbold-all-faces)))
You could expand this for underline, etc. I found this in gnu.emacs.help a
few years ago, here is the Message ID of the original posting
87sn1x5clv.fsf@shadizar.dyndns.org
Cheers, Sean
--
"Hver sin smak", sa vintapperen, han drakk mens de andre sloss."
next prev parent reply other threads:[~2005-03-26 2:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.228.1111778664.28103.help-gnu-emacs@gnu.org>
2005-03-26 1:04 ` turning off underlining, bold, all faces Thien-Thi Nguyen
2005-03-26 1:20 ` Thien-Thi Nguyen
2005-03-26 2:07 ` Sean Richards [this message]
2005-03-25 19:08 Karl Berry
2005-03-25 19:34 ` Joe Corneli
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eke3f9ck.fsf@munin.valhalla.net \
--to=somebody@nowhere.com \
--cc=sean_news@myrealbox.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.