Macos 如何调试Aquamacs

Macos 如何调试Aquamacs,macos,debugging,emacs,aquamacs,Macos,Debugging,Emacs,Aquamacs,我正在调试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: ope

我正在调试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 a URL.
Options: 
      -a                Opens with the specified application.
      -b                Opens with the specified application bundle identifier.
      -e                Opens with TextEdit.
      -t                Opens with default text editor.
      -f                Reads input from standard input and opens with TextEdit.
      -F  --fresh       Launches the app fresh, that is, without restoring windows. Saved persistent state is lost, excluding Untitled documents.
      -R, --reveal      Selects in the Finder instead of opening.
      -W, --wait-apps   Blocks until the used applications are closed (even if they were already running).
          --args        All remaining arguments are passed in argv to the application's main() function instead of opened.
      -n, --new         Open a new instance of the application even if one is already running.
      -j, --hide       

 Launches the app hidden.
      -g, --background  Does not bring the application to the foreground.
      -h, --header      Searches header file locations for headers matching the given filenames, and opens them.
rm: illegal option -- -
usage: rm [-f | -i] [-dPRrvW] file ...
       unlink file
touch:非法选项---
用法:
触摸[-A[-][[hh]mm]SS][acfhm][r文件][t[[CC]YY]MMDDhhmm[.SS]]文件。。。
打开:无法识别的选项“--debug init”
用法:打开[-e][t][f][W][R][n][g][h][b][a][filename][--args参数]
帮助:“打开”从shell打开文件。
默认情况下,使用该文件的默认应用程序打开每个文件。
如果文件采用URL的形式,则该文件将作为URL打开。
选项:
-将使用指定的应用程序打开。
-b以指定的应用程序包标识符打开。
-e以文本编辑打开。
-t使用默认文本编辑器打开。
-f从标准输入读取输入,并使用文本编辑打开。
-F--fresh启动应用程序fresh,即不恢复windows。保存的持久状态丢失,不包括无标题文档。
-R、 --在查找器中显示选择,而不是打开。
-W、 --等待应用程序阻塞,直到使用的应用程序关闭(即使它们已在运行)。
--args所有剩余的参数都在argv中传递给应用程序的main()函数,而不是opened。
-n、 --新建打开应用程序的新实例,即使其中一个实例已在运行。
-j、 --隐藏
以隐藏方式启动应用程序。
-g、 --后台不会将应用程序置于前台。
-h、 --header在头文件位置搜索与给定文件名匹配的头文件,并将其打开。
rm:非法选项---
用法:rm[-f |-i][-dPRrvW]文件。。。
取消链接文件
我的版本是2012-06-24的GNU Emacs 24.1.50.3(i386-apple-darwin9.8.0,NS apple-appkit-949.54),位于braeburn.aquamacs.org-aquamacs Distribution 3.xdev(在Mac 10.7上)

谢谢

aquamacs-帮助
工作吗?我怀疑不是这样,因为如果您使用的是Aquamacs本身安装的命令(即
/usr/local/bin/Aquamacs
),它只是一个调用OS X
open
命令的Perl脚本,在解析选项时可能会有困难

最好只创建一个别名或指向
/Applications/Aquamacs.app/Contents/MacOS/Aquamacs
的符号链接

% /Applications/Aquamacs.app/Contents/MacOS/Aquamacs --help
Usage: /Applications/Aquamacs.app/Contents/MacOS/Aquamacs [OPTION-OR-FILENAME]...

Run Emacs, the extensible, customizable, self-documenting real-time
display editor.  The recommended way to start Emacs for normal editing
is with no options at all.

Run M-x info RET m emacs RET m emacs invocation RET inside Emacs to
read the main documentation for these command-line arguments.

Initialization options:

--batch                     do not do interactive display; implies -q
--chdir DIR                 change to directory DIR
--daemon                    start a server in the background
--debug-init                enable Emacs Lisp debugger for init file
--%<--------

使Aquamacs在您首选的终端模拟器中运行。更多信息可以在EmacsWiki上找到。

如果你熟悉标准的Emacs,为什么要使用aquamacs?我在重新安装操作系统之前曾经使用过aquamacs,但我总是对框架和滚动条变得无响应以及微型缓冲区消失等事情感到沮丧。我想也许Aquamacs能更好地处理这些事情。谢谢,无论我使用安装程序还是符号链接它,我都会有奇怪的行为,但现在我只在终端上调试。
% /Applications/Aquamacs.app/Contents/MacOS/Aquamacs -nw --debug-init