From: Neal Becker <ndbecker2@gmail.com>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: I don't understand enriched text
Date: Thu, 4 Aug 2011 10:24:19 -0400 [thread overview]
Message-ID: <201108041024.19561.ndbecker2@gmail.com> (raw)
In-Reply-To: <81ty9xb6sg.fsf@gmail.com>
On Thursday, August 04, 2011, Jambunathan K wrote:
> Neal Becker <ndbecker2@gmail.com> writes:
> > On Thursday, August 04, 2011, Jambunathan K wrote:
> >> Neal Becker <ndbecker2@gmail.com> writes:
> >> > I open test.txt, and put it in enriched mode: M-x enriched-mode
> >> >
> >> > Now I type 'hello world' into the buffer. Then select the text.
> >> >
> >> > Now how would I, for example, make that text blue?
> >>
> >> From the menu bar, choose the color with Edit->Text
> >> Properties->Foreground Color->blue and then start typing text.
> >
> > But 'Face', 'Foreground Color', and 'Background Color' are all disabled.
>
> May be it has something to do with the major mode of the buffer. What
> does
>
> M-: mode-name
>
> report.
>
> Try switching to Fundamental Mode or Text Mode before turning on the
> enriched mode.
>
Ahah! I have
(setq auto-mode-alist
(append '(("\\.txt$" . rst-mode)
("\\.rst$" . rst-mode)
("\\.rest$" . rst-mode)) auto-mode-alist))
So major-mode was rst. If I set to txt mode first, then it works as you
described. Thanks.
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
next prev parent reply other threads:[~2011-08-04 14:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-04 13:49 I don't understand enriched text Neal Becker
2011-08-04 14:00 ` Jambunathan K
2011-08-04 14:11 ` Neal Becker
2011-08-04 14:17 ` Jambunathan K
2011-08-04 14:24 ` Neal Becker [this message]
2011-08-04 15:06 ` Drew Adams
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=201108041024.19561.ndbecker2@gmail.com \
--to=ndbecker2@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=kjambunathan@gmail.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.
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).