From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neal Becker Newsgroups: gmane.emacs.help Subject: Re: I don't understand enriched text Date: Thu, 4 Aug 2011 10:24:19 -0400 Message-ID: <201108041024.19561.ndbecker2@gmail.com> References: <201108041011.04845.ndbecker2@gmail.com> <81ty9xb6sg.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1312488142 27825 80.91.229.12 (4 Aug 2011 20:02:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 4 Aug 2011 20:02:22 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Jambunathan K Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 04 22:02:18 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qp47V-00031G-Fw for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Aug 2011 22:02:17 +0200 Original-Received: from localhost ([::1]:53971 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qp47V-0001u4-0P for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Aug 2011 16:02:17 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoyqZ-00032U-Cx for help-gnu-emacs@gnu.org; Thu, 04 Aug 2011 10:24:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QoyqX-0006np-VF for help-gnu-emacs@gnu.org; Thu, 04 Aug 2011 10:24:27 -0400 Original-Received: from mail-qw0-f41.google.com ([209.85.216.41]:57724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoyqX-0006nY-Sv for help-gnu-emacs@gnu.org; Thu, 04 Aug 2011 10:24:25 -0400 Original-Received: by qwa26 with SMTP id 26so1376293qwa.0 for ; Thu, 04 Aug 2011 07:24:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=MDol1MVlbIydfyl8D9qftdTABj0F26Po6nhARa2WYz8=; b=NAgtungRYGJ55uLbfrUT673Xwk6SFblHA7cSly6Jki8KeOApsx7j3w0/r5bAiWTeHH InXaRUeA6/xdLId+ijA2DC7Z332+ybiWBYYzkMr5rGFuNeeooZbALrr68tXbREkzFEmj 2v+uVUz8p6IiI7dk2MWGct+mTtwpTs4vcZmyw= Original-Received: by 10.224.212.134 with SMTP id gs6mr608535qab.167.1312467865242; Thu, 04 Aug 2011 07:24:25 -0700 (PDT) Original-Received: from nbecker1.localnet ([139.85.237.20]) by mx.google.com with ESMTPS id s14sm1378468qct.6.2011.08.04.07.24.23 (version=SSLv3 cipher=OTHER); Thu, 04 Aug 2011 07:24:24 -0700 (PDT) User-Agent: KMail/1.13.7 (Linux/2.6.40-4.fc15.x86_64; KDE/4.6.5; x86_64; ; ) In-Reply-To: <81ty9xb6sg.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.216.41 X-Mailman-Approved-At: Thu, 04 Aug 2011 16:02:12 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81881 Archived-At: On Thursday, August 04, 2011, Jambunathan K wrote: > Neal Becker writes: > > On Thursday, August 04, 2011, Jambunathan K wrote: > >> Neal Becker 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