* faces lost in text terminal
@ 2011-10-09 1:34 Shiyuan
2011-10-09 1:53 ` Jai Dayal
0 siblings, 1 reply; 5+ messages in thread
From: Shiyuan @ 2011-10-09 1:34 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 182 bytes --]
Hi,
I lost the font color in c++-mode after I deleted the .emacs file
mistakenly. What do I need in my .emacs in order to display different colors
in c++-mode? Thanks.
Shiyuan
[-- Attachment #2: Type: text/html, Size: 209 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: faces lost in text terminal
2011-10-09 1:34 faces lost in text terminal Shiyuan
@ 2011-10-09 1:53 ` Jai Dayal
2011-10-09 2:18 ` Rustom Mody
0 siblings, 1 reply; 5+ messages in thread
From: Jai Dayal @ 2011-10-09 1:53 UTC (permalink / raw)
To: Shiyuan; +Cc: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 370 bytes --]
enable font-lock-mode
either
M-x font-lock-mode
or in your new .emacs file
(global-font-lock-mode 1)
On Sat, Oct 8, 2011 at 9:34 PM, Shiyuan <gshy2014@gmail.com> wrote:
> Hi,
> I lost the font color in c++-mode after I deleted the .emacs file
> mistakenly. What do I need in my .emacs in order to display different colors
> in c++-mode? Thanks.
> Shiyuan
>
[-- Attachment #2: Type: text/html, Size: 648 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: faces lost in text terminal
2011-10-09 1:53 ` Jai Dayal
@ 2011-10-09 2:18 ` Rustom Mody
2011-10-09 17:42 ` Jai Dayal
0 siblings, 1 reply; 5+ messages in thread
From: Rustom Mody @ 2011-10-09 2:18 UTC (permalink / raw)
To: Jai Dayal; +Cc: help-gnu-emacs, Shiyuan
[-- Attachment #1: Type: text/plain, Size: 659 bytes --]
On Sun, Oct 9, 2011 at 7:23 AM, Jai Dayal <dayalsoap@gmail.com> wrote:
> enable font-lock-mode
>
> either
>
> M-x font-lock-mode
>
> or in your new .emacs file
>
> (global-font-lock-mode 1)
>
>
> On Sat, Oct 8, 2011 at 9:34 PM, Shiyuan <gshy2014@gmail.com> wrote:
>
>> Hi,
>> I lost the font color in c++-mode after I deleted the .emacs file
>> mistakenly. What do I need in my .emacs in order to display different colors
>> in c++-mode? Thanks.
>> Shiyuan
>>
>
>
font-lock should be on by default no? (At least in recent emacses)
So... Whats your emacs-version? ie M-x emacs-version
And what is the behavior when you start it with emacs -Q foo.cpp?
[-- Attachment #2: Type: text/html, Size: 1283 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: faces lost in text terminal
2011-10-09 2:18 ` Rustom Mody
@ 2011-10-09 17:42 ` Jai Dayal
2011-10-12 15:28 ` Shiyuan
0 siblings, 1 reply; 5+ messages in thread
From: Jai Dayal @ 2011-10-09 17:42 UTC (permalink / raw)
To: Rustom Mody; +Cc: help-gnu-emacs, Shiyuan
[-- Attachment #1: Type: text/plain, Size: 894 bytes --]
In some older versions, I've noticed font-lock-mode is not enabled. I
frequently ssh into a server and it's emacs 21.x
On Sat, Oct 8, 2011 at 10:18 PM, Rustom Mody <rustompmody@gmail.com> wrote:
>
>
> On Sun, Oct 9, 2011 at 7:23 AM, Jai Dayal <dayalsoap@gmail.com> wrote:
>
>> enable font-lock-mode
>>
>> either
>>
>> M-x font-lock-mode
>>
>> or in your new .emacs file
>>
>> (global-font-lock-mode 1)
>>
>>
>> On Sat, Oct 8, 2011 at 9:34 PM, Shiyuan <gshy2014@gmail.com> wrote:
>>
>>> Hi,
>>> I lost the font color in c++-mode after I deleted the .emacs file
>>> mistakenly. What do I need in my .emacs in order to display different colors
>>> in c++-mode? Thanks.
>>> Shiyuan
>>>
>>
>>
>
> font-lock should be on by default no? (At least in recent emacses)
> So... Whats your emacs-version? ie M-x emacs-version
> And what is the behavior when you start it with emacs -Q foo.cpp?
>
[-- Attachment #2: Type: text/html, Size: 1779 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: faces lost in text terminal
2011-10-09 17:42 ` Jai Dayal
@ 2011-10-12 15:28 ` Shiyuan
0 siblings, 0 replies; 5+ messages in thread
From: Shiyuan @ 2011-10-12 15:28 UTC (permalink / raw)
To: Jai Dayal; +Cc: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 1071 bytes --]
On Sun, Oct 9, 2011 at 12:42 PM, Jai Dayal <dayalsoap@gmail.com> wrote:
> In some older versions, I've noticed font-lock-mode is not enabled. I
> frequently ssh into a server and it's emacs 21.x
>
>
> On Sat, Oct 8, 2011 at 10:18 PM, Rustom Mody <rustompmody@gmail.com>wrote:
>
>>
>>
>> On Sun, Oct 9, 2011 at 7:23 AM, Jai Dayal <dayalsoap@gmail.com> wrote:
>>
>>> enable font-lock-mode
>>>
>>> either
>>>
>>> M-x font-lock-mode
>>>
>>> or in your new .emacs file
>>>
>>> (global-font-lock-mode 1)
>>>
>>> That works.
>
>>> On Sat, Oct 8, 2011 at 9:34 PM, Shiyuan <gshy2014@gmail.com> wrote:
>>>
>>>> Hi,
>>>> I lost the font color in c++-mode after I deleted the .emacs file
>>>> mistakenly. What do I need in my .emacs in order to display different colors
>>>> in c++-mode? Thanks.
>>>> Shiyuan
>>>>
>>>
>>>
>>
>> font-lock should be on by default no? (At least in recent emacses)
>> So... Whats your emacs-version? ie M-x emacs-version
>> And what is the behavior when you start it with emacs -Q foo.cpp?
>>
>
>
Mine is 21.4.1 which comes with linux redhat.
[-- Attachment #2: Type: text/html, Size: 2748 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-10-12 15:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-09 1:34 faces lost in text terminal Shiyuan
2011-10-09 1:53 ` Jai Dayal
2011-10-09 2:18 ` Rustom Mody
2011-10-09 17:42 ` Jai Dayal
2011-10-12 15:28 ` Shiyuan
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).