How to Make Aquamacs Color Theme Stick? - macos

So, I do a M-x color-theme-select and select a theme. Then I to Options -> Save options. I restart and its still the black on white theme.
I tried - http://www.emacswiki.org/emacs/AquamacsFAQ
No use.
Tried downloading the theme (Charcoal Black) and put it in /Library/Preferences/Aquamacs\ Emacs/customize.el:
(load-theme 'charcoal-black t t)
(enable-theme 'charcoal-black)
Still not working. What to do now?

There might certainly be better ways to solve it than this, but this works for me, there's no reason why it shouldn't work for you, and it has the merit of being instantly understandable:
The function color-theme-initialize has to be run before a theme is chosen. This is done for you by color-theme-select, but you must do it manually or in an init file before specifying the theme.
It seems many themes have a choice function: e.g color-theme-charcoal-black chooses charcoal-black. This and many others are available after the color themes have been init'ed, but not before.
Thus, I have in my Preferences.el these two lines:
(color-theme-initialize)
(color-theme-charcoal-black)

Related

how to change background color in scite (scintilla) editor

In frustration of some breakage, I've nuked my old/ancient
version of Scite, and done a fresh install of Scite.
So, on Windows, I now have 32-bit version 5.1.4.
Three issues:
#1 How/where to change the overall (not file-type specific)
background color, it defaults to WHITE. I'd like to configure it to that light-yellow-ish color. How/where to
do that. (Googling said to change it in the "SciTEGlobal.properties" file, but nothing in there resembles what I'm trying to do. !?!?)
#2: So, specific to HTML files, as I scrolled down thru a file, the background in HTML sections would have this same light-yellowish color, and the JS sections had white background, and I'd like to have something equivalent
to that. (On the defaults I see now, html sections are white, but the JS section are an off-white, but they are
so close to white, that my eye can hardly discern them, unless I tip the laptop's screen back and forth. (Yuck.)
#3: A new behavior I see now, is that there is some scheme for html, that uses different font-sizes for different contexts. While that seems like a worthwhile feature for many, I'd like to go back to what I had before...where
all lines were the same font-size. (And then, how can I specify just one single font-size, for all lines in all file-types.)
TIA...
Dave
Default background color and style can found in SciTEGlobal.properties file
# Global default styles for all languages
# Default
style.*.32=$(font.base)
# Line number
style.*.33=back:#E7E7E7,$(font.base)
To change default background color open SciTEUser.properties file and add following lines
# Global default styles for all languages
# Default
style.*.32=$(font.base),back:#101010,fore:#BBBBDD
# Line number
style.*.33=$(font.base),back:#101010
Note: Editing SciTEUser.properties file for customization is best practice. However this file is stored under %USERPROFILE% folder (in Windows) and customization limited to that machine only. If your SciTE installation is on USB stick (Portable installation) and you want to retain SciTE customization on whichever PC you plugged in then edit SciTEGlobal.properties
To do any changes specific to any language then edit <language>.properties file.
example html.properties for HTML specific customization.

Set Different Terminal Background for Each Directory

I seem to recall stumbling across an article on zsh about how it was possible to have different themes (or presumably, different theme settings, for different directories). In other words, you'd be able to do things like set the background color of the terminal to be blue for one directory, black for another, etc. I couldn't find the original article or anything matching what I had in mind.
Is this something that can be done?
I suggest using LS_COLORS, you can select highlighting, emboldening and different colours very quickly and easily.
heres a great tutorial on how to do that;
https://www.howtogeek.com/307899/how-to-change-the-colors-of-directories-and-files-in-the-ls-command/
It is also possible to edit the bash_profiles. script line;
export BASH_IT_THEME="whichever theme you have"
And insert a downloaded theme but this would be for your whole system (as far as I know)

Change Intellisense Quick Info parameter font

Is it at all possible to change the font/colour of the parameter in the Intellisense Quick Info tooltip box? If there's a large number of parameters needed I just cannot see the bold sticking out enough in the dark theme. I can see it better with the light or blue theme enabled but I prefer the dark because it doesn't cause eye strain.
What I would like is to be able to change the "float g" to be more visible while leaving the other parameters in the list the same. So it could look more like this:
Color(float r, float g, float b)
Even if it's a bit of a hacky or roundabout way, I would just love to be able to change the size, colour or font.
I've checked through the font settings in VS but I can't find anything to specifically change what I want. I can make all of the Quick Info text bigger, but that doesn't really solve my problem.
Any suggestions would be great.
The feature I want isn't available in Visual Studio as of yet. I have a suggestion here:
https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/32216677-option-to-change-intellisense-quick-info-parameter
If you have the same problem or want the same thing please give it a vote.

Vim airline customise settings

In this screenshot of my vimrc settings, I have installed the plugin vim-airline using vundle. After going through airlines docs, I found the set of lines to customise my airline.
The problem is the ones highlighted in red. The blue highlighted one works fine but the red one does not. The left one is same as right one. I tried using different Unicode symbols but does not work. Any workaround to this situation as this is troubling my OCD :P.
Thanks in advance.
This is a well-known issue related to the font (size and family) used in your terminal.
For a better display, you have two solutions:
Do not use arrows as separators
Configure your terminal emulator to use a patched font with the right size
If you prefer the first solution, make sure you have this code in your .vimrc:
let g:airline_right_sep = ""
let g:airline_left_sep = ""
If you prefer the other solution, take a look at this: https://github.com/powerline/fonts
I have used the Hack font with size 11 for a long time and the arrows are perfectly displayed in my editor...

Skin vs theme, what is the difference?

What is the difference between skin and theme?
I have looked at this articles:
https://en.wikipedia.org/wiki/Skin_%28computing%29
https://en.wikipedia.org/wiki/Theme_%28computer%29
and there is only one difference: theme is less "complicated" then skin. Like different set of icons and colors in theme, but skin can change UI control appearance (checkbox vs switch for ON/OFF control) in programmatic way which can be done by styling/CSS.
That difference in answer if it applied to WEB-app vs desktop application?
UPDATE. I have added the ability to change the look of the program via configuration file (icons, colors, element position). Is that skin or theme?
I would say the difference is minor. My gut feeling says that I would call something which alters the appearance and feel of an interface a skin while I would call something which only alters the appearance a theme. A skin could add an extra button to allow for easier access to some of the underlying program's functionality, for example.
I have added the ability to change the look of the program via configuration file (icons, colors, element position). Is that skin or theme?
That would be a theme (by my logic). In reality, though, most people will use the two terms interchangeably.
A Theme is a combination of multiple features that not only defines the layout of the website but also add additional features to your site. So a theme may consist of combination of skins and modules.
Whereas Skin is something that is purely related to your website appearance like it's color, block placement and other factors related to its layout.
UPDATE. I have added the ability to change the look of the program via
configuration file (icons, colors, element position). Is that skin or
theme?
I would agree with #timgeb that you are actually configuring skin of your theme.

Resources