<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>command not found &#8211; 编码无悔 /  Intent &amp; Focused</title>
	<atom:link href="https://www.codelast.com/tag/command-not-found/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.codelast.com</link>
	<description>最优化之路</description>
	<lastBuildDate>Tue, 28 Apr 2020 02:07:13 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>[原创] 解决找不到emacsclient命令的问题 / Solve the emacsclient: command not found problem</title>
		<link>https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e8%a7%a3%e5%86%b3%e6%89%be%e4%b8%8d%e5%88%b0emacsclient%e5%91%bd%e4%bb%a4%e7%9a%84%e9%97%ae%e9%a2%98-solve-the-emacsclient-command-not-found-problem/</link>
					<comments>https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e8%a7%a3%e5%86%b3%e6%89%be%e4%b8%8d%e5%88%b0emacsclient%e5%91%bd%e4%bb%a4%e7%9a%84%e9%97%ae%e9%a2%98-solve-the-emacsclient-command-not-found-problem/#respond</comments>
		
		<dc:creator><![CDATA[learnhard]]></dc:creator>
		<pubDate>Tue, 30 Sep 2014 15:17:21 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[原创]]></category>
		<category><![CDATA[command not found]]></category>
		<category><![CDATA[emacsclient]]></category>
		<category><![CDATA[找不到]]></category>
		<guid isPermaLink="false">http://www.codelast.com/?p=8337</guid>

					<description><![CDATA[<p>
用daemon模式运行Emacs，并且用emacsclient连接上这个已经启动的server的话，那么Emacs启动速度真是如光速一般。不过，在我的一台计算机上，竟然找不到emacsclient命令，于是我挖了一番，解决了这个问题，于是写下来。<br />
<span id="more-8337"></span><br />
首先查看一下我用apt-get install安装的Emacs版本：</p>
<pre class="brush:shell;first-line:1;pad-line-numbers:true;highlight:null;collapse:false;">
[codelast@ ~]$ emacs -version
GNU Emacs 24.3.1
</pre>
<p><span style="color: rgb(255, 255, 255);">文章来源：</span><a href="http://www.codelast.com/" target="_blank" rel="noopener noreferrer"><span style="color: rgb(255, 255, 255);">http://www.codelast.com/</span></a><br />
然后，你需要执行以下两个命令：</p>
<pre class="brush:shell;first-line:1;pad-line-numbers:true;highlight:null;collapse:false;">
sudo apt-get install apt-file
sudo apt-file update
</pre>
<p>如果你的网速不够快的话，可能等待时间会稍长。<br />
然后再执行以下命令：</p>
<pre class="brush:shell;first-line:1;pad-line-numbers:true;highlight:null;collapse:false;">
sudo apt-file find bin/emacsclient
</pre>
<p>输出：</p>
<pre class="brush:plain;first-line:1;pad-line-numbers:true;highlight:null;collapse:false;">
emacs23-bin-common: /usr/bin/emacsclient.emacs23
emacs24-bin-common: /usr/bin/emacsclient.emacs24
</pre>
<p>此时，我就知道，如果我要有emacsclient程序，可以安装 emacs23-bin-common 或&#160;emacs24-bin-common 这两个package。<br />
<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="http://www.codelast.com/" target="_blank" rel="noopener noreferrer"><span style="color: rgb(255, 255, 255);">http://www.codelast.com/</span></a><br />
由于我使用的Emacs版本是 24.3.1，所以我用如下命令重装Emacs：</p>
<pre class="brush:shell;first-line:1;pad-line-numbers:true;highlight:null;collapse:false;">
sudo apt-get install --reinstall emacs24-bin-common
</pre>
<p>然后，emacsclient命令就回来啦！</p>
<p style="font-size: 16px; margin: 5px 0px; clear: both; font-family: sans-serif;">
	<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a>&#8230; <a href="https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e8%a7%a3%e5%86%b3%e6%89%be%e4%b8%8d%e5%88%b0emacsclient%e5%91%bd%e4%bb%a4%e7%9a%84%e9%97%ae%e9%a2%98-solve-the-emacsclient-command-not-found-problem/" class="read-more">Read More </a></p>]]></description>
										<content:encoded><![CDATA[<p>
用daemon模式运行Emacs，并且用emacsclient连接上这个已经启动的server的话，那么Emacs启动速度真是如光速一般。不过，在我的一台计算机上，竟然找不到emacsclient命令，于是我挖了一番，解决了这个问题，于是写下来。<br />
<span id="more-8337"></span><br />
首先查看一下我用apt-get install安装的Emacs版本：</p>
<pre class="brush:shell;first-line:1;pad-line-numbers:true;highlight:null;collapse:false;">
[codelast@ ~]$ emacs -version
GNU Emacs 24.3.1
</pre>
<p><span style="color: rgb(255, 255, 255);">文章来源：</span><a href="http://www.codelast.com/" target="_blank" rel="noopener noreferrer"><span style="color: rgb(255, 255, 255);">http://www.codelast.com/</span></a><br />
然后，你需要执行以下两个命令：</p>
<pre class="brush:shell;first-line:1;pad-line-numbers:true;highlight:null;collapse:false;">
sudo apt-get install apt-file
sudo apt-file update
</pre>
<p>如果你的网速不够快的话，可能等待时间会稍长。<br />
然后再执行以下命令：</p>
<pre class="brush:shell;first-line:1;pad-line-numbers:true;highlight:null;collapse:false;">
sudo apt-file find bin/emacsclient
</pre>
<p>输出：</p>
<pre class="brush:plain;first-line:1;pad-line-numbers:true;highlight:null;collapse:false;">
emacs23-bin-common: /usr/bin/emacsclient.emacs23
emacs24-bin-common: /usr/bin/emacsclient.emacs24
</pre>
<p>此时，我就知道，如果我要有emacsclient程序，可以安装 emacs23-bin-common 或&nbsp;emacs24-bin-common 这两个package。<br />
<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="http://www.codelast.com/" target="_blank" rel="noopener noreferrer"><span style="color: rgb(255, 255, 255);">http://www.codelast.com/</span></a><br />
由于我使用的Emacs版本是 24.3.1，所以我用如下命令重装Emacs：</p>
<pre class="brush:shell;first-line:1;pad-line-numbers:true;highlight:null;collapse:false;">
sudo apt-get install --reinstall emacs24-bin-common
</pre>
<p>然后，emacsclient命令就回来啦！</p>
<p style="font-size: 16px; margin: 5px 0px; clear: both; font-family: sans-serif;">
	<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a><br />
	<span style="color: rgb(255, 0, 0);">➤➤</span>&nbsp;版权声明&nbsp;<span style="color: rgb(255, 0, 0);">➤➤</span>&nbsp;<br />
	转载需注明出处：<u><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><em><span style="color: rgb(0, 0, 255);"><strong><span style="font-family: arial, helvetica, sans-serif;">codelast.com</span></strong></span></em></a></u>&nbsp;<br />
	感谢关注我的微信公众号（微信扫一扫）：</p>
<p style="border: 0px; font-size: 13px; margin: 0px 0px 9px; outline: 0px; padding: 0px; color: rgb(77, 77, 77);">
	<img decoding="async" alt="wechat qrcode of codelast" src="https://www.codelast.com/codelast_wechat_qr_code.jpg" style="width: 200px; height: 200px;" /></p>

			<!--[syntaxhighlighter]-->
			<!--代码高亮，请勿编辑-->
			<script type="text/javascript" src="https://www.codelast.com/wp-content/plugins/ck-and-syntaxhighlighter/syntaxhighlighter/scripts/shCore.js"></script><script type="text/javascript" src="https://www.codelast.com/wp-content/plugins/ck-and-syntaxhighlighter/syntaxhighlighter/scripts/shBrushShell.js"></script>
<script type="text/javascript" src="https://www.codelast.com/wp-content/plugins/ck-and-syntaxhighlighter/syntaxhighlighter/scripts/shBrushPlain.js"></script>

			<link type="text/css" rel="stylesheet" href="https://www.codelast.com/wp-content/plugins/ck-and-syntaxhighlighter/syntaxhighlighter/styles/shCoreCk.css" />
			<link type="text/css" rel="stylesheet" href="https://www.codelast.com/wp-content/plugins/ck-and-syntaxhighlighter/syntaxhighlighter/styles/shThemeCk.css" />
			<script type="text/javascript">
			SyntaxHighlighter.defaults['class-name']	= '';
			SyntaxHighlighter.defaults['smart-tabs']	= true;
			SyntaxHighlighter.defaults['tab-size']		= 2;
			SyntaxHighlighter.defaults['gutter']		= true;
			SyntaxHighlighter.defaults['quick-code']	= true;
			SyntaxHighlighter.defaults['collapse'] 		= false;
			SyntaxHighlighter.defaults['auto-links']	= true;
			SyntaxHighlighter.defaults['toolbar']		= true;
			SyntaxHighlighter.all();
			</script>
			<!--[/syntaxhighlighter]-->]]></content:encoded>
					
					<wfw:commentRss>https://www.codelast.com/%e5%8e%9f%e5%88%9b-%e8%a7%a3%e5%86%b3%e6%89%be%e4%b8%8d%e5%88%b0emacsclient%e5%91%bd%e4%bb%a4%e7%9a%84%e9%97%ae%e9%a2%98-solve-the-emacsclient-command-not-found-problem/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
