![](/img/trans.png)
[英]Set a mode from regexp to regexp?
這是關於MuMaMo的問題。 如果在nxhtml/util/mumamo-fun.el的末尾添加以下代碼: (defun rst-bk-latex-directive-chunk (pos min max) "Find math chunks. Return range and 'lat ...
[英]Set a mode from regexp to regexp?
這是關於MuMaMo的問題。 如果在nxhtml/util/mumamo-fun.el的末尾添加以下代碼: (defun rst-bk-latex-directive-chunk (pos min max) "Find math chunks. Return range and 'lat ...
[英]Emacs 23 for mixed PHP and HTML
我正在嘗試將emacs23.1.1與nXhtml一起用於Web開發,編寫混合的PHP和HTML。 但是無論何時,我似乎都會遇到一些奇怪的emacs行為。 作為一個示例,我編寫了以下代碼: 當我寫echo "a"; ,我轉到上一行並按Cj並開始鍵入-然后按; (,執行相同操作) ...
[英]Opening HTML file with nXhtml produces error with flymake
當我使用emacs(和nXhtml)打開HTML文件時,我從flymake中收到以下錯誤: 錯誤(flymake):Flymake:無法啟動帶有args的語法檢查過程“ xml”(val /home/ABC/Downloads/capitals_flymake.html):搜索程序:無 ...
[英]Installing emacs plugins on windows
我已經查看了其他主題,但我仍然找不到解決方案。 我正在嘗試在Windows 7中為Emacs安裝“nxhtml”插件。我已經將“HOME”環境變量設置為“C:\\”。 所以,我的.emacs.d文件夾就在那里,我將nxhtml放在那里並將以下行添加到我的“_emacs.d”文件中,正如自述文 ...
[英]Receiving Flymake error in Windows & Ubuntu Emacs for PHP
我收到此錯誤。 我在Windows 7上使用emacs 24 GNU Emacs 24.1.1(i386-mingw-nt6.1.7601)有一篇文章強調了此錯誤,但它指的是在Linux中檢查/ etc,但是我在Windows上。 http://sachachua.com 這是我 ...
[英]Emacs - nxhtml-mode - memory full
在emacs中使用nxhtml-mode時,幾個星期以來我遇到了問題。 在工作期間,emacs意外暫停,直到在模式行“!MEM FULL!”中顯示一條消息為止; 顯然,nxhtml-mode會填滿內存,直到emacs停止工作為止。 我正在使用html,php和css文件。 我不知道如 ...
[英]Underscore as part of word for forward-word not working
我試圖讓下划線被視為forward/backward-word功能的一部分,如此處和此處所述 。 我特意試圖讓這個工作用於nxhtml模式,但是真的希望它適用於所有模式。 我已經修改了我的site-start.el文件,但有些方法卻無濟於事。 但是如果我在緩沖區中手動執行命令Mx mo ...
[英]How do you disable mlinks-mode in emacs nxhtml mode
我在nxhtml模式下使用emacs。 我發現mlinks-mode很痛苦,因為我在路徑上使用了PHP常量,從而使mlinks-mode跳閘-因此,當我無意中單擊鏈接時,會得到調試堆棧跟蹤。 每當我進入HTML塊時,就會啟用mlinks-mode。 我試圖設置我的初始化文件或mlink ...
[英]How can I make emacs load nXhtml only when php/html files are open and prevent it from loading at startup
因此,為了優化emacs啟動時間,我更喜歡在鈎子或eval-after-load中封裝所有mod。 所以我想出了python,cpp和latex,但我堅持使用nXhtml。 我嘗試了以下方法: 這根本不起作用。 編碼 : 加載nXhtml的某些部分,但是nXhtml模式 ...
[英]Having eruby-nxhtml-mumamo-mode be set every time I open a .html.erb file
我下載了 nxhtml 並解壓了它。 然后我把它放在 my.emacs 文件中。 當我打開 an.html.erb 文件時,它沒有設置正確的模式(因此語法突出顯示不正確)。 我知道 require 語句運行正確 b/c 我可以手動將 aquamacs 設置為 eruby-nxhtml-mumamo ...
[英]Differences between nxml-mode and nxhtml-mode?
我安裝了nxml-mode然后安裝了nxhtml-mode (它們看起來很棒,我最喜歡的編輯器中的實時驗證很簡單)。 我知道XHTML文件是一個XML文件,因此我可以使用“just” nxml-mode來編輯XHTML。 但我有點困惑: nxhtml-mode提供的nxml-mode不是 ...
[英]Can pony mode be used with django-html-mumamo-mode?
我剛剛開始使用Django,我想使用支持框架的模式。 我瀏覽了django wiki ,發現Django有很多emacs模式,這讓我很難決定使用哪種模式。 Pony模式具有許多功能,使工作流程更容易,django-html-mumamo-mode看起來非常適合編輯模板。 我想使用這兩種模式 ...
[英]Emacs, HTML5 not validating
我正在使用Emacs 23.3編寫一個JQuery Mobile / PhoneGap應用程序。 我正在使用nXhtml,但是例如,HTML5數據屬性未通過驗證。 我也想使用完成功能。 推薦使用什么模式? 有人真的使用Emacs編輯HTML5,特別是JQuery Mobile頁面 ...
[英]eruby-nxhtml-mode not loading properly
我的.emacs文件中有以下行: 但是,erb塊無法正確識別。 在運行Mx eruby-nxhtml-mumamo所有東西都像一個魅力。 任何想法如何解決這一問題? ...
[英]Altering what Emacs loads depending upon file being editted
目前,要使用某個插件(nxhtml),我在.emacs中放置了以下語句, 因此,每次我打開emacs時,都會加載該文件,無論我是否正在編輯該插件適用的文件(例如.htm)。 這種加載是不希望的,因為它需要花費幾秒鍾的時間,如何更改我的設置,以便僅在編輯.htm或.css文件時才加載此插 ...
[英]Easy testing of HTML with emacs
假設我在emacs中鍵入了一些HTML代碼,並希望在Web瀏覽器中預覽其結果,而無需在emacs之外鍵入內容。 最好的方法是什么? ...
[英]nXhtml is not highlighting PHP code, gives errors on loading
我正在使用從倉庫中檢出的最新nXhtml,並使用GNU Emacs版本24.0.91.1。 當我打開一個PHP文件時,它顯示為未語法突出顯示的文本,並且出現編譯錯誤: 並在日志中顯示一條消息: 我通過使用以下命令運行emacs來避免使用.emacs和.emacs.d : ...
[英]Use <TAB> to intent text in nxhtml-mode PHP buffer
我使用nxhtml進行Web開發。 到目前為止,我對默認設置非常滿意,但這個讓我感到非常震驚。 我經常使用CI,當我必須編輯語言文件時,我想讓它們保持整潔: 遺憾的是,使用默認的TAB行為,我無法將新數組項放在正確的位置。 TAB什么都不做。 有任何想法嗎? ...
[英]How to configure Emacs (v 23) with nxhtml to follow Kohana coding standards?
我正在嘗試配置Emacs v23以遵循PHP的Kohana編碼標准。 我正在使用帶有nxhtml插件的Emacs。 我可以看到indent-tabs-mode在緩沖區中設置為t,但是當我按Tab鍵縮進代碼時,我看到插入了兩個空格而不是TAB字符。 可能有什么不對? 這里是我的 ...
[英]Emacs, nxhtml how to highlight or jump to the closing html tag?
我正在使用 emacs 和nxhtml來編輯我的 HTML 文件,但我不知道如何突出顯示或跳轉到結束HTML 標記? 這聽起來像一個簡單而愚蠢的問題,但我真的找不到。 也許我不是在尋找正確的東西。 ...