[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ess-help
Subject:    Re: [ESS] Problems after Debian update
From:       Brendan Halpin <brendan.halpin () ul ! ie>
Date:       2012-05-05 12:28:08
Message-ID: 87lil6lsmf.fsf () wivenhoe ! ul ! ie
[Download RAW message or body]

On Sat, May 05 2012, Vitalie Spinu wrote:

> How do you use stata help system with ESS? 

I don't, really. C-c C-v invokes ess-display-help-on-object but the
output is often truncated. My approach is to read it inline, with the
following little defun assigned to C-c RET, to place the point at the
start of the output:

(defun my-ess-ret-and-watch ()
  (interactive)
  (let ((sit-point (save-excursion (beginning-of-line) (point))))
    (inferior-ess-send-input)
    (goto-char sit-point)
    (recenter 0)))

This is a handy function for any command that outputs a lot of text, but
it would be better for help to appear in another buffer. 

Brendan
-- 
Brendan Halpin,   Department of Sociology,   University of Limerick,   Ireland
Tel: w +353-61-213147  f +353-61-202569  h +353-61-338562;  Room F1-009 x 3147
mailto:brendan.halpin@ul.ie    ULSociology on Facebook: http://on.fb.me/fjIK9t
http://teaching.sociology.ul.ie/bhalpin/wordpress         twitter:@ULSociology

______________________________________________
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic