"h" in help windows appears in other window
Stephen Eglen
stephen at anc.ed.ac.uk
Thu May 6 14:00:58 CEST 2004
> In ess5.1.24, hitting the "h" key and a function name in a help
> window opened the help() page
> in that window.
>
> Now, in ess5.2.0, the help page is opened in the *other* window,
> obscuring the R session.
>
> I don't like this new behaviour. How do I change it back to the old way?
Apologies, I introduced that bug when incorporating the
ess-help-own-frame behaviour. To get the old behaviour, could you try
the following patch to ess-help.el (email me if you want the whole file)?
Please test and let me know if it works.
Thanks, Stephen
*** /tmp/ess-help.el.~5.21~ Thu May 6 13:00:18 2004
--- /tmp/ess-help.el Thu May 6 13:00:18 2004
***************
*** 196,202 ****
'ess-help-own-frame
special-display-function)))
(if (eq curr-win-mode 'ess-help-mode)
! (pop-to-buffer tbuffer)
(ess-display-temp-buffer tbuffer)))
(if curr-help-syntax-table
(set-syntax-table curr-help-syntax-table))
--- 196,204 ----
'ess-help-own-frame
special-display-function)))
(if (eq curr-win-mode 'ess-help-mode)
! (if ess-help-own-frame
! (pop-to-buffer tbuffer)
! (switch-to-buffer tbuffer))
(ess-display-temp-buffer tbuffer)))
(if curr-help-syntax-table
(set-syntax-table curr-help-syntax-table))
More information about the ESS-help
mailing list