tag:blogger.com,1999:blog-3992530807750384868.post6991806489664012099..comments2022-03-28T08:42:20.497+03:00Comments on emacs-fu: the zenburn color themeUnknownnoreply@blogger.comBlogger35125tag:blogger.com,1999:blog-3992530807750384868.post-5081945200973269692011-05-31T00:19:33.840+03:002011-05-31T00:19:33.840+03:00I really like the theme, but ended up having probl...I really like the theme, but ended up having problems when using it on the latest emacs 24 build via git. I found that when I did a (load-theme 'zenburn) that some of the inherited styles were often misapplied. In the end, I found that following seemed to work reliably as the last stanza of my ~/.emacs.d/init.el:<br /><br />;; Set color theme only if using a windowing system and emacs 24 or higher.<br />(when (and (window-system)<br /> (>= emacs-major-version 24))<br /> (add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")<br /> (load-theme 'zenburn)<br /> ;; HACK: load-theme has issues, load the file as well<br /> (load-file "~/.emacs.d/themes/zenburn-theme.el"))Mark Colburnhttps://www.blogger.com/profile/02709117209800897351noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-11173433288776668442011-03-20T18:34:58.920+02:002011-03-20T18:34:58.920+02:00another @Anonymous: note that you can use emacscli...another @Anonymous: note that you can use emacsclient --eval to execute commands, e.g. save-buffers-kill-emacs or something more sophisticated to close the emacs server.djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-1806889755560538492011-03-20T18:28:35.580+02:002011-03-20T18:28:35.580+02:00@Anonymous, crosshairs has support for that alread...@Anonymous, crosshairs has support for that already, by default the color should follow the hl-line color (see crosshairs-vline-same-face-flag) -- assuming you use hl-line-mode for highlighting the current line.djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-91544430085573236862011-03-11T20:37:15.387+02:002011-03-11T20:37:15.387+02:00Speaking of zenburn and crosshair: when I enable c...Speaking of zenburn and crosshair: when I enable crosshair-mode vertical bar have a different color than horizontal.<br /><br />How to make them equal?<br /><br />Preferrably not by setting colors manually but to force crosshair to use theme colors so when I change theme it'll pick up proper colors automatically.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-84723142247173132932011-03-11T19:51:39.252+02:002011-03-11T19:51:39.252+02:00djcb thanks a lot!
I beg your pardon for offtopic...djcb thanks a lot!<br /><br />I beg your pardon for offtopic but can you point me towards some description of start\restart\shutdown of emacs?<br /><br />To be more precise I use emacs --daemon which autoloads everytime I logon to ubuntu.<br /><br />There are obvious problems: I didn't managed to find a way to gracefully shutdown it upon logout - which leads to question about potential file conflicts on next logon (due to some garbage leftovers I presume).<br /><br />Another thing - is how to kick emacs daemon to re-read configuration?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-74272859689873911212011-03-11T17:17:49.766+02:002011-03-11T17:17:49.766+02:00@Anonymous: Well, see this
old emacs-fu post; then...@Anonymous: Well, see <a href="http://emacs-fu.blogspot.com/2008/12/installing-packages.html" rel="nofollow">this<br />old emacs-fu post</a>; then you need to get vline.el, col-highlight.el, hl-line+.el<br />and crosshairs.el.<br /><br />In your .emacs do a <br /> (require 'crosshairs)<br /><br />and whenever you want to use it, use M-x crosshairs-mode (same to toggle it off again).djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-1599687034921030822011-03-11T17:00:56.970+02:002011-03-11T17:00:56.970+02:00Thank you!
More noob questions - how to actually ...Thank you!<br /><br />More noob questions - how to actually use it:<br /><br />plave crosshairs.el into ~/emacs.d/<br />and add to ~/emacs.d/init.el:<br /><br />(require crosshairs)<br />(global-set-key [(control ?+)] 'crosshairs-mode)<br /><br />??Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-27952202296842526932011-03-11T07:28:00.564+02:002011-03-11T07:28:00.564+02:00@Anonymous: see CrosshairHighlighting@Anonymous: see <a href="http://www.emacswiki.org/emacs/CrosshairHighlighting" rel="nofollow">CrosshairHighlighting</a>djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-5779278012903244742011-03-11T02:34:00.989+02:002011-03-11T02:34:00.989+02:00Is there way to modify this (or some other) theme ...Is there way to modify this (or some other) theme to draw not only horizontal bar but also vertical bar in order to highlight cursor?<br /><br />I mean it would be neat to see cursor in the middle of cross of 2 bars highlighting both row and column - the same way it is implemented in ultraedit for example.<br /><br />Any hints?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-16416228467230142322010-07-06T22:26:00.056+03:002010-07-06T22:26:00.056+03:00Actually I found out what is the problem: it seems...Actually I found out what is the problem: it seems that the zenburn theme is not adapted to console mode. In deed, when calling emacs in window mode it behaves quite good but in no window mode it reverts to cheap goldenrod settings. Is there a way to fix and make it react the same in both modes?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-30195720846342383222010-07-06T20:35:14.156+03:002010-07-06T20:35:14.156+03:00@Anonymous: I can sort-of reproduce that when I do...@Anonymous: I can sort-of reproduce that when I don't load the color-theme package before zenburn -- so it hopefull works for you when you do a <br /><br /> (require 'color-theme) <br /><br />first.djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-8964388088957508342010-07-06T18:18:09.270+03:002010-07-06T18:18:09.270+03:00I tried the zenburn.el found here: http://www.broc...I tried the zenburn.el found here: http://www.brockman.se/software/zenburn/zenburn.el. It absolutely doesn't look as supposed. It is similar to the emacs theme cheap goldenrod. I am using emacs 23.2 on a kubuntu 10.04 LTS. Have you put some custom-set-faces before adding zenburn staff?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-85966850362024078652010-07-06T05:06:34.762+03:002010-07-06T05:06:34.762+03:00Hi,
I found this smart tool to help create an ema...Hi,<br /><br />I found this smart tool to help create an emacs theme. Actually I find it quite simple and intuitive. Hope you will appreciate http://alexpogosyan.com/color-theme-creator/kakachi senseihttps://www.blogger.com/profile/08832686604578647959noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-67746230083799898392010-06-21T13:46:53.394+03:002010-06-21T13:46:53.394+03:00For those who are interested, I did a Google Chrom...For those who are interested, I did a Google Chrome theme based on Zenburn:<br /><br />https://chrome.google.com/extensions/detail/hakjkjcbffhnjeghcfdckehklpeifoma<br /><br />So you can rest your eyes while surfing as well ;)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-57470859522789678942010-06-06T18:01:45.129+03:002010-06-06T18:01:45.129+03:00@Byron: see installing
packages. Basically, you ne...@Byron: see <a href="http://emacs-fu.blogspot.com/2008/12/installing-packages.html" rel="nofollow">installing<br />packages</a>. Basically, you need to add some directory (say, ~/.emacs.d/elisp/) to the 'load-path', and put zenburn.el there.djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-57530699516903252952010-06-01T12:37:07.217+03:002010-06-01T12:37:07.217+03:00Emacs noob here. In which emacs directory do you ...Emacs noob here. In which emacs directory do you put the zenburn.el file? Been searching for this answer all over the net with no luck.Byronhttp://byrongibson.comnoreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-12949561549128148282010-05-21T00:21:55.761+03:002010-05-21T00:21:55.761+03:00zenburn for emacs: quiet, peaceful, beautiful. ma...zenburn for emacs: quiet, peaceful, beautiful. many thanks -Bill Whitehttps://www.blogger.com/profile/17764579160852643673noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-49763863846418292212010-05-03T08:23:43.882+03:002010-05-03T08:23:43.882+03:00@krz: ah thanks, you did all the hard work :)@krz: ah thanks, you did all the hard work :)djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-12570826233090041222010-05-02T18:39:29.228+03:002010-05-02T18:39:29.228+03:00hi
I originally posted the zenburn theme to the wa...hi<br />I originally posted the zenburn theme to the wanderlust list. I switched back to mutt so I did not read the list any more, sorry.<br />You merged the settings to the theme, so all probs to you!<br />Your blog makes me want to dig deeper into it and perhaps give wanderlust another try :)<br />Great blog, I love it.krzhttp://kurzor.orgnoreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-40254764740827757032010-04-19T23:13:07.684+03:002010-04-19T23:13:07.684+03:00@Kao: cool! I've planning to look into custom-...@Kao: cool! I've planning to look into custom-theme, I'm going to give your mode a try.djcbhttps://www.blogger.com/profile/15938154009846040711noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-32095331018910962712010-04-19T08:04:35.851+03:002010-04-19T08:04:35.851+03:00I was having some problems making it work on Aquam...I was having some problems making it work on Aquamacs so I wrote a version using the builtin custom-theme engine instead of color-theme. If anyone want to check it out it's on http://bitbucket.org/kcfelix/zenburn-theme.el<br /><br />djcb, I don't use the packages your updates are for, but I'll incorporate them on my version as well if you don't mind.Kaohttps://www.blogger.com/profile/13077657840953960081noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-36175317218613323772010-04-16T20:55:24.663+03:002010-04-16T20:55:24.663+03:00I've been using it since I saw your post, and ...I've been using it since I saw your post, and what can I say? It's awesome!!!<br /><br />Keep rockin' djcbSergiohttp://blogs.igalia.com/svillarnoreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-63067870831011574562010-04-11T18:39:42.689+03:002010-04-11T18:39:42.689+03:00@oppor:
;;-----
(require 'color-theme)
(color...@oppor:<br /><br />;;-----<br />(require 'color-theme)<br />(color-theme-initialize)<br />(load "~/.emacs.d/zenburn")<br />(color-theme-zenburn)<br />;;-----<br /><br />remember to put the zenburn.el file in ~/.emacs.d/<br /><br />I love zenburn but anyone else find the cursor/highlighting to be a bit bright? It makes the characters underneath hard to see...<br /><br />I edited the matching paren color to be less bright, and also the cursor to be narrow:<br /><br />(add-to-list 'default-frame-alist '(cursor-type . (bar . 2)))<br /><br />Still have to figure out how to dim the highlighting color (for transient-mark-mode)...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-29701091038754488062010-04-10T13:39:02.942+03:002010-04-10T13:39:02.942+03:00how use this??how use this??nonehttps://www.blogger.com/profile/08369022243742158820noreply@blogger.comtag:blogger.com,1999:blog-3992530807750384868.post-74993655411838498362010-04-08T10:00:06.936+03:002010-04-08T10:00:06.936+03:00On every application that I use that has skin/colo...On every application that I use that has skin/colorscheme functinality, the FIRST thing i do is to search for a zenburn theme (I even found a Konsole one).<br /><br />I've been using it everywhere for the last couple of years and it's perfect :Dltsamproshttps://www.blogger.com/profile/14660689956462369134noreply@blogger.com