<?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: Evaluating Elisp in Emacs</title>
	<atom:link href="http://www.masteringemacs.org/articles/2010/11/29/evaluating-elisp-emacs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.masteringemacs.org/articles/2010/11/29/evaluating-elisp-emacs/</link>
	<description>a blog about mastering the world&#039;s best text editor</description>
	<lastBuildDate>Fri, 17 May 2013 21:26:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: mickey</title>
		<link>http://www.masteringemacs.org/articles/2010/11/29/evaluating-elisp-emacs/#comment-3415</link>
		<dc:creator>mickey</dc:creator>
		<pubDate>Mon, 14 Nov 2011 18:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.masteringemacs.org/?p=220#comment-3415</guid>
		<description><![CDATA[Expressions here means that a variety of operations are tried in order to resolve your query to M-: -- if you give it a string you&#039;ll get a string back as as strings and numbers evaulate to themselves. A variable will give you its value and a function its output.

The difference between a form and an s-expression is pretty academic:

A form is an s-expression, but an s-exp may not necessarily be a form; for instance, (+ 1 1) is a form but (&quot;+&quot; 1 1) is not as you cannot evaluate the string &quot;+&quot;.]]></description>
		<content:encoded><![CDATA[<p>Expressions here means that a variety of operations are tried in order to resolve your query to M-: &#8212; if you give it a string you&#8217;ll get a string back as as strings and numbers evaulate to themselves. A variable will give you its value and a function its output.</p>
<p>The difference between a form and an s-expression is pretty academic:</p>
<p>A form is an s-expression, but an s-exp may not necessarily be a form; for instance, (+ 1 1) is a form but (&#8220;+&#8221; 1 1) is not as you cannot evaluate the string &#8220;+&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mickey</title>
		<link>http://www.masteringemacs.org/articles/2010/11/29/evaluating-elisp-emacs/#comment-3414</link>
		<dc:creator>mickey</dc:creator>
		<pubDate>Mon, 14 Nov 2011 18:45:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.masteringemacs.org/?p=220#comment-3414</guid>
		<description><![CDATA[Oh, yes, perhaps I should clarify: the shell I am referring to is the ielm shell itself.]]></description>
		<content:encoded><![CDATA[<p>Oh, yes, perhaps I should clarify: the shell I am referring to is the ielm shell itself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Comrade Curious</title>
		<link>http://www.masteringemacs.org/articles/2010/11/29/evaluating-elisp-emacs/#comment-3338</link>
		<dc:creator>Comrade Curious</dc:creator>
		<pubDate>Sat, 12 Nov 2011 18:04:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.masteringemacs.org/?p=220#comment-3338</guid>
		<description><![CDATA[What is the difference between s-expression, form, and expression?

A form is any top-level s-expression?

&quot;blah&quot;, 123, [1 2 3] are expressions that are not s-expressions?]]></description>
		<content:encoded><![CDATA[<p>What is the difference between s-expression, form, and expression?</p>
<p>A form is any top-level s-expression?</p>
<p>&#8220;blah&#8221;, 123, [1 2 3] are expressions that are not s-expressions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.masteringemacs.org/articles/2010/11/29/evaluating-elisp-emacs/#comment-3318</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sat, 12 Nov 2011 08:48:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.masteringemacs.org/?p=220#comment-3318</guid>
		<description><![CDATA[Hi Mickey, what do you mean by &quot;useful features you would expect from an interactive shell, like *, ** and *** to get the last three outputs from the shell&quot;? I never heard of this but it sounds interesting. What shell would that be? bash?]]></description>
		<content:encoded><![CDATA[<p>Hi Mickey, what do you mean by &#8220;useful features you would expect from an interactive shell, like *, ** and *** to get the last three outputs from the shell&#8221;? I never heard of this but it sounds interesting. What shell would that be? bash?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fun with Vimgolf 2: Sum your vimgolf rank &#124; Mastering Emacs</title>
		<link>http://www.masteringemacs.org/articles/2010/11/29/evaluating-elisp-emacs/#comment-2994</link>
		<dc:creator>Fun with Vimgolf 2: Sum your vimgolf rank &#124; Mastering Emacs</dc:creator>
		<pubDate>Thu, 03 Nov 2011 20:35:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.masteringemacs.org/?p=220#comment-2994</guid>
		<description><![CDATA[[...] you want to know how to run it, then you should read my article on Evaluating Elisp in Emacs. &#040;let &#040;&#040;counter 0&#041;&#041; &#040;while &#040;re-search-forward &quot;Rank: [...]]]></description>
		<content:encoded><![CDATA[<p>[...] you want to know how to run it, then you should read my article on Evaluating Elisp in Emacs. &#040;let &#040;&#040;counter 0&#041;&#041; &#040;while &#040;re-search-forward &quot;Rank: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Conor</title>
		<link>http://www.masteringemacs.org/articles/2010/11/29/evaluating-elisp-emacs/#comment-1383</link>
		<dc:creator>Conor</dc:creator>
		<pubDate>Tue, 02 Aug 2011 23:36:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.masteringemacs.org/?p=220#comment-1383</guid>
		<description><![CDATA[Do you have an example macro or two where you use M-: ?

I haven&#039;t used elisp much but have been using keyboard macros a lot lately. 

Just trying to get an idea of the kinds of things I could do with M-:]]></description>
		<content:encoded><![CDATA[<p>Do you have an example macro or two where you use M-: ?</p>
<p>I haven&#8217;t used elisp much but have been using keyboard macros a lot lately. </p>
<p>Just trying to get an idea of the kinds of things I could do with M-:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Hobbs</title>
		<link>http://www.masteringemacs.org/articles/2010/11/29/evaluating-elisp-emacs/#comment-100</link>
		<dc:creator>Paul Hobbs</dc:creator>
		<pubDate>Wed, 08 Dec 2010 23:05:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.masteringemacs.org/?p=220#comment-100</guid>
		<description><![CDATA[It&#039;s worth mentioning that M-:  is REALLY useful when doing keyboard macros.]]></description>
		<content:encoded><![CDATA[<p>It&#8217;s worth mentioning that M-:  is REALLY useful when doing keyboard macros.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention Evaluating Elisp in Emacs &#124; Mastering Emacs -- Topsy.com</title>
		<link>http://www.masteringemacs.org/articles/2010/11/29/evaluating-elisp-emacs/#comment-82</link>
		<dc:creator>Tweets that mention Evaluating Elisp in Emacs &#124; Mastering Emacs -- Topsy.com</dc:creator>
		<pubDate>Tue, 30 Nov 2010 11:54:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.masteringemacs.org/?p=220#comment-82</guid>
		<description><![CDATA[[...] This post was mentioned on Twitter by Kazuhiro MUSASHI, エラリー　ジャンクリストフ. エラリー　ジャンクリストフ said: Evaluating ELISP in emacs: http://bit.ly/f8B8go [...]]]></description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Kazuhiro MUSASHI, エラリー　ジャンクリストフ. エラリー　ジャンクリストフ said: Evaluating ELISP in emacs: <a href="http://bit.ly/f8B8go" rel="nofollow">http://bit.ly/f8B8go</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.masteringemacs.org/articles/2010/11/29/evaluating-elisp-emacs/#comment-79</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Mon, 29 Nov 2010 17:32:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.masteringemacs.org/?p=220#comment-79</guid>
		<description><![CDATA[I use C-M-S-x to do what C-M-x does but for the the immediately enclosing form as opposed to the top-level one. I don&#039;t like going to the end and doing C-x C-e. I don&#039;t write much emacs lisp so I&#039;ve only implemented this for slime.

&lt;pre&gt;
(defun up-list+ ()
  (interactive)
  (if (in-string-p)
      (while (in-string-p)
        (forward-char))
    (up-list)))

(defun eval-parent-sexp ()
  &quot;Cause sometimes you just want to eval just the immediate form. not the top level, but without going to the closing paren and evaling there.&quot;
  (interactive)
  (save-excursion
    ;; get out of string if in it
    (dotimes (c (if (in-string-p) 2 1))
      (up-list+))
    (let ((cmd (key-binding (kbd &quot;C-x C-e&quot;))))
      (if (eq cmd &#039;slime-eval-last-expression)
          (funcall cmd)
        (funcall cmd &#039;())))))

(global-set-key (kbd &quot;C-M-S-x&quot;) &#039;eval-parent-sexp)
&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>I use C-M-S-x to do what C-M-x does but for the the immediately enclosing form as opposed to the top-level one. I don&#8217;t like going to the end and doing C-x C-e. I don&#8217;t write much emacs lisp so I&#8217;ve only implemented this for slime.</p>
<pre>
(defun up-list+ ()
  (interactive)
  (if (in-string-p)
      (while (in-string-p)
        (forward-char))
    (up-list)))

(defun eval-parent-sexp ()
  "Cause sometimes you just want to eval just the immediate form. not the top level, but without going to the closing paren and evaling there."
  (interactive)
  (save-excursion
    ;; get out of string if in it
    (dotimes (c (if (in-string-p) 2 1))
      (up-list+))
    (let ((cmd (key-binding (kbd "C-x C-e"))))
      (if (eq cmd 'slime-eval-last-expression)
          (funcall cmd)
        (funcall cmd '())))))

(global-set-key (kbd "C-M-S-x") 'eval-parent-sexp)
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reynaldo</title>
		<link>http://www.masteringemacs.org/articles/2010/11/29/evaluating-elisp-emacs/#comment-78</link>
		<dc:creator>Reynaldo</dc:creator>
		<pubDate>Mon, 29 Nov 2010 15:28:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.masteringemacs.org/?p=220#comment-78</guid>
		<description><![CDATA[Great post!
I didn&#039;t know about ielm nor C-M-x.
Thanks]]></description>
		<content:encoded><![CDATA[<p>Great post!<br />
I didn&#8217;t know about ielm nor C-M-x.<br />
Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
