Python中文
首页
教程
问答
标签
搜索
登录
注册
Aquamacs:C-c C-c(python mode)上的窗口交换
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<p>如果我在这里使用了不正确的术语,我很抱歉,我使用emacs才几个月。在</p> <p>我刚在我重新格式化的macbook上重新安装了Aquamac,但问题很奇怪。在</p> <p>我打开一个.py文件,然后使用C-C!打开python shell。因此,正如预期的那样,.py文件位于顶部窗口,pythonshell位于底部窗口。在</p> <p>如果我在.py文件中运行C-C-C(py execute buffer),两个窗口交换位置。我的意思是,.py文件缓冲区在新缓冲区的底部窗口打开,而PythonShell在新缓冲区的顶部窗口打开。所以基本上,他们交换位置。反复使用C-C C-C再次交换窗口。。。所以他们在改变位置。另外,两个窗口(顶部和底部)的选项卡中都有缓冲区(.py文件和pythonshell)。在</p> <p>我还没有对默认设置做任何修改,而且2.3a和2.3都有问题(2.3以前在机器上,没有这个问题,所以我尝试回滚。。。无济于事)。在</p> <p>有人知道如何阻止这种行为吗?提前谢谢!在</p>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>将以下内容添加到Aquamacs中的Emacs init文件中,以防止它交换缓冲区:</p> <pre><code>(defadvice py-execute-buffer (around keep-buffers-same activate) "Don't swap buffers in Aquamacs." (save-window-excursion ad-do-it)) </code></pre>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
如何在乒乓球比赛中预测球的轨迹,对于AI球拍预测?
1 回答
如何在乒乓球游戏中阻止球
9 回答
如何在乘法和模中不乘空间?
10 回答
如何在乘法和除以2个不同的数字之间进行交换?
2 回答
如何在也是数据一部分的单个字符上拆分大字符串
7 回答
如何在乾草堆中找到針,有更好的解決方案嗎?
5 回答
如何在事件wxWidgets中传递自定义数据
2 回答
如何在事件中使用lambda i=i?
3 回答
如何在事件中心只接收最近的数据
2 回答
如何在事件发生之前保持云函数运行?
5 回答
如何在事件发生后使页面重定向到同一页面
6 回答
如何在事件回调之间保持python生成器的状态
6 回答
如何在事件处理程序(pythonsocket、sphinx)中保留docstring
7 回答
如何在事件处理程序中更改wxRichTextCtrl的光标位置?
7 回答
如何在事件处理程序中访问外部对象?
8 回答
如何在事件循环中将协程打包为正常函数?
8 回答
如何在事件循环之外运行协同程序?
3 回答
如何在事件循环结束时为并发未来的所有线程调用类方法?
9 回答
如何在事件文件中只保留一份摘要?
6 回答
如何在事件模板中添加事件
8 回答