all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs like jed
@ 2007-05-31  0:08 mowgli
  2007-05-31 22:21 ` anders
  0 siblings, 1 reply; 17+ messages in thread
From: mowgli @ 2007-05-31  0:08 UTC (permalink / raw)
  To: help-gnu-emacs

I like emacs but I like jed's default colors (atleast for the shell
script mode). How can I use those colors in emacs or how to set those?
I couldn't find any color theme similar to jed's default colors

Regards,
mowgli

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Emacs like jed
  2007-05-31  0:08 Emacs like jed mowgli
@ 2007-05-31 22:21 ` anders
  2007-06-01 23:42   ` mowgli
  0 siblings, 1 reply; 17+ messages in thread
From: anders @ 2007-05-31 22:21 UTC (permalink / raw)
  To: help-gnu-emacs

On 31 Maj, 02:08, mowgli <knowledgel...@gmail.com> wrote:
> I like emacs but I like jed's default colors (atleast for the shell
> script mode). How can I use those colors in emacs or how to set those?
> I couldn't find any color theme similar to jed's default colors
>
> Regards,
> mowgli

i don't know if this helps but i have set upp colors and cursor with
the following commands in my .emacs files
--------------------------------------------------------------------------------------------
(set-foreground-color "white")  ;to set foreground color to white
(set-background-color "black")  ;to set background color to black

(global-hl-line-mode 1) ;; Mark current line
;(set-face-background 'hl-line "#332")  ; To customize the background
color - Emacs 22 Only
(set-face-background 'highlight "#332") ; To customize the background
color - Emacs 21 Only
---------------------------------------------------------------------------------------

The last 3 ones if for i like an cursorline following me,
There is a Emacs 22 or Emacs 21 version move comment ; to the none
corrent one for your systems,

Best regards Anders

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Emacs like jed
  2007-05-31 22:21 ` anders
@ 2007-06-01 23:42   ` mowgli
  2007-06-02  3:31     ` Drew Adams
                       ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: mowgli @ 2007-06-01 23:42 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 553 bytes --]

On Jun 1, 3:21 am, anders <anders.u.pers...@gmail.com> wrote:

> i don't know if this helps but i have set upp colors and cursor with
> the following commands in my .emacs files
> ---------------------------------------------------------------------------­-----------------
> (set-foreground-color "white")  ;to set foreground color to white
> (set-background-color "black")  ;to set background color to black


How do I set the text color to bright white? And is there a lst of
color codes for emacs I can get a list of?

Regards,
mowgli

^ permalink raw reply	[flat|nested] 17+ messages in thread

* RE: Emacs like jed
  2007-06-01 23:42   ` mowgli
@ 2007-06-02  3:31     ` Drew Adams
       [not found]     ` <mailman.1485.1180755187.32220.help-gnu-emacs@gnu.org>
                       ` (2 subsequent siblings)
  3 siblings, 0 replies; 17+ messages in thread
From: Drew Adams @ 2007-06-02  3:31 UTC (permalink / raw)
  To: help-gnu-emacs

> is there a lst of color codes for emacs I can get a list of?

C-h f x-defined-colors
or, in Emacs 22, C-h f defined-colors

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Emacs like jed
       [not found]     ` <mailman.1485.1180755187.32220.help-gnu-emacs@gnu.org>
@ 2007-06-02  5:15       ` mowgli
  2007-06-02 13:17         ` Drew Adams
  0 siblings, 1 reply; 17+ messages in thread
From: mowgli @ 2007-06-02  5:15 UTC (permalink / raw)
  To: help-gnu-emacs

On Jun 2, 8:31 am, "Drew Adams" <drew.ad...@oracle.com> wrote:
> > is there a lst of color codes for emacs I can get a list of?
>
> C-h f x-defined-colors
> or, in Emacs 22, C-h f defined-colors

C-h f x-defined-colors gives:

x-defined-colors is an alias for `defined-colors' in `faces'.
(x-defined-colors &optional FRAME)

Return a list of colors supported for a particular frame.
The argument FRAME specifies which frame to try.
The value may be different for frames on different display types.
If FRAME doesn't support colors, the value is nil.


I tried doing C-x x-defined colors and M-x x-defined colors but none
work.  But I do not know _how_ do I really view these colors and then
how do I set one of the viewed colors. The above detail is
insufficient.

Regards,
mowgli

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Emacs like jed
  2007-06-01 23:42   ` mowgli
  2007-06-02  3:31     ` Drew Adams
       [not found]     ` <mailman.1485.1180755187.32220.help-gnu-emacs@gnu.org>
@ 2007-06-02  7:19     ` Eli Zaretskii
       [not found]     ` <mailman.1489.1180768812.32220.help-gnu-emacs@gnu.org>
  3 siblings, 0 replies; 17+ messages in thread
From: Eli Zaretskii @ 2007-06-02  7:19 UTC (permalink / raw)
  To: help-gnu-emacs

> From: mowgli <knowledgeless@gmail.com>
> Date: Fri, 01 Jun 2007 23:42:18 -0000
> 
> On Jun 1, 3:21 am, anders <anders.u.pers...@gmail.com> wrote:
> 
> > (set-foreground-color "white")  ;to set foreground color to white
> > (set-background-color "black")  ;to set background color to black
> 
> How do I set the text color to bright white?

Isn't the above do what you want?  If not, why not?

> And is there a lst of color codes for emacs I can get a list of?

"M-x list-colors-display RET".

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Emacs like jed
       [not found]     ` <mailman.1489.1180768812.32220.help-gnu-emacs@gnu.org>
@ 2007-06-02  9:20       ` mowgli
  2007-06-02 10:44         ` Seweryn Kokot
                           ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: mowgli @ 2007-06-02  9:20 UTC (permalink / raw)
  To: help-gnu-emacs

On Jun 2, 12:19 pm, Eli Zaretskii <e...@gnu.org> wrote:

> > How do I set the text color to bright white?
>
> Isn't the above do what you want?  If not, why not?

No. Because white is just white and not bright white. Bright white is
the default foreground color in jed if you try and see.

> > And is there a lst of color codes for emacs I can get a list of?
>
> "M-x list-colors-display RET".

Thanks for this command, I tried the snow, and ghost white. They are
better but still not quite bright.

Regards,
mowgli

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Emacs like jed
  2007-06-02  9:20       ` mowgli
@ 2007-06-02 10:44         ` Seweryn Kokot
  2007-06-02 13:39           ` Drew Adams
  2007-06-02 17:23         ` Eli Zaretskii
       [not found]         ` <mailman.1505.1180804991.32220.help-gnu-emacs@gnu.org>
  2 siblings, 1 reply; 17+ messages in thread
From: Seweryn Kokot @ 2007-06-02 10:44 UTC (permalink / raw)
  To: help-gnu-emacs

mowgli <knowledgeless@gmail.com> writes:

> On Jun 2, 12:19 pm, Eli Zaretskii <e...@gnu.org> wrote:
>
>> > How do I set the text color to bright white?
>>
>> Isn't the above do what you want?  If not, why not?
>
> No. Because white is just white and not bright white. Bright white is
> the default foreground color in jed if you try and see.
>
>> > And is there a lst of color codes for emacs I can get a list of?
>>
>> "M-x list-colors-display RET".
>
> Thanks for this command, I tried the snow, and ghost white. They are
> better but still not quite bright.
>
> Regards,
> mowgli

try #fcfcfc instead of snow or white. To exactly determine what is the
code of the bright white color try gimp and pick color tool.

regards
Seweryn

^ permalink raw reply	[flat|nested] 17+ messages in thread

* RE: Emacs like jed
  2007-06-02  5:15       ` mowgli
@ 2007-06-02 13:17         ` Drew Adams
  0 siblings, 0 replies; 17+ messages in thread
From: Drew Adams @ 2007-06-02 13:17 UTC (permalink / raw)
  To: help-gnu-emacs

> > C-h f x-defined-colors
> > or, in Emacs 22, C-h f defined-colors
>
> I tried doing C-x x-defined colors and M-x x-defined colors but none
> work.  But I do not know _how_ do I really view these colors and then
> how do I set one of the viewed colors. The above detail is
> insufficient.

Sorry, I misunderstood your request; I thought you wanted to access the list
of available colors from Emacs Lisp.

Eli already answered your question: the command is `list-colors-display'.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* RE: Emacs like jed
  2007-06-02 10:44         ` Seweryn Kokot
@ 2007-06-02 13:39           ` Drew Adams
  0 siblings, 0 replies; 17+ messages in thread
From: Drew Adams @ 2007-06-02 13:39 UTC (permalink / raw)
  To: help-gnu-emacs

> > I tried the snow, and ghost white. They are
> > better but still not quite bright.
>
> try #fcfcfc instead of snow or white. To exactly determine what is the
> code of the bright white color try gimp and pick color tool.

Here are some other Emacs tools for examining all possible color
combinations for your display, in Emacs. These all give you direct
manipulation of frame and face properties, such as color. They let you
examine color properties or choose colors. You can input colors using
recognized color names, RGB components (red, green, blue), or HSV components
(hue, saturation, value).

* Palette - http://www.emacswiki.org/cgi-bin/wiki/ColorPalette
* Facemenu+ - http://www.emacswiki.org/cgi-bin/wiki/FaceMenuPlus
* DoReMi - http://www.emacswiki.org/cgi-bin/wiki/DoReMi

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Emacs like jed
  2007-06-02  9:20       ` mowgli
  2007-06-02 10:44         ` Seweryn Kokot
@ 2007-06-02 17:23         ` Eli Zaretskii
       [not found]         ` <mailman.1505.1180804991.32220.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 17+ messages in thread
From: Eli Zaretskii @ 2007-06-02 17:23 UTC (permalink / raw)
  To: help-gnu-emacs

> From: mowgli <knowledgeless@gmail.com>
> Date: Sat, 02 Jun 2007 09:20:53 -0000
> 
> On Jun 2, 12:19 pm, Eli Zaretskii <e...@gnu.org> wrote:
> 
> > > How do I set the text color to bright white?
> >
> > Isn't the above do what you want?  If not, why not?
> 
> No. Because white is just white and not bright white. Bright white is
> the default foreground color in jed if you try and see.

I don't have jed installed, and it sounds silly to install it just to
see one color.  Since you are already looking at jed, it would be nice
if you could tell what is that ``bright white'' color you see there.

Anyway, if "white" is not white enough, try #FFFFFF, you cannot be
more white than that.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Emacs like jed
       [not found]         ` <mailman.1505.1180804991.32220.help-gnu-emacs@gnu.org>
@ 2007-06-02 21:47           ` mowgli
  2007-06-02 23:52             ` Bauke Jan Douma
       [not found]             ` <mailman.1513.1180828337.32220.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 17+ messages in thread
From: mowgli @ 2007-06-02 21:47 UTC (permalink / raw)
  To: help-gnu-emacs

On Jun 2, 10:23 pm, Eli Zaretskii <e...@gnu.org> wrote:

> I don't have jed installed, and it sounds silly to install it just to
> see one color.  Since you are already looking at jed, it would be nice
> if you could tell what is that ``bright white'' color you see there.

You can have a look at these two screenshots here:
http://www.rootshell.be/~cyberjcp/jed.png
http://www.rootshell.be/~cyberjcp/emacs.png

> Anyway, if "white" is not white enough, try #FFFFFF, you cannot be
> more white than that.

The above emacs screenshot contains the #FFFFFF white which isn't
quite white still ;)

Regards,
mowgli

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Emacs like jed
  2007-06-02 21:47           ` mowgli
@ 2007-06-02 23:52             ` Bauke Jan Douma
       [not found]             ` <mailman.1513.1180828337.32220.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 17+ messages in thread
From: Bauke Jan Douma @ 2007-06-02 23:52 UTC (permalink / raw)
  To: mowgli; +Cc: help-gnu-emacs

mowgli wrote on 02-06-07 23:47:
> On Jun 2, 10:23 pm, Eli Zaretskii <e...@gnu.org> wrote:
> 
>> I don't have jed installed, and it sounds silly to install it just to
>> see one color.  Since you are already looking at jed, it would be nice
>> if you could tell what is that ``bright white'' color you see there.
> 
> You can have a look at these two screenshots here:
> http://www.rootshell.be/~cyberjcp/jed.png
> http://www.rootshell.be/~cyberjcp/emacs.png
> 
>> Anyway, if "white" is not white enough, try #FFFFFF, you cannot be
>> more white than that.
> 
> The above emacs screenshot contains the #FFFFFF white which isn't
> quite white still ;)

It doesn't get any whiter than 0xffffff, unless you tune
your monitor... ;-)

Also, try to compare with same surroundings, I see one has a
clear blue frame, while the other is grey.

Second font has a much narrower stroke than the first =>
it's all an optical illusion, see:
http://en.wikipedia.org/wiki/Optical_illusion

bjd

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Emacs like jed
       [not found]             ` <mailman.1513.1180828337.32220.help-gnu-emacs@gnu.org>
@ 2007-06-03  0:37               ` mowgli
  2007-06-03  3:06                 ` Eli Zaretskii
       [not found]                 ` <mailman.1518.1180839981.32220.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 17+ messages in thread
From: mowgli @ 2007-06-03  0:37 UTC (permalink / raw)
  To: help-gnu-emacs

On Jun 3, 4:52 am, Bauke Jan Douma <bjdo...@xs4all.nl> wrote:

> It doesn't get any whiter than 0xffffff, unless you tune
> your monitor... ;-)

Even on the console, jed shows bright white text same as the one in
the screenshot. Emacs however is with dull foreground. On console
there are no fonts issue. Does jed use some slang fonts? Just
wodering.

> Also, try to compare with same surroundings, I see one has a
> clear blue frame, while the other is grey.

Well that was my intention, please read this post from start and see
what I originally intended to do. If only I knew how to. But the
forground color is the most important one anyway.

> Second font has a much narrower stroke than the first =>
> it's all an optical illusion, see:http://en.wikipedia.org/wiki/Optical_illusion

There shouldn't be optical illusion on the console. If I list display
colors in emacs on console, it lists jsut plain 8 colors. Thats all it
supports on console? Howcome? And Jed is able to support bright colors
even on console? I switch between jed and emacs often so would like
similar colors atleast for the foreground and background.

Regards,
mowgli

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Emacs like jed
  2007-06-03  0:37               ` mowgli
@ 2007-06-03  3:06                 ` Eli Zaretskii
       [not found]                 ` <mailman.1518.1180839981.32220.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 17+ messages in thread
From: Eli Zaretskii @ 2007-06-03  3:06 UTC (permalink / raw)
  To: help-gnu-emacs

> From: mowgli <knowledgeless@gmail.com>
> Date: Sun, 03 Jun 2007 00:37:59 -0000
> 
> If I list display colors in emacs on console, it lists jsut plain 8
> colors. Thats all it supports on console? Howcome?

What version of Emacs do you have?  The (just released) Emacs 22.1
supports much more, up to 256, if the console declares their support
in its termcap/terminfo entry.

> And Jed is able to support bright colors even on console?

Emacs supports bright colors as well, except that it uses them for
emphasis (bold text).  If the terminfo entry says the console can do
bright and bold, Emacs uses that.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Emacs like jed
       [not found]                 ` <mailman.1518.1180839981.32220.help-gnu-emacs@gnu.org>
@ 2007-06-03 22:10                   ` mowgli
  2007-06-04  3:20                     ` Eli Zaretskii
  0 siblings, 1 reply; 17+ messages in thread
From: mowgli @ 2007-06-03 22:10 UTC (permalink / raw)
  To: help-gnu-emacs

On Jun 3, 8:06 am, Eli Zaretskii <e...@gnu.org> wrote:
> > From: mowgli <knowledgel...@gmail.com>
> > Date: Sun, 03 Jun 2007 00:37:59 -0000
>
> > If I list display colors in emacs on console, it lists jsut plain 8
> > colors. Thats all it supports on console? Howcome?
>
> What version of Emacs do you have?  The (just released) Emacs 22.1
> supports much more, up to 256, if the console declares their support
> in its termcap/terminfo entry.

My version is 21.4.1 on Debian Etch. I searched for backports but
Emacs 22 isn't available there for Debian it seems. But can you throw
some light on how to check if my termcap supports 256 colors or not
and how to make it support it?

> > And Jed is able to support bright colors even on console?
>
> Emacs supports bright colors as well, except that it uses them for
> emphasis (bold text).  If the terminfo entry says the console can do
> bright and bold, Emacs uses that.

Bright white looks good for normal text, atleast to me.

BTW, what is the best feature of Emacs 22 that isn't there in Emacs
21?

Regards,
mowgli

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Emacs like jed
  2007-06-03 22:10                   ` mowgli
@ 2007-06-04  3:20                     ` Eli Zaretskii
  0 siblings, 0 replies; 17+ messages in thread
From: Eli Zaretskii @ 2007-06-04  3:20 UTC (permalink / raw)
  To: help-gnu-emacs

> From: mowgli <knowledgeless@gmail.com>
> Date: Sun, 03 Jun 2007 22:10:08 -0000
> 
> My version is 21.4.1 on Debian Etch. I searched for backports but
> Emacs 22 isn't available there for Debian it seems.

Should be available shortly.

> But can you throw
> some light on how to check if my termcap supports 256 colors or not

The documentation should tell, as well as the "ncv" entry in the
terminfo database.

> and how to make it support it?

It's too complicated to have such a support in Emacs 21.3.  If you
want that, I suggest to get 22.1, where this support works out of the
box.

> BTW, what is the best feature of Emacs 22 that isn't there in Emacs
> 21?

Hard to say, it depends on what you do most frequently.  The enlarged
max size of buffers, maybe.

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2007-06-04  3:20 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-31  0:08 Emacs like jed mowgli
2007-05-31 22:21 ` anders
2007-06-01 23:42   ` mowgli
2007-06-02  3:31     ` Drew Adams
     [not found]     ` <mailman.1485.1180755187.32220.help-gnu-emacs@gnu.org>
2007-06-02  5:15       ` mowgli
2007-06-02 13:17         ` Drew Adams
2007-06-02  7:19     ` Eli Zaretskii
     [not found]     ` <mailman.1489.1180768812.32220.help-gnu-emacs@gnu.org>
2007-06-02  9:20       ` mowgli
2007-06-02 10:44         ` Seweryn Kokot
2007-06-02 13:39           ` Drew Adams
2007-06-02 17:23         ` Eli Zaretskii
     [not found]         ` <mailman.1505.1180804991.32220.help-gnu-emacs@gnu.org>
2007-06-02 21:47           ` mowgli
2007-06-02 23:52             ` Bauke Jan Douma
     [not found]             ` <mailman.1513.1180828337.32220.help-gnu-emacs@gnu.org>
2007-06-03  0:37               ` mowgli
2007-06-03  3:06                 ` Eli Zaretskii
     [not found]                 ` <mailman.1518.1180839981.32220.help-gnu-emacs@gnu.org>
2007-06-03 22:10                   ` mowgli
2007-06-04  3:20                     ` Eli Zaretskii

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.