我希望能够将find-function
和find-variable
用于src
目录中的定义,并且想知道是否可以在构建时将其打包到应用程序中,而不是在Emacs构建已经发生之后手动复制它。我正在使用以下命令行条目构建OSX
:
/macports/bin/bzr branch --stacked bzr://bzr.savannah.gnu.org/emacs/trunk emacs-trunk
;; cd over to the new emacs-trunk directory that was just downloaded.
/macports/bin/bzr pull
./autogen.sh
./configure --with-ns
make bootstrap
make && make install
;; the new Emacs build is waiting for you in .../emacs-trunk/nextstep
答案 0 :(得分:0)
以下是手动操作方法:
M-x eshell
/macports/bin/bzr branch --stacked bzr://bzr.savannah.gnu.org/emacs/trunk emacs-trunk
;; cd over to the newly downloaded '.../emacs-trunk' main directory
/macports/bin/bzr pull
./autogen.sh
./configure --with-ns
make bootstrap
make && make install
cp -r /Users/HOME/Desktop/emacs-trunk/src /Users/HOME/Desktop/emacs-trunk/nextstep/Emacs.app/Contents/Resources/
;; create: '.../lisp/site-start.el' with the following contents:
(load-file "/Users/HOME/.0.data/.0.emacs/init.el")
;; adjust the following c-source variable as needed:
(setq find-function-C-source-directory (concat root.d "Emacs_01_19_2014.app/Contents/Resources/src"))