[ESS] problems with help in the development version

Rodney Sparapani rsparapa at mcw.edu
Fri Sep 20 16:19:45 CEST 2013


On 09/19/2013 03:39 PM, Ross Boylan wrote:
> That leads to an inverse question: why does the ?foo work some of the
> time in emacs 23?  Is the offending call only made in some
> circumstances?
>
> Even if there were an answer like "only if other buffers are open", my
> experience is that doing the exact same steps (launch emacs, start R,
> ask for help) failed sometimes and worked others.
>
> Ross

Hi Ross:

It depends on the help-win variable which is defined right above the
call (line 544 of ess-help.el)...

         (help-win (or (and (eq curr-major-mode 'ess-help-mode)
                            (selected-window))
                       (and ess-help-reuse-window
                            (ess--find-displayed-help-window)))))
     (if help-win
         (progn
           (select-window help-win)
           (switch-to-buffer buff nil 'force))
       (if ess-help-pop-to-buffer
           (pop-to-buffer buff)
         (ess-display-temp-buffer buff)))))

If help-win is true, then it does (switch-to-buffer buff nil 'force))
otherwise it does something else ;o)

-- 
Rodney Sparapani, PhD
Manager of Statistical & Computational Operations
Center for Patient Care and Outcomes Research (PCOR)
Medical College of Wisconsin (MCW), Milwaukee, USA
http://www.linkedin.com/in/rodneysparapani



More information about the ESS-help mailing list