From: Emanuel Berg <incal@dataswamp.org>
To: help-gnu-emacs@gnu.org
Subject: Re: [External] : Running emacs without any customisation
Date: Fri, 14 Oct 2022 08:31:51 +0200 [thread overview]
Message-ID: <878rliykyw.fsf@dataswamp.org> (raw)
In-Reply-To: 87h7079bfo.fsf@yahoo.com
Po Lu wrote:
>> Perhaps we could do as follows. Emacs could provide
>> light-default.el and dark-default.el for the case when
>> users need a quick emacs setup that is easy to read.
>> Might use modus-themes because I would think has the best
>> visibility for both light and dark theme. And there would
>> be no need to inhibit x-resources as is standard.
>
> How is the choice of default theme related in any way to the
> X resource manager?
Well, here is one way to put it ...
(not mine, was used and posted by Dan Espen)
! This is a little funny, but I start XEmacs with 2 frames, one of them
! for mail, and I give it the resource name "xmh". This makes it start
! iconic:
Emacs*xmh.iconic: true
! Gnus-5 uses this:
Emacs.backgroundMode: dark
! Even though I said it was dark it picked this dark color:
Emacs.custom-face-forestgreen-default-default-nil-t-nil.attributeForeground:pink
Emacs*XlwMenu.selectColor: ForestGreen
Emacs*XmToggleButton.selectColor: ForestGreen
! Specify the colors of the various sub-widgets of the dialog boxes.
Emacs*dialog*Foreground: Black
! #A5C0C1 is a shade of blue
Emacs*dialog*Background: #A5C0C1
Emacs*dialog*XmTextField*Background: WhiteSmoke
Emacs*dialog*XmText*Background: WhiteSmoke
Emacs*dialog*XmList*Background: WhiteSmoke
! Xlw Scrollbar colors
Emacs*XlwScrollBar.Foreground: Gray30
Emacs*XlwScrollBar.Background: Gray75
Emacs*XmScrollBar.Foreground: Gray30
Emacs*XmScrollBar.Background: Gray75
! xemacs wants . after Emacs, at least for some things:
Emacs.modeline.attributeBackground: Wheat
Emacs.modeline.attributeForeground: Black
! The menubar is 8x13bold (fontlist is if motif widgets are used):
Emacs*menubar*font: -misc-*-bold-r-normal--13-120-75-75-*-80-iso8859-*
Emacs*menubar*fontlist: -misc-*-bold-r-normal--13-120-75-75-*-80-iso8859-*
Emacs*popup*font: -misc-*-bold-r-normal--15-140-75-75-*-90-iso8859-*
! DJE, 09/28/2009, try to set Emacs menubar colors, not working:
Emacs.menubar*foreground: white
! The "pane" part is for Lucid menus:
Emacs.pane.menubar.background: cornflowerblue
! With LessTif, there are sub-Widgets:
Emacs.pane.menubar.*.background: cornflowerblue
Emacs.menu*.foreground: white
Emacs.menu*.background: cornflowerblue
Emacs.dialog*.foreground: white
Emacs.dialog*.background: blue
! Customize the pointers:
!(default)Emacs*textPointer: xterm
Emacs*spacePointer: sailboat
Emacs*modeLinePointer: spider
Emacs*selectionPointer: trek
!(default)Emacs*gcPointer: watch
! Geometry changes based on screen size:
#if ( HEIGHT == 900 ) /* Traditional Sparc */
Emacs.geometry: 81x55+0+0
#elif ( HEIGHT == 1024 ) /* Sparc 21 inch */
Emacs.geometry: 81x63+0+0
#elif ( HEIGHT == 768 ) /* Exceed in 1024x768 mode */
Emacs.geometry: 81x46+0+0
#elif ( HEIGHT == 1200 ) /* My home machine, 1600x1200 use side x side layout
*/
! No good w. 10x20 Emacs*xmh.geometry: 81x68+757+105
Emacs.geometry: 81x56
#elif ( HEIGHT == 1600 ) /* My home machine rotated 1600x1200 */
Emacs.geometry: 81x70
#else /* I have no idea... */
Emacs.geometry: 81x40+0+0
#endif
! This is 10x20:
Emacs.default.attributeFont:
-*-*-medium-*-normal--20-200-75-75-*-100-iso8859-*
! Set these, otherwise emacs wont figure out the right size font:
Emacs.italic.attributeFont: -*-*-*-*-normal--*-160-75-75-m-50-iso8859-*
Emacs.bold.attributeFont: -*-*-*-*-normal--*-160-75-75-m-50-iso8859-*
Emacs.bold-italic.attributeFont: -*-*-*-*-normal--*-160-75-75-m-50-iso8859-*
!# 7x13 bold
Emacs.modeline.attributeFont:-misc-*-bold-r-normal--13-120-75-75-*-70-iso8859-*
! This one is a different size, one of the rare cases when it looks OK:
Emacs.man-heading.attributeFont:-adobe-courier-bold-r-normal--*-190-75-75-m-0-iso8859-1
Emacs.man-heading.attributeForeground:pink
! Overall color scheme:
Emacs*Background: black
Emacs*BackGround: black
Emacs*background: black
Emacs*Foreground: chartreuse
Emacs*ForeGround: chartreuse
Emacs*foreground: chartreuse
! Added this to suppress a warning:
Emacs.italic.attributeForeground: pink
Emacs.italic.attributeBackground: black
Emacs.bold-italic.attributeForeground: pink
Emacs.bold-italic.attributeBackground: black
Emacs.bold.attributeBackground: black
#ifdef COLOR
Emacs*XmScrollBar*Foreground: lavender
Emacs*XmScrollBar*Background: wheat
Emacs*cursorColor: white
! Defaults for gnus
Emacs.message-highlighted-header-contents.attributeForeground: coral
Emacs.message-cited-text.attributeForeground: lavender
! Defaults for search/selection
Emacs.isearch.attributeBackground: black
Emacs.isearch.attributeForeground: coral
Emacs.highlight.attributeForeground: red
Emacs.bold.attributeForeground: pink
! primary-selection changed to zmacs-region in 19.12
Emacs.zmacs-region.attributeBackground: DarkOrchid3
Emacs.primary-selection.attributeBackground: DarkOrchid3
Emacs.secondary-selection.attributeBackground: DarkOrchid2
! Menubar etc.
Emacs*menubar*Background: DeepSkyBlue1
Emacs*menubar*Foreground: black
Emacs*menubar.buttonForeground: pink
! Dont see this having any effect: dje
Emacs*popup*Background: lightblue
Emacs*popup*Foreground: black
Emacs*pointerForeground: white
Emacs*pointerBackground: red
! With 19.12, these generated warnings with * after Emacs...dje 6/30/95
Emacs.attributeForeground: green
Emacs.attributeBackground: black
#endif
! For those poor souls without color:
#ifndef COLOR
Emacs*ForeGround: black
Emacs*Foreground: black
Emacs*foreground: black
Emacs*BackGround: white
Emacs*Background: white
Emacs*background: white
Emacs*borderColor: black
Emacs*CursorColor: black
Emacs*cursorColor: black
Emacs*attributeForeground: black
Emacs*attributeBackground: white
Emacs.bold.attributeForeground: white
Emacs.highlight.attributeForeground: white
Emacs.isearch.attributeForeground: white
Emacs.menubar.Foreground: white
Emacs.modeline.Foreground: white
Emacs.modeline.attributeForeground: white
Emacs.modeline.attributeBackground: black
Emacs.pointerForeground: white
Emacs.popup.foreground: white
Emacs.primary-selection.attributeForeground: white
Emacs.secondary-selection.attributeForeground: white
Emacs.bold.attributeBackground: black
Emacs.highlight.attributeBackground: black
Emacs.isearch.attributeBackground: black
Emacs.menubar.Background: black
Emacs.pointerBackground: black
Emacs.popup.background: black
Emacs.primary-selection.attributeBackground: black
Emacs.secondary-selection.attributeBackground: black
Emacs*pointerColor: black
#endif
--
underground experts united
https://dataswamp.org/~incal
next prev parent reply other threads:[~2022-10-14 6:31 UTC|newest]
Thread overview: 118+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-10 11:36 Running emacs without any customisation uzibalqa
2022-10-10 11:46 ` Thibaut Verron
2022-10-10 11:54 ` uzibalqa
2022-10-10 12:10 ` Thibaut Verron
2022-10-10 12:41 ` uzibalqa
2022-10-10 23:40 ` Emanuel Berg
2022-10-11 15:00 ` [External] : " Drew Adams
2022-10-10 23:30 ` Emanuel Berg
2022-10-11 15:02 ` Michael Heerdegen
2022-10-11 15:13 ` Michael Heerdegen
2022-10-11 15:56 ` uzibalqa
2022-10-11 15:59 ` uzibalqa
2022-10-11 16:19 ` Michael Heerdegen
2022-10-11 15:57 ` [External] : " Drew Adams
2022-10-11 16:17 ` Michael Heerdegen
2022-10-11 17:24 ` Drew Adams
2022-10-11 22:48 ` Michael Heerdegen
2022-10-12 1:33 ` Drew Adams
2022-10-11 18:52 ` uzibalqa
2022-10-11 19:10 ` Michael Heerdegen
2022-10-11 19:13 ` uzibalqa
2022-10-11 19:43 ` Michael Heerdegen
2022-10-11 20:26 ` uzibalqa
2022-10-11 20:45 ` Michael Heerdegen
2022-10-11 20:53 ` uzibalqa
2022-10-11 21:23 ` Michael Heerdegen
2022-10-11 22:01 ` uzibalqa
2022-10-11 22:28 ` Michael Heerdegen
2022-10-11 22:31 ` uzibalqa
2022-10-11 22:47 ` Michael Heerdegen
2022-10-11 23:00 ` uzibalqa
2022-10-11 17:45 ` RE: [External] : " Christopher Dimech
2022-10-12 0:12 ` uzibalqa
2022-10-12 1:44 ` Michael Heerdegen
2022-10-12 9:59 ` Dr Rainer Woitok
2022-10-12 12:47 ` uzibalqa
2022-10-12 14:45 ` Michael Heerdegen
2022-10-12 15:30 ` Drew Adams
2022-10-12 15:56 ` uzibalqa
2022-10-12 17:03 ` Michael Heerdegen
2022-10-12 17:50 ` uzibalqa
2022-10-12 18:25 ` Michael Heerdegen
2022-10-12 18:54 ` uzibalqa
2022-10-12 19:06 ` Michael Heerdegen
2022-10-12 20:42 ` uzibalqa
2022-10-12 20:51 ` Michael Heerdegen
2022-10-12 21:05 ` uzibalqa
2022-10-12 21:35 ` Michael Heerdegen
2022-10-12 21:45 ` uzibalqa
2022-10-12 22:11 ` Michael Heerdegen
2022-10-12 22:25 ` uzibalqa
2022-10-13 0:33 ` Dale Snell
2022-10-13 0:46 ` uzibalqa
2022-10-14 5:10 ` Emanuel Berg
2022-10-14 18:28 ` uzibalqa
2022-10-13 0:40 ` Po Lu
2022-10-13 0:43 ` Po Lu
2022-10-13 1:09 ` uzibalqa
2022-10-13 2:02 ` Po Lu
2022-10-13 11:17 ` Dr Rainer Woitok
2022-10-13 13:18 ` Emanuel Berg
2022-10-13 14:56 ` uzibalqa
2022-10-14 0:37 ` Po Lu
2022-10-14 0:47 ` uzibalqa
2022-10-14 3:21 ` Po Lu
2022-10-13 15:03 ` Christopher Dimech
2022-10-13 16:47 ` Michael Heerdegen
2022-10-13 17:55 ` Christopher Dimech
2022-10-14 4:18 ` Jean Louis
2022-10-13 0:42 ` Po Lu
2022-10-13 0:50 ` uzibalqa
2022-10-13 1:07 ` Po Lu
2022-10-13 1:11 ` uzibalqa
2022-10-13 2:01 ` Po Lu
2022-10-13 2:05 ` uzibalqa
2022-10-13 4:03 ` Po Lu
2022-10-13 6:19 ` Emanuel Berg
2022-10-13 12:17 ` uzibalqa
2022-10-13 12:39 ` Po Lu
2022-10-13 13:10 ` uzibalqa
2022-10-13 13:20 ` uzibalqa
2022-10-14 4:09 ` Jean Louis
2022-10-14 5:11 ` Emanuel Berg
2022-10-13 13:21 ` Po Lu
2022-10-13 14:02 ` uzibalqa
2022-10-13 15:59 ` Emanuel Berg
2022-10-14 16:30 ` Drew Adams
2022-10-13 14:03 ` Pascal Quesseveur
2022-10-13 14:18 ` uzibalqa
2022-10-13 15:04 ` Pascal Quesseveur
2022-10-13 15:26 ` uzibalqa
2022-10-13 16:41 ` Christopher Dimech
2022-10-14 0:38 ` Po Lu
2022-10-14 2:02 ` Christopher Dimech
2022-10-14 3:19 ` Po Lu
2022-10-14 3:49 ` Christopher Dimech
2022-10-14 4:45 ` uzibalqa
2022-10-14 4:52 ` Christopher Dimech
2022-10-14 6:16 ` Po Lu
2022-10-14 6:31 ` Emanuel Berg [this message]
2022-10-14 16:01 ` Jean Louis
2022-10-14 18:43 ` tomas
2022-10-15 6:58 ` Jean Louis
2022-10-15 8:39 ` tomas
2022-10-15 17:38 ` Christopher Dimech
2022-10-15 19:37 ` tomas
2022-10-14 20:55 ` Emanuel Berg
2022-10-14 2:33 ` Emanuel Berg
2022-10-14 4:14 ` Jean Louis
2022-10-14 5:32 ` Christopher Dimech
2022-10-14 8:47 ` Dr Rainer Woitok
2022-10-14 9:57 ` Po Lu
2022-10-14 12:30 ` uzibalqa
2022-10-14 13:48 ` Christopher Dimech
2022-10-16 4:57 ` Jean Louis
2022-10-14 20:50 ` Emanuel Berg
2022-10-13 1:12 ` Christopher Dimech
2022-10-13 0:40 ` Po Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878rliykyw.fsf@dataswamp.org \
--to=incal@dataswamp.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.