Php emacs nxhtml模式[不匹配]
我在nxhtml安装方面遇到了一些问题,我希望我的.php文件看起来更好,我不想回到netbeans 我下载了nxhtml,并创建了一个名为“emacs packages”的文件夹,其中包含my.emacs 我在.emacs文件中添加了这一行:Php emacs nxhtml模式[不匹配],php,emacs,dot-emacs,carbon-emacs,Php,Emacs,Dot Emacs,Carbon Emacs,我在nxhtml安装方面遇到了一些问题,我希望我的.php文件看起来更好,我不想回到netbeans 我下载了nxhtml,并创建了一个名为“emacs packages”的文件夹,其中包含my.emacs 我在.emacs文件中添加了这一行: (load "emacs-packages/nxhtml/autostart22.el") 每当我尝试M-x nxhtml模式时,我都会得到[不匹配]作为答案 我也试过了 (load "emacs-packages/nxhtml/autostart.
(load "emacs-packages/nxhtml/autostart22.el")
每当我尝试M-x nxhtml模式时,我都会得到[不匹配]作为答案
我也试过了
(load "emacs-packages/nxhtml/autostart.el")
我在启动时出错,但由于我的版本是22,我认为第一个更合适
为了使用它,我还应该安装其他软件包吗?
我做错了什么
我正在MacOs上使用Carbon emacs 22.3.1
谢谢 你唯一需要的是
(load "emacs-packages/nxhtml/autostart.el")
尝试指定完整路径。将光标放在
“emacs packages/nxhtml/autostart.el”
上,然后调用M-x ffap,查看它是否可以在点处查找文件
问题已解决我刚刚将加载更改为加载文件:
(load-file "emacs-packages/nxhtml/autostart.el")
这里的这一页解释了不同之处谢谢,它似乎找到了该文件……因此,如果路径正确并且它是唯一需要的东西,为什么我会得到[不匹配]?也许我没有正确地使用它?我如何使它工作?我从my.emacs中删除了除了这一行(load)/usr/local/share/emacs/nxhtml/autostart.el)之外的所有内容,并且它可以工作。试着做同样的事情。也许您安装了一些其他的包来阻止emacs加载。你能在nxhtml模式下执行M-x查找函数吗?我甚至不能使用查找函数:“可能的补全是:”1.在点2处查找函数。按键查找函数3.查找函数其他帧4.查找函数其他窗口