unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Resetting Background Colour, but only Speedbar Background is changing
@ 2020-10-02 12:49 Christopher Dimech
  2020-10-02 13:06 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Christopher Dimech @ 2020-10-02 12:49 UTC (permalink / raw)
  To: Help Gnu Emacs


I haven been changing the background colour using the following
command. However only the background of the speedbar is changing.
The background of the Editor Frame remained the same as for the
specific Colour Theme.

(set-background-color "#360233")




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

* Re: Resetting Background Colour, but only Speedbar Background is changing
  2020-10-02 12:49 Resetting Background Colour, but only Speedbar Background is changing Christopher Dimech
@ 2020-10-02 13:06 ` Eli Zaretskii
       [not found]   ` <trinity-e3e15f62-2089-4e00-8288-54ac6306b2f1-1601644573807@3c-app-mailcom-bs12>
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2020-10-02 13:06 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Christopher Dimech <dimech@gmx.com>
> Date: Fri, 2 Oct 2020 14:49:53 +0200
> 
> I haven been changing the background colour using the following
> command. However only the background of the speedbar is changing.
> The background of the Editor Frame remained the same as for the
> specific Colour Theme.
> 
> (set-background-color "#360233")

That changes the background color only of the selected frame.



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

* Re: Resetting Background Colour, but only Speedbar Background is changing
       [not found]   ` <trinity-e3e15f62-2089-4e00-8288-54ac6306b2f1-1601644573807@3c-app-mailcom-bs12>
@ 2020-10-02 13:28     ` Eli Zaretskii
  2020-10-02 13:59       ` Christopher Dimech
  2020-10-02 14:02       ` Christopher Dimech
  0 siblings, 2 replies; 10+ messages in thread
From: Eli Zaretskii @ 2020-10-02 13:28 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Christopher Dimech <dimech@gmx.com>
> Date: Fri, 2 Oct 2020 15:16:13 +0200
> Sensitivity: Normal
> 
> Yes, that's what it is doing, What I need to know is to have more information on how to select
> a frame, or hof to apply background colour to all frames.

To apply this to all frames, use something like this:

  (add-to-list 'default-frame-alist '(background-color . "#360233"))



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

* Re: Resetting Background Colour, but only Speedbar Background is changing
  2020-10-02 13:28     ` Eli Zaretskii
@ 2020-10-02 13:59       ` Christopher Dimech
  2020-10-02 14:51         ` Eli Zaretskii
  2020-10-02 16:00         ` Drew Adams
  2020-10-02 14:02       ` Christopher Dimech
  1 sibling, 2 replies; 10+ messages in thread
From: Christopher Dimech @ 2020-10-02 13:59 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs


I have tried your suggestion but it is not taking effect
Have dome like this


; Set Frame Size
( setq initial-frame-alist '((width . 75) (height . 24)) )

; Set emacs font - Value is 1/10 pt, so 180 gives 18pt.
(set-face-attribute 'default nil :height 180)

; Modify background colour from Colour Theme
(add-to-list 'default-frame-alist '(background-color . "#e1ff00"))

; Number text lines and columns
(setq line-number-mode t)
(setq column-number-mode t)







> Sent: Friday, October 02, 2020 at 2:28 PM
> From: "Eli Zaretskii" <eliz@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Resetting Background Colour, but only Speedbar Background is changing
>
> > From: Christopher Dimech <dimech@gmx.com>
> > Date: Fri, 2 Oct 2020 15:16:13 +0200
> > Sensitivity: Normal
> >
> > Yes, that's what it is doing, What I need to know is to have more information on how to select
> > a frame, or hof to apply background colour to all frames.
>
> To apply this to all frames, use something like this:
>
>   (add-to-list 'default-frame-alist '(background-color . "#360233"))
>
>



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

* Re: Resetting Background Colour, but only Speedbar Background is changing
  2020-10-02 13:28     ` Eli Zaretskii
  2020-10-02 13:59       ` Christopher Dimech
@ 2020-10-02 14:02       ` Christopher Dimech
  2020-10-02 14:12         ` Christopher Dimech
  1 sibling, 1 reply; 10+ messages in thread
From: Christopher Dimech @ 2020-10-02 14:02 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs


Let me tell you what is happening, I have installed on my machine Emacs 24.

But I have also installed locally Emacs 27.1. The changes are being applied
to Emacs 24, but not to Emacs 27.1.



> Sent: Friday, October 02, 2020 at 2:28 PM
> From: "Eli Zaretskii" <eliz@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Resetting Background Colour, but only Speedbar Background is changing
>
> > From: Christopher Dimech <dimech@gmx.com>
> > Date: Fri, 2 Oct 2020 15:16:13 +0200
> > Sensitivity: Normal
> >
> > Yes, that's what it is doing, What I need to know is to have more information on how to select
> > a frame, or hof to apply background colour to all frames.
>
> To apply this to all frames, use something like this:
>
>   (add-to-list 'default-frame-alist '(background-color . "#360233"))
>
>



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

* Re: Resetting Background Colour, but only Speedbar Background is changing
  2020-10-02 14:02       ` Christopher Dimech
@ 2020-10-02 14:12         ` Christopher Dimech
  2020-10-02 14:15           ` Christopher Dimech
  0 siblings, 1 reply; 10+ messages in thread
From: Christopher Dimech @ 2020-10-02 14:12 UTC (permalink / raw)
  To: Christopher Dimech; +Cc: help-gnu-emacs

I have the following and the new colour is not taking effect



; Set custom-theme-load-path
( add-to-list 'custom-theme-load-path
    (file-name-as-directory
       "/home/hagbard/GAdmSw/emacsPck/color--themes/")
)

(load-theme 'cobalt t t)
(enable-theme 'cobalt)

; Modify background colour for all frames
(add-to-list 'default-frame-alist '(background-color . "#e1ff00"))

; Set cursor color to white
(set-cursor-color "#fff63a")




> Sent: Friday, October 02, 2020 at 3:02 PM
> From: "Christopher Dimech" <dimech@gmx.com>
> To: "Eli Zaretskii" <eliz@gnu.org>
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: Resetting Background Colour, but only Speedbar Background is changing
>
>
> Let me tell you what is happening, I have installed on my machine Emacs 24.
>
> But I have also installed locally Emacs 27.1. The changes are being applied
> to Emacs 24, but not to Emacs 27.1.
>
>
>
> > Sent: Friday, October 02, 2020 at 2:28 PM
> > From: "Eli Zaretskii" <eliz@gnu.org>
> > To: help-gnu-emacs@gnu.org
> > Subject: Re: Resetting Background Colour, but only Speedbar Background is changing
> >
> > > From: Christopher Dimech <dimech@gmx.com>
> > > Date: Fri, 2 Oct 2020 15:16:13 +0200
> > > Sensitivity: Normal
> > >
> > > Yes, that's what it is doing, What I need to know is to have more information on how to select
> > > a frame, or hof to apply background colour to all frames.
> >
> > To apply this to all frames, use something like this:
> >
> >   (add-to-list 'default-frame-alist '(background-color . "#360233"))
> >
> >
>
>



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

* Re: Resetting Background Colour, but only Speedbar Background is changing
  2020-10-02 14:12         ` Christopher Dimech
@ 2020-10-02 14:15           ` Christopher Dimech
  0 siblings, 0 replies; 10+ messages in thread
From: Christopher Dimech @ 2020-10-02 14:15 UTC (permalink / raw)
  To: Christopher Dimech; +Cc: help-gnu-emacs

I can see the yellow flicker, but then the backroung colours becomes blue again.



> Sent: Friday, October 02, 2020 at 3:12 PM
> From: "Christopher Dimech" <dimech@gmx.com>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: "Eli Zaretskii" <eliz@gnu.org>, help-gnu-emacs@gnu.org
> Subject: Re: Resetting Background Colour, but only Speedbar Background is changing
>
> I have the following and the new colour is not taking effect
>
>
>
> ; Set custom-theme-load-path
> ( add-to-list 'custom-theme-load-path
>     (file-name-as-directory
>        "/home/hagbard/GAdmSw/emacsPck/color--themes/")
> )
>
> (load-theme 'cobalt t t)
> (enable-theme 'cobalt)
>
> ; Modify background colour for all frames
> (add-to-list 'default-frame-alist '(background-color . "#e1ff00"))
>
> ; Set cursor color to white
> (set-cursor-color "#fff63a")
>
>
>
>
> > Sent: Friday, October 02, 2020 at 3:02 PM
> > From: "Christopher Dimech" <dimech@gmx.com>
> > To: "Eli Zaretskii" <eliz@gnu.org>
> > Cc: help-gnu-emacs@gnu.org
> > Subject: Re: Resetting Background Colour, but only Speedbar Background is changing
> >
> >
> > Let me tell you what is happening, I have installed on my machine Emacs 24.
> >
> > But I have also installed locally Emacs 27.1. The changes are being applied
> > to Emacs 24, but not to Emacs 27.1.
> >
> >
> >
> > > Sent: Friday, October 02, 2020 at 2:28 PM
> > > From: "Eli Zaretskii" <eliz@gnu.org>
> > > To: help-gnu-emacs@gnu.org
> > > Subject: Re: Resetting Background Colour, but only Speedbar Background is changing
> > >
> > > > From: Christopher Dimech <dimech@gmx.com>
> > > > Date: Fri, 2 Oct 2020 15:16:13 +0200
> > > > Sensitivity: Normal
> > > >
> > > > Yes, that's what it is doing, What I need to know is to have more information on how to select
> > > > a frame, or hof to apply background colour to all frames.
> > >
> > > To apply this to all frames, use something like this:
> > >
> > >   (add-to-list 'default-frame-alist '(background-color . "#360233"))
> > >
> > >
> >
> >
>



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

* Re: Resetting Background Colour, but only Speedbar Background is changing
  2020-10-02 13:59       ` Christopher Dimech
@ 2020-10-02 14:51         ` Eli Zaretskii
  2020-10-02 15:36           ` Christopher Dimech
  2020-10-02 16:00         ` Drew Adams
  1 sibling, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2020-10-02 14:51 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Christopher Dimech <dimech@gmx.com>
> Cc: help-gnu-emacs@gnu.org
> Date: Fri, 2 Oct 2020 15:59:01 +0200
> 
> I have tried your suggestion but it is not taking effect
> Have dome like this
> 
> 
> ; Set Frame Size
> ( setq initial-frame-alist '((width . 75) (height . 24)) )
> 
> ; Set emacs font - Value is 1/10 pt, so 180 gives 18pt.
> (set-face-attribute 'default nil :height 180)
> 
> ; Modify background colour from Colour Theme
> (add-to-list 'default-frame-alist '(background-color . "#e1ff00"))

Are you doing this in your .emacs init file?  That's where it should
be done.  It works for me, FWIW.



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

* Re: Resetting Background Colour, but only Speedbar Background is changing
  2020-10-02 14:51         ` Eli Zaretskii
@ 2020-10-02 15:36           ` Christopher Dimech
  0 siblings, 0 replies; 10+ messages in thread
From: Christopher Dimech @ 2020-10-02 15:36 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs

I reckoned something got screwed up in the installation. I installed it
again and your suggestion works.

Thank you.



> Sent: Friday, October 02, 2020 at 3:51 PM
> From: "Eli Zaretskii" <eliz@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Resetting Background Colour, but only Speedbar Background is changing
>
> > From: Christopher Dimech <dimech@gmx.com>
> > Cc: help-gnu-emacs@gnu.org
> > Date: Fri, 2 Oct 2020 15:59:01 +0200
> >
> > I have tried your suggestion but it is not taking effect
> > Have dome like this
> >
> >
> > ; Set Frame Size
> > ( setq initial-frame-alist '((width . 75) (height . 24)) )
> >
> > ; Set emacs font - Value is 1/10 pt, so 180 gives 18pt.
> > (set-face-attribute 'default nil :height 180)
> >
> > ; Modify background colour from Colour Theme
> > (add-to-list 'default-frame-alist '(background-color . "#e1ff00"))
>
> Are you doing this in your .emacs init file?  That's where it should
> be done.  It works for me, FWIW.
>
>



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

* RE: Resetting Background Colour, but only Speedbar Background is changing
  2020-10-02 13:59       ` Christopher Dimech
  2020-10-02 14:51         ` Eli Zaretskii
@ 2020-10-02 16:00         ` Drew Adams
  1 sibling, 0 replies; 10+ messages in thread
From: Drew Adams @ 2020-10-02 16:00 UTC (permalink / raw)
  To: Christopher Dimech, Eli Zaretskii; +Cc: help-gnu-emacs

M-x customize-option default-frame-alist

Customize whatever you want, as frame-parameter defaults, then save your updated preferences.



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

end of thread, other threads:[~2020-10-02 16:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-02 12:49 Resetting Background Colour, but only Speedbar Background is changing Christopher Dimech
2020-10-02 13:06 ` Eli Zaretskii
     [not found]   ` <trinity-e3e15f62-2089-4e00-8288-54ac6306b2f1-1601644573807@3c-app-mailcom-bs12>
2020-10-02 13:28     ` Eli Zaretskii
2020-10-02 13:59       ` Christopher Dimech
2020-10-02 14:51         ` Eli Zaretskii
2020-10-02 15:36           ` Christopher Dimech
2020-10-02 16:00         ` Drew Adams
2020-10-02 14:02       ` Christopher Dimech
2020-10-02 14:12         ` Christopher Dimech
2020-10-02 14:15           ` Christopher Dimech

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).