<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: emacs daemon and Xdefaults</title>
	<atom:link href="http://blog.chmouel.com/2009/08/11/emacs-daemon-and-xdefaults/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chmouel.com/2009/08/11/emacs-daemon-and-xdefaults/</link>
	<description>Random and probably boring stuff.</description>
	<lastBuildDate>Tue, 24 Jan 2012 23:53:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: mikyra</title>
		<link>http://blog.chmouel.com/2009/08/11/emacs-daemon-and-xdefaults/comment-page-1/#comment-5046</link>
		<dc:creator>mikyra</dc:creator>
		<pubDate>Mon, 06 Dec 2010 23:00:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chmouel.com/?p=164#comment-5046</guid>
		<description>I had the same problem using my emacs configuration.
As it seems to turn out, it was just my mistake that emacs seemingly didn&#039;t read .Xresources settings.

The main reason seemed to be trying to set different values when running from the command line.
i.e. my startup-script contained:

(if (not (window-system))
  (progn
 and tons of  (set-face-attribute  ... s.

As &quot;emacs --deamon&quot; seems to start up with (not (window-system)) evaluating to true all my .Xresources settings were overwritten in the (if ... clause.

Temporarily removing these lines from my startup script seems to solve the issue.</description>
		<content:encoded><![CDATA[<p>I had the same problem using my emacs configuration.<br />
As it seems to turn out, it was just my mistake that emacs seemingly didn&#8217;t read .Xresources settings.</p>
<p>The main reason seemed to be trying to set different values when running from the command line.<br />
i.e. my startup-script contained:</p>
<p>(if (not (window-system))<br />
  (progn<br />
 and tons of  (set-face-attribute  &#8230; s.</p>
<p>As &#8220;emacs &#8211;deamon&#8221; seems to start up with (not (window-system)) evaluating to true all my .Xresources settings were overwritten in the (if &#8230; clause.</p>
<p>Temporarily removing these lines from my startup script seems to solve the issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emacs goodness &#124; Ted Carnahan</title>
		<link>http://blog.chmouel.com/2009/08/11/emacs-daemon-and-xdefaults/comment-page-1/#comment-3639</link>
		<dc:creator>Emacs goodness &#124; Ted Carnahan</dc:creator>
		<pubDate>Thu, 13 Aug 2009 20:08:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chmouel.com/?p=164#comment-3639</guid>
		<description>[...] environment, so other customizations in ~/.Xdefaults aren&#8217;t applied. Fix that by doing it the Right Way using pure [...]</description>
		<content:encoded><![CDATA[<p>[...] environment, so other customizations in ~/.Xdefaults aren&#8217;t applied. Fix that by doing it the Right Way using pure [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chmouel</title>
		<link>http://blog.chmouel.com/2009/08/11/emacs-daemon-and-xdefaults/comment-page-1/#comment-3636</link>
		<dc:creator>chmouel</dc:creator>
		<pubDate>Tue, 11 Aug 2009 20:49:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chmouel.com/?p=164#comment-3636</guid>
		<description>&lt;a href=&quot;#comment-3635&quot; rel=&quot;nofollow&quot;&gt;@anonymous&lt;/a&gt; 
I am doing a xrdb -merge before on the Xdefaults file it works when i launch emacs directly and other frames but not via emacs --daemon and other frames but indeed Xresources should be more appropriated.</description>
		<content:encoded><![CDATA[<p><a href="#comment-3635" rel="nofollow">@anonymous</a><br />
I am doing a xrdb -merge before on the Xdefaults file it works when i launch emacs directly and other frames but not via emacs &#8211;daemon and other frames but indeed Xresources should be more appropriated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous</title>
		<link>http://blog.chmouel.com/2009/08/11/emacs-daemon-and-xdefaults/comment-page-1/#comment-3635</link>
		<dc:creator>anonymous</dc:creator>
		<pubDate>Tue, 11 Aug 2009 19:47:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chmouel.com/?p=164#comment-3635</guid>
		<description>try ~/.Xresources instead?</description>
		<content:encoded><![CDATA[<p>try ~/.Xresources instead?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chmouel</title>
		<link>http://blog.chmouel.com/2009/08/11/emacs-daemon-and-xdefaults/comment-page-1/#comment-3634</link>
		<dc:creator>chmouel</dc:creator>
		<pubDate>Tue, 11 Aug 2009 16:59:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chmouel.com/?p=164#comment-3634</guid>
		<description>&lt;a href=&quot;#comment-3633&quot; rel=&quot;nofollow&quot;&gt;@matt harrison&lt;/a&gt; 

this is using set-default-font which is good only for the initial frame but not for the other frames created</description>
		<content:encoded><![CDATA[<p><a href="#comment-3633" rel="nofollow">@matt harrison</a> </p>
<p>this is using set-default-font which is good only for the initial frame but not for the other frames created</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt harrison</title>
		<link>http://blog.chmouel.com/2009/08/11/emacs-daemon-and-xdefaults/comment-page-1/#comment-3633</link>
		<dc:creator>matt harrison</dc:creator>
		<pubDate>Tue, 11 Aug 2009 16:31:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chmouel.com/?p=164#comment-3633</guid>
		<description>Not --daemon related per se, but my .Xdefaults were ignored too.  I couldn&#039;t consistently get ttf fonts at the correct size (pixel perfect).  For some reason specifying the font size in the shorthand manner didn&#039;t work.  I needed to explicitly set the font face.

From my .emacs:
&lt;code&gt;
;; for some reason 7 at startup is too small, but changing to 7 is pretty...
;;(set-default-font &quot;Envy Code R-9&quot;)
;; the following is size 7 for me...
(set-face-font &#039;default &quot;-unknown-Envy Code R-normal-normal-normal-*-13-*-*-*-m-0-iso10646-1&quot;)
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Not &#8211;daemon related per se, but my .Xdefaults were ignored too.  I couldn&#8217;t consistently get ttf fonts at the correct size (pixel perfect).  For some reason specifying the font size in the shorthand manner didn&#8217;t work.  I needed to explicitly set the font face.</p>
<p>From my .emacs:<br />
<code><br />
;; for some reason 7 at startup is too small, but changing to 7 is pretty...<br />
;;(set-default-font "Envy Code R-9")<br />
;; the following is size 7 for me...<br />
(set-face-font 'default "-unknown-Envy Code R-normal-normal-normal-*-13-*-*-*-m-0-iso10646-1")<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chmouel</title>
		<link>http://blog.chmouel.com/2009/08/11/emacs-daemon-and-xdefaults/comment-page-1/#comment-3631</link>
		<dc:creator>chmouel</dc:creator>
		<pubDate>Tue, 11 Aug 2009 11:03:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chmouel.com/?p=164#comment-3631</guid>
		<description>I am not sure what wrong with it then because on my debian unstable using emacs-23.1.50.1 it does not work for me...</description>
		<content:encoded><![CDATA[<p>I am not sure what wrong with it then because on my debian unstable using emacs-23.1.50.1 it does not work for me&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: puzan</title>
		<link>http://blog.chmouel.com/2009/08/11/emacs-daemon-and-xdefaults/comment-page-1/#comment-3630</link>
		<dc:creator>puzan</dc:creator>
		<pubDate>Tue, 11 Aug 2009 10:59:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chmouel.com/?p=164#comment-3630</guid>
		<description>I&#039;m using .Xdefaults for frame settings (font, geometry, colors) and all work right with starting emacs with -–daemon.</description>
		<content:encoded><![CDATA[<p>I&#8217;m using .Xdefaults for frame settings (font, geometry, colors) and all work right with starting emacs with -–daemon.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

