4
通常我編輯emacs的源代碼與兩個(emacs-)窗口並排 - 第二個 通過'C-x 3打開的窗口。就像這樣:如何配置emacs打開一個寬編輯窗口?
+------------+-------------+
| | |
| src1 | src2 |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
+------------+-------------+
| mini-buffer |
+------------+-------------+
當我現在開始編譯,例如用F9
,新*compilation*
緩衝器取代我SRC -buffers之一。
相反,我希望*compilation*
緩衝區上,頂部的小緩衝區的打開,如果它已不可見(如果它,使用它,當然)。
+------------+-------------+
| | |
| src1 | src2 |
| | |
| | |
| | |
| | |
+------------+-------------+
| |
| *compilation* |
| |
+------------+-------------+
| mini-buffer |
+------------+-------------+
的*compilation*
-buffer應當具有的,而窗口的約30%或6-10線的高度。
如何做到這一點?
請參閱http://stackoverflow.com/questions/772891/emacs-fix-height-of-certain-windows – ataylor