我最近需要做一些lisp编辑,我找到了OS X的漂亮Ready Lisp软件包,这很棒,除了Aquamacs自动使用比例字体(这是愚蠢的,恕我直言),我想改变它为monospace字体.但是,我并不是真正的EMACS用户,而且Aquamacs中的首选项菜单并不清楚人们可以在何处以及如何进行此类更改.
我使用Aquamacs,我使用ELPA在〜/ .emacs.d/elpa中安装文件?
这个ELPA背后的魔力是什么?我的意思是,如果没有ELPA,我应该在特定目录中下载并安装软件包,并在.emacs中添加这两行.
(add-to-list'load-path"PACKAGE_DIRECTORY")
(需要'PACKAGE)
但是,对于ELPA,我没有看到任何添加到.emacs或/ Users/smcho/Library/Preferences/Aquamacs Emacs/{Preferences.el,customizations.el}的内容.这怎么可能?
这是我在Aquamacs中发现的.
我想初始化文件没有改变,但是包管理器会自动读取〜/ .emacs.d/elpd/*进行初始化,因为我看到每个文件都有*** - autoloads.el.
使用emacs 24,似乎预先构建了包.我只需要在.emacs或.emacs.d/init.el中使用这些行来使ELPA正常工作.来自这个网站的提示.
(require 'package)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/"))
(package-initialize)
(when (not package-archive-contents)
(package-refresh-contents))
(defvar my-packages '(clojure-mode
nrepl))
(dolist (p my-packages)
(when (not (package-installed-p p))
(package-install p)))
Run Code Online (Sandbox Code Playgroud) 我在OS X 10.9.4上使用Aquamacs.我的Preferences.el
文件中有以下行(类似于.emacs
init文件):
(add-to-list 'load-path "~/.emacs.d/")
(require 'fill-column-indicator)
(setq-default fci-mode t)
Run Code Online (Sandbox Code Playgroud)
我M-x fci-mode
用来手动切换列指示器.
如何fci-mode
在启动时使用Aquamacs启用?
我想从我的.emacs文件中的aquamacs永久禁用GUI工具栏("New""Open"的小按钮等).我已经看到你在gui中禁用它的建议,然后转到选项>>外观>>采用面部和框架作为默认值,然后将其设置为永久性,但这对我不起作用.我希望我可以添加到我的.emacs中以禁用它.
我正在使用Aquamacs(使用emacs 24和tramp 2.2.3版的OSX图形化emacs)来编辑远程服务器上的一些文件.Tramp设置为使用ssh并在编辑文件方面工作正常.
它在编译时失败,因为编译器不在路径中.似乎tramp不会提供任何配置文件,如.profile或.bash_profile./ bin/sh是/ bin/bash的链接,所以bash应该是tramp使用的shell.在远程服务器上的emacs内启动的shell也不会提供任何内容.来自常规终端仿真器(在OS X上尝试过的终端和X11)的ssh连接按预期工作(一切来源正确).
有任何想法吗?
我正在尝试调试Aquamacs.和其他emacsen一样,我刚刚完成了emacs --debug-init
,但是当我尝试使用时aquamacs --debug-init
,我得到了
touch: illegal option -- -
usage:
touch [-A [-][[hh]mm]SS] [-acfhm] [-r file] [-t [[CC]YY]MMDDhhmm[.SS]] file ...
open: unrecognized option `--debug-init'
Usage: open [-e] [-t] [-f] [-W] [-R] [-n] [-g] [-h] [-b <bundle identifier>] [-a <application>] [filenames] [--args arguments]
Help: Open opens files from a shell.
By default, opens each file using the default application for that file.
If the file is in the form of a URL, the file will be opened as …
Run Code Online (Sandbox Code Playgroud) 当我启动与安装在自动完成程序,aquamacs http://cx4a.org/software/auto-complete/,与具有口齿不清文件el
作为扩展(example.el
)
然后,所有口齿不清特征被加载到aquamacs
包括自动完成.
但是当我加载一个公共的lisp文件(example.lisp
)时,没有加载自动完成功能.
所以我的问题是,是否可以更改自动完成代码,以便识别常见的lisp文件?
谢谢
我正在运行一个进程,在失败错误时输出字符'✖'(如Unicode中所定义).但是,如果在Emacs shell缓冲区(GNU Emacs的Aquamacs发行版)中运行该进程,我根本看不到错误.
使用:2011-03-18的GNU Emacs 23.3.1(i386-apple-darwin9.8.0,NS apple-appkit-949.54)on braeburn.aquamacs.org - Aquamacs Distribution 2.2
如何让Emacs shell缓冲区支持这样的unicode字符?
我在OS X lion上使用Aquamacs并尝试使用最新的python-mode.el来编辑和运行我的python代码.我可以通过键入C-来打开ipython shell,但如果我运行Cc Cc或Cc | python代码在没有ipython 的新Python缓冲区中运行.我尝试过一些修复方法.以下是我的.emacs文件的python特定部分:
(when (featurep 'python) (unload-feature 'python t))
;; add custom libs
(add-to-list 'load-path "~/tools/emacs")
;; Set up pylab
(setq py-install-directory "/Users/stringham/tools/emacs/")
(require 'python-mode)
(setq py-shell-name "/usr/local/bin/ipython")
(setq py-python-command "/usr/local/bin/ipython")
Run Code Online (Sandbox Code Playgroud)
有没有人成功使用ipython和Aquamacs?
我想用Aquamacs编辑git rebase -i或类似的东西.我安装命令行工具并将EDITOR设置为aquamacs,但问题是该命令立即返回,我没有机会编辑git rebase消息.
有没有办法正确地做到这一点?
aquamacs ×10
emacs ×9
lisp ×2
macos ×2
autocomplete ×1
bash ×1
buffer ×1
command-line ×1
common-lisp ×1
debugging ×1
elisp ×1
elpa ×1
git ×1
interactive ×1
ipython ×1
python ×1
python-mode ×1
shell ×1
tramp ×1
unicode ×1