Bug 15582
Summary: | syntax coloring by default | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | mal |
Component: | emacs | Assignee: | Trond Eivind Glomsrxd <teg> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | Keywords: | FutureFeature |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-08-06 20:08:04 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
mal
2000-08-06 20:08:02 UTC
It should already be on by default in the default .emacs (the one in /etc/skel/ , which is copied to all new users)/ Yes, it does syntax coloring for display. Also it may be much improved for printing. Now it does PostScript printing with the same coloring highligting as for terminal which leads to balck/grey on printing. It will be much more convinient to highlight syntax/structure for printing by fonts, not by colors. Colors are good for terminal, fonts for printer. Any idea on how to do that? I seen this onece done by another person. I will look at how this can be done. In emacs you can do this by using commands (in emacs) M-x make-face-bold font-lock-comment-face Which will make comments bold. Similar command can be executed for the other things. There are many web pages around, but they offer hints, but not a complete solution. The best I found is ----------- http://mirror.ncsa.uiuc.edu/procmail/ssjaaa/ema-font.html 4.10 Font-lock colours - how to change defaults? [toc] Kai Grossjohann grossjoh.uni-dortmund.de With Emacs 19.30 and up you can set font-lock-face-attributes which is rather simple to understand, I think. (setq font-lock-face-attributes '( ;; FACE FORE BACK BOLD? IT? UNDERLINE? (font-lock-type-face "green" nil nil t nil) ;; ...more lines like this... )) ---------- So you can set whatever face you want. The only problem - I did not find pre-set faces. |