Re: Change background colour
Peter Hoffmann <[email protected]>
| Newsgroups | gmane.editors.qemacs.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 29 Nov 2004 14:39:09 +0100, Pau Rul·lan Ferragut <[email protected]> wrote: > Hi list! > It is fantastic that the project is back again. Is there somewhere to ask > some candy-wishes, such as set-background-colour? The pity is that I can not > code, but I would be very greetful if someone could put this feature in (so I > would be able to work longer: my eyes hurt with white-black scheme). > You can set the fonts and colors in your .qe/config file: // copy it in ~/.qe/config // You can call any Qemacs command with a C like syntax. // underscores can be used in command names instead of dash. // simple key definition // C-key : Control + key // M-key : Meta + key // Read util.c to get all the key names global_set_key("C-x s", "set-style"); // set X11 display size //set_display_size(85, 38); //disable backups //set_backup_mode(0); set_style("default", "font-size", "14"); //set_system_font("sans", "helvetica,unifont"); //set_system_font("serif", "times,unifont"); // simple styles set_style("mode-line", "background-color", "grey"); set_style("mode-line", "color", "black"); set_style("minibuf","background-color","white"); set_style("minibuf","color","black"); set_style("status","background-color","white"); set_style("status","color","black"); set_style("default","background-color","white"); set_style("default","color","black"); set_style("status","color","red"); set_style("string","color","magenta"); set_style("keyword","color","3d33af"); set_style("tag","color","3d33af"); set_style("function","color","1d1d6f"); set_style("comment", "color", "red"); set_style("variable", "color", "6f0f05"); set_style("type", "color", "0b752e"); //set_style("comment", "font-family", "sans"); //set_style("comment", "font-size", "12"); //set_style("comment", "font-style", "italic"); //set_style("keyword", "font-family", "serif"); //set_style("keyword", "font-size", "18"); //set_style("function", "font-family", "serif"); //set_style("function", "font-size", "18"); //set_style("function", "font-weight", "bold"); More Information at http://fabrice.bellard.free.fr/qemacs/qe-doc.html#SEC16