I am (really) new in Emacs and ESS, and I am currently trying to customize my environment. The default settings of ESS[R] are convenient for me, since ESS[R] organizes the windows as follows:
-----------------------------
| ESS[R] | *R* |
| (R code) | (R console) |
| | |
| | |
-----------------------------
But one thing I don't like is that, when you call an help page (or when using the C-c C-v
shortcut), the default is to display the help page instead of the R buffer, like that:
-----------------------------
| ESS[R] | *help[R]* |
| (R code) | |
| | |
| | |
-----------------------------
I would like the help buffer to be displayed just below the R buffer instead, like that:
-----------------------------
| ESS[R] | *R* |
| (R code) | (R console) |
| |-------------|
| | *help[R]* |
| | |
-----------------------------
But I don't manage to do that. I read carefully the manual, but I should have missed something. I added the following instructions in my .emacs
file:
'(display-buffer-alist
(quote
(("*Help"
(display-buffer-at-bottom)
(slot . 1)
(side . right)
(window-width . 0.5)))))
but it does not work, since the help buffer is displayed below the two other, with a width of 1. What should I do to get the window organization I want?
*Help*
a "special buffer" so it gets a dedicated window: customize optionspecial-display-buffer-names
, adding"*Help*"
to it.