Emacsを使用する通常の方法は、いつもそれを開いて閉じて、 の代わりに実行させることです。私は既存のEmacs なるだろう関数を定義することを示唆している
は、あなたが望むように見える:
(defun my-R-window-configuration()
"Prepare the current emacs frame for R work."
(interactive)
;; maximimize the current frame:
(set-frame-parameter nil 'fullscreen 'maximized)
;; keep just the current window, presumably containing the R code
(delete-other-windows)
;; create ESS R interaction buffer and go there
(ess-switch-to-end-of-ESS)
;; go back to the code
(other-window 1))
を今、あなたはR
バッファにのMx私-R-ウィンドウの設定RETを行うことができますあなたが望むものを得るために。
出典
2017-12-19 18:56:09
sds
ねえ、ありがとう、これはかなり良いです。私の場合は、ファイルごとに別々にemacsを呼び出すのはまだまだ困難ですが、開かれたファイルの名前が特定の終了で終了した場合でも、起動時に関数を呼び出す方法の答えを探します。しかし、これは私の調査の87.6%を解決します。 – wpkzz