help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I don't understand enriched text


From: Neal Becker
Subject: Re: I don't understand enriched text
Date: Thu, 4 Aug 2011 10:24:19 -0400
User-agent: KMail/1.13.7 (Linux/2.6.40-4.fc15.x86_64; KDE/4.6.5; x86_64; ; )

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]